Fix menu ordering in socket.texi.
[glibc.git] / ChangeLog
blob400f7759475b2fbab368b43e17bbf2d4c785283d
1 2013-02-24  Allan McRae  <allan@archlinux.org>
3         * manual/socket.texi (The Internet Namespace): Order menu items
4         to match that in the file.
6         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7         node listing of the info page menu.
9 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11         [BZ #13550]
12         * sysdeps/i386/bp-asm.h: Remove file.
13         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14         (PARMS): Do not use macros from bp-asm.h.
15         (S1): Likewise.
16         (S2): Likewise.
17         (SIZE): Likewise.
18         (__mpn_add_n): Do not use BP_SYM
19         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20         "bp-asm.h".
21         (PARMS): Do not use macros from bp-asm.h.
22         (S1): Likewise.
23         (SIZE): Likewise.
24         (__mpn_addmul_1): Do not use BP_SYM
25         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26         "bp-asm.h".
27         (PARMS): Do not use macros from bp-asm.h.
28         (SIGMSK): Likewise.
29         (_setjmp): Likewise.  Do not use BP_SYM.
30         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31         "bp-asm.h".
32         (PARMS): Do not use macros from bp-asm.h.
33         (SIGMSK): Likewise.
34         (setjmp): Likewise.  Do not use BP_SYM.
35         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36         "bp-asm.h".
37         (PARMS): Do not use macros from bp-asm.h.
38         (__frexp): Do not use BP_SYM.
39         (frexp): Likewise.
40         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
41         "bp-asm.h".
42         (PARMS): Do not use macros from bp-asm.h.
43         (__frexpf): Do not use BP_SYM.
44         (frexpf): Likewise.
45         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
46         "bp-asm.h".
47         (PARMS): Do not use macros from bp-asm.h.
48         (__frexpl): Do not use BP_SYM.
49         (frexpl): Likewise.
50         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51         "bp-asm.h".
52         (PARMS): Do not use macros from bp-asm.h.
53         (__remquo): Do not use BP_SYM.
54         (remquo): Likewise.
55         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56         "bp-asm.h".
57         (PARMS): Do not use macros from bp-asm.h.
58         (__remquof): Do not use BP_SYM.
59         (remquof): Likewise.
60         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61         "bp-asm.h".
62         (PARMS): Do not use macros from bp-asm.h.
63         (__remquol): Do not use BP_SYM.
64         (remquol): Likewise.
65         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
66         "bp-asm.h".
67         (PARMS): Do not use macros from bp-asm.h.
68         (DEST): Likewise.
69         (SRC): Likewise.
70         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
71         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
72         "bp-asm.h".
73         (PARMS): Do not use macros from bp-asm.h.
74         (strlen): Do not use BP_SYM.
75         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
76         "bp-asm.h".
77         (PARMS): Do not use macros from bp-asm.h.
78         (S1): Likewise.
79         (S2): Likewise.
80         (SIZE): Likewise.
81         (__mpn_add_n): Do not use BP_SYM.
82         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
83         "bp-asm.h".
84         (PARMS): Do not use macros from bp-asm.h.
85         (S1): Likewise.
86         (SIZE): Likewise.
87         (__mpn_addmul_1): Do not use BP_SYM.
88         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
89         weak_alias.
90         (bzero): Likewise.
91         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
92         "bp-asm.h".
93         (PARMS): Do not use macros from bp-asm.h.
94         (S): Likewise.
95         (SIZE): Likewise.
96         (__mpn_lshift): Do not use BP_SYM.
97         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
98         "bp-asm.h".
99         (PARMS): Do not use macros from bp-asm.h.
100         (DEST): Likewise.
101         (SRC): Likewise.
102         (LEN): Likewise.
103         (memcpy): Likewise.  Do not use BP_SYM.
104         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
105         libc_hidden_def and weak_alias.
106         (mempcpy): Do not use BP_SYM in weak_alias.
107         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
108         "bp-asm.h".
109         (PARMS): Do not use macros from bp-asm.h.
110         (DEST): Likewise.
111         (LEN): Likewise.
112         [!BZERO_P] (CHR): Likewise.
113         (memset): Likewise.  Do not use BP_SYM.
114         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
115         "bp-asm.h".
116         (PARMS): Do not use macros from bp-asm.h.
117         (S1): Likewise.
118         (SIZE): Likewise.
119         (__mpn_mul_1): Do not use BP_SYM.
120         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
121         "bp-asm.h".
122         (PARMS): Do not use macros from bp-asm.h.
123         (S): Likewise.
124         (SIZE): Likewise.
125         (__mpn_rshift): Do not use BP_SYM.
126         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
127         "bp-asm.h".
128         (PARMS): Do not use macros from bp-asm.h.
129         (STR): Likewise.
130         (CHR): Likewise.
131         (strchr): Likewise.  Do not use BP_SYM.
132         (index): Do not use BP_SYM in weak_alias.
133         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
134         "bp-asm.h".
135         (PARMS): Do not use macros from bp-asm.h.
136         (DEST): Likewise.
137         (SRC): Likewise.
138         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
139         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
140         "bp-asm.h".
141         (PARMS): Do not use macros from bp-asm.h.
142         (strlen): Do not use BP_SYM.
143         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
144         "bp-asm.h".
145         (PARMS): Do not use macros from bp-asm.h.
146         (S1): Likewise.
147         (S2): Likewise.
148         (SIZE): Likewise.
149         (__mpn_sub_n): Do not use BP_SYM.
150         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
151         "bp-asm.h".
152         (PARMS): Do not use macros from bp-asm.h.
153         (S1): Likewise.
154         (SIZE): Likewise.
155         (__mpn_submul_1): Do not use BP_SYM.
156         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
157         "bp-asm.h".
158         (PARMS): Do not use macros from bp-asm.h.
159         (S1): Likewise.
160         (S2): Likewise.
161         (SIZE): Likewise.
162         (__mpn_add_n): Do not use BP_SYM.
163         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
164         weak_alias.
165         (bzero): Likewise.
166         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
167         "bp-asm.h".
168         (PARMS): Do not use macros from bp-asm.h.
169         (BLK2): Likewise.
170         (LEN): Likewise.
171         (memcmp): Do not use BP_SYM.
172         (bcmp): Do not use BP_SYM in weak_alias.
173         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
174         "bp-asm.h".
175         (PARMS): Do not use macros from bp-asm.h.
176         (DEST): Likewise.
177         (SRC): Likewise.
178         (LEN): Likewise.
179         (memcpy): Likewise.  Do not use BP_SYM.
180         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
181         "bp-asm.h".
182         (PARMS): Do not use macros from bp-asm.h.
183         (DEST): Likewise.
184         (SRC): Likewise.
185         (LEN): Likewise.
186         (memmove): Likewise.  Do not use BP_SYM.
187         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
188         "bp-asm.h".
189         (PARMS): Do not use macros from bp-asm.h.
190         (DEST): Likewise.
191         (SRC): Likewise.
192         (LEN): Likewise.
193         (__mempcpy): Likewise.  Do not use BP_SYM.
194         (mempcpy): Do not use BP_SYM in weak_alias.
195         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
196         "bp-asm.h".
197         (PARMS): Do not use macros from bp-asm.h.
198         (DEST): Likewise.
199         (LEN): Likewise.
200         [!BZERO_P] (CHR): Likewise.
201         (memset): Likewise.  Do not use BP_SYM.
202         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
203         "bp-asm.h".
204         (PARMS): Do not use macros from bp-asm.h.
205         (STR2): Likewise.
206         (strcmp): Do not use BP_SYM.
207         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
208         "bp-asm.h".
209         (PARMS): Do not use macros from bp-asm.h.
210         (STR): Likewise.
211         (DELIM): Likewise.
212         [USE_AS_STRTOK_R] (SAVE): Likewise.
213         (FUNCTION): Likewise.  Do not use BP_SYM.
214         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
215         aliases.
216         (strtok_r): Likewise.
217         (__GI___strtok_r): Likewise.
218         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
219         (PARMS): Do not use macros from bp-asm.h.
220         (S): Likewise.
221         (SIZE): Likewise.
222         (__mpn_lshift): Do not use BP_SYM.
223         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
224         (PARMS): Do not use macros from bp-asm.h.
225         (STR): Likewise.
226         (CHR): Likewise.
227         (__memchr): Do not use BP_SYM.
228         (memchr): Do not use BP_SYM in weak_alias.
229         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
230         (PARMS): Do not use macros from bp-asm.h.
231         (BLK2): Likewise.
232         (LEN): Likewise.
233         (memcmp): Do not use BP_SYM.
234         (bcmp): Do not use BP_SYM in weak_alias.
235         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
236         (PARMS): Do not use macros from bp-asm.h.
237         (S1): Likewise.
238         (SIZE): Likewise.
239         (__mpn_mul_1): Do not use BP_SYM.
240         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
241         "bp-asm.h".
242         (PARMS): Do not use macros from bp-asm.h.
243         (STR): Likewise.
244         (CHR): Likewise.
245         (__rawmemchr): Do not use BP_SYM.
246         (rawmemchr): Do not use BP_SYM in weak_alias.
247         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
248         (PARMS): Do not use macros from bp-asm.h.
249         (S): Likewise.
250         (SIZE): Likewise.
251         (__mpn_rshift): Do not use BP_SYM.
252         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
253         (PARMS): Do not use macros from bp-asm.h.
254         (SIGMSK): Likewise.
255         (__sigsetjmp): Likewise.  Do not use BP_SYM.
256         * sysdeps/i386/start.S: Do not include "bp-sym.h".
257         (_start): Do not use BP_SYM.
258         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
259         (PARMS): Do not use macros from bp-asm.h.
260         (DEST): Likewise.
261         (SRC): Likewise.
262         (__stpcpy): Likewise.  Do not use BP_SYM.
263         (stpcpy): Do not use BP_SYM in weak_alias.
264         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
265         "bp-asm.h".
266         (PARMS): Do not use macros from bp-asm.h.
267         (DEST): Likewise.
268         (SRC): Likewise.
269         (LEN): Likewise.
270         (__stpncpy): Likewise.  Do not use BP_SYM.
271         (stpncpy): Do not use BP_SYM in weak_alias.
272         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
273         (PARMS): Do not use macros from bp-asm.h.
274         (STR): Likewise.
275         (CHR): Likewise.
276         (strchr): Likewise.  Do not use BP_SYM.
277         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
278         "bp-asm.h".
279         (PARMS): Do not use macros from bp-asm.h.
280         (STR): Likewise.
281         (CHR): Likewise.
282         (__strchrnul): Likewise.  Do not use BP_SYM.
283         (strchrnul): Do not use BP_SYM in weak_alias.
284         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
285         "bp-asm.h".
286         (PARMS): Do not use macros from bp-asm.h.
287         (STOP): Likewise.
288         (strcspn): Do not use BP_SYM.
289         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
290         "bp-asm.h".
291         (PARMS): Do not use macros from bp-asm.h.
292         (STR): Likewise.
293         (STOP): Likewise.
294         (strpbrk): Likewise.  Do not use BP_SYM.
295         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
296         "bp-asm.h".
297         (PARMS): Do not use macros from bp-asm.h.
298         (STR): Likewise.
299         (CHR): Likewise.
300         (strrchr): Likewise.  Do not use BP_SYM.
301         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
302         (PARMS): Do not use macros from bp-asm.h.
303         (SKIP): Likewise.
304         (strspn): Do not use BP_SYM.
305         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
306         (PARMS): Do not use macros from bp-asm.h.
307         (STR): Likewise.
308         (DELIM): Likewise.
309         (SAVE): Likewise.
310         (FUNCTION): Likewise.  Do not use BP_SYM.
311         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
312         aliases.
313         (strtok_r): Likewise.
314         (__GI___strtok_r): Likewise.
315         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
316         (PARMS): Do not use macros from bp-asm.h.
317         (S1): Likewise.
318         (S2): Likewise.
319         (SIZE): Likewise.
320         (__mpn_sub_n): Do not use BP_SYM.
321         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
322         "bp-asm.h".
323         (PARMS): Do not use macros from bp-asm.h.
324         (S1): Likewise.
325         (SIZE): Likewise.
326         (__mpn_submul_1): Do not use BP_SYM.
327         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
328         <bp-sym.h>.
329         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
330         and <bp-asm.h>.
331         (PARMS): Do not use macros from bp-asm.h.
332         (FLAGS): Likewise.
333         (PTID): Likewise.
334         (TLS): Likewise.
335         (CTID): Likewise.
336         (__clone): Do not use BP_SYM.
337         (clone): Do not use BP_SYM in weak_alias.
338         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
339         and <bp-asm.h>.
340         (PARMS): Do not use macros from bp-asm.h.
341         (LEN): Likewise.
342         (__mmap64): Do not use BP_SYM.
343         (mmap64): Do not use BP_SYM in weak_alias.
344         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
345         <bp-sym.h> and <bp-asm.h>.
346         (PARMS): Do not use macros from bp-asm.h.
347         (__posix_fadvise64_l64): Do not use BP_SYM.
348         * sysdeps/unix/sysv/linux/i386/semtimedop.S
349         (PARMS): Do not use macros from bp-asm.h.
350         (NSOPS): Likewise.
351         (semtimedop): Do not use BP_SYM.
352         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
353         and <bp-asm.h>.
355 2013-02-21  Allan McRae  <allan@archlinux.org>
357         * manual/message.texi (Charset conversion in gettext):
358         Move @end statement to beginning of line.
360 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
363         static.
364         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
365         Likewise.
367         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
368         (denorm): Likewise.
369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
372 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
374         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
375         tail-call to the resolved function if pltexit isn't needed.
377 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
380         or Y being zero as being unlikely.
381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
382         Likewise.
384 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
386         * manual/nss.texi (System Databases and Name Service Switch):
387         Remove frobnicate @pxref.
389 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
391         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
392         __attribute__ ((unused)) to __attribute__ ((__unused__)).
394 2013-02-20  Petr Machata  <pmachata@redhat.com>
396         * elf/elf.h (R_ARM_TARGET1): New macro.
397         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
398         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
399         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
400         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
401         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
402         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
403         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
404         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
405         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
406         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
407         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
408         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
409         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
410         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
411         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
412         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
413         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
414         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
415         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
416         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
417         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
418         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
419         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
420         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
421         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
422         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
423         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
424         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
425         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
426         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
427         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
428         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
429         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
430         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
431         (R_ARM_THM_GOT_BREL12): Likewise.
432         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
433         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
434         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
435         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
436         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
437         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
438         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
439         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
440         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
442 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
444         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
445         __attribute_used__ to __attribute__ ((unused)).
447 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
449         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
450         powerpc mpa.c.
451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
452         comment formatting.
453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
455 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #13550]
458         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
459         Remove macro.
460         (ENTER): Remove both macro definitions.
461         (LEAVE): Likewise.
462         (CHECK_BOUNDS_LOW): Likewise.
463         (CHECK_BOUNDS_HIGH): Likewise.
464         (CHECK_BOUNDS_BOTH): Likewise.
465         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
466         (RETURN_BOUNDED_POINTER): Likewise.
467         (RETURN_NULL_BOUNDED_POINTER): Likewise.
468         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
469         (POP_ERRNO_LOCATION_RETURN): Likewise.
470         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
471         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
472         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
473         macros.
474         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
475         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
476         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
477         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
478         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
479         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
480         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
481         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
482         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
483         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
484         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
485         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
486         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
487         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
488         removed macros.
489         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
490         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
491         macros.
492         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
493         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
494         * sysdeps/i386/i586/memset.S (memset): Likewise.
495         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
496         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
497         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
498         macros.
499         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
500         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
501         Change uses of L(2) to L(out).
502         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
503         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
504         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
505         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
506         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
507         removed macros.
508         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
509         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
510         macros.
511         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
512         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
513         (RETURN): Do not use macro LEAVE.
514         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
515         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
516         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
517         * sysdeps/i386/i686/memset.S (memset): Likewise.
518         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
519         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
520         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
521         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
522         Likewise.
523         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
524         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
525         L(1_2) and L(1_3) into L(1).
526         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
527         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
528         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
529         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
530         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
531         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
532         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
533         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
534         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
535         macros.
536         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
537         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
538         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
539         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
540         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
541         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
542         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
543         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
544         * sysdeps/i386/strcspn.S (strcspn): Likewise.
545         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
546         * sysdeps/i386/strrchr.S (strrchr): Likewise.
547         * sysdeps/i386/strspn.S (strspn): Likewise.
548         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
549         conditional code.
550         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
551         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
552         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
553         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
554         L(1_3) into L(1_1).
555         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
557         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
558         macros.
559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
561 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
563         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
564         macro.
566 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
568         * math/atest-exp.c (exp_mpn): Remove ROUND.
569         * math/atest-exp2.c (exp_mpn): Likewise.
570         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
572         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
573         * stdlib/tst-tls-atexit-lib.c: Likewise.
574         * stdlib/tst-tls-atexit.c: Likewise.
576 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
578         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
579         and __attribute_alloc_size__.
581 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
583         * include/programs/xmalloc.h: Change __attribute_alloc_size to
584         __attribute_alloc_size__.
585         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
586         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
588 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
590         * include/programs/xmalloc.h: New file.
591         * catgets/gencat.c: Include it.
592         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
593         * elf/pldd.c: Likewise.
594         * iconv/iconv_charmap.c: Likewise.
595         * iconv/iconvconfig.c: Likewise.
596         * iconv/strtab.c: Likewise.
597         * locale/programs/locale.c: Likewise.
598         * locale/programs/localedef.h: Likewise.
599         * locale/programs/simple-hash.c: Likewise.
600         * nscd/nscd.h: Likewise.
601         * nss/makedb.c: Likewise.
602         * sysdeps/generic/ldconfig.h: Likewise.
604 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
606         * Versions.def: Add GLIBC_2.18.
607         * include/link.h (struct link_map): New member l_tls_dtor_count.
608         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
609         (__call_tls_dtors): Likewise.
610         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
611         __cxa_thread_atexit_impl.
612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
613         Likewise.
614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
615         Likewise.
616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
617         Likewise.
618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
619         Likewise.
620         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
622         Likewise.
623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
624         Likewise.
625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
627         Likewise.
628         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
629         (tests): Add test case tst-tls-atexit.
630         (modules-names): Add shared library for tst-tls-atexit.
631         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
632         (GLIBC_PRIVATE): Add __call_tls_dtors.
633         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
634         for libstdc++.
635         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
636         * stdlib/tst-tls-atexit.c: New test case.
637         * stdlib/tst-tls-atexit-lib.c: New test case.
639         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
641         * elf/Versions (ld): Add _dl_find_dso_for_object.
642         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
643         * elf/dl-open.c (_dl_find_dso_for_object): New function.
644         (dl_open_worker): Use _dl_find_dso_for_object.
645         * elf/dl-sym.c (do_sym): Likewise.
646         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
648 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
650         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
651         Syntactic changes only.
652         (_dl_runtime_profile): Do a tail-call to the resolved function.
654 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #13550]
657         * sysdeps/x86_64/bp-asm.h: Remove file.
658         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
659         <bp-sym.h> and <bp-asm.h>.
660         (__clone): Do not use BP_SYM.
661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
662         <bp-sym.h> and <bp-asm.h>.
663         * sysdeps/unix/x86_64/sysdep.S: Likewise.
664         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
665         "bp-asm.h".
666         (_setjmp): Do not use BP_SYM.
667         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
668         "bp-asm.h".
669         (setjmp): Do not use BP_SYM.
670         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
671         libc_hidden_def.
672         (mempcpy): Do not use BP_SYM in weak_alias.
673         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
674         "bp-asm.h".
675         (strchr): Do not use BP_SYM.
676         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
677         "bp-asm.h".
678         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
679         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
680         (_start): Do not use BP_SYM.
681         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
682         "bp-asm.h".
683         (strcat): Do not use BP_SYM.
684         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
685         "bp-asm.h".
686         (STRCMP): Do not use BP_SYM.
687         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
688         "bp-asm.h".
689         (STRCPY): Do not use BP_SYM.
690         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
691         "bp-asm.h".
692         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
693         "bp-asm.h".
694         (FUNCTION): Do not use BP_SYM.
695         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
696         weak_alias.
697         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
699 2013-02-17  Andreas Jaeger  <aj@suse.de>
701         * time/Versions: Sort entries.
702         * string/Versions: Likewise.
703         * resolv/Versions: Likewise.
704         * posix/Versions: Likewise.
705         * iconv/Versions: Likewise.
706         * elf/Versions: Likewise.
707         * wcsmbs/Versions: Likewise.
709 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
712         loop termination condition.
714         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
715         variable to calculate EZ.
716         (__sqr): Likewise.
718         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
719         the lower precision input.
721 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
723         [BZ #13550]
724         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
725         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
726         (run-via-rtld-prefix): Do not handle %-bp tests.
727         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
728         (all-object-suffixes): Remove .ob.
729         (bppfx): Remove variable.
730         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
731         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
732         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
733         [$(build-bounded) = yes] (libtype.ob): Likewise.
734         * Makerules (elide-routines.ob): Remove variable.
735         (do-tests-clean): Do not handle *-bp.out.
736         (common-mostlyclean): Do not handle *-bp and *-bp.out.
737         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
738         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
739         (tests): Do not include $(tests-bp.out).
740         (xtests): Do not include $(xtests-bp.out).
741         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
742         [$(build-bounded) = yes] ($(addprefix
743         $(objpfx),$(binaries-bounded))): Remove rule.
744         ($(objpfx)%-bp.out): Remove rule.
745         * config.make.in (build-bounded): Remove variable.
746         * crypt/Makefile [$(build-bounded) = yes]
747         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
748         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
749         append to variable.
750         [$(build-bounded) = yes] (install-lib): Likewise.
751         [$(build-bounded) = yes] (generated): Likewise.
752         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
753         Remove rule.
754         * intl/Makefile [$(build-bounded) = yes]
755         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
756         * math/Makefile [$(build-bounded) = yes]
757         ($(tests:%=$(objpfx)%-bp): Likewise.
758         * misc/Makefile [$(build-bounded) = yes]
759         ($(objpfx)tst-tsearch-bp): Likewise.
760         * nptl/Makeconfig (bounded-thread-library): Remove variable.
761         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
762         Remove dependency.
763         * string/Makefile (o-objects.ob): Remove variable.
764         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
765         (CFLAGS-.ob): Remove variable.
766         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
767         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
768         both definitions of variable.
769         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
770         (ASFLAGS-.ob): Remove variable.
772 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #13550]
775         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
776         Remove __BOUNDED_POINTERS__ from condition.
777         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
778         * string/bits/string2.h [!__NO_STRING_INLINES &&
779         !__BOUNDED_POINTERS__]: Likewise.
780         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
781         Likewise.
782         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
783         Remove conditional code.
784         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
785         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
786         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
787         condition.
789         [BZ #13550]
790         * csu/libc-start.c: Do not include <bp-sym.h>.
791         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
792         * elf/dl-open.c: Do not include <bp-sym.h>.
793         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
794         * math/fegetenv.c: Do not include <bp-sym.h>.
795         (fegetenv): Do not use BP_SYM in versioned symbols.
796         * nptl/sysdeps/pthread/bits/libc-lockP.h
797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
798         <bp-sym.h>.
799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
800         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
802         (__pthread_mutex_destroy): Likewise.
803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
804         (__pthread_mutex_lock): Likewise.
805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
806         (__pthread_mutex_trylock): Likewise.
807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
808         (__pthread_mutex_unlock): Likewise.
809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
810         (__pthread_mutexattr_init): Likewise.
811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
812         (__pthread_mutexattr_destroy): Likewise.
813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
814         (__pthread_mutexattr_settype): Likewise.
815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
816         (__pthread_rwlock_init): Likewise.
817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
818         (__pthread_rwlock_destroy): Likewise.
819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
820         (__pthread_rwlock_rdlock): Likewise.
821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
822         (__pthread_rwlock_tryrdlock): Likewise.
823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
824         (__pthread_rwlock_wrlock): Likewise.
825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
826         (__pthread_rwlock_trywrlock): Likewise.
827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
828         (__pthread_rwlock_unlock): Likewise.
829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
830         (__pthread_key_create): Likewise.
831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
832         (__pthread_setspecific): Likewise.
833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
834         (__pthread_getspecific): Likewise.
835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
836         Likewise.
837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
838         (_pthread_cleanup_push_defer): Likewise.
839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
840         (_pthread_cleanup_pop_restore): Likewise.
841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
842         (pthread_setcancelstate): Likewise.
843         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
844         <bp-sym.h>.
845         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
846         (memchr): Do not use BP_SYM in weak_alias.
847         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
848         (fegetenv): Do not use BP_SYM in versioned symbols.
849         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
850         (fesetenv): Do not use BP_SYM in versioned symbols.
851         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
852         (feupdateenv): Do not use BP_SYM in versioned symbols.
853         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
854         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
855         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
856         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
857         (open64): Do not use BP_SYM in weak_alias.
858         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
859         (fegetenv): Do not use BP_SYM in versioned symbols.
860         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
861         (fesetenv): Do not use BP_SYM in versioned symbols.
862         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
863         (feupdateenv): Do not use BP_SYM in versioned symbols.
864         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
865         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
866         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
867         (feraiseexcept): Do not use BP_SYM in versioned symbols.
868         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
869         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
870         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
871         <bp-sym.h>.
872         (__libc_start_main): Do not use BP_SYM.
874 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
877         redundant return line.
878         (norm): Likewise.
879         (denorm): Likewise.
880         (dbl_mp): Likewise.
881         (sub_magnitudes): Likewise.
882         (__add): Likewise.
883         (__sub): Likewise.
884         (__mul): Likewise.
885         (__inv): Likewise.
886         (__dvd): Likewise.
887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
888         (norm): Likewise.
889         (denorm): Likewise.
890         (dbl_mp): Likewise.
891         (sub_magnitudes): Likewise.
892         (__add): Likewise.
893         (__sub): Likewise.
894         (__mul): Likewise.
895         (__inv): Likewise.
896         (__dvd): Likewise.
898         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
899         instead of __mul.
900         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
901         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
902         (cc32): Likewise.
904         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
905         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
907         of __mul for squares.
908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
909         function
910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
911         Likewise.
912         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
913         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
915 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
917         [BZ #13550]
918         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
919         code.
920         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
921         prototype or function definition.  Rename ubp_* variables and
922         parameters.  Remove argv definitions conditional on
923         [__BOUNDED_POINTERS__].
924         * debug/backtrace.c (__backtrace): Do not use __unbounded.
925         * elf/dl-runtime.c (_dl_fixup): Likewise.
926         * include/set-hooks.h (RUN_HOOK): Likewise.
927         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
928         definition.
929         * string/strcpy.c (strcpy): Do not use __unbounded.
930         * sysdeps/generic/frame.h (struct layout): Likewise.
931         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
932         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
933         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
934         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
935         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
936         (__backtrace): Likewise.
937         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
938         use __ptrvalue.
939         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
940         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
941         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
942         Likewise.
943         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
944         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
945         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
946         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
947         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
948         Do not use __unbounded.
949         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
950         Rename __unboundedrlimits parameter to rlimits in prototype.
951         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
952         Do not use __unbounded.
953         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
954         not use __ptrvalue.
955         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
956         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
957         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
958         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
959         __ptrvalue or __unbounded.
960         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
961         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
962         use __unbounded.
963         (__new_msgctl): Do not use __ptrvalue.
964         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
965         __unbounded.
966         (__libc_msgrcv): Do not use __ptrvalue.
967         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
968         startup_info): Do not use __unbounded.
969         (__libc_start_main): Likewise.  Rename ubp_* variables and
970         parameters.  Remove argv definitions conditional on
971         [__BOUNDED_POINTERS__].
972         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
973         __ptrvalue.
974         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
975         use __unbounded.
976         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
977         or __ptrvalue.
978         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
979         use __unbounded.
980         (__new_shmctl): Do not use __ptrvalue.
981         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
982         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
983         Likewise.
984         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
986         (__libc_sigaction): Likewise.
987         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
988         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
989         Likewise.
990         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
992 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
994         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
996         * string/mempcpy.c: Implement by calling memcpy.
998 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1000         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1003         evaluation.
1005         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1006         values in the mantissa.
1008         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1009         minimize writes to Z.
1010         (sub_magnitudes): Simplify code a bit.
1012 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1014         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1015         from the message.  The linker prefixes all warnings with that already.
1017 2013-02-12  Andreas Schwab  <schwab@suse.de>
1019         [BZ #15078]
1020         * posix/regexec.c (extend_buffers): Add parameter min_len.
1021         (check_matching): Pass minimum needed length.
1022         (clean_state_log_if_needed): Likewise.
1023         (get_subexp): Likewise.
1024         * posix/Makefile (tests): Add bug-regex34.
1025         (bug-regex34-ENV): Define.
1026         * posix/bug-regex34.c: New file.
1028         [BZ #11561]
1029         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1030         elements compare against the byte sequence of it, not its name.
1031         * posix/Makefile (tests): Add bug-regex35.
1032         (bug-regex35-ENV): Define.
1033         * posix/bug-regex35.c: New file.
1035 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1037         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1038         comment.
1039         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1040         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1041         (CHECK_EOL): Add undef.
1043 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1045         * bits/stdlib-bsearch.h: New file.
1046         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1047         * stdlib/stdlib.h: Likewise.
1049 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1051         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1052         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1053         declaration.
1054         * manual/search.texi (Array Search Function): Add missing const in
1055         lfind prototype.
1056         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1057         declaration to use rlim_t.
1058         (Basic Scheduling Functions): Remove erroneous const from
1059         sched_getparam prototype.  Remove erroneous * from
1060         sched_get_priority_max and sched_get_priority_min prototypes.
1061         (Resource Usage): Fix summary @comment on vtimes to refer to
1062         sys/vtimes.h rather than vtimes.h.
1063         Add missing *s in vtimes prototype.
1064         (Limits on Resources): Fix ulimit prototype to return long int.
1065         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1066         prototypes to use long int rather than double.
1067         (BSD Random): Fix initstate and setstate to use char *, not void *.
1068         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1069         prototype to make second argument 'struct aiocb64 *const[]'.
1070         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1071         (Status of AIO Operations): Remove erroneous const in aio_return and
1072         aio_return64 prototypes.
1073         (Synchronizing I/O): Fix sync prototype to return void.
1074         * manual/startup.texi (Suboptions): Remove an erroneous const in
1075         getsubopt prototype.
1076         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1077         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1078         use size_t rather than int.
1079         (Scanning All Users): Likewise for getpwent_r.
1080         (Setting Groups): Add missing const to setgroups prototype.
1081         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1082         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1083         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1084         'const void *' rather than 'const char *'.
1085         (Host Address Functions): Likewise for inet_ntop.
1086         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1087         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1088         ssize_t for return value.
1089         (Sending Data): Likewise for send, sendto, sendmsg.
1090         (Socket Option Functions): Add a missing const in setsockopt prototype.
1091         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1092         use wchar_t for the argument.
1093         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1094         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1095         take no arguments.
1096         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1097         double/float/long double for second argument.
1098         Fix return types of significand, significandf, significandl.
1099         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1100         argument in fchmod prototype.
1101         (File Owner): Use uid_t and gid_t in fchown prototype.
1102         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1103         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1104         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1105         use 'const struct dirent **' as argument types to CMP function pointer
1106         argument.
1107         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1108         (File Times): Fix summary magic @comment for struct utimbuf and utime
1109         to refer to utime.h, not time.h.
1110         * manual/string.texi (Argz Functions): Add missing const in
1111         argz_extract and argz_next prototypes.
1112         (Finding Tokens in a String): Likewise for basename.
1113         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1114         (Copying and Concatenation): Fix typo in wmemmove prototype.
1115         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1116         (Signal Stack): Remove erroneous const in sigstack prototype.
1117         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1118         prototype.
1119         (Simple Calendar Time): Likewise for stime.
1120         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1121         prototype.
1122         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1123         say sys/sysctl.h instead.
1124         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1125         and vsyslog prototypes.
1127 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1129         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1130         Remove.
1132 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1134         * misc/sys/mman.h: Fix typo in mremap comment.
1136 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1138         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1139         the '\0' terminator.
1141 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1143         [BZ #13550]
1144         * debug/segfault.c: Don't include <bp-checks.h>.
1145         * sysdeps/generic/bp-checks.h: Remove file.
1146         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1147         (__GETDENTS): Don't use CHECK_N.
1148         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1149         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1150         (__getgroups): Don't use CHECK_N.
1151         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1152         (setgroups): Don't use CHECK_N.
1153         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1154         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1155         (__libc_msgrcv): Don't use CHECK_N.
1156         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1157         (__libc_msgsnd): Don't use CHECK_N.
1158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1159         <bp-checks.h>.
1160         (__libc_pread): Don't use CHECK_N.
1161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1162         include <bp-checks.h>.
1163         (__libc_pread64): Don't use CHECK_N.
1164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1165         include <bp-checks.h>.
1166         (__libc_pwrite): Don't use CHECK_N.
1167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1168         include <bp-checks.h>.
1169         (__libc_pwrite64): Don't use CHECK_N.
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1171         <bp-checks.h>.
1172         (__libc_pread): Don't use CHECK_N.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1174         include <bp-checks.h>.
1175         (__libc_pread64): Don't use CHECK_N.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1177         include <bp-checks.h>.
1178         (__libc_pwrite): Don't use CHECK_N.
1179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1180         include <bp-checks.h>.
1181         (__libc_pwrite64): Don't use CHECK_N.
1182         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1183         (do_pread): Don't use CHECK_N.
1184         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1185         (do_pread64): Don't use CHECK_N.
1186         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1187         (do_pwrite): Don't use CHECK_N.
1188         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1189         (do_pwrite64): Don't use CHECK_N.
1190         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1191         (__libc_readv): Don't use CHECK_N.
1192         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1193         (semop): Don't use CHECK_N.
1194         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1195         <bp-checks.h>.
1196         (semtimedop): Don't use CHECK_N.
1197         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1198         (__libc_pread): Don't use CHECK_N.
1199         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1200         <bp-checks.h>.
1201         (__libc_pread64): Don't use CHECK_N.
1202         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1203         <bp-checks.h>.
1204         (__libc_pwrite): Don't use CHECK_N.
1205         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1206         <bp-checks.h>.
1207         (__libc_pwrite64): Don't use CHECK_N.
1208         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1209         <bp-checks.h>.
1210         (__libc_msgrcv): Don't use CHECK_N.
1211         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1212         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1213         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1214         (__libc_writev): Don't use CHECK_N.
1216 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1218         * string/strcpy.c: Removed unused variable.
1220         * Makeconfig (+sysdep-includes): Define with := rather than =.
1221         Use an existing include/ subdir of each sysdeps dir before it.
1223 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1225         * nscd/connection.c (register_traced_file): Comment function.
1226         [HAVE_INOTIFY] (union __inev): Define.
1227         [HAVE_INOTIFY] (inotify_check_files): New function.
1228         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1229         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1230         clear_db_cache.
1231         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1233 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1235         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1236         loaded if not already and that a failure is permanent.
1238 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1240         [BZ #15006]
1241         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1242         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1244 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1246         [BZ #13550]
1247         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1248         (CHECK_1_NULL_OK): Likewise.
1249         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1250         (__fxstat): Do not use CHECK_1.
1251         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1252         <bp-checks.h>.
1253         (___fxstat64): Do not use CHECK_1.
1254         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1255         <bp-checks.h>.
1256         (__fxstatat): Do not use CHECK_1.
1257         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1258         <bp-checks.h>.
1259         (__fxstatat64): Do not use CHECK_1.
1260         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1261         <bp-checks.h>.
1262         (__fxstat): Do not use CHECK_1.
1263         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1264         <bp-checks.h>.
1265         (__fxstatat): Do not use CHECK_1.
1266         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1267         <bp-checks.h>.
1268         (__getresgid): Do not use CHECK_1.
1269         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1270         <bp-checks.h>.
1271         (__getresuid): Do not use CHECK_1.
1272         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1273         <bp-checks.h>.
1274         (__lxstat): Do not use CHECK_1.
1275         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1276         <bp-checks.h>.
1277         (__old_msgctl): Do not use CHECK_1.
1278         (__new_msgctl): Likewise.
1279         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1280         <bp-checks.h>.
1281         (__new_setrlimit): Do not use CHECK_1.
1282         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1283         <bp-checks.h>.
1284         (__old_shmctl): Do not use CHECK_1.
1285         (__new_shmctl): Likewise.
1286         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1287         <bp-checks.h>.
1288         (__xstat): Do not use CHECK_1.
1289         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1290         (__lxstat): Do not use CHECK_1.
1291         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1292         <bp-checks.h>.
1293         (___lxstat64): Do not use CHECK_1.
1294         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1295         (__old_msgctl): Do not use CHECK_1.
1296         (__new_msgctl): Likewise.
1297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1298         <bp-checks.h>.
1299         (__gettimeofday): Do not use CHECK_1.
1300         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1301         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1302         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1303         <bp-checks.h>.
1304         (__gettimeofday): Do not use CHECK_1.
1305         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1306         (__old_shmctl): Do not use CHECK_1_NULL_OK.
1307         (__new_shmctl): Do not use CHECK_1.
1308         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1309         <bp-checks.h>.
1310         (do_sigtimedwait): Do not use CHECK_1.
1311         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1312         <bp-checks.h>.
1313         (do_sigwaitinfo): Do not use CHECK_1.
1314         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1315         <bp-checks.h>.
1316         (msgctl): Do not use CHECK_1.
1317         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1318         <bp-checks.h>.
1319         (shmctl): Do not use CHECK_1.
1320         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1321         (ustat): Do not use CHECK_1.
1322         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1323         <bp-checks.h>.
1324         (__fxstat): Do not use CHECK_1.
1325         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1326         <bp-checks.h>.
1327         (__fxstatat): Do not use CHECK_1.
1328         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1329         <bp-checks.h>.
1330         (__lxstat): Do not use CHECK_1.
1331         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1332         <bp-checks.h>.
1333         (__xstat): Do not use CHECK_1.
1334         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1335         (__xstat): Do not use CHECK_1.
1336         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1337         (___xstat64): Do not use CHECK_1.
1339         [BZ #13550]
1340         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1341         definitions.
1342         (CHECK_BOUNDS_HIGH): Likewise.
1343         * string/strcpy.c: Do not include <bp-checks.h>.
1344         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1346 2013-02-07  Roland McGrath  <roland@hack.frob.com>
1348         * nscd/nscd-client.h (__nscd_drop_map_ref):
1349         Add __attribute__ ((unused)).
1350         * nis/nss-nisplus.h (niserr2nss): Likewise.
1352         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1353         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1355         * csu/libc-tls.c (init_static_tls, init_slotinfo):
1356         Remove inline keyword.
1357         * include/rounding-mode.h (round_away): Likewise.
1358         * libio/wfileops.c (adjust_wide_data): Likewise.
1359         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1360         (__m128i_strloadu_tolower): Likewise.
1361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1362         (__m128i_strloadu_tolower): Likewise.
1363         * time/mktime.c (ydhms_diff): Likewise.
1364         * locale/elem-hash.h (elem_hash): Likewise.
1365         * locale/setlocale.c (setdata): Likewise.
1366         * posix/regex_internal.h (re_string_char_size_at): Likewise.
1367         (re_string_wchar_at): Likewise.
1368         (bitset_not, bitset_merge, bitset_mask): Likewise.
1369         [!(__GNUC__ > 3)] (inline): Remove macro.
1370         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1371         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1372         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1373         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1374         * string/memcmp.c (memcmp_bytes): Likewise.
1375         * locale/programs/locarchive.c (compute_hashval): Likewise.
1376         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1377         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1378         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1379         * nss/getent.c (print_rpc, print_protocols): Likewise.
1380         (print_passwd, print_group, print_aliases): Likewise.
1381         * nis/nss-nisplus.h (niserr2nss): Likewise.
1382         * nscd/connections.c (restart_p): Likewise.
1383         Change return type to bool.
1385 2013-02-05  Roland McGrath  <roland@hack.frob.com>
1387         * Makeconfig (all-Depend-files): Add existing
1388         $(sorted-subdirs:=/Depend) files.
1389         (all-subdirs): Remove nss.
1390         * sysdeps/unix/inet/Subdirs: Add it here instead.
1391         * hesiod/Depend: New file.
1393         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1394         instead of calling alloca.
1396         * io/lseek.c (__lseek): Rename to __libc_lseek.
1397         Define __lseek as an alias.
1399         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1401 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
1403         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1404         else clause and remove check for non-standard endianness.
1406 2013-02-04  David S. Miller  <davem@davemloft.net>
1408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1410 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
1412         [BZ #13550]
1413         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1414         (__ubp_memchr): Remove prototype.
1415         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1416         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1417         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1418         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1419         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1420         Remove alias.
1421         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1422         (__ubp_memchr): Likewise.
1423         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1424         (__ubp_memchr): Likewise.
1425         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1426         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1427         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1428         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1429         CHECK_STRING.
1430         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1431         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1432         (__getcwd): Do not use CHECK_STRING.
1433         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1434         <bp-checks.h>.
1435         (__real_chown): Do not use CHECK_STRING.
1436         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1437         <bp-checks.h>.
1438         (fchownat): Do not use CHECK_STRING.
1439         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1440         CHECK_STRING.
1441         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1442         <bp-checks.h>.
1443         (__lchown): Do not use CHECK_STRING.
1444         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1445         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1446         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1447         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1449         include <bp-checks.h>.
1450         (truncate64): Do not use CHECK_STRING.
1451         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1452         <bp-checks.h>.
1453         (__real_chown): Do not use CHECK_STRING.
1454         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1455         <bp-checks.h>.
1456         (__lchown): Do not use CHECK_STRING.
1457         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1458         <bp-checks.h>.
1459         (__chown): Do not use CHECK_STRING.
1460         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1461         <bp-checks.h>.
1462         (truncate64): Do not use CHECK_STRING.
1463         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1464         Likewise.
1465         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1466         (__xmknod): Do not use CHECK_STRING.
1467         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1468         <bp-checks.h>.
1469         (__xmknodat): Do not use CHECK_STRING.
1470         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1471         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1473 2013-02-04  Andreas Schwab  <schwab@suse.de>
1475         [BZ #14142]
1476         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1477         * include/netdb.h: Likewise for h_errno.
1478         * elf/tst-stackguard1.c: Include <tls.h>.
1480 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1482         * elf/link.h (struct link_map): Extend the l_addr comment.
1483         * include/link.h (struct link_map): Likewise.
1485 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
1487         [BZ #13550]
1488         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1489         (BOUNDED_1): Remove macro.
1490         * debug/backtrace.c: Don't include <bp-checks.h>.
1491         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1492         (__backtrace): Likewise.
1493         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1494         <bp-checks.h>.
1495         (__backtrace): Don't use BOUNDED_1.
1496         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1497         <bp-checks.h>.
1498         (__backtrace): Don't use BOUNDED_1.
1499         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1500         (__backtrace): Don't use BOUNDED_1.
1501         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1502         (shmat): Don't use BOUNDED_N.
1504 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
1506         [BZ #13550]
1507         * sysdeps/generic/bp-start.h: Remove file.
1508         * csu/libc-start.c: Don't include <bp-start.h>.
1509         (LIBC_START_MAIN): Set up __environ directly instead of using
1510         INIT_ARGV_and_ENVIRON.
1511         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1512         <bp-start.h>.
1514         [BZ #13550]
1515         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1516         definitions.
1517         (CHECK_FCNTL): Likewise.
1518         (CHECK_N_PAGES): Likewise.
1520         [BZ #13550]
1521         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1522         definitions.
1523         (CHECK_SIGSET_NULL_OK): Likewise.
1524         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1525         <bp-checks.h>.
1526         (sigpending): Don't use CHECK_SIGSET.
1527         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1528         <bp-checks.h>.
1529         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1530         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1531         <bp-checks.h>.
1532         (do_sigsuspend): Don't use CHECK_SIGSET.
1533         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1534         use CHECK_SIGSET.
1535         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1536         (do_sigwait): Don't use CHECK_SIGSET.
1537         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1538         use CHECK_SIGSET.
1539         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1540         include <bp-checks.h>.
1541         (sigpending): Don't use CHECK_SIGSET.
1542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1543         include <bp-checks.h>.
1544         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1545         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1546         <bp-checks.h>.
1547         (sigpending): Don't use CHECK_SIGSET.
1548         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1549         <bp-checks.h>.
1550         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1552         [BZ #13550]
1553         * sysdeps/generic/bp-semctl.h: Remove file.
1554         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1555         <bp-checks.h> and <bp-semctl.h>.
1556         (__old_semctl): Don't use CHECK_SEMCTL.
1557         (__new_semctl): Likewise.
1558         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1559         and <bp-semctl.h>.
1560         (__old_semctl): Don't use CHECK_SEMCTL.
1561         (__new_semctl): Likewise.
1562         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1563         <bp-checks.h> and <bp-semctl.h>.
1564         (__old_semctl): Don't use CHECK_SEMCTL.
1565         (__new_semctl): Likewise.
1566         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1567         <bp-checks.h> and <bp-semctl.h>.
1568         (semctl): Don't use CHECK_SEMCTL.
1570         [BZ #13550]
1571         * Makerules (elide-bp-thunks): Remove variable.
1572         (elide-routines.oS): Don't use $(elide-bp-thunks).
1573         (elide-routines.os): Likewise.
1574         (elide-routines.o): Likewise.
1575         (elide-routines.op): Likewise.
1576         (elide-routines.og): Likewise.
1577         (objects): Don't use $(bp-thunks).
1578         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1579         include.
1580         (common-generated): Do not add s-proto-bp.d.
1581         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1582         (int): Likewise.
1583         (typ): Likewise.
1584         Do not generate makefile rules for bounded-pointer thunks.
1585         * sysdeps/generic/bp-thunks.h: Remove file.
1586         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1587         * sysdeps/unix/s-proto-bp.S: Likewise.
1589         [BZ #15062]
1590         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1591         parts of result separately when argument is not close to line from
1592         -i to i and one part of argument is small.
1593         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1594         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1595         * math/libm-test.inc (cacos_test): Add more tests.
1596         (casin_test): Likewise.
1597         (casinh_test): Likewise.
1598         * sysdeps/i386/fpu/libm-test-ulps: Update.
1599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601 2013-01-31  David S. Miller  <davem@davemloft.net>
1603         * po/de.po: Update from translation team.
1605 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
1607         * time/tzfile.c: Include stdint.h for SIZE_MAX.
1609 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
1611         * configure.in (_AC_PROG_CC_C89): New definition.
1612         * configure: Regenerate.
1614         * configure.in (AC_PROG_CPP): New definition.
1615         * configure: Regenerate.
1617 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1619         * debug/tst-backtrace.h: New file.
1620         * debug/tst-backtrace2.c: Include tst-backtrace.h.
1621         (ret): Remove variable.
1622         (x): Likewise.
1623         (FAIL): Remove macro.
1624         (NO_INLINE): Likewise.
1625         (fn1): Use match function instead of strstr.
1626         * debug/tst-backtrace3.c: Include tst-backtrace.h.
1627         (ret): Remove variable.
1628         (x): Likewise.
1629         (FAIL): Remove macro.
1630         (NO_INLINE): Likewise.
1631         (fn): Use match function instead of strstr.
1632         * debug/tst-backtrace4.c: Include tst-backtrace.h.
1633         (ret): Remove variable.
1634         (x): Likewise.
1635         (FAIL): Remove macro.
1636         (NO_INLINE): Likewise.
1637         (handle_signal): Use match function instead of strstr.
1638         * debug/tst-backtrace5.c: Include tst-backtrace.h.
1639         (ret): Remove variable.
1640         (x): Likewise.
1641         (FAIL): Remove macro.
1642         (NO_INLINE): Likewise.
1643         (handle_signal): Use match function instead of strstr.
1645 2013-01-23  Roland McGrath  <roland@hack.frob.com>
1647         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1649 2013-01-23  David S. Miller  <davem@davemloft.net>
1651         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1652         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1653         argument of CAS if possible.
1654         * sysdeps/sparc/sparc64/bits/atomic.h
1655         (__arch_compare_and_exchange_val_32_acq): Likewise.
1656         (__arch_compare_and_exchange_val_64_acq): Likewise.
1658 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
1660         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1661         * sysdeps/posix/ulimit.c: ... this.
1662         Include <limits.h>.
1663         * sysdeps/unix/bsd/ulimit.c: Remove file.
1665 2013-01-23  Adam Conrad  <adconrad@0c3.net>
1667         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1668         (LDFLAGS-tst-array5): Likewise.
1670 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1672         [BZ #15036]
1673         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1674         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1675         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1676         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1678 2013-01-21  David S. Miller  <davem@davemloft.net>
1680         * sysdeps/sparc/backtrace.c: New file.
1681         * sysdeps/sparc/sparc32/backtrace.h: New file.
1682         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1683         * sysdeps/sparc/sparc64/backtrace.h: New file.
1684         * sysdeps/sparc/sparc64/backtrace.c: Delete.
1685         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1686         -funwind-tables.
1688 2013-01-21  Andreas Schwab  <schwab@suse.de>
1690         [BZ #15020]
1691         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1692         closed its stdout.
1694 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
1696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1697         "mpa2.h".
1698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1700 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
1701             Mark Mitchell  <mark@codesourcery.com>
1702             Tom de Vries  <tom@codesourcery.com>
1703             Paul Pluzhnikov  <ppluzhnikov@google.com>
1705         * debug/tst-backtrace2.c: New file.
1706         * debug/tst-backtrace3.c: Likewise.
1707         * debug/tst-backtrace4.c: Likewise.
1708         * debug/tst-backtrace5.c: Likewise.
1709         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1710         (CFLAGS-tst-backtrace3.c): Likewise.
1711         (CFLAGS-tst-backtrace4.c): Likewise.
1712         (CFLAGS-tst-backtrace5.c): Likewise.
1713         (LDFLAGS-tst-backtrace2): Likewise.
1714         (LDFLAGS-tst-backtrace3): Likewise.
1715         (LDFLAGS-tst-backtrace4): Likewise.
1716         (LDFLAGS-tst-backtrace5): Likewise.
1717         (tests): Add new tests tst-backtrace2, tst-backtrace3,
1718         tst-backtrace4 and tst-backtrace5.
1720 2013-01-18  Anton Blanchard  <anton@samba.org>
1721             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1723         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1724         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1726         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1728         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1729         "+r" and remove output regs list as redundant.  Add explicit inline
1730         asm to specify register of return val to work around compiler codegen
1731         bug.  Remove (int) cast on return value.  Add return type parameter to
1732         use in macro so that this macro does not truncate return value for
1733         64-bit values.
1734         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1735         pass to INTERNAL_VSYSCALL_NCS.
1736         (INLINE_VSYSCALL): Add 'long int' as return type to
1737         INTERNAL_VSYSCALL_NCS macro invocation.
1738         (INTERNAL_VSYSCALL): Add 'long int' as return type to
1739         INTERNAL_VSYSCALL_NCS macro invocation.
1740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1742 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1744         [BZ #14496]
1745         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1746         Fix application of SIMD FP exception mask.
1748         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1749         mp_no from a power of two.
1750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1751         __mpexp_twomm1.  Use __pow_mp.
1753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1754         multiplication.
1756 2013-01-17  David S. Miller  <davem@davemloft.net>
1758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1760 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1762         [BZ #15023]
1763         * include/complex.h: Condition contents on [!_COMPLEX_H].
1764         (__kernel_casinhf): New prototype.
1765         (__kernel_casinh): Likewise.
1766         (__kernel_casinhl): Likewise.
1767         * math/Makefile (libm_calls): Add k_casinh.
1768         * math/k_casinh.c: New file.
1769         * math/k_casinhf.c: Likewise.
1770         * math/k_casinhl.c: Likewise.
1771         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1772         finite nonzero arguments.
1773         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1774         finite nonzero arguments.
1775         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1776         finite nonzero arguments.
1777         * math/s_casinh.c: Do not include <float.h>.
1778         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1779         * math/s_casinhf.c: Do not include <float.h>.
1780         (__casinhf): Move code for finite nonzero arguments to
1781         k_casinhf.c.
1782         * math/s_casinhl.c: Do not include <float.h>.
1783         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1784         redefine.
1785         (__casinhl): Move code for finite nonzero arguments to
1786         k_casinhl.c.
1787         * math/libm-test.inc (cacos_test): Add more tests.
1788         * sysdeps/i386/fpu/libm-test-ulps: Update.
1789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1791 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
1793         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1794         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1795         [!HAVE_MREMAP]: Remove [defined linux] case.
1796         * malloc/arena.c: Do not include <malloc-sysdep.h>.
1798 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1800         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1802 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1804         * elf/elf.h (R_386_SIZE32): New relocation.
1805         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1806         R_386_SIZE32.
1807         (elf_machine_rela): Likewise.
1808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1809         R_X86_64_SIZE64 and R_X86_64_SIZE32.
1811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1813         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1814         (FP_FAST_FMA): Do not define.
1815         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1816         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1817         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1818         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1819         !_SOFT_FLOAT]: Likewise.
1820         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1821         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1822         value.
1823         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1824         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1825         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1827         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1828         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1829         file.
1831 2013-01-16  Andreas Schwab  <schwab@suse.de>
1833         [BZ #14327]
1834         * include/stdlib.h (__mktemp): Add declaration.
1835         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1836         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1838 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1841         definitions.
1842         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1843         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1844         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1845         definitions here.
1846         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1847         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1848         definitions.
1849         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1850         and ONE.
1851         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1852         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1853         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1854         definitions.
1855         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1856         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1857         definitions.
1858         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1860         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1862 2013-01-15  David S. Miller  <davem@davemloft.net>
1864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1865         trunc{,f} to libm-sysdep_routes.
1866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1868         file.
1869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1871         file.
1872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1873         file.
1874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1876         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1877         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1878         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1879         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1880         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1881         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1884         nearbyint{,f} to libm-sysdep_routes.
1885         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1887         New file.
1888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1889         file.
1890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1891         New file.
1892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1893         file.
1894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1896         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1897         file.
1898         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1899         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1900         file.
1901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1902         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1903         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1905         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1906         libc_feholdexcept and libc_fesetenv.
1908 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
1910         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1912 2013-01-14  David S. Miller  <davem@davemloft.net>
1914         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1915         (SPARC_ASM_VIS2_IFUNC): Likewise.
1916         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1918         use of 'siam' instruction.
1919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1920         Likewise.
1921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1922         Likewise.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1924         Likewise.
1925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1928         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1930         file.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1932         file.
1933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1934         file.
1935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1936         file.
1937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1939         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1942         new VIS2 routines.
1943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1946         Likewise.
1947         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1948         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1952         routines to libm-sysdep_routines.
1953         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1956         fdim/fdimf to libm-sysdep_routines.
1957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1958         file.
1959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1961         file.
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1965         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1966         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1967         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1968         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1970 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1972         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1973         to optimize copies.
1975         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1980         local variable MPTWO.
1981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1982         Likewise.
1984 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
1986         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1987         GLOB_NOESCAPE.
1989 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
1991         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1993 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
1995         * manual/pattern.texi (glob_t): Document gl_flags.
1996         (glob64_t): Likewise.
1998 2013-01-11  David S. Miller  <davem@davemloft.net>
2000         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2001         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2002         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2003         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2004         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2005         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2006         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2007         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2008         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2009         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2010         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2011         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2012         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2014         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2015         sparc V9 rather than using V8 code.
2016         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2017         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2019         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2020         Move to...
2021         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2022         Here.
2024 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2026         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2027         not in the main loop.
2028         * configure: Regenerated.
2030 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2032         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2033         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2034         to just #else.
2035         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2036         [!__GLIBC_HAVE_LONG_LONG] case.
2037         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2038         condition to just #else.
2039         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2040         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2041         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2042         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2043         unconditional.
2044         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2045         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2046         #elif condition to just #else.
2047         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2048         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2049         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2050         #elif condition to just #else.
2052 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2054         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2055         (EF_MIPS_ARCH_64): Fix value.
2056         (EF_MIPS_ARCH_32R2): New.
2057         (EF_MIPS_ARCH_64R2): New.
2059 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2061         * Makeconfig (+link-pie-before-libc): New.
2062         (+link-pie-after-libc): Likewise.
2063         (+link-pie-tests): Likewise.
2064         (+link-pie): Rewritten.
2065         (link-before-libc): Remove $(config-LDFLAGS).
2066         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2067         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2068         (config-LDFLAGS): Renamed to ...
2069         (rtld-LDFLAGS): This.
2070         (rtld-tests-LDFLAGS): New macro.
2071         (link-libc-rpath-link): Likewise.
2072         (link-libc-tests-rpath-link): Likewise.
2073         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2074         (link-libc): Prepand $(link-libc-rpath-link).
2075         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2076         (test-program-prefix): New macro.
2077         (test-via-rtld-prefix): Likewise.
2078         (test-program-cmd): Likewise.
2079         (host-test-program-cmd): Likewise.
2080         * Makefile ($(common-objpfx)testrun.sh): Replace
2081         $(run-program-prefix) with $(test-program-prefix).
2082         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2083         $(rtld-LDFLAGS).
2084         ($(common-objpfx)shlib.lds): Likewise.
2085         (build-module-helper): Likewise.
2086         ($(common-objpfx)format.lds): Likewise.
2087         * Rules (binaries-pie-tests): New.
2088         (binaries-pie-notests): Likewise.
2089         (binaries-pie): Rewritten.
2090         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2091         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2092         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2093         (make-test-out): Replace $(host-built-program-cmd) with
2094         $(host-test-program-cmd).
2095         * config.make.in (build-hardcoded-path-in-tests): New variable.
2096         * configure.in (--enable-hardcoded-path-in-tests): New configure
2097         option.
2098         (hardcoded_path_in_tests): New AC_SUBST.
2099         * configure: Regenerated.
2100         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2101         $(built-program-cmd) with $(test-program-cmd).
2102         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2103         (test_program_cmd): This.
2104         * elf/Makefile ($(objpfx)order.out): Run test with
2105         $(test-program-prefix).
2106         ($(objpfx)order2.out): Likewise.
2107         ($(objpfx)tst-initorder.out): Likewise.
2108         ($(objpfx)tst-initorder2.out): Likewise.
2109         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2110         $(test-program-cmd).
2111         ($(objpfx)tst-array1-static.out): Likewise.
2112         ($(objpfx)tst-array2.out): Likewise.
2113         ($(objpfx)tst-array3.out): Likewise.
2114         ($(objpfx)tst-array4.out): Likewise.
2115         ($(objpfx)tst-array5.out): Likewise.
2116         ($(objpfx)tst-array5-static.out): Likewise.
2117         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2118         $(test-program-cmd).
2119         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2120         $(run-program-prefix) with $(test-program-prefix).
2121         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2122         (test_program_prefix): This.
2123         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2124         $(run-program-prefix) with $(test-program-prefix).
2125         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2126         (test_program_prefix): This.
2127         * iconvdata/tst-tables.sh: Likewise.
2128         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2129         $(run-program-prefix) with $(test-program-prefix).
2130         ($(objpfx)tst-translit.out): Likewise.
2131         ($(objpfx)tst-gettext2.out): Likewise.
2132         ($(objpfx)tst-gettext4.out): Likewise.
2133         ($(objpfx)tst-gettext6.out): Likewise.
2134         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2135         (test_program_prefix): This.
2136         * intl/tst-gettext2.sh: Likewise.
2137         * intl/tst-gettext4.sh  Likewise.
2138         * intl/tst-gettext6.sh: Likewise.
2139         * intl/tst-translit.sh: Likewise.
2140         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2141         with $(test-program-cmd).
2142         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2143         $(run-program-prefix) with $(test-program-prefix).
2144         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2145         (test_program_prefix): This.
2146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2147         $(run-program-prefix) with $(test-program-prefix).
2148         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2149         (test_program_prefix): This.
2150         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2151         * posix/Makefile ($(objpfx)globtest.out): Replace
2152         $(run-via-rtld-prefix) and $(test-wrapper) with
2153         $(test-program-prefix) and $(test-via-rtld-prefix).
2154         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2155         $(test-program-prefix).
2156         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2157         $(host-test-program-cmd).
2158         (tst-spawn-ARGS): Likewise.
2159         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2160         $(test-program-prefix).
2161         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2162         (test_via_rtld_prefix): This.
2163         (test_wrapper): Renamed to ...
2164         (test_program_prefix): This.
2165         (run_program_prefix): Replaced by test_program_prefix.
2166         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2167         (test_program_prefix): This.
2168         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2169         with $(host-test-program-cmd).
2170         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2171         $(run-program-prefix) with $(test-program-prefix).
2172         ($(objpfx)tst-printf.out): Likewise.
2173         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2174         $(test-program-cmd).
2175         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2176         (test_program_prefix): This.
2177         * stdio-common/tst-unbputc.sh: Likewise.
2178         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2179         $(run-program-prefix) with $(test-program-prefix).
2180         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2181         (test_program_prefix): This.
2182         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2183         $(built-program-cmd) with $(test-program-cmd).
2185 2013-01-11  Andreas Jaeger  <aj@suse.de>
2187         [BZ #15003]
2188         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2189         value. Sync with Linux 3.7.
2191 2013-01-10  David S. Miller  <davem@davemloft.net>
2193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2194         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2195         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2197 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2199         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2200         never set.
2201         * configure: Regenerated.
2203 2013-01-10  David S. Miller  <davem@davemloft.net>
2205         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2206         sparc V9 rather than using V8 code.
2207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2210 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2212         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2213         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2214         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2215         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2216         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2217         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2218         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2219         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2220         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2221         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2222         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2223         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2224         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2225         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2226         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2227         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2228         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2229         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2230         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2231         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2232         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2233         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2234         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2235         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2236         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2237         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2238         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2240 2013-01-10  David S. Miller  <davem@davemloft.net>
2242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2244 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2246         * posix/Makefile (tests-static): New variable.
2247         (tests): Add $(tests-static).
2248         (tst-exec-static-ARGS): New variable.
2249         (tst-spawn-static-ARGS): Likewise.
2250         * posix/tst-exec-static.c: New file.
2251         * posix/tst-spawn-static.c: Likewise.
2252         * posix/tst-exec.c: Support run directly.
2253         * posix/tst-spawn.c: Likewise.
2255 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2257         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2258         long.
2259         * math/bits/mathcalls.h (llrint): Likewise.
2260         (llround): Likewise.
2261         * stdlib/stdlib.h (struct drand48_data): Likewise.
2262         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2263         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2264         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2267         Likewise.
2268         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2269         (elf_greg_t): Likewise.
2270         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2271         (__jmp_buf): Likewise.
2272         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2273         definitions.
2274         (llrint): Likewise, for all definitions.
2275         (llrintl): Likewise.
2277         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2278         Remove [__GNUC__] condition.
2279         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2280         condition to just [__USE_ISOC99].
2281         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2283 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2285         [BZ #14200]
2286         * sysdeps/unix/sysv/linux/x86/bits/environments.h
2287         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2288         defined.
2289         (_POSIX_V6_ILP32_OFF32): Likewise.
2290         (_XBS5_ILP32_OFF32): Likewise.
2291         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2292         (__ILP32_OFFBIG_LDFLAGS): Likewise.
2294 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2296         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2298         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2299         doubles __mpexp_twomm1.  Adjust usage.
2300         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2301         Remove.
2303 2013-01-10  Andreas Schwab  <schwab@suse.de>
2305         [BZ #14964]
2306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2307         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2309 2013-01-09  David S. Miller  <davem@davemloft.net>
2311         [BZ #15003]
2312         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2313         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2314         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2315         TCP_FASTOPEN): Define.
2316         (tcp_repair_opt): New structure.
2317         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2318         enum values.
2319         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2320         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2321         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2322         (tcp_cookie_transactions): New structure.
2324 2013-01-09  Anton Blanchard  <anton@samba.org>
2326         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2327         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2328         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2329         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2331 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
2333         * include/features.h (__USE_ANSI): Remove.
2335 2013-01-09  Roland McGrath  <roland@hack.frob.com>
2337         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2339         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2341 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2343         * sysdeps/s390/fpu/libm-test-ulps: Update.
2345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2347         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2348         (__acr): Likewise.
2349         (__cpy): Likewise.
2350         (norm): Likewise.
2351         (denorm): Likewise.
2352         (__mp_dbl): Likewise.
2353         (__dbl_mp): Likewise.
2354         (add_magnitudes): Likewise.
2355         (sub_magnitudes): Likewise.
2356         (__add): Likewise.
2357         (__sub): Likewise.
2358         (__mul): Likewise.
2359         (__inv): Likewise.
2360         (__dvd): Likewise.
2361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2362         (__acr): Likewise.
2363         (__cpy): Likewise.
2364         (norm): Likewise.
2365         (denorm): Likewise.
2366         (__mp_dbl): Likewise.
2367         (__dbl_mp): Likewise.
2368         (add_magnitudes): Likewise.
2369         (sub_magnitudes): Likewise.
2370         (__add): Likewise.
2371         (__sub): Likewise.
2372         (__mul): Likewise.
2373         (__inv): Likewise.
2374         (__dvd): Likewise.
2375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2376         (__acr): Likewise.
2377         (__cpy): Likewise.
2378         (norm): Likewise.
2379         (denorm): Likewise.
2380         (__mp_dbl): Likewise.
2381         (__dbl_mp): Likewise.
2382         (add_magnitudes): Likewise.
2383         (sub_magnitudes): Likewise.
2384         (__add): Likewise.
2385         (__sub): Likewise.
2386         (__mul): Likewise.
2387         (__inv): Likewise.
2388         (__dvd): Likewise.
2390 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
2392         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2393         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2394         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2395         2 && __USE_EXTERN_INLINES]: Likewise.
2397 2013-01-08  Andreas Jaeger  <aj@suse.de>
2399         [BZ# 14985]
2400         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2401         Remove.
2402         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2403         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2405 2013-01-07  Anton Blanchard  <anton@samba.org>
2407         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2408         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2409         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2410         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2411         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2412         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2413         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2414         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2416         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2417         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2418         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2420         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2421         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2422         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2423         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2424         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2425         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2426         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2427         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2428         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2429         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2430         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2431         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2432         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2433         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2434         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2436         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2437         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2439         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2440         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2441         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2442         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2443         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2444         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2445         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2447         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2448         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2449         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2451 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
2453         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2454         (__MALLOC_PMT): Likewise.
2455         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2456         [__GNUC__], only on [_LIBC].
2457         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2458         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2459         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2460         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2461         forward declaration.
2462         (realloc_hook_ini): Likewise.
2463         (memalign_hook_ini): Likewise.
2464         (__libc_memalign): Do not use __MALLOC_PMT in variable
2465         declaration.
2466         (__libc_valloc): Likewise.
2467         (__libc_pvalloc): Likewise.
2468         (__libc_calloc): Likewise.
2469         (__posix_memalign): Likewise.
2471         [BZ #14996]
2472         * math/s_casinh.c: Include <float.h>.
2473         (__casinh): Do not do computation with squaring and square root
2474         for large arguments.
2475         * math/s_casinhf.c: Include <float.h>.
2476         (__casinhf): Do not do computation with squaring and square root
2477         for large arguments.
2478         * math/s_casinhl.c: Include <float.h>.
2479         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2480         (__casinhl): Do not do computation with squaring and square root
2481         for large arguments.
2482         * math/libm-test.inc (casin_test): Add more tests.
2483         (casinh_test): Likewise.
2484         * sysdeps/i386/fpu/libm-test-ulps: Update.
2485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2487 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2489         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2490         (__x86_64_raw_data_cache_size): Likewise.
2491         (__x86_64_data_cache_size_half): Likewise.
2492         (__x86_64_raw_data_cache_size_half): Likewise.
2493         (__x86_64_shared_cache_size): Likewise.
2494         (__x86_64_raw_shared_cache_size): Likewise.
2495         (__x86_64_shared_cache_size_half): Likewise.
2496         (__x86_64_raw_shared_cache_size_half): Likewise.
2497         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2498         to ...
2499         (__x86_data_cache_size): This.
2500         (__x86_64_raw_data_cache_size): Renamed to ...
2501         (__x86_raw_data_cache_size): This.
2502         (__x86_64_data_cache_size_half): Renamed to ...
2503         (__x86_data_cache_size_half): This.
2504         (__x86_64_raw_data_cache_size_half): Renamed to ...
2505         (__x86_raw_data_cache_size_half): This.
2506         (__x86_64_shared_cache_size): Renamed to ...
2507         (__x86_shared_cache_size): This.
2508         (__x86_64_raw_shared_cache_size): Renamed to ...
2509         (__x86_raw_shared_cache_size): This.
2510         (__x86_64_shared_cache_size_half): Renamed to ...
2511         (__x86_shared_cache_size_half): This.
2512         (__x86_64_raw_shared_cache_size_half): Renamed to ...
2513         (__x86_raw_shared_cache_size_half): This.
2514         * sysdeps/x86_64/memcpy.S: Updated.
2515         * sysdeps/x86_64/memset.S: Likewise.
2516         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2517         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2520 2013-01-04  David S. Miller  <davem@davemloft.net>
2522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2524 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2526         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2527         1 to avoid redefinition warning.
2528         (__USE_GNU): Don't define.
2529         (init_signaling_nan): Protoize.
2531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2533 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2535         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2537         (__cpymn): Likewise.
2538         (norm): Remove commented code.
2539         (denorm): Likewise.
2540         (__mp_dbl): Likewise.
2541         (__inv): Likewise.
2542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2543         (__cpymn): Likewise.
2544         (norm): Remove commented code.
2545         (denorm): Likewise.
2546         (__mp_dbl): Likewise.
2547         (__inv): Likewise.
2549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2550         mp_no value for 1.0 and 2.0.
2551         (norm): Use RADIXI instead of radixi.d.
2552         (denorm): Likewise.
2553         (__mul): Use 0.0 instead of zero.d.
2554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2555         mp_no value for 1.0 and 2.0.
2556         (norm): Use RADIXI instead of radixi.d.
2557         (denorm): Likewise.
2558         (__mul): Use 0.0 instead of zero.d.
2560 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
2562         [BZ #14994]
2563         * math/s_casinh.c (__casinh): Reduce finite argument to first
2564         quadrant then set signs of results at the end.
2565         * math/s_casinhf.c (__casinhf): Likewise.
2566         * math/s_casinhl.c (__casinhl): Likewise.
2567         * math/libm-test.inc (casin_test): Add more tests.
2568         (casinh_test): Likewise.
2569         * sysdeps/i386/fpu/libm-test-ulps: Update.
2570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2574         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2576         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2578         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2579         declarations.
2580         (denorm): Likewise.
2581         (__mp_dbl): Likewise.
2582         (__inv): Likewise.
2584         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2585         and adjust the header comment.
2587         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2588         variable name from declaration.
2590 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2593         Initialize COMMON_CPUID_INDEX_7 element.
2594         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2595         (CPUID_RTM): Likewise.
2596         (HAS_RTM): Likewise.
2597         (COMMON_CPUID_INDEX_7): New enum.
2599 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
2601         [BZ #14981]
2602         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2603         size is zero, record memory as freed.
2605 2013-01-03  Andreas Jaeger  <aj@suse.de>
2607         * po/ia.po: Add new Interlingua translation.
2609 2012-01-03  Allan McRae  <allan@archlinux.org>
2611         * locale/programs/localedef.c: Fix description of '--posix' flag.
2613 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
2615         * NEWS: Update dates in second copyright notice.
2616         * README: Update copyright dates in example.
2617         * manual/libc.texinfo: Update copyright dates.
2618         * scripts/test-installation.pl: Update copyright date in --version
2619         output.
2621         * hurd/ctty-input.c: Fix copyright notice formatting.
2622         * hurd/ctty-output.c: Likewise.
2623         * hurd/dtable.c: Likewise.
2624         * hurd/hurd-raise.c: Likewise.
2625         * hurd/hurdprio.c: Likewise.
2626         * hurd/msgportdemux.c: Likewise.
2627         * misc/sys/file.h: Likewise.
2628         * misc/sys/ioctl.h: Likewise.
2629         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2630         * sysdeps/mach/hurd/chdir.c: Likewise.
2631         * sysdeps/mach/hurd/fchdir.c: Likewise.
2632         * sysdeps/mach/hurd/rename.c: Likewise.
2633         * sysdeps/mach/hurd/rmdir.c: Likewise.
2634         * sysdeps/mach/hurd/seekdir.c: Likewise.
2635         * sysdeps/mach/hurd/setsid.c: Likewise.
2636         * sysdeps/posix/wait3.c: Likewise.
2638         * All files with FSF copyright notices: Update copyright dates
2639         using scripts/update-copyrights.
2640         * intl/plural.c: Regenerated.
2641         * locale/programs/charmap-kw.h: Likewise.
2642         * locale/programs/locfile-kw.h: Likewise.
2644 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2646         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2647         four values.
2649         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2650         calculation loop and add branch prediction.
2652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2653         check access beyond bounds of m1np.
2655         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2656         MPTWO.
2657         (__inv): Remove local variable MPTWO to use the global
2658         constant.
2659         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2660         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2661         variable MPTWO.
2662         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2663         MP3HALFS static const.
2665 2013-01-01  David S. Miller  <davem@davemloft.net>
2667         * po/ca.po: Update from translation team.
2669 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
2671         * scripts/update-copyrights: New file.
2672         * Makeconfig: Reformat copyright notice.
2673         * ctype/ctype.h: Likewise.
2674         * debug/swprintf_chk.c: Likewise.
2675         * elf/dl-cache.c: Likewise.
2676         * elf/dl-debug.c: Likewise.
2677         * elf/dl-object.c: Likewise.
2678         * grp/initgroups.c: Likewise.
2679         * hurd/Makefile: Likewise.
2680         * hurd/hurd/signal.h: Likewise.
2681         * hurd/hurdfault.c: Likewise.
2682         * hurd/hurdioctl.c: Likewise.
2683         * hurd/hurdlookup.c: Likewise.
2684         * hurd/intr-msg.c: Likewise.
2685         * iconv/gconv_open.c: Likewise.
2686         * libio/swprintf.c: Likewise.
2687         * locale/lc-ctype.c: Likewise.
2688         * locale/nl_langinfo.c: Likewise.
2689         * mach/Machrules: Likewise.
2690         * mach/Makefile: Likewise.
2691         * malloc/obstack.h: Likewise.
2692         * manual/Makefile: Likewise.
2693         * manual/tsort.awk: Likewise.
2694         * misc/bits/stab.def: Likewise.
2695         * nis/nis_print_group_entry.c: Likewise.
2696         * nis/nis_table.c: Likewise.
2697         * nis/nss_compat/compat-pwd.c: Likewise.
2698         * nis/nss_compat/compat-spwd.c: Likewise.
2699         * po/Makefile: Likewise.
2700         * posix/fnmatch.c: Likewise.
2701         * posix/regex.h: Likewise.
2702         * resolv/Makefile: Likewise.
2703         * resolv/nss_dns/dns-network.c: Likewise.
2704         * resolv/res_hconf.c: Likewise.
2705         * scripts/gen-sorted.awk: Likewise.
2706         * soft-fp/soft-fp.h: Likewise.
2707         * stdio-common/printf.h: Likewise.
2708         * stdlib/monetary.h: Likewise.
2709         * stdlib/random.c: Likewise.
2710         * stdlib/random_r.c: Likewise.
2711         * sysdeps/generic/Makefile: Likewise.
2712         * sysdeps/gnu/Makefile: Likewise.
2713         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2720         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2721         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2722         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2723         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2724         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2725         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2726         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2727         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2729         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2731         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2733         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2734         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2735         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2736         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2737         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2739         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2741         * sysdeps/mach/hurd/errnos.awk: Likewise.
2742         * sysdeps/mach/hurd/fork.c: Likewise.
2743         * sysdeps/mach/hurd/getcwd.c: Likewise.
2744         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2745         * sysdeps/mach/hurd/mmap.c: Likewise.
2746         * sysdeps/mach/hurd/utimes.c: Likewise.
2747         * sysdeps/mach/hurd/xmknod.c: Likewise.
2748         * sysdeps/posix/profil.c: Likewise.
2749         * sysdeps/posix/readdir_r.c: Likewise.
2750         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2751         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2752         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2753         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2755         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2756         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2757         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2759         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2760         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2761         * sysdeps/pthread/lio_listio.c: Likewise.
2762         * sysdeps/sparc/dl-procinfo.h: Likewise.
2763         * sysdeps/unix/i386/sysdep.S: Likewise.
2764         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2765         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2766         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2767         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2769         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2770         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2771         * sysdeps/unix/sysv/linux/speed.c: Likewise.
2772         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2773         * sysdeps/wordsize-32/divdi3.c: Likewise.
2774         * time/sys/time.h: Likewise.
2775         * wcsmbs/Makefile: Likewise.
2777 2013-01-01  David S. Miller  <davem@davemloft.net>
2779         * po/fr.po: Update from translation team.
2781         * catgets/gencat.c: Update copyright year.
2782         * csu/version.c: Likewise.
2783         * debug/catchsegv.sh: Likewise.
2784         * debug/pcprofiledump.c: Likewise.
2785         * debug/xtrace.sh: Likewise.
2786         * elf/ldconfig.c: Likewise.
2787         * elf/ldd.bash.in: Likewise.
2788         * elf/pldd.c: Likewise.
2789         * elf/sotruss.ksh: Likewise.
2790         * elf/sprof.c: Likewise.
2791         * iconv/iconv_prog.c: Likewise.
2792         * iconv/iconvconfig.c: Likewise.
2793         * locale/programs/locale.c: Likewise.
2794         * locale/programs/localedef.c: Likewise.
2795         * login/programs/pt_chown.c: Likewise.
2796         * malloc/memusage.sh: Likewise.
2797         * malloc/memusagestat.c: Likewise.
2798         * malloc/mtrace.pl: Likewise.
2799         * nscd/nscd.c: Likewise.
2800         * nss/getent.c: Likewise.
2801         * nss/makedb.c: Likewise.
2802         * posix/getconf.c: Likewise.
2804 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2806         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2807         numbers.
2809 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
2811         * math/bits/mathcalls.h (modf): Use __nonnull.
2813 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2815         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2816         (split): Use macro CN instead of the bare value.
2817         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2818         could be used.
2819         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2820         instead of the bare value.
2821         (power1): Likewise.
2823 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2825         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2826         __ATAN_TWOM.
2827         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2829         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2830         their values.
2831         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2832         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2833         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2834         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2836 2012-12-28  Andreas Jaeger  <aj@suse.de>
2838         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
2839         values are from Linux 3.7.
2841         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2842         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
2844 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2847         TRUE case.
2849         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2850         (norm): Likewise.
2851         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2852         variables with preprocessor constants.
2853         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2854         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2855         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2857 2012-12-27  Bruno Haible  <bruno@clisp.org>
2859         [BZ #14317]
2860         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2861         only if needed.
2863 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2866         and use variable directly.
2867         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2869         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2870         MPONE.
2871         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2873         variable MPONE.
2874         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2876         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2877         include directive.  Remove local variable MPONE.
2878         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2879         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2880         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2882 2012-12-25  David S. Miller  <davem@davemloft.net>
2884         * version.h (RELEASE): Set to "development".
2885         (VERSION): Set to "2.17.90".
2886         * NEWS: Add 2.18 section.
2888 2012-12-21  David S. Miller  <davem@davemloft.net>
2890         * po/hr.po: Update from translation team.
2892 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2894         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2896 2012-12-19  Steve Ellcey  <sellcey@mips.com>
2898         * NEWS:  Mention new memcpy for MIPS.
2900 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2902         * manual/contrib.texi (Contributors): Spelling correction.
2904 2012-12-15  David S. Miller  <davem@davemloft.net>
2906         * po/ru.po: Update from translation team.
2908 2012-12-13  David S. Miller  <davem@davemloft.net>
2910         * NEWS: Mention IFUNC testsuite enhancements.
2912         * po/pl.po: Update from translation team.
2913         * po/bg.po: Likewise.
2915         * manual/contrib.texi (Contributors): Update entries for Hongjiu
2916         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
2918 2012-12-11  David S. Miller  <davem@davemloft.net>
2920         * po/sv.po: Update from translation team.
2922         * po/vi.po: Update from translation team.
2924         * po/cs.po: Update from translation team.
2926         * po/de.po: Update from translation team.
2927         * po/eo.po: Likewise.
2928         * po/nl.po: Likewise.
2930 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2932         [BZ #14246]
2933         * manual/argp.texi (Argp Helper Functions): Move node to follow
2934         Argp Parsing State.
2936         [BZ #14872]
2937         * manual/conf.texi (Limits on File System Capacity): Mention if
2938         terminating null is included in the max size.
2940 2012-12-10  Andreas Jaeger  <aj@suse.de>
2942         * po/cs.po: Update from translation team.
2944 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2946         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2947         void pointer and cast to uintptr_t.
2948         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2949         path.
2950         * sysdeps/s390/s390-64/memcpy.S: Likewise.
2951         * sysdeps/s390/s390-64/memset.S: Likewise.
2953 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
2955         [BZ #14833]
2956         * menual/message.texi (Message Translation): Fix typos.
2957         (Helper programs for gettext): Likewise.
2959 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
2961         [BZ #14898]
2962         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2963         Change to -1.
2965 2012-12-07  David S. Miller  <davem@davemloft.net>
2967         * po/libc.pot: Update.
2969 2012-12-07  Richard Henderson  <rth@redhat.com>
2971         [BZ #10114]
2972         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2973         normal/normal case to before the switch.
2974         (_FP_DIV): Likewise.
2976 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
2977             Mike Frysinger  <vapier@gentoo.org>
2979         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2980         check for __NR_fadvise64_64.
2982 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
2984         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2985         0, not just to plain "0" as a statement.
2986         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2987         with cw.
2989 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
2991         * NEWS: Use sourceware.org in Bugzilla URL.
2993 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2996         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2998         * stdio-common/tst-put-error.c (do_test): Add newline to the
2999         padded test to ensure flush.
3001 2012-12-05  Jeff Law  <law@redhat.com>
3003         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3005 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3007         * README: Don't refer to ports add-on as distributed separately.
3008         Mention AArch64 in list of systems supported in the ports add-on.
3010         * LICENSES: Add more non-FSF copyright and license notices.
3012         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3013         ((unused)).
3015         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3017         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3018         10000 as width of padded output.
3020 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3022         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3024         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3025         variable LX with __attribute__ ((unused)).
3026         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3027         Likewise.
3028         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3029         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3031         with __attribute__ ((unused)).
3033 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3035         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3037 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3039         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3040         (CFLAGS-nldbl-acos.c): New variable.
3041         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3042         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3043         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3044         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3045         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3046         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3047         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3048         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3049         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3050         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3051         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3052         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3053         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3054         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3055         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3056         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3057         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3058         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3059         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3060         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3061         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3062         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3063         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3064         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3065         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3066         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3067         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3068         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3069         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3070         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3071         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3072         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3073         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3074         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3075         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3076         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3077         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3078         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3079         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3080         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3081         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3082         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3083         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3084         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3085         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3086         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3087         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3088         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3089         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3090         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3091         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3092         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3093         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3094         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3095         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3096         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3097         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3098         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3099         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3100         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3101         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3102         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3103         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3104         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3105         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3106         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3107         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3108         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3109         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3110         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3111         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3112         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3113         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3114         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3115         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3116         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3117         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3118         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3119         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3120         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3121         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3122         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3123         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3124         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3125         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3126         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3127         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3128         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3129         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3130         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3131         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3132         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3133         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3134         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3135         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3136         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3137         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3140         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3142         [BZ #14914]
3143         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3144         whole low double instead of just low 47 bits when splitting values
3145         into two parts.
3147 2012-12-03  Allan McRae  <allan@archlinux.org>
3149         * manual/stdio.texi (Predefined Printf Handlers): Remove
3150         @hsep and @vsep usage.
3152 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3154         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3155         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3157 2012-12-03  Jeff Law  <law@redhat.com>
3159         * time/sys/time.h (settimeofday): Do not mark TV argument
3160         as __nonnull.
3162 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3164         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3165         when currently writing and seek to current position when not.
3166         * libio/Makefile (tests): Remove bug-fclose1.
3167         * libio/bug-fclose1.c: Delete.
3169 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3171         * manual/arith.texi (feenableexcept): Fix typo.
3172         (fedisableexcept): Likewise.
3174 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3176         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3177         second, differently-typed declaration, rather than a cast.
3179 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3181         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3182         * include/rpc/svc.h: ... here.
3184 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3186         [BZ #13013]
3187         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3188         depending n and resplen2 to catch cases where answer
3189         equals answerp2.
3191 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3193         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3194         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3196 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3198         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3200 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3202         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3204 2012-11-28  Jeff Law  <law@redhat.com>
3206         [BZ #13761]
3207         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3208         dataset_temporary.  Track alloca usage into alloca_used.
3209         If dataset is large allocate and release it via malloc/free.
3211 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3213         [BZ #14197]
3214         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3216 2012-11-28  David S. Miller  <davem@davemloft.net>
3218         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3220 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3222         [BZ #14803]
3223         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3224         of pi/2 rounded to nearest to 64 bits.
3225         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3226         nearest to 64 bits.
3227         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3228         bits.
3230 2012-11-28  Jeff Law <law@redhat.com>
3231             Martin Osvald <mosvald@redhat.com>
3233         [BZ #14889]
3234         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3235         * sunrpc/svc.c: Include time.h.
3236         (__svc_accept_failed): New function.
3237         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3238         any reason other than EINTR, call __svc_accept_failed.
3239         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3240         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3242 2012-11-28  Andreas Schwab  <schwab@suse.de>
3244         * scripts/abilist.awk: Also handle indirect functions in .opd
3245         section.
3247 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3249         [BZ #13881]
3250         * sysdeps/x86/fpu/powl_helper.c: New file.
3251         * sysdeps/x86/fpu/Makefile: Likewise.
3252         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3253         (p3): New object.
3254         (__ieee754_powl): Use __powl_helper for finite arguments except
3255         integer exponents below 8.
3256         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3257         (p3): New object.
3258         (__ieee754_powl): Use __powl_helper for finite arguments except
3259         integer exponents below 8.
3260         * math/libm-test.inc (pow_test): Add more tests and enable some
3261         previously disabled tests.
3262         * sysdeps/i386/fpu/libm-test-ulps: Update.
3263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3265 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3266             Carlos O'Donell  <carlos_odonell@mentor.com>
3268         * nss/makedb.c (is_prime): Assert that input is odd and greater
3269         than 4.  Note that fact in a comment too.
3270         (next_prime): Add 4 to input.
3272 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3274         [BZ #11741]
3275         * libio/Makefile (tests): Add test case tst-fwrite-error.
3276         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3277         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3278         * libio/tst-fwrite-error.c: New test case.
3280 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
3282         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3283         before casting to void *.
3284         * include/libc-internal.h (__pointer_type): New macro.
3285         (__integer_if_pointer_type_sub): Likewise.
3286         (__integer_if_pointer_type): Likewise.
3287         (cast_to_integer): Likewise.
3288         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3289         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3290         before casting to atomic64_t.
3291         (atomic_exchange_acq): Likewise.
3292         (__arch_exchange_and_add_body): Likewise.
3293         (__arch_add_body): Likewise.
3294         (atomic_add_negative): Likewise.
3295         (atomic_add_zero): Likewise.
3297 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
3299         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3300         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3301         (add_fdes): Likewise.
3302         (linear_search_fdes): Likewise.
3303         (binary_search_unencoded_fdes): Likewise.
3305 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
3307         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3309 2012-11-24  Adam Conrad  <adconrad@0c3.net>
3311         * configure.in: Autodetect C++ header directories.
3312         * configure: Regenerated.
3314 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
3316         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3318 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
3320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3322 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
3324         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3325         LDBL_MANT_DIG == 106]: Disable some tests.
3326         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3327         Likewise.
3328         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3329         Likewise.
3331         [BZ #14871]
3332         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3333         input for small inputs.  Return +/- pi/2 for large inputs.
3334         * math/libm-test.inc (atan_test): Add more tests.
3336         * sysdeps/generic/unwind-dw2-fde-glibc.c
3337         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3338         __attribute__ ((unused)).
3340         [BZ #14645]
3341         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3342         x * y if x and y are nonzero and z is zero.
3344         [BZ #14811]
3345         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3346         nonzero exponents with absolute value below 0x1p-117 to +/-
3347         0x1p-117.
3349         [BZ #14869]
3350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3351         up arguments below 2**-450, not just those below 2**-500.
3352         * math/libm-test.inc (hypot_test): Add another test.
3354         [BZ #14868]
3355         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3356         Return a+b for ratio over 2**120, not 2**60.
3357         * math/libm-test.inc (hypot_test): Add another test.
3359         * math/libm-test.inc (clog_test): Use
3360         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3361         (clog10_test): Likewise.
3363         [BZ #6778]
3364         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3366 2012-11-22  Andreas Schwab  <schwab@suse.de>
3368         * sysdeps/i386/fpu/libm-test-ulps: Update.
3370 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
3372         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3373         printf output with newline.
3375 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
3377         [BZ #14865]
3378         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3379         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3380         -z nodlopen, -z initfirst and -z execstack support.
3381         * configure: Regenerated.
3383         * elf/elf.h (DF_1_NODIRECT): New macro.
3384         (DF_1_IGNMULDEF): Likewise.
3385         (DF_1_NOKSYMS): Likewise.
3386         (DF_1_NOHDR): Likewise.
3387         (DF_1_EDITED): Likewise.
3388         (DF_1_NORELOC): Likewise.
3389         (DF_1_SYMINTPOSE): Likewise.
3390         (DF_1_GLOBAUDIT): Likewise.
3391         (DF_1_SINGLETON): Likewise.
3392         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3393         DT_1_SUPPORTED_MASK bits.
3394         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3396 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
3398         * sysdeps/unix/make-syscalls.sh: Document prefixes.
3400 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
3402         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3403         macro.
3405         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3406         (sendmmsg): Move declarations...
3407         * socket/sys/socket.h: ... here.
3408         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3409         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3410         include it from...
3411         * socket/recvmmsg.c: ... this new file.
3412         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3413         (sendmmsg): Rename to __sendmmsg, create weak alias and make
3414         definition of __sendmmsg hidden.
3415         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3416         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3417         Move ENOSYS stub into and include it from...
3418         * socket/sendmmsg.c: ... this new file.
3419         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3420         (sysdep_routines): Move recvmmsg and sendmmsg...
3421         * socket/Makefile (routines): ... here.
3422         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3423         (GLIBC_PRIVATE): Add __sendmmsg.
3424         * include/sys/socket.h (__sendmmsg): Add declarations.
3425         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3426         sendmmsg.
3428 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
3430         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3431         variable I1 with __attribute__ ((unused)).
3432         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3434 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3436         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3437         DUMMY variables with __attribute__ ((unused)).
3439         * bits/byteswap.h: Include <bits/types.h>.
3440         (__bswap_64): Use __uint64_t instead of unsigned long long int.
3442 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3444         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3445         string_t.  Do not manually set errno.
3446         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3447         length with __strnlen.  Make sure to both set errno and return it on
3448         failure.
3450 2012-11-19  David S. Miller  <davem@davemloft.net>
3452         With help from Joseph Myers.
3453         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3454         very large arguments properly.
3455         * math/libm-test.inc (atan_test): New tests.
3456         (atan2_test): New tests.
3457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3460 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3462         [BZ #14856]
3463         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3464         Define to 3.
3466         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3467         [POSIX] (EADDRNOTAVAIL): Likewise.
3468         [POSIX] (EAFNOSUPPORT): Likewise.
3469         [POSIX] (EALREADY): Likewise.
3470         [POSIX] (ECONNABORTED): Likewise.
3471         [POSIX] (ECONNREFUSED): Likewise.
3472         [POSIX] (ECONNRESET): Likewise.
3473         [POSIX] (EDESTADDRREQ): Likewise.
3474         [POSIX] (EDQUOT): Likewise.
3475         [POSIX] (EHOSTUNREACH): Likewise.
3476         [POSIX] (EIDRM): Likewise.
3477         [POSIX] (EISCONN): Likewise.
3478         [POSIX] (ELOOP): Likewise.
3479         [POSIX] (EMULTIHOP): Likewise.
3480         [POSIX] (ENETDOWN): Likewise.
3481         [POSIX] (ENETUNREACH): Likewise.
3482         [POSIX] (ENOBUFS): Likewise.
3483         [POSIX] (ENODATA): Likewise.
3484         [POSIX] (ENOLINK): Likewise.
3485         [POSIX] (ENOMSG): Likewise.
3486         [POSIX] (ENOPROTOOPT): Likewise.
3487         [POSIX] (ENOSR): Likewise.
3488         [POSIX] (ENOSTR): Likewise.
3489         [POSIX] (ENOTCONN): Likewise.
3490         [POSIX] (ENOTSOCK): Likewise.
3491         [POSIX] (EOPNOTSUPP): Likewise.
3492         [POSIX] (EOVERFLOW): Likewise.
3493         [POSIX] (EPROTO): Likewise.
3494         [POSIX] (EPROTONOSUPPORT): Likewise.
3495         [POSIX] (EPROTOTYPE): Likewise.
3496         [POSIX] (ESTALE): Likewise.
3497         [POSIX] (ETIME): Likewise.
3498         [POSIX] (ETXTBSY): Likewise.
3499         [POSIX] (EWOULDBLOCK): Likewise.
3500         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3501         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3502         [POSIX] (SEEK_CUR): Likewise.
3503         [POSIX] (SEEK_END): Likewise.
3504         [POSIX || UNIX98] (mode_t): Do not require.
3505         [POSIX] (off_t): Likewise.
3506         [POSIX] (pid_t): Likewise.
3507         [POSIX] (sys/stat.h): Do not allow header.
3508         [POSIX] (unistd.h): Likewise.
3509         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3510         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3511         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3512         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3513         require.
3514         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3515         sigevent): Specify elements.
3516         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3517         entry.
3518         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3519         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3521         * conform/data/cpio.h-data [POSIX]: Disable whole file.
3522         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3523         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3524         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3525         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3526         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3527         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3528         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3529         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3530         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3531         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3532         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3533         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3534         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3535         Likewise.
3536         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3537         Likewise.
3538         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3539         Likewise.
3540         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3541         Likewise.
3542         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3543         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3544         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3545         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3546         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3547         Specify lower bound on value.
3548         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3549         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3550         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3551         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3552         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3553         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3554         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3555         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3556         value.
3557         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3558         as optional.
3559         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3560         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3561         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3562         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3563         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3564         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3565         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3566         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3567         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3568         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3569         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3570         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3571         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3572         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3573         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3574         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3575         entry.
3576         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3577         optional.
3578         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3579         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3580         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3581         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3582         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3583         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3584         Likewise.
3585         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3586         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3587         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3588         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3589         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
3590         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3591         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3592         as optional.
3593         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3594         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3595         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3596         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3597         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3598         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3599         specify as optional.
3600         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3601         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3602         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3603         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3604         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3605         [XPG3] (NL_LANGMAX): Likewise.
3606         [POSIX || XPG3] (NL_MSGMAX): Likewise.
3607         [POSIX || XPG3] (NL_NMAX): Likewise.
3608         [POSIX || XPG3] (NL_SETMAX): Likewise.
3609         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3610         [XPG3] (NZERO): Likewise.
3611         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3612         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3613         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3614         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3615         (REG_ERANGE): Expect.
3616         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3617         optional-constant.
3618         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3619         Use (void) in prototype.
3620         [POSIX] (*_t): Allow.
3621         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3622         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3623         (WRDE_BADVAL): Expect.
3625         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3626         expect.
3627         [XPG3 || XPG4] (O_RSYNC): Likewise.
3628         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3629         Likewise.
3630         [XPG3 || XPG4] (pthread_sigmask): Likewise.
3631         [XPG3 || XPG4] (sigqueue): Likewise.
3632         [XPG3 || XPG4] (sigtimedwait): Likewise.
3633         [XPG3 || XPG4] (sigwaitinfo): Likewise.
3634         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3635         [XPG3 || XPG4] (vsnprintf): Likewise.
3636         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3637         Likewise.
3638         [XPG3 || XPG4] (blksize_t): Likewise.
3639         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3640         Likewise.
3641         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3642         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3643         [XPG3 || XPG4] (struct itimerspec): Likewise.
3644         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3645         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3646         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3647         [XPG3 || XPG4] (clockid_t): Likewise.
3648         [XPG3 || XPG4] (timer_t): Likewise.
3649         [XPG3 || XPG4] (clock_getres): Likewise.
3650         [XPG3 || XPG4] (clock_gettime): Likewise.
3651         [XPG3 || XPG4] (clock_settime): Likewise.
3652         [XPG3 || XPG4] (nanosleep): Likewise.
3653         [XPG3 || XPG4] (timer_create): Likewise.
3654         [XPG3 || XPG4] (timer_delete): Likewise.
3655         [XPG3 || XPG4] (timer_gettime): Likewise.
3656         [XPG3 || XPG4] (timer_getoverrun): Likewise.
3657         [XPG3 || XPG4] (timer_settime): Likewise.
3658         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3659         [XPG3 || XPG4] (getlogin_r): Likewise.
3660         [XPG3 || XPG4] (pread): Likewise.
3661         [XPG3 || XPG4] (pthread_atfork): Likewise.
3662         [XPG3 || XPG4] (pwrite): Likewise.
3664         [BZ #14835]
3665         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3666         <bits/siginfo.h>.
3668 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3670         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3671         finalizing MALLSTREAM.
3673         * sysdeps/mach/hurd/syncfs.c: New file.
3675 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3677         [BZ #14719]
3678         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3679         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3680         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3681         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3682         (_nss_dns_gethostbyname4_r): Likewise.
3683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3684         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3686 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
3688         [BZ #13763]
3689         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3691 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
3693         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3694         * elf/cache.c (print_entry): Print ",AArch64" for
3695         FLAG_AARCH64_LIB64
3697         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3698         * elf/cache.c (print_entry): Print ",hard-float" for
3699         FLAG_ARM_LIBHF.
3701 2012-11-18  David S. Miller  <davem@davemloft.net>
3703         With help from Joseph Myers.
3704         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3705         cutoff to 2**-13.
3706         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3707         cutoff to 2**-25.
3708         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3709         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3710         small.
3711         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3712         * math/libm-test.inc (y0_test): New tests.
3713         (y1_test): New tests.
3714         * sysdeps/i386/fpu/libm-test-ulps: Update.
3715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3718 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
3720         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3721         64-bit targets.
3722         * configure: Regenerated.
3724 2012-11-17  David S. Miller  <davem@davemloft.net>
3726         [BZ #14811]
3727         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3728         nonzero exponents with absolute value below 0x1p-128 to +/-
3729         0x1p-128.
3731 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
3733         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3735         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3737         * posix/getconf-speclist.c: New file.
3738         * posix/posix-envs.def: Likewise.
3739         * posix/confstr.c (START_ENV_GROUP): New macro.
3740         (END_ENV_GROUP): Likewise.
3741         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3742         (KNOWN_PRESENT_ENV_STRING): Likewise.
3743         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3744         (UNKNOWN_ENVIRONMENT): Likewise.
3745         (confstr): Include posix-envs.def instead of handling
3746         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3747         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3748         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3749         (END_ENV_GROUP): Likewise.
3750         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3751         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3752         (UNKNOWN_ENVIRONMENT): Likewise.
3753         (__sysconf): Include posix-envs.def instead of handling associated
3754         cases directly here.
3755         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3756         preprocessing getconf-speclist.c rather than running getconf or
3757         generating empty file.
3759 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
3761         * scripts/check-local-headers.sh: Ignore 'mach' headers.
3763 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
3765         [BZ #14672]
3766         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3768 2012-11-16  David S. Miller  <davem@davemloft.net>
3770         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3771         smaller than LDBL_EPSILON/2.0L, just return xm1.
3773 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
3775         * elf/tst-array1.c (init): Set constructor priority to 1000.
3776         (fini): Set destructor priority to 1000.
3777         * elf/tst-array2dep.c: Likewise.
3779 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3781         [BZ #11741]
3782         * libio/fileops.c (_IO_new_file_write): Correctly return error.
3783         (_IO_new_file_xsputn): Also return EOF if none of the input
3784         data was written when overflow failed.
3785         * libio/iopadn.c (_IO_padn): Likewise.
3786         * libio/iowpadn.c (_IO_wpadn): Likewise.
3787         * stdio-common/tst-put-error.c: Add copyright notice.
3788         (do_test): Add case for printing padded string.
3789         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3790         _IO_padn returned error.
3791         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3792         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3793         return EOF.
3795 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3797         * libio/libioP.h: Add comment note that the references to C++
3798         bits are now obsolete.
3800 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3802         * math/libm-test.inc (check_complex): Use asprintf.
3804 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
3806         * debug/pcprofiledump.c (print_version): Update copyright year.
3807         * malloc/memusagestat.c (print_version): Likewise.
3809 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3811         [BZ #14831]
3812         * elf/Makefile (tests): Add tst-audit8.
3813         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3814         ($(objpfx)tst-audit8.out): New target.
3815         (tst-audit8-ENV): New variable.
3816         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3817         audit if l_reloc_result is NULL.
3818         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3819         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3820         * elf/tst-audit8.c: New file.
3822 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3824         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3825         * misc/Makefile (CFLAGS-select.c): Define.
3826         * posix/Makefile (CFLAGS-pause.c): Define.
3828 2012-11-13  David S. Miller  <davem@davemloft.net>
3830         * crypt/Makefile: Move test targets after toplevel Rules
3831         inclusion.  Grab any necessary sysdep routines when linking.
3832         * crypt/md5.c (md5_process_block): Remove define, we will always
3833         name it __md5_process_block.
3834         (md5_finish_ctx): Update md5_process_block call.
3835         (md5_stream): Likewise.
3836         (md5_process_bytes): Likewise.
3837         (md5_process_block): Rename to __md5_process_block and move to ...
3838         * crypt/md5-block.c: ... here.
3839         * crypt/sha256.c (sha256_process_block): Move to ...
3840         * crypt/sha256-block.c: ... here.
3841         * crypt/sha512.c (sha512_process_block): Move to ...
3842         * crypt/sha512-block.c: ... here.
3843         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3844         path.
3845         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3846         * sysdeps/sparc/sparc64/multiarch/Makefile
3847         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3848         crypt subdir.
3849         (localedef-aux): Add md5 crypto assembler when in locale subdir.
3850         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3851         multiarch changes.
3852         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3853         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3854         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3855         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3856         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3857         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3858         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3859         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3861         file.
3862         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3863         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3864         file.
3865         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3867 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
3869         * timezone/tzselect.ksh: Update from tzcode git revision
3870         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3871         * timezone/zdump.c: Likewise.
3872         * timezone/zic.c: Likewise.
3873         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3874         in TZVERSION setting, not $(PKGVERSION).
3875         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
3876         REPORT_BUGS_TO settings.
3878         [BZ #14838]
3879         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3880         macro.
3882 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3884         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3885         detection to immediately after _FP_ROUND().
3886         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3887         bits are 0.
3889 2012-11-11  David S. Miller  <davem@davemloft.net>
3891         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3892         inttypes.h
3893         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3894         __close rather than their public counterparts.
3896 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
3898         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3899         file.
3900         [UNIX98] (sem_timedwait): Do not expect.
3901         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3902         [XPG4 || UNIX98] (sockatmark): Do not expect.
3903         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3904         (clock_getcpuclockid): Do not expect.
3905         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3906         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3907         Do not expect.
3908         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3909         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3910         [UNIX98] (vwscanf): Likewise.
3911         [UNIX98] (vswscanf): Likewise.
3913 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
3915         * timezone/version.h: Remove file.
3916         * timezone/README: Do not refer to version.h.
3917         * timezone/Makefile ($(objpfx)zic.o): New dependency on
3918         $(objpfx)version.h.
3919         ($(objpfx)zdump.o): Likewise.
3920         ($(objpfx)version.h): New target.
3922         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3923         2012i.
3924         * timezone/README: Don't mention modification to tzselect.ksh.
3925         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3926         work on unmodified tzselect.ksh.  Substitute version numbers in
3927         tzselect.ksh.
3929         * Makefile (format-me): Remove.
3930         (INSTALL): Adjust indentation.  Use commands directly instead of
3931         using $(format-me).
3933         * aclocal.m4 (ACX_PKGVERSION): New macro.
3934         (ACX_BUGURL): Likewise.
3935         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3936         (PKGVERSION): New AC_DEFINE_UNQUOTED.
3937         (REPORT_BUGS_TO): Likewise.
3938         * configure: Regenerated.
3939         * config.h.in (PKGVERSION): New macro.
3940         (REPORT_BUGS_TO): Likewise.
3941         * config.make.in (PKGVERSION): New variable.
3942         (PKGVERSION_TEXI): Likewise.
3943         (REPORT_BUGS_TO): Likewise.
3944         (REPORT_BUGS_TEXI): Likewise.
3945         * Makefile (format-me): Use -I$(common-objpfx)manual.
3946         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3947         ($(common-objpfx)manual/%): New target.
3948         (manual/%): Remove target.
3949         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3950         (print_version): Use PKGVERSION.
3951         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3952         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3953         and REPORT_BUGS_TO.
3954         ($(objpfx)xtrace): Likewise.
3955         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3956         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3957         (print_version): Use PKGVERSION.
3958         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3959         (do_version): Use PKGVERSION.
3960         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3961         REPORT_BUGS_TO.
3962         (common-ldd-rewrite): Likewise.
3963         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3964         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3965         (print_version): Use PKGVERSION.
3966         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3967         * elf/pldd.c (argp_program_bug_address): Remove variable.
3968         (more_help): New function.
3969         (argp): Use more_help.
3970         (print_version): Use PKGVERSION.
3971         * elf/sln.c (main): Use PKGVERSION.
3972         (usage): Use REPORT_BUGS_TO.
3973         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3974         (top level): Use PKGVERSION.
3975         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3976         (print_version): Use PKGVERSION.
3977         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3978         (print_version): Use PKGVERSION.
3979         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3980         (print_version): Use PKGVERSION.
3981         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3982         (print_version): Use PKGVERSION.
3983         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3984         (print_version): Use PKGVERSION.
3985         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3986         (print_version): Use PKGVERSION.
3987         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3988         and BUGURL.
3989         ($(objpfx)memusage): Likewise.
3990         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3991         (do_version): Use PKGVERSION.
3992         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3993         (print_version): Use PKGVERSION.
3994         * malloc/mtrace.pl ($PACKAGE): Remove variable.
3995         ($PKGVERSION): New variable.
3996         ($REPORT_BUGS_TO): Likewise.
3997         (usage): Use $REPORT_BUGS_TO.
3998         (top level): Use $PKGVERSION.
3999         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4000         ($(objpfx)pkgvers.texi): New rule.
4001         ($(objpfx)stamp-pkgvers): Likewise.
4002         * manual/install.texi: Include pkgvers.texi.
4003         (--with-pkgversion): Document new configure option.
4004         (--with-bugurl): Likewise.
4005         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4006         than necessarily for this particular distribution.  Use
4007         REPORT_BUGS_TO for where to report bugs.
4008         * INSTALL: Regenerated.
4009         * manual/libc.texinfo: Include pkgvers.texi.
4010         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4011         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4012         (print_version): Use PKGVERSION.
4013         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4014         (print_version): Use PKGVERSION.
4015         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4016         (print_version): Use PKGVERSION.
4017         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4018         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4019         macro.
4020         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4021         (print_version): Use PKGVERSION.
4022         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4023         (print_version): Use PKGVERSION.
4024         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4025         and PKGVERSION.
4027         * timezone/checktab.awk: Update from tzcode 2012i.
4028         * timezone/ialloc.c: Likewise.
4029         * timezone/private.h: Likewise.
4030         * timezone/scheck.c: Likewise.
4031         * timezone/tzfile.h: Likewise.
4032         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4033         (TZVERSION): Hardcode tzcode version number.
4034         * timezone/zdump.c: Update from tzcode 2012i.
4035         * timezone/zic.c: Likewise.
4036         * timezone/version.h: New file.
4037         * timezone/README: Describe version.h.  Update upstream location.
4039         [BZ #14824]
4040         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4041         (mktemp): Enable declaration.
4042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4044         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4046         Likewise.
4047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4048         Likewise.
4049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4050         Likewise.
4051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4052         Likewise.
4053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4054         Likewise.
4055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4056         Likewise.
4058         [BZ #14821]
4059         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4060         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4061         for copies of such integer values.
4062         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4063         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4065 2012-11-09  Andreas Jaeger  <aj@suse.de>
4067         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4068         definitions and declarations that are provided by
4069         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4071 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4073         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4074         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4075         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4076         definition.
4078 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4080         * elf/elf.h: Update comment before AArch64 relocations.
4082 2012-11-07  David S. Miller  <davem@davemloft.net>
4084         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4085         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4086         (__start_context): Declare.
4087         (__makecontext_ret): Delete.
4088         (__makecontext): Hook up __start_context instead of
4089         __makecontext_ret.
4090         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4091         (sysdep_routines): Add __start_context when in stdlib.
4093 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4095         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4096         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4097         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4098         hardcoded "nm".
4099         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4100         (READELF): New variable.  Use it instead of hardcoded "readelf".
4102 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4104         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4105         * sysdeps/x86/Makefile: Here.
4106         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4107         * sysdeps/x86/tst-xmmymm.sh: This.
4109 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4111         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4112         expectations.
4113         [UNIX98] (pthread_barrier_t): Do not expect.
4114         [UNIX98] (pthread_barrierattr_t): Likewise.
4115         [UNIX98] (pthread_spinlock_t): Likewise.
4116         [UNIX98] (pthread_barrier_destroy): Likewise.
4117         [UNIX98] (pthread_barrier_init): Likewise.
4118         [UNIX98] (pthread_barrier_wait): Likewise.
4119         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4120         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4121         [UNIX98] (pthread_barrierattr_init): Likewise.
4122         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4123         [UNIX98] (pthread_getcpuclockid): Likewise.
4124         [UNIX98] (pthread_mutex_timedlock): Likewise.
4125         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4126         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4127         [UNIX98] (pthread_sigmask): Likewise.
4128         [UNIX98] (pthread_spin_destroy): Likewise.
4129         [UNIX98] (pthread_spin_init): Likewise.
4130         [UNIX98] (pthread_spin_lock): Likewise.
4131         [UNIX98] (pthread_spin_trylock): Likewise.
4132         [UNIX98] (pthread_spin_unlock): Likewise.
4133         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4134         Do not expect.
4135         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4136         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4137         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4138         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4139         [XPG3 || XPG4] (pthread_key_t): Likewise.
4140         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4141         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4142         [XPG3 || XPG4] (pthread_once_t): Likewise.
4143         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4144         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4145         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4146         [XPG3 || XPG4] (pthread_t): Likewise.
4148         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4149         not expect.
4150         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4152         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4153         Change function return type to int.
4155         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4156         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4157         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4158         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4159         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4160         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4161         [!POSIX] (posix_madvise): Likewise.
4162         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4163         && !UNIX98].
4164         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4165         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4166         (mode_t): Likewise.
4167         (posix_mem_offset): Likewise.
4168         (posix_typed_mem_get_info): Likewise.
4169         (posix_typed_mem_open): Likewise.
4171         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4172         Change condition to [XOPEN2K8].
4174         * conform/conformtest.pl: Preprocess allow-header data with -x c
4175         instead of from stdin.
4176         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4177         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4178         [C99-based standards] (cerfc): Likewise.
4179         [C99-based standards] (cexp2): Likewise.
4180         [C99-based standards] (cexpm1): Likewise.
4181         [C99-based standards] (clog10): Likewise.
4182         [C99-based standards] (clog1p): Likewise.
4183         [C99-based standards] (clog2): Likewise.
4184         [C99-based standards] (clgamma): Likewise.
4185         [C99-based standards] (ctgamma): Likewise.
4186         [C99-based standards] (cerff): Likewise.
4187         [C99-based standards] (cerfcf): Likewise.
4188         [C99-based standards] (cexp2f): Likewise.
4189         [C99-based standards] (cexpm1f): Likewise.
4190         [C99-based standards] (clog10f): Likewise.
4191         [C99-based standards] (clog1pf): Likewise.
4192         [C99-based standards] (clog2f): Likewise.
4193         [C99-based standards] (clgammaf): Likewise.
4194         [C99-based standards] (ctgammaf): Likewise.
4195         [C99-based standards] (cerfl): Likewise.
4196         [C99-based standards] (cerfcl): Likewise.
4197         [C99-based standards] (cexp2l): Likewise.
4198         [C99-based standards] (cexpm1l): Likewise.
4199         [C99-based standards] (clog10l): Likewise.
4200         [C99-based standards] (clog1pl): Likewise.
4201         [C99-based standards] (clog2l): Likewise.
4202         [C99-based standards] (clgammal): Likewise.
4203         [C99-based standards] (ctgammal): Likewise.
4204         * conform/data/inttypes.h-data [C99-based standards]: Include
4205         stdint.h-data.  Remove all expectations for stdint.h contents.
4206         [C99-based standards] (PRI*): Do not allow.
4207         [C99-based standards] (SCN*): Likewise.
4208         [C99-based standards] (*_t): Likewise.
4209         [C99-based-standards] (PRId8): Expect macro.
4210         [C99-based-standards] (PRIi8): Likewise.
4211         [C99-based-standards] (PRIo8): Likewise.
4212         [C99-based-standards] (PRIu8): Likewise.
4213         [C99-based-standards] (PRIx8): Likewise.
4214         [C99-based-standards] (PRIX8): Likewise.
4215         [C99-based-standards] (SCNd8): Likewise.
4216         [C99-based-standards] (SCNi8): Likewise.
4217         [C99-based-standards] (SCNo8): Likewise.
4218         [C99-based-standards] (SCNu8): Likewise.
4219         [C99-based-standards] (SCNx8): Likewise.
4220         [C99-based-standards] (PRIdLEAST8): Likewise.
4221         [C99-based-standards] (PRIiLEAST8): Likewise.
4222         [C99-based-standards] (PRIoLEAST8): Likewise.
4223         [C99-based-standards] (PRIuLEAST8): Likewise.
4224         [C99-based-standards] (PRIxLEAST8): Likewise.
4225         [C99-based-standards] (PRIXLEAST8): Likewise.
4226         [C99-based-standards] (SCNdLEAST8): Likewise.
4227         [C99-based-standards] (SCNiLEAST8): Likewise.
4228         [C99-based-standards] (SCNoLEAST8): Likewise.
4229         [C99-based-standards] (SCNuLEAST8): Likewise.
4230         [C99-based-standards] (SCNxLEAST8): Likewise.
4231         [C99-based-standards] (PRIdFAST8): Likewise.
4232         [C99-based-standards] (PRIiFAST8): Likewise.
4233         [C99-based-standards] (PRIoFAST8): Likewise.
4234         [C99-based-standards] (PRIuFAST8): Likewise.
4235         [C99-based-standards] (PRIxFAST8): Likewise.
4236         [C99-based-standards] (PRIXFAST8): Likewise.
4237         [C99-based-standards] (SCNdFAST8): Likewise.
4238         [C99-based-standards] (SCNiFAST8): Likewise.
4239         [C99-based-standards] (SCNoFAST8): Likewise.
4240         [C99-based-standards] (SCNuFAST8): Likewise.
4241         [C99-based-standards] (SCNxFAST8): Likewise.
4242         [C99-based-standards] (PRId16): Likewise.
4243         [C99-based-standards] (PRIi16): Likewise.
4244         [C99-based-standards] (PRIo16): Likewise.
4245         [C99-based-standards] (PRIu16): Likewise.
4246         [C99-based-standards] (PRIx16): Likewise.
4247         [C99-based-standards] (PRIX16): Likewise.
4248         [C99-based-standards] (SCNd16): Likewise.
4249         [C99-based-standards] (SCNi16): Likewise.
4250         [C99-based-standards] (SCNo16): Likewise.
4251         [C99-based-standards] (SCNu16): Likewise.
4252         [C99-based-standards] (SCNx16): Likewise.
4253         [C99-based-standards] (PRIdLEAST16): Likewise.
4254         [C99-based-standards] (PRIiLEAST16): Likewise.
4255         [C99-based-standards] (PRIoLEAST16): Likewise.
4256         [C99-based-standards] (PRIuLEAST16): Likewise.
4257         [C99-based-standards] (PRIxLEAST16): Likewise.
4258         [C99-based-standards] (PRIXLEAST16): Likewise.
4259         [C99-based-standards] (SCNdLEAST16): Likewise.
4260         [C99-based-standards] (SCNiLEAST16): Likewise.
4261         [C99-based-standards] (SCNoLEAST16): Likewise.
4262         [C99-based-standards] (SCNuLEAST16): Likewise.
4263         [C99-based-standards] (SCNxLEAST16): Likewise.
4264         [C99-based-standards] (PRIdFAST16): Likewise.
4265         [C99-based-standards] (PRIiFAST16): Likewise.
4266         [C99-based-standards] (PRIoFAST16): Likewise.
4267         [C99-based-standards] (PRIuFAST16): Likewise.
4268         [C99-based-standards] (PRIxFAST16): Likewise.
4269         [C99-based-standards] (PRIXFAST16): Likewise.
4270         [C99-based-standards] (SCNdFAST16): Likewise.
4271         [C99-based-standards] (SCNiFAST16): Likewise.
4272         [C99-based-standards] (SCNoFAST16): Likewise.
4273         [C99-based-standards] (SCNuFAST16): Likewise.
4274         [C99-based-standards] (SCNxFAST16): Likewise.
4275         [C99-based-standards] (PRId32): Likewise.
4276         [C99-based-standards] (PRIi32): Likewise.
4277         [C99-based-standards] (PRIo32): Likewise.
4278         [C99-based-standards] (PRIu32): Likewise.
4279         [C99-based-standards] (PRIx32): Likewise.
4280         [C99-based-standards] (PRIX32): Likewise.
4281         [C99-based-standards] (SCNd32): Likewise.
4282         [C99-based-standards] (SCNi32): Likewise.
4283         [C99-based-standards] (SCNo32): Likewise.
4284         [C99-based-standards] (SCNu32): Likewise.
4285         [C99-based-standards] (SCNx32): Likewise.
4286         [C99-based-standards] (PRIdLEAST32): Likewise.
4287         [C99-based-standards] (PRIiLEAST32): Likewise.
4288         [C99-based-standards] (PRIoLEAST32): Likewise.
4289         [C99-based-standards] (PRIuLEAST32): Likewise.
4290         [C99-based-standards] (PRIxLEAST32): Likewise.
4291         [C99-based-standards] (PRIXLEAST32): Likewise.
4292         [C99-based-standards] (SCNdLEAST32): Likewise.
4293         [C99-based-standards] (SCNiLEAST32): Likewise.
4294         [C99-based-standards] (SCNoLEAST32): Likewise.
4295         [C99-based-standards] (SCNuLEAST32): Likewise.
4296         [C99-based-standards] (SCNxLEAST32): Likewise.
4297         [C99-based-standards] (PRIdFAST32): Likewise.
4298         [C99-based-standards] (PRIiFAST32): Likewise.
4299         [C99-based-standards] (PRIoFAST32): Likewise.
4300         [C99-based-standards] (PRIuFAST32): Likewise.
4301         [C99-based-standards] (PRIxFAST32): Likewise.
4302         [C99-based-standards] (PRIXFAST32): Likewise.
4303         [C99-based-standards] (SCNdFAST32): Likewise.
4304         [C99-based-standards] (SCNiFAST32): Likewise.
4305         [C99-based-standards] (SCNoFAST32): Likewise.
4306         [C99-based-standards] (SCNuFAST32): Likewise.
4307         [C99-based-standards] (SCNxFAST32): Likewise.
4308         [C99-based-standards] (PRId64): Likewise.
4309         [C99-based-standards] (PRIi64): Likewise.
4310         [C99-based-standards] (PRIo64): Likewise.
4311         [C99-based-standards] (PRIu64): Likewise.
4312         [C99-based-standards] (PRIx64): Likewise.
4313         [C99-based-standards] (PRIX64): Likewise.
4314         [C99-based-standards] (SCNd64): Likewise.
4315         [C99-based-standards] (SCNi64): Likewise.
4316         [C99-based-standards] (SCNo64): Likewise.
4317         [C99-based-standards] (SCNu64): Likewise.
4318         [C99-based-standards] (SCNx64): Likewise.
4319         [C99-based-standards] (PRIdLEAST64): Likewise.
4320         [C99-based-standards] (PRIiLEAST64): Likewise.
4321         [C99-based-standards] (PRIoLEAST64): Likewise.
4322         [C99-based-standards] (PRIuLEAST64): Likewise.
4323         [C99-based-standards] (PRIxLEAST64): Likewise.
4324         [C99-based-standards] (PRIXLEAST64): Likewise.
4325         [C99-based-standards] (SCNdLEAST64): Likewise.
4326         [C99-based-standards] (SCNiLEAST64): Likewise.
4327         [C99-based-standards] (SCNoLEAST64): Likewise.
4328         [C99-based-standards] (SCNuLEAST64): Likewise.
4329         [C99-based-standards] (SCNxLEAST64): Likewise.
4330         [C99-based-standards] (PRIdFAST64): Likewise.
4331         [C99-based-standards] (PRIiFAST64): Likewise.
4332         [C99-based-standards] (PRIoFAST64): Likewise.
4333         [C99-based-standards] (PRIuFAST64): Likewise.
4334         [C99-based-standards] (PRIxFAST64): Likewise.
4335         [C99-based-standards] (PRIXFAST64): Likewise.
4336         [C99-based-standards] (SCNdFAST64): Likewise.
4337         [C99-based-standards] (SCNiFAST64): Likewise.
4338         [C99-based-standards] (SCNoFAST64): Likewise.
4339         [C99-based-standards] (SCNuFAST64): Likewise.
4340         [C99-based-standards] (SCNxFAST64): Likewise.
4341         [C99-based-standards] (PRIdMAX): Likewise.
4342         [C99-based-standards] (PRIiMAX): Likewise.
4343         [C99-based-standards] (PRIoMAX): Likewise.
4344         [C99-based-standards] (PRIuMAX): Likewise.
4345         [C99-based-standards] (PRIxMAX): Likewise.
4346         [C99-based-standards] (PRIXMAX): Likewise.
4347         [C99-based-standards] (SCNdMAX): Likewise.
4348         [C99-based-standards] (SCNiMAX): Likewise.
4349         [C99-based-standards] (SCNoMAX): Likewise.
4350         [C99-based-standards] (SCNuMAX): Likewise.
4351         [C99-based-standards] (SCNxMAX): Likewise.
4352         [C99-based-standards] (PRIdPTR): Likewise.
4353         [C99-based-standards] (PRIiPTR): Likewise.
4354         [C99-based-standards] (PRIoPTR): Likewise.
4355         [C99-based-standards] (PRIuPTR): Likewise.
4356         [C99-based-standards] (PRIxPTR): Likewise.
4357         [C99-based-standards] (PRIXPTR): Likewise.
4358         [C99-based-standards] (SCNdPTR): Likewise.
4359         [C99-based-standards] (SCNiPTR): Likewise.
4360         [C99-based-standards] (SCNoPTR): Likewise.
4361         [C99-based-standards] (SCNuPTR): Likewise.
4362         [C99-based-standards] (SCNxPTR): Likewise.
4363         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4364         allow.
4365         * conform/data/stdint.h-data: Update comments to clarify
4366         requirements.
4367         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
4368         type.
4369         [C99-based standards] (INT8_MAX): Likewise.
4370         [C99-based standards] (INT16_MIN): Likewise.
4371         [C99-based standards] (INT16_MAX): Likewise.
4372         [C99-based standards] (INT32_MIN): Likewise.
4373         [C99-based standards] (INT32_MAX): Likewise.
4374         [C99-based standards] (INT64_MIN): Likewise.
4375         [C99-based standards] (INT64_MAX): Likewise.
4376         [C99-based standards] (UINT8_MAX): Likewise.
4377         [C99-based standards] (UINT16_MAX): Likewise.
4378         [C99-based standards] (UINT32_MAX): Likewise.
4379         [C99-based standards] (UINT64_MAX): Likewise.
4380         [C99-based standards] (INT_LEAST8_MIN): Likewise.
4381         [C99-based standards] (INT_LEAST8_MAX): Likewise.
4382         [C99-based standards] (INT_LEAST16_MIN): Likewise.
4383         [C99-based standards] (INT_LEAST16_MAX): Likewise.
4384         [C99-based standards] (INT_LEAST32_MIN): Likewise.
4385         [C99-based standards] (INT_LEAST32_MAX): Likewise.
4386         [C99-based standards] (INT_LEAST64_MIN): Likewise.
4387         [C99-based standards] (INT_LEAST64_MAX): Likewise.
4388         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4389         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4390         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4391         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4392         [C99-based standards] (INT_FAST8_MIN): Likewise.
4393         [C99-based standards] (INT_FAST8_MAX): Likewise.
4394         [C99-based standards] (INT_FAST16_MIN): Likewise.
4395         [C99-based standards] (INT_FAST16_MAX): Likewise.
4396         [C99-based standards] (INT_FAST32_MIN): Likewise.
4397         [C99-based standards] (INT_FAST32_MAX): Likewise.
4398         [C99-based standards] (INT_FAST64_MIN): Likewise.
4399         [C99-based standards] (INT_FAST64_MAX): Likewise.
4400         [C99-based standards] (UINT_FAST8_MAX): Likewise.
4401         [C99-based standards] (UINT_FAST16_MAX): Likewise.
4402         [C99-based standards] (UINT_FAST32_MAX): Likewise.
4403         [C99-based standards] (UINT_FAST64_MAX): Likewise.
4404         [C99-based standards] (INTPTR_MIN): Likewise.
4405         [C99-based standards] (INTPTR_MAX): Likewise.
4406         [C99-based standards] (UINTPTR_MAX): Likewise.
4407         [C99-based standards] (INTMAX_MIN): Likewise.
4408         [C99-based standards] (INTMAX_MAX): Likewise.
4409         [C99-based standards] (UINTMAX_MAX): Likewise.
4410         [C99-based standards] (PTRDIFF_MIN): Likewise.
4411         [C99-based standards] (PTRDIFF_MAX): Likewise.
4412         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4413         [C99-based standards] (SIZE_MAX): Likewise.
4414         [C99-based standards] (WCHAR_MAX): Likewise.
4415         [C99-based standards] (WINT_MAX): Likewise.
4416         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
4417         constraint on value.
4418         [C99-based standards] (WCHAR_MIN): Likewise.
4419         [C99-based standards] (WINT_MIN): Likewise.
4420         [C99-based standards] (*_t): Allow.
4421         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4422         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4423         Include math.h-data and complex.h-data.  Remove all expectations
4424         of math.h and complex.h contents.
4425         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4426         at end of line.
4427         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4428         (struct tm): Expect tag.
4429         [C99-based-standards] (wcstof): Expect function.
4430         [C99-based-standards] (wcstold): Likewise.
4431         [C99-based-standards] (wcstoll): Likewise.
4432         [C99-based-standards] (wcstoull): Likewise.
4433         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4434         macro-int-constant.  Specify type.
4435         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
4436         constraint on value.
4437         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4438         Specify type.
4439         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4440         Specify value.
4441         [ISO C standards]: Do not allow headers.
4442         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4443         wcs[abcdefghijklmnopqrstuvwxyz]*.
4444         [ISO C standards] (*_t): Do not allow.
4445         * conform/data/wctype.h-data [C99-based standards] (iswblank):
4446         Expect function.
4447         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4448         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4449         Specify type.
4450         [ISO C standards]: Do not allow headers.
4451         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4452         is[abcdefghijklmnopqrstuvwxyz]*.
4453         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4454         to[abcdefghijklmnopqrstuvwxyz]*.
4455         [ISO C standards] (*_t): Do not allow.
4456         * conform/data/stdalign.h-data: New file.
4457         * conform/data/stdbool.h-data: Likewise.
4458         * conform/data/stdnoreturn.h-data: Likewise.
4460 2012-11-07  Roland McGrath  <roland@hack.frob.com>
4462         [BZ #14815]
4463         * manual/filesys.texi (Directory Entries): Typo fix.
4464         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4466 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4468         * elf/elf.h (EM_AARCH64): New macro.
4469         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4470         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4471         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4472         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4473         (R_AARCH64_TLSDESC): Likewise.
4474         (NT_ARM_TLS): Likewise.
4475         (NT_ARM_HW_BREAK): Likewise.
4476         (NT_ARM_HW_WATCH): Likewise.
4478 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4480         [BZ #14811]
4481         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4482         (__ieee754_powl): Saturate nonzero exponents with absolute value
4483         below 0x1p-79 to +/- 0x1p-79.
4484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4485         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4486         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4487         nonzero exponents with absolute value below 0x1p-32 to +/-
4488         0x1p-32.
4489         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4490         (__ieee754_powl): Saturate nonzero exponents with absolute value
4491         below 0x1p-79 to +/- 0x1p-79.
4492         * math/libm-test.inc (pow_test): Add more tests.
4494 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4496         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4497         _dl_s390_cap_flags with kernel. Increase string length.
4498         (_dl_s390_platforms): Add z196 and zEC12.
4500 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4502         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4503         Change XOPEN21K to XOPEN2K.
4505 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
4507         * string/memmove.c: Use memcpy when possible.
4509 2012-11-06  Andreas Jaeger  <aj@suse.de>
4511         * po/eo.po: Update from translation team.
4513 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #14793]
4516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4517         exponent and small x and y exponents, scale x or y up.  Increase
4518         by 2 the exponent used in scaling up.
4519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4521         * math/libm-test.inc (fma_test): Add more tests.
4522         (fma_test_towardzero): Likewise.
4523         (fma_test_downward): Likewise.
4524         (fma_test_upward): Likewise.
4526 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
4528         [BZ #14805]
4529         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4530         fenv_t *.
4532         [BZ #14801]
4533         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4534         namespace for names of struct fields.
4535         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4536         fenv_t fields.
4537         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4538         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4540 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4542         [BZ #3665]
4543         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4545 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4547         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4548         PTR_DEMANGLE.
4550         [BZ #5246]
4551         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4552         PTR_DEMANGLE.
4554 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
4556         [BZ #14797]
4557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4558         definitely overflow as x * y not x * y + z.
4559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4561         * math/libm-test.inc (fma_test): Add more tests.
4562         (fma_test_towardzero): Likewise.
4563         (fma_test_downward): Likewise.
4564         (fma_test_upward): Likewise.
4566 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4568         [BZ #157]
4570         * include/stub-tag.h: Remove file.
4571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4572         '#include' of it.
4573         * manual/maint.texi (Porting): Don't reference it.
4574         * Makerules ($(objpfx)stubs): Likewise.
4575         * dirent/closedir.c: Don't include <stub-tag.h>.
4576         * dirent/dirfd.c: Likewise.
4577         * dirent/fdopendir.c: Likewise.
4578         * dirent/getdents.c: Likewise.
4579         * dirent/getdents64.c: Likewise.
4580         * dirent/opendir.c: Likewise.
4581         * dirent/readdir.c: Likewise.
4582         * dirent/readdir64.c: Likewise.
4583         * dirent/readdir64_r.c: Likewise.
4584         * dirent/readdir_r.c: Likewise.
4585         * dirent/rewinddir.c: Likewise.
4586         * dirent/seekdir.c: Likewise.
4587         * dirent/telldir.c: Likewise.
4588         * gmon/profil.c: Likewise.
4589         * grp/setgroups.c: Likewise.
4590         * inet/if_index.c: Likewise.
4591         * io/access.c: Likewise.
4592         * io/chdir.c: Likewise.
4593         * io/chmod.c: Likewise.
4594         * io/chown.c: Likewise.
4595         * io/close.c: Likewise.
4596         * io/dup.c: Likewise.
4597         * io/dup2.c: Likewise.
4598         * io/dup3.c: Likewise.
4599         * io/euidaccess.c: Likewise.
4600         * io/faccessat.c: Likewise.
4601         * io/fchdir.c: Likewise.
4602         * io/fchmod.c: Likewise.
4603         * io/fchmodat.c: Likewise.
4604         * io/fchown.c: Likewise.
4605         * io/fchownat.c: Likewise.
4606         * io/fcntl.c: Likewise.
4607         * io/flock.c: Likewise.
4608         * io/fstatfs.c: Likewise.
4609         * io/fstatfs64.c: Likewise.
4610         * io/fstatvfs.c: Likewise.
4611         * io/fstatvfs64.c: Likewise.
4612         * io/futimens.c: Likewise.
4613         * io/fxstat.c: Likewise.
4614         * io/fxstat64.c: Likewise.
4615         * io/fxstatat.c: Likewise.
4616         * io/fxstatat64.c: Likewise.
4617         * io/getcwd.c: Likewise.
4618         * io/isatty.c: Likewise.
4619         * io/lchmod.c: Likewise.
4620         * io/lchown.c: Likewise.
4621         * io/link.c: Likewise.
4622         * io/linkat.c: Likewise.
4623         * io/lseek.c: Likewise.
4624         * io/lseek64.c: Likewise.
4625         * io/lxstat64.c: Likewise.
4626         * io/mkdir.c: Likewise.
4627         * io/mkdirat.c: Likewise.
4628         * io/mkfifo.c: Likewise.
4629         * io/mkfifoat.c: Likewise.
4630         * io/open.c: Likewise.
4631         * io/open64.c: Likewise.
4632         * io/openat.c: Likewise.
4633         * io/openat64.c: Likewise.
4634         * io/pipe.c: Likewise.
4635         * io/pipe2.c: Likewise.
4636         * io/poll.c: Likewise.
4637         * io/posix_fadvise.c: Likewise.
4638         * io/posix_fadvise64.c: Likewise.
4639         * io/posix_fallocate.c: Likewise.
4640         * io/posix_fallocate64.c: Likewise.
4641         * io/read.c: Likewise.
4642         * io/readlink.c: Likewise.
4643         * io/readlinkat.c: Likewise.
4644         * io/rmdir.c: Likewise.
4645         * io/sendfile.c: Likewise.
4646         * io/sendfile64.c: Likewise.
4647         * io/statfs.c: Likewise.
4648         * io/statfs64.c: Likewise.
4649         * io/statvfs.c: Likewise.
4650         * io/statvfs64.c: Likewise.
4651         * io/symlink.c: Likewise.
4652         * io/symlinkat.c: Likewise.
4653         * io/ttyname.c: Likewise.
4654         * io/ttyname_r.c: Likewise.
4655         * io/umask.c: Likewise.
4656         * io/unlink.c: Likewise.
4657         * io/unlinkat.c: Likewise.
4658         * io/utime.c: Likewise.
4659         * io/utimensat.c: Likewise.
4660         * io/write.c: Likewise.
4661         * io/xmknod.c: Likewise.
4662         * io/xmknodat.c: Likewise.
4663         * io/xstat.c: Likewise.
4664         * io/xstat64.c: Likewise.
4665         * login/getpt.c: Likewise.
4666         * login/grantpt.c: Likewise.
4667         * login/unlockpt.c: Likewise.
4668         * math/e_acoshl.c: Likewise.
4669         * math/e_acosl.c: Likewise.
4670         * math/e_asinl.c: Likewise.
4671         * math/e_atan2l.c: Likewise.
4672         * math/e_atanhl.c: Likewise.
4673         * math/e_coshl.c: Likewise.
4674         * math/e_expl.c: Likewise.
4675         * math/e_fmodl.c: Likewise.
4676         * math/e_gammal_r.c: Likewise.
4677         * math/e_hypotl.c: Likewise.
4678         * math/e_j0l.c: Likewise.
4679         * math/e_j1l.c: Likewise.
4680         * math/e_jnl.c: Likewise.
4681         * math/e_lgammal_r.c: Likewise.
4682         * math/e_log10l.c: Likewise.
4683         * math/e_log2l.c: Likewise.
4684         * math/e_logl.c: Likewise.
4685         * math/e_powl.c: Likewise.
4686         * math/e_rem_pio2l.c: Likewise.
4687         * math/e_sinhl.c: Likewise.
4688         * math/e_sqrtl.c: Likewise.
4689         * math/fclrexcpt.c: Likewise.
4690         * math/fedisblxcpt.c: Likewise.
4691         * math/feenablxcpt.c: Likewise.
4692         * math/fegetenv.c: Likewise.
4693         * math/fegetexcept.c: Likewise.
4694         * math/fegetround.c: Likewise.
4695         * math/feholdexcpt.c: Likewise.
4696         * math/fesetenv.c: Likewise.
4697         * math/fesetround.c: Likewise.
4698         * math/feupdateenv.c: Likewise.
4699         * math/fgetexcptflg.c: Likewise.
4700         * math/fraiseexcpt.c: Likewise.
4701         * math/fsetexcptflg.c: Likewise.
4702         * math/ftestexcept.c: Likewise.
4703         * math/k_cosl.c: Likewise.
4704         * math/k_rem_pio2l.c: Likewise.
4705         * math/k_sinl.c: Likewise.
4706         * math/k_tanl.c: Likewise.
4707         * math/s_asinhl.c: Likewise.
4708         * math/s_atanl.c: Likewise.
4709         * math/s_cbrtl.c: Likewise.
4710         * math/s_erfl.c: Likewise.
4711         * math/s_expm1l.c: Likewise.
4712         * math/s_log1pl.c: Likewise.
4713         * math/s_tanhl.c: Likewise.
4714         * misc/acct.c: Likewise.
4715         * misc/brk.c: Likewise.
4716         * misc/chflags.c: Likewise.
4717         * misc/chroot.c: Likewise.
4718         * misc/fchflags.c: Likewise.
4719         * misc/fgetxattr.c: Likewise.
4720         * misc/flistxattr.c: Likewise.
4721         * misc/fremovexattr.c: Likewise.
4722         * misc/fsetxattr.c: Likewise.
4723         * misc/fsync.c: Likewise.
4724         * misc/ftruncate.c: Likewise.
4725         * misc/futimes.c: Likewise.
4726         * misc/futimesat.c: Likewise.
4727         * misc/getdomain.c: Likewise.
4728         * misc/getdtsz.c: Likewise.
4729         * misc/gethostid.c: Likewise.
4730         * misc/gethostname.c: Likewise.
4731         * misc/getloadavg.c: Likewise.
4732         * misc/getpagesize.c: Likewise.
4733         * misc/getsysstats.c: Likewise.
4734         * misc/getxattr.c: Likewise.
4735         * misc/gtty.c: Likewise.
4736         * misc/ioctl.c: Likewise.
4737         * misc/lgetxattr.c: Likewise.
4738         * misc/listxattr.c: Likewise.
4739         * misc/llistxattr.c: Likewise.
4740         * misc/lremovexattr.c: Likewise.
4741         * misc/lsetxattr.c: Likewise.
4742         * misc/lutimes.c: Likewise.
4743         * misc/madvise.c: Likewise.
4744         * misc/mincore.c: Likewise.
4745         * misc/mlock.c: Likewise.
4746         * misc/mlockall.c: Likewise.
4747         * misc/mmap.c: Likewise.
4748         * misc/mprotect.c: Likewise.
4749         * misc/msync.c: Likewise.
4750         * misc/munlock.c: Likewise.
4751         * misc/munlockall.c: Likewise.
4752         * misc/munmap.c: Likewise.
4753         * misc/preadv.c: Likewise.
4754         * misc/preadv64.c: Likewise.
4755         * misc/ptrace.c: Likewise.
4756         * misc/pwritev.c: Likewise.
4757         * misc/pwritev64.c: Likewise.
4758         * misc/readv.c: Likewise.
4759         * misc/reboot.c: Likewise.
4760         * misc/remap_file_pages.c: Likewise.
4761         * misc/removexattr.c: Likewise.
4762         * misc/revoke.c: Likewise.
4763         * misc/select.c: Likewise.
4764         * misc/setdomain.c: Likewise.
4765         * misc/setegid.c: Likewise.
4766         * misc/seteuid.c: Likewise.
4767         * misc/sethostid.c: Likewise.
4768         * misc/sethostname.c: Likewise.
4769         * misc/setregid.c: Likewise.
4770         * misc/setreuid.c: Likewise.
4771         * misc/setxattr.c: Likewise.
4772         * misc/sstk.c: Likewise.
4773         * misc/stty.c: Likewise.
4774         * misc/swapoff.c: Likewise.
4775         * misc/swapon.c: Likewise.
4776         * misc/sync.c: Likewise.
4777         * misc/syncfs.c: Likewise.
4778         * misc/syscall.c: Likewise.
4779         * misc/truncate.c: Likewise.
4780         * misc/ualarm.c: Likewise.
4781         * misc/usleep.c: Likewise.
4782         * misc/ustat.c: Likewise.
4783         * misc/utimes.c: Likewise.
4784         * misc/vhangup.c: Likewise.
4785         * misc/writev.c: Likewise.
4786         * posix/_exit.c: Likewise.
4787         * posix/alarm.c: Likewise.
4788         * posix/execve.c: Likewise.
4789         * posix/fexecve.c: Likewise.
4790         * posix/fork.c: Likewise.
4791         * posix/fpathconf.c: Likewise.
4792         * posix/getaddrinfo.c: Likewise.
4793         * posix/getegid.c: Likewise.
4794         * posix/geteuid.c: Likewise.
4795         * posix/getgid.c: Likewise.
4796         * posix/getgroups.c: Likewise.
4797         * posix/getlogin.c: Likewise.
4798         * posix/getlogin_r.c: Likewise.
4799         * posix/getpgid.c: Likewise.
4800         * posix/getpid.c: Likewise.
4801         * posix/getppid.c: Likewise.
4802         * posix/getresgid.c: Likewise.
4803         * posix/getresuid.c: Likewise.
4804         * posix/getsid.c: Likewise.
4805         * posix/getuid.c: Likewise.
4806         * posix/glob64.c: Likewise.
4807         * posix/nanosleep.c: Likewise.
4808         * posix/pathconf.c: Likewise.
4809         * posix/pause.c: Likewise.
4810         * posix/posix_madvise.c: Likewise.
4811         * posix/pread.c: Likewise.
4812         * posix/pread64.c: Likewise.
4813         * posix/pwrite.c: Likewise.
4814         * posix/pwrite64.c: Likewise.
4815         * posix/sched_getaffinity.c: Likewise.
4816         * posix/sched_getp.c: Likewise.
4817         * posix/sched_gets.c: Likewise.
4818         * posix/sched_primax.c: Likewise.
4819         * posix/sched_primin.c: Likewise.
4820         * posix/sched_rr_gi.c: Likewise.
4821         * posix/sched_setaffinity.c: Likewise.
4822         * posix/sched_setp.c: Likewise.
4823         * posix/sched_sets.c: Likewise.
4824         * posix/sched_yield.c: Likewise.
4825         * posix/setgid.c: Likewise.
4826         * posix/setlogin.c: Likewise.
4827         * posix/setpgid.c: Likewise.
4828         * posix/setresgid.c: Likewise.
4829         * posix/setresuid.c: Likewise.
4830         * posix/setsid.c: Likewise.
4831         * posix/setuid.c: Likewise.
4832         * posix/sleep.c: Likewise.
4833         * posix/spawni.c: Likewise.
4834         * posix/sysconf.c: Likewise.
4835         * posix/times.c: Likewise.
4836         * posix/wait.c: Likewise.
4837         * posix/wait3.c: Likewise.
4838         * posix/wait4.c: Likewise.
4839         * posix/waitpid.c: Likewise.
4840         * resolv/gai_sigqueue.c: Likewise.
4841         * resource/getpriority.c: Likewise.
4842         * resource/getrlimit.c: Likewise.
4843         * resource/getrusage.c: Likewise.
4844         * resource/nice.c: Likewise.
4845         * resource/setpriority.c: Likewise.
4846         * resource/setrlimit.c: Likewise.
4847         * resource/ulimit.c: Likewise.
4848         * rt/aio_cancel.c: Likewise.
4849         * rt/aio_fsync.c: Likewise.
4850         * rt/aio_read.c: Likewise.
4851         * rt/aio_sigqueue.c: Likewise.
4852         * rt/aio_suspend.c: Likewise.
4853         * rt/aio_write.c: Likewise.
4854         * rt/clock_getres.c: Likewise.
4855         * rt/clock_gettime.c: Likewise.
4856         * rt/clock_nanosleep.c: Likewise.
4857         * rt/clock_settime.c: Likewise.
4858         * rt/lio_listio.c: Likewise.
4859         * rt/mq_close.c: Likewise.
4860         * rt/mq_getattr.c: Likewise.
4861         * rt/mq_notify.c: Likewise.
4862         * rt/mq_open.c: Likewise.
4863         * rt/mq_receive.c: Likewise.
4864         * rt/mq_send.c: Likewise.
4865         * rt/mq_setattr.c: Likewise.
4866         * rt/mq_timedreceive.c: Likewise.
4867         * rt/mq_timedsend.c: Likewise.
4868         * rt/mq_unlink.c: Likewise.
4869         * rt/shm_open.c: Likewise.
4870         * rt/shm_unlink.c: Likewise.
4871         * rt/timer_create.c: Likewise.
4872         * rt/timer_delete.c: Likewise.
4873         * rt/timer_getoverr.c: Likewise.
4874         * rt/timer_gettime.c: Likewise.
4875         * rt/timer_settime.c: Likewise.
4876         * setjmp/__longjmp.c: Likewise.
4877         * setjmp/setjmp.c: Likewise.
4878         * signal/kill.c: Likewise.
4879         * signal/killpg.c: Likewise.
4880         * signal/raise.c: Likewise.
4881         * signal/sigaction.c: Likewise.
4882         * signal/sigaltstack.c: Likewise.
4883         * signal/sigblock.c: Likewise.
4884         * signal/sigignore.c: Likewise.
4885         * signal/sigintr.c: Likewise.
4886         * signal/signal.c: Likewise.
4887         * signal/sigpause.c: Likewise.
4888         * signal/sigpending.c: Likewise.
4889         * signal/sigqueue.c: Likewise.
4890         * signal/sigreturn.c: Likewise.
4891         * signal/sigset.c: Likewise.
4892         * signal/sigsetmask.c: Likewise.
4893         * signal/sigstack.c: Likewise.
4894         * signal/sigsuspend.c: Likewise.
4895         * signal/sigtimedwait.c: Likewise.
4896         * signal/sigvec.c: Likewise.
4897         * signal/sigwait.c: Likewise.
4898         * signal/sigwaitinfo.c: Likewise.
4899         * signal/sysv_signal.c: Likewise.
4900         * socket/accept.c: Likewise.
4901         * socket/accept4.c: Likewise.
4902         * socket/bind.c: Likewise.
4903         * socket/connect.c: Likewise.
4904         * socket/getpeername.c: Likewise.
4905         * socket/getsockname.c: Likewise.
4906         * socket/getsockopt.c: Likewise.
4907         * socket/isfdtype.c: Likewise.
4908         * socket/listen.c: Likewise.
4909         * socket/recv.c: Likewise.
4910         * socket/recvfrom.c: Likewise.
4911         * socket/recvmsg.c: Likewise.
4912         * socket/send.c: Likewise.
4913         * socket/sendmsg.c: Likewise.
4914         * socket/sendto.c: Likewise.
4915         * socket/setsockopt.c: Likewise.
4916         * socket/shutdown.c: Likewise.
4917         * socket/sockatmark.c: Likewise.
4918         * socket/socket.c: Likewise.
4919         * socket/socketpair.c: Likewise.
4920         * stdio-common/ctermid.c: Likewise.
4921         * stdio-common/cuserid.c: Likewise.
4922         * stdio-common/remove.c: Likewise.
4923         * stdio-common/rename.c: Likewise.
4924         * stdio-common/renameat.c: Likewise.
4925         * stdio-common/tempname.c: Likewise.
4926         * stdlib/getcontext.c: Likewise.
4927         * stdlib/makecontext.c: Likewise.
4928         * stdlib/setcontext.c: Likewise.
4929         * stdlib/swapcontext.c: Likewise.
4930         * stdlib/system.c: Likewise.
4931         * streams/fattach.c: Likewise.
4932         * streams/fdetach.c: Likewise.
4933         * streams/getmsg.c: Likewise.
4934         * streams/getpmsg.c: Likewise.
4935         * streams/putmsg.c: Likewise.
4936         * streams/putpmsg.c: Likewise.
4937         * sysdeps/unix/bsd/getpt.c: Likewise.
4938         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4939         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4940         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4942         Likewise.
4943         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4944         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4945         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4946         * sysvipc/msgctl.c: Likewise.
4947         * sysvipc/msgget.c: Likewise.
4948         * sysvipc/msgrcv.c: Likewise.
4949         * sysvipc/msgsnd.c: Likewise.
4950         * sysvipc/semctl.c: Likewise.
4951         * sysvipc/semget.c: Likewise.
4952         * sysvipc/semop.c: Likewise.
4953         * sysvipc/semtimedop.c: Likewise.
4954         * sysvipc/shmat.c: Likewise.
4955         * sysvipc/shmctl.c: Likewise.
4956         * sysvipc/shmdt.c: Likewise.
4957         * sysvipc/shmget.c: Likewise.
4958         * termios/tcdrain.c: Likewise.
4959         * termios/tcflow.c: Likewise.
4960         * termios/tcflush.c: Likewise.
4961         * termios/tcgetattr.c: Likewise.
4962         * termios/tcgetpgrp.c: Likewise.
4963         * termios/tcsendbrk.c: Likewise.
4964         * termios/tcsetattr.c: Likewise.
4965         * termios/tcsetpgrp.c: Likewise.
4966         * time/adjtime.c: Likewise.
4967         * time/clock.c: Likewise.
4968         * time/getitimer.c: Likewise.
4969         * time/gettimeofday.c: Likewise.
4970         * time/setitimer.c: Likewise.
4971         * time/settimeofday.c: Likewise.
4972         * time/stime.c: Likewise.
4973         * time/time.c: Likewise.
4975 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
4977         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4978         /usr/old/bin.
4980         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4981         instead of spaces.
4982         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4984 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
4986         [BZ #14796]
4987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4988         FE_TONEAREST before applying Dekker multiplication and Knuth
4989         addition.  Clear inexact exceptions and check for exact zero
4990         results afterwards.
4991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4992         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4994         * math/libm-test.inc (fma_test): Add more tests.
4995         (fma_test_towardzero): Likewise.
4996         (fma_test_downward): Likewise.
4997         (fma_test_upward): Likewise.
4998         * sysdeps/generic/math_private.h (default_libc_fesetround): New
4999         function.
5000         (libc_fesetround): New macro.
5001         (libc_fesetroundf): Likewise.
5002         (libc_fesetroundl): Likewise.
5003         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5004         function.
5005         (libc_fesetround_387): Likewise.
5006         (libc_fesetroundf): New macro.
5007         (libc_fesetround): Likewise.
5008         (libc_fesetroundl): Likewise.
5009         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5010         function.
5011         (libc_fesetroundf): New macro.
5012         (libc_fesetround): Likewise.
5013         (libc_fesetroundl): Likewise.
5014         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5015         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5016         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5017         libm_hidden_ver.
5018         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5019         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5020         libm_hidden_def.
5021         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5022         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5023         libm_hidden_ver.
5024         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5025         libm_hidden_def.
5027         [BZ #3439]
5028         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5029         integer constant usable in #if and use that to give value to enum
5030         constant.
5031         (FE_DIVBYZERO): Likewise.
5032         (FE_UNDERFLOW): Likewise.
5033         (FE_OVERFLOW): Likewise.
5034         (FE_INVALID): Likewise.
5035         (FE_INVALID_SNAN): Likewise.
5036         (FE_INVALID_ISI): Likewise.
5037         (FE_INVALID_IDI): Likewise.
5038         (FE_INVALID_ZDZ): Likewise.
5039         (FE_INVALID_IMZ): Likewise.
5040         (FE_INVALID_COMPARE): Likewise.
5041         (FE_INVALID_SOFTWARE): Likewise.
5042         (FE_INVALID_SQRT): Likewise.
5043         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5044         (FE_TONEAREST): Likewise.
5045         (FE_TOWARDZERO): Likewise.
5046         (FE_UPWARD): Likewise.
5047         (FE_DOWNWARD): Likewise.
5048         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5049         (FE_DIVBYZERO): Likewise.
5050         (FE_OVERFLOW): Likewise.
5051         (FE_UNDERFLOW): Likewise.
5052         (FE_INEXACT): Likewise.
5053         (FE_TONEAREST): Likewise.
5054         (FE_DOWNWARD): Likewise.
5055         (FE_UPWARD): Likewise.
5056         (FE_TOWARDZERO): Likewise.
5057         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5058         (FE_UNDERFLOW): Likewise.
5059         (FE_OVERFLOW): Likewise.
5060         (FE_DIVBYZERO): Likewise.
5061         (FE_INVALID): Likewise.
5062         (FE_TONEAREST): Likewise.
5063         (FE_TOWARDZERO): Likewise.
5064         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5065         (FE_OVERFLOW): Likewise.
5066         (FE_UNDERFLOW): Likewise.
5067         (FE_DIVBYZERO): Likewise.
5068         (FE_INEXACT): Likewise.
5069         (FE_TONEAREST): Likewise.
5070         (FE_TOWARDZERO): Likewise.
5071         (FE_UPWARD): Likewise.
5072         (FE_DOWNWARD): Likewise.
5073         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5074         (FE_DIVBYZERO): Likewise.
5075         (FE_OVERFLOW): Likewise.
5076         (FE_UNDERFLOW): Likewise.
5077         (FE_INEXACT): Likewise.
5078         (FE_TONEAREST): Likewise.
5079         (FE_DOWNWARD): Likewise.
5080         (FE_UPWARD): Likewise.
5081         (FE_TOWARDZERO): Likewise.
5083 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5085         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5087 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5089         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5090         commands.  Quote $PWD.
5091         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5092         -x" by "export".
5093         (remove_newlines): Remove.
5095 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5097         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5098         * stdlib/stdlib.h (atof): Moved to ...
5099         * include/bits/stdlib-float.h: Here.  New file.
5100         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5101         * stdlib/bits/stdlib-float.h: New file.
5102         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5103         -mno-sse -mno-mmx.
5104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5105         <xmmintrin.h>.
5107 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5109         * conform/conformtest.pl (@headers): Add fenv.h.
5110         * conform/data/fenv.h-data: New file.
5111         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5112         include of <math/fenv.h>.
5114         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5115         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5116         && !UNIX98].  Enables tests for XOPEN2K8.
5117         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5118         POSIX2008]: Likewise.
5120         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5121         (struct rusage): Do not expect type or its members.
5123         [BZ #3439]
5124         * math/math.h (FP_NAN): Define macro to integer constant usable in
5125         #if and use that to give value to enum constant.
5126         (FP_INFINITE): Likewise.
5127         (FP_ZERO): Likewise.
5128         (FP_SUBNORMAL): Likewise.
5129         (FP_NORMAL): Likewise.
5131 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5133         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5134         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5135         arguments.
5137 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5139         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5140         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5141         autoconf-time if not.
5142         * configure.in: Remove AC_PREREQ.
5144 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5146         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5147         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5148         of the internal implementation.
5150 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5152         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5153         except include of <misc/sys/syslog.h>.
5155 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5158         function returns with a NULL context exit with zero.
5160 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5162         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5164 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5166         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5167         (run_program_cmd): This.
5168         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5169         (tst_langinfo): New variable.  Use it.
5171 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5173         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5174         floating point opcodes.
5176 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5178         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5179         variable.
5181         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5183         * sysdeps/mach/hurd/powerpc: Remove directory.
5184         * sysdeps/mach/powerpc: Likewise.
5186 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5188         * scripts/check-local-headers.sh: Ignore c++ headers.
5190 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5192         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5193         __libc_cleanup_region_start argument.
5195 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5197         [BZ #14784]
5198         [BZ #14785]
5199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5200         x * y using scaling, not as x * y + z.
5201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5203         * math/libm-test.inc (fma_test): Add more tests.
5204         (fma_test_towardzero): Likewise.
5205         (fma_test_downward): Likewise.
5206         (fma_test_upward): Likewise.
5208 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5210         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5212 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5214         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5215         New variable.
5217 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5219         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5221 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5224         Fix sort order.
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5226         Likewise.
5228 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5231         Fix the order of the list for glibc 2.17.
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5233         Likewise.
5235 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5239 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5241         [BZ #14610]
5242         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5243         for low part of x being zero before using __atanl (y).
5244         * math/libm-test.inc (atan2_test): Add another test.
5246         * manual/install.texi (Configuring and compiling): Document
5247         general use of test-wrapper and test-wrapper-env.
5248         * INSTALL: Regenerated.
5250         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5251         (__fma): Do not extract and scale down low bits on after-rounding
5252         systems when result rounded to normal precision would have normal
5253         exponent.
5254         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5255         (__fmal): Do not extract and scale down low bits on after-rounding
5256         systems when result rounded to normal precision would have normal
5257         exponent.
5258         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5259         (__fmal): Do not extract and scale down low bits on after-rounding
5260         systems when result rounded to normal precision would have normal
5261         exponent.
5262         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5263         macro.
5264         (fma_test): Add more tests.
5265         (fma_test_towardzero): Likewise.
5266         (fma_test_downward): Likewise.
5267         (fma_test_upward): Likewise.
5269 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
5271         * sysdeps/i386/tininess.h: Renamed to ...
5272         * sysdeps/x86/tininess.h: This.
5273         * sysdeps/x86_64/tininess.h: Removed.
5275 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5277         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5278         input.  Use $(build-program-cmd).
5279         ($(objpfx)tst-array1-static.out): Likewise.
5280         ($(objpfx)tst-array2.out): Likewise.
5281         ($(objpfx)tst-array3.out): Likewise.
5282         ($(objpfx)tst-array4.out): Likewise.
5283         ($(objpfx)tst-array5.out): Likewise.
5284         ($(objpfx)tst-array5-static.out): Likewise.
5286 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
5288         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5289         if defined.
5291         * nss/nsswitch.h (nss_interface_function): Provide new
5292         macro for use with NSS functions.
5293         * grp/initgroups.c: Use new macro.
5294         * nss/getXXbyYY.c: Likewise.
5295         * nss/getXXbyYY_r.c: Likewise.
5296         * nss/getXXent.c: Likewise.
5297         * nss/getXXent_r.c: Likewise.
5298         * sysdeps/posix/getaddrinfo.c: Likewise.
5300 2012-10-30  Andreas Jaeger  <aj@suse.de>
5302         * po/ru.po: Update Russion translation from translation project.
5304 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5306         [BZ #14152]
5307         [BZ #14783]
5308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5309         result and shift together with sticky bit instead of replicating
5310         round-to-nearest rounding.
5311         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5313         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
5314         missing underflow exceptions.
5315         (fma_test_towardzero): Add more tests.
5316         (fma_test_downward): Likewise.
5317         (fma_test_upward): Likewise.
5319         [BZ #14047]
5320         * sysdeps/generic/tininess.h: New file.
5321         * sysdeps/i386/tininess.h: Likewise.
5322         * sysdeps/sh/tininess.h: Likewise.
5323         * sysdeps/x86_64/tininess.h: Likewise.
5324         * stdlib/tst-strtod-underflow.c: Likewise.
5325         * stdlib/tst-tininess.c: Likewise.
5326         * stdlib/strtod_l.c: Include <tininess.h>.
5327         (round_and_return): Do not set errno for exact underflow cases.
5328         Force an underflow exception when setting errno for underflow.
5329         Determine underflow based on rounding to normal precision if
5330         TININESS_AFTER_ROUNDING.
5331         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5332         ERANGE for exact underflow cases.
5333         * stdlib/Makefile (tests): Add tst-tininess and
5334         tst-strtod-underflow.
5335         ($(objpfx)tst-tininess): Use $(link-libm).
5336         ($(objpfx)tst-strtod-underflow): Likewise.
5338 2012-10-30  Andreas Jaeger  <aj@suse.de>
5340         [BZ#14767]
5341         * elf/Makefile (tests): Remove conditional for have-initfini-array
5342         since this is now always required and the variable does not exist
5343         anymore.
5344         (tests-static): Likewise.
5345         (modules-names): Likewise.
5347         * po/eo.po: Add Esperanto translation from translation project.
5349         * elf/tst-array1.c (fini_array): Make writeable so that it can be
5350         merged with constructor/destructor.
5351         (init_array): Likewise.
5352         * elf/tst-array2dep.c (fini_array): Likewise.
5353         (init_array): Likewise.
5355 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
5357         * manual/message.texi: Delete @cartouche tags.
5359 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
5361         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5362         EOPNOTSUPP.
5363         * sysdeps/mach/hurd/fsync.c: Likewise.
5365         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5366         [_POSIX_REALTIME_SIGNALS]: Change condition to
5367         [_POSIX_REALTIME_SIGNALS > 0].
5369 2012-10-27  Andreas Jaeger  <aj@suse.de>
5371         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5372         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5374         [__WORDSIZE != 64]: Likewise.
5376 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
5378         *  iconvdata/tst-table.sh: Remove ${SHELL}.
5379         *  iconvdata/tst-tables.sh: Likewise.
5381 2012-10-25  David S. Miller  <davem@davemloft.net>
5383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5384         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5385         of strtoull.
5387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5388         ifunc-impl-list.c
5389         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5390         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5391         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5392         file.
5394 2012-10-25  Roland McGrath  <roland@hack.frob.com>
5396         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5397         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5398         __getdirentries.
5400 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5401             Jim Blandy  <jimb@codesourcery.com>
5403         * scripts/cross-test-ssh.sh: New file.
5404         * manual/install.texi (Configuring and compiling): Document use of
5405         cross-test-ssh.sh.
5406         * INSTALL: Regenerated.
5408 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
5410         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5411         EOPNOTSUPP.
5413 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5415         * Makeconfig (run-program-prefix): Fix comment.
5417 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5418             Jim Blandy  <jimb@codesourcery.com>
5420         * Makeconfig (test-wrapper): New variable,
5421         (test-wrapper-env): Likewise.
5422         [$(cross-compiling) = yes && $(test-wrapper) != ""]
5423         (run-built-tests): Define to yes.
5424         (run-program-prefix): Use $(test-wrapper).
5425         (built-program-cmd): Likewise.
5426         * Rules (make-test-out): Use $(test-wrapper-env) and
5427         $(host-built-program-cmd).
5428         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5429         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5430         tst-pathopt.sh.
5431         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5432         $(test-wrapper-env) to tst-rtld-load-self.sh.
5433         ($(objpfx)order2.out): Use $(test-wrapper).
5434         ($(objpfx)tst-initorder.out): Likewise.
5435         ($(objpfx)tst-initorder2.out): Likewise.
5436         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5437         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5438         (test_wrapper_env): New variable.  Use it to run ld.so.
5439         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5440         Use it to run ld.so.
5441         (test_wrapper_env): Likewise.
5442         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5443         $(test-wrapper) to run-iconv-test.sh.
5444         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5445         (ICONV): Use $test_wrapper.
5446         * posix/Makefile ($(objpfx)globtest.out): Pass
5447         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5448         globtest.sh, not $(run-program-prefix).
5449         * posix/globtest.sh (run_via_rtld_prefix): New variable.
5450         (test_wrapper): Likewise.
5451         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
5452         set together with run_via_rtld_prefix.
5453         (run_program_prefix): Define in terms of test_wrapper and
5454         run_via_rtld_prefix.
5456 2012-10-24  Roland McGrath  <roland@hack.frob.com>
5458         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5459         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5460         Targets removed.
5462         [BZ #14743]
5463         * include/time.h: Remove librt_hidden_proto (clock_gettime).
5464         Declare __clock_getres, __clock_gettime, __clock_settime,
5465         __clock_nanosleep, and __clock_getcpuclockid.
5466         * rt/clock_gettime.c: Define __clock_gettime as an alias.
5467         Remove librt_hidden_def (clock_gettime).
5468         * sysdeps/unix/clock_gettime.c: Likewise.
5469         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5470         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5471         * rt/clock_getres.c: Define __clock_getres as an alias.
5472         * sysdeps/posix/clock_getres.c: Likewise.
5473         * rt/clock_settime.c: Define __clock_settime as an alias.
5474         * sysdeps/unix/clock_settime.c: Likewise.
5475         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5476         * sysdeps/unix/clock_nanosleep.c: Likewise.
5477         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5478         * rt/clock-compat.c: New file.
5479         * rt/Makefile (librt-routines): Add clock-compat and move
5480         $(clock-routines) to ...
5481         (routines): ... here, new variable.
5482         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5483         Don't add get_clockfreq here.
5484         * rt/Versions (libc: GLIBC_2.17): New version set.
5485         Add clock_* symbols here.
5486         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
5487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5488         (GLIBC_2.17): Add clock_* symbols.
5489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5493         Likewise.
5494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5495         Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5500         * NEWS: Mention the move.
5502         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5503         Use __open, __read, __close rather than their public counterparts.
5504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5505         (__get_clockfreq_via_cpuinfo): Likewise.
5506         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5507         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5509         * config.h.in (HAVE_IFUNC): New #undef.
5510         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5511         was successful.
5512         * configure: Regenerated.
5514 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5516         * configure.in: Move READELF check to start of file.
5517         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5518         libc_cv_asm_gnu_indirect_function in the process.
5519         * configure: Regenerated.
5521 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5523         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5524         send the output to /dev/null.
5525         (libc_cv_cc_with_libunwind): Likewise.
5526         (libc_cv_as_noexecstack): Likewise.
5527         * configure: Regenerate.
5529 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5531         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5533         * posix/globtest.sh (TMPDIR): Do not set.
5534         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5535         (testout): Likewise.
5537 2012-10-24  Andreas Jaeger  <aj@suse.de>
5539         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5540         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5541         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5542         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5543         posix_fadvise64, posix_fallocate64.
5545         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5546         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5547         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5548         Likewise.
5549         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5550         Likewise.
5551         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5554         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5555         <bits/fcntl-linux.h>.
5556         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5559         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5560         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5561         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5562         [__WORDSIZE != 64]: Likewise.
5564 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5566         * Makeconfig (run-built-tests): New variable.
5567         * Rules [$(cross-compiling) = yes]: Change condition to
5568         [$(run-built-tests) = no].
5569         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5570         to [$(run-built-tests) = yes].
5571         * elf/Makefile [$(cross-compiling) = no]: Likewise
5572         * grp/Makefile [$(cross-compiling) = no]: Likewise.
5573         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5574         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5575         * intl/Makefile [$(cross-compiling) = no]: Likewise.
5576         * io/Makefile [$(cross-compiling) = no]: Likewise.
5577         * libio/Makefile [$(cross-compiling) = no]: Likewise.
5578         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5579         * misc/Makefile [$(cross-compiling) = no]: Likewise.
5580         * posix/Makefile [$(cross-compiling) = no]: Likewise.
5581         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5582         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5583         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5584         * string/Makefile [$(cross-compiling) = no]: Likewise.
5586         * posix/Makefile ($(objpfx)globtest.out): Pass
5587         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5588         $(rtld-installed-name).
5589         * posix/globtest.sh (elf_objpfx): Remove variable.
5590         (rtld_installed_name): Likewise.
5591         (library_path): Likewise.
5592         (run_program_prefix): New variable.  Use for running globtest
5593         binary.
5595 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
5596             Joseph Myers  <joseph@codesourcery.com>
5598         * Makeconfig (host-built-program-cmd): New variable.
5599         * elf/Makefile (tst-stackguard1-ARGS): Use
5600         $(host-built-program-cmd).
5601         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5602         (tst-spawn-ARGS): Likewise.
5603         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5605 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5606             Jim Blandy  <jimb@codesourcery.com>
5608         * Makeconfig (run-via-rtld-prefix): New variable.
5609         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5610         (built-program-cmd): Likewise.
5612 2012-10-22  Andreas Jaeger  <aj@suse.de>
5614         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5615         __O_RSYNC if it exists, otherwise to O_SYNC.
5617 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
5618             Joseph Myers  <joseph@codesourcery.com>
5620         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5621         /dev/null.
5622         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5623         from /dev/null
5624         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5625         /dev/null.
5627 2012-10-22  Andreas Jaeger  <aj@suse.de>
5629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5630         Define always.
5631         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5634         bits/fcntl-linux.h.
5636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5637         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5640         to __O_LARGEFILE.
5641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5642         to __O_LARGEFILE.
5644 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
5645             Joseph Myers  <joseph@codesourcery.com>
5647         * config.make.in (NM): New variable.
5649 2012-10-21  Andreas Jaeger  <aj@suse.de>
5651         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5652         definitions and declarations that are provided by
5653         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5655 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5657         [BZ #14683]
5658         * elf/Makefile (tests-static): Add tst-leaks1-static.
5659         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5660         ($(objpfx)tst-leaks1-static): New rule.
5661         ($(objpfx)tst-leaks1-static-mem): Likewise.
5662         (tst-leaks1-static-ENV): New macro.
5663         * elf/dl-open.c (dl_open_worker): Check the main application
5664         only if SHARED is defined.
5665         * elf/tst-leaks1-static.c: New file.
5667 2012-10-20  Andreas Jaeger  <aj@suse.de>
5669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5670         generic values for Linux.
5671         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5672         and declarations that are provided by <bits/fcntl-linux.h> and
5673         include <bits/fcntl-linux.h>.
5674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5677 2012-10-20  Roland McGrath  <roland@hack.frob.com>
5679         * io/fcntl.h: Move include of <bits/types.h> to the top and
5680         include it unconditionally.
5682 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5684         * wcsmbs/Makefile (tests-ifunc): New variable.
5685         (tests): Add $(tests-ifunc).
5686         * wcsmbs/test-wcschr-ifunc.c: New file.
5687         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5688         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5689         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5690         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5691         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5693         * string/Makefile (tests-ifunc): New variable.
5694         (tests): Add $(tests-ifunc).
5695         * string/test-memccpy.c (TEST_NAME): New macro.
5696         * string/test-memchr.c (TEST_NAME): Likewise.
5697         * string/test-memcmp.c (TEST_NAME): Likewise.
5698         * string/test-memcpy.c (TEST_NAME): Likewise.
5699         * string/test-memmem.c (TEST_NAME): Likewise.
5700         * string/test-memmove.c (TEST_NAME): Likewise.
5701         * string/test-memset.c (TEST_NAME): Likewise.
5702         * string/test-rawmemchr.c (TEST_NAME): Likewise.
5703         * string/test-stpcpy.c (TEST_NAME): Likewise.
5704         * string/test-stpncpy.c (TEST_NAME): Likewise.
5705         * string/test-strcasecmp.c (TEST_NAME): Likewise.
5706         * string/test-strcasestr.c (TEST_NAME): Likewise.
5707         * string/test-strcat.c (TEST_NAME): Likewise.
5708         * string/test-strchr.c (TEST_NAME): Likewise.
5709         * string/test-strcmp.c(TEST_NAME): Likewise.
5710         * string/test-strcpy.c (TEST_NAME): Likewise.
5711         * string/test-strcspn.c (TEST_NAME): Likewise.
5712         * string/test-strlen.c (TEST_NAME): Likewise.
5713         * string/test-strncasecmp.c (TEST_NAME): Likewise.
5714         * string/test-strncmp.c (TEST_NAME): Likewise.
5715         * string/test-strncpy.c (TEST_NAME): Likewise.
5716         * string/test-strnlen.c (TEST_NAME): Likewise.
5717         * string/test-strpbrk.c (TEST_NAME): Likewise.
5718         * string/test-strrchr.c (TEST_NAME): Likewise.
5719         * string/test-strspn.c (TEST_NAME): Likewise.
5720         * string/test-strstr.c (TEST_NAME): Likewise.
5721         * string/test-bcopy-ifunc.c: New file.
5722         * string/test-bzero-ifunc.c: Likewise.
5723         * string/test-memccpy-ifunc.c: Likewise.
5724         * string/test-memchr-ifunc.c: Likewise.
5725         * string/test-memcmp-ifunc.c: Likewise.
5726         * string/test-memcpy-ifunc.c: Likewise.
5727         * string/test-memmem-ifunc.c: Likewise.
5728         * string/test-memmove-ifunc.c: Likewise.
5729         * string/test-mempcpy-ifunc.c: Likewise.
5730         * string/test-memset-ifunc.c: Likewise.
5731         * string/test-rawmemchr-ifunc.c: Likewise.
5732         * string/test-stpcpy-ifunc.c: Likewise.
5733         * string/test-stpncpy-ifunc.c: Likewise.
5734         * string/test-strcasecmp-ifunc.c: Likewise.
5735         * string/test-strcasestr-ifunc.c: Likewise.
5736         * string/test-strcat-ifunc.c: Likewise.
5737         * string/test-strchr-ifunc.c: Likewise.
5738         * string/test-strchrnul-ifunc.c: Likewise.
5739         * string/test-strcmp-ifunc.c: Likewise.
5740         * string/test-strcpy-ifunc.c: Likewise.
5741         * string/test-strcspn-ifunc.c: Likewise.
5742         * string/test-strlen-ifunc.c: Likewise.
5743         * string/test-strncasecmp-ifunc.c: Likewise.
5744         * string/test-strncat-ifunc.c: Likewise.
5745         * string/test-strncmp-ifunc.c: Likewise.
5746         * string/test-strncpy-ifunc.c: Likewise.
5747         * string/test-strnlen-ifunc.c: Likewise.
5748         * string/test-strpbrk-ifunc.c: Likewise.
5749         * string/test-strrchr-ifunc.c: Likewise.
5750         * string/test-strspn-ifunc.c: Likewise.
5751         * string/test-strstr-ifunc.c: Likewise.
5753         * debug/Makefile (tests-ifunc): New variable.
5754         (tests): Add $(tests-ifunc).
5755         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5756         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5757         * debug/test-stpcpy_chk-ifunc.c: New file.
5758         * debug/test-strcpy_chk-ifunc.c: Likewise.
5760 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5762         [BZ #13601]
5763         * elf/dl-load.c (open_verify): Retry read if the entire ELF
5764         header is not read in.
5766 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
5768         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
5769         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
5770         directly.  Pass built executable to script as
5771         $(built-program-cmd).
5772         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
5773         $testprogram without using LD_LIBRARY_PATH and $ldso.
5775         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5776         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5777         $(rtld-installed-name).
5778         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5779         (rtld_installed_name): Likewise.
5780         (library_path): Likewise.
5781         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
5782         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5783         $(run-program-prefix) to tst-tables.sh.
5784         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
5785         it to run tst-table-from and tst-table-to.
5786         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5787         Pass it to tst-table.sh.
5788         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5789         $(run-program-prefix) to tst-gettext.sh.
5790         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5791         tst-translit.sh.
5792         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5793         tst-gettext2.sh.
5794         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
5795         to run tst-gettext.
5796         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
5797         to run tst-gettext2.
5798         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
5799         to run tst-translit.
5800         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5801         $(run-program-prefix) to tst-mtrace.sh.
5802         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
5803         to run tst-mtrace.
5804         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5805         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5806         $(rtld-installed-name).
5807         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5808         (rtld_installed_name): Likewise.
5809         (run_program_prefix): New variable.  Use it to run wordexp-test.
5811         * Makeconfig (ARCH): Remove all definitions.
5812         (machine): Likewise.
5813         [ARCH]: Remove conditional code.
5814         [!objdir]: Give error.
5815         [!objdir] (objpfx): Remove.
5816         [!objdir] (common-objpfx): Likewise.
5817         [!objdir] (common-objdir): Likewise.
5818         * configure.in (config_makefile): Remove.  Hardcode Makefile in
5819         AC_CONFIG_FILES call.
5820         * configure: Regenerated.
5822         [BZ #13888]
5823         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5824         or TMPDIR.
5825         (testout): Likewise.
5827         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5828         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5829         $(rtld-installed-name).
5830         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5831         (rtld_installed_name): Likwise.
5832         (runit): Remove function.
5833         (run_getconf): New variable,  Use it for running getconf binary.
5835 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
5837         [BZ #14716]
5838         * string/test-memmem.c (check_result): New function.
5839         (do_one_test): Use it.
5840         (check1): New function.
5841         (test_main): Use it.
5843 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
5845         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5847 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
5849         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5850         (_G_LSEEK64): Likewise.
5851         (_G_MMAP64): Likewise.
5852         (_G_FSTAT64): Likewise.
5853         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5854         (_G_LSEEK64): Likewise.
5855         (_G_MMAP64): Likewise.
5856         (_G_FSTAT64): Likewise.
5857         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5858         unconditional.  Call __mmap64 directly.
5859         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5860         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
5861         __lseek64 directly.
5862         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5863         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
5864         __mmap64 directly.
5865         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5866         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5867         __lseek64 directly.
5868         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5869         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5870         __lseek64 directly.
5871         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5872         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
5873         __lseek64 directly.
5874         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5875         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
5876         __fxstat64 directly.
5877         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5878         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5879         unconditional.
5880         (freopen64) [!_G_OPEN64]: Remove conditional code.
5881         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5882         unconditional.
5883         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5884         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5885         unconditional.
5886         (ftello64) [!_G_LSEEK64]: Remove conditional code.
5887         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5888         unconditional.
5889         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5890         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5891         unconditional.
5892         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5893         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5894         unconditional.
5895         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5896         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5897         unconditional.
5898         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5899         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5900         unconditional.
5901         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5903 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5905         [BZ #12140]
5906         * manual/memory.texi (Malloc Tunable Parameters): Add note
5907         about free list pointers overwriting some perturb bytes.
5908         Wording suggested by Roland McGrath.
5910 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
5912         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5913         (lgamma_test): Likewise.
5914         (tgamma_test): Likewise.
5916 2012-10-16  Florian Weimer  <fweimer@redhat.com>
5918         [BZ #14700]
5919         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5920         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5922 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
5924         * NEWS: Mention BZ #14716.
5925         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5926         when removing AVAILABLE1_USES_J macro.
5928 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5930         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5931         (__bswap_64): __uint64_t for unsigned 64-bit int.
5933 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
5935         * include/string.h (memmem): Declare libc hidden alias.
5936         * string/memmem.c (memmem): Define libc hidden alias.
5937         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5938         __read, __close instead of open, read, close.
5940 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
5942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5943         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5944         global and hidden.
5945         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5946         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5947         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5948         Likewise.
5949         (__rawmemchr_sse2): Likewise.
5950         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5951         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5952         (__strchr_sse2): Likewise.
5953         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5954         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5955         (__strcasecmp_sse2): Likewise.
5956         (__strncasecmp_sse2): Likewise.
5957         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5958         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5959         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5960         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5961         (__strrchr_sse2): Likewise.
5962         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5963         ifunc-impl-list.c.
5964         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5965         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5966         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5967         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5968         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5969         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5970         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5972         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5973         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5974         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5975         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5976         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5977         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5978         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5979         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5980         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5981         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5982         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5983         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5984         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5985         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5986         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5987         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5988         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5989         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5990         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5991         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5992         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5993         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5995         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5996         global and hidden.
5997         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5998         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5999         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6000         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6001         Likewise.
6002         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6003         Likewise.
6004         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6005         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6006         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6007         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6008         ifunc-impl-list.c.
6009         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6010         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6011         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6012         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6013         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6014         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6015         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6016         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6017         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6018         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6019         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6020         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6021         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6022         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6023         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6024         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6025         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6026         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6027         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6028         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6029         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6030         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6031         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6032         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6033         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6034         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6035         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6036         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6037         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6038         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6039         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6040         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6041         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6042         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6043         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6044         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6045         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6046         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6047         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6048         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6049         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6051         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6052         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6053         * include/ifunc-impl-list.h: New file.
6054         * misc/ifunc-impl-list.c: Likewise.
6055         * misc/Makefile (routines): Add ifunc-impl-list.
6056         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6057         * string/test-string.h: Include <ifunc-impl-list.h>.
6058         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6059         impl_array): New variables.
6060         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6061         are defined.
6062         (test_init): Call __libc_ifunc_impl_list to initialize
6063         func_list if TEST_IFUNC and TEST_NAME are defined.
6065         * string/Makefile (strop-tests): Add bcopy and bzero.
6066         * string/test-bcopy.c: New file.
6067         * string/test-bzero.c: Likewise.
6068         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6069         defined.
6070         * string/test-memset.c: Support bzero test if TEST_BZERO is
6071         defined.
6072         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6073         __libc_memmove.
6074         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6075         __libc_memset.
6076         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6077         of memset.
6079 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6081         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6082         * configure: Regenerated.
6084         * Makeconfig (+link-static-before-libc): Don't include
6085         $(link-static-libc).
6087         * libio/libio.h (_IO_pos_t): Remove.
6089 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6091         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6092         McGrath.
6094 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6096         * crypt/crypt-entry.c: Include fips-private.h.
6097         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6098         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6099         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6100         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6102 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6104         * crypt/crypt-private.h: Include stdbool.h.
6105         (_ufc_setup_salt_r): Return bool.
6106         * crypt/crypt-entry.c: Include errno.h.
6107         (__crypt_r): Return NULL with EINVAL for bad salt.
6108         * crypt/crypt_util.c (bad_for_salt): New.
6109         (_ufc_setup_salt_r): Check that salt is long enough and within
6110         the specified alphabet.
6111         * crypt/badsalttest.c: New file.
6112         * crypt/Makefile (tests): Add it.
6113         ($(objpfx)badsalttest): New.
6115 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6117         * NEWS: Add entry for BZ #14602.
6119 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6121         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6122         type-generic.
6123         * math/libm-test.inc: Update comment listing what functions and
6124         macros are tested.
6125         (isgreater_test): New function.
6126         (isgreaterequal_test): Likewise.
6127         (isless_test): Likewise.
6128         (islessequal_test): Likewise.
6129         (islessgreater_test): Likewise.
6130         (isunordered_test): Likewise.
6131         (main): Call the new functions.
6133 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6135         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6136         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6137         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6138         * sysdeps/i386/configure: Regenerated.
6139         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6140         * sysdeps/mach/configure: Regenerated.
6141         * sysdeps/mach/hurd/configure: Regenerated.
6142         * sysdeps/powerpc/configure: Regenerated.
6143         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6144         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6145         * sysdeps/s390/s390-32/configure: Regenerated.
6146         * sysdeps/s390/s390-64/configure: Regenerated.
6147         * sysdeps/sh/configure: Regenerated.
6148         * sysdeps/sparc/configure: Regenerated.
6149         * sysdeps/unix/sysv/linux/configure: Regenerated.
6150         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6151         * sysdeps/x86_64/configure: Regenerated.
6153         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6154         defined.  Don't check if MAP is NULL.
6156 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6158         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6159         (_G_stat64): Likewise.
6160         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6161         (_G_stat64): Likewise.
6162         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6163         instead of struct _G_stat64.
6164         * libio/fileops.c (mmap_remap_check): Likewise.
6165         (decide_maybe_mmap): Likewise.
6166         (_IO_new_file_seekoff): Likewise.
6167         (_IO_file_stat): Likewise.
6168         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6169         _G_off64_t.
6170         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6171         instead of struct _G_stat64.
6172         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6174 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6176         [BZ #14602]
6177         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6178         Replace with ...
6179         (CHECK_EOL): New macro.
6180         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6181         CHECK_EOL.
6182         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6183         Replace with CHECK_EOL.
6184         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6185         Replace with CHECK_EOL.
6187 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6189         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6190         type-generic.
6191         * math/libm-test.inc: Update comment listing what functions and
6192         macros are tested.
6193         (finite_test): New function.
6194         (isinf_test): Likewise.
6195         (isnan_test): Likewise.
6196         (fpclassify_test): Test subnormal input.
6197         (isfinite_test): Likewise.
6198         (isnormal_test): Likewise.
6199         (main): Call the new functions.
6201 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6203         [BZ #14660]
6204         * Makerules (%.dynsym): Force C locale when running
6205         $(OBJDUMP) --dynamic-syms.
6207 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6209         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6210         <stdint.h>.
6212 2012-10-06  David S. Miller  <davem@davemloft.net>
6214         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6215         upper 32-bits of the length value in %o2 since we use branch-on-register
6216         tests which consider the entire 64-bit register.
6218 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6220         * string/test-strstr.c (check2): Add a test for page boundary.
6222 2012-10-05  David S. Miller  <davem@davemloft.net>
6224         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6225         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6226         file.
6227         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6228         sysdep_routines.
6229         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6230         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6231         and bzero when HWCAP_SPARC_CRYPTO is present.
6233 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6235         [BZ #14602]
6236         * string/test-strstr.c (check2): New function.
6237         (test_main): Call check2.
6239         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6240         and bug-strchr1.
6241         * string/bug-strcasestr1.c (do_test): Moved to ...
6242         * string/test-strcasestr.c (check1): Here.  New function.
6243         (do_one_test): Break out result checking code into ...
6244         (check_result): This.  New function.
6245         (do_one_test): Call check_result.
6246         (test_main): Call check1.
6247         * string/bug-strchr1.c (do_test): Moved to ...
6248         * string/test-strchr.c (check1): Here.  New function.
6249         (do_one_test): Break out result checking code into ...
6250         (check_result): This.  New function.
6251         (do_one_test): Call check_result.
6252         (test_main): Call check1.
6253         * string/bug-strstr1.c (main): Moved to ...
6254         * string/test-strstr.c (check1): Here.  New function.
6255         (do_one_test): Break out result checking code into ...
6256         (check_result): This.  New function.
6257         (do_one_test): Call check_result.
6258         (test_main): Call check1.
6259         * string/bug-strcasestr1.c: Removed.
6260         * string/bug-strchr1.c: Likewise.
6261         * string/bug-strstr1.c: Likewise.
6263         * elf/Makefile (dl-routines): Add hwcaps.
6264         * elf/dl-support.c (_dl_important_hwcaps): Removed.
6265         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6266         (_dl_important_hwcaps): Moved to ...
6267         * elf/dl-hwcaps.c: Here.  New file.
6268         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6270         [BZ #14557]
6271         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6272         if IS_IN_rtld isn't defined.
6274         * elf/dl-support.c (_dl_sysinfo_map): New.
6275         Include "get-dynamic-info.h" and "setup-vdso.h".
6276         (_dl_non_dynamic_init): Call setup_vdso.
6277         * elf/dynamic-link.h: Don't include <assert.h>.
6278         (elf_get_dynamic_info): Moved to ...
6279         * elf/get-dynamic-info.h: Here.  New file.
6280         * elf/dynamic-link.h: Include "get-dynamic-info.h".
6281         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6282         * elf/setup-vdso.h: Here.  New file.
6283         * elf/rtld.c: Include "setup-vdso.h".
6284         (dl_main): Call setup_vdso.
6286 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
6288         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6289         creal in comment listing functions tested.  List finite, isinf,
6290         isnan, isless, islessequal, isgreater, isgreaterequal,
6291         islessgreater, isunordered, lgamma_r and pow10 as functions and
6292         macros not tested.  Mention which functions not tested are aliases
6293         for other functions.  Fix typo.  Note that signs of NaNs are not
6294         tested.
6296         * scripts/config.guess: Update from config.git.
6297         * scripts/config.sub: Likewise.
6299 2012-10-04  Roland McGrath  <roland@hack.frob.com>
6301         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6302         * misc/madvise.c (madvise): Renamed to __madvise.
6303         Make madvise a weak alias.
6304         * include/sys/mman.h: Declare __madvise.
6305         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6306         * sysdeps/unix/syscalls.list
6307         (madvise): Make __madvise the strong name, and madvise a weak alias.
6308         * sysdeps/unix/sysv/linux/syscalls.list
6309         (madvise, mmap): Remove redundant entries.
6310         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6311         * malloc/malloc.c (mtrim): Likewise.
6312         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6314 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6316         * sysdeps/mach/hurd/dl-cache.c: File removed.
6317         * config.h.in (USE_LDCONFIG): New #undef.
6318         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6319         * configure: Regenerated.
6320         * elf/Makefile (dl-routines): Add dl-cache only under
6321         [$(use-ldconfig) = yes].
6322         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6323         cache on [USE_LDCONFIG].
6324         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6325         [USE_LDCONFIG].
6326         * elf/rtld.c (dl_main): Likewise.
6328 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
6330         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6331         _SC_LEVEL4_CACHE_LINESIZE.
6333 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6335         * sysdeps/unix/bsd/confstr.h: File removed.
6337 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
6339         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6340         sys/sdt-config.h.
6342 2012-10-02  Roland McGrath  <roland@hack.frob.com>
6344         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6345         Make 'mapoff' field ElfW(Off) rather than off_t.
6347 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
6349         * nscd/Makefile: Remove nscd-cflags and all its users.
6350         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6351         (CFLAGS-nonlib): Add compiler flags for nscd modules.
6353         [BZ #10631]
6354         * malloc.c (malloc_printerr): Clarify error message.
6356 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
6358         [BZ #14648]
6359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6360         Set bit_FMA_Usable if FMA is supported.
6361         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6362         macro.
6363         (bit_FMA4_Usable): Updated.
6364         (index_FMA_Usable): New macro.
6365         (CPUID_FMA): Likewise
6366         (HAS_FMA): Defined with bit_FMA_Usable.
6368 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6370         * bits/types.h (__swblk_t): Type removed.
6371         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6372         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6373         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6374         (__SWBLK_T_TYPE): Likewise.
6375         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6376         (__SWBLK_T_TYPE): Likewise.
6377         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6378         (__SWBLK_T_TYPE): Likewise.
6379         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6380         (__SWBLK_T_TYPE): Likewise.
6382 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
6383             Honza Horak <hhorak@redhat.com>
6385         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6386         (xdr_mapname): Use YPMAXMAP as maxsize.
6387         (xdr_peername): Use YPMAXPEER as maxsize.
6388         (xdr_keydat): Use YPAXRECORD as maxsize.
6389         (xdr_valdat): Use YPMAXRECORD as maxsize.
6391 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6393         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6395         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6396         * csu/init-first.c: ... here.
6397         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6398         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6399         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6400         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6401         * sysdeps/i386/init-first.c: File removed.
6402         * sysdeps/sh/init-first.c: File removed.
6404 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
6406         [BZ #14645]
6407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6408         if x * y might underflow to zero and z is zero.
6409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6411         * math/libm-test.inc (min_subnorm_value): New variable.
6412         (fma_test): Add more tests.
6413         (fma_test_towardzero): Likewise.
6414         (fma_test_downward): Likewise
6415         (fma_test_upward): Likewise.
6416         (initialize): Set min_subnorm_value.
6418 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
6420         [BZ #14638]
6421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6422         0 + 0.
6423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6424         mode for addition resulting in exact zero.
6425         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6427         exact 0 + 0.
6428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6430         * math/libm-test.inc (fma_test): Add more tests.
6431         (fma_test_towardzero): New function.
6432         (fma_test_downward): Likewise.
6433         (fma_test_upward): Likewise.
6434         (main): Call the new functions.
6436 2012-09-28  David S. Miller  <davem@davemloft.net>
6438         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6440 2012-09-28  Roland McGrath  <roland@hack.frob.com>
6442         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6443         instead of SIGALRM.
6445         * sysdeps/gnu/_G_config.h: Moved to ...
6446         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6447         * sysdeps/mach/hurd/_G_config.h: Moved to ...
6448         * sysdeps/generic/_G_config.h: ... here.
6450         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
6452         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6454         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6455         Conditionalize target on [libnss_test1.so-version].
6457         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6459         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6460         (elfobjdir): Move out of conditionals.
6462         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6463         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6464         (__nss_lookup_function): Conditionalize label remove_from_tree on
6465         [!DO_STATIC_NSS || SHARED], matching its only use.
6467 2012-09-28  David S. Miller  <davem@davemloft.net>
6469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6470         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6471         file.
6472         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6473         sysdep_routines.
6474         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6476         when HWCAP_SPARC_CRYPTO is present.
6478 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6480         * io/tst-mknodat.c: Create a FIFO instead of a socket.
6482 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
6484         [BZ #6530]
6485         * stdio-common/vfprintf.c (process_string_arg): Revert
6486         2000-07-22 change.
6488 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
6490         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6491         for testcase.
6492         * stdio-common/tst-sprintf.c: Include <locale.h>
6493         (main): Test sprintf's handling of incomplete multibyte
6494         characters.
6496 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
6498         * elf/dl-runtime.c (VERSYMIDX): Removed.
6499         * elf/dl-version.c (VERSYMIDX): Likewise.
6500         * elf/do-rel.h (VERSYMIDX): Likewise.
6501         (VALIDX): Likewise.
6502         * elf/dynamic-link.h (VERSYMIDX): Likewise.
6503         * elf/rtld.c (VALIDX): Likewise.
6504         (ADDRIDX): Likewise.
6505         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6506         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6507         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6508         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6509         (VALIDX): Likewise.
6510         (ADDRIDX): Likewise.
6512 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6514         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6516 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
6518         [BZ #11438]
6519         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6520         to global scope.
6521         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6522         addresses are in the same scope as 192.0.2/24.
6523         * posix/gai.conf: Document new scope table defaults.
6525 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6527         [BZ #5298]
6528         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6529         for ftell.  Compute offsets from write pointers instead.
6530         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6532 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6534         [BZ #14543]
6535         * libio/Makefile (tests): New test case tst-fseek.
6536         * libio/tst-fseek.c: New test case to verify that fseek/ftell
6537         combination works in wide mode.
6538         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6539         state when the external buffer state changes.
6541 2012-09-27  David S. Miller  <davem@davemloft.net>
6543         [BZ #14376]
6544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6545         pass reloc->r_addend in as the 'high' argument to
6546         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6550 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6552         * rt/tst-aio2.c: Include <pthread.h>.
6553         * rt/tst-aio3.c: Likewise.
6555 2012-09-27  Steve Ellcey  <sellcey@mips.com>
6557         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6559 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6561         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6562         contents on [SHARED].
6564 2012-09-26  Marek Polacek  <polacek@redhat.com>
6566         [BZ #14530]
6567         [BZ #13741]
6568         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6569         for C++ and GCC <4.3 as well as for non GCC compilers.
6571 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6575 2012-09-25  Roland McGrath  <roland@hack.frob.com>
6577         * Makefile.in (all, install): Declare with .PHONY.
6578         Reported by Michael Hope <michael.hope@linaro.org>.
6580 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6582         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6583         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6584         system header.
6585         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6586         Likewise.
6587         (sydep_routines): Add the new and the internal functions.
6588         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6589         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6591         (GLIBC_2.17): Add the new function.
6592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6593         (GLIBC_2.17): Likewise.
6594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6595         (GLIBC_2.17): Likewise.
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6597         (GLIBC_2.17): Likewise.
6598         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6600 2012-09-25  Alan Modra  <amodra@gmail.com>
6602         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6603         Add release barrier before setting once_control to say
6604         initialisation is done.  Add hints on lwarx.  Use macro in
6605         place of isync.
6606         (clear_once_control): Add release barrier.
6608 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6610         [BZ #13629]
6611         * math/s_clog.c (__clog): Handle more values close to |z| = 1
6612         specially.
6613         * math/s_clog10.c (__clog10): Likewise.
6614         * math/s_clog10f.c (__clog10f): Likewise.
6615         * math/s_clog10l.c (__clog10l): Likewise.
6616         * math/s_clogf.c (__clogf): Likewise.
6617         * math/s_clogl.c (__clogl): Likewise.
6618         * math/Makefile (libm-calls): Add x2y2m1.
6619         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6620         (__x2y2m1): Likewise.
6621         (__x2y2m1l): Likewise.
6622         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6623         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6624         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6625         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6626         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6627         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6628         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6629         * sysdeps/i386/fpu/libm-test-ulps: Update.
6630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6632         [BZ #14621]
6633         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6634         int as type of variable DEPTH.
6635         (glob): Use size_t instead of int as type of variables NEWCOUNT
6636         and OLD_PATHC.
6638 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6640         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6641         Add s_sincosf-sse2.
6642         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6643         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6644         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6645         macros for using routine as __sincosf_ia32.
6646         Use macro for function declaration and weak_alias.
6647         * sysdeps/i386/fpu/libm-test-ulps: Update.
6649         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6652         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6653         subnormal argument.
6654         * math/s_cexpf.c (__cexpf): Likewise.
6655         * math/s_csinf.c (__csinf): Likewise.
6656         * math/s_csinhf.c (__csinhf): Likewise.
6657         * math/s_ctanf.c (__ctanf): Likewise.
6658         * math/s_ctanhf.c (__ctanhf): Likewise.
6659         * math/s_ccosh.c (__ccoshf): Likewise.
6660         * math/s_cexp.c (__cexpl): Likewise.
6661         * math/s_csin.c (__csin): Likewise.
6662         * math/s_csinh.c (__csinh): Likewise.
6663         * math/s_ctan.c (__ctan): Likewise.
6664         * math/s_ctanh.c (ctanh): Likewise.
6665         * math/s_ccoshl.c (__ccoshl): Likewise.
6666         * math/s_cexpl.c (__cexpl): Likewise.
6667         * math/s_csinl.c (__csinl): Likewise.
6668         * math/s_csinhl.c (__csinhl): Likewise.
6669         * math/s_ctanl.c (__ctanl): Likewise.
6670         * math/s_ctanhl.c (__ctanhl): Likewise.
6672 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6674         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6675         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6676         (_IO_off_t): Define to __off_t, not _G_off_t.
6677         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6678         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6679         (_IO_wint_t): Define to wint_t, not _G_wint_t.
6680         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6681         type of __dummy and __dummy2 fields.
6682         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6683         (_G_ssize_t): Likewise.
6684         (_G_off_t): Likewise.
6685         (_G_pid_t): Likewise.
6686         (_G_uid_t): Likewise.
6687         (_G_wchar_t): Likewise.
6688         (_G_wint_t): Likewise.
6689         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6690         (_G_ssize_t): Likewise.
6691         (_G_off_t): Likewise.
6692         (_G_pid_t): Likewise.
6693         (_G_uid_t): Likewise.
6694         (_G_wchar_t): Likewise.
6695         (_G_wint_t): Likewise.
6696         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6697         (_G_ssize_t): Likewise.
6698         (_G_off_t): Likewise.
6699         (_G_pid_t): Likewise.
6700         (_G_uid_t): Likewise.
6701         (_G_wchar_t): Likewise.
6702         (_G_wint_t): Likewise.
6704 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6706         * malloc/arena.c: Include malloc-sysdep.h.
6707         (shrink_heap): Use check_may_shrink_heap to decide if madvise
6708         is sufficient to shrink the heap or an unmap is needed.
6709         * sysdeps/generic/malloc-sysdep.h: New file.  Define
6710         new function check_may_shrink_heap.
6711         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
6712         new function check_may_shrink_heap.
6714 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6716         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6717         comments.
6719 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
6721         * catgets/test-gencat.sh: Add "set -e".
6722         * elf/tst-pathopt.sh: Likewise.
6723         * grp/tst_fgetgrent.sh: Likewise.
6724         * iconvdata/run-iconv-test.sh: Likewise.
6725         * intl/tst-gettext.sh: Likewise.
6726         * intl/tst-gettext2.sh: Likewise.
6727         * intl/tst-gettext4.sh: Likewise.
6728         * intl/tst-gettext6.sh: Likewise.
6729         * intl/tst-translit.sh: Likewise.
6730         * io/ftwtest-sh: Likewise.
6731         * libio/test-freopen.sh: Likewise.
6732         * malloc/tst-mtrace.sh: Likewise.
6733         * posix/globtest.sh: Likewise.
6734         * posix/tst-getconf.sh: Likewise.
6735         * posix/wordexp-tst.sh: Likewise.
6736         * stdio-common/tst-printf.sh: Likewise.
6737         * stdio-common/tst-unbputc.sh: Likewise.
6738         * stdlib/tst-fmtmsg.sh: Likewise.
6739         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6740         * catgets/Makefile: Do not specify -e option when running
6741         testsuite shell scripts.
6742         * elf/Makefile: Likewise.
6743         * grp/Makefile: Likewise.
6744         * iconvdata/Makefile: Likewise.
6745         * intl/Makefile: Likewise.
6746         * io/Makefile: Likewise.
6747         * libio/Makefile: Likewise.
6748         * malloc/Makefile: Likewise.
6749         * posix/Makefile: Likewise.
6750         * stdio-common/Makefile: Likewise.
6751         * stdlib/Makefile: Likewise.
6752         * sysdeps/x86_64/Makefile: Likewise.
6754         * io/ftwtest-sh: Add copyright header.
6755         * posix/globtest.sh: Likewise.
6756         * posix/tst-getconf.sh: Likewise.
6757         * posix/wordexp-tst.sh: Likewise.
6758         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6760 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
6762         [BZ #13679]
6763         * Makeconfig (+link): Defined as $(+link-static) if
6764         $(build-shared) isn't yes.
6765         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6766         isn't yes.
6767         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6769         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6771         [BZ #14562]
6772         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6773         new chunk size with MALLOC_ALIGN_MASK.
6775 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
6777         [BZ #5044]
6778         * stdio-common/printf_fphex.c: Include <stdbool.h> and
6779         <rounding-mode.h>.
6780         (__printf_fphex): Determine rounding using get_rounding_mode and
6781         round_away.
6782         * stdio-common/tst-printf-round.c (struct hex_test): New
6783         structure.
6784         (hex_tests): New variable.
6785         (test_hex_in_one_mode): New function.
6786         (do_test): Also run tests for hex float output.
6788 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
6790         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6791         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6792         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6793         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6794         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6795         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6796         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6797         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6799 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
6801         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6802         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6803         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6804         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6806 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
6808         [BZ #14579]
6809         * elf/rtld.c (dl_main): Limit the check for self loading to normal
6810         mode only.
6811         * elf/tst-rtld-load-self.sh: New test.
6812         * elf/Makefile: Run it.
6814 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
6816         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6817         (tst-writev-ENV): Remove.
6818         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6820 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
6822         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6824 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
6826         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6827         unconditional.
6828         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6829         Likewise.
6830         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6831         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6832         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6833         Likewise.
6835 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6837         [BZ #14587]
6838         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6839         * config.make.in (have-cpp-asm-debuginfo): Removed.
6840         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6841         * configure: Regenerated.
6843 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
6845         [BZ #5044]
6846         * stdio-common/printf_fp.c: Include <stdbool.h> and
6847         <rounding-mode.h>.
6848         (___printf_fp): Determine rounding using get_rounding_mode and
6849         round_away.
6850         * stdio-common/tst-printf-round.c: New file.
6851         * stdio-common/Makefile (tests): Add tst-printf-round.
6852         (link-libm): New variable.
6853         ($(objpfx)tst-printf-round): Depend in $(link-libm).
6855 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
6857         [BZ #14576]
6858         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6859         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6860         Likewise.
6861         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6862         Likewise.
6864 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
6866         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6867         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6868         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6869         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6871 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
6873         [BZ #14518]
6874         * include/rounding-mode.h: New file.
6875         * sysdeps/generic/get-rounding-mode.h: Likewise.
6876         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6877         * stdlib/strtod_l.c: Include <rounding-mode.h>.
6878         (MAX_VALUE): New macro.
6879         (MIN_VALUE): Likewise.
6880         (overflow_value): New function.
6881         (underflow_value): Likewise.
6882         (round_and_return): Use overflow_value and underflow_value to
6883         determine return values in overflow and underflow cases.  Use
6884         round_away to determine rounding depending on rounding mode.
6885         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6886         determine return values in overflow and underflow cases.
6887         * stdlib/tst-strtod-round.c: Include <fenv.h>.
6888         (struct test_results): New structure.
6889         (struct test): Use struct test_results to store expected results
6890         for all rounding modes.
6891         (TEST): Include expected results for all rounding modes.
6892         (test_in_one_mode): New function.
6893         (do_test): Use test_in_one_mode to compute and check results.
6894         Check results for all rounding modes.
6895         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6896         $(link-libm).
6898 2012-12-09  Allan McRae  <allan@archlinux.org>
6900         * sysdeps/i386/fpu/libm-test-ulps: Update
6902 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
6904         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6905         (_G_int32_t): Likewise.
6906         (_G_uint16_t): Likewise.
6907         (_G_uint32_t): Likewise.
6908         (_G_HAVE_BOOL): Likewise.
6909         (_G_HAVE_ATEXIT): Likewise.
6910         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6911         (_G_HAVE_IO_FILE_OPEN): Likewise.
6912         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6913         (_G_int32_t): Likewise.
6914         (_G_uint16_t): Likewise.
6915         (_G_uint32_t): Likewise.
6916         (_G_HAVE_BOOL): Likewise.
6917         (_G_HAVE_ATEXIT): Likewise.
6918         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6919         (_G_HAVE_IO_FILE_OPEN): Likewise.
6920         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6921         (_G_int32_t): Likewise.
6922         (_G_uint16_t): Likewise.
6923         (_G_uint32_t): Likewise.
6924         (_G_HAVE_BOOL): Likewise.
6925         (_G_HAVE_ATEXIT): Likewise.
6926         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6927         (_G_HAVE_IO_FILE_OPEN): Likewise.
6929 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
6931         * csu/libc-tls.c: Update copyright years.
6933 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
6935         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6936         [!_G_USING_THUNKS]: Remove conditional code.
6937         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6938         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6940         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6941         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6942         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6943         (_G_VTABLE_LABEL_PREFIX): Likewise.
6944         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6945         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6946         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6947         (_G_VTABLE_LABEL_PREFIX): Likewise.
6948         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6949         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6950         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6951         (_G_VTABLE_LABEL_PREFIX): Likewise.
6952         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6954 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
6956         * libio/Makefile: Include ../Makeconfig before tests.
6957         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6958         only if $(build-shared) is yes.
6960         * iconv/gconv_db.c: Update copyright years.
6962 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6964         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6965         unwind info if defined PIC. Fix special cases description.
6966         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6968         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6969         DP_HI_MASK entry.
6970         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6972 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
6974         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6976         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6977         is NULL.
6979         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6980         (LDLIBS-tst-chk4): This.
6981         (LDFLAGS-tst-chk5): Renamed to ...
6982         (LDLIBS-tst-chk5): This.
6983         (LDFLAGS-tst-chk6): Renamed to ...
6984         (LDLIBS-tst-chk6): This.
6985         (LDFLAGS-tst-lfschk4): Renamed to ...
6986         (LDLIBS-tst-lfschk4): This.
6987         (LDFLAGS-tst-lfschk5): Renamed to ...
6988         (LDLIBS-tst-lfschk5): This.
6989         (LDFLAGS-tst-lfschk6): Renamed to ...
6990         (LDLIBS-tst-lfschk6): This.
6992         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6993         on $(common-objpfx)soversions.mk.
6995 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
6997         [BZ #10014]
6998         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6999         example host name.
7001 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7003         * malloc/arena.c (arena_get_retry): New function that gets
7004         another arena for the caller to try its request on.
7005         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7006         current arena cannot fulfill the request.
7007         (__libc_memalign): Likewise.
7008         (__libc_memalign): Likewise.
7009         (__libc_pvalloc): Likewise.
7010         (__libc_calloc): Likewise.
7012 2012-09-05  John Tobey  <john.tobey@gmail.com>
7014         [BZ #13542]
7015         * manual/arith.texi (Operations on Complex): Fix description
7016         of carg branch cut.
7018 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7020         [BZ #10014]
7021         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7022         host name.
7024         [BZ #10038]
7025         * manual/memory.texi (Memory): Make order of menu items match
7026         order of sections.
7028 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7030         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7031         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7032         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7034 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7036         * csu/libc-tls.c (static_dtv): Renamed to ...
7037         (_dl_static_dtv): This.  Make it global.
7038         (_dl_initial_dtv): Removed.
7039         (__libc_setup_tls): Updated.
7040         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7041         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7042         DL_INITIAL_DTV.
7044 2012-09-06  Petr Machata  <pmachata@redhat.com>
7046         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7047         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7048         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7049         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7051 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7053         [BZ #14545]
7054         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7055         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7056         freeing dtv[-1].
7058 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7060         [BZ #14544]
7061         * Makeconfig (link-static-before-libc): Replace $(+prector)
7062         with $(+prectorT).
7063         (link-static-after-libc): Replace $(+postctor) with
7064         $(+postctorT).
7065         (link-bounded): Replace $(+prector)/$(+postctor) with
7066         $(+prectorT)/$(+postctorT).
7067         (+prectorT): New macro.
7068         (+postctorT): Likewise.
7070 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7072         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7073         (round_str): Handle values above the maximum for IBM long double
7074         as inexact.
7075         * stdlib/tst-strtod-round.c (tests): Regenerated.
7077 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7079         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7080         assembler flag.
7081         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7082         zarch_nohighgprs around the zarch optimized routines.
7083         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7084         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7085         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7086         for zarch.
7088 2012-09-05  David S. Miller  <davem@davemloft.net>
7090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7092         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7093         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7094         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7095         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7096         entries.
7098 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7100         * malloc/arena.c: Fold copyright years.
7101         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7103 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7105         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7107 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7109         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7111 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7113         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7114         change internal state upon failure.
7116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7118         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7119         * malloc/memusage.c (mmap): Likewise.
7120         (mmap64, mremap): Likewise.  Adjust name in comment.
7122 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7124         * libio/fileops.c: Fix typos in comments.
7125         * libio/oldfileops.c: Likewise.
7126         * libio/wfileops.c: Likewise.
7128 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7130         [BZ #1349]
7131         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7132         (tst-malloc-usable-ENV): Set environment for test case.
7133         * malloc/hooks.c (malloc_check_get_size): New function to get
7134         requested size.
7135         * malloc/malloc.c (musable): Use malloc_check_get_size.
7136         * malloc/tst-malloc-usable.c: New test case.
7138 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7140         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7142 2012-09-05  Allan McRae  <allan@archlinux.org>
7144         [BZ #13966]
7145         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7146         determine header location.
7147         * configure: Regenerated.
7149 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7151         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7152         float format.
7153         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7154         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7155         format.
7156         (test): Regenerate.
7158 2012-09-04  David S. Miller  <davem@davemloft.net>
7160         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7161         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7162         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7164 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7166         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7167         failures.
7169         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7171 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #9914]
7174         * libio/iogetdelim.c: Include <limits.h>.
7175         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7176         + len + 1 would overflow.
7178 2012-09-03  Andreas Jaeger  <aj@suse.de>
7180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7181         * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7185         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7186         Add s_sinf-sse2, s_conf-sse2.
7188         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7189         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7190         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7191         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7193         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7194         for using routine as __sinf_ia32.
7195         Use macro for function declaration and weak_alias.
7196         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7197         for using routine as __cosf_ia32.
7198         Use macro for function declaration and weak_alias.
7200         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7201         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7203         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7204         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7207         * math/libm-test.inc (cos_test): Add more test cases.
7208         (sin_test): Likewise.
7209         (sincos_test): Likewise.
7211 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7213         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7214         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7215         hidden.
7216         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7218 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7220         [BZ #14538]
7221         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7222         first element of the GOT.
7223         (elf_machine_load_address): Return the difference between
7224         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7226 2012-09-01  Allan McRae  <allan@archlinux.org>
7228         [BZ #13412]
7229         * configure.in (AWK): Require gawk version 3.0 or later.
7230         * configure: Regenerated.
7232 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7234         * sysdeps/unix/sysv/linux/kernel-features.h
7235         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7237         [__NR_clock_getres]: Make code unconditional.
7238         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7239         (clock_getcpuclockid): Remove code left unreachable by removal of
7240         conditionals.
7241         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7242         code unconditional.
7243         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7244         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7245         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7246         Make code unconditional.
7247         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7248         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7249         * sysdeps/unix/sysv/linux/clock_settime.c
7250         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7251         conditional code.
7252         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7253         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7255 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7257         [BZ #14476]
7258         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7259         scripts/test-installation.pl.
7261         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7262         and $ld_so_version if it is set.
7264 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7266         [BZ #14516]
7267         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7268         failure if reading from procfs failed.
7269         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7271 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7273         * sysdeps/unix/sysv/linux/kernel-features.h
7274         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7275         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7276         Remove conditional code.
7277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7278         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7279         Remove conditional code.
7280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7281         * sysdeps/unix/sysv/linux/i386/fxstat.c
7282         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7284         * sysdeps/unix/sysv/linux/i386/fxstatat.c
7285         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7287         * sysdeps/unix/sysv/linux/i386/lxstat.c
7288         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7290         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7291         Remove conditional code.
7292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7293         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7294         Remove conditional code.
7295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7296         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7297         <kernel-features.h>.
7298         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7299         Remove.
7300         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7301         Remove conditional code.
7302         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7303         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7304         Remove conditional.
7306 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
7308         [BZ #5400]
7309         * NEWS: Add fixed bug number.
7311 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7313         [BZ #14519]
7314         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7315         underflowing exponent in case of negative sign.
7316         * stdlib/tst-strtod-round-data: Add more tests.
7317         * stdlib/tst-strtod-round.c (tests): Regenerated.
7319         [BZ #3479]
7320         * stdlib/strtod_l.c (NDIG): Remove.
7321         (HEXNDIG): Likewise.
7322         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7323         smallest representable value.
7324         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7325         lie within an exact representation of 1/2 ulp of the result.
7326         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7327         unconditionally.
7328         (TENS_P9_IDX): Define unconditionally.
7329         (TENS_P9_SIZE): Likewise.
7330         (TENS_P10_IDX): Likewise.
7331         (TENS_P10_SIZE): Likewise.
7332         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7333         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7334         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7335         entries for 10^2^13 and 10^2^14.
7336         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7337         (TENS_P13_IDX): Define.
7338         (TENS_P13_SIZE): Likewise.
7339         (TENS_P14_IDX): Likewise.
7340         (TENS_P14_SIZE): Likewise.
7341         (_fpioconst_pow10): Change array size to
7342         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
7343         unconditional.
7344         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7345         1024]: Add entries for 10^2^13 and 10^2^14.
7346         [LAST_POW10 > _LAST_POW10]: Remove #error.
7347         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7348         (_fpioconst_pow10): Change array size to
7349         FPIOCONST_POW10_ARRAY_SIZE.
7350         * stdlib/gen-fpioconst.c: New file.
7351         * stdlib/gen-tst-strtod-round.c: Likewise.
7352         * stdlib/tst-strtod-round-data: Likewise.
7353         * stdlib/tst-strtod-round.c: Likewise.
7354         * stdlib/Makefile (tests): Add tst-strtod-round.
7356         [BZ #14459]
7357         * stdlib/strtod_l.c: Include <stdint.h>.
7358         (NDEBUG): Do not define.
7359         (round_and_return): Change EXPONENT parameter to type intmax_t.
7360         Rearrange calculations to avoid internal overflow possibilities.
7361         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7362         Rearrange calculations to avoid internal overflow possibilities.
7363         Assert that number fits inside MPNSIZE limbs.
7364         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7365         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
7366         calculations and add assertions to avoid internal overflow
7367         possibilities.  Add casts to avoid signed/unsigned operations.
7368         * stdlib/tst-strtod-overflow.c: New file.
7369         * stdlib/Makefile (tests): Add tst-strtod-overflow.
7371 2012-08-25  Marek Polacek  <polacek@redhat.com>
7373         * time/time.h: Fix some typos in comments.
7375 2012-08-23  Roland McGrath  <roland@hack.frob.com>
7377         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7378         * posix/tst-rfc3484-2.c: Likewise.
7379         * posix/tst-rfc3484-3.c: Likewise.
7381 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
7383         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7384         (EF_ARM_ABI_FLOAT_HARD): Likewise.
7386 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
7388         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7389         #include of fxstatat64.c.
7391 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7393         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7394         * shadow/getspent_r.c: Likewise.
7395         * shadow/getspnam.c: Likewise.
7396         * shadow/getspnam_r.c: Likewise.
7397         * gshadow/getsgent.c: Likewise.
7398         * gshadow/getsgent_r.c: Likewise.
7399         * gshadow/getsgnam.c: Likewise.
7400         * gshadow/getsgnam_r.c: Likewise.
7401         * inet/getnetbyad.c: Likewise.
7402         * inet/getnetbyad_r.c: Likewise.
7403         * inet/getnetbynm.c: Likewise.
7404         * inet/getnetbynm_r.c: Likewise.
7405         * inet/getnetent.c: Likewise.
7406         * inet/getnetent_r.c: Likewise.
7407         * inet/getproto.c: Likewise.
7408         * inet/getproto_r.c: Likewise.
7409         * inet/getprtent.c: Likewise.
7410         * inet/getprtent_r.c: Likewise.
7411         * inet/getprtname.c: Likewise.
7412         * inet/getprtname_r.c: Likewise.
7413         * inet/getrpcbyname.c: Likewise.
7414         * inet/getrpcbyname_r.c: Likewise.
7415         * inet/getrpcbynumber.c: Likewise.
7416         * inet/getrpcbynumber_r.c: Likewise.
7417         * inet/getrpcent.c: Likewise.
7418         * inet/getrpcent_r.c: Likewise.
7419         * inet/getaliasent.c: Likewise.
7420         * inet/getaliasent_r.c: Likewise.
7421         * inet/getaliasname.c: Likewise.
7422         * inet/getaliasname_r.c: Likewise.
7423         * nscd/getgrgid_r.c: Likewise.
7424         * nscd/getgrnam_r.c: Likewise.
7425         * nscd/gethstbyad_r.c: Likewise.
7426         * nscd/gethstbynm3_r.c: Likewise.
7427         * nscd/getpwnam_r.c: Likewise.
7428         * nscd/getpwuid_r.c: Likewise.
7429         * nscd/getsrvbynm_r.c: Likewise.
7430         * nscd/getsrvbypt_r.c: Likewise.
7431         * nscd/gai.c: Likewise.
7433         * configure.in (build_nscd): New substituted variable, set
7434         by --disable-build-nscd and defaults to $use_nscd.
7435         * configure: Regenerated.
7436         * config.make.in (build-nscd): New substituted variable.
7437         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7438         Change conditional to require [$(build-nscd) = yes] as well.
7439         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7441         [BZ# 13696]
7442         * configure.in (use_nscd): New substituted variable, set by
7443         --disable-nscd.  If enabled, define USE_NSCD.
7444         * configure: Regenerated.
7445         * config.h.in: Add USE_NSCD.
7446         * config.make.in (use-nscd): New substituted variable.
7447         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7448         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7449         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7450         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7451         (CFLAGS-getgrnam_r.c): Likewise.
7452         (CFLAGS-initgroups.c): Likewise.
7453         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7454         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7455         Variables removed.
7456         * inet/getnetgrent_r.c
7457         (nscd_setnetgrent): New function, broken out of ...
7458         (setnetgrent): ... here.  Call it.
7459         (innetgr): Conditionalize nscd bits on [USE_NSCD].
7460         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7461         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7462         * nscd/Makefile (routines, aux): Move definitions after include of
7463         Makeconfig.  Conditionalize on [$(use-nscd) != no].
7464         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7465         Conditionalize on [USE_NSCD].
7466         (is_nscd, nscd_init_cb): Likewise.
7467         (nss_load_library): Conditionalize init callback on [USE_NSCD].
7468         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7469         * nss/nss_db/db-init.c: Likewise.
7470         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7471         [USE_NSCD].
7472         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7473         (make_request): Use it.
7474         (cache_valid_p): New function.
7475         (__check_pf): Use it.
7476         * NEWS: Add item for --disable-nscd.
7478 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
7480         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7481         to support sed >= 4.2.1-20-ga9bf076.
7482         * configure: Regenerated.
7484 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7486         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7487         Conditionalize whole body on [IREL].
7489 2012-08-22  Jeff Law <law@redhat.com>
7491         [BZ #14505]
7492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7493         if the family is PF_UNSPEC.
7495 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
7497         * Makerules (lib-version): Rename from V.
7498         (install-lib-nosubdir): Change V to lib-version.
7500 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
7502         [BZ #14252]
7503         * powerpc32/power6/wcschr.c: New file.
7504         * powerpc32/power6/wcscpy.c: New file.
7505         * powerpc32/power6/wcsrchr.c: New file.
7506         * powerpc64/power6/wcschr.c: New file.
7507         * powerpc64/power6/wcscpy.c: New file.
7508         * powerpc64/power6/wcsrchr.c: New file.
7510 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7512         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7513         (two_way_short_needle): Use it.
7514         * string/strstr.c (AVAILABLE1_USES_J): Define.
7515         * string/strcasestr.c: Likewise.
7517         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7518         array references.
7519         * string/strcasestr.c (TOLOWER): Make side-effect safe.
7521         [BZ #11607]
7522         * NEWS: Add an entry.
7523         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7524         define their defaults.
7525         (two_way_short_needle): Detect end-of-string on-the-fly.
7526         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7527         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7528         * string/bug-strcasestr1.c: New test.
7529         * string/Makefile: Run it.
7531 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7533         [BZ #11607]
7534         * string/str-two-way.h (two_way_short_needle): Optimize matching of
7535         the first character.
7537 2012-08-21  Roland McGrath  <roland@hack.frob.com>
7539         * csu/elf-init.c (__libc_csu_irel): Function removed.
7540         * csu/libc-start.c (apply_irel): New function.
7541         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7543 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
7545         * sysdeps/unix/sysv/linux/kernel-features.h
7546         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7547         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7548         <kernel-features.h>.
7549         [__NR_fadvise64_64]: Make code unconditional.
7550         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7551         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7552         !__NR_fadvise64_64)]: Likewise.
7553         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7554         !__NR_fadvise64_64))]: Likewise.
7555         [__NR_fadvise64]: Make code unconditional.
7556         [!__NR_fadvise64]: Remove conditional code.
7557         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7558         <kernel-features.h>.
7559         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7560         unconditional.
7561         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7562         conditional code.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7564         not include <kernel-features.h>.
7565         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7566         unconditional.
7567         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7568         conditional code.
7569         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7570         include <kernel-features.h>.
7571         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7572         unconditional.
7573         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7574         conditional code.
7576 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7579         slight instruction rearrangements per scrollpipe analysis.
7580         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7582 2012-08-20  Roland McGrath  <roland@hack.frob.com>
7584         * manual/syslog.texi (syslog; vsyslog, closelog):
7585         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7586         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7588         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7589         DSOCAPS to match condition on defining it.
7591 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
7593         * sysdeps/unix/sysv/linux/kernel-features.h
7594         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7596         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7597         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7599         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7600         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7602         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7603         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7605         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7606         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7608         * sysdeps/unix/sysv/linux/kernel-features.h
7609         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7610         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7611         unconditional.
7612         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7613         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7614         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7615         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7616         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7617         Make code unconditional.
7618         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7619         (__mmap64) [!__NR_mmap2]: Likewise.
7620         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7621         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7622         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7624         [__NR_mmap2]: Make code unconditional.
7625         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7626         (__mmap64) [!__NR_mmap2]: Likewise.
7628 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7630         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7632 2012-08-18  Andreas Jaeger  <aj@suse.de>
7634         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7636 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7638         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7639         * include/unistd.h (__have_sock_cloexec): Likewise.
7640         (__have_pipe2): Likewise.
7641         (__have_dup3): Likewise.
7643 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7645         [BZ #9685]
7646         * include/unistd.h (__have_pipe2): Change define into an extern int.
7647         (__have_dup3): Likewise.
7648         * socket/have_sock_cloexec.c: Include fcntl.h.
7649         (__have_pipe2): New variable.
7650         (__have_dup3): Likewise.
7652 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
7654         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7656 2012-08-17  Marek Polacek  <polacek@redhat.com>
7658         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7659         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7661 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7663         * configure.in: Add AC_SUBST for sysheaders.
7664         * configure: Regenerated.
7665         * config.make.in (sysheaders): New substituted variable.
7667         * sysdeps/unix/mkfifo.c: Moved ...
7668         * sysdeps/posix/mkfifo.c: ... here.
7669         * sysdeps/unix/mkfifoat.c: Moved ...
7670         * sysdeps/posix/mkfifoat.c: ... here.
7672         * sysdeps/unix/utime.c: Moved ...
7673         * sysdeps/posix/utime.c: ... here.
7675         * sysdeps/unix/time.c: Moved ...
7676         * sysdeps/posix/time.c: ... here.
7677         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7678         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7680         * sysdeps/unix/nice.c: Moved ...
7681         * sysdeps/posix/nice.c: ... here.
7683         * sysdeps/unix/alarm.c: Moved ...
7684         * sysdeps/posix/alarm.c: ... here.
7686         * intl/Makefile ($(codeset_mo)): Depend on the input file.
7688 2012-08-17  Jeff Law <law@redhat.com>
7690         * intl/Makefile (codeset_mo): New variable.
7691         ($(codeset_mo)): New target.
7692         (tst-codeset.out): Depend on that.  Remove explicit rule.
7693         (tst-gettext3.out, tst-gettext5.out): Likewise.
7694         (LOCPATH-ENV, tst-codeset-ENV): New variables.
7695         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7696         * intl/tst-codeset.sh: Remove.
7697         * intl/tst-gettext3.sh: Likewise.
7698         * intl/tst-gettext5.sh: Likewise.
7700 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7702         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
7703         * sysdeps/unix/syscalls.list: ... here.
7705         * sysdeps/posix/getaddrinfo.c
7706         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7707         (gaiconf_init, gaiconf_reload): Use them.
7708         [!_STATBUF_ST_NSEC]
7709         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7710         Define using time_t rather than struct timespec.
7712         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7713         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7714         Macros removed.
7715         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7716         [!NO_THREADS].
7717         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7718         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7719         Likewise.
7721         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7722         __libc_cleanup_push argument.
7724         * bits/param.h: New file.
7725         * misc/sys/param.h: New file.
7726         * include/sys/param.h: New file.
7727         * misc/Makefile (headers): Add bits/param.h.
7728         * sysdeps/generic/sys/param.h: File removed.
7729         * sysdeps/unix/sysv/linux/bits/param.h: New file.
7730         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7731         * sysdeps/mach/hurd/bits/param.h: New file.
7732         * sysdeps/mach/hurd/sys/param.h: File removed.
7734         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7735         last change.
7737         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7738         [_IO_MTSAFE_IO].
7739         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7740         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7741         New macros.
7743         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7744         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7745         rather than -D_IO_MTSAFE_IO conditionally.
7746         * stdio-common/Makefile (CPPFLAGS): Likewise.
7747         * wcsmbs/Makefile (CPPFLAGS): Likewise.
7748         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7749         Use $(libio-mtsafe).
7750         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7751         of -D_IO_MTSAFE_IO.
7752         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7753         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7754         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7755         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7756         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7757         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7758         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7759         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7760         (CFLAGS-fread_u_chk.c): Likewise.
7761         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7762         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7763         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7764         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7765         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7766         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7767         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7768         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7769         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7771         * libio/Makefile: Test [$(libc-reentrant) = yes]
7772         instead of [$(filter %REENTRANT, $(defines)) nonempty].
7774         * Makeconfig
7775         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7776         * sysdeps/pthread/configure: File removed.
7777         * sysdeps/pthread/Makeconfig: New file.
7778         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7779         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7781 2012-08-16  Gary Benson  <gbenson@redhat.com>
7783         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7784         unmapping the first object in a namespace.
7786 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7788         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7789         (__internal_setnetgrent): ... this.  Add internal_function to
7790         definition.  Add libc_hidden_def.
7791         (setnetgrent): Update caller.
7792         (internal_endnetgrent): Renamed to ...
7793         (__internal_endnetgrent): ... this.  Add internal_function to
7794         definition.  Add libc_hidden_def.
7795         (endnetgrent): Update caller.
7796         (internal_getnetgrent_r): Renamed to ...
7797         (__internal_getnetgrent_r): ... this.  Add internal_function to
7798         definition.  Add libc_hidden_def.
7799         (__getnetgrent_r): Update caller.
7800         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
7802 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7804         * stdlib/longlong.h: Update from GCC.
7806 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7808         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7809         on _QL, which is set by umul_ppmm but never used.
7810         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7811         variables, which are set by GMP macros but never used.
7812         * stdio-common/_itowa.c (_itowa): Likewise.
7813         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7814         * stdlib/mod_1.c (mpn_mod_1): Likewise.
7816 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
7818         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7819         struct La_sh_regs is not constant.
7820         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7821         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7822         and struct La_sparc64_regs are not constant.
7824 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7826         * sysdeps/unix/sysv/linux/kernel-features.h
7827         (__ASSUME_POSIX_TIMERS): Remove.
7828         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7829         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7830         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7831         Make code unconditional.
7832         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7833         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7834         Make code unconditional.
7835         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7836         * sysdeps/unix/sysv/linux/clock_nanosleep.c
7837         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7839         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7840         Make code unconditional.
7841         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7842         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7843         (__libc_missing_posix_timers): Remove.
7845 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7847         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7848         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7850         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7852         * elf/dl-sym.c: Include <stdlib.h>.
7854         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7855         constants, which avoids warnings in 32-bit builds.
7857         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7858         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7860         * misc/lseek.c: File moved to ...
7861         * io/lseek.c: ... here.
7863         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7865         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7866         shifting LEN more than 31 bits at once.
7868 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7870         [BZ #14195]
7871         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7872         segmentation fault for a case of two empty input strings.
7873         * string/test-strncasecmp.c (check1): Renamed to...
7874         (bz12205): ...this.
7875         (bz14195): Add new testcase for two empty input strings and N > 0.
7876         (test_main): Call new testcase, adapt for renamed function.
7878 2012-08-15  Andreas Jaeger  <aj@suse.de>
7880         [BZ #14090]
7881         * crypt/md5test2.c: New test, based on test supplied by Serge
7882         Belyshev <belyshev@depni.sinp.msu.ru>.
7883         * crypt/Makefile (xtests): Add md5test-giant..
7884         * crypt/Makefile ($(objpfx)md5test-giant): Add.
7886 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
7888         [BZ #14090]
7889         * crypt/md5.c (md5_process_block): Don't assume the buffer
7890         length is less than 2**32.
7891         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7892         length is less than 2**64.
7894 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7896         * string/str-two-way.h: Include <sys/param.h>.
7897         (MAX): Macro removed.
7899         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7900         Move #define and #undef of memmove to just before and after
7901         including <string.h>.
7903         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7904         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7905         and after including <string.h>.  Move declarations of
7906         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7907         to before #include "string/memmove.c".
7909         * include/dirent.h: Declare __getdirentries.
7911         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7912         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7914 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
7916         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7917         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7918         * sysdeps/i386/configure: Regenerated.
7919         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7920         STABS_CURRENT_FILE, and STABS_FUN.
7921         (END): Remove call to STABS_FUN_END.
7922         (STABS_CURRENT_FILE1): Delete.
7923         (STABS_CURRENT_FILE): Likewise.
7924         (STABS_FUN): Likewise.
7925         (STABS_FUN_END): Likewise.
7926         (STABS_FUN2): Likewise.
7927         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7928         * sysdeps/x86_64/configure: Regenerated.
7930 2012-08-14  Roland McGrath  <roland@hack.frob.com>
7932         * elf/dl-open.c: Include <atomic.h>.
7933         * elf/dl-lookup.c: Likewise.
7935 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
7937         * sysdeps/unix/sysv/linux/kernel-features.h
7938         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7939         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7940         unconditionally.
7941         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7942         unconditionally.
7943         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7944         condition on __ASSUME_CLONE_THREAD_FLAGS.
7946 2012-08-14  Andreas Jaeger  <aj@suse.de>
7948         * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
7952         * include/atomic.h (atomic_exchange_and_add): Split into ...
7953         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7954         New atomic macros.
7956 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
7958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7960 2012-08-13  Jeff Law <law@redhat.com>
7962         * manual/stdio.texi (snprintf): Clarify handling of the trailing
7963         null byte in the output string.
7965 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
7967         * sysdeps/unix/sysv/linux/kernel-features.h
7968         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7969         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7970         (__ASSUME_ARG_MAX_STACK_BASED): Define.
7971         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7972         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7973         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
7974         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7976 2012-08-09  Jeff Law <law@redhat.com>
7978         [BZ #13939]
7979         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7980         When avoid_arena is set, don't retry in the that arena.  Pick the
7981         next one, whatever it might be.
7982         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7983         (arena_lock): Pass in new parameter to arena_get2.
7984         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7985         arena_get2.
7986         (__libc_malloc): Unify retrying after main arena failure with
7987         __libc_memalign version.
7988         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7990 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7992         [BZ #14166]
7993         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7994         to __redirect_strstr.
7995         (__strstr_sse42): Use typeof __redirect_strstr.
7996         (__strstr_ia32): Likewise.
7997         (__libc_strstr): New prototype.
7998         (strstr): Renamed to ...
7999         (__libc_strstr): This.
8000         (strstr): New strong alias of __libc_strstr.
8001         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8002         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8003         __redirect_time.
8004         Include <time.h>.
8005         (__libc_time): New prototype.
8006         (time_ifunc): Replace time with __libc_time.
8007         (time): New strong alias and hidden definition of __libc_time.
8008         (__GI_time): Remove strong alias.
8009         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8010         Include <stddef.h>.
8011         (memmove): Redefined to __redirect_memmove.
8012         (__memmove_sse2): Use typeof __redirect_memmove.
8013         (__memmove_ssse3): Likewise.
8014         (__memmove_ssse3_back): Likewise.
8015         (__libc_memmove): New prototype.
8016         (memmove): Renamed to ...
8017         (__libc_memmove): This.
8018         (memmove): New strong alias of __libc_memmove.
8020 2012-08-08  Mark Salter  <msalter@redhat.com>
8022         * elf/elf.h
8023         (R_MN10300_TLS_GD): Define.
8024         (R_MN10300_TLS_LD): Likewise.
8025         (R_MN10300_TLS_LDO): Likewise.
8026         (R_MN10300_TLS_GOTIE): Likewise.
8027         (R_MN10300_TLS_IE): Likewise.
8028         (R_MN10300_TLS_LE): Likewise.
8029         (R_MN10300_TLS_DTPMOD): Likewise.
8030         (R_MN10300_TLS_DTPOFF): Likewise.
8031         (R_MN10300_TLS_TPOFF): Likewise.
8032         (R_MN10300_SYM_DIFF): Likewise.
8033         (R_MN10300_ALIGN): Likewise.
8034         (R_MN10300_NUM): Update.
8036 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8039         Remove.
8041 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8043         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8045         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8046         sysdeps/unix -> sysdeps/posix move.
8047         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8049 2012-08-07      Allan McRae     <allan@archlinux.org>
8051         [BZ #14303]
8052         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8053         (SUNOS_CPP): Likewise.
8054         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8055         not found.
8056         (open_input): Call CPP using execvp.
8058 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8060         * sysdeps/unix/sysv/linux/kernel-features.h
8061         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8062         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8063         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8064         (__ASSUME_WAITID_SYSCALL): Likewise.
8065         * sysdeps/unix/sysv/linux/dl-execstack.c
8066         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8067         code unconditional.
8068         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8069         conditional code.
8070         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8071         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8072         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8073         code.
8074         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8075         unconditional.
8076         [__ASSUME_WAITID_SYSCALL]: Likewise.
8077         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8079 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8081         * sysdeps/unix/closedir.c: Renamed to ...
8082         * sysdeps/posix/closedir.c: ... here.
8083         * sysdeps/unix/dirfd.c: Renamed to ...
8084         * sysdeps/posix/dirfd.c: ... here.
8085         * sysdeps/unix/dirstream.h: Renamed to ...
8086         * sysdeps/posix/dirstream.h: ... here.
8087         * sysdeps/unix/fdopendir.c: Renamed to ...
8088         * sysdeps/posix/fdopendir.c: ... here.
8089         * sysdeps/unix/opendir.c: Renamed to ...
8090         * sysdeps/posix/opendir.c: ... here.
8091         * sysdeps/unix/readdir.c: Renamed to ...
8092         * sysdeps/posix/readdir.c: ... here.
8093         * sysdeps/unix/readdir_r.c: Renamed to ...
8094         * sysdeps/posix/readdir_r.c: ... here.
8095         * sysdeps/unix/rewinddir.c: Renamed to ...
8096         * sysdeps/posix/rewinddir.c: ... here.
8097         * sysdeps/unix/seekdir.c: Renamed to ...
8098         * sysdeps/posix/seekdir.c: ... here.
8099         * sysdeps/unix/telldir.c: Renamed to ...
8100         * sysdeps/posix/telldir.c: ... here.
8101         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8102         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8103         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8104         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8106         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8107         * bits/fcntl.h: ... here.
8109         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8110         not 0.
8111         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8112         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8113         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8114         (struct flock): Move l_start, l_len to the beginning.
8115         Use __pid_t for l_pid.
8116         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8117         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8118         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8119         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8120         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8121         [__USE_LARGEFILE64] (struct flock64): New type.
8122         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8124         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8125         * bits/dirent.h: ... here.
8127         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8128         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8130 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8132         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8133         Change from 2.6.0 to 2.6.16.
8134         * sysdeps/unix/sysv/linux/configure: Regenerated.
8135         * sysdeps/unix/sysv/linux/kernel-features.h
8136         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8137         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8138         version.
8139         (__ASSUME_UTIMES): Likewise.
8140         (__ASSUME_CLONE_STOPPED): Remove.
8141         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8142         architectures, not kernel version.
8143         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8144         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8145         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8146         (__ASSUME_WAITID_SYSCALL): Likewise.
8147         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8148         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8149         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8150         refer to older versions.
8152 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8154         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8155         Define alphasort64 as an alias.
8156         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8157         Define versionsort64 as an alias.
8158         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8159         Define scandir64 as an alias.
8160         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8161         Define scandirat64 as an alias.
8162         * dirent/alphasort64.c (alphasort64):
8163         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8164         * dirent/versionsort64.c: Likewise.
8165         * dirent/scandir64.c: Likewise.
8166         * dirent/scandirat64.c: Likewise.
8167         * sysdeps/wordsize-64/alphasort.c: File removed.
8168         * sysdeps/wordsize-64/alphasort64.c: File removed.
8169         * sysdeps/wordsize-64/scandir.c: File removed.
8170         * sysdeps/wordsize-64/scandir64.c: File removed.
8171         * sysdeps/wordsize-64/scandirat.c: File removed.
8172         * sysdeps/wordsize-64/scandirat64.c: File removed.
8173         * sysdeps/wordsize-64/versionsort.c: File removed.
8174         * sysdeps/wordsize-64/versionsort64.c: File removed.
8175         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8176         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8177         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8178         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8179         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8180         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8181         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8182         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8184         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8186         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8187         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8188         [defined __arch64__ || defined __sparcv9]
8189         (__INO_T_MATCHES_INO64_T): New macro.
8190         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8191         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8192         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8193         * sysdeps/unix/sysv/linux/bits/dirent.h
8194         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8195         (_DIRENT_MATCHES_DIRENT64): New macro.
8197         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8198         Define lockf64 as an alias.
8199         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8200         Define fseeko64 as an alias.
8201         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8202         Define ftello64 as an alias.
8203         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8204         Define _IO_fgetpos64 and fgetpos64 as aliases.
8205         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8206         Define _IO_fsetpos64 and fsetpos64 as aliases.
8207         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8208         Conditionalize body on this.
8209         * libio/fseeko64.c: Likewise.
8210         * libio/ftello64.c: Likewise.
8211         * libio/iofgetpos64.c: Likewise.
8212         * libio/iofsetpos64.c: Likewise.
8213         * sysdeps/wordsize-64/lockf.c: File removed.
8214         * sysdeps/wordsize-64/lockf64.c: File removed.
8215         * sysdeps/wordsize-64/fseeko.c: File removed.
8216         * sysdeps/wordsize-64/fseeko64.c: File removed.
8217         * sysdeps/wordsize-64/ftello.c: File removed.
8218         * sysdeps/wordsize-64/ftello64.c: File removed.
8219         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8220         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8221         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8222         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8223         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8224         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8225         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8226         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8227         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8228         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8229         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8230         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8231         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8232         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8234         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8235         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8236         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8237         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8238         [defined __arch64__ || defined __sparcv9]
8239         (__OFF_T_MATCHES_OFF64_T): New macro.
8240         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8241         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8242         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8243         (__OFF_T_MATCHES_OFF64_T): New macro.
8245 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8247         * stdlib/secure-getenv.c (__secure_getenv): Replace
8248         GLIBC_2_16 with GLIBC_2_17.
8250 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8252         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8253         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8255 2012-08-03  David S. Miller  <davem@davemloft.net>
8257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8259 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8262         Remove.
8263         (__ASSUME_CORRECT_SI_PID): Likewise.
8264         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8265         (__ASSUME_TMPFS_NAME): Likewise.
8266         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8267         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8268         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8269         (HAVE_AUX_SECURE): Make definition unconditional.
8270         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8271         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8273 2012-08-03  Roland McGrath  <roland@hack.frob.com>
8275         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8276         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8277         * sysdeps/mach/hurd/eloop-threshold.h: New file.
8278         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8279         __eloop_threshold instead of SYMLOOP_MAX.
8281         * sysdeps/generic/eloop-threshold.h: New file.
8282         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8283         of MAXSYMLINKS.
8284         * elf/chroot_canon.c (chroot_canon): Likewise.
8286 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8288         [BZ #13717]
8289         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8290         Change to 2.6.0 everywhere.
8291         * sysdeps/unix/sysv/linux/configure: Regenerated.
8292         * sysdeps/unix/sysv/linux/kernel-features.h
8293         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8294         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8295         kernel versions.
8296         (__ASSUME_POSIX_TIMERS): Define unconditionally.
8297         (__ASSUME_FUTEX_REQUEUE): Remove.
8298         (__ASSUME_STATFS64): Define unconditionally.
8299         (__ASSUME_AT_SECURE): Likewise.
8300         (__ASSUME_CORRECT_SI_PID): Likewise.
8301         (__ASSUME_TGKILL): Define without depending on kernel version for
8302         i386.
8303         (__ASSUME_UTIMES): Likewise.
8304         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8305         kernel version.
8306         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8307         (__ASSUME_TMPFS_NAME): Likewise.
8308         * README: Update reference to Linux kernel versions.
8310 2012-08-02  Marek Polacek  <polacek@redhat.com>
8312         [BZ# 14150]
8313         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
8314         libc_cv_asm_type_prefix with %.
8315         * configure: Regenerated.
8316         * include/libc-symbols.h: Remove comment about
8317         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8318         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8319         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8320         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8321         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8322         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8323         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8324         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8325         * elf/tst-unique2mod1.c: Likewise.
8326         * elf/tst-unique1mod2.c: Likewise.
8327         * elf/tst-unique1mod1.c: Likewise.
8328         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8329         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8330         Replace ASM_TYPE_DIRECTIVE with .type.
8331         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8332         * sysdeps/i386/sysdep.h: Likewise.
8333         * sysdeps/x86_64/sysdep.h: Likewise.
8334         * sysdeps/sh/sysdep.h: Likewise.
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8336         Do not define ASM_TYPE_DIRECTIVE.
8337         * sysdeps/powerpc/sysdep.h: Likewise.
8338         * sysdeps/powerpc/powerpc32/sysdep.h:
8339         Replace ASM_TYPE_DIRECTIVE with .type.
8340         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8341         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8342         * sysdeps/i386/fpu/e_powf.S: Likewise.
8343         * sysdeps/i386/fpu/e_expl.S: Likewise.
8344         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8345         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8346         * sysdeps/i386/fpu/e_pow.S: Likewise.
8347         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8348         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8349         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8350         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8351         * sysdeps/i386/fpu/e_log2.S: Likewise.
8352         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8353         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8354         * sysdeps/i386/fpu/e_powl.S: Likewise.
8355         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8356         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8357         * sysdeps/i386/fpu/e_logl.S: Likewise.
8358         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8359         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8360         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8361         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8362         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8363         * sysdeps/i386/fpu/e_log.S: Likewise.
8364         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8365         * sysdeps/i386/fpu/e_logf.S: Likewise.
8366         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8367         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8368         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8369         * sysdeps/i386/fpu/e_log10.S: Likewise.
8370         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8371         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8372         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8373         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8374         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8375         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8376         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8377         * sysdeps/i386/i686/strtok.S: Likewise.
8378         * sysdeps/i386/i386-mcount.S: Likewise.
8379         * sysdeps/i386/strtok.S: Likewise.
8380         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8381         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8382         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8383         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8384         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8385         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8386         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8387         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8388         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8389         * sysdeps/x86_64/_mcount.S: Likewise.
8390         * sysdeps/x86_64/strtok.S: Likewise.
8391         * sysdeps/sh/_mcount.S: Likewise.
8393 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8395         * libio/iofopen.c: Include <fcntl.h>.
8396         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8397         (_IO_fopen64, fopen64): Define as aliases.
8398         * libio/iofopen64.c: Include <fcntl.h>.
8399         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8400         Conditionalize body on this.
8401         * sysdeps/wordsize-64/iofopen.c: File removed.
8402         * sysdeps/wordsize-64/iofopen64.c: File removed.
8404 2012-08-01  Marek Polacek  <polacek@redhat.com>
8406         * libc/Makeconfig: Use elf in place of binfmt-subdir.
8407         Use dlfcn directly instead of a variable.
8408         (binfmt-subdir): Do not define.
8409         (dlfcn): Likewise.
8411 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
8413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8414         Remove all definitions.
8415         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8416         <kernel-features.h>.
8417         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8418         (miss_F_GETOWN_EX): Remove all definitions.
8419         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8420         macro definition.
8421         [!__ASSUME_FCNTL64]: Remove conditional code.
8422         [__ASSUME_FCNTL64]: Make code unconditional.
8423         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8424         <kernel-features.h>.
8425         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8426         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8427         (lockf64) [__NR_fcntl64]: Make code unconditional.
8428         (lockf64) [__ASSUME_FCNTL64]: Likewise.
8430         * sysdeps/unix/sysv/linux/kernel-features.h
8431         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8432         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8433         Make code unconditional.
8434         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8435         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8437         [__NR_vfork]: Make code unconditional.
8438         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8439         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8441         [__NR_vfork]: Make code unconditional.
8442         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8443         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8445 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8447         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8448         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8450         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8451         Define mkstemp64 as an alias.
8452         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8453         Define mkstemps64 as an alias.
8454         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8455         Define mkostemp64 as an alias.
8456         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8457         Define mkostemps64 as an alias.
8458         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8459         Conditionalize body on this.
8460         * misc/mkostemp64.c: Likewise.
8461         * misc/mkostemps64.c: Likewise.
8462         * misc/mkstemps64.c: Likewise.
8463         * sysdeps/wordsize-64/mkstemp64.c: File removed.
8464         * sysdeps/wordsize-64/mkostemp64.c: File removed.
8465         * sysdeps/wordsize-64/mkostemp.c: File removed.
8466         * sysdeps/wordsize-64/mkstemp.c: File removed.
8467         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8468         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8469         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8470         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8472         [BZ #14138]
8473         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8474         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8475         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8476         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8478         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8479         compat_symbol macros from <shlib-compat.h> rather than the underlying
8480         default_symbol_version and symbol_version macros, so that DEFAULT
8481         lines in shlib-versions are respected.
8482         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8484 2012-08-01  Florian Weimer  <fweimer@redhat.com>
8486         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8487         Declare with warn_unused_result.
8488         (setgid, setregid, setegid, setresgid): Likewise.
8489         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8490         Likewise.
8491         * WUR-REPORT: Remove set*id functions.
8493 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
8495         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8497 2012-07-31  Roland McGrath  <roland@hack.frob.com>
8499         * include/sys/socket.h (__libc_accept, __libc_accept4):
8500         Add attribute_hidden.
8501         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8503         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8504         use of PTR_MANGLE.
8505         * inet/getnetgrent_r.c (setup): Likewise.
8507         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8509 2012-07-31  David S. Miller  <davem@davemloft.net>
8511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8513 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
8515         [BZ #13629]
8516         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8517         value between 1.0 and 2.0 and smaller part has absolute value less
8518         than 1.0.
8519         * math/s_clog10.c (__clog10): Likewise.
8520         * math/s_clog10f.c (__clog10f): Likewise.
8521         * math/s_clog10l.c (__clog10l): Likewise.
8522         * math/s_clogf.c (__clogf): Likewise.
8523         * math/s_clogl.c (__clogl): Likewise.
8524         * math/libm-test.inc (clog_test): Add more tests.
8525         (clog10_test): Likewise.
8526         * sysdeps/i386/fpu/libm-test-ulps: Update.
8527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8529 2012-07-31  Florian Weimer  <fweimer@redhat.com>
8531         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8532         Exit with zero in case no suitable GID is found, and write a
8533         message to standard error.
8535 2012-07-30  Roland McGrath  <roland@hack.frob.com>
8537         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8538         rather than to 1.
8539         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8540         (MAXPATHLEN): Removed.
8541         (NOGROUP, NODEV): New macros.
8542         (setbit, clrbit, isset, isclr): New macros.
8543         (howmany, roundup, powerof2): New macros.
8544         (DEV_BSIZE): New macro.
8546         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8547         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8549         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8550         definition on [!__NO_LONG_DOUBLE_MATH].
8552         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8553         PTR_MANGLE and PTR_DEMANGLE.
8555         * socket/accept4.c (accept4): Rename to __libc_accept4.
8556         Define accept4 as a weak alias.
8558         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8559         on [_DIRENT_HAVE_D_TYPE].
8560         * io/ftw.c (ftw_dir): Likewise.
8562         * io/xmknod.c (__xmknod): Don't check PATH for being null.
8564         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8566         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8567         Use the BSD numbers rather than the arbitrary ones we had.
8568         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8569         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8570         (SIGXCPU, SIGXFSZ): New macros.
8571         (_NSIG): Now 32.
8573         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8574         initializer on [_LIBC_REENTRANT].
8576         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8577         definitions inside [_POSIX_MAPPED_FILES].
8579         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8581         * dirent/opendir.c: Include <fcntl.h>.
8583         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8584         (__libc_getspecific): Likewise.
8585         (__libc_key_create): Likewise.
8587         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8588         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8589         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8590         (tmpfile64): Define as alias.
8591         * sysdeps/wordsize-64/tmpfile.c: File removed.
8592         * sysdeps/wordsize-64/tmpfile64.c: File removed.
8593         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8594         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8596         * stdio-common/vfscanf.c: Include <stdbool.h>.
8597         * nss/makedb.c: Likewise.
8598         * stdio-common/_i18n_number.h: Likewise.
8599         * argp/argp-help.c: Likewise.
8600         * posix/wordexp.c: Likewise.
8601         * sysdeps/posix/spawni.c: Likewise.
8602         * nss/nss_files/files-initgroups.c: Likewise.
8603         * stdio-common/reg-modifier.c: Include <stdlib.h>.
8604         * nss/nss_files/files-initgroups.c: Likewise.
8605         * nss/nss_db/db-netgrp.c: Likewise.
8606         * nss/nss_db/db-initgroups.c: Likewise.
8607         * io/fchmodat.c: Include <sys/stat.h>.
8609         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8610         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8612         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8613         [HAVE_MMAP].
8615         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8616         Add multiple inclusion protection.
8618 2012-07-27  David S. Miller  <davem@davemloft.net>
8620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8622 2012-07-27  Gary Benson  <gbenson@redhat.com>
8624         [BZ #14298]
8625         * elf/rtld.c: Include <stap-probe.h>.
8626         (dl_main): Added static probes "init_start" and "init_complete".
8627         * elf/dl-load.c: Include <stap-probe.h>.
8628         (lose): Take new parameter "nsid".
8629         Added static probe "map_failed".
8630         (_dl_map_object_from_fd): Pass namespace id to lose.
8631         Added static probe "map_start".
8632         (open_verify): Pass namespace id to lose.
8633         * elf/dl-open.c: Include <stap-probe.h>.
8634         (dl_open_worker) Added static probes "map_complete", "reloc_start"
8635         and "reloc_complete".
8636         * elf/dl-close.c: Include <stap-probe.h>.
8637         (_dl_close_worker): Added static probes "unmap_start" and
8638         "unmap_complete".
8639         * elf/rtld-debugger-interface.txt: New file documenting the above.
8641 2012-07-26  Roland McGrath  <roland@hack.frob.com>
8643         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8644         rather than a string variable.
8645         * sunrpc/rpc_main.c (h_output): Likewise.
8646         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8648 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
8650         * inet/check_native.c: New file.
8652 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
8654         [BZ #13629]
8655         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8656         if larger part has absolute value 1.0.
8657         * math/s_clog10.c (__clog10): Likewise.
8658         * math/s_clog10f.c (__clog10f): Likewise.
8659         * math/s_clog10l.c (__clog10l): Likewise.
8660         * math/s_clogf.c (__clogf): Likewise.
8661         * math/s_clogl.c (__clogl): Likewise.
8662         * math/libm-test.inc (clog_test): Add more tests.
8663         (clog10_test): Likewise.
8664         * sysdeps/i386/fpu/libm-test-ulps: Update.
8665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8667         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8668         (pltexit): Likewise.
8669         (La_regs): Likewise.
8670         (La_retval): Likewise.
8671         (int_retval): Likewise.
8672         Update #error for removed macros to refer only to definitions in
8673         tst-audit.h.
8674         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8675         macro.
8676         (pltexit): Likewise.
8677         (La_regs): Likewise.
8678         (La_retval): Likewise.
8679         (int_retval): Likewise.
8680         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8681         macro.
8682         (pltexit): Likewise.
8683         (La_regs): Likewise.
8684         (La_retval): Likewise.
8685         (int_retval): Likewise.
8686         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8687         macro.
8688         (pltexit): Likewise.
8689         (La_regs): Likewise.
8690         (La_retval): Likewise.
8691         (int_retval): Likewise.
8692         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8693         macro.
8694         (pltexit): Likewise.
8695         (La_regs): Likewise.
8696         (La_retval): Likewise.
8697         (int_retval): Likewise.
8698         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8699         macro.
8700         (pltexit): Likewise.
8701         (La_regs): Likewise.
8702         (La_retval): Likewise.
8703         (int_retval): Likewise.
8704         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8705         macro.
8706         (pltexit): Likewise.
8707         (La_regs): Likewise.
8708         (La_retval): Likewise.
8709         (int_retval): Likewise.
8710         * sysdeps/generic/tst-audit.h: Update comment to refer only to
8711         macro definitions in tst-audit.h.
8712         * sysdeps/i386/tst-audit.h: New file.
8713         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8714         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8715         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8716         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8717         * sysdeps/sh/tst-audit.h: Likewise.
8718         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8719         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8720         * sysdeps/x86_64/tst-audit.h: Likewise.
8722 2012-07-26  Andreas Jaeger  <aj@suse.de>
8724         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8725         ptrace.
8727         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8728         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8729         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8730         PTRACE_O_MASK.
8731         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8732         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8733         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8735         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8736         value.
8738         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8739         _sigsys.
8740         (si_call_addr, si_syscall, si_arch): Define new macro.
8741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8742         _sigsys.
8743         (si_call_addr, si_syscall, si_arch): Define new marcro.
8744         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8745         _sigsys.
8746         (si_call_addr, si_syscall, si_arch): Define new macro.
8747         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8748         _sigsys.
8749         (si_call_addr, si_syscall, si_arch): Define new macro.
8751 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8753         [BZ #13717]
8754         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8755         Change to 2.4.21 where previously 2.4.1.
8756         * sysdeps/unix/sysv/linux/configure: Regenerated.
8757         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8758         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8759         Linux kernel version.
8760         (__ASSUME_STD_AUXV): Remove.
8761         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8762         kernel version.
8763         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8764         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8765         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8766         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8767         (__ASSUME_NETLINK_SUPPORT): Likewise.
8768         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8769         (__no_netlink_support): Remove conditional definition.
8770         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8771         Remove.
8772         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8773         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8774         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8775         (if_nameindex_ioctl): Remove.
8776         (if_nameindex_netlink): Do not handle __no_netlink_support.
8777         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8778         code.
8779         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8780         Remove conditional code.
8781         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8782         code.
8783         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8784         unconditional.
8785         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8786         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8787         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8788         Remove.
8789         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8790         [!__ASSUME_STD_AUXV]: Remove conditional code.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8792         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8793         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8795         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8796         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8797         code.
8798         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8800         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8801         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8802         conditional code.
8803         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8805         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8806         code.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8808         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8809         conditional code.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8811         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8812         code unconditional.
8813         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8814         conditional code.
8815         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8816         unconditional.
8817         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8818         conditional code.
8819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8820         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8821         unconditional.
8822         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8823         conditional code.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8825         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8826         code unconditional.
8827         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8828         conditional code.
8829         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8830         unconditional.
8831         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8832         conditional code.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8834         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8835         code unconditional.
8836         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8837         conditional code.
8838         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8839         unconditional.
8840         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8841         conditional code.
8843 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
8845         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8846         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8847         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8848         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8849         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8850         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8851         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8852         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8853         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8854         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8855         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8856         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8857         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8858         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8859         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8860         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8861         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8862         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8863         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8865         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8866         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8867         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8869 2012-07-25  Florian Weimer  <fweimer@redhat.com>
8871         * Versions.def: Add GLIBC_2.17.
8872         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8873         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8874         Introduce __libc_secure_getenv.
8875         * stdlib/Versions (2.17): Add secure_getenv
8876         (GLIBC_PRIVATE): Add __libc_secure_getenv.
8877         * stdlib/secure-getenv.c: Rename __secure_getenv to
8878         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
8879         symbol __secure_getenv for GLIBC_2.0.
8880         * stdlib/tst-secure-getenv.c: New.
8881         * stdlib/Makefile (tests): Add testcase.
8882         * manual/startup.texi (Environment Access): Document
8883         secure_getenv.
8884         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8885         __libc_secure_getenv.
8886         * inet/ruserpass.c (ruserpass): Likewise.
8887         * malloc/mtrace.c (mtrace): Likewise.
8888         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8889         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8890         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8891         * sysdeps/posix/tempname.c: Likewise.  Evaluate
8892         HAVE_SECURE_GETENV.
8893         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8894         __secure_getenv to __libc_secure_getenv.
8895         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8908 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8910         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8911         (struct La_i86_retval): Likewise.
8912         (struct La_x86_64_regs): Likewise.
8913         (struct La_x86_64_retval): Likewise.
8914         (struct La_x32_regs): Likewise.
8915         (struct La_x32_retval): Likewise.
8916         (struct La_ppc32_regs): Likewise.
8917         (struct La_ppc32_retval): Likewise.
8918         (struct La_ppc64_regs): Likewise.
8919         (struct La_ppc64_retval): Likewise.
8920         (struct La_sh_regs): Likewise.
8921         (struct La_sh_retval): Likewise.
8922         (struct La_s390_32_regs): Likewise.
8923         (struct La_s390_32_retval): Likewise.
8924         (struct La_s390_64_regs): Likewise.
8925         (struct La_s390_64_retval): Likewise.
8926         (struct La_sparc32_regs): Likewise.
8927         (struct La_sparc32_retval): Likewise.
8928         (struct La_sparc64_regs): Likewise.
8929         (struct La_sparc64_retval): Likewise.
8930         (struct audit_ifaces): Remove architecture-specific pltenter and
8931         pltexit members.
8932         * sysdeps/i386/ldsodefs.h: New file.
8933         * sysdeps/powerpc/ldsodefs.h: Likewise.
8934         * sysdeps/s390/ldsodefs.h: Likewise.
8935         * sysdeps/sh/ldsodefs.h: Likewise.
8936         * sysdeps/sparc/ldsodefs.h: Likewise.
8937         * sysdeps/x86_64/ldsodefs.h: Likewise.
8939 2012-07-25  Marek Polacek  <polacek@redhat.com>
8941         [BZ #6808]
8942         * math/libm-test.inc (yn_test): Add another test.
8943         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8944         to ERANGE when the result is +-Inf.
8945         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8946         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8947         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8948         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8950 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
8952         * conform/data/time.h-data (NULL): Use macro-constant.  Require
8953         equal to 0.
8954         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
8955         clock_t.
8956         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
8958 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
8960         * configure.in <sysdeps resolving>: Correct printing
8961         Implies_before.
8962         * configure: Regenerate.
8964 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
8966         * math/w_ilogb.c: Include <limits.h>.
8967         * math/w_ilogbl.c: Likewise.
8969 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
8971         * manual/lang.texi (__va_copy): Document primarily as ISO C99
8972         va_copy.  Document allowing for unavailable va_copy only as
8973         pre-C99 compatibility.
8974         * manual/string.texi (Copying and Concatenation): Use va_copy
8975         instead of __va_copy in concat example.
8977 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
8979         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8980         (__sendto): Use create_address_port.  Initialize APORT and deallocate
8981         it if not null.
8983         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8984         with O_NOLINK passed to __file_name_lookup.
8986         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8987         with O_NOLINK passed to __file_name_lookup.
8989         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8990         negative N or less than NGIDS.
8992         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8993         type to string_t.  Set ERANGE as errno and return it if NAME is not big
8994         enough.  Use memcpy instead of strncpy.
8996 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
8998         * elf/Makefile (check-data): Remove.
8999         (localplt.data): New vpath directive.
9000         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9001         instead of $(check-data).
9002         * scripts/data/localplt-generic.data: Move to ...
9003         * sysdeps/generic/localplt.data: ... here.
9004         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9005         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9006         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9008         ... here.
9009         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9011         ... here.
9012         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9014         ... here.
9015         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9017         ... here.
9018         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9020         ... here.
9021         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9023         ... here.
9025 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9027         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9028         PPC32 and PPC64 files.
9029         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9030         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9032 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9034         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9035         __makecontext_ret to ...
9036         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9037         ... here and call exit if uc_link is NULL.  New file.
9038         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9039         __makecontext_ret.S.
9040         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9041         __makecontext_ret to ...
9042         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9043         ... here and call exit if uc_link is NULL.  New file.
9044         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9045         __makecontext_ret.S.
9047 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9049         * elf/elf.h (R_390_IRELATIVE): New definition.
9050         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9051         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9052         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9053         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9054         (elf_machine_lazy_rel): Likewise.
9055         * sysdeps/s390/dl-irel.h: New file.
9056         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9057         * sysdeps/s390/s390-64/memset.S: New asm code.
9058         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9059         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9060         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9061         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9062         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9063         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9064         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9065         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9066         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9067         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9068         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9069         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9070         * sysdeps/s390/s390-32/memset.S: New asm code.
9071         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9073 2012-07-17  Marek Polacek  <polacek@redhat.com>
9075         [BZ #14349]
9076         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9077         * sysdeps/s390/s390-64/configure.in: Likewise.
9078         * sysdeps/sparc/configure.in: Likewise.
9079         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9080         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9081         * sysdeps/i386/configure.in: Likewise.
9082         * sysdeps/x86_64/configure.in: Likewise.
9083         * sysdeps/sh/configure.in: Likewise.
9084         * sysdeps/s390/s390-32/configure: Regenerated.
9085         * sysdeps/s390/s390-64/configure: Likewise.
9086         * sysdeps/x86_64/configure: Likewise.
9087         * sysdeps/sh/configure: Likewise.
9088         * sysdeps/powerpc/powerpc64/configure: Likewise.
9089         * sysdeps/powerpc/powerpc32/configure: Likewise.
9090         * sysdeps/sparc/configure: Likwise.
9091         * sysdeps/i386/configure: Likewise.
9093         * elf/dl-open.c: Comment fixes.
9095 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9097         * Makefile [CXX] (check-data): Remove.
9098         [CXX] (c++-types.data): New vpath directive.
9099         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9100         vpath.  Do not allow for C++ type data being missing.
9101         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9102         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9103         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9104         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9105         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9106         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9107         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9109         ... here.
9110         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9112         ... here.
9113         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9115         ... here.
9116         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9118         ... here.
9119         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9121         ... here.
9122         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9124         ... here.
9125         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9127         ... here.
9128         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9131         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9132         definitions to architecture-specific files.
9133         (TLS_IE): Likewise.
9134         (TLS_LD): Likewise.
9135         (TLS_GD): Likewise.
9136         * sysdeps/i386/tls-macros.h: New file.
9137         * sysdeps/powerpc/tls-macros.h: Likewise.
9138         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9139         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9140         * sysdeps/sh/tls-macros.h: Likewise.
9141         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9142         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9143         * sysdeps/x86_64/tls-macros.h: Likewise.
9145 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9147         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9148         zero value for regular exit case.
9150         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9151         (__start_context): Preserve zero value for regular exit case.
9153 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9154             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9156         * manual/setjmp.texi (setcontext): Clarify normal process
9157         termination when uc_link is the null pointer.
9158         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9159         exit call.
9161 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9163         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9164         preprocessor.  Test for each exception mask separately.
9166 2012-07-16  Andreas Jaeger  <aj@suse.de>
9168         * po/ru.po: Update from translation team.
9170 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9172         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9173         equal to 0.
9174         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9175         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9176         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9177         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9178         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9180 2012-07-13  Andreas Jaeger  <aj@suse.de>
9182         * po/fr.po: Update from translation team.
9184 2012-07-12  Marek Polacek  <polacek@redhat.com>
9186         [BZ #14173]
9187         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9188         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9189         loop condition.
9191 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9193         [BZ #13717]
9194         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9195         Change to 2.4.1 where previously 2.4.0.
9196         * sysdeps/unix/sysv/linux/configure: Regenerated.
9197         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9198         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9199         version.
9200         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9201         (__ASSUME_AT_CLKTCK): Remove.
9202         (__ASSUME_AT_PAGESIZE): Likewise.
9203         (__ASSUME_AT_XID): Likewise.
9204         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9205         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9206         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9207         unconditionally.
9208         (HAVE_AUX_PAGESIZE): Likewise.
9209         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9210         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9211         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9213 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9215         [BZ #14307]
9216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9217         the temporary buffer used to invoke __gethostbyname2_r,
9218         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9219         host_data / struct gaih_addrtuple.
9220         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9221         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9222         header file nss/nsswitch.h.
9223         * nss/nsswitch.h (global scope): Add definition of implementation
9224         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9225         resolv/nss_dns/dns-host.c).
9227 2012-07-11  Andreas Jaeger  <aj@suse.de>
9229         * po/fr.po: Update from translation team.
9231         * po/sv.po: Update from translation team
9232         * po/fr.po: Another update from translation team.
9234 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9236         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9237         for subnormals or multiply small sinh result by itself.
9238         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9241 2012-07-11  David S. Miller  <davem@davemloft.net>
9243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9245 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9247         [BZ #14347]
9248         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9249         (INTERNAL_MARK): Shift it here.
9251 2012-07-10  Marek Polacek  <polacek@redhat.com>
9253         [BZ #14151]
9254         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9255         libc_cv_asm_global_directive with .globl.
9256         * configure: Regenerated.
9257         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9258         with .globl.
9259         * sysdeps/i386/configure: Regenerated.
9260         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9261         with .globl.
9262         * sysdeps/x86_64/configure: Regenerated.
9263         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9264         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9265         * elf/tst-unique2mod2.c: Likewise.
9266         * elf/tst-unique2mod1.c: Likewise.
9267         * elf/tst-unique1mod2.c: Likewise.
9268         * elf/tst-unique1mod1.c: Likewise.
9269         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9270         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9271         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9272         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9273         * sysdeps/mach/sysdep.h: Likewise.
9274         * sysdeps/i386/sysdep.h: Likewise.
9275         * sysdeps/i386/i386-mcount.S: Likewise.
9276         * sysdeps/x86_64/_mcount.S: Likewise.
9277         * sysdeps/x86_64/sysdep.h: Likewise.
9278         * sysdeps/sh/_mcount.S: Likewise.
9279         * sysdeps/sh/sysdep.h: Likewise.
9280         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9281         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9282         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9283         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9284         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9285         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9286         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9287         * locale/localeinfo.h: Likewise.
9288         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9289         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9291 2012-07-09  Roland McGrath  <roland@hack.frob.com>
9293         [BZ #14336]
9294         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9295         system".
9296         * manual/message.texi (The Uniforum approach): Likewise.
9297         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9298         (glibc iconv Implementation): Likewise.
9300 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
9302         [BZ #14337]
9303         * math/s_clog.c (__clog): Avoid scaling a value down where that
9304         could result in underflow.
9305         * math/s_clog10.c (__clog10): Likewise.
9306         * math/s_clog10f.c (__clog10f): Likewise.
9307         * math/s_clog10l.c (__clog10l): Likewise.
9308         * math/s_clogf.c (__clogf): Likewise.
9309         * math/s_clogl.c (__clogl): Likewise.
9310         * math/libm-test.inc (clog_test): Add more tests.
9311         (clog10_test): Likewise.
9312         * sysdeps/i386/fpu/libm-test-ulps: Update.
9313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9315 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9317         [BZ #14283]
9318         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9319         by 7 not 8 to examine high bit of fractional part.
9321         [BZ #14042]
9322         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9323         for call to __mcount_internal.
9324         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9325         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9326         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9328 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
9330         [BZ #14154]
9331         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9332         approximation for values within 0x1p-13f of an odd multiple of
9333         pi/4.
9334         * math/libm-test.inc (tan_test): Do not allow spurious underflow
9335         exception.  Add more tests.
9336         * sysdeps/i386/fpu/libm-test-ulps: Update.
9338         [BZ #6778]
9339         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9340         inputs and return -1 for them.  Do not check for +Inf in case not
9341         reachable for +Inf.
9342         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9343         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9344         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9345         and return -1 for them.  Do not check for +Inf in case not
9346         reachable for +Inf.
9347         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9348         define.
9349         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9350         and return -1 for them.  Do not check for +Inf in case not
9351         reachable for +Inf.
9352         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
9353         spurious underflow.
9354         * sysdeps/i386/fpu/libm-test-ulps: Update.
9355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9357 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
9359         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9361 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
9363         [BZ #14157]
9364         [BZ #14331]
9365         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9366         could result in spurious underflow.  Scale down values above
9367         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9368         * math/s_csqrtf.c (__csqrtf): Likewise.
9369         * math/s_csqrtl.c (__csqrtl): Likewise.
9370         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
9371         spurious underflow.
9372         * sysdeps/i386/fpu/libm-test-ulps: Update.
9373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9377         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9378         xopen-msg.sed.
9379         * catgets/xopen-msg.awk: New file.
9380         * catgets/xopen-msg.sed: Removed.
9382         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9383         po2text.sed.
9384         * intl/po2test.awk: New file.
9385         * intl/po2test.sed: Removed.
9387 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #14328]
9390         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9391         or multiply small sinh result by itself.
9392         * math/s_ctanf.c (__ctanf): Likewise.
9393         * math/s_ctanh.c (__ctanh): Likewise.
9394         * math/s_ctanhf.c (__ctanhf): Likewise.
9395         * math/s_ctanhl.c (__ctanhl): Likewise.
9396         * math/s_ctanl.c (__ctanl): Likewise.
9397         * math/libm-test.inc (ctan_test_tonearest): New function.
9398         (ctan_test_towardzero): Likewise.
9399         (ctan_test_downward): Likewise.
9400         (ctan_test_upward): Likewise.
9401         (ctanh_test_tonearest): Likewise.
9402         (ctanh_test_towardzero): Likewise.
9403         (ctanh_test_downward): Likewise.
9404         (ctanh_test_upward): Likewise.
9405         (main): Call these new functions.
9406         * sysdeps/i386/fpu/libm-test-ulps: Update.
9407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9409 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
9411         * .gitignore: Delete /ports entry.
9413 2012-07-03  Andreas Jaeger  <aj@suse.de>
9415         * po/bg.po: Update from translation team.
9416         * po/cs.po: Likewise.
9417         * po/de.po: Likewise.
9418         * po/hr.po: Likewise.
9419         * po/nl.pl: Likewise.
9420         * po/pl.po: Likewise.
9421         * po/vi.po: Likewise.
9423 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
9425         * Makeconfig [!+link] (+link-before-libc): New variable.
9426         [!+link] (+link-after-libc): Likewise.
9427         [!+link] (+link-tests): Likewise.
9428         [!+link] (+link): Define in terms of $(+link-before-libc) and
9429         $(+link-after-libc).
9430         [!+link-static] (+link-static-before-libc): New variable.
9431         [!+link-static] (+link-static-after-libc): Likewise.
9432         [!+link-static] (+link-static-tests): Likewise.
9433         [!+link-static] (+link-static): Define in terms of
9434         $(+link-static-before-libc) and $(+link-static-after-libc).
9435         [build-shared] (link-libc-before-gnulib): New variable.
9436         [build-shared] (link-libc-tests): Likewise.
9437         [build-shared] (link-libc): Define in terms of
9438         $(link-libc-before-gnulib).
9439         [!build-shared] (link-libc-tests): New variable.
9440         (link-libc-static-tests): New variable.
9441         [!gnulib] (gnulib-arch): New variable.
9442         [!gnulib] (gnulib-tests): Likewise.
9443         [!gnulib] (static-gnulib-arch): Likewise.
9444         [!gnulib] (static-gnulib-tests): Likewise.
9445         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
9446         Define with "=" instead of ":=".
9447         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
9448         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
9449         * Rules (binaries-all-notests): New variable.
9450         (binaries-all-tests): Likewise.
9451         (binaries-static-notests): Likewise.
9452         (binaries-static-tests): Likewise.
9453         (binaries-all): Define using $(binaries-all-notests) and
9454         $(binaries-all-tests).
9455         (binaries-static): Define using $(binaries-static-notests) and
9456         $(binaries-static-tests).
9457         (binaries-shared-tests): New variable.
9458         (binaries-shared-notests): Likewise.
9459         (binaries-shared): Remove variable.
9460         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9461         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9462         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9463         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9464         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9465         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9466         * elf/Makefile (sln-modules): New variable.
9467         (extra-objs): Add $(sln-modules:=.o).
9468         (ldconfig-modules): Add static-stubs.
9469         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9470         * elf/static-stubs.c: New file.
9472         [BZ #14283]
9473         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9474         by 7 not 8 to examine high bit of fractional part.  Use volatile
9475         variables when splitting into final array of floats if
9476         __FLT_EVAL_METHOD__ != 0.
9477         * math/libm-test.inc (cos_test): Add another test.
9478         (sin_test): Likewise.
9479         * sysdeps/i386/fpu/libm-test-ulps: Update.
9481         [BZ #14273]
9482         * math/libm-test.inc (cosh_test): Add more tests.
9484         * version.h (RELEASE): Set to "development".
9485         (VERSION): Set to "2.16.90".
9487 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
9489         * NEWS: Update copyright. Remove last-updated date.
9490         Mention math library bug fixes and timezone data changes.
9491         * README: Mention GNU/Hurd, x32, and HPPA support status.
9493 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
9495         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9497 2012-06-27  Andreas Jaeger  <aj@suse.de>
9499         * manual/contrib.texi (Contributors): Add Samuel Thibault.
9501 2012-06-25  Andreas Jaeger  <aj@suse.de>
9503         * sysdeps/s390/fpu/libm-test-ulps: Update.
9505 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
9506             Thomas Schwinge  <thomas@codesourcery.com>
9508         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9509         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9510         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9511         fanotify_mark.
9513 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
9515         * sysdeps/mach/start.c: Remove file.
9516         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9517         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9518         * sysdeps/sh/init-first.c: Likewise.
9520         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9521         registers for frame unwinding purposes, add CFI directives.
9522         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9523         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9524         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9525         Likewise.
9527         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9528         __fortify_fail returning.
9529         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9531         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9532         sysdeps/sh/____longjmp_chk.S.
9533         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9534         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9535         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9536         (gen-as-const-headers): Append sigaltstack-offsets.sym.
9538         * sysdeps/sh/abort-instr.h: New file.
9539         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9540         process in case exit returns.
9542         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9543         initialize the GOT register before use.
9545         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9546         calculation of ARGC > 4.
9548         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9549         meaningful names to some local labels.
9551 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9552             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9554         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9555         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9556         (__arch_compare_and_exchange_val_16_acq): Likewise.
9557         (__arch_compare_and_exchange_val_32_acq): Likewise.
9558         (atomic_exchange_and_add): Fix gUSA sequence.
9559         (atomic_add): Likewise.
9560         (atomic_add_negative): Likewise.
9561         (atomic_add_zero): Likewise.
9562         (atomic_bit_test_set): Likewise.
9564 2012-06-22  Andreas Schwab  <schwab@redhat.com>
9566         [BZ #13579]
9567         * include/link.h (struct link_map): Add l_free_initfini.
9568         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9569         l_initfini.
9570         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9571         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9572         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9573         set.
9575 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
9577         * configure.in: Use AC_LANG_SOURCE.
9578         * configure: Regenerate.
9580 2012-06-22  Roland McGrath  <roland@hack.frob.com>
9582         * configure.in (libc_cv_localstatedir): New substituted variable.
9583         * configure: Regenerated.
9584         * config.make.in (localstatedir): New variable, substituted from
9585         libc_cv_localstatedir.
9586         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9587         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9588         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9589         * sysdeps/gnu/configure: Regenerated.
9591 2012-06-21  Jeff Law  <law@redhat.com>
9593         [BZ #14277]
9594         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9595         free.  Simplify list management for _LIBC case.
9597 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
9599         [BZ #14273]
9600         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9601         Clear sign bit of 64-bit integer value before comparing against
9602         overflow value.
9604         * sysdeps/mach/configure: Regenerated.
9606 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
9608         [BZ #14278]
9609         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9611 2012-06-21  Jeff Law  <law@redhat.com>
9613         [BZ #13882]
9614         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
9615         uint16_t for elements in the "seen" array to avoid char overflows.
9616         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9617         * elf/dl-open.c (dl_open_worker): Likewise.
9619 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
9621         * scripts/list-sources.sh: Scan PORTS for translations.
9622         * po/libc.pot: Regenerated.
9624 2012-06-21  Andreas Jaeger  <aj@suse.de>
9626         [BZ #12194]
9627         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9628         warning.
9629         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9630         * bits/byteswap-16.h (__bswap_16): Likewise.
9631         * bits/byteswap.h (__bswap_constant_16): Likewise.
9633 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
9635         [BZ #14117]
9636         * sysdeps/i386/fpu_control.h: Removed.
9637         * sysdeps/x86_64/fpu_control.h: Moved to ...
9638         * sysdeps/x86/fpu_control.h: Here.
9640         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9641         (_FPU_SETCW): Likewise.
9643 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
9645         [BZ #14117]
9646         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9647         * sysdeps/x86/fpu/bits/mathinline.h: This.
9648         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9650         [BZ #14050]
9651         [BZ #14117]
9652         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9653         functions if __x86_64__ is defined.
9655 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
9657         * string/endian.h: Add !__ASSEMBLER__ condition for including
9658         conversion interfaces.
9660 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #14241]
9663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9664         of ABS(x) in calculating zero to negative powers other than odd
9665         integers.
9666         * math/libm-test.inc (pow_test): Add more tests.
9668 2012-06-15  Andreas Jaeger  <aj@suse.de>
9670         * manual/contrib.texi (Contributors): Update entry of Liubov
9671         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9672         Machado Filho.
9674 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
9676         * string/string.h: Add __wur to GNU version of strerror_r.
9678 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
9680         [BZ #14229]
9681         * string/Makefile (tests): Add tst-strtok_r.
9682         * string/tst-strtok_r.c: New file.
9683         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9684         RAX_LP/RDX_LP on SAVE_PTR.
9686 2012-06-14  Roland McGrath  <roland@hack.frob.com>
9688         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9690 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
9692         * libm_test.inc (csqrt_test): Allow more spurious underflow
9693         exceptions.
9694         (j0_test): Likewise.
9695         (j1_test): Likewise.
9696         (y0_test): Likewise.
9697         (y1_test): Likewise.
9699 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
9701         * po/Makefile (libc.pot): Use UTF-8 charset.
9703 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
9705         [BZ #14210]
9706         Suppress sign-conversion warning from FD_SET.
9707         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9708         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9709         not unsigned long int.
9710         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9712 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
9714         [BZ #14050]
9715         [BZ #14117]
9716         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9717         __extern_always_inline instead of __extern_inline.
9718         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9719         (__signbit): Likewise.
9720         (__signbitl): Support C++ namespace.
9721         (lrintf): New inline function.
9722         (lrint): Likewise.
9723         (llrintf): Likewise.
9724         (llrint): Likewise.
9725         (fmaxf): Likewise.
9726         (fmax): Likewise.
9727         (fminf): Likewise.
9728         (fmin): Likewise.
9729         (rint): Likewise.
9730         (rintf): Likewise.
9731         (ceil): Likewise.
9732         (ceilf): Likewise.
9733         (floor): Likewise.
9734         (floorf): Likewise.
9735         (nearbyint): Likewise.
9736         (nearbyintf): Likewise.
9738 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
9740         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9741         non-default versions.
9743 2012-06-11  Roland McGrath  <roland@hack.frob.com>
9745         [BZ #14218]
9746         * manual/argp.texi (Argp): Reword argp_parse description slightly.
9748 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
9750         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9751         (FE_UPWARD, FE_DOWNWARD): Don't define.
9752         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9753         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9755         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9756         reading it.
9757         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9758         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9760 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9762         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9764         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9765         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9767 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9769         [BZ #14117]
9770         * sysdeps/i386/fpu/bits/fenv.h: Removed.
9771         * sysdeps/i386/fpu/Implies: New file.
9772         * sysdeps/x86_64/fpu/Implies: Likewise.
9773         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9774         * sysdeps/x86/fpu/bits/fenv.h: This.
9776         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9777         __SSE_MATH__.
9779 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9781         [BZ #14134]
9782         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9783         character 0xffff that matches the last element of the
9784         conversion table.
9786 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9789         fmodl commit.
9791 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9794         values higher than 25.6283.
9796 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9798         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9799         subnormal exponent extraction and add some __builtin_expect.
9800         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9801         Fix for subnormal mantissa calculation.
9803 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
9805         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9806         cpu2 is -1 and errno is not ENOSYS.
9808 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
9810         [BZ #14117]
9811         * sysdeps/i386/i486/bits/string.h: Renamed to ...
9812         * sysdeps/x86/bits/string.h: This.
9813         * sysdeps/x86_64/bits/string.h: Removed.
9815         * sysdeps/i386/i486/bits/string.h: Define inline functions only
9816         if not compiling for x86-64, but compiling for >= i486.
9818         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9819         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9821         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9822         New macro from Linux kernel 3.4.0.
9823         (FP_XSTATE_MAGIC2): Likewise.
9824         (FP_XSTATE_MAGIC2_SIZE): Likewise.
9825         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9826         (struct _fpx_sw_bytes): New struct.
9827         (struct _xsave_hdr): Likewise.
9828         (struct _ymmh_state): Likewise.
9829         (struct _xstate): Likewise.
9831         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9832         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9833         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9834         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9835         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9836         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9838         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9839         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9840         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9841         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9842         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9843         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9845 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9847         [BZ #13743]
9848         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9849         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9850         (sysdep_headers): Include sys/platform/ppc.h.
9851         * sysdeps/powerpc/test-gettimebase.c: Test for
9852         __ppc_get_timebase() to catch future ISA opcode/insn changes.
9853         * manual/Makefile (appendices): Include platform.texi.
9854         * manual/contrib.texi (Contributors): Update @node pointers.
9855         * manual/maint.texi (Maintenance): Likewise.
9856         (Platform): New node.
9857         * manual/platform.texi: New file.  Document the new features.
9859 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9860             Jakub Jelinek  <jakub@redhat.com>
9862         [BZ #14188]
9863         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9864         where __builtin_expect is unavailable.
9866 2012-06-03  David S. Miller  <davem@davemloft.net>
9868         * stdlib/longlong.h: Updated from GCC.
9870 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
9872         [BZ #14042]
9873         * sysdeps/powerpc/powerpc32/mcount.c: New file.
9874         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9875         __mcount_internal.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9877         (GLIBC_2.16): Likewise.
9879 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9881         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9883 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9886         (default-abi): New variable.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9888         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9889         variable.
9890         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9891         Likewise.
9892         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9893         Likewise.
9894         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9895         Likewise.
9897         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9898         definition.  Document in comment.
9900 2012-06-01  David S. Miller  <davem@davemloft.net>
9902         * stdlib/longlong.h: Updated from GCC.
9904 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9906         [BZ #14117]
9907         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9908         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9909         sys/debugreg.h sys/io.h here.
9910         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9911         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9912         sys/io.h.
9913         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9914         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9915         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9916         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9917         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9918         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9921         Define only if __x86_64__ is defined.
9923 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
9925         [BZ #14048]
9926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9927         Use int64_t for variable i.
9928         * math/libm-test.inc (fmod_test): Add more tests.
9930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9931         z computation is not scheduled after fetestexcept.
9932         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9933         Use math_force_eval instead of asm to ensure calculation scheduled
9934         before exception test.
9935         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9936         Ensure a1 + u.d computation is not scheduled after fetestexcept.
9938 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
9940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9941         computation is not scheduled after fetestexcept.
9943 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9945         [BZ #14117]
9946         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9947         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9949 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9951         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9952         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9954 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
9956         [BZ #14117]
9957         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9958         <bits/wordsize.h>.
9959         (__WCHAR_MIN): Support __WORDSIZE == 64.
9960         (__WCHAR_MAX): Likewise.
9962         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9963         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9965         [BZ #14183]
9966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9967         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9969         [BZ #14117]
9970         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9971         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9973         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9974         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9976         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9977         Defined to 1 if __x86_64__ isn't defined.
9978         (_STAT_VER_LINUX_OLD): New.
9979         (st_atime): Remove duplicate.
9980         (st_mtime): Likewise.
9981         (st_ctime): Likewise.
9983 2012-05-31  David S. Miller  <davem@davemloft.net>
9985         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9986         entries.
9988 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
9990         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9991         gen-libm-test.pl.
9993         [BZ #14132]
9994         * elf/dl-reloc.c: Include <_itoa.h>.
9995         (_dl_reloc_bad_type): Remove use of INTUSE.
9996         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9997         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9998         * stdio-common/psiginfo.c (psiginfo): Likewise.
9999         * stdio-common/psignal.c (psignal): Likewise.
10000         * string/strsignal.c (strsignal): Likewise.
10001         * include/signal.h (_sys_siglist): Declare hidden proto.
10002         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10003         INTVARDEF with libc_hidden_data_def.
10004         * stdio-common/itoa-udigits.c: Likewise.
10005         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10006         (_itoa_lower_digits_internal): Remove declaration.
10007         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10008         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10009         (_sys_sigabbrev_internal): Remove aliases.
10010         (_sys_siglist): Define hidden alias.
10012 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10015         bits/sysctl.h.
10017 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10019         [BZ #14117]
10020         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10021         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10023         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10024         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10025         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10026         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10027         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10028         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10030         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10031         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10032         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10034         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10035         with __addr.
10036         (insw): Likewise.
10037         (insl): Likewise.
10038         (outsb): Likewise.
10039         (outsw): Likewise.
10040         (outsl): Likewise.
10042         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10044         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10046         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10047         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10048         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10049         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10050         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10051         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10053         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10054         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10056         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10057         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10059         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10061         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10063         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10064         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10065         to ...
10066         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10068         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10069         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10070         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10072         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10073         for x86-64.
10074         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10076 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10078         * math/math.h (M_El): Use two more decimal places.
10079         (M_LOG2El): Likewise.
10080         (M_LOG10El): Likewise.
10081         (M_LN2l): Likewise.
10082         (M_LN10l): Likewise.
10083         (M_PIl): Likewise.
10084         (M_PI_2l): Likewise.
10085         (M_PI_4l): Likewise.
10086         (M_1_PIl): Likewise.
10087         (M_2_PIl): Likewise.
10088         (M_2_SQRTPIl): Likewise.
10089         (M_SQRT2l): Likewise.
10090         (M_SQRT1_2l): Likewise.
10092 2012-05-31  David S. Miller  <davem@davemloft.net>
10094         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10095         values between float registers.
10096         * sysdeps/sparc/sparc64/memset.S: Likewise.
10097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10099 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10101         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10102         -D_FORTIFY_SOURCE=1.
10103         (CPPFLAGS-tst-longjmp_chk.c): Define.
10104         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10105         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10106         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10107         CFLAGS-tst-wchar-h.c.
10109 2012-05-31  Marek Polacek  <polacek@redhat.com>
10111         [BZ #14132]
10112         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10113         __endmntent_internal): Remove declaration.
10114         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10115         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10116         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10118 2012-05-30  David S. Miller  <davem@davemloft.net>
10120         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10121         (___Q_simulate_exceptions): Use real FP ops rather than writing
10122         into the %fsr.
10123         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10124         Likewise.
10126 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10128         [BZ #14117]
10129         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10130         * sysdeps/x86/bits/xtitypes.h: This.
10132         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10133         * sysdeps/x86/bits/wordsize.h: This.
10135         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10136         * sysdeps/x86/bits/huge_vall.h: This.
10138         * sysdeps/i386/bits/select.h: Removed.
10139         * sysdeps/x86_64/bits/select.h: Renamed to ...
10140         * sysdeps/x86/bits/select.h: This.
10142         * sysdeps/i386/bits/setjmp.h: Removed.
10143         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10144         * sysdeps/x86/bits/setjmp.h: This.
10146         * sysdeps/i386/bits/mathdef.h: Removed.
10147         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10148         * sysdeps/x86/bits/mathdef.h: This.
10150 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10152         [BZ #14132]
10153         * include/sys/socket.h (__connect_internal)
10154         (__libc_sa_len_internal): Remove declaration.
10155         (__connect, __libc_sa_len): Declare hidden_proto.
10156         (SA_LEN): Remove use of INTUSE.
10157         * socket/connect.c: Add libc_hidden_def.
10158         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10159         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10160         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10161         alias.
10162         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10163         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10164         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10165         of adding _internal alias.
10167 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10169         [BZ #14117]
10170         * sysdeps/i386/bits/link.h: Removed.
10171         * sysdeps/i386/bits/linkmap.h: Likewise.
10172         * sysdeps/x86_64/bits/link.h: Renamed to ...
10173         * sysdeps/x86/bits/link.h: This.
10174         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10175         * sysdeps/x86/bits/linkmap.h: This.
10177         * sysdeps/i386/bits/endian.h: Removed.
10178         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10179         * sysdeps/x86/bits/endian.h: This.
10181         * sysdeps/i386/bits/byteswap.h: Removed.
10182         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10183         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10184         * sysdeps/x86/bits/byteswap.h: This.
10185         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10186         * sysdeps/x86/bits/byteswap-16.h: This.
10187         * sysdeps/i386/Implies: Add x86.
10188         * sysdeps/x86_64/Implies: Likewise.
10190 2012-05-30  David S. Miller  <davem@davemloft.net>
10192         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10193         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10194         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10195         (FP_TRAPPING_EXCEPTIONS): Define.
10196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10197         (FP_TRAPPING_EXCEPTIONS): Define.
10198         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10199         subnormals only when inexact has been signalled or underflow
10200         exceptions are enabled.
10201         (_FP_PACK_CANONICAL): Likewise.
10203 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10205         [BZ #14183]
10206         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10207         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10209 2012-05-30  Richard Henderson  <rth@twiddle.net>
10211         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10212         with #ifndef NOT_IN_libc.
10214         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10215         marked to avoid plt entry.
10217 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10219         [BZ #14112]
10220         * Makeconfig (default-abi): New macro.
10221         (abi-includes): Likewise.
10222         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10223         $(abi-$(default-abi)-lib-soname) for soname if defined.
10224         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10225         abi-variants.
10226         * Makefile (installed-stubs): Likewise.
10227         * include/stubs-biarch.h: Removed.
10228         * scripts/lib-names.awk: Only handle one library at a time.
10229         * scripts/soversions.awk: Remove WORDSIZE support.
10230         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10231         entries.
10232         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10233         Removed.
10234         (syscall-list-default-condition): Likewise.
10235         (syscall-list-default-condition): Likewise.
10236         (syscall-list-includes): Likewise.
10237         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10238         syscall-list-* with abi-*.  Handle undefined abi-variants.
10239         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10240         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10241         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10242         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10243         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10244         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10245         Removed.
10246         (syscall-list-32-options): Likewise.
10247         (syscall-list-32-condition): Likewise.
10248         (syscall-list-64-options): Likewise.
10249         (syscall-list-64-condition): Likewise.
10250         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10251         macro.
10252         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10253         Renamed to ...
10254         (abi-*): This.
10255         (abi-64-ld-soname): New macro.
10256         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10257         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10258         Renamed to ...
10259         (abi-*): This.
10260         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10261         * sysdeps/x86_64/x32/shlib-versions: Likewise.
10263 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
10265         * sysdeps/unix/sysv/linux/kernel-features.h
10266         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10267         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10268         include <kernel-features.h>.
10269         [!__NR_ftruncate64]: Remove conditional code.
10270         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10271         [__NR_ftruncate64]: Make code unconditional.
10272         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10273         * sysdeps/unix/sysv/linux/truncate64.c: Do not
10274         include <kernel-features.h>.
10275         [!__NR_ftruncate64]: Remove conditional code.
10276         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10277         [__NR_ftruncate64]: Make code unconditional.
10278         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10280         include <kernel-features.h>.
10281         [!__NR_ftruncate64]: Remove conditional code.
10282         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10283         [__NR_ftruncate64]: Make code unconditional.
10284         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10286         include <kernel-features.h>.
10287         [!__NR_ftruncate64]: Remove conditional code.
10288         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10289         [__NR_ftruncate64]: Make code unconditional.
10290         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10292         * configure.in (libc_cv_fpie): Weaken to a compile test using
10293         LIBC_TRY_CC_OPTION.
10294         * configure: Regenerated.
10296 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10302         Refreshed.
10303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10309         Refreshed.
10311 2012-05-27  David S. Miller  <davem@davemloft.net>
10313         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10314         (___Q_zero): New.
10315         (__Q_simulate_exceptions): Return void.  Change to simulate
10316         exceptions by writing into the %fsr.
10317         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10318         (__Qp_handle_exceptions): Likewise.
10319         (numbers): Delete.
10320         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10321         __Qp_handle_exceptions.
10322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10323         __Qp_handle_exceptions.
10324         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10325         as unused and give dummy FP_RND_NEAREST initializer.
10326         (FP_INHIBIT_RESULTS): Define.
10327         (___Q_simulate_exceptions): Update declaration.
10328         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10329         formatting.
10330         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10331         as unused and give dummy FP_RND_NEAREST initializer.
10332         (__Qp_handle_exceptions): Update declaration.
10333         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10334         formatting.
10336 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
10338         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10339         the temporary FPU control word.
10340         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10341         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10342         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10343         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10344         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10345         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10346         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10347         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10348         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10349         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10350         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10352 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10354         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10355         fields.
10357 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
10359         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10360         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10361         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10362         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10363         Likewise.
10364         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10365         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10366         Likewise.
10368 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
10370         * po/h.po: Update from translation team.
10372 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
10374         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10376         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10377         handling of denormals.
10378         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10379         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10380         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10381         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10382         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10384         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10385         Likewise.
10387 2012-05-26  Marek Polacek  <polacek@redhat.com>
10389         [BZ #14152]
10390         * math/libm-test.inc (fma_test): Don't always expect underflow
10391         exception.
10393 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10395         [BZ #12416]
10396         * elf/tst-execstack.c: Include stackinfo.h.
10397         (do_test): Adjust test case to ensure that pthread_getattr_np
10398         behaviour remains the same after marking stack executable.
10400 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10402         * sysdeps/unix/sysv/linux/kernel-features.h
10403         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10404         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10405         kernel-features.h.
10406         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10407         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10408         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10409         kernel-features.h.
10410         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10411         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10413 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
10415         * configure.in: Define the default includes to being none.
10416         * configure: Regenerated.
10418 2012-05-25  Roland McGrath  <roland@hack.frob.com>
10420         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10421         * sysdeps/x86_64/setjmp.S: Likewise.
10422         * sysdeps/i386/bsd-setjmp.S: Likewise.
10423         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10424         * sysdeps/i386/setjmp.S: Likewise.
10425         * sysdeps/i386/__longjmp.S: Likewise.
10426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10427         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10429         * include/stap-probe.h: New file.
10430         * configure.in: Handle --enable-systemtap.
10431         * configure: Regenerated.
10432         * config.h.in (USE_STAP_PROBE): New #undef.
10433         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10434         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10435         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10437 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10439         [BZ #13717]
10440         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10441         to 2.4.0 where earlier.
10442         * sysdeps/unix/sysv/linux/configure: Regenerated.
10443         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10444         <kernel-features.h>.
10445         [__ASSUME_32BITUIDS]: Make code unconditional.
10446         [!__ASSUME_32BITUIDS]: Remove conditional code.
10447         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10448         <kernel-features.h>.
10449         [__ASSUME_32BITUIDS]: Make code unconditional.
10450         [!__ASSUME_32BITUIDS]: Remove conditional code.
10451         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10452         [__ASSUME_32BITUIDS]: Make code unconditional.
10453         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10454         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10455         <kernel-features.h>.
10456         [__ASSUME_32BITUIDS]: Make code unconditional.
10457         [!__ASSUME_32BITUIDS]: Remove conditional code.
10458         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10459         <kernel-features.h>.
10460         [__ASSUME_32BITUIDS]: Make code unconditional.
10461         [!__ASSUME_32BITUIDS]: Remove conditional code.
10462         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10463         <kernel-features.h>.
10464         [__ASSUME_32BITUIDS]: Make code unconditional.
10465         [!__ASSUME_32BITUIDS]: Remove conditional code.
10466         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10467         <kernel-features.h>.
10468         [__ASSUME_32BITUIDS]: Make code unconditional.
10469         [!__ASSUME_32BITUIDS]: Remove conditional code.
10470         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10471         <kernel-features.h>.
10472         [__ASSUME_32BITUIDS]: Make code unconditional.
10473         [!__ASSUME_32BITUIDS]: Remove conditional code.
10474         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10475         <kernel-features.h>.
10476         [__ASSUME_32BITUIDS]: Make code unconditional.
10477         [!__ASSUME_32BITUIDS]: Remove conditional code.
10478         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10479         <kernel-features.h>.
10480         [__ASSUME_32BITUIDS]: Make code unconditional.
10481         [!__ASSUME_32BITUIDS]: Remove conditional code.
10482         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10483         <kernel-features.h>.
10484         [__ASSUME_32BITUIDS]: Make code unconditional.
10485         [!__ASSUME_32BITUIDS]: Remove conditional code.
10486         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10487         <kernel-features.h>.
10488         [__ASSUME_32BITUIDS]: Make code unconditional.
10489         [!__ASSUME_32BITUIDS]: Remove conditional code.
10490         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10491         <kernel-features.h>.
10492         [__ASSUME_32BITUIDS]: Make code unconditional.
10493         [!__ASSUME_32BITUIDS]: Remove conditional code.
10494         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10495         <kernel-features.h>.
10496         [__NR_setresgid] (__setresgid): Do not declare.
10497         [__ASSUME_32BITUIDS]: Make code unconditional.
10498         [!__ASSUME_32BITUIDS]: Remove conditional code.
10499         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10500         <kernel-features.h>.
10501         [__NR_setresuid] (__setresuid): Do not declare.
10502         [__ASSUME_32BITUIDS]: Make code unconditional.
10503         [!__ASSUME_32BITUIDS]: Remove conditional code.
10504         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10505         <kernel-features.h>.
10506         [__ASSUME_32BITUIDS]: Make code unconditional.
10507         [!__ASSUME_32BITUIDS]: Remove conditional code.
10508         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10509         <kernel-features.h>.
10510         [__ASSUME_32BITUIDS]: Make code unconditional.
10511         [!__ASSUME_32BITUIDS]: Remove conditional code.
10512         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10513         <kernel-features.h>.
10514         [__ASSUME_32BITUIDS]: Make code unconditional.
10515         [!__ASSUME_32BITUIDS]: Remove conditional code.
10516         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10517         <kernel-features.h>.
10518         [__ASSUME_32BITUIDS]: Make code unconditional.
10519         [!__ASSUME_32BITUIDS]: Remove conditional code.
10520         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10521         <kernel-features.h>.
10522         [__ASSUME_32BITUIDS]: Make code unconditional.
10523         [!__ASSUME_32BITUIDS]: Remove conditional code.
10524         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10525         <kernel-features.h>.
10526         [__ASSUME_32BITUIDS]: Make code unconditional.
10527         [!__ASSUME_32BITUIDS]: Remove conditional code.
10528         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10529         <kernel-features.h>.
10530         [__ASSUME_32BITUIDS]: Make code unconditional.
10531         [!__ASSUME_32BITUIDS]: Remove conditional code.
10532         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10533         <kernel-features.h>.
10534         [__ASSUME_32BITUIDS]: Make code unconditional.
10535         [!__ASSUME_32BITUIDS]: Remove conditional code.
10536         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10537         <kernel-features.h>.
10538         [__ASSUME_32BITUIDS]: Make code unconditional.
10539         [!__ASSUME_32BITUIDS]: Remove conditional code.
10540         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10541         <kernel-features.h>.
10542         [__ASSUME_32BITUIDS]: Make code unconditional.
10543         [!__ASSUME_32BITUIDS]: Remove conditional code.
10544         * sysdeps/unix/sysv/linux/kernel-features.h
10545         (__ASSUME_SETRESUID_SYSCALL): Remove.
10546         (__ASSUME_SETRESGID_SYSCALL): Likewise.
10547         (__ASSUME_32BITUIDS): Likewise.
10548         (__ASSUME_LDT_WORKS): Likewise.
10549         (__ASSUME_O_DIRECTORY): Likewise.
10550         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10551         architecture but not kernel version.
10552         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10553         (__ASSUME_MMAP2_SYSCALL): Likewise.
10554         (__ASSUME_STAT64_SYSCALL): Likewise.
10555         (__ASSUME_IPC64): Likewise.
10556         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10557         <kernel-features.h>.
10558         [__ASSUME_32BITUIDS]: Make code unconditional.
10559         [!__ASSUME_32BITUIDS]: Remove conditional code.
10560         * sysdeps/unix/sysv/linux/opendir.c: Do not include
10561         <kernel-features.h>.
10562         [__ASSUME_O_DIRECTORY]: Make code unconditional.
10563         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10564         132096]: Remove conditional code.
10565         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10566         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10567         <kernel-features.h>.
10568         [__ASSUME_32BITUIDS]: Make code unconditional.
10569         [!__ASSUME_32BITUIDS]: Remove conditional code.
10570         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10571         <kernel-features.h>.
10572         [__ASSUME_32BITUIDS]: Make code unconditional.
10573         [!__ASSUME_32BITUIDS]: Remove conditional code.
10574         * sysdeps/unix/sysv/linux/setegid.c: Do not include
10575         <kernel-features.h>.
10576         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10577         unconditional.
10578         (__setresgid): Do not declare.
10579         [__ASSUME_32BITUIDS]: Make code unconditional.
10580         [!__ASSUME_32BITUIDS]: Remove conditional code.
10581         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10582         <kernel-features.h>.
10583         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10584         unconditional.
10585         (__setresuid): Do not declare.
10586         [__ASSUME_32BITUIDS]: Make code unconditional.
10587         [!__ASSUME_32BITUIDS]: Remove conditional code.
10588         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10589         <kernel-features.h>.
10590         [__ASSUME_32BITUIDS]: Make code unconditional.
10591         [!__ASSUME_32BITUIDS]: Remove conditional code.
10592         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10593         <kernel-features.h>.
10594         [__ASSUME_32BITUIDS]: Make code unconditional.
10595         [!__ASSUME_32BITUIDS]: Remove conditional code.
10597 2012-05-25  Richard Henderson  <rth@twiddle.net>
10599         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10600         dl_hwcap to ifunc resolver.
10601         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10602         elf_ifunc_invoke.
10603         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10604         dl_hwcap to ifunc resolver.
10605         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10607 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10609         [BZ #14153]
10610         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10611         for |x| <= 2**-26, not 2**-57.
10612         * math/libm-test.inc (acos_test): Do not allow spurious underflow
10613         exception.
10615 2012-05-24  Jeff Law  <law@redhat.com>
10617         * stdio-common/Makefile (tests): Add bug25.
10618         * stdio-common/bug25.c: New test.
10620 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10622         [BZ #13576]
10623         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10624         multiple of MALLOC_ALIGNMENT in size.
10625         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10627 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10629         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10630         Require >= 256.
10631         (FILENAME_MAX): Use macro-int-constant.
10632         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
10633         (_IOFBF): Use macro-int-constant.
10634         (_IOLBF): Likewise.
10635         (_IONBF): Likewise.
10636         (SEEK_CUR): Likewise.
10637         (SEEK_END): Likewise.
10638         (SEEK_SET): Likewise.
10639         (TMP_MAX): Likewise.
10640         (EOF): Use macro-int-constant.  Require < 0.
10641         (NULL): Use macro-constant.  Require == 0.
10642         (stdin): Require type to be FILE *.
10643         (stdout): Likewise.
10644         (stderr): Likewise.
10645         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10646         macro-int-constant.
10647         (EXIT_SUCCESS): Likewise.
10648         (NULL): Use macro-constant.  Require == 0.
10649         (RAND_MAX): Use macro-int-constant.
10650         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10651         [C99-based standards] (strtof): Require function.
10652         [C99-based standards] (strtold): Likewise.
10653         [C99-based standards] (strtoll): Likewise.
10654         [C99-based standards] (strtoull): Likewise.
10655         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10656         [ISO || ISO99 || ISO11] (limits.h): Likewise.
10657         [ISO || ISO99 || ISO11] (math.h): Likewise.
10658         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10659         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10662 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
10664         [BZ #14132]
10665         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10666         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10667         * intl/dgettext.c (DCGETTEXT): Likewise.
10668         * intl/gettext.c (DCGETTEXT): Likewise.
10669         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10670         * posix/regex_internal.h (gettext): Likewise.
10671         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10672         Remove declaration.
10673         * include/argz.h (__argz_count_internal)
10674         (__argz_stringify_internal): Remove declaration.
10675         (__argz_count, __argz_stringify): Declare hidden proto.
10676         * intl/dcgettext.c: Remove use of INTDEF.
10677         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10678         * string/argz-stringify.c: Likewise.
10679         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10680         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10681         Declare hidden proto.
10682         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10683         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10684         Declare hidden proto.
10685         * include/stdio.h (__asprintf_internal): Don't declare.
10686         (__asprintf): Don't define as macro.  Declare hidden proto.
10687         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10688         (__fsetlocking): Declare hidden proto.
10689         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10690         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10691         hidden proto.
10692         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10693         (_IO_setlinebuf): Remove use of INTUSE.
10694         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10695         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10696         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10697         Remove declaration.
10698         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10699         (_IO_do_flush): Remove use of INTUSE.
10700         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10701         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10702         (_IO_adjust_column, _IO_least_wmarker)
10703         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10704         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10705         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10706         (_IO_default_doallocate, _IO_wdefault_doallocate)
10707         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10708         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10709         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10710         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10711         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10712         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10713         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10714         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10715         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10716         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10717         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10718         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10719         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10720         proto.
10721         (_IO_flush_all_internal, _IO_adjust_column_internal)
10722         (_IO_default_uflow_internal, _IO_default_finish_internal)
10723         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10724         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10725         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10726         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10727         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10728         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10729         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10730         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10731         (_IO_file_close_internal, _IO_file_close_it_internal)
10732         (_IO_file_underflow_internal, _IO_file_overflow_internal)
10733         (_IO_file_init_internal, _IO_file_attach_internal)
10734         (_IO_file_fopen_internal, _IO_file_read_internal)
10735         (_IO_file_sync_internal, _IO_file_seek_internal)
10736         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10737         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10738         (_IO_str_underflow_internal, _IO_str_overflow_internal)
10739         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10740         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10741         (_IO_list_all_internal, _IO_link_in_internal)
10742         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10743         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10744         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10745         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10746         (_IO_do_write_internal, _IO_padn_internal)
10747         (_IO_getline_info_internal, _IO_getline_internal)
10748         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10749         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10750         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10751         (_IO_vfscanf_internal, _IO_vfprintf_internal)
10752         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10753         (_IO_init_internal, _IO_un_link_internal): Don't declare.
10754         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10755         with libc_hidden_ver, remove use of INTUSE.
10756         * libio/genops.c: Likewise.
10757         * libio/freopen.c: Likewise.
10758         * libio/freopen64.c: Likewise.
10759         * libio/iofclose.c: Likewise.
10760         * libio/iofdopen.c: Likewise.
10761         * libio/iofflush.c: Likewise.
10762         * libio/iofflush_u.c: Likewise.
10763         * libio/iofgets.c: Likewise.
10764         * libio/iofgets_u.c: Likewise.
10765         * libio/iofopen.c: Likewise.
10766         * libio/iofopncook.c: Likewise.
10767         * libio/iofread.c: Likewise.
10768         * libio/iofread_u.c: Likewise.
10769         * libio/ioftell.c: Likewise.
10770         * libio/iofwrite.c: Likewise.
10771         * libio/iogetline.c: Likewise.
10772         * libio/iogets.c: Likewise.
10773         * libio/iogetwline.c: Likewise.
10774         * libio/iopadn.c: Likewise.
10775         * libio/iopopen.c: Likewise.
10776         * libio/ioseekoff.c: Likewise.
10777         * libio/ioseekpos.c: Likewise.
10778         * libio/iosetbuffer.c: Likewise.
10779         * libio/iosetvbuf.c: Likewise.
10780         * libio/ioungetc.c: Likewise.
10781         * libio/ioungetwc.c: Likewise.
10782         * libio/iovdprintf.c: Likewise.
10783         * libio/iovsprintf.c: Likewise.
10784         * libio/iovsscanf.c: Likewise.
10785         * libio/memstream.c: Likewise.
10786         * libio/obprintf.c: Likewise.
10787         * libio/oldfileops.c: Likewise.
10788         * libio/oldiofclose.c: Likewise.
10789         * libio/oldiofdopen.c: Likewise.
10790         * libio/oldiofopen.c: Likewise.
10791         * libio/oldiopopen.c: Likewise.
10792         * libio/oldstdfiles.c: Likewise.
10793         * libio/putc.c: Likewise.
10794         * libio/setbuf.c: Likewise.
10795         * libio/setlinebuf.c: Likewise.
10796         * libio/stdfiles.c: Likewise.
10797         * libio/strops.c: Likewise.
10798         * libio/vasprintf.c: Likewise.
10799         * libio/vscanf.c: Likewise.
10800         * libio/vsnprintf.c: Likewise.
10801         * libio/vswprintf.c: Likewise.
10802         * libio/wfiledoalloc.c: Likewise.
10803         * libio/wfileops.c: Likewise.
10804         * libio/wgenops.c: Likewise.
10805         * libio/wmemstream.c: Likewise.
10806         * libio/wstrops.c: Likewise.
10807         * libio/__fpurge.c: Likewise.
10808         * libio/__fsetlocking.c: Likewise.
10809         * assert/assert.c: Likewise.
10810         * debug/fgets_chk.c: Likewise.
10811         * debug/fgets_u_chk.c: Likewise.
10812         * debug/fread_chk.c: Likewise.
10813         * debug/fread_u_chk.c: Likewise.
10814         * debug/gets_chk.c: Likewise.
10815         * debug/obprintf_chk.c: Likewise.
10816         * debug/vasprintf_chk.c: Likewise.
10817         * debug/vdprintf_chk.c: Likewise.
10818         * debug/vsnprintf_chk.c: Likewise.
10819         * debug/vsprintf_chk.c: Likewise.
10820         * malloc/mtrace.c: Likewise.
10821         * misc/error.c: Likewise.
10822         * misc/syslog.c: Likewise.
10823         * stdio-common/asprintf.c: Likewise.
10824         * stdio-common/fxprintf.c: Likewise.
10825         * stdio-common/getw.c: Likewise.
10826         * stdio-common/isoc99_fscanf.c: Likewise.
10827         * stdio-common/isoc99_scanf.c: Likewise.
10828         * stdio-common/isoc99_vfscanf.c: Likewise.
10829         * stdio-common/isoc99_vscanf.c: Likewise.
10830         * stdio-common/isoc99_vsscanf.c: Likewise.
10831         * stdio-common/printf-prs.c: Likewise.
10832         * stdio-common/printf_fp.c: Likewise.
10833         * stdio-common/printf_fphex.c: Likewise.
10834         * stdio-common/printf_size.c: Likewise.
10835         * stdio-common/putw.c: Likewise.
10836         * stdio-common/scanf.c: Likewise.
10837         * stdio-common/sprintf.c: Likewise.
10838         * stdio-common/tmpfile.c: Likewise.
10839         * stdio-common/vfprintf.c: Likewise.
10840         * stdio-common/vfscanf.c: Likewise.
10841         * stdlib/strfmon_l.c: Likewise.
10842         * sunrpc/openchild.c: Likewise.
10843         * sunrpc/xdr_stdio.c: Likewise.
10844         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10845         * sysdeps/mach/hurd/tmpfile.c: Likewise.
10847 2012-05-24  Roland McGrath  <roland@hack.frob.com>
10849         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10851         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10852         in the third column, to generate for the shared library an IFUNC
10853         that uses _dl_vdso_vsym.
10854         * Makerules (COMPILE.c, compile-stdin.c): New variables.
10855         * Makeconfig (object-suffixes-noshared): New variable.
10857         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10858         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10859         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10860         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10862         [BZ #14132]
10863         * include/sys/time.h (__gettimeofday): Remove macro.
10864         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10865         * time/gettimeofday.c (__gettimeofday): Remove #undef.
10866         Remove INTDEF.
10867         (__gettimeofday): Add libc_hidden_def.
10868         (gettimeofday): Add libc_hidden_weak.
10869         * sysdeps/mach/gettimeofday.c: Likewise.
10870         * sysdeps/posix/gettimeofday.c: Likewise.
10871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10872         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10873         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10874         (__gettimeofday_internal): Remove strong_alias.
10875         (__gettimeofday): Add libc_hidden_def.
10876         (gettimeofday): Add libc_hidden_weak.
10877         * sysdeps/unix/syscalls.list (gettimeofday):
10878         Remove __gettimeofday_internal alias.
10880 2012-05-24  Daniel Jacobowitz  <drow@false.org>
10881             H.J. Lu  <hongjiu.lu@intel.com>
10883         [BZ #12495]
10884         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10885         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10886         (largebin_index_32_big): New.
10887         (largebin_index): Use it for 16-byte alignment.
10888         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
10889         correction with front_misalign.
10891 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10895         Likewise.
10896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10897         Likewise.
10898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10907         Likewise.
10908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10909         Likewise.
10910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10911         Likewise.
10912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10913         Likewise.
10914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10915         Likewise.
10916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10917         Likewise.
10919         * scripts/data/c++-types-x32-linux-gnu.data: New file.
10920         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10922 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10924         [BZ #10846]
10925         [BZ #14036]
10926         * math/libm-test.inc (exp_test): Add test from bug 14036.
10927         (pow_test): Add test from bug 10846.
10929         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10930         and other flags.
10931         (special_function): Do not include flags in test name.
10932         (parse_args): Likewise.
10933         * sysdeps/i386/fpu/libm-test-ulps: Update.
10934         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10935         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10936         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10939         * math/gen-libm-test.pl (%beautify): Add entries for underflow
10940         exceptions.
10941         * math/libm-test.inc ("Philosophy"): Update comment about
10942         exception testing.
10943         (UNDERFLOW_EXCEPTION): New macro.
10944         (UNDERFLOW_EXCEPTION_OK): Likewise.
10945         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10946         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10947         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10948         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10949         (INVALID_EXCEPTION_OK): Update value.
10950         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10951         (OVERFLOW_EXCEPTION_OK): Likewise.
10952         (IGNORE_ZERO_INF_SIGN): Likewise.
10953         (test_exceptions): Handle underflow exceptions.
10954         (acos_test): Update for underflow exception expectations.
10955         (cexp_test): Likewise.
10956         (clog_test): Likewise.
10957         (clog10_test): Likewise.
10958         (csqrt_test): Likewise.
10959         (ctan_test): Likewise.
10960         (ctanh_test): Likewise.
10961         (exp_test): Likewise.
10962         (exp10_test): Likewise.
10963         (exp2_test): Likewise.
10964         (expm1_test): Likewise.
10965         (fma_test): Likewise.
10966         (j0_test): Likewise.
10967         (jn_test): Likewise.
10968         (nexttoward_test): Likewise.
10969         (pow_test): Likewise.
10970         (scalbn_test): Likewise.
10971         (scalbln_test): Likewise.
10972         (tan_test): Likewise.
10973         (y1_test): Likewise.
10974         * sysdeps/i386/fpu/libm-test-ulps: Update.
10975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10977 2012-05-23  David S. Miller  <davem@davemloft.net>
10979         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10980         (__libc_sigaction): Remove unused local variables.
10982 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
10984         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10986 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
10988         mktime: avoid signed integer overflow
10989         * time/mktime.c (__mktime_internal): Do not mishandle the case
10990         where diff == INT_MIN.
10992         mktime: simplify computation of average
10993         * time/mktime.c (ranged_convert): Use new time_t_avg function
10994         instead of rolling our own (probably-slower) code.
10996         mktime: do not assume signed right shift propagates sign bit
10997         * time/mktime.c (isdst_differ): New static function.
10998         (__mktime_internal): No need to normalize tm_isdst now.
10999         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11000         tm_isdst values.
11002         mktime: merge another wrapv change from gnulib
11003         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11004         from some compilers.
11006         mktime: remove incorrect attempt at unusual arithmetics
11007         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11008         The code didn't really work on such machines anyway.
11009         (TYPE_MINIMUM): Assume two's complement.
11010         (twos_complement_arithmetic): Verify that long_int and time_t
11011         are two's complement (or unsigned, in the latter case).
11013         mktime: check signed shifts on long_int and time_t, too
11014         * time/mktime.c (SHR): Check that shifts work as desired
11015         on the types long_int and time_t too, as SHR is used on
11016         such types.
11018         mktime: do not assume 'long' is wide enough
11019         * time/mktime.c (verify): Move decl up.
11020         (long_int): New type.
11021         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11022         to remove assumption in the code that 'long' is wide enough to
11023         store year values.  This assumption is not true on x32 and on
11024         some non-glibc platforms.
11026         mktime: merge wrapv change from gnulib
11027         * time/mktime.c (WRAPV): New macro.
11028         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11029         (guess_time_tm, __mktime_internal): Do not assume that signed
11030         integer overflow wraps around; modern compilers generate code
11031         where this assumption is no longer valid.
11033 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11035         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11036         Replace "jmp L(pseudo_end)" with "ret".
11037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11038         Likewise.
11040 2012-05-23  Andreas Jaeger  <aj@suse.de>
11042         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11043         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11045 2012-05-23  Andreas Jaeger  <aj@suse.de>
11046             Maximilian Attems  <max@stro.at>
11048         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11049         New macros.
11051 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11053         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11054         code so that pseudo_end is just ret and the stack pointer is
11055         correct also for static library in error case.
11057 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11059         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11060         move to syscalls.list.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11066         * manual/install.texi (Running make install): Do not mention Linux
11067         kernel version for which pt_chown is not needed.
11068         (Linux): Do not mention problems with nscd with 2.0 kernels.
11069         * INSTALL: Regenerated.
11071 2012-05-23  Andreas Jaeger  <aj@suse.de>
11073         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11074         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11075         macro.
11076         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11077         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11078         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11079         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11080         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11081         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11082         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11083         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11084         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11085         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11086         * sysdeps/unix/sysv/linux/bits/in.h
11087         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11089 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11091         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11092         (PREPARE_VERSION): Just use assert instead, it will be elided
11093         under [NDEBUG] anyway.
11095 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11097         * sysdeps/unix/sysv/linux/Makefile: Include
11098         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11099         (sysdep_routines): Remove sysctl.
11100         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11101         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11102         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11103         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11104         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11106 2012-05-22  Andreas Jaeger  <aj@suse.de>
11108         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11109         that pseudo_end is just ret and the stack pointer is correct also
11110         for static library in error case.
11112 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11114         [BZ #14122]
11115         * nss/nsswitch.c (defconfig_entries): New variable.
11116         (__nss_database_lookup): Don't leak defconfig entries.
11117         (nss_parse_service_list): Don't leak on error paths.
11118         (free_database_entries): New function.
11119         (free_defconfig): New function.
11120         (free_mem): Move common code to free_database_entries.
11122 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11124         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11125         Add arch_prctl.
11126         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11128         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11129         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11131         New macro.
11132         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11133         (INTERNAL_SYSCALL_TYPES): Likewise.
11134         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11135         (LOAD_REGS_TYPES_[1-6]): Likewise.
11136         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11137         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11139 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11141         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11142         copysignl for GLIBC_2_0.
11143         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11144         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11145         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11146         logbl for GLIBC_2_0.
11147         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11148         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11150 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11152         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11153         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11155         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11156         Use "neg %eax".
11158         * time/mktime.c: Update copyright years.
11160 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11162         mktime: merge comment-quoting-style change from gnulib
11163         * time/mktime.c: Quote 'like this' in comments.
11164         The GNU coding standards suggest that we no longer quote `like this',
11165         as "`" and "'" are typically rendered asymmetrically nowadays.
11166         The typical gnulib style is to quote 'like this' when quoting
11167         code, and "like this" when quoting English.
11169         * time/mktime.c (compile-command): Add "-I.".
11171         mktime: merge mktime-internal.h change from gnulib
11172         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11174         mktime: merge time_r change from gnulib
11175         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11177         mktime: merge DEBUG change from gnulib
11178         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11179         case system <time.h> has a #define.
11181         mktime: merge <sys/types.h> change from gnulib
11182         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11183         since <time.t> is now guaranteed to define time_t.
11185         mktime: merge HAVE_CONFIG_H change from gnulib
11186         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11188 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11191         Use "neg %eax".
11193         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11194         __rlim_t cast.
11195         (struct rusage): Use anonymous union to pad each field to
11196         __syscall_slong_t.
11198 2012-05-21  David S. Miller  <davem@davemloft.net>
11200         * Makefules (o-iterator): Remove .s cases.
11201         (compile-command.s): Delete.
11202         (COMPILE.s): Delete.
11203         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11205 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11207         * configure.in (libc_cv_predef_stack_protector): Only consider
11208         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11209         * configure: Regenerated.
11211 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11213         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11214         New macro.  Use R*LP on int and pointer.
11215         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11216         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11217         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11218         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11220         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11221         [__WORDSIZE_TIME64_COMPAT32] instead of
11222         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11223         (struct utmp): Likewise.
11224         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11225         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11226         Renamed to ...
11227         (__WORDSIZE_TIME64_COMPAT32): This.
11228         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11229         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11230         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11231         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11232         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11233         (__WORDSIZE_TIME64_COMPAT32): New macro.
11235 2012-05-21  Andreas Jaeger  <aj@suse.de>
11237         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11238         only if [SHARED]. Add prototype for __wcschr_ia32.
11240 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11242         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11243         of %rbp unmolested in the jmp_buf while mangling the low bits.
11244         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11245         unmolested high bits of %rbp while demangling the low bits.
11246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11248 2012-05-21  Andreas Jaeger  <aj@suse.de>
11250         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11251         * sunrpc/svc_simple.c: Use it for registerrpc.
11252         * sunrpc/xcrypt.c: Use it for passwd2des.
11254         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11256 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11258         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11259         Don't define if [__SYSCALL_WORDSIZE != 32].
11260         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11261         New macro.
11263 2012-05-21  Bruno Haible  <bruno@clisp.org>
11264             Andreas Jaeger  <aj@suse.de>
11266         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11267         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11268         inptr and inend for must_buffer_ch.
11269         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11270         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11271         * stdio-common/Makefile (tests): Remove bug15.
11272         (bug15-ENV): Remove macro.
11273         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11274         anymore.
11276 2012-05-19  Andreas Jaeger  <aj@suse.de>
11277             Roland McGrath  <roland@hack.frob.com>
11279         * manual/contrib.texi: Completely rewritten. It contains now an
11280         alphabetical list of contributors and their contributions.
11282 2012-05-21  Richard Henderson  <rth@twiddle.net>
11284         * misc/getauxval.c (__getauxval): Use unsigned long int.
11285         * misc/sys/auxv.h: Include <sys/cdefs.h>.
11286         (getauxval): Use unsigned long int.
11288 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11290         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11292 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11294         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11295         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11296         __alignof__ (long double).
11298 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11302 2012-05-20  Richard Henderson  <rth@twiddle.net>
11304         * misc/getauxval.c: New file.
11305         * misc/sys/auxv.h: New file.
11306         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11307         (routines): Add getauxval.
11308         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11309         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11310         * elf/dl-sysdep.c (_dl_auxv): Remove.
11311         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11312         * elf/dl-support.c (_dl_auxv): New variable.
11313         (_dl_aux_init): Initialize it.
11314         * manual/startup.texi (Auxiliary Vector): New node.
11315         * sysdeps/generic/bits/hwcap.h: New file.
11316         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11317         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
11318         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11319         * sysdeps/sparc/sysdep.h: ... here.  Include it.
11320         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11321         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11323         Update.
11324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11327         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11333 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11337 2012-05-19  David S. Miller  <davem@davemloft.net>
11339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11341 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #14123]
11344         * math/s_ccosh.c: Include <float.h>
11345         (__ccosh): Avoid internal overflow calculating sinh and cosh
11346         values before multiplying by sin and cos values.
11347         * math/s_ccoshf.c: Likewise.
11348         * math/s_ccoshl.c: Likewise.
11349         * math/s_csin.c: Likewise.
11350         * math/s_csinf.c: Likewise.
11351         * math/s_csinl.c: Likewise.
11352         * math/s_csinh.c: Likewise.
11353         * math/s_csinhf.c: Likewise.
11354         * math/s_csinhl.c: Likewise.
11355         * math/libm-test.inc (ccos_test): Add more tests.
11356         (ccosh_test): Likewise.
11357         (csin_test): Likewise.
11358         (csinh_test): Likewise.
11359         * sysdeps/i386/fpu/libm-test-ulps: Update.
11360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11364         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11365         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11367         * sysdeps/x86_64/x32/_itoa.h: Add comment.
11369 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11371         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11372         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11373         * sysdeps/powerpc/soft-fp/Versions: Likewise.
11374         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11375         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11376         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11377         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11378         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11379         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11380         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11381         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11382         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11383         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11384         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11385         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11386         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11387         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11388         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11389         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11390         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11391         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11392         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11393         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11394         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11395         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11396         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11397         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11398         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11399         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11400         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11401         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11403 2012-05-18  Andreas Jaeger  <aj@suse.de>
11405         * csu/.gitignore: Delete.
11407 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11409         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11410         (timex): Use __syscall_slong_t.
11412 2012-05-18  Andreas Jaeger  <aj@suse.de>
11413             Carlos O'Donell  <carlos_odonell@mentor.com>
11415         * manual/install.texi (Configuring and compiling): Update
11416         description about files modified in the source directory.
11417         * INSTALL: Regenerated.
11419 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11421         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11422         value.  Use "or" to set return value to -1.
11423         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11424         negate return value.
11426 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11428         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11429         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11430         failure if the compiler has Graphite support disabled.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11432         Likewise.
11433         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11434         CFLAGS-memmove.c): Likewise.
11435         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11436         Likewise.
11438 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11440         * sysdeps/x86_64/x32/_itoa.h: New file.
11442         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11443         getdents system call only if kernel and user dirents have the
11444         same d_ino and d_off.
11446         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11447         LLONG_MAX != LONG_MAX.
11448         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11449         (_fitoa_word): Likewise.
11451         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11452         years.
11453         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11454         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11455         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11457         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11458         include <bits/wordsize.h>.  Check __x86_64__ instead of
11459         __WORDSIZE.
11460         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11461         if __x86_64__ is defined.  Use anonymous union on fpstate.
11463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11464         anonymous union.
11466 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
11468         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11469         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11470         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11471         Refer to _rtld_local_ro instead of _rtld_global_ro.
11472         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11473         Likewise.
11474         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11475         Likewise.
11476         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11477         Likewise.
11478         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11479         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11480         of _rtld_global, and rtld_progname instead of _dl_argv[0].
11482         * sysdeps/powerpc/powerpc32/dl-machine.c
11483         (__elf_machine_runtime_setup) [PROF]: Don't reference
11484         _dl_prof_resolve.
11486 2012-05-18  Andreas Jaeger  <aj@suse.de>
11488         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11489         function only available for GCCs before 3.4 since GCC 3.4
11490         introduced a builtin.
11491         (lrint): Likewise.
11492         (llrintf): Likewise.
11493         (llrint): Likewise.
11494         (fmaxf): Likewise.
11495         (fmax): Likewise.
11496         (fminf): Likewise.
11497         (fmin): Likewise.
11498         (rint): Likewise.
11499         (rintf): Likewise.
11500         (nearbyint): Likewise.
11501         (nearbyintf): Likewise.
11502         (ceil): Likewise.
11503         (ceilf): Likewise.
11504         (floor): Likewise.
11505         (floorf): Likewise.
11507 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11509         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11510         on both fields and cast pointer to __syscall_ulong_t.
11512         * bits/types.h (__fsword_t): New type.
11513         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11514         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11516         (__FSWORD_T_TYPE): Likewise.
11517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11518         (__FSWORD_T_TYPE): Likewise.
11519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11520         (__FSWORD_T_TYPE): Likewise.
11521         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11522         (__FSWORD_T_TYPE): Likewise.
11523         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11524         __SWORD_TYPE with __fsword_t.
11525         (statfs64): Likewise.
11527 2012-05-17  David S. Miller  <davem@davemloft.net>
11529         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11531 2012-05-17  Andreas Jaeger  <aj@suse.de>
11533         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11534         warning.
11536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11538         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11540 2012-05-17  Andreas Jaeger  <aj@suse.de>
11542         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11543         when it is used.
11545 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11547         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11549 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11551         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11552         * sysdeps/x86_64/tst-mallocalign1.c: New file.
11554 2012-05-17  Andreas Jaeger  <aj@suse.de>
11555             Carlos O'Donell  <carlos_odonell@mentor.com>
11557         [BZ #14059]
11558         * sysdeps/x86_64/multiarch/init-arch.h
11559         (bit_YMM_Usable): Rename to...
11560         (bit_AVX_Usable): ... this.
11561         (bit_FMA4_Usable): New macro.
11562         (bit_XMM_state): New macro.
11563         (bit_YMM_state): New macro.
11564         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11565         [__ASSEMBLER__] (index_AVX_Usable): ... this.
11566         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11567         (CPUID_OSXSAVE): New macro.
11568         (CPUID_AVX): New macro.
11569         (CPUID_FMA4): New macro.
11570         (index_YMM_Usable): Rename to...
11571         (index_AVX_Usable): ... this.
11572         (HAS_AVX): Use HAS_ARCH_FEATURE.
11573         (HAS_FMA4): Likewise.
11574         (HAS_YMM_USABLE): Remove.
11575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11576         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11577         are present.
11578         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11579         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11580         * sysdeps/x86_64/multiarch/Makefile: Likewise.
11581         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11582         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11584 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11586         * math/libm-test.c: Support platforms without multiple rounding modes.
11587         * math/bug-nextafter.c: Support platforms without FP exceptions.
11588         * math/bug-nexttoward.c: Likewise.
11589         * math/test-fenv.c: Likewise.
11590         * math/test-misc.c: Likewise.
11591         * stdlib/bug-getcontext.c: Likewise.
11593 2012-05-17  Andreas Jaeger  <aj@suse.de>
11595         * manual/examples/search.c (critter_cmp): Change signature to
11596         avoid warnings.
11597         * manual/string.texi (Collation Functions): Likewise.
11599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11601         * bits/types.h: Fold copyright years.
11602         * bits/typesizes.h: Likewise.
11603         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11605         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11607         * time/time.h: Likewise.
11609 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
11611         [BZ #208]
11612         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11613         in instead of returning them.  Return void.
11614         (__libc_mallinfo): Accumulate over all arenas.
11615         (__malloc_stats): Adjust for change in int_mallinfo interface.
11617 2012-05-16  Roland McGrath  <roland@hack.frob.com>
11619         [BZ #10375]
11620         * configure.in (NM): Add AC_CHECK_TOOL for it.
11621         (libc_extra_cflags): New substituted variable.
11622         Check for -fstack-protector being used implicitly.
11623         * configure: Regenerated.
11624         * config.make.in (config-extra-cflags): New variable,
11625         gets @libc_extra_cflags@.
11626         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11628         [BZ #10375]
11629         * configure.in: Check for _FORTIFY_SOURCE being predefined.
11630         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11631         * configure: Regenerated.
11632         * config.make.in (CPPUNDEFS): New substituted variable.
11633         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11634         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11635         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11637 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11639         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11640         (mq_attr): Use __syscall_slong_t.
11642 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11644         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11645         Check __x86_64__ instead of __WORDSIZE.
11646         (_STAT_VER_LINUX): Likewise.
11647         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
11648         __syscall_ulong_t and __syscall_slong_t.
11649         (stat64): Likewise.
11651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11653         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11657         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11659 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11661         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11662         __syscall_ulong_t.
11664         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11665         include <bits/wordsize.h>.  Check __x86_64__ instead of
11666         __WORDSIZE.
11667         (greg_t): Use "__extension__ long long int" if __x86_64__ is
11668         defined.
11669         (mcontext_t): Replace "unsigned long" with "unsigned long long".
11671         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11672         include <bits/wordsize.h>.  Check __x86_64__ instead of
11673         __WORDSIZE.
11674         (user_regs_struct): Use "__extension__ unsigned long long"
11675         instead of "unsigned long" if __x86_64__ is defined.
11676         (user): Likewise.  Pad after pointer field if __ILP32__ is
11677         defined.
11679 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
11681         * configure.in (makeinfo): Require version 4.5 or later.  Allow
11682         versions 5 to 9.
11683         * configure: Regenerated.
11684         * manual/install.texi (texinfo): Increase version requirement to
11685         4.5 or later.
11686         * INSTALL: Regenerated.
11688         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11692         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11694         * sysdeps/x86_64/x32/ffs.c: New file.
11696         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11697         __syscall_ulong_t.
11698         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11699         defined.  Use __syscall_ulong_t.
11700         (shminfo): Use __syscall_ulong_t.
11701         (shm_info): Likewise.
11703         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11704         __syscall_ulong_t.
11706         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11707         <bits/wordsize.h>.
11708         (msgqnum_t): Use __syscall_ulong_t.
11709         (msglen_t): Likewise.
11710         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
11711         __syscall_ulong_t.
11713         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11714         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11716         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11718         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11719         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11721         * sysvipc/sys/msg.h (msgbuf): Replace long int with
11722         __syscall_slong_t.
11724         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11725         include <bits/wordsize.h>.  Check __x86_64__ instead of
11726         __WORDSIZE.
11728         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11729         "unsigned long long int" if __x86_64__ is defined.
11730         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11732         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11733         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11734         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11736         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11737         <stdint.h>.
11738         (GET_PC): Cast to uintptr_t first.
11739         (GET_FRAME): Likewise.
11740         (GET_STACK): Likewise.
11742         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11743         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11745         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11747         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11748         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11749         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11750         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11751         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11752         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11754         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11755         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11756         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11757         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11758         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11761         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11762         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11763         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11764         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11765         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11766         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11768         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11769         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11770         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11772 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
11774         * Makerules (+depfiles): Also collect depfiles from .oS in
11775         $(extra-objs).
11776         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11777         .oS, $(libnldbl-routines)).
11779         * Makerules (native-compile-mkdep-flags): Define.
11780         * sunrpc/Makefile (extra-objs): Add $(addprefix
11781         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11782         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11783         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
11784         calling $(make-target-directory).
11786 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11788         * bits/types.h (__snseconds_t): Removed.
11789         * time/time.h (struct timespec): Replace __snseconds_t with
11790         __syscall_slong_t.
11791         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11792         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11793         Likewise.
11794         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11795         (__SNSECONDS_T_TYPE): Likewise.
11796         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11797         (__SNSECONDS_T_TYPE): Likewise.
11798         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11799         (__SNSECONDS_T_TYPE): Likewise.
11801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11803         * sysdeps/mach/hurd/bits/typesizes.h
11804         (__SYSCALL_SLONG_TYPE): New macro.
11805         (__SYSCALL_ULONG_TYPE): Likewise.
11807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11809         * bits/types.h (__syscall_slong_t): New type.
11810         (__syscall_ulong_t): Likewise.
11812         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11813         (__SYSCALL_ULONG_TYPE): Likewise.
11814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11815         (__SYSCALL_SLONG_TYPE): Likewise.
11816         (__SYSCALL_ULONG_TYPE): Likewise.
11817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11818         (__SYSCALL_SLONG_TYPE): Likewise.
11819         (__SYSCALL_ULONG_TYPE): Likewise.
11820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11821         (__SYSCALL_SLONG_TYPE): Likewise.
11822         (__SYSCALL_ULONG_TYPE): Likewise.
11824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11826         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11827         Add sigaltstack-offsets.sym.
11828         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11829         <sigaltstack-offsets.h>.
11830         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
11831         longjmp_msg pointer.
11832         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
11833         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11834         signal stack.
11835         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11837 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
11839         * elf/stackguard-macros.h: Remove file.
11840         * sysdeps/generic/stackguard-macros.h: New file.
11841         * sysdeps/i386/stackguard-macros.h: Likewise.
11842         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11843         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11844         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11845         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11846         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11847         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11848         * sysdeps/x86_64/stackguard-macros.h: Likewise.
11849         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11850         <elf/stackguard-macros.h>.
11852         [BZ #14109]
11853         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11854         __aligned__ in attribute.
11855         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11856         (gregset_t): Likewise.
11858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11860         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11861         * sysdeps/x86_64/64/Implies-after: Here.  New file.
11862         * sysdeps/x86_64/x32/Implies-after: New file.
11864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11866         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11867         and access return value for _dl_profile_fixup.  Use R10_LP to
11868         load frame size.
11870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11876         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11877         * sysdeps/x86_64/x32/sysdep.h: New file.
11879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11881         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11882         * sysdeps/x86_64/setjmp.S: Likewise.
11884 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11886         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11887         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11888         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11889         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11890         remove unused global constant.
11892 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
11894         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11895         include of <not-cancel.h>.
11897 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11899         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11901 2012-05-15  Jeff Law  <law@redhat.com>
11902             Andreas Jaeger  <aj@suse.de>
11904         [BZ #13594]
11905         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11906         out from...
11907         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11908         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11909         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11910         code changing __hst_map_handle.map.
11912 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11914         * configure.in (sysnames): Look for Implies-before and Implies-after
11915         files.
11916         * configure: Regenerated.
11918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11920         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11921         8-byte data alignment with LP_SIZE alignment.
11923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11925         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11926         into R10_LP.
11928 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11930         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11934         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11935         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11936         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11937         Likewise.
11938         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11942         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11943         (stackinfo_sub_sp): Likewise.
11945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11948         RAX_LP.
11950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11952         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11953         into R*_LP.
11955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11957         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11958         sizes into R*_LP.
11960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11962         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11966         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11967         into R11_LP and load __x86_64_shared_cache_size_half into
11968         R8_LP.
11970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11972         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11973         R8_LP.
11975 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11978         logb for POWER7.
11979         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11980         logbf for POWER7.
11981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11982         logbl for POWER7.
11983         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11984         powerpc32/power7/fpu/s_logb.c via #include.
11985         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11986         powerpc32/power7/fpu/s_logbf.c via #include.
11987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11988         powerpc32/power7/fpu/s_logbl.c via #include.
11990 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
11992         * README.libm: Remove file.
11994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
11996         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11997         count for x32.  Use R*_LP and omit operand-size suffix.
11999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12001         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12002         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12003         * sysdeps/x86_64/x32/shlib-versions: New file.
12005 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12007         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12008         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12009         Use _dl_fatal_printf instead.
12011 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12013         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12014         set if not set by the user.  Do not allow for being unset.
12015         * sysdeps/unix/sysv/linux/configure: Regenerated.
12017 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12019         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12020         the `q' suffix from lea and replace .quad with ASM_ADDR.
12022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12024         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12025         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12026         instead of $17.
12027         (PTR_DEMANGLE): Likewise.
12029 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12031         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12032         (LP_OP): Likewise.
12033         (ASM_ADDR): Likewise.
12034         (RAX_LP): Likewise.
12035         (RBP_LP): Likewise.
12036         (RBX_LP): Likewise.
12037         (RCX_LP): Likewise.
12038         (RDI_LP): Likewise.
12039         (RSI_LP): Likewise.
12040         (RSP_LP): Likewise.
12041         (R8_LP): Likewise.
12042         (R9_LP): Likewise.
12043         (R10_LP): Likewise.
12044         (R10_LP): Likewise.
12045         (R11_LP): Likewise.
12046         (R12_LP): Likewise.
12047         (R13_LP): Likewise.
12048         (R14_LP): Likewise.
12049         (R15_LP): Likewise.
12051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12053         * sysdeps/x86_64/x32/dl-machine.h: New file.
12055 2012-05-14  Andreas Jaeger  <aj@suse.de>
12057         * manual/Makefile (subdir): Remove export of subdir.
12058         (all): Remove target.
12059         (.PHONY): Remove all from list.
12060         (mkinstalldirs): Remove.
12061         (.PHONY): Remove installdirs from list.
12062         ($(inst_infodir)/libc.info): Use make-target-directory.
12063         (installdirs): Remove.
12064         (subdir_%): Remove.
12065         (glibc-targets): Remove.
12066         (lib): Remove.
12067         (stubs): Remove.
12068         ($(objpfx)stubs ../po/manual.pot): Remove.
12069         ($(objpfx)stamp%): Remove.
12070         (make-target-directory): Remove.
12071         (subdir_install): Remove.
12072         (routines): Remove.
12073         (aux): Remove.
12074         (sources): Remove.
12075         (objects): Remove.
12076         (headers): Remove.
12078         [BZ #13750]
12079         * manual/.gitignore: Remove, it's not needed anymore.
12080         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12081         all files in it.
12082         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12083         directory.
12084         (texis): Renamed to $(objpfx)texis.
12085         (texis-path): New, contains path to generated files.
12086         (chapters.%): Use texis-path for complete path, add extra argument
12087         libc-texinfo.sh.
12088         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12089         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12090         (summary,texi, stamp-summary): Use complete path of
12091         files. Generate files in build dir.
12092         (dir-add.texi): Build in build dir.
12093         (libm-err.texi,stamp-libm-err): Likewise.
12094         (version.texi, stamp-version): Likewise.
12095         (.%c.texi): Likewise.
12096         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12097         (mostlyclean): Remove target.
12098         (realclean): Remove target.
12099         (generated): Add new variable with contents from mostlyclean and
12100         realclean, remove entries duplicated in common-mostlyclean, add
12101         stamp-libm-err and stamp-version.
12102         (generated-dirs): Add libc directory.
12103         ($(inst_infodir)/libc.info): Install files from build dir.
12105         * manual/install.texi (Configuring and compiling): Adjust since
12106         the info files are not part of the tar ball anymore.
12108 2012-05-14  Andreas Jaeger  <aj@suse.de>
12110         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12111         variable.
12113 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12115         [BZ #13717]
12116         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12117         to 2.2.0 where earlier.
12118         * sysdeps/unix/sysv/linux/configure: Regenerated.
12119         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12120         Remove conditional code.
12121         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12122         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12123         Remove conditional code.
12124         [!__NR_lchown]: Likewise.
12125         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12126         [__NR_lchown]: Likewise.
12127         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12128         comment referencing __ASSUME_LCHOWN_SYSCALL.
12129         * sysdeps/unix/sysv/linux/i386/sigaction.c
12130         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12131         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12132         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12133         Remove conditional code.
12134         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12135         (__protocol_available): Remove #if 0 code.
12136         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12137         conditional code.
12138         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12139         * sysdeps/unix/sysv/linux/kernel-features.h
12140         (__ASSUME_GETCWD_SYSCALL): Don't define.
12141         (__ASSUME_REALTIME_SIGNALS): Likewise.
12142         (__ASSUME_PREAD_SYSCALL): Likewise.
12143         (__ASSUME_PWRITE_SYSCALL): Likewise.
12144         (__ASSUME_POLL_SYSCALL): Likewise.
12145         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12146         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12147         non-SPARC.
12148         (__ASSUME_SIOCGIFNAME): Don't define.
12149         (__ASSUME_MSG_NOSIGNAL): Likewise.
12150         (__ASSUME_SENDFILE): Define unconditionally.
12151         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12152         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12153         conditional code.
12154         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12155         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12156         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12157         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12158         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12159         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12160         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12162         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12165         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12166         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12168         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12171         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12172         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12174         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12175         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12177         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12178         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12180         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12181         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12183         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12185         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12186         Remove conditional code.
12187         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12188         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12189         Remove conditional code.
12190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12192         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12193         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12194         Remove conditional code.
12195         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12196         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12197         Remove conditional code.
12198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12199         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12200         Remove conditional code.
12201         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12202         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12203         Remove conditional code.
12204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12205         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12206         Remove conditional code.
12207         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12208         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12211         * sysdeps/unix/sysv/linux/sigaction.c
12212         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12213         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12214         * sysdeps/unix/sysv/linux/sigpending.c
12215         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12216         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12217         * sysdeps/unix/sysv/linux/sigprocmask.c
12218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12220         * sysdeps/unix/sysv/linux/sigsuspend.c
12221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12223         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12224         (__libc_missing_rt_sigs): Remove.
12225         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12226         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12227         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12228         Remove conditional code.
12229         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12230         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12231         return 1.
12232         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12233         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12234         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12235         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12237 2012-05-14  Andreas Jaeger  <aj@suse.de>
12239         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12240         it's not used in glibc.
12241         (__coshm1): Likewise.
12242         (__acosh1p): Likewise.
12243         (__sgn): Likewise.
12245         * manual/string.texi (Copying and Concatenation): Add missing
12246         variable in concat example.
12247         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12249 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12251         [BZ #14103]
12252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12253         __builtin_clzl with __builtin_clzll.
12255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12257         [BZ #14104]
12258         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12259         libc_freeres_ptr.
12261 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12263         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12264         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12265         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12268 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
12270         * NEWS: Update ia64 info.
12272 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12274         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12275         used as bcopy.
12277 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
12279         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12280         * sysdeps/unix/syscalls.list (dup3): Likewise.
12281         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12282         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12284 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12286         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12287         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12289 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12291         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12292         thread pointer.
12293         (TLS_IE): Use mov/add instead of movq/addq to load thread
12294         pointer.
12295         (TLS_GD_PREFIX): New.
12296         (TLS_GD): Use it.
12298 2012-05-11  David S. Miller  <davem@davemloft.net>
12300         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12301         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12302         (_FPU_SETCW): Likewise.
12304 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12306         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12307         is 32-byte aligned.
12309 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
12311         [BZ #11837]
12312         * iconvdata/gb18030.c: Update tables.
12313         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
12314         characters specially.
12315         (BODY for TO_LOOP): Add encoding of missing ranges.
12317 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
12319         [BZ #13673]
12320         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12321         * sysdeps/mach/hurd/dup3.c: Likewise.
12322         * sysdeps/mach/hurd/readlinkat.c: Likewise.
12323         * sysdeps/powerpc/memmove.c:: Likewise.
12325 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12327         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12328         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12330 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12332         * elf/elf.h (R_X86_64_RELATIVE64): New.
12333         (R_X86_64_NUM): Updated.
12334         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12335         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
12336         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12337         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12338         tst-quad1pie tst-quad2pie
12339         (modules-names): Add tst-quadmod1 tst-quadmod2.
12340         ($(objpfx)tst-quad1): New dependency.
12341         ($(objpfx)tst-quad2): Likewise.
12342         ($(objpfx)tst-quad1pie): Likewise.
12343         ($(objpfx)tst-quad2pie): Likewise.
12344         * sysdeps/x86_64/tst-quad1.c: New file.
12345         * sysdeps/x86_64/tst-quad1pie.c: New file.
12346         * sysdeps/x86_64/tst-quad2.c: Likewise.
12347         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12348         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12349         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12350         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12351         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12355         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12356         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12357         * streams/stropts.h (t_scalar_t): Define type.
12359         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12360         (_PATH_PRESERVE): Set to "/var/lib".
12361         (_PATH_RWHODIR): Set to "/var/spool/rwho".
12363         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12364         instead of int.
12366         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12367         if __dir_mkfile succeeded.
12369         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12370         checking for _hurd_dtablesize.  Unlock it right after having
12371         finished _hurd_dtable allocation.
12373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12375         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12376         * sysdeps/mach/hurd/configure: Regenerated.
12377         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12378         special-casing to...
12379         * sysdeps/gnu/configure.in: ... this new file.
12380         * sysdeps/unix/sysv/linux/configure: Regenerated.
12381         * sysdeps/gnu/configure: New generated file.
12383         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12384         for Linux: use nsec instead of usec, as well as:
12385         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12386         members of type struct timespec.
12387         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12388         New macros.
12389         (struct stat64): Likewise.
12390         (_STATBUF_ST_NSEC): New macro.
12391         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12393         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12394         __strtoul_internal rather than strtoul.
12396 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12398         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12399         and reject them.
12401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12403         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12404         which preserves existing values.
12405         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12407 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12409         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12410         TIMEOUT values.  Return EINVAL for NFDS values either negative or
12411         greater than FD_SETSIZE.
12413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12415         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12416         allocated, call __vm_protect to finish enabling the existing space, and
12417         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12418         allocate the remainder.
12420 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12422         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12423         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
12425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12427         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12428         sysdeps/mach/hurd/readlink.c.
12430         * posix/tst-sysconf.c (posix_options): Only use
12431         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12432         _POSIX_SYNCHRONIZED_IO when they are defined
12433         * sysdeps/mach/hurd/bits/posix_opt.h:
12434         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12435         (_XOPEN_REALTIME): Undefine macro.
12436         (_XOPEN_REALTIME_THREADS): Undefine macro.
12437         (_XOPEN_SHM): Undefine macro.
12438         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12439         macro to -1.
12440         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12441         macro to -1.
12442         (_POSIX_ASYNC_IO): Undefine macro.
12443         (_POSIX_PRIORITIZED_IO): Undefine macro.
12444         (_POSIX_SPIN_LOCKS): Define macro to -1.
12446         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12447         SA_NODEFER, SA_RESETHAND.
12448         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12449         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12450         F_DUPFD_CLOEXEC.
12452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12454         * elf/Makefile (pldd-modules): Define unconditionally.
12456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12458         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12462         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12463         Return ENOENT when name is empty.
12464         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12468         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12470         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12474         Fix mlock in all cases except non-readable pages.
12475         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12476         instead of VM_PROT_ALL as parameter to __vm_wire function.
12478         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12479         (__mkdir): When path is `/', just fail with EEXIST.
12480         * sysdeps/mach/hurd/mkdirat.c: Likewise.
12482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12484         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12485         <sys/uio.h> (for writev).
12486         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12487         and <sys/param.h> (for MIN).
12489 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12491         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12492         REQUESTED_TIME.  Properly set the remaining time and return EINTR
12493         if interrupted.
12495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12497         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12498         Depend on against $(link-rpcuserlibs).
12500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12502         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12503         (__libc_stack_end): Do not use attribute_relro.
12504         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12505         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12506         to libthread-provided value.
12507         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12508         attribute_relro.
12510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12512         [BZ #3748]
12513         * bits/libc-lock.h (__libc_once_get): New macro.
12514         * sysdeps/mach/bits/libc-lock.h: Likewise.
12515         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12516         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12517         instead of using implementation details.
12519         * libio/fileops.c: Unconditionally include <kernel-features.h>.
12520         * libio/freopen.c: Likewise.
12521         * libio/freopen64.c: Likewise.
12522         * misc/syslog.c: Likewise.
12523         * nscd/connections.c: Likewise.
12524         * nscd/netgroupcache.c: Likewise.
12525         * sysdeps/posix/getcwd.c: Likewise.
12527 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12529         * math/w_ilogbf.c: Add #include <limits.h>.
12531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12533         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12534         path instead of returning without unlocking.
12536         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12537         immediate-write ioctls.
12538         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12542         * sysdeps/mach/hurd/i386/init-first.c (init): Use
12543         __builtin_frame_address instead of making assumptions about the
12544         location of the return address relative to DATA.  Force early load of
12545         the return address.
12546         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12547         __builtin_frame_address.
12549         dup3 for GNU Hurd.
12550         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12551         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
12552         implement dup3 and do some further code clean-ups.
12553         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12554         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12558         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12560         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12561         HURD_CRITICAL_END around holding _hurd_dtable_lock.
12562         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12563         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12564         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12565         d->port.lock.
12567         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12568         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
12569         when handler == SIG_ERR, not when handler != SIG_ERR.
12571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12573         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12574         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12575         definitions.
12577         accept4 for GNU Hurd.
12578         * include/sys/socket.h (__libc_accept4): New prototype.
12579         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
12580         to implement __libc_accept4.
12581         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12582         __libc_accept4.
12583         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12585         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12586         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12587         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12588         signal-defines.sym.
12590 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12592         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12594 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12596         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12597         assertion on O_CLOEXEC flag.
12598         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12599         * hurd/intern-fd.c: Likewise.
12600         * hurd/port2fd.c: Likewise.
12602 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12604         [BZ #3906]
12605         * bits/in.h (IPV6_PKTINFO): Define new macro.
12606         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12608 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12610         [BZ #13954]
12611         [BZ #13955]
12612         [BZ #13956]
12613         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12615         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12616         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12618         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12619         * math/libm-test.inc (logb_test) : Additional logb tests.
12621 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
12622             Andreas Jaeger  <aj@suse.de>
12624         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12625         * configure: Regenerated.
12626         * config.h.in (LINK_OBSOLETE_RPC): New macro.
12627         * config.make.in (link-obsolete-rpc): New substituted variable.
12628         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12629         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12630         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12631         (shared-only-routines): Don't set it under [link-obsolete-rpc],
12632         so that libc.a contains the symbols.
12633         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12634         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12635         * sunrpc/auth_none.c: Likewise.
12636         * sunrpc/auth_unix.c: Likewise.
12637         * sunrpc/authdes_prot.c: Likewise.
12638         * sunrpc/authuxprot.c: Likewise.
12639         * sunrpc/clnt_gen.c: Likewise.
12640         * sunrpc/clnt_perr.c: Likewise.
12641         * sunrpc/clnt_raw.c: Likewise.
12642         * sunrpc/clnt_simp.c: Likewise.
12643         * sunrpc/clnt_tcp.c: Likewise.
12644         * sunrpc/clnt_udp.c: Likewise.
12645         * sunrpc/clnt_unix.c: Likewise.
12646         * sunrpc/des_crypt.c: Likewise.
12647         * sunrpc/des_soft.c: Likewise.
12648         * sunrpc/get_myaddr.c: Likewise.
12649         * sunrpc/key_call.c: Likewise.
12650         * sunrpc/key_prot.c: Likewise.
12651         * sunrpc/netname.c: Likewise.
12652         * sunrpc/pm_getmaps.c: Likewise.
12653         * sunrpc/pm_getport.c: Likewise.
12654         * sunrpc/pmap_clnt.c: Likewise.
12655         * sunrpc/pmap_prot.c: Likewise.
12656         * sunrpc/pmap_prot2.c: Likewise.
12657         * sunrpc/pmap_rmt.c: Likewise.
12658         * sunrpc/publickey.c: Likewise.
12659         * sunrpc/rpc_cmsg.c: Likewise.
12660         * sunrpc/rpc_common.c: Likewise.
12661         * sunrpc/rpc_dtable.c: Likewise.
12662         * sunrpc/rpc_prot.c: Likewise.
12663         * sunrpc/rpc_thread.c: Likewise.
12664         * sunrpc/rtime.c: Likewise.
12665         * sunrpc/svc.c: Likewise.
12666         * sunrpc/svc_auth.c: Likewise.
12667         * sunrpc/svc_raw.c: Likewise.
12668         * sunrpc/svc_run.c: Likewise.
12669         * sunrpc/svc_tcp.c: Likewise.
12670         * sunrpc/svc_udp.c: Likewise.
12671         * sunrpc/svc_unix.c: Likewise.
12672         * sunrpc/svcauth_des.c: Likewise.
12673         * sunrpc/xcrypt.c: Likewise.
12674         * sunrpc/xdr.c: Likewise.
12675         * sunrpc/xdr_array.c: Likewise.
12676         * sunrpc/xdr_float.c: Likewise.
12677         * sunrpc/xdr_intXX_t.c: Likewise.
12678         * sunrpc/xdr_mem.c: Likewise.
12679         * sunrpc/xdr_rec.c: Likewise.
12680         * sunrpc/xdr_ref.c: Likewise.
12681         * sunrpc/xdr_sizeof.c: Likewise.
12682         * sunrpc/xdr_stdio.c: Likewise.
12684 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12687         change.  Update copyright years.
12689 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12691         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12693 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
12694             Joseph Myers  <joseph@codesourcery.com>
12695             Paul Pluzhnikov  <ppluzhnikov@google.com>
12697         [BZ #14012]
12698         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12699         requiring rpcgen.
12700         [cross-compiling] (extra-libs): Likewise.
12701         [cross-compiling] (extra-libs-others): Likewise.
12702         [cross-compiling] (librpcsvc-routines): Likewise.
12703         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12704         [cross-compiling] (omit-deps): Likewise.
12705         (sunrpc-CPPFLAGS): New variable.
12706         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12707         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12708         (cross-rpcgen-objs): New variable.
12709         (extra-objs): Append $(cross-rpcgen-objs).
12710         ($(cross-rpcgen-objs)): New rule.
12711         ($(objpfx)cross-rpcgen): Likewise.
12712         (rpcgen-cmd): Define to use $(built-program-file).  Expand
12713         comment.
12714         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12715         ($(objpfx)x%.stmp): Likewise.
12716         * sunrpc/proto.h [IS_IN_build] (_): Define.
12717         [IS_IN_build] (_libc_intl_domainname): Likewise.
12719 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12721         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12722         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12723         and R_X86_64_TPOFF64.
12725 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12727         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12728         sysdeps/unix/sysv/syscalls.list.
12729         (stime): Likewise.
12730         (utime): Likewise.
12731         * sysdeps/unix/sysv/syscalls.list: Remove file.
12733 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
12735         [BZ #3440]
12736         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12737         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12738         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12739         (__LC_IDENTIFICATION): Make these macros useful in #if
12740         expressions, as required by C99.
12742 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
12744         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12745         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
12746         after this.
12748 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
12750         * stdlib/longlong.h: Updated from GCC.
12752 2012-05-09  Andreas Jaeger  <aj@suse.de>
12754         * nscd/nscd.c (run_modes): Make named enum, reorder so that
12755         default is first entry.
12756         (run_mode): Set type.
12757         (main): Remove informal message about syslog.
12758         (options): Fix typo.
12760         [BZ #14053]
12761         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12762         to asm.
12763         (lrint): Likewise.
12764         (llrintf): Likewise.
12765         (llrint): Likewise.
12766         (rint): Likewise.
12767         (rintf): Likewise.
12768         (nearbyint): Likewise.
12769         (nearbyintf): Likewise.
12771 2012-05-09  Andreas Jaeger  <aj@suse.de>
12772             Pedro Alves  <palves@redhat.com>
12774         * nscd/nscd.c (run_mode): Use enum.
12775         (main): Cleanup coding style issue.
12777 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
12778             Andreas Jaeger  <aj@suse.de>
12780         * nscd/nscd.c (go_background): Replaced with...
12781         (run_mode): ... this.
12782         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12783         (options): Add -F --foreground.
12784         (main): Implement it.
12785         (parse_opt): Parse it.
12787 2012-05-09  Andreas Jaeger  <aj@suse.de>
12789         [BZ #14083]
12790         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12791         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12792         -Wconversion warning.
12793         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12794         Likewise.
12796 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
12798         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
12799         == 0.
12800         (LC_ALL): Use macro-int-constant.
12801         (LC_COLLATE): Likewise.
12802         (LC_CTYPE): Likewise.
12803         (LC_MESSAGES): Likewise.
12804         (LC_MONETARY): Likewise.
12805         (LC_NUMERIC): Likewise.
12806         (LC_TIME): Likewise.
12807         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12808         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12810         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12811         Specify type.
12812         [C99-based standards] (float_t): Expect type.
12813         [C99-based standards] (double_t): Expect type.
12814         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
12815         type.
12816         [C99-based standards] (HUGE_VALL): Likewise.
12817         [C99-based standards] (INFINITY): Likewise.
12818         [C99-based standards] (NAN): Likewise.
12819         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12820         [C99-based standards] (FP_NAN): Likewise.
12821         [C99-based standards] (FP_NORMAL): Likewise.
12822         [C99-based standards] (FP_SUBNORMAL): Likewise.
12823         [C99-based standards] (FP_ZERO): Likewise.
12824         [C99-based standards] (FP_FAST_FMA): Use
12825         optional-macro-int-constant.  Specify type.  Require == 1.
12826         [C99-based standards] (FP_FAST_FMAF): Likewise.
12827         [C99-based standards] (FP_FAST_FMAL): Likewise.
12828         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12829         [C99-based standards] (FP_ILOGBNAN): Likewise.
12830         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12831         Specify type.
12832         [C99-based standards] (MATH_ERREXCEPT): Likewise.
12833         [C99-based standards] (math_errhandling): Specify type.
12834         [ISO99 || ISO11] (signgam): Do not allow.
12835         [non-C99-based standards] (copysignf): Do not allow.
12836         [non-C99-based standards] (exp2f): Likewise.
12837         [non-C99-based standards] (log2f): Likewise.
12838         [non-C99-based standards] (modff): Allow.
12839         [non-C99-based standards] (erff): Do not allow.
12840         [non-C99-based standards] (erfcf): Likewise.
12841         [non-C99-based standards] (gammaf): Likewise.
12842         [non-C99-based standards] (hypotf): Likewise.
12843         [non-C99-based standards] (j0f): Likewise.
12844         [non-C99-based standards] (j1f): Likewise.
12845         [non-C99-based standards] (jnf): Likewise.
12846         [non-C99-based standards] (lgammaf): Likewise.
12847         [non-C99-based standards] (tgammaf): Likewise.
12848         [non-C99-based standards] (y0f): Likewise.
12849         [non-C99-based standards] (y1f): Likewise.
12850         [non-C99-based standards] (ynf): Likewise.
12851         [non-C99-based standards] (isnanf): Likewise.
12852         [non-C99-based standards] (acoshf): Likewise.
12853         [non-C99-based standards] (asinhf): Likewise.
12854         [non-C99-based standards] (atanhf): Likewise.
12855         [non-C99-based standards] (cbrtf): Likewise.
12856         [non-C99-based standards] (expm1f): Likewise.
12857         [non-C99-based standards] (ilogbf): Likewise.
12858         [non-C99-based standards] (log1pf): Likewise.
12859         [non-C99-based standards] (logbf): Likewise.
12860         [non-C99-based standards] (nextafterf): Likewise.
12861         [non-C99-based standards] (remainderf): Likewise.
12862         [non-C99-based standards] (rintf): Likewise.
12863         [non-C99-based standards] (scalbf): Likewise.
12864         [non-C99-based standards] (copysignl): Likewise.
12865         [non-C99-based standards] (exp2l): Likewise.
12866         [non-C99-based standards] (log2l): Likewise.
12867         [non-C99-based standards] (modfl): Allow.
12868         [non-C99-based standards] (erfl): Do not allow.
12869         [non-C99-based standards] (erfcl): Likewise.
12870         [non-C99-based standards] (gammal): Likewise.
12871         [non-C99-based standards] (hypotl): Likewise.
12872         [non-C99-based standards] (j0l): Likewise.
12873         [non-C99-based standards] (j1l): Likewise.
12874         [non-C99-based standards] (jnl): Likewise.
12875         [non-C99-based standards] (lgammal): Likewise.
12876         [non-C99-based standards] (tgammal): Likewise.
12877         [non-C99-based standards] (y0l): Likewise.
12878         [non-C99-based standards] (y1l): Likewise.
12879         [non-C99-based standards] (ynl): Likewise.
12880         [non-C99-based standards] (isnanl): Likewise.
12881         [non-C99-based standards] (acoshl): Likewise.
12882         [non-C99-based standards] (asinhl): Likewise.
12883         [non-C99-based standards] (atanhl): Likewise.
12884         [non-C99-based standards] (cbrtl): Likewise.
12885         [non-C99-based standards] (expm1l): Likewise.
12886         [non-C99-based standards] (ilogbl): Likewise.
12887         [non-C99-based standards] (log1pl): Likewise.
12888         [non-C99-based standards] (logbl): Likewise.
12889         [non-C99-based standards] (nextafterl): Likewise.
12890         [non-C99-based standards] (remainderl): Likewise.
12891         [non-C99-based standards] (rintl): Likewise.
12892         [non-C99-based standards] (scalbl): Likewise.
12893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12894         [non-C99-based standards] (FP_*): Do not allow.
12895         [C99-based standards] (FP_*): Change to
12896         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12897         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12898         allow.
12899         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12900         (SIG_ERR): Likewise.
12901         [X/Open-based standards] (SIG_HOLD): Likewise.
12902         (SIG_IGN): Likewise.
12903         (SIGABRT): Use macro-int-constant.  Specify type.  Require
12904         positive value.
12905         (SIGFPE): Likewise.
12906         (SIGILL): Likewise.
12907         (SIGINT): Likewise.
12908         (SIGSEGV): Likewise.
12909         (SIGTER): Likewise.
12910         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12911         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12912         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12913         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12914         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12915         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12916         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12917         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12918         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12919         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12920         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12921         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12922         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12923         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12924         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12925         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12926         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12927         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12928         [X/Open-based standards] (SIGTRAP): Likewise.
12929         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12930         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12931         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12932         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12933         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12934         allow.
12936 2012-05-08  Ian Wienand  <ianw@vmware.com>
12938         [BZ #14080]
12939         * time/tzset.c (__tzset_parse_tz): Update default rules for
12940         daylight time changes in the Energy Policy Act of 2005.
12942 2012-05-09  Andreas Jaeger  <aj@suse.de>
12944         [BZ #13983]
12945         * elf/ldconfig.c (parse_conf): Change string to make clear that
12946         ldconfig only issued a warning if ld.so.conf does not exist.
12948 2012-05-08  David S. Miller  <davem@davemloft.net>
12950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12951         movxtod instead of popping the value on the stack.
12953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12955 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
12957         * config.h.in: Add HAVE_ARM_PCS_VFP.
12959 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
12961         [BZ #13979]
12962         * include/features.h: Warn if user requests __FORTIFY_SOURCE
12963         checking but the checks are disabled for any reason.
12965 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
12967         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12968         and ELF64_R_TYPE with ELFW(R_TYPE).
12970 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
12972         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12973         (ulimit): Likewise.
12975         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12976         (settimeofday): Likewise.
12978 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
12980         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
12981         a struct th_u2 inside the union, and move tu_block/tu_code into
12982         a new th_u3 union of tu_block/tu_code inside of that.  Move
12983         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
12984         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
12985         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12986         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12987         (th_stuff): Change to th_u1.tu_stuff.
12988         (th_data): Define.
12989         (th_msg): Change to th_u1.th_u2.tu_data.
12991 2012-05-07  David S. Miller  <davem@davemloft.net>
12993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12995         [BZ #14074]
12996         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12997         (SETUP_PIC_REG): Use it.
12998         (SETUP_PIC_REG_LEAF): Use it.
13000 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13002         [BZ #13885]
13003         [BZ #13923]
13004         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13005         USE_AS_EXPM1L.
13006         (EXPL_FINITE): Likewise.
13007         (FLDLOG): Likewise.
13008         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13009         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13010         e_expl.S.
13011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13012         USE_AS_EXPM1L.
13013         (EXPL_FINITE): Likewise.
13014         (FLDLOG): Likewise.
13015         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13016         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13017         e_expl.S.
13018         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13019         test of -max_value argument for long double.
13020         * sysdeps/i386/fpu/libm-test-ulps: Update.
13021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13023 2012-05-06  David S. Miller  <davem@davemloft.net>
13025         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13026         quad soft-float symbols whose references which are compiler
13027         generated.
13028         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13030 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13032         [BZ #13884]
13033         [BZ #13914]
13034         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13035         USE_AS_EXP10L.
13036         (EXPL_FINITE): Likewise.
13037         (FLDLOG): Likewise.
13038         (c0): Likewise.
13039         (c1): Likewise.
13040         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13041         Adjust comments for base varying.
13042         (__expl_finite): Change alias to EXPL_FINITE.
13043         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13044         e_expl.S.
13045         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13046         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13047         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13048         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13049         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13050         USE_AS_EXP10L.
13051         (EXPL_FINITE): Likewise.
13052         (FLDLOG): Likewise.
13053         (c0): Likewise.
13054         (c1): Likewise.
13055         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13056         Adjust comments for base varying.
13057         (__expl_finite): Change alias to EXPL_FINITE.
13058         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13059         tests for bugs.
13060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13062         [BZ #14064]
13063         * math/libm-test.inc (check_float_internal): Correct ulp
13064         calculation for subnormal expected results.
13066 2012-05-06  Andreas Jaeger  <aj@suse.de>
13068         * Makeconfig (+math-flags): New, set to -frounding-math.
13069         (+cflags): Add +math-flags so that all of glibc gets compiled with
13070         it.
13072         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13074 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13076         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13077         Disable one test.
13079         [BZ #13787]
13080         [BZ #13922]
13081         [BZ #14036]
13082         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13083         (__ieee754_expl): Allow for and saturate large arguments.
13084         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13085         (u_threshold): Likewise.
13086         (__exp): Call __ieee754_exp before checking for overflow and
13087         underflow.
13088         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13089         (u_threshold): Likewise.
13090         (__expf): Call __ieee754_expf before checking for overflow and
13091         underflow.
13092         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13093         (u_threshold): Likewise.
13094         (__expl): Call __ieee754_expl before checking for overflow and
13095         underflow.
13096         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13097         (__ieee754_expl): Allow for and saturate large arguments.
13098         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13099         missing overflow exception on overflow.
13100         (expm1_test): Do not allow missing overflow exception on overflow.
13102         * sysdeps/i386/fpu/e_expl.c: Move to ...
13103         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13104         rather than using inline asm.
13105         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13106         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13107         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13109         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13110         (nice): Likewise.
13111         (poll): Likewise.
13112         (signal): Likewise.
13113         (time): Likewise.
13114         (times): Likewise.
13116 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13118         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13119         sysdeps/unix/common/syscalls.list.
13120         (fchmod): Likewise.
13121         (fchown): Likewise.
13122         (ftruncate): Likewise.
13123         (getrusage): Likewise.
13124         (gettimeofday): Likewise.
13125         (setpgid): Likewise.
13126         (setregid): Likewise.
13127         (setreuid): Likewise.
13128         (sigaction): Likewise.
13129         (truncate): Likewise.
13130         (vhangup): Likewise.
13131         * sysdeps/unix/common/syscalls.list: Remove file.
13132         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13133         * sysdeps/unix/sysv/linux/Implies: Likewise.
13135 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13137         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13139         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13140         Moved to ...
13141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13142         Here.
13143         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13144         to ...
13145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13146         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13147         to ...
13148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13149         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13150         to ...
13151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13152         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13153         to ...
13154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13155         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13156         to ...
13157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13158         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13159         to ...
13160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13161         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13162         to ...
13163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13164         Here.
13165         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13166         to ...
13167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13168         Here.
13169         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13170         to ...
13171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13172         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13173         Moved to ...
13174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13175         Here.
13176         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13177         to ...
13178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13180 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13182         * sysdeps/unix/common/bits/dirent.h: Remove file.
13183         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13185         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13186         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13187         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13188         * sysdeps/unix/bsd/isatty.c: Likewise.
13189         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13190         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13191         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13193 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13195         [BZ #13563]
13196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13197         long double comparison inaccuracies.
13198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13201 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13203         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13204         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13206 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13208         [BZ #14049]
13209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13210         nonzero digits before rounding a hex value.
13211         * stdlib/tst-strtod.c (tests): Add another test.
13213 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13215         * sysdeps/s390/fpu/libm-test-ulps: Update.
13217 2012-05-03  Andreas Jaeger  <aj@suse.de>
13219         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13220         does not get optimized out.
13221         (malloc_opt_barrier): New.
13223 2012-05-03  Andreas Jaeger  <aj@suse.de>
13224             Roland McGrath  <roland@hack.frob.com>
13226         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13227         intermediate file deletion.
13228         (generated): Add .symlist files.
13230 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13232         [BZ #13775]
13233         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13234         Redirect under this condition.
13235         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13236         [__USE_GNU] (__dprintf_chk): Not under this condition.
13237         [__USE_GNU] (__vdprintf_chk): Likewise.
13238         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13239         under this condition.
13240         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13241         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13242         [__USE_XOPEN2K8] (vdprintf): Likewise.
13243         [__USE_GNU] (__dprintf_chk): Not under this condition.
13244         [__USE_GNU] (__vdprintf_chk): Likewise.
13245         [__USE_GNU] (dprintf): Likewise.
13246         [__USE_GNU] (vdprintf): Likewise.
13248 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13250         * elf/Makefile (common-generated): Set this instead of generated for
13251         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13252         $(all-built-dso)-derived lists.
13254 2012-05-03  Andreas Jaeger  <aj@suse.de>
13256         * sysdeps/i386/fpu/libm-test-ulps: Update.
13258         * FAQ: Removed.
13259         * FAQ.in: Likewise.
13260         * scripts/gen-FAQ.pl: Likewise.
13261         * manual/install.texi (Installation): Point to online location of
13262         FAQ.
13263         * Makefile (files-for-dist): Remove FAQ.
13264         (FAQ): Remove.
13266 2012-05-02  Allan McRae  <allan@archlinux.org>
13268         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13269         (LDFLAGS-reldepmod5.so): Likewise.
13270         (LDFLAGS-reldep6mod1.so): Likewise.
13271         (LDFLAGS-reldep6mod4.so): Likewise.
13272         (LDFLAGS-reldep8mod3.so): Likewise.
13273         (LDFLAGS-unload4mod1.so): Likewise.
13274         (LDFLAGS-unload4mod2.so): Likewise.
13275         (LDFLAGS-tst-initorder): Likewise.
13276         (LDFLAGS-tst-initordera2.so): Likewise.
13277         (LDFLAGS-tst-initordera3.so): Likewise.
13278         (LDFLAGS-tst-initordera4.so): Likewise.
13279         (LDFLAGS-tst-initorderb2.so): Likewise.
13280         (LDFLAGS-noload): Likewise.
13281         (LDFLAGS-next): Likewise.
13282         (LDFLAGS-order2mod1.so): Likewise.
13283         (LDFLAGS-order2mod2.so): Likewise.
13284         (LDFLAGS-tst-initorder2): Likewise.
13285         (LDFLAGS-tst-initorder2a.so): Likewise.
13286         (LDFLAGS-tst-initorder2b.so): Likewise.
13287         (LDFLAGS-tst-initorder2c.so): Likewise.
13288         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13290 2012-05-02  David S. Miller  <davem@davemloft.net>
13292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13294 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13296         [BZ #14055]
13297         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13299 2012-05-02  Andreas Jaeger  <aj@suse.de>
13301         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13302         since we manipulate rounding mode.
13303         (CPPFLAGS-test-idouble.c): Likewise.
13304         (CPPFLAGS-test-ifloat.c): Likewise.
13305         (CFLAGS-test-ldouble.c): Likewise.
13306         (CFLAGS-test-double.c): Likewise.
13307         (CFLAGS-test-float.c): Likewise.
13308         (CFLAGS-test-misc.c): Likewise.
13309         (CFLAGS-test-test-fenv.c): Likewise.
13311 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13313         [BZ #2550]
13314         [BZ #2570]
13315         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13316         comparisons to determine direction to adjust input.
13318 2012-05-01  Roland McGrath  <roland@hack.frob.com>
13320         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13321         output to the target.
13323         * scripts/localplt.awk: New file.
13324         * elf/Makefile ($(objpfx)check-localplt): Target removed.
13325         (check-localplt-CFLAGS): Variable removed.
13326         ($(all-built-dso:=.jmprel)): New static pattern rule.
13327         (generated): Add those targets.
13328         (localplt-built-dso): New variable.
13329         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13331         * elf/check-localplt.c: File removed.
13333         * scripts/check-execstack.awk: New file.
13334         * elf/Makefile ($(objpfx)check-execstack): Target removed.
13335         (check-execstack-CFLAGS): Variable removed.
13336         ($(objpfx)check-execstack.h): Target removed.
13337         ($(objpfx)execstack-default): New target.
13338         (generated): Add that instead of check-execstack.h.
13339         ($(all-built-dso:=.phdr)): New static pattern rule.
13340         (generated): Add those targets.
13341         * elf/check-execstack.c: File removed.
13343         * scripts/check-textrel.awk: New file.
13344         * elf/Makefile ($(objpfx)check-textrel): Target removed.
13345         (check-textrel-CFLAGS): Variable removed.
13346         (all-built-dso): Use := to define.o
13347         ($(all-built-dso:=.dyn)): New static pattern rule.
13348         (generated): Add those targets.
13349         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13350         * config.make.in (READELF): New substituted variable.
13351         * elf/check-textrel.c: File removed.
13353 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13355         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13356         allow.
13357         * conform/data/ctype.h-data [C99-based standards] (isblank):
13358         Expect function.
13359         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13360         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13362         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13363         Specify type.  Require positive value.
13364         (EILSEQ): Likewise.
13365         (ERANGE): Likewise.
13366         [ISO || POSIX] (EILSEQ): Do not expect.
13367         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13368         Specify type.  Require positive value.
13369         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13370         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13371         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13372         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13373         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13374         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13375         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13376         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13377         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13378         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13379         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13380         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13381         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13382         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13383         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13384         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13385         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13386         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13387         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13388         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13389         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13390         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13391         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13392         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13393         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13394         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13395         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13396         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13397         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13398         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13399         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13400         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13401         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13402         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13403         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13404         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13405         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13406         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13407         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13408         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13409         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13410         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13411         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13412         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13413         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13414         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13415         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13416         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13417         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13418         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13419         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13420         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13421         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13422         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13423         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13424         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13425         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13426         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13427         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13428         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13429         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13430         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13431         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13432         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13433         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13434         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13435         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13436         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13437         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13438         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13439         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13440         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13441         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13442         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13443         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13444         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13445         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13446         Require >= 2.
13447         (FLT_ROUNDS): Expect as macro, not constant.
13448         (FLT_MANT_DIG): Use macro-int-constant.
13449         (DBL_MANT_DIG): Likewise.
13450         (LDBL_MANT_DIG): Likewise.
13451         (FLT_DIG): Likewise.
13452         (DBL_DIG): Likewise.
13453         (LDBL_DIG): Likewise.
13454         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
13455         (DBL_MIN_EXP): Likewise.
13456         (LDBL_MIN_EXP): Likewise.
13457         (FLT_MAX_EXP): Use macro-int-constant.
13458         (DBL_MAX_EXP): Likewise.
13459         (LDBL_MAX_EXP): Likewise.
13460         (FLT_MAX_10_EXP): Likewise.
13461         (DBL_MAX_10_EXP): Likewise.
13462         (LDBL_MAX_10_EXP): Likewise.
13463         (FLT_MAX): Use macro-constant.
13464         (DBL_MAX): Likewise.
13465         (LDBL_MAX): Likewise.
13466         (FLT_EPSILON): Use macro-constant.  Give upper bound.
13467         (DBL_EPSILON): Likewise.
13468         (LDBL_EPSILON): Likewise.
13469         (FLT_MIN): Likewise.
13470         (DBL_MIN): Likewise.
13471         (LDBL_MIN): Likewise.
13472         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13473         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13474         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13475         [ISO11] (FLT_HAS_SUBNORM): Likewise.
13476         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13477         [ISO11] (DBL_DECIMAL_DIG): Likewise.
13478         [ISO11] (FLT_DECIMAL_DIG): Likewise.
13479         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13480         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13481         [ISO11] (FLT_TRUE_MIN): Likewise.
13482         [ISO11] (LDBL_TRUE_MIN): Likewise.
13483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13484         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13485         (SCHAR_MIN): Use macro-int-constant.  Specify type.
13486         (SCHAR_MAX): Likewise.
13487         (UCHAR_MAX): Likewise.
13488         (CHAR_MIN): Likewise.
13489         (CHAR_MAX): Likewise.
13490         (MB_LEN_MAX): Use macro-int-constant.
13491         (SHRT_MIN): Use macro-int-constant.  Specify type.
13492         (SHRT_MAX): Likewise.
13493         (USHRT_MAX): Likewise.
13494         (INT_MAX): Likewise.
13495         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
13496         bound negative.
13497         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13498         bound with "U".
13499         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13500         bound with "L".
13501         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
13502         bound negative.  Suffix upper bound with "L".
13503         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13504         bound with "UL".
13505         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13506         Specify type.
13507         [C99-based standards] (LLONG_MAX): Likewise.
13508         [C99-based standards] (ULLONG_MAX): Likewise.
13509         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
13510         == 0.
13511         [ISO11] (max_align_t): Require type.
13512         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13514         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13515         from $CFLAGS, without defining away __attribute__ calls.
13516         (checknamespace): Use $CFLAGS_namespace.
13518         * conform/conformtest.pl (@keywords): Only include C99 keywords
13519         for standards based on C99 or C11.
13521         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13522         Disable tests.
13523         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13524         UNIX98]: Likewise.
13526         * conform/conformtest.pl: Handle "macro-int-constant" and test for
13527         usability of symbols in #if.
13529         * conform/conformtest.pl: If macro or constant types start
13530         "promoted:", expect the symbol to be of the following type
13531         promoted by the integer promotions.
13533         * conform/conformtest.pl: Parse all "constant" and "macro" lines
13534         in one place.  Also handle "macro-constant".
13536         * conform/conformtest.pl: Only accept expected macro values with
13537         "==".  Parse all "macro" lines in one place.
13538         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13540         * conform/conformtest.pl: Handle braced types on "constant" lines
13541         instead of handling "typed-constant".
13542         * conform/data/signal.h-data: Use "constant" instead of
13543         "typed-constant".
13545         * conform/conformtest.pl: Handle "optional-" at start of lines in
13546         one place rather than duplicating several cases.  Handle each
13547         format of "macro" line with initial "optional-".
13549         * conform/conformtest.pl: Only accept expected constant or
13550         optional-constant values with "==".  Parse all "constant" lines in
13551         one place.  Parse all "optional-constant" lines in one place.
13552         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13553         * conform/data/fmtmsg.h-data: Likewise.
13554         * conform/data/netinet/in.h-data: Likewise.
13555         * conform/data/tar.h-data: Likewise.
13556         * conform/data/limits.h-data: Use "==" form on "constant" and
13557         "optional-constant" lines.
13559         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13560         Use -std=c99 for XOPEN2K.
13561         (@knownproblems): Remove.
13562         (newtoken): Don't check %isknown.
13564         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13565         Do not expect macro.
13566         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13567         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13568         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13569         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13570         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13571         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13572         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13573         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13574         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13575         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13576         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13577         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13578         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13579         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13580         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13581         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13582         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13583         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13584         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13585         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13586         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13587         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13588         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13589         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13590         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13591         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13592         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13593         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13594         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13595         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13596         [XPG3] (acosh): Likewise.
13597         [XPG3] (asinh): Likewise.
13598         [XPG3] (atanh): Likewise.
13599         [XPG3] (cbrt): Likewise.
13600         [XPG3] (expm1): Likewise.
13601         [XPG3] (ilogb): Likewise.
13602         [XPG3] (log1p): Likewise.
13603         [XPG3] (logb): Likewise.
13604         [XPG3] (nextafter): Likewise.
13605         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13606         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13607         [XPG3] (remainder): Likewise.
13608         [XPG3] (rint): Likewise.
13609         [XPG3 || XPG4 || UNIX98] (round): Likewise.
13610         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13611         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13612         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13613         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13614         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13615         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13616         [UNIX98 || XOPEN2K] (scalb): Expect.
13617         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13618         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13619         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13620         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13621         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13622         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13623         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13624         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13625         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13626         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13627         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13628         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13629         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13630         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13631         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13632         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13633         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13634         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13635         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13636         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13637         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13638         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13639         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13640         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13641         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13642         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13643         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13644         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13645         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13646         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13647         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13648         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13649         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13650         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13651         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13652         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13653         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13654         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13655         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13656         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13657         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13658         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13659         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13660         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13661         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13662         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13663         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13664         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13665         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13666         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13667         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13668         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13669         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13670         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13671         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13672         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13673         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13674         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13675         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13676         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13677         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13678         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13679         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13680         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13681         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13682         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13683         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13684         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13685         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13686         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13687         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13688         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13689         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13690         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13691         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13692         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13693         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13694         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13695         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13696         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13697         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13698         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13699         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13700         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13701         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13702         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13703         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13704         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13705         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13706         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13707         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13708         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13709         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13710         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13711         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13712         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13713         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13714         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13715         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13716         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13717         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13718         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13719         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13720         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13721         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13722         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13723         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13724         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13725         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13726         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13727         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13728         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13729         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13730         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13731         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13732         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13733         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13734         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13735         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13736         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13737         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13738         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13739         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13740         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13741         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13742         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13743         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13744         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13745         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13746         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13747         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13748         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13749         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13750         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13751         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13752         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13753         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13755         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13756         _XOPEN_SOURCE_EXTENDED for XPG4.
13758         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13760         * Makeconfig (localtime): Remove variable.
13761         (inst_localtime-file): Likewise.
13763 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13766         Update.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13768         Update.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13770         Update.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13772         Update.
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13774         Update.
13775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13776         Update.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13778         Update.
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13780         Update.
13781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13782         Update.
13784 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13786         [BZ #2550]
13787         [BZ #2570]
13788         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13789         comparisons to determine direction to adjust input.
13790         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13791         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13793         Likewise.
13794         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13795         Likewise.
13796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13797         Likewise.
13798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13800         Likewise.
13801         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13802         Likewise.
13803         * math/libm-test.inc (nexttoward_test): Add more tests.
13805 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13807         [BZ #14040]
13808         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13809         in version GLIBC_2.1, not GLIBC_2.0.
13810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13811         Likewise.
13813 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
13815         [BZ #13942]
13816         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13817         (1 - x) * (1 + x).
13818         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13819         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13820         * math/libm-test.inc (acos_test): Add more tests.
13821         (asin_test): Likewise.
13822         * sysdeps/i386/fpu/libm-test-ulps: Update.
13823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825         [BZ #14034]
13826         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13827         of square root.
13828         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13829         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13830         * math/libm-test.inc (acos_test_tonearest): New function.
13831         (acos_test_towardzero): Likewise.
13832         (acos_test_downward): Likewise.
13833         (acos_test_upward): Likewise.
13834         (asin_test_tonearest): Likewise.
13835         (asin_test_towardzero): Likewise.
13836         (asin_test_downward): Likewise.
13837         (asin_test_upward): Likewise.
13838         (main): Call the new functions.
13839         * sysdeps/i386/fpu/libm-test-ulps: Update.
13840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13842         [BZ #13884]
13843         [BZ #13924]
13844         * math/e_exp10.c: Include <float.h>.
13845         (__ieee754_exp10): Handle underflow here rather than multiplying
13846         large negative argument by M_LN10.
13847         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13848         of __ieee754_expf.
13849         * math/e_exp10l.c: Include <float.h>.
13850         (__ieee754_exp10l): Handle underflow here rather than multiplying
13851         large negative argument by M_LN10l.
13852         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
13853         spurious overflow exception on underflow.
13855 2012-04-29  Marek Polacek  <polacek@redhat.com>
13857         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13858         (__fortify_function): New macro.
13859         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13860         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13861         __extern_always_inline.
13862         * libio/bits/stdio2.h: Likewise.
13863         * libio/bits/stdio.h: Likewise.
13864         * string/string.h: Likewise.
13865         * string/bits/string3.h: Likewise.
13866         * include/stdio.h: Likewise.
13867         * stdlib/bits/stdlib.h: Likewise.
13868         * stdlib/stdlib.h: Likewise.
13869         * rt/bits/mqueue2.h: Likewise.
13870         * rt/mqueue.h: Likewise.
13871         * posix/bits/unistd.h: Likewise.
13872         * posix/unistd.h: Likewise.
13873         * io/bits/poll2.h: Likewise.
13874         * io/bits/fcntl2.h: Likewise.
13875         * io/fcntl.h: Likewise.
13876         * io/sys/poll.h: Likewise.
13877         * misc/bits/syslog.h: Likewise.
13878         * misc/bits/syslog-ldbl.h: Likewise.
13879         * misc/sys/syslog.h: Likewise.
13880         * socket/bits/socket2.h: Likewise.
13881         * socket/sys/socket.h: Likewise.
13882         * debug/tst-chk1.c: Likewise.
13883         * wcsmbs/bits/wchar2.h: Likewise.
13884         * wcsmbs/bits/wchar-ldbl.h: Likewise.
13885         * wcsmbs/wchar.h: Likewise.
13887 2012-04-29  Andreas Jaeger  <aj@suse.de>
13889         * Makerules (tests): Remove enable-check-abi protection.
13890         (check-abi-warn): Remove.
13891         (check-abi-%): Remove check-abi-warn usage.
13893         * configure.in: Remove check-abi configure option.
13894         * configure: Regenerated.
13895         * config.make.in (enable-check-abi): Remove.
13897 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
13899         [BZ #14033]
13900         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13901         double functions to double *_finite functions.
13903         [BZ #13941]
13904         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13905         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13906         LDBL_MIN_EXP.
13907         * stdio-common/Makefile (tests): Add tst-sprintf3.
13908         * stdio-common/tst-sprintf3.c: New file.
13910         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13911         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13913 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
13915         * conform/conformtest.pl: Remove duplicate typed-constant
13916         handling.
13918 2012-04-28  David S. Miller  <davem@davemloft.net>
13920         * Makerules (%.abilist): Add vpath on sysdep_dirs.
13921         (check-abi-%): Remove AWK script prerequisite and explicit
13922         abilist directory.
13923         (check-abi): Rewrite to just diff the symlist with the abilist.
13924         (config-tls, config-abi-config): Delete, no longer used.
13925         (update-abi-%): Remove AWK script and explicit abilist directory.
13926         (update-abi): Rewrite to simply compare and conditionally copy the
13927         symlist and the sysdep abilist file.  Remove update-abi-config
13928         checks.
13929         * abilist/ld.abilist: Remove.
13930         * abilist/libBrokenLocale.abilist: Remove.
13931         * abilist/libanl.abilist: Remove.
13932         * abilist/libcrypt.abilist: Remove.
13933         * abilist/libdl.abilist: Remove.
13934         * abilist/librt.abilist: Remove.
13935         * abilist/libthread_db.abilist: Remove.
13936         * abilist/libutil.abilist: Remove.
13937         * scripts/extract-abilist.awk: Remove.
13938         * scripts/merge-abilist.awk: Remove.
13939         * sysdeps/generic/libcidn.abilist: New file.
13940         * sysdeps/generic/libnss_compat.abilist: New file.
13941         * sysdeps/generic/libnss_db.abilist: New file.
13942         * sysdeps/generic/libnss_dns.abilist: New file.
13943         * sysdeps/generic/libnss_files.abilist: New file.
13944         * sysdeps/generic/libnss_hesiod.abilist: New file.
13945         * sysdeps/generic/libnss_nis.abilist: New file.
13946         * sysdeps/generic/libnss_nisplus.abilist: New file.
13947         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13948         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13949         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13950         file.
13951         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13952         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13953         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13954         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13955         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13956         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13957         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13958         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13959         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13960         file.
13961         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13962         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13963         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13964         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13965         file.
13966         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13967         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13968         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13969         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13970         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13971         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13972         file.
13973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13974         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13975         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13976         file.
13977         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13978         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13979         New file.
13980         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13981         New file.
13982         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13983         New file.
13984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13985         New file.
13986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13987         New file.
13988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13989         New file.
13990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13991         New file.
13992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13993         New file.
13994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13995         New file.
13996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13997         New file.
13998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13999         New file.
14000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14001         New file.
14002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14003         New file.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14005         file.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14007         New file.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14009         New file.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14011         file.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14013         New file.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14015         New file.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14017         file.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14019         New file.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14021         New file.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14023         New file.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14025         New file.
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14027         New file.
14028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14029         New file.
14030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14032         file.
14033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14034         New file.
14035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14036         file.
14037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14038         file.
14039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14040         file.
14041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14042         file.
14043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14044         file.
14045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14046         New file.
14047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14048         file.
14049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14050         file.
14051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14052         New file.
14053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14054         file.
14055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14057         file.
14058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14059         New file.
14060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14061         file.
14062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14063         file.
14064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14065         file.
14066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14067         file.
14068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14069         file.
14070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14071         New file.
14072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14073         file.
14074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14075         file.
14076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14077         New file.
14078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14079         file.
14080         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14081         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14082         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14083         file.
14084         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14085         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14086         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14087         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14088         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14089         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14090         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14091         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14092         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14093         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14096         file.
14097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14098         New file.
14099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14100         file.
14101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14102         file.
14103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14104         file.
14105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14106         file.
14107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14108         file.
14109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14110         New file.
14111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14112         New file.
14113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14114         file.
14115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14116         New file.
14117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14118         file.
14119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14121         file.
14122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14123         New file.
14124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14125         file.
14126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14127         file.
14128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14129         file.
14130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14131         file.
14132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14133         file.
14134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14135         New file.
14136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14137         New file.
14138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14139         file.
14140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14141         New file.
14142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14143         file.
14145 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14147         * conform/conformtest.pl: Fix typo in handling typed-constant from
14148         allow-header.
14150 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14152         * README: Cut down references to pre-2.6 Linux kernels and
14153         Linuxthreads.  Update lists of configurations in libc and ports
14154         and sort alphabetically.  Say "or newer" with Linux kernel version
14155         requirements.
14157         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14159 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14161         [BZ #887]
14162         * math/libm-test.inc (logb_test_downward): New test to expose
14163         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14164         rounding mode.
14166 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14168         [BZ #14027]
14169         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14170         to be done.
14171         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14172         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14174 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14176         * sysdeps/unix/i386/brk.S: Remove file.
14177         * sysdeps/unix/i386/dl-brk.S: Likewise.
14178         * sysdeps/unix/i386/pipe.S: Likewise.
14179         * sysdeps/unix/i386/sigreturn.S: Likewise.
14180         * sysdeps/unix/i386/syscall.S: Likewise.
14181         * sysdeps/unix/i386/vfork.S: Likewise.
14182         * sysdeps/unix/i386/wait.S: Likewise.
14184         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14185         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14187         * configure.in (arm*-none*): Do not allow without
14188         --enable-hacker-mode.
14189         (netbsd*): Remove case setting base_os.
14190         (386bsd*): Likewise.
14191         (freebsd*): Likewise.
14192         (bsdi*): Likewise.
14193         (osf*): Likewise.
14194         (sunos*): Likewise.
14195         (ultrix*): Likewise.
14196         (newsos*): Likewise.
14197         (dynix*): Likewise.
14198         (*bsd*): Likewise.
14199         (sysv*): Likewise.
14200         (isc*): Likewise.
14201         (esix*): Likewise.
14202         (sco*): Likewise.
14203         (minix*): Likewise.
14204         (irix4*): Likewise.
14205         (irix6*): Likewise.
14206         (solaris[2-9]*): Likewise.
14207         (none): Likewise.
14208         * configure: Regenerated.
14210 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14212         [BZ #11521]
14213         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14214         overflow or cancellation in calculating denominator.
14215         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14216         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14217         down expression to avoid unexpected rounding in newer GCCs.
14218         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14220 2012-04-26  David S. Miller  <davem@davemloft.net>
14222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14223         long-double compat symbols.
14224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14238 2012-04-25  David S. Miller  <davem@davemloft.net>
14240         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14241         HWCAP_* values only after the memory barriers have been defined.
14242         (atomic_full_barrier): Define.
14243         (atomic_read_barrier): Define.
14244         (atomic_write_barrier): Define.
14246 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14248         * shlib-versions: Add libgcc_s version information.
14249         * sysdeps/generic/libgcc_s.h: Remove.
14250         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14251         libgcc_s.h.
14252         * sysdeps/gnu/unwind-resume.c: Likewise.
14253         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14255 2012-04-25  David S. Miller  <davem@davemloft.net>
14257         * sysdeps/unix/sparc/brk.S: Delete.
14258         * sysdeps/unix/sparc/dl-brk.S: Delete.
14259         * sysdeps/unix/sparc/pipe.S: Delete.
14260         * sysdeps/unix/sparc/sysdep.S: Delete.
14261         * sysdeps/unix/sparc/sysdep.h: Delete.
14262         * sysdeps/unix/sparc/vfork.S: Delete.
14263         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14264         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14265         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14266         ret_ERRVAL, r0, r1, MOVE): Define.
14267         (JUMPTARGET): Remove.
14268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14269         sysdeps/unix/sparc/sysdep.h
14270         (ENTRY, END): Remove.
14271         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14273 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
14275         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14276         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14277         -DIS_IN_build.
14279         * timezone/README: Update upstream location and email address for
14280         tzcode and tzdata.
14281         * timezone/zdump.c: Update from tzcode 2012b.
14282         * timezone/zic.c: Likewise.
14284         * configure.in (libc_cv_as_needed): Remove test.
14285         * configure: Regenerated.
14286         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14287         conditional definition.
14288         [$(have-as-needed) != yes] (no-as-needed): Likewise.
14289         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14290         * config.make.in (have-as-needed): Remove variable.
14292 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14293             Paul Pluzhnikov  <ppluzhnikov@google.com>
14295         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14296         strings correctly.
14298 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14300         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14301         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14302         * sysdeps/sh/strlen.S: Likewise.
14304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14306         * sysdeps/unix/fork.S: Remove file.
14307         * sysdeps/unix/i386/fork.S: Likewise.
14308         * sysdeps/unix/sparc/fork.S: Likewise.
14310         * sysdeps/unix/system.c: Remove file.
14311         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14313         * sysdeps/unix/getegid.S: Remove file.
14314         * sysdeps/unix/geteuid.S: Likewise.
14316 2012-04-24  Roland McGrath  <roland@hack.frob.com>
14318         * scripts/check-localplt.awk: New file.
14319         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14320         of diff.
14321         * scripts/data/localplt-generic.data: Add a comment.
14323         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14324         NODE when __dir_mkfile failed.
14325         * sysdeps/mach/hurd/symlinkat.c: Likewise.
14326         Reported by Ludovic Courtès <ludo@gnu.org>.
14328 2012-04-24  Andreas Jaeger  <aj@suse.de>
14330         * Makerules (common-clean): Also remove gen-as-const-headers
14331         files.
14333 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14335         * Makerules (native-compile): Do not change working directory for
14336         build.  Use $(OUTPUT_OPTION) in command.
14337         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14339 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14341         [BZ #13886]
14342         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14343         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14344         * math/libm-test.inc (floor_test): Add more tests.
14345         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14347 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14349         * sysdeps/unix/getdents.c: Remove file.
14350         * sysdeps/unix/sysv/getdents.c: Likewise.
14351         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14353         * sysdeps/unix/syscalls.list (madvise): Add syscall from
14354         sysdeps/unix/mman/syscalls.list.
14355         (mmap): Likewise.
14356         (mprotect): Likewise.
14357         (msync): Likewise.
14358         (munmap): Likewise.
14359         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14360         * sysdeps/unix/mman/syscalls.list: Remove.
14361         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14363         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14364         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14365         * configure: Regenerated.
14366         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14367         $(libgcc_s_suffix).
14368         * config.make.in (libgcc_s_suffix): Remove variable.
14370 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
14372         * sysdeps/unix/sysv/gethostname.c: Move to ...
14373         * sysdeps/posix/gethostname.c: ... here.
14375         * sysdeps/unix/execve.S: Remove file.
14377         * sysdeps/unix/_exit.S: Remove file.
14379 2012-04-23  Andreas Jaeger  <aj@suse.de>
14381         [BZ #13739]
14382         * manual/Makefile: Remove make dist support, there's no
14383         need for a stand-alone documentation tar ball.
14384         (TEXI2DVI): Define always, it's not in Makeconfig.
14385         (dist): Removed.
14386         (tar-it): Removed.
14387         (edition): Removed.
14388         (glibc-doc-$(edition).tar): Removed
14389         (%.Z): Removed.
14390         (%.gz): Removed.
14391         (%.uu): Removed.
14392         (ETAGS): Remove, it's in Makeconfig.
14393         (move-if-change): Remove, it's in Makeconfig.
14395 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
14397         [BZ #13970]
14398         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14399         (strtod, strtof, strtold, strtol, strtoul, strtoq)
14400         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14401         (strtod_l, strtof_l, strtold_l): Remove __wur.
14402         It is not necessarily an error to ignore strtol's return value.
14403         One can reliably look at the stored endptr to decide whether
14404         the number had valid syntax.
14406 2012-04-21  Andreas Jaeger  <aj@suse.de>
14408         [BZ #13739]
14409         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14411 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
14413         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14414         * sysdeps/unix/sysv/Versions: Remove file.
14416 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
14418         [BZ #13927]
14419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14421 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
14423         [BZ #7064]
14424         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14425         version from __vm86.
14427 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
14429         * sysdeps/unix/common/lxstat.c: Remove file.
14430         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14432         * sysdeps/unix/sysv/Makefile: Remove file.
14434         * sysdeps/unix/sysv/direct.h: Remove file.
14436         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14437         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14438         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14439         * sysdeps/unix/sysv/bits/signum.h: Likewise.
14440         * sysdeps/unix/sysv/bits/stat.h: Likewise.
14441         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14442         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14444         * sysdeps/unix/sysv/setrlimit.c: Remove file.
14446         * sysdeps/unix/xmknod.c: Remove file.
14447         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14449         * sysdeps/unix/sysv/settimeofday.c: Remove file.
14451         * sysdeps/unix/sysv/i386/time.S: Remove file.
14453         * sysdeps/unix/fxstat.c: Remove file.
14454         * sysdeps/unix/xstat.c: Likewise.
14455         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14457         * sysdeps/unix/sysv/sigaction.c: Remove file.
14459         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14460         (sysdep_headers): Remove variable.
14461         [termio.h not in sysdep_headers] (generated): Likewise.
14462         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14463         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14464         * sysdeps/unix/sysv/tcdrain.c: Likewise.
14465         * sysdeps/unix/sysv/tcflow.c: Likewise.
14466         * sysdeps/unix/sysv/tcflush.c: Likewise.
14467         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14468         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14469         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14470         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14471         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14473         * sysdeps/unix/siglist.c: Remove file.
14475         * sysdeps/unix/getppid.S: Remove file.
14477         * sysdeps/unix/mkdir.c: Remove file.
14478         * sysdeps/unix/rmdir.c: Likewise.
14480 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
14482         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14483         ERR_MAX value.
14484         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14485         errlist-compat value.
14487 2012-04-18  David S. Miller  <davem@davemloft.net>
14489         * sysdeps/generic/memcopy.h (reg_char): Delete.
14490         * debug/strcat_chk.c: Use char, not reg_char.
14491         * debug/strcpy_chk.c: Likewise.
14492         * debug/strncat_chk.c: Likewise.
14493         * debug/strncpy_chk.c: Likewise.
14494         * string/memchr.c: Likewise.
14495         * string/memrchr.c: Likewise.
14496         * string/rawmemchr.c: Likewise.
14497         * string/strcat.c: Likewise.
14498         * string/strchr.c: Likewise.
14499         * string/strchrnul.c: Likewise.
14500         * string/strcmp.c: Likewise.
14501         * string/strcpy.c: Likewise.
14502         * string/strncat.c: Likewise.
14503         * string/strncmp.c: Likewise.
14504         * string/strncpy.c: Likewise.
14506 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14508         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14509         __builtin_memcopy is called when src and dest ranges are known to not
14510         overlap.
14512 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14514         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14515         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14516         fwd_align_merge macro call.
14517         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14518         bwd_align_merge macro call.
14519         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14521 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14523         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14524         bwd_align_merge macros.
14525         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14526         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14527         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14529 2012-04-18  David S. Miller  <davem@davemloft.net>
14531         * sysdeps/sparc/sparc64/memcopy.h: Delete.
14533 2012-04-18  Andreas Jaeger  <aj@suse.de>
14535         [BZ# 6794]
14536         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14537         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14538         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14540         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14541         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14542         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14544         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14545         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14546         Adjust for changed ldbl-128 files.
14548         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14549         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14550         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14552 2012-04-17  David S. Miller  <davem@davemloft.net>
14554         * sysdeps/sparc/sparc32/memcopy.h: Delete.
14556 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
14558         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14559         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14560         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14561         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14562         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14563         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14565 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14567         [BZ #6794]
14568         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14569         * math/libm-test.inc: Add ilogb errno and exception tests.
14570         * math/w_ilogb.c: New file: ilogb wrapper.
14571         * math/w_ilogbf.c: New file: ilogbf wrapper.
14572         * math/w_ilogbl.c: New file: ilogbl wrapper.
14573         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14574         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14575         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14576         exception being thrown with 0.0 as argument.
14577         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14578         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14579         exception being thrown with 0.0 as argument.
14580         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14581         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14582         exception being thrown with 0.0 as argument.
14583         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14584         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14585         exception being thrown with 0.0 as argument.
14586         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14587         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14588         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14589         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14591         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14592         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14593         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14594         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14596 2012-04-17  Petr Baudis  <pasky@ucw.cz>
14598         * include/sys/uio.h: Change __vector to __iovec to avoid clash
14599         with altivec.
14601 2012-04-16  Marek Polacek  <polacek@redhat.com>
14603         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14605 2012-04-16  Marek Polacek  <polacek@redhat.com>
14607         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14608         operands of fdivp instruction.
14610 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14612         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14613         * elf/tst-auditmod3b.c: Likewise.
14614         * elf/tst-auditmod4b.c: Likewise.
14615         * elf/tst-auditmod5b.c: Likewise.
14616         * elf/tst-auditmod6b.c: Likewise.
14617         * elf/tst-auditmod6c.c: Likewise.
14618         * elf/tst-auditmod7b.c: Likewise.
14619         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14620         * sysdeps/x86_64/preconfigure.in: Likewise.
14621         * sysdeps/x86_64/preconfigure: Regenerated.
14623 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14625         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14626         __ILP32__.
14628 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
14630         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14631         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14633 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
14635         [BZ #13973]
14636         * locale/iso-639.def: Fix gl language name. Spotted by
14637         Yaron Shahrabani.
14639 2012-04-12  Roland McGrath  <roland@hack.frob.com>
14641         [BZ #2074]
14642         * libio/libio.h (__io_write_fn): Update comment.
14644 2012-04-12  Petr Baudis  <pasky@ucw.cz>
14646         [BZ #2074]
14647         * stdio.texi (Hook Functions): The user provided writer function
14648         is not allowed to return -1.
14650 2012-04-11  David S. Miller  <davem@davemloft.net>
14652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14654 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
14656         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14657         Add a leading slash to rtkaio.
14659 2012-04-11  Jim Meyering  <meyering@redhat.com>
14661         [BZ #11959]
14662         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14663         It is not necessarily an error to ignore fwrite's return
14664         value.  One can reliably use ferror to test for errors after
14665         the fact.
14667 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14669         * bits/types.h (__snseconds_t): New type.
14670         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14672         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14674         (__SNSECONDS_T_TYPE): Likewise.
14675         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14676         (__SNSECONDS_T_TYPE): Likewise.
14677         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14678         (__SNSECONDS_T_TYPE): Likewise.
14680 2012-04-10  Andreas Jaeger  <aj@suse.de>
14682         [BZ #2636]
14683         * manual/time.texi (Processor Time): Return type of times is
14684         elapsed real time since an arbitrary point in the past.
14685         (CPU Time): Move CLK_TCK from here...
14686         (Processor Time): ...to here.  Correct description.
14687         * manual/conf.texi (Constants for Sysconf): Correct description of
14688         _SC_CLK_TCK.
14690 2012-04-10  David S. Miller  <davem@davemloft.net>
14692         [BZ #13967]
14693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14694         where the is a gap between DT_REL(A) and DT_JMPREL.
14696 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14698         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14699         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14700         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14702 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14704         * elf/dl-support.c (_dl_inhibit_cache): New variable.
14705         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14706         (dl_main): Handle --inhibit-cache.
14707         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14708         _dl_inhibit_cache.
14709         * elf/dl-load.c (_dl_map_object): Use it.
14710         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14712 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14714         [BZ #13872]
14715         * sysdeps/i386/fpu/e_powl.S (p78): New object.
14716         (__ieee754_powl): Saturate large exponents rather than testing for
14717         overflow of y*log2(x).
14718         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14719         * math/libm-test.inc (pow_test): Do not permit spurious overflow
14720         exceptions.
14722         [BZ #11521]
14723         * math/s_ctan.c: Include <float.h>.
14724         (__ctan): Avoid internal overflow or cancellation in calculating
14725         denominator.
14726         * math/s_ctanf.c: Likewise.
14727         * math/s_ctanl.c: Likewise.
14728         * math/s_ctanh.c: Likewise.
14729         * math/s_ctanhf.c: Likewise.
14730         * math/s_ctanhl.c: Likewise.
14731         * math/libm-test.inc (ctan_test): Add more tests.
14732         (ctanh_test): Likewise.
14733         * sysdeps/i386/fpu/libm-test-ulps: Update.
14734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14736 2012-04-09  Andreas Jaeger  <aj@suse.de>
14738         [BZ #6894]
14739         * manual/filesys.texi (Directory Entries): Mention that d_namlen
14740         is an optional BSD extension.
14742         [BZ #10254]
14743         * manual/stdio.texi (Opening Streams): Document additional fopen
14744         parameters.
14746 2012-04-09  Roland McGrath  <roland@hack.frob.com>
14748         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14749         %eax without telling the compiler.
14751 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
14753         [BZ # 13963]
14754         * manual/install.texi: Use sourceware.org.
14756 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14758         [BZ #13873]
14759         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14760         (__ieee754_pow): Generate overflow and underflow using huge*huge
14761         and tiny*tiny rather than just returning constant infinity or zero
14762         for large exponents.
14763         * math/libm-test.inc (pow_test): Require overflow exceptions for
14764         applicable cases of large exponents.
14766         [BZ #706]
14767         * sysdeps/i386/fpu/e_pow.S (p10): New object.
14768         (__ieee754_pow): Use iterative multiplication algorithm only for
14769         integer exponents with absolute value below 1024.  Check for odd
14770         integer exponents when using algorithm for real exponents.
14771         * math/libm-test.inc (pow_test): Add more tests.
14772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14774 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #13705]
14777         * math/libm-test.inc (exp_test): Do not allow overflow exception
14778         on underflow test.
14780 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
14782         [BZ #13705]
14783         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14784         instead of __kernel_standard_f.
14786 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
14788         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14789         * sysdeps/x86_64/memset_chk.S: Likewise.
14791 2012-04-08  Andreas Jaeger  <aj@suse.de>
14793         [BZ #10153]
14794         * manual/startup.texi (Environment Access): Describe return value
14795         for putenv and setenv.
14797         [BZ #6895]
14798         * manual/filesys.texi (Directory Entries): Add description for
14799         DT_LNK.
14801         [BZ #6890]
14802         * manual/filesys.texi (Directory Entries): Clarify that it's file
14803         system not operating system in the description of DT_UNKNOWN.
14805         [BZ #6578]
14806         * manual/syslog.texi (closelog): Fix reference, it's openlog.
14808 2012-04-08  Stephen Compall  <s11@member.fsf.org>
14810         [BZ #6649]
14811         * manual/llio.texi (Opening and Closing Files): Add cross
14812         reference to explain mode argument.
14814 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
14816         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14817         * sysdeps/x86_64/memset_chk.S: Likewise.
14819 2012-04-07  David S. Miller  <davem@davemloft.net>
14821         * elf/elf.h (R_SPARC_WDISP10): Define.
14822         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14823         R_SPARC_SIZE32.
14824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14825         R_SPARC_SIZE64 and R_SPARC_H34.
14827 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
14829         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14830         conditions and remove no longer applicable assertion.
14832 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14834         * bits/byteswap.h: Include <features.h>.
14835         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14836         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14838 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14840         * bits/byteswap.h (__bswap_16): Removed.
14841         Include <bits/byteswap-16.h> to get __bswap_16.
14842         * sysdeps/i386/bits/byteswap.h: Likewise.
14843         * sysdeps/s390/bits/byteswap.h: Likewise.
14844         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14845         * bits/byteswap-16.h: New file.
14846         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14847         * sysdeps/s390/bits/byteswap-16.h: Likewise.
14848         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14849         * string/Makefile (headers): Add bits/byteswap-16.h.
14851 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14853         [BZ #13895]
14854         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14855         extra indirection.
14856         * nss/Makefile (tests-static, tests): Add tst-nss-static.
14857         * nss/tst-nss-static.c: New.
14859 2012-04-06  Robert Millan  <rmh@gnu.org>
14861         [BZ #6486]
14862         * manual/llio.texi (File Position Primitive): lseek
14863         refers to WHENCE when it really means OFFSET.
14865 2012-04-06  Andreas Jaeger  <aj@suse.de>
14867         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14868         strncmp declarations.
14870         * abilist/libc.abilist: Add __poll and __ppoll.
14872 2012-04-05  David S. Miller  <davem@davemloft.net>
14874         * scripts/check-local-headers.sh: Accept a host triplet in the
14875         path matched by the exclude regexp.
14877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14878         definition.
14879         * sysdeps/powerpc/powerpc32/dl-machine.h
14880         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14881         * sysdeps/s390/s390-32/dl-machine.h
14882         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14883         * sysdeps/sparc/sparc32/dl-machine.h
14884         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14885         * sysdeps/sparc/sparc64/dl-machine.h
14886         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14888         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14889         lazy binding.
14890         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14891         undefined symbol errors.
14893         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14894         DT_NEEDED entries.
14896 2012-04-05  Michael Matz  <matz@suse.de>
14898         [BZ #13592]
14899         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14901 2012-04-05  Andreas Jaeger  <aj@suse.de>
14903         [BZ #13908]
14904         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14905         comment.
14907 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14909         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14910         which ROUND is no valid rounding mode.
14912 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14914         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14915         read again.
14916         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14918 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14920         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14921         an exception using FPU order intentionally.
14923 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14925         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14926         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14927         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14928         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14930 2012-04-05  Simon Josefsson  <simon@josefsson.org>
14932         [BZ #12340]
14933         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14934         EINVAL when BUFLEN is too smal.
14936 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14938         [BZ #13553]
14939         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14940         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14942 2012-04-03  Andreas Jaeger  <aj@suse.de>
14944         [BZ #13938]
14945         * manual/setjmp.texi (System V contexts): Fix sentence.
14947         [BZ #13926]
14948         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14949         New macro for this case.
14950         [!__GNUC__] (__bswap_64): New inline function for this case.
14951         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14952         * bits/byteswap.h: Likewise.
14953         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14954         ull, guard with __GLIBC_HAVE_LONG_LONG.
14956         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14957         __GLIBC_HAVE_LONG_LONG.
14959         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14960         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14962 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14964         [BZ #13691]
14965         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14966         inptr and inend, rather than using last_ch.
14968 2012-04-02  David S. Miller  <davem@davemloft.net>
14970         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14971         * stdio-common/printf-parse.h (read_int): Change return type to
14972         'int', return -1 on INT_MAX overflow.
14973         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14974         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
14975         overflows INT_MAX.  Check for overflow of in-format-string precision
14976         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
14977         SIZE_MAX not INT_MAX for integer overflow test.
14978         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14979         skip the construct in the format string but do not record anything.
14980         * stdio-common/bug22.c: Adjust to test both width/prevision
14981         INT_MAX overflow as well as total length INT_MAX overflow.  Check
14982         explicitly for proper errno values.
14984 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14986         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14987         CHAR_MAX.
14988         * string/test-strcmp.c [! WIDE]: Likewise.
14989         * time/tst-mktime2.c: Likewise for INT_MAX.
14990         * string/test-string.h: #include <sys/param.h> for MIN.
14992         * csu/init-first.c (__libc_init_first): Call __ctype_init.
14993         * sysdeps/i386/init-first.c (init): Likewise.
14994         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14995         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14996         * sysdeps/sh/init-first.c (init): Likewise.
14998 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15000         * po/ru.po: Update from translation team.
15001         * po/vi.po: Likewise.
15003 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15005         * resolv/nss_dns/dns-host.c: Merge copyright years.
15007 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15010         Optimize memcpy with prefetch if
15011         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15012         src, dst pointers have unequal 16 byte alignments.
15014 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15016         [BZ #13928]
15017         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15018         from a CNAME entry and return the minimum ttl for the query.
15019         (gaih_getanswer_slice): Likewise.
15021 2012-03-30  Jeff Law  <law@redhat.com>
15023         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15024         due to long keys.
15025         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15026         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15028         * resolv/nss_dns/dns-host.c: Update copyright year.
15030 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15032         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15033         requests to save a system call.  Fix check that all bytes are sent.
15035         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15036         comments for sendmmsg.
15038 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15040         [BZ #13691]
15041         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15042         with only 1 character between 0x0041 and 0x01b0.
15043         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15044         * wcsmbs/tst-mbsnrtowcs.c: New file.
15046 2012-03-29  David S. Miller  <davem@davemloft.net>
15048         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15049         small copies by hand.
15051 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15053         [BZ #13761]
15054         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15055         _nss_compat_initgroups_dyn): Fall back to malloc/free
15056         for large group memberships.
15058 2012-03-28  David S. Miller  <davem@davemloft.net>
15060         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15061         that branches into memcpy.
15062         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15064         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15065         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15067         bits.
15068         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15069         implementation too.
15070         * sysdeps/sparc/mempcpy.S: New file.
15072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15073         the IFUNC routine in the libc case.
15074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15076         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15077         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15078         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15079         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15080         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15081         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15082         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15083         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15085         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15086         loop to 256 bytes instead of 64 bytes and fix test signedness.
15088         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15089         * sysdeps/sparc/sparc32/Makefile: rather than here...
15090         * sysdeps/sparc/sparc64/Makefile: and here.
15092 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15094         * malloc/mallocbug.c: Avoid warnings about unused variables.
15096 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15098         [BZ #13760]
15099         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15100         in the right place. Discard and retry query if response is
15101         larger than input buffer size.
15103 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15105         [BZ #369]
15106         [BZ #2678]
15107         [BZ #3866]
15108         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15109         x for large integer exponent.
15110         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15111         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15112         sign of result as needed afterwards.
15113         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15114         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15115         result for underflowing pow the same as for overflow.
15116         (__kernel_standard_l): Handle powl overflow and underflow here
15117         rather than calling __kernel_standard.
15118         * math/libm-test.inc (pow_test): Add more tests.
15120         [BZ #3868]
15121         [BZ #13879]
15122         [BZ #13910]
15123         [BZ #13911]
15124         [BZ #13912]
15125         [BZ #13913]
15126         [BZ #13915]
15127         [BZ #13916]
15128         [BZ #13917]
15129         [BZ #13918]
15130         [BZ #13919]
15131         [BZ #13920]
15132         [BZ #13921]
15133         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15134         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15135         (__kernel_standard_l): New function.
15136         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15137         __kernel_standard.
15138         * math/w_acosl.c (__acosl): Likewise.
15139         * math/w_asinl.c (__asinl): Likewise.
15140         * math/w_atan2l.c (__atan2l): Likewise.
15141         * math/w_atanhl.c (__atanhl): Likewise.
15142         * math/w_coshl.c (__coshl): Likewise.
15143         * math/w_exp10l.c (__exp10l): Likewise.
15144         * math/w_exp2l.c (__exp2l): Likewise.
15145         * math/w_fmodl.c (__fmodl): Likewise.
15146         * math/w_hypotl.c (__hypotl): Likewise.
15147         * math/w_j0l.c (__j0l, __y0l): Likewise.
15148         * math/w_j1l.c (__j1l, __y1l): Likewise.
15149         * math/w_jnl.c (__jnl, __ynl): Likewise.
15150         * math/w_lgammal.c (__lgammal): Likewise.
15151         * math/w_log10l.c (__log10l): Likewise.
15152         * math/w_log2l.c (__log2l): Likewise.
15153         * math/w_logl.c (__logl): Likewise.
15154         * math/w_powl.c (__powl): Likewise.
15155         * math/w_remainderl.c (__remainderl): Likewise.
15156         * math/w_scalbl.c (sysv_scalbl): Likewise.
15157         * math/w_sinhl.c (__sinhl): Likewise.
15158         * math/w_sqrtl.c (__sqrtl): Likewise.
15159         * math/w_tgammal.c (__tgammal): Likewise.
15160         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15161         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15162         * math/libm-test.inc (acos_test): Add more tests.
15163         (acosh_test): Likewise.
15164         (asin_test): Likewise.
15165         (atanh_test): Likewise.
15166         (exp_test): Likewise.
15167         (exp10_test): Likewise.
15168         (exp2_test): Likewise.
15169         (expm1_test): Likewise.
15170         (lgamma_test): Likewise.
15171         (log_test): Likewise.
15172         (log10_test): Likewise.
15173         (log1p_test): Likewise.
15174         (log2_test): Likewise.
15175         (pow_test): Do not allow some spurious overflow exceptions.
15176         (sqrt_test): Add more tests.
15177         (tgamma_test): Likewise.
15178         (y0_test): Likewise.
15179         (y1_test): Likewise.
15180         (yn_test): Likewise.
15182 2012-03-27  Anton Blanchard  <anton@samba.org>
15184         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15185         MAP_HUGETLB.
15186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15190 2012-03-27  David S. Miller  <davem@davemloft.net>
15192         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15194         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15195         have-as-vis3 check.
15197 2012-03-27  Andreas Jaeger  <aj@suse.de>
15199         * sysdeps/x86_64/elf/configure.in: Moved to ...
15200         * sysdeps/x86_64/configure.in: ... here.
15201         * sysdeps/x86_64/elf/start.S: Moved to ...
15202         * sysdeps/x86_64/start.S: ... here.
15203         * sysdeps/x86_64/elf/configure: Delete.
15205         * sysdeps/x86_64/configure.in: Merge contents from
15206         sysdeps/i386/configure.in (without i686 check).
15208         * sysdeps/i386/elf/Versions: Merge into ...
15209         * sysdeps/i386/Versions: ... this.
15210         * sysdeps/i386/elf/Versions: Delete file.
15211         * sysdeps/i386/elf/start.S: Moved to ...
15212         * sysdeps/i386/start.S: ...here.
15213         * sysdeps/i386/elf/configure.in: Merge into...
15214         * sysdeps/i386/configure.in: ...here.
15215         * sysdeps/i386/elf/configure.in: Delete file.
15216         * sysdeps/i386/elf/configure: Delete file.
15218         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15219         * debug/backtracesyms.c: ... here.
15220         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15221         * debug/backtracesymsfd.c: ... here.
15222         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15223         * sysdeps/generic/ifunc-sel.h: ... here.
15225         * sysdeps/unix/i386/start.c: Delete file.
15226         * sysdeps/unix/sparc/start.c: Delete file.
15227         * sysdeps/unix/start.c: Delete file.
15229         * sysdeps/sh/elf/configure.in: Moved to ...
15230         * sysdeps/sh/configure.in: ... here.
15231         * sysdeps/sh/elf/start.S: Moved to ...
15232         * sysdeps/sh/start.S: ... here.
15233         * sysdeps/sh/elf/configure: Delete file.
15235         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15236         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15237         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15238         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15239         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15240         * sysdeps/powerpc/powerpc64/start.S: here.
15241         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15242         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15243         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15244         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15245         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15247         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15248         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15249         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15250         * sysdeps/powerpc/powerpc32/start.S: ... here.
15251         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15252         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15253         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15255         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15256         * sysdeps/powerpc/ifunc-sel.h: ... here.
15257         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15258         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15260         * sysdeps/sparc/elf/configure.in: Moved to ...
15261         * sysdeps/sparc/configure.in: ... here.
15262         * sysdeps/sparc/elf/configure: Delete file.
15263         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15264         * sysdeps/sparc/sparc32/start.S: ... here.
15265         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15266         * sysdeps/sparc/sparc64/start.S: ... here.
15267         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15268         * sysdeps/sparc/sparc32/Makefile: ... this.
15269         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15270         * sysdeps/sparc/sparc64/Makefile: ... this.
15272         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15273         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15274         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15275         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15276         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15277         * sysdeps/s390/s390-32/setjmp.S: ... here.
15278         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15279         * sysdeps/s390/s390-32/configure.in: ... here.
15280         * sysdeps/s390/s390-32/elf/configure: Delete file.
15281         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15282         * sysdeps/s390/s390-32/start.S: ... here.
15284         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15285         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15286         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15287         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15288         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15289         * sysdeps/s390/s390-64/setjmp.S: ... here.
15290         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15291         * sysdeps/s390/s390-64/configure.in: ... here
15292         * sysdeps/s390/s390-64/elf/configure: Delete file.
15293         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15294         * sysdeps/s390/s390-64/start.S: ... here.
15295         * sysdeps/s390/s390-64/elf/configure: Delete.
15297         * configure.in: Remove support for elf directories in sysdeps.
15299         * configure: Regenerated.
15300         * sysdeps/i386/configure: Regenerated.
15301         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15302         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15303         * sysdeps/s390/s390-32/configure: Regenerated.
15304         * sysdeps/s390/s390-64/configure: Regenerated.
15305         * sysdeps/sh/configure: Regenerated.
15306         * sysdeps/sparc/configure: Regenerated.
15307         * sysdeps/x86_64/configure: Regenerated.
15309 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
15311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15313         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15314         denormal result into account.
15316 2012-03-25  Roland McGrath  <roland@hack.frob.com>
15318         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15319         Reported by Allan McRae <allan@archlinux.org>.
15321 2012-03-23  Jeff Law  <law@redhat.com>
15323         * nss/getnssent.c (__nss_getent): Fix typo.
15325 2012-03-23  David S. Miller  <davem@davemloft.net>
15327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15329 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
15331         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15332         to pad to uint64_t for each field.
15333         (dl_tls_index): Replace unsigned long with uint64_t.
15335 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
15336         Paul Pluzhnikov  <ppluzhnikov@google.com>
15338         [BZ #6528]
15339         * grp/Makefile (otherlibs): Don't set it.
15340         * inet/Makefile (otherlibs): Likewise.
15341         * login/Makefile (otherlibs): Likewise.
15342         * nscd/Makefile (otherlibs): Likewise.
15343         * posix/Makefile (otherlibs): Likewise.
15344         * pwd/Makefile (otherlibs): Likewise.
15345         * rt/Makefile (otherlibs): Likewise.
15346         * sunrpc/Makefile (otherlibs): Likewise.
15347         * nss/Makefile (otherlibs): Likewise.
15348         Add libnss_files to routines and static-only-routines.
15349         ($(objpfx)getent): Remove rule.
15350         * resolv/Makefile: Add libnss_dns and libresolv to routines and
15351         static-only-routines.
15353 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15355         [BZ #13892]
15356         * math/s_cexp.c: Include <float.h>.
15357         (__cexp): Handle exp result overflowing not necessarily
15358         overflowing both real and imaginary parts of result.
15359         * math/s_cexpf.c: Likewise.
15360         * math/s_cexpl.c: Likewise.
15361         * math/libm-test.inc (cexp_test): Add more tests.
15362         * sysdeps/i386/fpu/libm-test-ulps: Update.
15363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15367         * include/link.h (ELFW): New macro.
15368         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15369         Replace ELF64_R_TYPE with ELFW(R_TYPE).
15371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15373         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15374         with uint64_t.
15376 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15378         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15379         declaration.
15380         (struct La_x32_retval): Likewise.
15382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15384         * sysdeps/x86_64/preconfigure.in: New file.
15385         * sysdeps/x86_64/preconfigure: New generated file.
15387 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15389         [BZ #13824]
15390         * math/e_exp2l.c: Include <float.h>.
15391         (__ieee754_exp2l): Handle overflow and underflow cases
15392         separately.  Only pass fractional part of argument to
15393         __ieee754_expl.
15394         * math/libm-test.inc (exp2_test): Add more tests.
15396         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15397         negating x to take absolute value.
15398         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15399         Likewise.
15400         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15401         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15402         Likewise.
15403         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15404         computing low part if x was negated.
15405         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15409         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15410         la_x32_gnu_pltexit.
15411         (pltexit): Cast int_retval to ptrdiff_t.
15412         * elf/tst-auditmod3b.c: Likewise.
15413         * elf/tst-auditmod4b.c: Likewise.
15414         * elf/tst-auditmod5b.c: Likewise.
15415         * elf/tst-auditmod6b.c: Likewise.
15416         * elf/tst-auditmod6c.c: Likewise.
15417         * elf/tst-auditmod7b.c: Likewise.
15419         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15420         and x32_gnu_pltexit.
15422         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15423         __ELF_NATIVE_CLASS.
15424         (La_x32_regs): New macro.
15425         (La_x32_retval): Likewise.
15426         (la_x32_gnu_pltenter): New function prototype.
15427         (la_x32_gnu_pltexit): Likewise.
15429 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
15431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15432         exponent.
15434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15436         * configure.in (libc_cv_cc_nofma): Check for option to disable
15437         generation of FMA instructions.
15438         * configure: Regenerate.
15439         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15440         * sysdeps/ieee754/dbl-64/Makefile: New file.
15441         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15442         Remove brandred-fma4.
15443         (CFLAGS-brandred-fma4.c): Remove.
15444         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15445         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15446         define.
15447         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15448         define.
15450 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15452         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15453         LLONG_MAX != LONG_MAX.
15454         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15455         (_fitoa_word): Likewise.
15456         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15457         LLONG_MAX != LONG_MAX.
15458         * stdio-common/_itowa.h: Include <_itoa.h>.
15459         (_itowa_word): Use _ITOA_WORD_TYPE on value.
15460         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
15461         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
15462         only if not defined.
15463         (_ITOA_WORD_TYPE): Likewise.
15464         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15465         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15467 2012-03-21  David S. Miller  <davem@davemloft.net>
15469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15471 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15473         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15474         of x86_64 when setting libc_cv_slibdir, libdir and
15475         libc_cv_localedir.
15476         * sysdeps/unix/sysv/linux/configure: Regenerated.
15478 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15480         * manual/lang.texi (Old Varargs): Remove section.
15481         (How Variadic): Update menu.
15482         (va_start): Do not mention varargs.h.
15484 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15485             Joseph Myers  <joseph@codesourcery.com>
15487         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15488         link test.
15489         * configure: Regenerated.
15491 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15493         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15494         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15495         conformtest.pl
15497 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15499         * NOTES: Remove.
15500         * Makefile (files-for-dist): Remove NOTES.
15501         (NOTES): Remove rule.
15502         * README: Don't refer to NOTES.
15503         * manual/creature.texi: Don't include macros.texi.
15504         * manual/intro.texi (creature.texi): Remove comment referring to
15505         NOTES.
15507         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15508         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15509         * configure: Regenerated.
15510         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15511         LIBC_TRY_CC_OPTION.
15512         (libc_cv_as_i686): Likewise.
15513         (libc_cv_cc_avx): Likewise.
15514         (libc_cv_cc_sse2avx): Likewise.
15515         (libc_cv_cc_fma4): Likewise.
15516         (libc_cv_cc_novzeroupper): Likewise.
15517         * sysdeps/i386/configure: Regenerated.
15519         [BZ #13883]
15520         * sysdeps/i386/fpu/s_cexp.S: Remove.
15521         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15522         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15523         * math/libm-test.inc (cexp_test): Add more tests.
15524         * sysdeps/i386/fpu/libm-test-ulps: Update.
15525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527 2012-03-21  Allan McRae  <allan@archlinux.org>
15529         * timezone/Makefile: Do not install iso3166.tab and zone.tab
15531 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #13871]
15534         * math/w_exp2.c: Do not include <float.h>.
15535         (o_threshold, u_threshold): Remove.
15536         (__exp2): Calculate result before checking finiteness and calling
15537         __kernel_standard.
15538         * math/w_exp2f.c: Likewise.
15539         * math/w_exp2l.c: Likewise.
15540         * math/libm-test.inc (exp2_test): Require overflow exception for
15541         1e6 input.
15543         [BZ #3866]
15544         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15545         range of signed 64-bit integers before using fistpll.  Remove
15546         checks for whether integers fit in mantissa bits.
15547         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15548         the range of signed 32-bit integers before using fistpl.  Remove
15549         checks for whether integers fit in mantissa bits.
15550         * sysdeps/i386/fpu/e_powl.S (p64): New object.
15551         (__ieee754_powl): Test for y outside the range of signed 64-bit
15552         integers before using fistpll.  Reduce 64-bit values to 63-bit
15553         ones as needed.
15554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15555         divide-by-zero is raised for zero to large negative powers.
15556         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15557         (__ieee754_powl): Test for y outside the range of signed 64-bit
15558         integers before using fistpll.  Reduce 64-bit values to 63-bit
15559         ones as needed.
15560         * math/libm-test.inc (pow_test): Add more tests.
15562 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15564         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15565         <stdio-common/_itoa.h>.
15566         * debug/segfault.c: Likewise.
15567         * elf/dl-cache.c: Likewise.
15568         * elf/dl-minimal.c: Likewise.
15569         * elf/dl-misc.c: Likewise.
15570         * elf/dl-sysdep.c: Likewise.
15571         * elf/dl-version.c: Likewise.
15572         * elf/rtld.c: Likewise.
15573         * hurd/hurdsock.c: Likewise.
15574         * hurd/lookup-retry.c: Likewise.
15575         * malloc/malloc.c: Likewise.
15576         * malloc/mtrace.c: Likewise.
15577         * nscd/nscd_getgr_r.c: Likewise.
15578         * nscd/nscd_getpw_r.c: Likewise.
15579         * nscd/nscd_getserv_r.c: Likewise.
15580         * posix/getopt_init.c: Likewise.
15581         * posix/wordexp.c: Likewise.
15582         * stdio-common/_itoa.c: Likewise.
15583         * stdio-common/printf_fphex.c: Likewise.
15584         * stdio-common/vfprintf.c: Likewise.
15585         * string/_strerror.c: Likewise.
15586         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15587         * sysdeps/i386/i686/hp-timing.h: Likewise.
15588         * sysdeps/mach/_strerror.c: Likewise.
15589         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15590         * sysdeps/mach/hurd/sethostid.c: Likewise.
15591         * sysdeps/mach/hurd/xmknodat.c: Likewise.
15592         * sysdeps/mach/xpg-strerror.c: Likewise.
15593         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15595         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15596         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15597         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15598         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15599         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15600         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15601         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15602         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15603         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15604         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15605         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15606         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15607         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15608         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15609         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15610         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15611         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15612         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15613         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15615         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15617         * stdio-common/_itoa.h: Moved to ...
15618         * sysdeps/generic/_itoa.h: Here.
15620         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15622         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15623         instead of "_itoa.h" and "_itowa.h".
15624         * stdio-common/vfprintf.: Likewise.
15626 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15628         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15629         <bits/wordsize.h>.
15630         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15631         (__signbit): Likwise.
15632         (llrintf): Likwise.
15633         (llrint): Likwise.
15635 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15637         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15638         __WORDSIZE != 64.
15640 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
15642         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15643         OVERFLOW_EXCEPTION_OK.
15644         * math/libm-test.inc ("Philosophy"): Update comment about
15645         exception testing.
15646         (OVERFLOW_EXCEPTION): Define.
15647         (OVERFLOW_EXCEPTION_OK): Likewise.
15648         (INVALID_EXCEPTION_OK): Renumber.
15649         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15650         (IGNORE_ZERO_INF_SIGN): Likewise.
15651         (test_exceptions): Handle FE_OVERFLOW.
15652         (exp10_test): Expect overflow exceptions.
15653         (exp2_test): Likewise.
15654         (expm1_test): Likewise.
15655         (nextafter_test): Likewise.
15656         (pow_test): Likewise.
15657         (scalbn_test): Likewise.
15658         (scalbln_test): Likewise.
15660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15662         * sysdeps/x86_64/bits/atomic.h
15663         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15664         64bit integer.
15665         (atomic_exchange_acq): Likewise.
15666         (__arch_exchange_and_add_body): Likewise.
15667         (__arch_add_body): Likewise.
15668         (atomic_add_negative): Likewise.
15669         (atomic_add_zero): Likewise.
15671 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15673         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15674         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15676 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15678         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15679         Check __x86_64__ instead of __WORDSIZE.
15681 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15683         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15685 2012-03-19  David S. Miller  <davem@davemloft.net>
15687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15689         * sysdeps/sparc/fpu/fenv_private.h: New file.
15690         * sysdeps/sparc/fpu/math_private.h: Use it.
15691         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15692         Remove.
15693         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15694         (libc_feholdexcept_setroundl): Remove.
15695         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15696         Remove.
15697         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15698         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15702         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15703         int64_t instead of long int.
15704         (INSERT_WORDS64): Likwise.
15706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15708         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15709         _Unwind_GetCFA return to _Unwind_Ptr first.
15711 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #13629]
15714         * math/s_clog.c: Include <float.h>.
15715         (__clog): Scale large or subnormal inputs.
15716         * math/s_clogf.c: Likewise.
15717         * math/s_clogl.c: Likewise.
15718         * math/s_clog10.c: Include <float.h>.
15719         (M_LOG10_2): Define.
15720         (__clog10): Scale large or subnormal inputs.
15721         * math/s_clog10f.c: Likewise.
15722         * math/s_clog10l.c: Likewise.
15723         * math/libm-test.inc (clog_test): Add more tests.
15724         (clog10_test): Likewise.
15725         * sysdeps/i386/fpu/libm-test-ulps: Update.
15726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15728         [BZ #11451]
15729         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15730         x and y.
15731         * math/libm-test.inc (atan2_test): Add another test.
15733         * Makerules (common-objdir-compile): Remove.
15734         * sysdeps/unix/Makefile (config-generated): Do not add
15735         $(unix-generated) to variable.
15736         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15737         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15738         Remove rule.
15739         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15740         Likewise.
15741         [generic bits/local_lim.h] (before-compile): Do not append to
15742         variable.
15743         [generic bits/local_lim.h] (common-generated): Likewise.
15744         [generic sys/param.h] (before-compile): Do not append to variable.
15745         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15746         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15747         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15748         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15749         include.
15750         [generic sys/param.h] (sys/param.h-includes): Remove variable.
15751         [generic sys/param.h] (sys/param.h-includes): Remove rule.
15752         [generic sys/param.h] ($(addprefix
15753         $(common-objpfx),$(sys/param.h-includes))): Likewise.
15754         [generic sys/param.h] (common-generated): Do not append to
15755         variable.
15756         [generic sys/param.h] (sysdep_headers): Likewise.
15757         [generic bits/errno.h] (before-compile): Do not append to
15758         variable.
15759         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15760         rule.
15761         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15762         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15763         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15764         [generic bits/errno.h] (common-generated): Do not append to
15765         variable.
15766         [generic bits/ioctls.h] (before-compile): Do not append to
15767         variable.
15768         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15769         rule.
15770         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15771         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15772         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15773         rule.
15774         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15775         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15776         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15777         [generic bits/ioctls.h] (common-generated): Do not append to
15778         variable.
15779         [generic sys/syscall.h] (syscall.h): Remove variable.
15780         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15781         rule.
15782         [generic sys/syscall.h] (before-compile): Do not append to
15783         variable.
15784         [generic sys/syscall.h] (common-generated): Likewise.
15785         * sysdeps/unix/errnos-tmpl.c: Remove file.
15786         * sysdeps/unix/errnos.awk: Likewise.
15787         * sysdeps/unix/ioctls-tmpl.c: Likewise.
15788         * sysdeps/unix/ioctls.awk: Likewise.
15789         * sysdeps/unix/mk-local_lim.c: Likewise.
15790         * sysdeps/unix/snarf-ioctls: Likewise.
15792 2012-03-19  Richard Henderson  <rth@twiddle.net>
15794         * sysdeps/i386/fpu/fenv_private.h: New file.
15795         * sysdeps/i386/fpu/math_private.h: Use it.
15796         (math_opt_barrier, math_force_eval): Remove.
15797         (libc_feholdexcept_setround_53bit): Remove.
15798         (libc_feupdateenv_53bit): Remove.
15799         * sysdeps/x86_64/fpu/math_private.h: Likewise.
15800         (math_opt_barrier, math_force_eval): Remove.
15801         (libc_feholdexcept): Remove.
15802         (libc_feholdexcept_setround): Remove.
15803         (libc_fetestexcept, libc_fesetenv): Remove.
15804         (libc_feupdateenv_test): Remove.
15805         (libc_feupdateenv, libc_feholdsetround): Remove.
15806         (libc_feresetround): Remove.
15808         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15809         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15811         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15812         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15813         (libc_feupdateenv_testl): New.
15814         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15815         (libc_feupdateenv_testf): New.
15816         (libc_feupdateenv): Use libc_feupdateenv_test.
15817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15818         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15820         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15821         (libc_feholdsetroundf, libc_feholdsetroundl): New.
15822         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15823         (libc_feresetround_noex): New.
15824         (libc_feresetround_noexf): New.
15825         (libc_feresetround_noexl): New.
15826         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15827         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15828         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15829         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15830         SET_RESTORE_ROUND.
15831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15833         (__cos): Likewise.
15834         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15835         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15836         SET_RESTORE_ROUND_NOEX.
15837         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15838         SET_RESTORE_ROUND_NOEXF.
15839         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15840         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15841         (libc_feholdsetroundf): New.
15842         (libc_feresetround, libc_feresetroundf): New.
15844         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15845         (libc_feholdexcept_setround_53bit): Convert from macro to function.
15846         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
15848         * sysdeps/generic/math_private.h: Include <fenv.h>.
15849         (default_libc_feholdexcept): New.
15850         (default_libc_feholdexcept_setround): New.
15851         (default_libc_fesetenv, default_libc_feupdateenv): New.
15852         (libc_feholdexcept): Only define if undefined.
15853         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15854         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15855         (libc_feholdexcept_setroundl): Likewise.
15856         (libc_feholdexcept_setround_53bit): Likewise.
15857         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15858         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15859         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15860         (libc_feupdateenv_53bit): Likewise.
15861         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15862         (libc_feholdexcept): Convert from macro to inline function.
15863         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15864         (libc_fesetenv, libc_feupdateenv): Likewise.
15866         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15867         not previously defined.
15868         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15869         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15870         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15871         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15872         * sysdeps/ieee754/flt-32/math_private.h: New file.
15873         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15874         math_private.h below SET_FLOAT_WORD.
15875         (__isnan, __isinf_ns, __finite): Remove.
15876         (__isnanf, __isinf_nsf, __finitef): Remove.
15878 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
15880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15882 2012-03-17  David S. Miller  <davem@davemloft.net>
15884         [BZ #6471]
15885         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15886         for 2.16.
15888 2012-03-16  David S. Miller  <davem@davemloft.net>
15890         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15891         warnings.
15893         [BZ #6471]
15894         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15895         properly.
15896         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15897         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15898         sysdep_routines when subdir is sysvipc.
15899         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15900         __getshmlba helper.
15902         * sysdeps/sparc/fpu/libm-test/ulps: Update.
15904 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15906         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15907         [__LP64__].
15909 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15911         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15912         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15913         (__lround): Renamed to ...
15914         (__llround): This.  Replace long int with long long int.
15915         Define lround functions as aliases of llround functions.
15916         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15918 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15920         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15921         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
15922         adresses to uintptr_t.  Replace "long int" and "unsigned long
15923         int" with "greg_t" on va_arg.
15925 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15927         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15928         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15930         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15931         Move e_machine check before EI_CLASS check.  Handle x32
15932         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15933         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15934         SKIP_EM_IA_64 and include
15935         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15937         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15938         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15939         (add_system_dir): New macro.
15941         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15942         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15944 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
15946         [BZ #2551]
15947         [BZ #2552]
15948         [BZ #2553]
15949         [BZ #2554]
15950         [BZ #2562]
15951         [BZ #2563]
15952         [BZ #2565]
15953         [BZ #2566]
15954         [BZ #2576]
15955         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15956         (y0): Likewise.
15957         * math/w_j0f.c (j0f): Likewise.
15958         (y0f): Likewise.
15959         * math/w_j0l.c (__j0l): Likewise.
15960         (__y0l): Likewise.
15961         * math/w_j1.c (j1): Likewise.
15962         (y1): Likewise.
15963         * math/w_j1f.c (j1f): Likewise.
15964         (y1f): Likewise.
15965         * math/w_j1l.c (__j1l): Likewise.
15966         (__y1l): Likewise.
15967         * math/w_jn.c (jn): Likewise.
15968         (yn): Likewise.
15969         * math/w_jnf.c (jnf): Likewise.
15970         (ynf): Likewise.
15971         * math/w_jnl.c (__jnl): Likewise.
15972         (__ynl): Likewise.
15973         * math/libm-test.inc (j0_test): Add more tests.
15974         (j1_test): Likewise.
15975         (jn_test): Likewise.  Add trailing semicolon to existing test.
15976         (y0_test): Likewise.
15977         (y1_test): Likewise.
15978         * sysdeps/i386/fpu/libm-test-ulps: Update.
15979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15981         [BZ #13851]
15982         [BZ #13854]
15983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15984         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15985         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15986         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15987         (__tanl): Set errno for infinite argument.
15988         * sysdeps/i386/fpu/mptan.c: Remove.
15989         * sysdeps/i386/fpu/s_tan.S: Likewise.
15990         * sysdeps/i386/fpu/s_tanl.S: Likewise.
15991         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15992         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15993         * math/libm-test.inc (tan_test): Add more tests and enable more
15994         tests for double and long double.
15995         * sysdeps/i386/fpu/libm-test-ulps: Update.
15996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15998 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16000         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16001         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16003 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16005         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16006         * configure.in: Use it for both main tree and add-ons.
16007         * configure: Regenerated.
16009 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16011         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16013 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16015         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16016         in comment.
16018         [BZ #13851]
16019         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16020         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16024         infinite argument.
16025         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16026         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16027         != 0 for prec == 2.
16028         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16029         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16030         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16031         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16032         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16033         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16034         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16035         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16036         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16037         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16038         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16039         * math/libm-test.inc (cos_test): Add more tests and enable more
16040         tests for long double.
16041         (sin_test): Likewise.
16042         (sincos_test): Likewise.
16043         * sysdeps/i386/fpu/libm-test-ulps: Update.
16044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16046 2012-03-16  David S. Miller  <davem@davemloft.net>
16048         * sysdeps/sparc/fpu/math_private.h: New file.
16050 2012-03-15  David S. Miller  <davem@davemloft.net>
16052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16053         file.
16054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16056         file.
16057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16062         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16063         sysdep routines.
16064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16066         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16067         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16069         * sysdeps/sparc/sparc-ifunc.h: New file.
16070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16071         sparc-ifunc.h
16072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16074         Likewise.
16075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16076         Likewise.
16077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16081         Likewise.
16082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16087         Likewise.
16088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16089         Likewise.
16090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16097         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16109         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16115 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16117         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16118         scaling.
16119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16121 2012-03-15  Andreas Jaeger  <aj@suse.de>
16123         [BZ #13852]
16124         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16125         ieee754/flt-32 implementation for sin, cos and sincos.
16126         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16127         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16128         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16129         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16130         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16131         ieee754/flt-32 implementation for tan.
16133         * math/libm-test.inc (cos_test): Enable some large input tests for
16134         float as well
16135         (sin_test): Likewise.
16136         (sincos_test): Likewise.
16137         (tan_test): Add tests for large input.
16139         * sysdeps/i386/fpu/libm-test-ulps: Update.
16141 2012-03-15  Andreas Jaeger  <aj@suse.de>
16143         [BZ #13658]
16144         * math/libm-test.inc (cos_test): Add more test cases.
16145         (sin_test): Likewise.
16146         (sincos_test): Likewise.
16148 2012-03-15  Andreas Jaeger  <aj@suse.de>
16150         [BZ #13837]
16151         * math/libm-test.inc (cos_test): Add a test case for large input
16152         value.
16153         (sin_test): Likewise.
16154         (sincos_test): Likewise.
16156 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16157         Joseph Myers  <joseph@codesourcery.com>
16159         [BZ #13658]
16160         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16161         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16162         * sysdeps/i386/fpu/branred.c: Likewise.
16163         * sysdeps/i386/fpu/dosincos.c: Likewise.
16164         * sysdeps/i386/fpu/mpa.c: Likewise.
16165         * sysdeps/i386/fpu/s_cos.S: Likewise.
16166         * sysdeps/i386/fpu/s_sin.S: Likewise.
16167         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16168         * sysdeps/i386/fpu/sincos32.c: Likewise.
16170         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16171         Define.
16172         (libc_feupdateenv_53bit): Define.
16173         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16174         Define.
16175         (libc_feupdateenv_53bit): Define.
16177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16178         53 bit (without extend i386 double precision).
16180         * math/libm-test.inc (sincos_test): Add tests for large input.
16181         (sin): Likewise.
16182         (cos): Likewise.
16184         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16186 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16190 2012-03-15  David S. Miller  <davem@davemloft.net>
16192         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16193         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16194         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16195         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16208         file.
16209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16211         file.
16212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16214         file.
16215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16217         file.
16218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16220         fmin/fmax sysdep routines.
16221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16223 2012-03-14  David S. Miller  <davem@davemloft.net>
16225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16231         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16232         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16246         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16247         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16249         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16254         routines.
16255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16256         file.
16257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16259         file.
16260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16262         file.
16263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16265         file.
16266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16268         file.
16269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16271         file.
16272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16273         file.
16274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16275         file.
16276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16277         file.
16278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16279         New file.
16280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16281         file.
16282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16283         file.
16284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16286         file.
16287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16289         file.
16290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16292         file.
16293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16295         VIS3 routines.
16297         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16298         New file.
16300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16302         * sysdeps/sparc/configure.in: New file.
16303         * sysdeps/sparc/configure: Generate.
16304         * configure.in (libc_cv_sparc_as_vis3): Substitute.
16305         * configure: Regenerate.
16306         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16307         * config.make.in (have-as-vis3): New.
16308         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16309         available use -Av9d instead of -Av9a.
16310         * sysdeps/sparc/sparc64/Makefile: Likewise.
16311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16313         New file.
16314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16315         file.
16316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16317         New file.
16318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16319         file.
16320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16321         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16323         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16324         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16326         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16327         fzeros/fnegs to load 0x80000000 into a float register instead of
16328         using the stack.
16329         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16331 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16334         bits/syscall.h.
16335         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16336         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16337         ($(inst_includedir)/bits/syscall.h): Remove rule.
16338         ($(objpfx)bits/syscall.d): Include instead of
16339         $(objpfx)syscall-list.d.
16340         (generated): Change syscall-list.h and syscall-list.d to
16341         bits/syscall.h and bits/syscall.d.
16343 2012-03-14  Roland McGrath  <roland@hack.frob.com>
16345         [BZ #13846]
16346         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16348 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16350         [BZ #13841]
16351         * math/s_csqrt.c: Include <float.h>.
16352         (__csqrt): Scale large or subnormal inputs.
16353         * math/s_csqrtf.c: Likewise.
16354         * math/s_csqrtl.c: Likewise.
16355         * math/libm-test.inc (csqrt_test): Add more tests.
16356         * sysdeps/i386/fpu/libm-test-ulps: Update.
16357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16359         [BZ #13840]
16360         * math/libm-test.inc (hypot_test): Add more tests.
16362 2012-03-13  David S. Miller  <davem@davemloft.net>
16364         [BZ #13840]
16365         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16366         double-precision for the calculation instead of scaling.
16368 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
16370         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16371         manipulate bits before adding and subtracting TWO52[sx].
16372         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16373         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16374         Likewise.
16375         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16377 2012-03-13  David S. Miller  <davem@davemloft.net>
16379         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16380         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16382         rtld-global-offsets.h
16383         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16385         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16386         large parameters.
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16390         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16391         'err' in the ifdef scope in which it is actually used.
16393         * nss/nss_db/db-init.c: Include string.h
16395 2012-03-12  David S. Miller  <davem@davemloft.net>
16397         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16398         masking out of the most significant byte of random value used.
16399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16400         Fix coding style in previous change.
16402         * sysdeps/unix/sysv/linux/kernel-features.h
16403         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16404         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16405         expression.
16406         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16407         later.
16409 2012-03-11  David S. Miller  <davem@davemloft.net>
16411         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16412         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16413         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16414         for 'resultvar' otherwise things get truncated on 64-bit.
16416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16417         Fix masking out of the most significant byte of random value used.
16419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16421 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
16423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16425 2012-03-09  David S. Miller  <davem@davemloft.net>
16427         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16428         variables with appropriate CPP guards.
16429         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16430         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
16431         on resulting framesize and the management of the outregs buffer for pltexit.
16432         Preserve floating point return values across _dl_call_pltexit call.
16433         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16434         framesize and the management of the outregs buffer for pltexit.
16435         Preserve floating point return values across _dl_call_pltexit
16436         call.
16437         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16438         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16439         (print_exit): Fix format string for return register value.
16441 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
16443         * sunrpc/Makefile (others): Add rpcgen.
16444         ($(objpfx)rpcgen): Remove special build rule and dependency on
16445         libc.
16446         * sunrpc/rpcgen.c: New file.
16448 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
16450         [BZ #13673]
16451         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16452         * stdio-common/bug-vfprintf-nargs.c: Likewise.
16453         * sysdeps/i386/crti.S: Likewise.
16454         * sysdeps/i386/crtn.S: Likewise.
16455         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16456         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16457         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16458         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16459         * sysdeps/sh/crti.S: Likewise.
16460         * sysdeps/sh/crtn.S: Likewise.
16461         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16463         [BZ #13673]
16464         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16465         with URL.
16466         * locale/programs/locfile-kw.gperf: Likewise.
16467         * locale/programs/charmap-kw.h: Regenerated.
16468         * locale/programs/locfile-kw.h: Likewise.
16470         [BZ #13673]
16471         * intl/plural.y: Replace FSF snail mail address with URL.
16472         * intl/plural.c: Regenerated.
16474 2012-03-09  Richard Henderson  <rth@twiddle.net>
16476         * include/math_private.h: Remove file.
16477         * math/math_private.h: Move file ...
16478         * sysdeps/generic/math_private.h: ... here.
16480         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16481         * sysdeps/powerpc/fpu/math_private.h: Likewise.
16482         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16484         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16485         and <math_private.h>.
16486         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16487         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16488         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16489         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16490         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16491         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16492         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16493         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16494         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16495         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16496         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16497         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16498         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16499         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16500         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16501         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16502         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16503         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16504         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16507         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16508         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16510         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16511         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16512         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16513         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16514         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16515         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16516         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16517         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16518         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16519         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16520         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16521         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16522         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16523         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16524         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16525         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16526         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16527         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16528         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16529         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16530         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16531         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16532         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16533         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16534         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16535         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16536         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16537         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16538         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16539         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16540         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16541         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16542         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16543         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16544         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16545         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16546         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16547         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16548         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16549         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16550         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16551         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16552         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16553         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16554         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16555         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16556         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16557         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16558         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16560         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16564         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16565         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16566         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16567         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16568         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16569         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16570         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16573         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16574         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16575         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16576         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16577         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16579         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16580         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16581         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16582         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16583         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16584         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16585         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16586         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16587         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16588         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16589         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16590         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16591         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16592         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16593         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16594         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16596         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16597         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16598         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16599         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16600         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16601         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16602         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16603         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16604         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16605         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16606         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16607         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16608         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16609         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16610         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16611         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16612         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16613         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16614         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16615         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16616         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16617         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16618         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16619         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16620         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16621         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16622         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16623         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16624         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16625         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16626         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16627         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16628         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16629         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16630         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16631         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16632         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16633         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16634         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16635         * sysdeps/ieee754/k_standard.c: Likewise.
16636         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16637         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16638         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16639         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16640         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16641         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16642         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16643         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16644         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16645         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16646         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16647         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16648         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16649         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16650         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16651         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16652         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16653         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16654         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16655         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16656         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16657         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16658         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16659         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16660         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16661         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16662         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16663         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16664         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16665         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16666         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16667         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16668         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16669         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16670         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16672         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16673         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16674         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16675         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16676         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16677         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16678         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16679         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16680         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16681         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16682         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16683         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16684         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16685         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16686         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16687         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16688         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16690         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16691         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16693         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16694         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16695         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16696         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16697         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16698         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16699         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16700         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16703         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16704         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16708         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16709         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16710         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16712         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16713         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16715         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16716         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16717         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16718         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16719         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16720         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16721         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16722         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16723         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16724         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16726         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16727         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16728         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16729         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16730         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16734         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16735         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16746         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16747         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16748         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16750         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16751         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16752         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16753         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16755         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16756         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16757         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16758         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16759         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16760         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16761         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16763         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16764         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16765         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16766         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16767         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16768         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16769         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16770         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16771         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16772         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16773         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16774         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16775         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16776         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16777         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16778         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16779         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16780         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16781         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16782         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16784         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16785         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16786         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16787         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16788         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16790         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16791         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16792         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16793         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16795         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16796         * sysdeps/ieee754/s_lib_version.c: Likewise.
16797         * sysdeps/ieee754/s_matherr.c: Likewise.
16798         * sysdeps/ieee754/s_signgam.c: Likewise.
16799         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16800         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16801         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16802         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16803         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16804         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16805         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16806         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16807         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16808         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16809         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16810         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16811         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16812         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16813         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16814         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16815         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16816         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16817         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16821 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16823         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16824         * sunrpc/rpc_main.c: Likewise.
16825         * sunrpc/rpc_svcout.c: Likewise.
16827 2012-03-09  David S. Miller  <davem@davemloft.net>
16829         * include/math_private.h: New file.
16831 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16833         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16834         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16835         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16836         from <bits/socket_type.h>.
16837         (enum __socket_type): Don't define here.
16838         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16839         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16840         bits/socket_type.h.
16842         [BZ #13566]
16843         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16844         checking __USE_GNU.
16846         * Makerules ($(inst_includedir)/%.h): New rule.
16847         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16848         (install-others): Remove variable setting.
16849         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16851 2012-03-08  Richard Henderson  <rth@twiddle.net>
16853         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16854         from macro to inline function; merge with the
16855         !__LIBC_INTERNAL_MATH_INLINES version.
16856         (__ieee754_sqrtf): Likewise.
16858         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16859         to inline function.
16860         (__rintf, __floor, __floorf): Likewise.
16862         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16863         macro to inline function.
16864         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16866         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16867         not <math/math_private.h>.
16869 2012-03-08  David S. Miller  <davem@davemloft.net>
16871         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16872         copyright year.
16873         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16875 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
16877         * resolv/gai_misc.c (handle_requests): Fix struct timespec
16878         normalization.
16879         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16880         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16882 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
16884         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
16885         be defined individually, they must be defined as a block.  Define
16886         S for printing a string instead of hidint the different by using a
16887         macro for adding the 'l'.
16888         * stdio-common/tst-fphex-wide.c: Adjust.
16890 2012-03-07  Marek Polacek  <polacek@redhat.com>
16892         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16894 2012-03-08  Marek Polacek  <polacek@redhat.com>
16896         [BZ #13806]
16897         * stdio-common/Makefile (tests): Add tst-fphex-wide.
16898         * stdio-common/tst-fphex.c: Define a few macros to make the
16899         test reusable.  Use them.
16900         * stdio-common/tst-fphex-wide.c: New file.
16902 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
16904         [BZ #6911]
16905         * manual/macros.texi (gnusystems): New macro.
16906         (nongnusystems): Likewise.
16907         (gnulinuxhurdsystems): Likewise.
16908         (gnuhurdsystems): Likewise..
16909         (gnulinuxsystems): Likewise.
16910         * manual/charset.texi: Use new macros or @theglibc{} to refer to
16911         variants of the GNU system, not "GNU system".
16912         * manual/conf.texi: Likewise.
16913         * manual/errno.texi: Likewise.  Update example of errno macro
16914         expansion.
16915         * manual/filesys.texi: Likewise.
16916         (getumask): Document as specific to GNU/Hurd.
16917         * manual/install.texi: Likewise.  Reword some references to
16918         GNU/Linux.
16919         * manual/intro.texi: Likewise.
16920         * manual/io.texi: Likewise.
16921         (File Name Portability): Detail which constraints are inapplicable
16922         to all GNU systems and which are only inapplicable to GNU/Hurd.
16923         * manual/job.texi: Likewise.
16924         * manual/llio.texi: Likewise.
16925         (O_NOCTTY): Document as present on GNU/Linux.
16926         * manual/maint.texi: Likewise.
16927         * manual/memory.texi: Likewise.
16928         * manual/pattern.texi: Likewise.
16929         * manual/pipe.texi: Likewise.
16930         * manual/process.texi: Likewise.
16931         * manual/resource.texi: Likewise.
16932         (RUSAGE_CHILDREN): Remove statement about specifying a particular
16933         child on GNU/Hurd.
16934         * manual/setjmp.texi: Likewise.
16935         * manual/signal.texi: Likewise.
16936         * manual/startup.texi: Likewise.
16937         * manual/stdio.texi: Likewise.
16938         * manual/terminal.texi: Likewise.
16939         (ONLCR): Document as POSIX.
16940         (OXTABS): Document availability on GNU/Linux as XTABS.
16941         (ONOEOT): Document availability separately from other bits.
16942         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16943         * manual/time.texi: Likewise.
16944         * manual/users.texi: Likewise.
16945         * INSTALL: Regenerated.
16946         * sysdeps/gnu/errlist.c: Regenerated.
16948         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16949         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16950         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
16951         puts.
16952         * configure: Regenerated.
16954 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
16956         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16957         default includes instead of AC_HEADER_CHECK.
16958         * sysdeps/i386/configure: Regenerated.
16960         [BZ #10716]
16961         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16962         * math/s_cacoshf.c (__cacoshf): Likewise.
16963         * math/s_cacoshl.c (__cacoshl): Likewise.
16964         * math/s_casinh.c (__casinh): Set signs of result from argument.
16965         * math/s_casinhf.c (__casinhf): Likewise.
16966         * math/s_casinhl.c (__casinhl): Likewise.
16967         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16968         (casinh_test): Add more tests.
16969         * sysdeps/i386/fpu/libm-test-ulps: Update.
16970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16972 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
16974         * po/zh_TW.po: Update from translation team.
16976         * login/Makefile (distribute): Remove variable.
16977         * catgets/Makefile: Likewise.
16978         * mach/Makefile: Likewise.
16979         * malloc/Makefile: Likewise.
16980         * misc/Makefile: Likewise.
16981         * iconv/Makefile: Likewise.
16982         * nscd/Makefile: Likewise.
16983         * hurd/Makefile: Likewise.
16984         * manual/Makefile: Likewise.
16985         * locale/Makefile: Likewise.
16986         * intl/Makefile: Likewise.
16987         * conform/Makefile: Likewise.
16988         * nss/Makefile: Likewise.
16989         * time/Makefile: Likewise.
16990         * soft-fp/Makefile: Likewise.
16991         * dirent/Makefile: Likewise.
16992         * gmon/Makefile: Likewise.
16993         * po/Makefile: Likewise.
16994         * rt/Makefile: Likewise.
16995         * socket/Makefile: Likewise.
16996         * math/Makefile: Likewise.
16997         * signal/Makefile: Likewise.
16998         * debug/Makefile: Likewise.
16999         * elf/Makefile: Likewise.
17000         * timezone/Makefile: Likewise.
17001         * stdlib/Makefile: Likewise.
17002         * iconvdata/Makefile: Likewise.
17003         * sunrpc/Makefile: Likewise.
17004         * io/Makefile: Likewise.
17005         * argp/Makefile: Likewise.
17006         * inet/Makefile: Likewise.
17007         * hesiod/Makefile: Likewise.
17008         * grp/Makefile: Likewise.
17009         * csu/Makefile: Likewise.
17010         * wctype/Makefile: Likewise.
17011         * crypt/Makefile: Likewise.
17012         * libio/Makefile: Likewise.
17013         * string/Makefile: Likewise.
17014         * nis/Makefile: Likewise.
17015         * resolv/Makefile: Likewise.
17016         * stdio-common/Makefile: Likewise.
17017         * wcsmbs/Makefile: Likewise.
17018         * dlfcn/Makefile: Likewise.
17019         * posix/Makefile: Likewise.
17021         [BZ #6959]
17022         * timezone/Makefile: Don't install timezone files, just the programs
17023         and scripts.
17025 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17027         * nss/databases.def: Add missing gshadow entry.
17029         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17031 2012-03-06  Marek Polacek  <polacek@redhat.com>
17033         [BZ #13726]
17034         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17035         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17036         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17037         * stdio-common/tst-long-dbl-fphex.c: New file.
17039 2012-03-06  David S. Miller  <davem@davemloft.net>
17041         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17042         (set_obp_int): New function.
17043         (get_obp_int): New function.
17044         (__get_clockfreq_via_dev_openprom): Likewise.
17045         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17046         Avoid unused variable warnings on 'val' and use builtin_expect.
17047         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17048         __builtin_expect.
17049         (INLINE_CLONE_SYSCALL): Likewise.
17051 2012-03-05  David S. Miller  <davem@davemloft.net>
17053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17055 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17060         only for |x| >= 40.
17061         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17063 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17065         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17066         Replace gettimeofday with __vdso_gettimeofday.
17068         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17069         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17070         __vdso_clock_gettime and __vdso_getcpu.
17072         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17073         time with __vdso_time.
17075 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17077         * manual/lang.texi (size_t): Note types to which size_t may be
17078         equivalent with the GNU C Library, but do not describe when
17079         differences between them are significant.
17081 2012-03-05  Andreas Jaeger  <aj@suse.de>
17083         * sysdeps/i386/fpu/libm-test-ulps: Update.
17085 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17087         [BZ #3976]
17088         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17089         (__ieee754_pow): Save and restore rounding mode and use
17090         round-to-nearest for main computations.
17091         * math/libm-test.inc (pow_test_tonearest): New function.
17092         (pow_test_towardzero): Likewise.
17093         (pow_test_downward): Likewise.
17094         (pow_test_upward): Likewise.
17095         (main): Call the new functions.
17096         * sysdeps/i386/fpu/libm-test-ulps: Update.
17097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17099         [BZ #3976]
17100         * math/libm-test.inc (cosh_test_tonearest): New function.
17101         (cosh_test_towardzero): Likewise.
17102         (cosh_test_downward): Likewise.
17103         (cosh_test_upward): Likewise.
17104         (sinh_test_tonearest): Likewise.
17105         (sinh_test_towardzero): Likewise.
17106         (sinh_test_downward): Likewise.
17107         (sinh_test_upward): Likewise.
17108         (main): Call the new functions.
17109         * sysdeps/i386/fpu/libm-test-ulps: Update.
17110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17112 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17114         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17115         default stack guard is set in last bytes.
17116         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17118 2012-03-05  Kees Cook  <keescook@chromium.org>
17120         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17122         [BZ #13656]
17123         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17124         possibly allocate from heap instead of stack.
17125         * stdio-common/bug-vfprintf-nargs.c: New file.
17126         * stdio-common/Makefile (tests): Add nargs overflow test.
17128 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17132 2012-03-03  Marek Polacek  <polacek@redhat.com>
17134         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17135         * math/math_private.h: Likewise.
17136         * stdlib/tst-strtod.c: Likewise.
17137         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17138         * sysdeps/x86_64/bits/atomic.h: Likewise.
17140 2012-03-02  David S. Miller  <davem@davemloft.net>
17142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17146         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17147         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17148         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17149         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17151 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17153         [BZ #13792]
17154         * manual/examples/README: New file, says the example source files
17155         can be used under GPL>=2.
17156         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17157         line containing just "*/".
17158         * manual/examples/add.c: Add copyright header (GPL>=2).
17159         * manual/examples/argp-ex1.c: Likewise.
17160         * manual/examples/argp-ex2.c: Likewise.
17161         * manual/examples/argp-ex3.c: Likewise.
17162         * manual/examples/argp-ex4.c: Likewise.
17163         * manual/examples/atexit.c: Likewise.
17164         * manual/examples/db.c: Likewise.
17165         * manual/examples/dir.c: Likewise.
17166         * manual/examples/dir2.c: Likewise.
17167         * manual/examples/execinfo.c: Likewise.
17168         * manual/examples/filecli.c: Likewise.
17169         * manual/examples/filesrv.c: Likewise.
17170         * manual/examples/fmtmsgexpl.c: Likewise.
17171         * manual/examples/genpass.c: Likewise.
17172         * manual/examples/inetcli.c: Likewise.
17173         * manual/examples/inetsrv.c: Likewise.
17174         * manual/examples/isockad.c: Likewise.
17175         * manual/examples/longopt.c: Likewise.
17176         * manual/examples/memopen.c: Likewise.
17177         * manual/examples/memstrm.c: Likewise.
17178         * manual/examples/mkfsock.c: Likewise.
17179         * manual/examples/mkisock.c: Likewise.
17180         * manual/examples/mygetpass.c: Likewise.
17181         * manual/examples/pipe.c: Likewise.
17182         * manual/examples/popen.c: Likewise.
17183         * manual/examples/rprintf.c: Likewise.
17184         * manual/examples/search.c: Likewise.
17185         * manual/examples/select.c: Likewise.
17186         * manual/examples/setjmp.c: Likewise.
17187         * manual/examples/sigh1.c: Likewise.
17188         * manual/examples/sigusr.c: Likewise.
17189         * manual/examples/stpcpy.c: Likewise.
17190         * manual/examples/strdupa.c: Likewise.
17191         * manual/examples/strftim.c: Likewise.
17192         * manual/examples/strncat.c: Likewise.
17193         * manual/examples/subopt.c: Likewise.
17194         * manual/examples/swapcontext.c: Likewise.
17195         * manual/examples/termios.c: Likewise.
17196         * manual/examples/testopt.c: Likewise.
17197         * manual/examples/testpass.c: Likewise.
17198         * manual/examples/timeval_subtract.c: Likewise.
17200         [BZ #13792]
17201         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17202         function to ...
17203         * manual/timeval_subtract.c.texi: ... here, new file.
17205 2012-03-02  David S. Miller  <davem@davemloft.net>
17207         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17209 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17211         [BZ #3976]
17212         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17213         (__sin): Save and restore rounding mode and use round-to-nearest
17214         for all computations.
17215         (__cos): Save and restore rounding mode and use round-to-nearest
17216         for all computations.
17217         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17218         <fenv.h>.
17219         (tan): Save and restore rounding mode and use round-to-nearest for
17220         all computations.
17221         * math/libm-test.inc (cos_test_tonearest): New function.
17222         (cos_test_towardzero): Likewise.
17223         (cos_test_downward): Likewise.
17224         (cos_test_upward): Likewise.
17225         (sin_test_tonearest): Likewise.
17226         (sin_test_towardzero): Likewise.
17227         (sin_test_downward): Likewise.
17228         (sin_test_upward): Likewise.
17229         (tan_test_tonearest): Likewise.
17230         (tan_test_towardzero): Likewise.
17231         (tan_test_downward): Likewise.
17232         (tan_test_upward): Likewise.
17233         (main): Call the new functions.
17234         * sysdeps/i386/fpu/libm-test-ulps: Update.
17235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17237         [BZ #10135]
17238         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17239         small n, then large n, before computing and testing k+n.
17240         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17241         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17242         Likewise.
17243         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17244         Likewise.
17245         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17246         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17247         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17248         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17251         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17252         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17253         * math/libm-test.inc (scalbn_test): Add more tests.
17254         (scalbln_test): Likewise.
17256         * manual/filesys.texi (mode_t): Describe constraints on size and
17257         signedness, not exact equivalence to a particular type.
17258         (ino_t): Likewise.
17259         (ino64_t): Likewise.
17260         (dev_t): Likewise.
17261         (nlink_t): Likewise.
17262         (blkcnt_t): Likewise.
17263         (blkcnt64_t): Likewise.
17264         * manual/llio.texi (off_t): Likewise.
17266         [BZ #3976]
17267         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17268         (__ieee754_exp): Save and restore rounding mode and use
17269         round-to-nearest for all computations.
17270         * math/libm-test.inc (exp_test_tonearest): New function.
17271         (exp_test_towardzero): Likewise.
17272         (exp_test_downward): Likewise.
17273         (exp_test_upward): Likewise.
17274         (main): Call the new functions.
17275         * sysdeps/i386/fpu/libm-test-ulps: Update.
17276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278 2012-03-01  Chris Demetriou  <cgd@google.com>
17280         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17281         have predictable order.
17283 2012-03-01  David S. Miller  <davem@davemloft.net>
17285         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17287         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17288         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17289         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17290         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17292         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17293         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17294         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17296         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17297         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17298         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17299         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17300         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17304         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17305         * sysdeps/sparc/fpu/libm-test-ulps: to here.
17306         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17308         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17309         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17310         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17311         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17312         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17313         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17315         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17316         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17317         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17318         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17319         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17321         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17322         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17324         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17325         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17326         * sysdeps/sparc/elf/configure: Regenerated.
17328 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
17330         * configure.in (AS, LD): Require binutils 2.20 or later.
17331         * configure: Regenerated.
17332         * manual/install.texi (Tools for Compilation): Give binutils 2.20
17333         as required minimum version.
17334         * INSTALL: Regenerated.
17336         [BZ #2541]
17337         [BZ #4108]
17338         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17339         before squaring exponent.
17340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17341         bottom long double and 27 bits of top long double before squaring
17342         exponent.
17343         * math/libm-test.inc (erfc_test): Add more tests.
17344         * sysdeps/i386/fpu/libm-test-ulps: Update.
17345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17348 2012-03-01  Kai Tietz  <ktietz@redhat.com>
17350         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17351         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17352         containing bit-fields.
17353         * soft-fp/extended.h (_FP_UNION_E): Likewise.
17354         * soft-fp/single.h (_FP_UNION_S): Likewise.
17355         * soft-fp/double.h (_FP_UNION_D): Likewise.
17357 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17359         [BZ #13786]
17360         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17361         not include ../strcmp.S.
17362         [USE_AS_STRNCASECMP_L]: Likewise.
17363         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17364         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17365         * sysdeps/i386/i686/multiarch/strncase_l-c.c
17366         (__strncasecmp_l_ia32): Define as alias to
17367         __strncasecmp_l_nonascii.
17369         [BZ #5794]
17370         * math/libm-test.inc (expm1_test): Add test for bug 5794.
17371         * sysdeps/i386/fpu/libm-test-ulps: Update.
17372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17374         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17377 2012-02-29  Jeff Law  <law@redhat.com>
17379         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17380         out of bounds read.
17382 2012-02-29  Marek Polacek  <polacek@redhat.com>
17384         [BZ #13706]
17385         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17386         * elf/Makefile: Add rules to run tst-unused-dep.out.
17388 2012-02-28  David S. Miller  <davem@davemloft.net>
17390         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17391         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17392         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17393         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17394         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17395         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17397 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17399         * math/libm-test.inc (llround_test): Move one test from
17400         lround_test.  Use TEST_f_L in moved test.
17401         (lround_test): Move misplaced test to llround_test.  Add testcase
17402         from bug 2561.
17404 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
17406         * sysdeps/x86_64/fpu/e_expf.S: New file.
17407         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17409 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
17411         [BZ #13637]
17412         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17413         of remain_len that may cause incomplete multi-byte character and
17414         false match.
17415         * posix/bug-regex33.c: New file.
17416         * posix/Makefile (tests): Add bug-regex33.
17418 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
17420         * manual/macros.texi: New file.
17421         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17422         * manual/libc.texinfo: Include macros.texi.
17423         * manual/creatute.texi: Likewise.
17424         * manual/install.texi: Likewise.
17425         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17426         @glibcadj{} in references to the GNU C Library.
17427         * manual/charset.texi: Likewise.
17428         * manual/conf.texi: Likewise.
17429         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
17430         when not using those macros.
17431         * manual/creature.texi: Likewise.
17432         * manual/crypt.texi: Likewise.
17433         * manual/errno.texi: Likewise.
17434         * manual/filesys.texi: Likewise.
17435         * manual/header.texi: Likewise.
17436         * manual/install.texi: Likewise.
17437         * manual/intro.texi: Likewise.
17438         * manual/io.texi: Likewise.
17439         * manual/job.texi: Likewise.
17440         * manual/lang.texi: Likewise.
17441         * manual/libc.texiinfo: Likewise.
17442         * manual/llio.texi: Likewise.
17443         * manual/locale.texi: Likewise.
17444         * manual/maint.texi: Likewise.
17445         * manual/math.texi: Likewise.
17446         * manual/memory.texi: Likewise.
17447         * manual/message.texi: Likewise.
17448         * manual/nss.texi: Likewise.
17449         * manual/pattern.texi: Likewise.
17450         * manual/process.texi: Likewise.
17451         * manual/resource.texi: Likewise.
17452         * manual/search.texi: Likewise.
17453         * manual/setjmp.texi: Likewise.
17454         * manual/signal.texi: Likewise.
17455         * manual/socket.texi: Likewise.
17456         * manual/startup.texi: Likewise.
17457         * manual/stdio.texi: Likewise.
17458         * manual/string.texi: Likewise.
17459         * manual/sysinfo.texi: Likewise.
17460         * manual/syslog.texi: Likewise.
17461         * manual/terminal.texi: Likewise.
17462         * manual/time.texi: Likewise.
17463         * manual/users.texi: Likewise.
17464         * INSTALL: Regenerated.
17465         * NOTES: Regenerated.
17466         * sysdeps/gnu/errlist.c: Regenerated.
17468 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
17470         * include/dirent.h: Include <dirstream.h> before
17471         <dirent/dirent.h>.
17473 2012-02-28  David S. Miller  <davem@davemloft.net>
17475         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17476         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17477         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17478         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17480 2012-02-27  David S. Miller  <davem@davemloft.net>
17482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17484         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17485         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17488         frame pointer instead of stack pointer relative arg slot.
17489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17490         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17491         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17493 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
17495         [BZ #3992]
17496         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17498 2012-02-27  David S. Miller  <davem@davemloft.net>
17500         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17504         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17505         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17506         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17507         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17509 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17511         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17512         later.  Allow versions 5-9.
17513         * configure: Regenerated.
17514         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17515         required minimum version and 4.6 as recommended version.  Do not
17516         mention bugs in GCC 2.7 and 2.8.
17517         * INSTALL: Regenerated.
17519 2012-02-27  David S. Miller  <davem@davemloft.net>
17521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17525         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17526         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17527         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17528         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17531         manipulate bits before adding and subtracting TWO112[sx].
17532         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17534 2012-02-27  Roland McGrath  <roland@hack.frob.com>
17536         [BZ #13775]
17537         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17538         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17539         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17540         being in POSIX, because they are in 1003.1-2008.
17542         * rt/tst-aio.c: Include <fcntl.h>.
17543         * rt/tst-aio7.c: Likewise.
17544         * rt/tst-aio64.c: Likewise.
17546         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17548 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17550         * manual/install.texi (--with-headers): Describe headers as
17551         interface headers, not private headers.
17552         (Specific advice for GNU/Linux systems): Describe use of headers
17553         from "make headers_install", not private headers from older
17554         kernels.
17555         * INSTALL: Regenerated.
17556         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17557         Change to 2.6.19.
17558         * sysdeps/unix/sysv/linux/configure: Regenerated.
17560         * manual/llio.texi (fclean): Remove documentation.
17562         * manual/Makefile (libc-texi-generated): New variable.  Include
17563         version.texi.
17564         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17565         $(libc-texi-generated), not duplicated list of files.
17566         (version.texi, stamp-version): New rules.
17567         (realclean): Remove $(libc-texi-generated), not individual files
17568         from that list.  Do not remove dir-add.texinfo.
17569         * manual/libc.texinfo: Comment out uses of edition numbers and
17570         references to printed manual.  Remove last-updated dates.
17571         (EDITION): Comment out.
17572         (ISBN): Likewise.
17573         (VERSION, UPDATED): Remove.
17574         (version.texi): Include.
17576 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
17578         * sysdeps/posix/spawni.c: Include <signal.h>.
17579         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17580         * sysdeps/pthread/aio_fsync.c: Likewise.
17582 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
17584         * conform/Makefile (tests): Run only when not cross-compiling and
17585         when fast-check is not defined.
17587         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17588         * conform/data/limits.h-data: Fixes for POSIX2008.
17589         * conform/run-conformtest.sh: Run all tests.
17590         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17591         headers.
17592         * include/bits/dlfcn.h: Likewise.
17593         * include/langinfo.h: Likewise.
17594         * include/monetary.h: Likewise.
17595         * include/sys/poll.h: Likewise.
17597         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17598         for __USE_GNU.
17599         * posix/spawn.h: Define __need_sigset_t.
17600         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17601         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17602         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
17603         to get sigevent_t only.
17604         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17605         only for __USE_GNU.
17606         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17607         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17608         process_vm_writev only for __USE_GNU.
17609         * termios/termios.h: Declare tcgetsid also for POSIX2008.
17611         * conform/Makefile: For now ignore errors from run-conformtest.
17612         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
17613         POSIX to avoid namespace pollution.  Don't prepend headers.
17614         * conform/data/aio.h-data: Fixes for POSIX testing.
17615         * conform/data/fcntl.h-data: Likewise.
17616         * conform/data/glob.h-data: Likewise.
17617         * conform/data/grp.h-data: Likewise.
17618         * conform/data/pthread.h-data: Likewise.
17619         * conform/data/pwd.h-data: Likewise.
17620         * conform/data/signal.h-data: Likewise.
17621         * conform/data/spawn.h-data: Likewise.
17622         * conform/data/stdio.h-data: Likewise.
17623         * conform/data/stdlib.h-data: Likewise.
17624         * conform/data/stropts.h-data: Likewise.
17625         * conform/data/sys/mman.h-data: Likewise.
17626         * conform/data/sys/stat.h-data: Likewise.
17627         * conform/data/sys/types.h-data: Likewise.
17628         * conform/data/sys/wait.h-data: Likewise.
17629         * conform/data/time.h-data: Likewise.
17630         * conform/data/unistd.h-data: Likewise.
17631         * conform/data/utime.h-data: Likewise.
17633         * io/sys/stat.h: fchmod was always in POSIX.
17634         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17635         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17636         * rt/aio.h: Define __need_timespec before including <time.h>.
17637         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17638         struct.  Add forward declaration of pthread_attr_t and use it in
17639         sigevent.
17640         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17641         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17642         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17643         always remove CLK_TCK definition.
17645 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
17647         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17649 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
17651         * conform/run-conformtest.sh: New file.
17652         * conform/Makefile: Run run-conformtest for tests.
17653         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
17654         support.
17656         * conform/data/uchar.h-data: New file.
17657         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17658         * conform/data/arpa/inet.h-data: Likewise.
17659         * conform/data/assert.h-data: Likewise.
17660         * conform/data/complex.h-data: Likewise.
17661         * conform/data/cpio.h-data: Likewise.
17662         * conform/data/ctype.h-data: Likewise.
17663         * conform/data/dirent.h-data: Likewise.
17664         * conform/data/dlfcn.h-data: Likewise.
17665         * conform/data/errno.h-data: Likewise.
17666         * conform/data/fcntl.h-data: Likewise.
17667         * conform/data/float.h-data: Likewise.
17668         * conform/data/fmtmsg.h-data: Likewise.
17669         * conform/data/fnmatch.h-data: Likewise.
17670         * conform/data/ftw.h-data: Likewise.
17671         * conform/data/glob.h-data: Likewise.
17672         * conform/data/grp.h-data: Likewise.
17673         * conform/data/iconv.h-data: Likewise.
17674         * conform/data/inttypes.h-data: Likewise.
17675         * conform/data/langinfo.h-data: Likewise.
17676         * conform/data/libgen.h-data: Likewise.
17677         * conform/data/limits.h-data: Likewise.
17678         * conform/data/locale.h-data: Likewise.
17679         * conform/data/math.h-data: Likewise.
17680         * conform/data/monetary.h-data: Likewise.
17681         * conform/data/mqueue.h-data: Likewise.
17682         * conform/data/ndbm.h-data: Likewise.
17683         * conform/data/net/if.h-data: Likewise.
17684         * conform/data/netdb.h-data: Likewise.
17685         * conform/data/netinet/in.h-data: Likewise.
17686         * conform/data/nl_types.h-data: Likewise.
17687         * conform/data/poll.h-data: Likewise.
17688         * conform/data/pthread.h-data: Likewise.
17689         * conform/data/pwd.h-data: Likewise.
17690         * conform/data/regex.h-data: Likewise.
17691         * conform/data/sched.h-data: Likewise.
17692         * conform/data/search.h-data: Likewise.
17693         * conform/data/semaphore.h-data: Likewise.
17694         * conform/data/setjmp.h-data: Likewise.
17695         * conform/data/signal.h-data: Likewise.
17696         * conform/data/spawn.h-data: Likewise.
17697         * conform/data/stdarg.h-data: Likewise.
17698         * conform/data/stdio.h-data: Likewise.
17699         * conform/data/stdlib.h-data: Likewise.
17700         * conform/data/string.h-data: Likewise.
17701         * conform/data/strings.h-data: Likewise.
17702         * conform/data/stropts.h-data: Likewise.
17703         * conform/data/sys/ipc.h-data: Likewise.
17704         * conform/data/sys/mman.h-data: Likewise.
17705         * conform/data/sys/msg.h-data: Likewise.
17706         * conform/data/sys/resource.h-data: Likewise.
17707         * conform/data/sys/select.h-data: Likewise.
17708         * conform/data/sys/sem.h-data: Likewise.
17709         * conform/data/sys/shm.h-data: Likewise.
17710         * conform/data/sys/socket.h-data: Likewise.
17711         * conform/data/sys/stat.h-data: Likewise.
17712         * conform/data/sys/statvfs.h-data: Likewise.
17713         * conform/data/sys/time.h-data: Likewise.
17714         * conform/data/sys/timeb.h-data: Likewise.
17715         * conform/data/sys/times.h-data: Likewise.
17716         * conform/data/sys/types.h-data: Likewise.
17717         * conform/data/sys/uio.h-data: Likewise.
17718         * conform/data/sys/un.h-data: Likewise.
17719         * conform/data/sys/utsname.h-data: Likewise.
17720         * conform/data/sys/wait.h-data: Likewise.
17721         * conform/data/syslog.h-data: Likewise.
17722         * conform/data/tar.h-data: Likewise.
17723         * conform/data/termios.h-data: Likewise.
17724         * conform/data/utime.h-data: Likewise.
17725         * conform/data/utmpx.h-data: Likewise.
17726         * conform/data/varargs.h-data: Likewise.
17727         * conform/data/wchar.h-data: Likewise.
17728         * conform/data/wctype.h-data: Likewise.
17729         * conform/data/wordexp.h-data: Likewise.
17731         * include/stropts.h: New file.
17732         * include/uchar.h: New file.
17733         * include/aio.h: Changes to allow conformtest.pl to use the headers.
17734         * include/assert.h: Likewise.
17735         * include/ctype.h: Likewise.
17736         * include/dirent.h: Likewise.
17737         * include/dlfcn.h: Likewise.
17738         * include/fcntl.h: Likewise.
17739         * include/fnmatch.h: Likewise.
17740         * include/glob.h: Likewise.
17741         * include/grp.h: Likewise.
17742         * include/libio.h: Likewise.
17743         * include/locale.h: Likewise.
17744         * include/math.h: Likewise.
17745         * include/net/if.h: Likewise.
17746         * include/netdb.h: Likewise.
17747         * include/netinet/in.h: Likewise.
17748         * include/pthread.h: Likewise.
17749         * include/pwd.h: Likewise.
17750         * include/regex.h: Likewise.
17751         * include/sched.h: Likewise.
17752         * include/search.h: Likewise.
17753         * include/setjmp.h: Likewise.
17754         * include/signal.h: Likewise.
17755         * include/stdio.h: Likewise.
17756         * include/stdlib.h: Likewise.
17757         * include/string.h: Likewise.
17758         * include/sys/cdefs.h: Likewise.
17759         * include/sys/mman.h: Likewise.
17760         * include/sys/msg.h: Likewise.
17761         * include/sys/resource.h: Likewise.
17762         * include/sys/select.h: Likewise.
17763         * include/sys/socket.h: Likewise.
17764         * include/sys/stat.h: Likewise.
17765         * include/sys/statvfs.h: Likewise.
17766         * include/sys/time.h: Likewise.
17767         * include/sys/times.h: Likewise.
17768         * include/sys/uio.h: Likewise.
17769         * include/sys/utsname.h: Likewise.
17770         * include/sys/wait.h: Likewise.
17771         * include/termios.h: Likewise.
17772         * include/time.h: Likewise.
17773         * include/ulimit.h: Likewise.
17774         * include/unistd.h: Likewise.
17775         * include/utime.h: Likewise.
17776         * include/wchar.h: Likewise.
17777         * include/wctype.h: Likewise.
17778         * include/wordexp.h: Likewise.
17780         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17782         * time/time.h: TIME_UTC must be a macro.
17783         Make timespec_get available for ISO C11 only as well.
17785 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
17787         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17788         Reported by Peng Haitao <penght@cn.fujitsu.com>.
17790 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17792         * configure.in: Use -o not -a in test for unsupported multi-arch.
17794 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17796         * manual/texinfo.tex: Update to version 2012-01-19.16.
17798 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17800         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17802 2012-02-24  Roland McGrath  <roland@hack.frob.com>
17804         [BZ #13738]
17805         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17806         * manual/fdl-1.3.texi: New file.
17807         * manual/fdl-1.1.texi: File removed.
17809         [BZ #13738]
17810         * manual/libc.texinfo (FDL_VERSION): New @set.
17811         Use it for mention of FDL in cover text.
17812         (Documentation License): Use it in @include file name.
17814 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17815             Roland McGrath  <roland@hack.frob.com>
17817         [BZ #5461]
17818         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17819         not LONG_LONG_MAX and LONG_LONG_MIN.
17820         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17821         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
17822         name.
17823         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17825 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17827         [BZ #2547]
17828         [BZ #11365]
17829         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17830         manipulate bits before adding and subtracting TWO23[sx].
17831         * math/libm-test.inc (nearbyint_test): Add more tests.
17833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17835         [BZ #2548]
17836         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17837         bits before adding and subtracting TWO23[sx].
17838         * math/libm-test.inc (rint_test): Add more tests.
17839         (rint_test_tonearest): Likewise.
17840         (rint_test_towardzero): Likewise.
17841         (rint_test_downward): Likewise.
17842         (rint_test_upward: Likewise.
17844 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17846         [BZ #10110]
17847         * include/stdc-predef.h: New file.  Extracted from features.h.
17848         * include/features.h: Include stdc-predef.h.
17849         * Makefile (headers): Add stdc-predef.h.
17850         * CONFORMANCE (Compiler limitations): Update.
17852 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17854         * manual/libc.texinfo (VERSION, UPDATED): Revert.
17856 2012-02-21  David S. Miller  <davem@davemloft.net>
17858         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17859         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17861 2012-02-20  David S. Miller  <davem@davemloft.net>
17863         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17864         using a normal save/restore sequence, rather than allocating a
17865         dummy stack frame just to store a frame pointer and restore.
17866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17868 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17870         * manual/install.texi: Fix stray word in line-wrapped comment.
17872 2012-02-20  David S. Miller  <davem@davemloft.net>
17874         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17875         both binutils and gcc support GOTDATA.
17877         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17878         "rd %pc" in the PIC register setup sequences.
17880         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17881         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17882         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17883         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17884         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17885         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17886         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17887         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17889         (SYSCALL_ERROR_HANDLER): Likewise.
17890         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17891         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17893         (SYSCALL_ERROR_HANDLER): Likewise.
17895         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17896         (HAVE_GCC_GOTDATA): New.
17897         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17898         relocation support in both binutils and gcc.
17899         * sysdeps/sparc/elf/configure: Regenerate.
17901         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17902         * sysdeps/sparc/sparc32/elf/configure: Delete.
17903         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17904         * sysdeps/sparc/sparc64/elf/configure: Delete.
17905         * sysdeps/sparc/elf/configure.in: New file.
17906         * sysdeps/sparc/elf/configure: Generate.
17908         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17909         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17910         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17911         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17912         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17914 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17916         * manual/install.texi: Do not mention specific glibc version
17917         numbers.
17918         * manual/libc.texinfo (VERSION, UPDATED): Update.
17919         (@copying): Use @copyright{} and range of years.
17921 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17923         [BZ #13695]
17924         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17925         [crti.S not in sysdirs] (generated): Do not append.
17926         [crti.S not in sysdirs] (omit-deps): Likewise.
17927         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17928         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17929         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17930         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17931         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17932         Likewise.
17933         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17934         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17935         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17936         * csu/defs.awk: Remove file.
17937         * sysdeps/generic/initfini.c: Likewise.
17938         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17939         variable.
17940         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17941         Likewise.
17943 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
17945         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17946         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17947         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17948         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17949         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17950         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17951         <bits/epoll.h>.
17952         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17953         (__EPOLL_PACKED): Define to empty if not defined by
17954         <bits/epoll.h>.
17955         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17957         bits/epoll.h.
17959 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
17961         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17962         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17963         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17964         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17965         <bits/timerfd.h>.
17966         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17968         bits/timerfd.h.
17970 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
17972         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17973         in C locale.
17974         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17975         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17976         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17979 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
17981         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17982         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17984 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
17986         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17987         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17988         defined.
17989         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17990         Likewise.
17991         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17992         entry for 2.16.
17994 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
17996         * math/w_acos.c: Use non-signaling floating-point comparisons.
17997         * math/w_acosf.c: Likewise.
17998         * math/w_acosh.c: Likewise.
17999         * math/w_acoshf.c: Likewise.
18000         * math/w_acoshl.c: Likewise.
18001         * math/w_acosl.c: Likewise.
18002         * math/w_asin.c: Likewise.
18003         * math/w_asinf.c: Likewise.
18004         * math/w_asinl.c: Likewise.
18005         * math/w_atanh.c: Likewise.
18006         * math/w_atanhf.c: Likewise.
18007         * math/w_atanhl.c: Likewise.
18008         * math/w_exp2.c: Likewise.
18009         * math/w_exp2f.c: Likewise.
18010         * math/w_exp2l.c: Likewise.
18011         * math/w_j0.c: Likewise.
18012         * math/w_j0f.c: Likewise.
18013         * math/w_j0l.c: Likewise.
18014         * math/w_j1.c: Likewise.
18015         * math/w_j1f.c: Likewise.
18016         * math/w_j1l.c: Likewise.
18017         * math/w_jn.c: Likewise.
18018         * math/w_jnf.c: Likewise.
18019         * math/w_log.c: Likewise.
18020         * math/w_log10.c: Likewise.
18021         * math/w_log10f.c: Likewise.
18022         * math/w_log10l.c: Likewise.
18023         * math/w_log2.c: Likewise.
18024         * math/w_log2f.c: Likewise.
18025         * math/w_log2l.c: Likewise.
18026         * math/w_logf.c: Likewise.
18027         * math/w_logl.c: Likewise.
18028         * math/w_sqrt.c: Likewise.
18029         * math/w_sqrtf.c: Likewise.
18030         * math/w_sqrtl.c: Likewise.
18031         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18032         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18033         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18034         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18035         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18037 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18039         [BZ #9739]
18040         * manual/string.texi (strnlen): Use correct parameter name in
18041         equivalent expression.
18043 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18045         [BZ #11174]
18046         * manual/users.texi (seteuid): Consistently use neweuid for
18047         argument name.
18049 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18051         [BZ #13704]
18052         * manual/nss.texi (Services in the NSS configuration): Correct
18053         list of services in example configuration file.
18055 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18057         [BZ #11322]
18058         * manual/arith.texi: Remove statements about negative zero
18059         behaving identically to zero.
18061 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18063         [BZ #5993]
18064         * manual/install.texi: Do not document upgrading from libc5.
18066 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #4596]
18069         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18071 2012-02-18  David S. Miller  <davem@davemloft.net>
18073         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18074         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18075         %o7 across the call.
18076         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18077         instead.
18078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18079         SETUP_PIC_REG_LEAF.
18080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18081         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18082         * sysdeps/sparc/crtn.S: Likewise.
18084 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18086         * aout/Makefile: Remove.
18088 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18090         [BZ #13058]
18091         * manual/examples/argp-ex1.c (main): Format definition in GNU
18092         style.
18093         * manual/examples/argp-ex2.c (main): Likewise.
18094         * manual/examples/argp-ex3.c (main): Likewise.
18095         * manual/examples/argp-ex4.c (main): Likewise.
18096         * manual/examples/longopt.c (main): Use new-style prototype
18097         definition.
18098         * manual/examples/strncat.c (main): Specify return type and use
18099         (void) for arguments.
18100         * manual/examples/subopt.c (main): Use char **argv argument.
18102 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18104         [BZ #5077]
18105         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18106         rounding modes.
18108 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18110         [BZ #6907]
18111         * manual/string.texi (strchr): Change when strchrnul is
18112         recommended.
18114 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18116         [BZ #174]
18117         * manual/locale.texi (setlocale): Document LOCPATH.
18119 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18121         [BZ #10210]
18122         * manual/process.texi (execle): Move @dots{} before last argument.
18124 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18126         [BZ #12047]
18127         * manual/charset.texi (Generic Charset Conversion): Fix typo
18128         (LC_TYPE -> LC_CTYPE).
18130 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18132         [BZ #5805]
18133         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18134         (scalbnf): Likewise.
18135         (scalbnl): Likewise.
18136         (scalbln): Likewise.
18137         (scalblnf): Likewise.
18138         (scalblnl): Likewise.
18139         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18140         (vwarnx): Likewise.
18141         (verr): Likewise.
18142         (verrx): Likewise.
18143         * manual/filesys.texi (telldir): Use braces around return type.
18144         * manual/llio.texi (mmap): Add space after comma.
18145         (mmap64): Likewise.
18146         * manual/math.texi (jn): Use @var{} on parameter names.
18147         (jnf): Likewise.
18148         (jnl): Likewise.
18149         (yn): Likewise.
18150         (ynf): Likewise.
18151         (ynl): Likewise.
18152         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18153         line.
18154         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18155         "...".
18156         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18157         (sched_get_priority_max): Likewise.
18158         * manual/signal.texi (sigvec): Add space after comma.
18159         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18160         names.
18161         (if_indextoname): Likewise.
18162         (if_freenameindex): Likewise.
18163         (sendto): Use ',' instead of '.' in prototype.
18164         * manual/startup.texi (syscall): Use @dots{} instead of literal
18165         "...".
18166         * manual/stdio.texi (__fpending): Separate initial words of
18167         paragraph from @deftypefun line.
18168         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18169         "...".
18170         (vsyslog): Use @var{} on parameter names.
18171         * manual/terminal.texi (stty): Use @var{} on parameter names.
18172         * manual/users.texi (getutmp): Use @var{} on parameter names.
18173         (getutmpx): Likewise.
18175 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18177         [BZ #6884]
18178         * manual/stdio.texi (fopen): Fix typos in description of
18179         ",ccs=STRING".
18181 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18183         [BZ #4026]
18184         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18185         get clock_id definition.
18187 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18189         [BZ #4822]
18190         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18191         (madvise): Cast every argument to void on its own.
18193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18195         [BZ #9902]
18196         * manual/startup.texi (Exit Status): Fix typo.
18198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18200         [BZ #10140]
18201         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18202         * manual/examples/argp-ex2.c: Likewise.
18203         * manual/examples/argp-ex3.c: Likewise.
18205 2012-02-16  Richard Henderson  <rth@redhat.com>
18207         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18208         * sysdeps/s390/s390-32/initfini.c: Remove.
18209         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18210         * sysdeps/s390/s390-64/initfini.c: Remove.
18212 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18214         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18215         compiler output for sysdeps/generic/initfini.c.
18216         * sysdeps/sh/elf/initfini.c: Remove file.
18218 2012-02-16  David S. Miller  <davem@davemloft.net>
18220         [BZ #11494]
18221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18223         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18224         * sysdeps/sparc/crti.S: New file.
18225         * sysdeps/sparc/crtn.S: New file.
18226         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18227         * sysdeps/sparc/sparc64/Makefile: Likewise.
18229 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18231         [BZ #3335]
18232         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18234 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18236         [BZ #4822]
18237         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18239         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18240         (write, read, close): Likewise.
18241         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18243 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18245         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18246         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18247         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18248         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18249         <bits/signalfd.h>.
18250         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18252         bits/signalfd.h.
18254 2012-02-14  Marek Polacek  <polacek@redhat.com>
18256         * sysdeps/x86_64/crti.S: New file.
18257         * sysdeps/x86_64/crtn.S: New file.
18258         * sysdeps/x86_64/elf/initfini.c: Remove file.
18260 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18262         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18263         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18264         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18265         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18266         <bits/inotify.h>.
18267         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18268         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18269         bits/inotify.h.
18271 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18273         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18274         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18275         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18276         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18277         <bits/eventfd.h>.
18278         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18280         bits/eventfd.h.
18282 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
18284         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18285         __feraiseexcept instead of feraiseexcept.
18287         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18288         nanosleep invocations.
18289         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18290         strings, and add error checking for a nanosleep invocations.
18292 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
18294         Replace FSF snail mail address with URLs, as per GNU coding standards.
18295         Most of the snail mail addresses were wrong anyway, and omitting
18296         them makes the source code easier to maintain.  Almost all of the
18297         changes are to license notices and to locale LC_IDENTIFICATION
18298         addresses, except for this one:
18299         * manual/libc.texinfo: In "Published by", give the FSF's URL,
18300         not its snail mail address.
18302 2012-02-09  Richard Henderson  <rth@twiddle.net>
18304         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18305         of kernel-features.h.
18307         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18309 2012-02-08  Marek Polacek  <polacek@redhat.com>
18311         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18312         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18313         * sysdeps/gnu/_G_config.h: Likewise.
18314         * sysdeps/generic/_G_config.h: Likewise.
18316 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
18318         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18319         tests.
18320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18322         * sysdeps/powerpc/powerpc32/crti.S: New file.
18323         * sysdeps/powerpc/powerpc32/crtn.S: New file.
18324         * sysdeps/powerpc/powerpc64/crti.S: New file.
18325         * sysdeps/powerpc/powerpc64/crtn.S: New file.
18327         * Makeconfig (have-initfini): Don't set.
18328         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18329         * configure.in (nopic_initfini): Don't substitute.
18330         * config.h.in (HAVE_INITFINI): Don't #undef.
18331         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18332         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18334 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
18336         Support crti.S and crtn.S provided directly by architectures.
18337         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18338         [crti.S in sysdirs] (omit-deps): Likewise.
18339         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18340         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18341         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18342         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18343         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18344         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18345         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18346         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18347         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18348         compiler output for sysdeps/generic/initfini.c.
18349         * sysdeps/i386/elf/Makefile: Remove file.
18350         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18352 2012-02-07  Marek Polacek  <polacek@redhat.com>
18354         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18355         * sysdeps/gnu/_G_config.h: Likewise.
18356         * sysdeps/mach/hurd/_G_config.h: Likewise.
18358 2012-02-07  Marek Polacek  <polacek@redhat.com>
18360         * math/Makefile (tests): Add tst-CMPLX2.
18361         * math/tst-CMPLX2.c: New file.
18363 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
18365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18367         * math/libm-test.inc (jn_test): Add missing L suffix.
18369 2012-02-06  Marek Polacek  <polacek@redhat.com>
18371         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18372         * sysdeps/i386/fpu/e_powf.S: Likewise.
18373         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18374         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18375         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18376         * sysdeps/i386/fpu/e_pow.S: Likewise.
18377         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18378         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18379         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18380         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18381         * sysdeps/i386/fpu/e_log2.S: Likewise.
18382         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18383         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18384         * sysdeps/i386/fpu/e_powl.S: Likewise.
18385         * sysdeps/i386/fpu/s_log1p.S: Likewise.
18386         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18387         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18388         * sysdeps/i386/fpu/e_logl.S: Likewise.
18389         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18390         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18391         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18392         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18393         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18394         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18395         * sysdeps/i386/fpu/e_log.S: Likewise.
18396         * sysdeps/i386/fpu/s_cexp.S: Likewise.
18397         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18398         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18399         * sysdeps/i386/fpu/e_logf.S: Likewise.
18400         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18401         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18402         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18403         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18404         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18405         * sysdeps/i386/fpu/e_log10.S: Likewise.
18406         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18407         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18408         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18409         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18410         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18411         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18412         * sysdeps/i386/asm-syntax.h: Likewise.
18413         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18414         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18415         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18416         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18417         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18418         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18419         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18420         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18421         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18422         * sysdeps/powerpc/sysdep.h: Likewise.
18423         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18424         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18426 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18428         [BZ #411]
18429         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18431 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18433         * sysdeps/i386/sysdep.h: Include <features.h>.
18434         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18435         version.
18437 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
18439         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18440         Define.
18441         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18442         LOAD_PIC_REG_STR.
18444 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18446         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18447         (SETUP_PIC_REG): Use GET_PC_THUNK.
18448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18449         macro.
18451 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18453         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18454         for non-PIC compilation.
18455         (SETUP_PIC_REG): Add .p2align directive.
18456         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18457         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18458         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18460         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18461         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18462         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18463         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18464         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18465         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18466         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18467         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18468         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18469         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18470         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18471         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18472         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18473         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18474         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18475         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18476         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18477         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18478         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18479         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18480         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18482         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18483         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18484         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18485         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18486         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18487         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18488         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18489         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18490         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18491         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18492         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18493         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18494         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18495         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18496         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18498 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18500         * math/tst-CMPLX.c: Include <stdio.h>.
18502 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
18504         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18505         float.
18506         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18507         * sysdeps/sparc/bits/mathdef.h: Likewise.
18509 2012-01-31  Marek Polacek  <polacek@redhat.com>
18511         * libio/libio.h: Don't define _PARAMS.
18512         * locale/programs/config.h: Don't define PARAMS.
18513         * stdlib/strtol_l.c: Likewise.
18514         (__strtol_l): Remove PARAMS from the prototype.
18516 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
18518         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
18519         names.  Just use the correct names.  Remove unnecessary wrapper
18520         functions.
18521         * malloc/arena.c: Likewise.
18522         * malloc/hooks.c: Likewise.
18524         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18525         ARENA_TEST says not to.  Simplify test for creation of a new arena.
18526         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18528 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
18530         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18531         into tail calls.
18532         (update_get_addr): New function.
18533         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18534         GET_ADDR_MODULE parameter.
18536 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18538         * crypt/cert.c: Remove __STDC__ conditionals.
18539         * crypt/crypt-entry.c: Likewise.
18540         * crypt/crypt_util.c: Likewise.
18541         * libio/filedoalloc.c: Likewise.
18542         * libio/fileops.c: Likewise.
18543         * libio/genops.c: Likewise.
18544         * libio/iofclose.c: Likewise.
18545         * libio/iofdopen.c: Likewise.
18546         * libio/iofopen.c: Likewise.
18547         * libio/iofopen64.c: Likewise.
18548         * libio/iogetdelim.c: Likewise.
18549         * libio/iopopen.c: Likewise.
18550         * libio/obprintf.c: Likewise.
18551         * libio/oldfileops.c: Likewise.
18552         * libio/oldiofclose.c: Likewise.
18553         * libio/oldiofdopen.c: Likewise.
18554         * libio/oldiofopen.c: Likewise.
18555         * libio/oldiopopen.c: Likewise.
18556         * libio/wfiledoalloc.c: Likewise.
18557         * libio/wgenops.c: Likewise.
18558         * locale/programs/xmalloc.c: Likewise.
18559         * misc/syslog.c: Likewise.
18560         * stdio-common/xbug.c: Likewise.
18561         * string/memchr.c: Likewise.
18562         * string/memcmp.c: Likewise.
18563         * string/memrchr.c: Likewise.
18564         * string/rawmemchr.c: Likewise.
18565         * sysdeps/posix/getcwd.c: Likewise.
18566         * time/strftime_l.c: Likewise.
18568 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18570         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18571         * config.make.in (config-cflags-sse2avx): Define.
18572         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18573         Fix typo.
18575 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
18577         * scripts/config.guess: Update from upstream config git repository.
18578         * scripts/config.sub: Likewise.
18580 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
18582         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18583         (EM_NUM): Update.
18584         (R_TILEPRO_*, R_TILEGX_*): New macros.
18586         * scripts/firstversions.awk: Fix bug in version range handling.
18588         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18590         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18592         * include/sys/epoll.h: New file.
18593         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18594         libc_hidden_def.
18596 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
18598         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18599         Avoid unnecessary __WORDSIZE == 64 test.
18600         (fmaxf): Use VEX format if possible.
18601         (fmax): Likewise.
18602         (fminf): Likewise.
18603         (fmin): Likewise.
18605         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18606         * math/math_private.h: Remove libc_fegetround* and
18607         libc_fesetround*.
18608         * sysdeps/i386/configure.in: Check for -msse2avx.
18609         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18610         also if SSE2AVX is defined.
18611         Remove libc_fegetround* and libc_fesetround*.
18612         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18613         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
18614         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18615         of HAS_YMM_USABLE.
18616         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18617         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18618         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18619         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18622         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18624 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18626         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18627         size is not set.
18628         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18630 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
18632         [BZ #13618]
18633         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18634         relocation.
18635         * Makeconfig (libm): Define.
18636         * elf/Makefile: Add rules to build and run tst-relsort1.
18637         * elf/tst-relsort1.c: New file.
18638         * elf/tst-relsort1mod1.c: New file.
18639         * elf/tst-relsort1mod2.c: New file.
18641 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
18643         * math/s_ldexp.c: Remove __STDC__ conditionals.
18644         * math/s_ldexpf.c: Likewise.
18645         * math/s_ldexpl.c: Likewise.
18646         * math/s_nextafter.c: Likewise.
18647         * math/s_nexttowardf.c: Likewise.
18648         * math/s_significand.c: Likewise.
18649         * math/s_significandf.c: Likewise.
18650         * math/s_significandl.c: Likewise.
18651         * math/w_jnl.c: Likewise.
18652         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18653         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18654         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18655         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18656         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18658         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18659         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18660         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18661         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18662         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18663         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18664         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18665         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18666         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18667         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18668         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18669         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18670         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18671         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18672         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18673         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18674         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18675         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18676         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18677         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18678         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18679         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18680         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18681         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18682         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18683         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18684         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18685         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18686         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18687         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18688         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18689         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18690         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18691         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18692         * sysdeps/ieee754/k_standard.c: Likewise.
18693         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18694         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18695         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18697         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18698         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18699         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18700         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18701         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18702         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18709         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18711         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18712         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18713         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18714         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18717         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18718         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18723         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18724         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18738         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18739         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18740         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18741         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18742         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18743         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18753         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18754         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18755         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18759         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18763         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18765         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18766         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18767         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18768         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18770         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18772         * sysdeps/ieee754/s_matherr.c: Likewise.
18773         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18774         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18778 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18780         * crypt/md5.h: Remove __STDC__ conditionals.
18781         * libio/libioP.h: Likewise.
18782         * locale/programs/config.h: Likewise.
18783         * sysdeps/generic/sysdep.h: Likewise.
18784         * sysdeps/i386/asm-syntax.h: Likewise.
18785         * sysdeps/s390/asm-syntax.h: Likewise.
18786         * sysdeps/unix/sysdep.h: Likewise.
18787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18790 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18792         * libio/libio.h: Remove __STDC__ conditionals.
18793         * malloc/obstack.h: Likewise.
18794         * math/complex.h: Likewise.
18795         * math/math.h: Likewise.
18796         * sysdeps/generic/_G_config.h: Likewise.
18797         * sysdeps/gnu/_G_config.h: Likewise.
18798         * sysdeps/mach/hurd/_G_config.h: Likewise.
18799         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18800         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18801         * sysdeps/sparc/bits/mathdef.h: Likewise.
18803 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
18805         [BZ #13583]
18806         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18807         Clean up HAS_* macros.
18808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18809         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18810         possible.
18811         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18812         HAS_AVX.
18813         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18814         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18815         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18816         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18817         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18819 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
18821         * elf/tst-unique3.cc (gets): Remove declaration.
18822         * elf/tst-unique3lib.cc (gets): Likewise.
18823         * elf/tst-unique3lib2.cc (gets): Likewise.
18824         * elf/tst-unique4.cc (gets): Likewise.
18826 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
18828         * include/stdio.h: Add C++ protection.  Add gets declarations and
18829         definitions.
18830         * debug/tst-chk1.c: Don't declare gets here.
18831         * stdio-common/tst-gets.c: Likewise.
18833 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18835         * posix/glob: Remove directory.
18837 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18839         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18841 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
18843         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18844         of the non-standard EPFNOSUPPORT.
18846 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18848         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18849         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18850         ANYWHERE set to 1 only on KERN_NO_SPACE error.
18852 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
18854         * wcsmbs/uchar.h: Test __STDC_VERSION__.
18856 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
18858         * nscd/aicache.c (addhstaiX): Do not cache negative results of
18859         transient errors.
18860         * nscd/grpcache.c (cache_addgr): Likewise.
18861         * nscd/hstcache.c (cache_addhst): Likewise.
18862         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18863         * nscd/pwdcache.c (cache_addpw): Likewise.
18864         * nscd/servicescache.c (cache_addserv): Likewise.
18866 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
18868         * malloc/malloc.c: Various cleanups.
18869         * malloc/hooks.c: Likewise.
18871         * stdlib/Makefile (tests): Add bug-fmtmsg1.
18872         * stdlib/bug-fmtmsg1.c: New file.
18874         * stdlib/fmtmsg.c (init): Add missing unlock.
18875         Patch by Peng Haitao <penght@cn.fujitsu.com>.
18877 2012-01-12  Marek Polacek  <polacek@redhat.com>
18879         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18880         and _GNU_SOURCE.
18882 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
18884         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18885         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18886         macro to ensure uniqueness of label name.
18887         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18888         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18890 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
18892         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18894         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18895         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18896         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18897         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18899 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
18901         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18903         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18904         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18905         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18907         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18909         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18910         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18911         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18912         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18914         * math/bits/math-finite.h: Add ldexp support.
18916 2012-01-10  Marek Polacek  <polacek@redhat.com>
18918         * locale/programs/localedef.h (show_archive_content): Add noreturn
18919         attribute.
18921 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
18923         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18925 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
18927         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18929         * io/Makefile (headers): Add bits/poll2.h.
18931 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
18933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18934         typo #include statement.
18936 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
18938         * include/sys/cdefs.h: Define __attribute_alloc_size.
18939         * catgets/gencat.c: Add alloc_size attribute and apply consistently
18940         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18941         * elf/pldd.c: Likewise.
18942         * iconv/iconv_charmap.c: Likewise.
18943         * iconv/iconvconfig.c: Likewise.
18944         * iconv/strtab.c: Likewise.
18945         * locale/programs/locale.c: Likewise.
18946         * locale/programs/localedef.h: Likewise.
18947         * locale/programs/simple-hash.c: Likewise.
18948         * nscd/nscd.h: Likewise.
18949         * nss/makedb.c: Likewise.
18950         * sysdeps/generic/ldconfig.h: Likewise.
18951         * locale/programs/localedef.c: Remove xmalloc prototype.
18952         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18954 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18956         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18957         appropriate.
18959 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
18961         * math/Makefile (tests): Add tst-CMPLX.
18962         * math/tst-CMPLX.c: New file.
18964         * math/complex.h (CMPLXL): Fix typo.
18966         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18967         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18968         GLIBC_2.16.
18969         * debug/tst-chk1.c: Add poll and ppoll tests.
18970         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18971         * include/sys/poll.h: Add hidden proto for ppoll.
18972         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18973         * sysdeps/mach/hurd/ppoll.c: Likewise.
18974         * io/ppoll.c: Likewise.
18975         * debug/poll_chk.c: New file.
18976         * debug/ppoll_chk.c: New file.
18977         * include/bits/poll2.h: New file.
18978         * io/bits/poll2.h: New file.
18980         [BZ #1350]
18981         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18983         * configure.in: static is always set to yes.  Remove.
18984         * config.make.in: Don't set build-static.
18985         * Makeconfig: Remove use of build-static.
18986         * dlfcn/Makefile: Likewise.
18987         * elf/Makefile: Likewise.
18988         * math/Makefile: Likewise.
18989         * misc/Makefile: Likewise.
18990         * nptl/Makefile: Likewise.
18991         * sysdeps/mach/hurd/Makefile: Likewise.
18993         * configure.in: PWD_P is not used anymore.
18994         * config.make.in: Remove PWD_P entry.
18996         * configure.in: Remove last remnants of RANLIB.
18997         No need to check for signed size_t anymore.
18998         Don't set libc_commonpagesize and libc_relro_required here for Alpha
18999         and IA-64.
19000         Remove __builtin_expect test because we require at least gcc 3.4.
19001         * aclocal.m4: Likewise.
19003         * wcsmbs/mbrtoc16.c: Implement using towc function.
19004         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19005         * wcsmbs/wcsmbsload.c: Likewise.
19006         * iconv/gconv_simple.c: Likewise.
19007         * iconv/gconv_int.h: Likewise.
19008         * iconv/gconv_builtin.h: Likewise.
19009         * iconv/iconv_prog.c: Remove CHAR16 handling.
19011         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19013         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19015         * configure.in: Remove --with-elf and --enable-bounded options.
19016         Dont set base_machine for ia64.  More non-ELF conditions removed.
19017         Remove testing and setting of leading underscore information.
19018         * config.make.in (build-bounded): Set to no.
19019         * config.h.in: Remove NO_UNDERSCORES entry.
19020         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19021         them.
19022         * csu/start.c: Remove !NO_UNDERSCORE code.
19023         * locale/localeinfo.h: Likewise.
19024         * sysdeps/generic/machine-gmon.h: Likewise.
19025         * sysdeps/generic/sysdep.h: Likewise.
19026         * sysdeps/i386/sysdep.h: Likewise.
19027         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19028         * sysdeps/mach/sysdep.h: Likewise.
19029         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19030         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19031         * sysdeps/sh/sysdep.h: Likewise.
19032         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19033         * sysdeps/unix/i386/sysdep.S: Likewise.
19034         * sysdeps/unix/sparc/start.c: Likewise.
19035         * sysdeps/unix/sparc/sysdep.S: Likewise.
19036         * sysdeps/unix/sparc/sysdep.h: Likewise.
19037         * sysdeps/unix/start.c: Likewise.
19038         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19039         * sysdeps/x86_64/sysdep.h: Likewise.
19041 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19043         [BZ #13553]
19044         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19045         for non-gcc.
19046         * argp/argp-fmtstream.h: Use const instead __const.
19047         * argp/argp.h: Likewise.
19048         * assert/assert.h: Likewise.
19049         * bits/fenv.h: Likewise.
19050         * bits/sched.h: Likewise.
19051         * bits/sigset.h: Likewise.
19052         * bits/sigthread.h: Likewise.
19053         * catgets/nl_types.h: Likewise.
19054         * conform/data/pthread.h-data: Likewise.
19055         * crypt/crypt-private.h: Likewise.
19056         * crypt/crypt.h: Likewise.
19057         * crypt/crypt_util.c: Likewise.
19058         * ctype/ctype.h: Likewise.
19059         * debug/execinfo.h: Likewise.
19060         * debug/mbsnrtowcs_chk.c: Likewise.
19061         * debug/mbsrtowcs_chk.c: Likewise.
19062         * debug/wcsnrtombs_chk.c: Likewise.
19063         * debug/wcsrtombs_chk.c: Likewise.
19064         * debug/wcstombs_chk.c: Likewise.
19065         * dirent/dirent.h: Likewise.
19066         * dlfcn/dlfcn.h: Likewise.
19067         * elf/neededtest4.c: Likewise.
19068         * grp/grp.h: Likewise.
19069         * gshadow/gshadow.h: Likewise.
19070         * iconv/gconv.h: Likewise.
19071         * iconv/gconv_int.h: Likewise.
19072         * iconv/gconv_simple.c: Likewise.
19073         * iconv/iconv.h: Likewise.
19074         * iconv/loop.c: Likewise.
19075         * iconv/skeleton.c: Likewise.
19076         * include/aio.h: Likewise.
19077         * include/aliases.h: Likewise.
19078         * include/argz.h: Likewise.
19079         * include/arpa/inet.h: Likewise.
19080         * include/assert.h: Likewise.
19081         * include/dirent.h: Likewise.
19082         * include/dlfcn.h: Likewise.
19083         * include/execinfo.h: Likewise.
19084         * include/fcntl.h: Likewise.
19085         * include/fenv.h: Likewise.
19086         * include/glob.h: Likewise.
19087         * include/grp.h: Likewise.
19088         * include/libintl.h: Likewise.
19089         * include/mntent.h: Likewise.
19090         * include/netdb.h: Likewise.
19091         * include/pwd.h: Likewise.
19092         * include/rpc/netdb.h: Likewise.
19093         * include/sched.h: Likewise.
19094         * include/search.h: Likewise.
19095         * include/shadow.h: Likewise.
19096         * include/signal.h: Likewise.
19097         * include/stdio.h: Likewise.
19098         * include/stdlib.h: Likewise.
19099         * include/string.h: Likewise.
19100         * include/sys/socket.h: Likewise.
19101         * include/sys/stat.h: Likewise.
19102         * include/sys/statfs.h: Likewise.
19103         * include/sys/statvfs.h: Likewise.
19104         * include/sys/syslog.h: Likewise.
19105         * include/sys/time.h: Likewise.
19106         * include/sys/uio.h: Likewise.
19107         * include/time.h: Likewise.
19108         * include/unistd.h: Likewise.
19109         * include/utmp.h: Likewise.
19110         * include/wchar.h: Likewise.
19111         * include/wctype.h: Likewise.
19112         * inet/aliases.h: Likewise.
19113         * inet/arpa/inet.h: Likewise.
19114         * inet/netinet/ether.h: Likewise.
19115         * inet/netinet/in.h: Likewise.
19116         * intl/libintl.h: Likewise.
19117         * io/bits/fcntl2.h: Likewise.
19118         * io/fcntl.h: Likewise.
19119         * io/ftw.h: Likewise.
19120         * io/sys/poll.h: Likewise.
19121         * io/sys/stat.h: Likewise.
19122         * io/sys/statfs.h: Likewise.
19123         * io/sys/statvfs.h: Likewise.
19124         * io/utime.h: Likewise.
19125         * libio/bits/stdio.h: Likewise.
19126         * libio/bits/stdio2.h: Likewise.
19127         * libio/libio.h: Likewise.
19128         * libio/libioP.h: Likewise.
19129         * libio/stdio.h: Likewise.
19130         * locale/lc-ctype.c: Likewise.
19131         * locale/locale.h: Likewise.
19132         * login/utmp.h: Likewise.
19133         * malloc/arena.c: Likewise.
19134         * malloc/malloc.c: Likewise.
19135         * malloc/malloc.h: Likewise.
19136         * malloc/mcheck.c: Likewise.
19137         * malloc/mtrace.c: Likewise.
19138         * math/bits/mathcalls.h: Likewise.
19139         * math/fenv.h: Likewise.
19140         * math/math_private.h: Likewise.
19141         * misc/bits/error.h: Likewise.
19142         * misc/bits/syslog.h: Likewise.
19143         * misc/err.h: Likewise.
19144         * misc/error.h: Likewise.
19145         * misc/fstab.h: Likewise.
19146         * misc/mntent.h: Likewise.
19147         * misc/regexp.h: Likewise.
19148         * misc/search.h: Likewise.
19149         * misc/sgtty.h: Likewise.
19150         * misc/sys/mman.h: Likewise.
19151         * misc/sys/syslog.h: Likewise.
19152         * misc/sys/uio.h: Likewise.
19153         * misc/sys/xattr.h: Likewise.
19154         * misc/ttyent.h: Likewise.
19155         * nis/rpcsvc/ypclnt.h: Likewise.
19156         * nss/nss.h: Likewise.
19157         * posix/bits/unistd.h: Likewise.
19158         * posix/fnmatch.h: Likewise.
19159         * posix/glob.h: Likewise.
19160         * posix/sched.h: Likewise.
19161         * posix/spawn.h: Likewise.
19162         * posix/sys/wait.h: Likewise.
19163         * posix/unistd.h: Likewise.
19164         * posix/wordexp.h: Likewise.
19165         * pwd/pwd.h: Likewise.
19166         * resolv/netdb.h: Likewise.
19167         * resource/sys/resource.h: Likewise.
19168         * rt/aio.h: Likewise.
19169         * rt/bits/mqueue2.h: Likewise.
19170         * rt/mqueue.h: Likewise.
19171         * shadow/shadow.h: Likewise.
19172         * signal/signal.h: Likewise.
19173         * socket/send.c: Likewise.
19174         * socket/sendto.c: Likewise.
19175         * socket/sys/socket.h: Likewise.
19176         * stdio-common/printf.h: Likewise.
19177         * stdlib/bits/stdlib.h: Likewise.
19178         * stdlib/fmtmsg.h: Likewise.
19179         * stdlib/monetary.h: Likewise.
19180         * stdlib/stdlib.h: Likewise.
19181         * stdlib/ucontext.h: Likewise.
19182         * streams/stropts.h: Likewise.
19183         * string/argz.h: Likewise.
19184         * string/bits/string2.h: Likewise.
19185         * string/string.h: Likewise.
19186         * string/strings.h: Likewise.
19187         * sunrpc/rpc/auth.h: Likewise.
19188         * sunrpc/rpc/auth_des.h: Likewise.
19189         * sunrpc/rpc/clnt.h: Likewise.
19190         * sunrpc/rpc/netdb.h: Likewise.
19191         * sunrpc/rpc/pmap_clnt.h: Likewise.
19192         * sunrpc/rpc/xdr.h: Likewise.
19193         * sysdeps/generic/inttypes.h: Likewise.
19194         * sysdeps/generic/net/if.h: Likewise.
19195         * sysdeps/generic/sys/swap.h: Likewise.
19196         * sysdeps/gnu/net/if.h: Likewise.
19197         * sysdeps/gnu/utmpx.h: Likewise.
19198         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19199         * sysdeps/i386/i486/bits/string.h: Likewise.
19200         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19201         * sysdeps/s390/bits/string.h: Likewise.
19202         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19203         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19204         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19205         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19206         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19207         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19208         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19209         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19210         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19211         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19212         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19213         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19214         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19215         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19216         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19217         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19218         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19220         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19221         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19222         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19223         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19224         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19225         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19226         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19227         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19228         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19229         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19230         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19231         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19232         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19233         * sysvipc/sys/ipc.h: Likewise.
19234         * sysvipc/sys/msg.h: Likewise.
19235         * sysvipc/sys/sem.h: Likewise.
19236         * sysvipc/sys/shm.h: Likewise.
19237         * termios/termios.h: Likewise.
19238         * time/sys/time.h: Likewise.
19239         * time/time.h: Likewise.
19240         * wcsmbs/bits/wchar2.h: Likewise.
19241         * wcsmbs/uchar.h: Likewise.
19242         * wcsmbs/wchar.h: Likewise.
19243         * wctype/wctype.h: Likewise.
19245         [BZ #13551]
19246         * Makeconfig: Remove all but ELF support including AIX support.
19247         * Makerules: Likewise.
19248         * config.h.in: Likewise.
19249         * config.make.in: Likewise.
19250         * configure: Likewise.
19251         * configure.in: Likewise.
19252         * csu/Makefile: Likewise.
19253         * csu/version.c: Likewise.
19254         * debug/Makefile: Likewise.
19255         * dlfcn/Makefile: Likewise.
19256         * elf/Makefile: Likewise.
19257         * extra-lib.mk: Likewise.
19258         * iconv/Makefile: Likewise.
19259         * include/libc-symbols.h: Likewise.
19260         * include/shlib-compat.h: Likewise.
19261         * resolv/Makefile: Likewise.
19262         * resolv/res_libc.c: Likewise.
19263         * rt/Makefile: Likewise.
19264         * sysdeps/i386/asm-syntax.h: Likewise.
19265         * sysdeps/i386/sysdep.h: Likewise.
19266         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19267         * sysdeps/mach/sysdep.h: Likewise.
19268         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19269         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19270         * sysdeps/s390/asm-syntax.h: Likewise.
19271         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19272         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19273         * sysdeps/sh/sysdep.h: Likewise.
19274         * sysdeps/unix/sparc/sysdep.h: Likewise.
19275         * sysdeps/wordsize-32/divdi3.c: Likewise.
19276         * sysdeps/x86_64/sysdep.h: Likewise.
19278         * argp/Versions: Remove _argp_unlock_xxx.
19280         [BZ #13559]
19281         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
19282         * abilist/libBrokenLocale.abilist: Likewise.
19283         * abilist/libanl.abilist: Likewise.
19284         * abilist/libc.abilist: Likewise.
19285         * abilist/libcrypt.abilist: Likewise.
19286         * abilist/libdl.abilist: Likewise.
19287         * abilist/libm.abilist: Likewise.
19288         * abilist/libnsl.abilist: Likewise.
19289         * abilist/libpthread.abilist: Likewise.
19290         * abilist/libresolv.abilist: Likewise.
19291         * abilist/librt.abilist: Likewise.
19292         * abilist/libthread_db.abilist: Likewise.
19293         * abilist/libutil.abilist: Likewise.
19294         * abilist/libnss_db.abilist: New file.
19296         * scripts/abilist.awk: Add support for indirect functions.
19298         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19300         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19302         * shlib-versions: Remove entries for ports architectures.
19304         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
19305         files in ports.
19306         * elf/stackguard-macros.h: Remove support for IA-64.
19307         * elf/tst-auditmod1.c: Likewise.
19308         * sysdeps/generic/ldsodefs.h: Likewise.
19310         * sysdeps/unix/sysv/linux/configure.in: Ports should define
19311         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19312         configure files.
19314         [BZ #13552]
19315         * configure.in: Remove --enable-omitfp support.
19316         * FAQ.in: Adjust.
19317         * config.make.in: Likewise.
19318         * Makeconfig: Likewise.
19319         * manual/install.texi: Likewise.
19321         In case anyone cares, the IA-64 architecture could move to ports.
19322         * sysdeps/ia64/*: Removed.
19323         * sysdeps/unix/sysv/linux/ia64/*: Removed.
19324         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19326         [BZ #13555]
19327         * configure.in: Remove entries for unsupported architectures.
19329         [BZ #13533]
19330         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19331         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
19332         routines.
19333         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19334         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19335         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
19336         fall back to using wcrtomb.
19337         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19338         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
19339         renaming.
19340         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19341         * wcsmbs/tst-c16c32-1.c: New file.
19343         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19344         local variable.
19346         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19348         * elf/tst-unique3.cc: Add explicit declaration of gets.
19349         * elf/tst-unique3lib.cc: Likewise.
19350         * elf/tst-unique3lib2.cc: Likewise.
19351         * elf/tst-unique4.cc: Likewise.
19353         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19355 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
19357         [BZ #13566]
19358         * assert/assert.h (static_assert): Don't define for C++.
19359         * libio/stdio.h (gets): Do declare for C++ <= C++11.
19360         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19362 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
19364         * iconv/loop.c (single loop): Fix assertion in storing of
19365         remaining bytes.
19367         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19369 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
19371         * posix/getconf.c: Update copyright year.
19372         * nss/getent.c: Likewise.
19373         * nss/makedb.c: Likewise.
19374         * iconv/iconvconfig.c: Likewise.
19375         * iconv/iconv_prog.c: Likewise.
19376         * elf/ldconfig.c: Likewise.
19377         * elf/pldd.c: Likewise.
19378         * elf/sotruss.ksh: Likewise.
19379         * catgets/gencat.c: Likewise.
19380         * csu/version.c: Likewise.
19381         * elf/ldd.bash.in: Likewise.
19382         * elf/sprof.c (print_version): Likewise.
19383         * locale/programs/locale.c: Likewise.
19384         * locale/programs/localedef.c: Likewise.
19385         * login/programs/pt_chown.c: Likewise.
19386         * nscd/nscd.c (print_version): Likewise.
19387         * debug/xtrace.sh: Likewise.
19388         * malloc/memusage.sh: Likewise.
19389         * malloc/mtrace.pl: Likewise.
19390         * debug/catchsegv.sh: Likewise.
19392 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
19394         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19395         pure attribute.
19397 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
19399         [BZ #13533]
19400         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19401         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19402         transformations.
19403         * iconv/gconv_int.h: Likewise.
19404         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19405         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19406         from libc for GLIBC_2.16.
19407         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19408         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19409         * wcsmbs/uchar.h: Really define mbstate_t.
19410         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19411         * wcsmbs/c16rtomb.c: New file.
19412         * wcsmbs/mbrtoc16.c: New file.
19413         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19414         for C/POSIX locale.
19415         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19416         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19418         * wcsmbs/wchar.h: Add missing __restrict.
19420 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19422         [BZ #13532]
19423         * time/Makefile (routines): Add timespec_get.
19424         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19425         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
19426         timespec for ISO C11.
19427         * time/timespec_get.c: New file.
19428         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19429         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19431         [BZ #13531]
19432         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19433         * stdlib/stdlib.h: Declare aligned_alloc.
19434         * Versions.def: Add GLIBC_2.16 for libc.
19435         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19437         [BZ 13527]
19438         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19439         ISO C11.
19441         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19442         code.
19444         [BZ #13528]
19445         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19447         [BZ #13529]
19448         * assert/assert.h (static_assert): Define.
19450         * version.h: Update for 2.16 development version.
19452         [BZ #13526]
19453         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19454         _ISOC11_SOURCE.
19456         * version.h (RELEASE): Bump for 2.15 release.
19457         * include/features.h (__GLIBC_MINOR__): Bump to 15.
19459         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19460         Patch by Marek Polacek <mpolacek@redhat.com>.
19462         * bits/byteswap.h: Protect long long constants with __extension__.
19463         * sysdeps/i386/bits/byteswap.h: Likewise.
19464         * sysdeps/ia64/bits/byteswap.h: Likewise.
19465         * sysdeps/s390/bits/byteswap.h: Likewise.
19466         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19468 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19470         [BZ #13540]
19471         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19472         destination buffer.
19473         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19475 2011-12-23  Marek Polacek  <polacek@redhat.com>
19477         * elf/dl-addr.c (determine_info): Add inline keyword.
19478         * elf/tst-auditmod4b.c (check_avx): Likewise.
19479         * elf/tst-auditmod6b.c (check_avx): Likewise.
19480         * elf/tst-auditmod6c.c (check_avx): Likewise.
19481         * elf/tst-auditmod7b.c (check_avx): Likewise.
19483 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19485         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19486         !__SSE_MATH__.
19488 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19490         [BZ #13540]
19491         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19492         processing for last bytes.
19494 2011-08-06  Bruno Haible  <bruno@clisp.org>
19496         [BZ #13061]
19497         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19498         U+0385, not to U+1FEE.
19500         [BZ #13062]
19501         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19502         entry for U+00A5 U+0301.
19504 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19506         [BZ #13166]
19507         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19508         buffer for the output is too small.
19510         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19511         optimization.
19513         [BZ #13185]
19514         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19515         SSE flags if possible.
19517 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19519         [BZ #13540]
19520         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19521         processing for last bytes.
19523 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
19525         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19526         (syscall-list-default-options, syscall-list-default-condition)
19527         (syscall-list-includes): Define.
19528         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19529         list of ABIs and options and #if conditions for each ABI.  Do not
19530         handle common syscalls between ABIs specially.
19531         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19532         Remove.
19533         (syscall-list-variants, syscall-list-32bit-options)
19534         (syscall-list-32bit-condition, syscall-list-64bit-options)
19535         (syscall-list-64bit-condition): Define.
19536         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19537         (syscall-list-variants, syscall-list-32bit-options)
19538         (syscall-list-32bit-condition, syscall-list-64bit-options)
19539         (syscall-list-64bit-condition): Define.
19540         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19541         Remove.
19542         (syscall-list-variants, syscall-list-32bit-options)
19543         (syscall-list-32bit-condition, syscall-list-64bit-options)
19544         (syscall-list-64bit-condition): Define.
19545         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19546         Remove.
19547         (syscall-list-variants, syscall-list-32bit-options)
19548         (syscall-list-32bit-condition, syscall-list-64bit-options)
19549         (syscall-list-64bit-condition): Define.
19551 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19553         * locale/iso-639.def: Add brx entry.
19555         [BZ #13328]
19556         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19557         Proposed by Mariusz_Cukr <marcukr@op.pl>.
19559         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19560         __feraiseexcept_renamed.
19562 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19564         [BZ #13538]
19565         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19566         EPOLLET with unsigned values.
19567         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19568         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19570         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19571         to large cancellation.
19572         * math/s_cacoshf.c: Likewise.
19573         * math/s_cacoshl.c: Likewise.
19575 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
19577         [BZ #13305]
19578         [BZ #12786]
19579         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19580         * math/s_cacoshf.c: Likewise.
19581         * math/s_cacoshl.c: Likewise.
19583 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19585         [BZ #13439]
19586         * iconv/gconv.h: Define __GCONV_SWAP.
19587         * iconvdata/unicode.c: The swap bit must be stored in __flags.
19588         * iconvdata/utf-16.c: Likewise.
19589         * iconvdata/utf-32.c: Likewise.
19591 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19593         [BZ #13524]
19594         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19595         numerator after shifting it by one limb.
19597 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
19599         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19600         under [__USE_EXTERN_INLINES].
19602 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19604         [BZ #13446]
19605         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19607 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19609         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19610         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19611         optimized code.
19612         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19613         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19614         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19615         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19616         for strncasecmp/strncasecmp_l compilation.
19617         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19618         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19620 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
19622         [BZ #13484]
19623         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19624         of __asm__.
19626 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19628         [BZ #13506]
19629         * time/tzfile.c (__tzfile_read): Check values from file header.
19631 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19633         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19634         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19635         * powerpc/powerpc32/dl-start.S: Likewise.
19636         * powerpc/powerpc32/elf/start.S: Likewise.
19637         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19638         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19639         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19640         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19641         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19642         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19643         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19644         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19645         * powerpc/powerpc32/fpu/s_round.S: Likewise.
19646         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19647         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19648         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19649         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19650         * powerpc/powerpc32/memset.S: Likewise.
19651         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19652         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19653         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19654         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19655         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19656         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19657         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19658         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19659         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19660         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19661         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19662         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19663         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19665 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19667         * math/libm-test.inc: Added more nearbyint tests.
19668         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19669         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19670         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19673 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
19675         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19676         FD_CLOEXEC.
19678 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19680         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19681         Add wcscpy-ssse3 wcscpy-c.
19682         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19683         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19684         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19685         * sysdeps/x86_64/wcschr.S: New file.
19686         * sysdeps/x86_64/wcsrchr.S: New file.
19687         * string/test-strcmp.c: Remove checking of wcscmp function for
19688         wrong alignments.
19689         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19690         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19691         wcsrchr-sse2 wcsrchr-c.
19692         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19693         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19694         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19695         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19696         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19697         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19698         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19699         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19700         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19701         * wcsmbc/wcschr.c (WCSCHR): New macro.
19703 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19705         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19706         * wcsmbs/test-wcsrchr.c: New file.
19707         * string/test-strrchr.c: Add wcsrchr support.
19708         (WIDE): New macro.
19709         * wcsmbs/test-wcscpy.c: New file.
19710         * string/test-strcpy.c: Add wcscpy support.
19711         (WIDE): New macro.
19713 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
19715         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19716         the inner loop.
19718 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
19720         [BZ #13472]
19721         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19723 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
19725         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19726         Minor optimizations.
19728         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19729         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19730         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19732 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
19734         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19735         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19736         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19737         for gcc to avoid warnings.
19738         * inet/Makefile (tests): Add tst-checks.
19739         * inet/tst-checks.c: New file.
19741         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19742         warning.
19744         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19745         __wmemcmp_sse2.
19747         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19748         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19750         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19752 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
19754         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19755         problem.
19757         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19759 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
19761         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19762         conditional on GCC version.
19763         (__arch_compare_and_exchange_val_8_acq)
19764         (__arch_compare_and_exchange_val_16_acq)
19765         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19766         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19767         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19769 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
19771         * sysdeps/sh/backtrace.c: New file.
19773 2011-12-02  Andreas Schwab  <schwab@redhat.com>
19775         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
19776         parenthesis.
19778 2011-12-01  Andreas Schwab  <schwab@redhat.com>
19780         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19781         falling back to utime.
19783 2011-11-30  Andreas Schwab  <schwab@redhat.com>
19785         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19786         expectations for float.
19788 2011-11-29  Andreas Schwab  <schwab@redhat.com>
19790         * locale/weight.h (findidx): Add parameter len.
19791         * locale/weightwc.h (findidx): Likewise.
19792         * posix/fnmatch_loop.c (FCT): Adjust caller.
19793         * posix/regcomp.c (build_equiv_class): Likewise.
19794         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19795         * posix/regexec.c (check_node_accept_bytes): Likewise.
19796         * string/strcoll_l.c (STRCOLL): Likewise.
19797         * string/strxfrm_l.c (STRXFRM): Likewise.
19799 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
19801         * Makefile.in: Remove CVSOPT handling.
19802         * configure.in: Remove use of AC_REVISION.
19803         * iconvdata/Makefile (distribute): No need to filter out CVS.
19804         * scripts/list-sources.sh: Remove CVS, subversion and monotone
19805         handling.
19807 2011-11-16  Andreas Schwab  <schwab@redhat.com>
19809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19810         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19811         [USE_AS_STRNCASECMP_L]: Likewise.
19812         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19813         NO_TLS_DIRECT_SEG_REFS.
19814         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19815         Fix argument offsets for non-PIC.
19816         [USE_AS_STRNCASECMP_L]: Likewise.
19817         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19818         NO_TLS_DIRECT_SEG_REFS.
19820 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19822         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19823         O_CLOEXEC.
19824         * locale/loadlocale.c (_nl_load_locale): Likewise.
19826 2011-11-15  Andreas Schwab  <schwab@redhat.com>
19828         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19829         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19830         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19831         (SYSCALL_GETTIME): Set errno on error.
19833         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19834         count references to noai6ai_cached.
19836 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19838         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19840         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19841         FD_CLOEXEC for /proc/self/maps.
19843         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19844         FD_CLOEXEC for /proc/meminfo.
19846         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19847         gai.conf.
19849         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
19850         FD_CLOEXEC for given file.
19852         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19854         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19855         FD_CLOEXEC for /etc/hosts.
19856         (_gethtent): Likewise.
19858         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19860         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19861         cancellation and set FD_CLOEXEC for /etc/netgroup.
19863         * nss/nss_files/files-key.c (search): Don't allow cancellation when
19864         reading /etc/publickey.
19866         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19867         allow cancellation when reading /etc/group.
19869         * nss/nss_files/files-alias.c (internal_setent): Don't allow
19870         cancellation.
19871         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
19873         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19874         when using data file.
19876         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19878         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19879         (write_nis_obj): Use "c" and "e" in fopen.
19881         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19883         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19885         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19887         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19889         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19890         locale.alias.
19892         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19894         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19896         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19898         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19899         file parsing and set FD_CLOEXEC.
19901 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19903         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19905 2011-11-14  Andreas Schwab  <schwab@redhat.com>
19907         * malloc/arena.c (arena_get2): Don't call reused_arena when
19908         _int_new_arena failed.
19910 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19912         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19913         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19914         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19915         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19916         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19917         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19918         to compile strcasecmp and strncasecmp.
19919         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19920         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19922         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19924 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
19926         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19927         locale-defines.sym to gen-as-const-headers.
19928         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19929         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19931         to compile strcasecmp and strncasecmp.
19932         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19933         strcasecmp_l and strncasecmp_l.
19934         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19935         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19936         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19937         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19938         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19939         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19940         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19941         * sysdeps/i386/i686/multiarch/strncase.S: New file.
19942         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19943         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19944         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19946 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
19948         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19949         result of SYSDEP_GETTIME_CPU to retval.
19950         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19951         parameter list to macro.  Remove trailing semicolon.  Adjust users.
19953         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19954         variable.
19956         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19957         mantissa words.
19958         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19960         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19961         from unused variable.
19963         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19964         DWARF definitions.
19965         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19966         for assembling.
19968         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19969         over namespaces.
19971         * sunrpc/rpc_prot.c (rejected): Fix case value.
19973         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19974         unsigned long long int to avoid warnings in shift.
19976         * posix/regex_internal.c (re_string_reconstruct): Actually use result
19977         of use of trans.
19978         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19979         variable tmp.
19981         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19982         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19983         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19985         * nis/nis_table.c (nis_list): Use variable of correct type for
19986         result of __follow_path call.
19988 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19990         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19991         of math functions ceil, trunc, floor, round, and sqrt, when
19992         avaliable on the platform.
19993         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19994         name clash.
19995         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19996         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19997         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19999 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20001         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20002         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20004 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20006         * include/unistd.h: Fix __readlink return type.
20007         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20009 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20011         * stdlib/ucontext.h: Undo last change for makecontext.
20013 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20015         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20017         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20018         * setjmp/setjmp.h: Mark functions as non-leaf.
20019         * setjmp/bits/setjmp2.h: Likewise.
20020         * stdlib/ucontext.h: Likewise.
20022 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20024         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20025         (reused_arena): Don't check arena limit.
20026         (arena_get2): Atomically check arena limit.
20028 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20030         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20031         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20033         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20034         instructions.
20036 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20038         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20039         handler when locking.
20041         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20042         Fix size of allocated buffer.
20044 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20046         [BZ #10103]
20047         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20048         declarations for long double functions.
20049         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20051         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20053 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20055         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20056         installed.
20058         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20059         is disabled.
20061 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20063         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20065 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20067         * include/alloca.h (stackinfo_alloca_round): Define.
20068         (extend_alloca): Use it.
20069         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20070         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20071         here.
20073         * scripts/check-local-headers.sh: Ignore libaudit.h.
20075         * nscd/Makefile (extra-objs): Make recursively expanded.
20077 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20079         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20080         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20082         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20083         * posix/tst-rfc3484-2.c: Likewise.
20084         * posix/tst-rfc3484-3.c: Likewise.
20086         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20087         process_vm_writev.
20088         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20089         process_vm_writev.
20090         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20091         process_vm_writev from libc using GLIBC_2.15 version.
20093         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20095 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20097         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20098         stack usage.
20100 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20102         [BZ #13367]
20103         * nss/getent.c (initgroups_keys): Show error message in case no group
20104         names are given.
20106         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20107         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20108         __bump_nl_timestamp.
20109         * nscd/connections (nscd_init): When host database is served open
20110         netlink socket and request notification about configuration changes.
20111         (main_loop_poll): Track netlink file descriptor and bump timestamp
20112         in case data becomes available.
20113         (main_loop_epoll): Likewise.
20114         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20115         (database_pers_head): Add extra_data fileds.
20116         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20117         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20118         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20119         Adjust caller.
20120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20121         in6ai data, call __free_in6ai.
20122         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20123         Add -DHAVE_NETLINK.
20124         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20125         interface information.  Reuse previous data if netlink timestamp
20126         is not changed.
20127         (__bump_nl_timestamp): New function.
20128         (__free_in6ai): New function.
20130 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20132         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20133         close_not_cancel_no_status here.
20134         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20136 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20138         [BZ #13276]
20139         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20140         return value.
20142         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20143         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20144         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20146 2011-07-03  Andreas Jaeger  <aj@suse.de>
20148         [BZ #10709]
20149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20150         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20151         * math/libm-test.inc (sin_test): Add test case.
20153 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20155         [BZ #13337]
20156         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20157         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20159         * elf/chroot_canon.c (chroot_canon): Cleanups.
20161         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20163         [BZ #13335]
20164         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20165         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20167         * string/test-strchr.c: Make usable for strchrnul testing.
20168         * string/test-strchrnul.c: New file.
20169         * string/Makefile (strop-tests): Add strchrnul.
20171         * po/it.po: Update from translation team.
20172         * po/es.po: Likewise.
20174 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20177         the three constants needed as parameters.  Drop the others.
20178         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20179         __m128i_strloadu_tolower.
20180         Create and initialize variable zero and use it in all the places
20181         where _mm_setzero_si128 was used.
20183         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20184         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20185         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20186         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20187         anymore.
20188         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20189         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20190         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20191         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20192         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20193         __mpranred, __mptan.
20194         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20195         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20196         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20197         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20198         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20199         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20200         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20201         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20202         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20204 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20206         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20207         redefine if SHARED.
20208         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20211         wide char related routines to wcsmbs subdir.
20213 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20215         [BZ #13344]
20216         * misc/sys/cdefs.h (__THROWNL): Define.
20217         * posix/unistd.h: Use __THREADNL instead of __THREAD
20218         for memory synchronization functions.
20220 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20222         [BZ #13349]
20223         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20224         doesn't exist.
20225         * manual/stdio.texi (Obstack Streams): Node removed.
20227 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20229         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20230         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20231         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20233         * math/math_private.h (math_force_eval): Allow non-addressable
20234         arguments.
20235         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20237 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20239         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20240         file is not needed.
20242         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20243         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20244         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20245         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20246         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20247         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20248         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20249         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20250         Add AVX variants.
20251         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20252         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20253         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20254         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20255         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20256         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20257         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20258         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20259         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20260         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20261         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20262         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20263         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20264         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20265         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20266         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20267         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20268         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20269         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20271         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20272         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
20274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20275         place.  Use VEX encoding when compiling for AVX.
20277 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20279         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20280         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20282         * string/test-strchr.c (do_test): Don't generate NUL bytes.
20284 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20286         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20287         useless if() expression.
20288         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20289         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20290         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20292         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20293         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20294         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20295         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20296         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20298         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20300         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20301         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20302         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20303         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20304         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20305         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20306         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20308         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20310 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20312         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20313         condition.
20314         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20316 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20318         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20319         .text section.  Avoid duplicate constants.
20320         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20322         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20324         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20326         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20327         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20328         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20329         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20330         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20331         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20332         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20333         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20334         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20335         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20336         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20337         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20338         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20339         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20340         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20341         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20342         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20343         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20344         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20345         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20346         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20347         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20348         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20349         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20350         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20351         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20352         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20353         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20354         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20355         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20356         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20357         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20358         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20359         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20360         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20361         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20362         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20363         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20364         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20366 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
20368         * sysdeps/x86_64/dla.h: Move to ...
20369         * sysdeps/x86_64/fpu/dla.h: ...here.
20370         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20371         situations.  Use __builtin_fma only for gcc 4.6 and up.
20373         * config.make.in: Add have-mfma4 entry.
20374         * configure.in: Substitute libc_cv_cc_fma4.
20375         * math/Makefile (dbl-only-routines): Add sincostab.
20376         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20377         Use __sincostab not sincos.
20378         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20379         name is a macro.
20380         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20382         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
20384         using __copysign.
20385         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
20386         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
20387         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20388         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20389         and __inv.
20390         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20391         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20392         __copysign.
20393         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
20394         define aliases when function name is a macro.
20395         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20396         sysdeps/ieee754/dbl-64/sincos.tbl.
20397         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20398         fma4-enabled routines.
20399         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20400         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20401         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20402         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20404         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20406         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20408         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20409         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20410         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20411         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20412         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20413         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20414         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20415         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20416         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20417         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20418         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20419         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20420         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20421         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20422         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20423         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20424         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20425         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20426         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20427         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20428         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20430         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20431         rename.
20432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20435         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20436         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20438         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20439         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20441 2011-10-24  Andreas Schwab  <schwab@redhat.com>
20443         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20445 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20447         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20449         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20450         prediction.
20451         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20453         * string/strnlen.c: Don't define STRNLEN, reverse logic.
20454         Remove unused variable magic_bits.
20455         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20457         * string/strnlen.c: Define and use STRNLEN macro.
20458         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20459         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20460         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20461         * wcsmbs/wcslen.c: Define and use WCSLEN.
20462         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20463         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20464         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20465         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20466         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20467         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20468         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20470 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20473         strnlen-sse2-no-bsf.
20474         Rename strlen-no-bsf to strlen-sse2-no-bsf.
20475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20476         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20477         Add strnlen support.
20478         (USE_AS_STRNLEN): New macro.
20479         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20480         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20481         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20482         * sysdeps/x86_64/wcslen.S: New file.
20484 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
20486         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20487         XMM-moves are used for copying on small sizes.
20489 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20491         * wcsmbs/Makefile (strop-tests): Add wcschr.
20492         * wcsmbs/test-wcschr.c: New file.
20493         * string/test-strchr.c: Update.
20494         Add wcschr support.
20495         (WIDE): New macro.
20497 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20499         * wcsmbs/Makefile (strop-tests): Add wcslen.
20500         * wcsmbs/test-wcslen.c: New file.
20501         * string/test-strlen.c: Update.
20502         Add wcslen support.
20503         (WIDE): New macro.
20505 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20507         * po/it.po: Update from translation team.
20509 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20511         * sysdeps/x86_64/wcscmp.S: Update.
20512         Fix wrong comparison semantics.
20513         wcscmp shall use signed comparison not unsigned.
20514         Don't use substraction to avoid overflow bug.
20515         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20516         * wcsmbc/wcscmp.c: Likewise.
20517         * string/test-strcmp.c: Likewise.
20518         Add new tests to check cases with negative values.
20520 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20522         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20523         * sysdeps/x86_64/dla.h: ...here.  New file.
20524         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20525         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20529         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20530         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20531         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20534 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
20536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20537         __ynl_finite aliases.
20539 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20543         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20544         define DLA_FMA.
20545         [DLA_FMA] (EMULV): Use DLA_FMA.
20546         [DLA_FMA] (MUL12): Use EMULV.
20547         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20548         that are not needed.
20549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20551         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20552         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20554         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20557 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
20559         * math/s_nan.c: Undef __nan.
20560         * math/s_nanf.c: Undef __nanf.
20561         * math/s_nanl.c: Undef __nanl.
20562         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20563         "math_private.h".
20565 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20567         * math/s_catan.c: Add branch predictions.
20568         * math/s_catanf.c: Likewise.
20569         * math/s_catanh.c: Likewise.
20570         * math/s_catanhf.c: Likewise.
20571         * math/s_catanhl.c: Likewise.
20572         * math/s_catanl.c: Likewise.
20573         * math/s_cexp.c: Likewise.
20574         * math/s_cexpf.c: Likewise.
20575         * math/s_cexpl.c: Likewise.
20576         * math/s_clog.c: Likewise.
20577         * math/s_clog10.c: Likewise.
20578         * math/s_clog10f.c: Likewise.
20579         * math/s_clog10l.c: Likewise.
20580         * math/s_clogf.c: Likewise.
20581         * math/s_clogl.c: Likewise.
20582         * math/s_csqrt.c: Likewise.
20583         * math/s_csqrtf.c: Likewise.
20584         * math/s_csqrtl.c: Likewise.
20585         * math/s_ctanf.c: Likewise.
20586         * math/s_ctanh.c: Likewise.
20587         * math/s_ctanhf.c: Likewise.
20588         * math/s_ctanhl.c: Likewise.
20589         * math/s_ctanl.c: Likewise.
20591         * math/math_private.h: Define __nan, __nanf, __nanl.
20592         * math/s_cacosh.c: Include <math_private.h>.
20593         * math/s_cacoshl.c: Likewise.
20594         * math/s_casinh.c: Likewise.
20595         * math/s_casinhf.c: Likewise.
20596         * math/s_casinhl.c: Likewise.
20597         * math/s_ccos.c: Rely entire on ccosh.
20598         * math/s_ccosf.c: Rely entire on ccoshf.
20599         * math/s_ccosl.c: Rely entirely on ccoshl.
20600         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
20601         Remove tests for FE_INVALID.
20602         * math/s_ccoshf.c: Likewise.
20603         * math/s_ccoshl.c: Likewise.
20604         * math/s_csin.c: Likewise.
20605         * math/s_csinf.c: Likewise.
20606         * math/s_csinh.c Likewise.
20607         * math/s_csinhf.c: Likewise.
20608         * math/s_csinhl.c: Likewise.
20609         * math/s_csinl.c: Likewise.
20610         * math/s_ctan.c: Likewise.
20611         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20612         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20613         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20615 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
20617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20618         compilation problems.
20620         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20621         __builtin_expect.
20623 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
20625         * sysdeps/i386/configure.in: Test for -mfma4 option.
20626         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20627         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20628         COMMON_CPUID_INDEX_80000001.
20629         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20630         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20631         use it if FMA3 is not supported.
20632         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20634         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20635         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20637 2011-10-20  Andreas Schwab  <schwab@redhat.com>
20639         [BZ #12892]
20640         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20641         it would create a cycle with a link time dependency.
20643 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
20645         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20646         instruction.
20647         * string/Makefile (strop-tests): Add rawmemchr.
20648         * string/test-rawmemchr.c: New file.
20650         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20651         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
20652         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
20653         when compiling str{,n}casecmp and when AVX is available.  Hook up
20654         new optimized code in initializers.
20656 2011-10-19  Andreas Schwab  <schwab@redhat.com>
20658         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20659         __feraiseexcept instead of feraiseexcept.
20661 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
20663         * math/math_private.h: Define defaults for libc_fetestexcept and
20664         libc_feupdateenv.
20665         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20666         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20667         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20668         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20669         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20670         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20671         libc_fetestexcept and libc_feupdateenv.
20673         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20674         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20675         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20676         * sysdeps/x86_64/fpu/math_private.h: Define special version of
20677         libc_feholdexcept_setround.
20679         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20680         Add s_nearbyint-c and s_nearbyintf-c.
20681         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20682         nearbyintf inlines.
20683         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20684         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20685         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20686         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20688         * math/math_private.h: Define defaults for libc_fegetround,
20689         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20690         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20691         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20692         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20693         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20694         standard functions.
20695         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20696         Remove comments and hacks for old compiler versions.
20697         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20698         libc_fegetround, libc_fesetround, libc_feholdexcept, and
20699         libc_feholdexceptl.
20701 2011-10-18  Andreas Schwab  <schwab@redhat.com>
20703         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20704         (__feraiseexcept_renamed): Add __NTH.
20705         (feraiseexcept): Add __NTH.  Rename local variables to fix
20706         namespace violations.
20708 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
20710         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20712         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20714         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20715         recently added interfaces.
20716         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20718         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20719         about macro parameter expansion.
20721         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20722         __NO_MATH_INLINES is defined.  Cleanups.
20724         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20725         and __floorf is target has SSE4.1.
20726         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20727         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20728         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20729         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20731         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20732         name.
20733         (floorf): Likewise.
20735         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20737 2011-10-17  Andreas Schwab  <schwab@redhat.com>
20739         * misc/sys/cdefs.h: Fix last change.
20741         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20742         database lookup.
20744 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
20746         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20748         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20749         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20750         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20751         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20752         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20753         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20754         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20755         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20756         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20757         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20758         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20759         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20760         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20761         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20762         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20763         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20764         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20765         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20766         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20767         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20768         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20769         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20771         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20772         ceil, ceilf, floor, floorf.
20774         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20775         Perform IRELATIVE relocations last.
20777         * elf/do-rel.h: Add another parameter nrelative, replacing the
20778         local variable with the same name.  Change name of the function
20779         to end in Rel or Rela (uppercase).
20780         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20781         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
20782         elf_dynamic_do_##reloc function.
20784 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20786         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20787         is sufficient, at least on modern CPUs.
20789         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20791         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20792         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20794         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20795         __expl_finite.
20796         * math/bits/math-finite.h: Add entries for exp.
20797         * math/e_expl.c: Add __*_finite alias.
20798         * sysdeps/i386/fpu/e_exp.S: Likewise.
20799         * sysdeps/i386/fpu/e_expf.S: Likewise.
20800         * sysdeps/i386/fpu/e_expl.c: Likewise.
20801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20802         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20803         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20804         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20805         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20806         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20807         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20809         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20810         is sufficient, at least on modern CPUs.
20812         * ctype/ctype-info.c (__ctype_init): Define.
20813         * include/ctype.h (__ctype_init): Declare.
20814         (__ctype_b_loc): The variable is always initialized.
20815         (__ctype_toupper_loc): Likewise.
20816         (__ctype_tolower_loc): Likewise.
20817         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20818         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20820 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
20822         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20824         * configure.in: Also look in $cxxmachine/include for C++ system
20825         headers.
20827 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20829         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20830         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20831         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20832         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
20833         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20834         (USE_AS_WMEMCMP): New macro.
20835         Fixing indents.
20836         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20837         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20838         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20839         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20840         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20841         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20842         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20843         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20844         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20845         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20846         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20847         (USE_AS_WMEMCMP): New macro.
20848         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20849         * sysdeps/string/test-memcmp.c: Update.
20850         Fix simple_wmemcmp.
20851         Add new tests.
20852         * wcsmbs/wmemcmp.c: Update.
20853         (WMEMCMP): New macro.
20854         Fix overflow bug.
20856 2011-10-12  Andreas Jaeger  <aj@suse.de>
20858         [BZ #13268]
20859         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20861 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20863         * libio/iofwide.c (do_length): Avoid warning.
20865         * ctype/ctype.h (__isctype_f): Add missing __THROW.
20867 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
20869         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20871         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20872         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20873         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20874         * sysdeps/i386/i686/fpu/e_log.S: New file.
20875         * sysdeps/i386/i686/fpu/e_logf.S: New file.
20876         * sysdeps/i386/i686/fpu/e_logl.S: New file.
20878         * ctype/ctype.h: Add support for inlined isXXX functions when
20879         compiling C++ code.
20881 2011-10-14  Andreas Schwab  <schwab@redhat.com>
20883         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20885         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20887 2011-10-13  Roland McGrath  <roland@hack.frob.com>
20889         [BZ #13291]
20890         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20892 2011-10-13  Andreas Schwab  <schwab@redhat.com>
20894         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20895         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20896         feraiseexcept.
20898         * sysdeps/x86_64/memrchr.S: Check for zero size.
20900         * string/stratcliff.c: Add memrchr tests.
20902 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20904         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20905         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20906         rawmemchr-sse2 rawmemchr-sse2-bsf.
20907         * sysdeps/i386/i686/multiarch/memchr.S: New file.
20908         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20909         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20910         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20911         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20912         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20913         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20914         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20915         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20916         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20917         * string/memrchr.c (MEMRCHR): New macro.
20919 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
20921         Add integration with gcc's -ffinite-math-only and optimize wrapper
20922         functions in libm.
20923         * Versions.def: Define GLIBC_2.15 version for libm.
20924         * math/Makefile (headers): Add bits/math-finite.h.
20925         * math/bits/math-finite.h: New file.
20926         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20927         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20928         * math/e_acoshl.c: Add __*_finite alias.
20929         * math/e_acosl.c: Likewise.
20930         * math/e_asinl.c: Likewise.
20931         * math/e_atan2l.c: Likewise.
20932         * math/e_atanhl.c: Likewise.
20933         * math/e_coshl.c: Likewise.
20934         * math/e_exp10.c: Likewise.
20935         * math/e_exp10f.c: Likewise.
20936         * math/e_exp10l.c: Likewise.
20937         * math/e_exp2l.c: Likewise.
20938         * math/e_fmodl.c: Likewise.
20939         * math/e_gammal_r.c: Likewise.
20940         * math/e_hypotl.c: Likewise.
20941         * math/e_j0l.c: Likewise.
20942         * math/e_j1l.c: Likewise.
20943         * math/e_jnl.c: Likewise.
20944         * math/e_lgammal_r.c: Likewise.
20945         * math/e_log10l.c: Likewise.
20946         * math/e_log2l.c: Likewise.
20947         * math/e_logl.c: Likewise.
20948         * math/e_powl.c: Likewise.
20949         * math/e_sinhl.c: Likewise.
20950         * math/e_sqrtl.c: Likewise.
20951         * math/e_scalb.c: Completely rewritten and optimized.
20952         * math/e_scalbf.c: Likewise.
20953         * math/e_scalbl.c: Likewise.
20954         * math/w_acos.c: Likewise.
20955         * math/w_acosf.c: Likewise.
20956         * math/w_acosl.c: Likewise.
20957         * math/w_acosh.c: Likewise.
20958         * math/w_acoshf.c: Likewise.
20959         * math/w_acoshl.c: Likewise.
20960         * math/w_asin.c: Likewise.
20961         * math/w_asinf.c: Likewise.
20962         * math/w_asinl.c: Likewise.
20963         * math/w_atan2.c: Likewise.
20964         * math/w_atan2f.c: Likewise.
20965         * math/w_atan2l.c: Likewise.
20966         * math/w_atanh.c: Likewise.
20967         * math/w_atanhf.c: Likewise.
20968         * math/w_atanhl.c: Likewise.
20969         * math/w_exp10.c: Likewise.
20970         * math/w_exp10f.c: Likewise.
20971         * math/w_exp10l.c: Likewise.
20972         * math/w_fmod.c: Likewise.
20973         * math/w_fmodf.c: Likewise.
20974         * math/w_fmodl.c: Likewise.
20975         * math/w_j0.c: Likewise.
20976         * math/w_j0f.c: Likewise.
20977         * math/w_j0l.c: Likewise.
20978         * math/w_j1.c: Likewise.
20979         * math/w_j1f.c: Likewise.
20980         * math/w_j1l.c: Likewise.
20981         * math/w_jn.c: Likewise.
20982         * math/w_jnf.c: Likewise.
20983         * math/w_log.c: Likewise.
20984         * math/w_logf.c: Likewise.
20985         * math/w_logl.c: Likewise.
20986         * math/w_log10.c: Likewise.
20987         * math/w_log10f.c: Likewise.
20988         * math/w_log10l.c: Likewise.
20989         * math/w_log2.c: Likewise.
20990         * math/w_log2f.c: Likewise.
20991         * math/w_log2l.c: Likewise.
20992         * math/w_pow.c: Likewise.
20993         * math/w_powf.c: Likewise.
20994         * math/w_powl.c: Likewise.
20995         * math/w_remainder.c: Likewise.
20996         * math/w_remainderf.c: Likewise.
20997         * math/w_remainderl.c: Likewise.
20998         * math/w_scalb.c: Likewise.
20999         * math/w_scalbf.c: Likewise.
21000         * math/w_scalbl.c: Likewise.
21001         * math/w_sqrt.c: Likewise.
21002         * math/w_sqrtf.c: Likewise.
21003         * math/w_sqrtl.c: Likewise.
21004         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21005         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21006         used.
21007         * math/math_private.h: Declare __kernel_standard_f.
21008         * math/w_cosh.c: Remove cruft and optimize a bit.
21009         * math/w_coshf.c: Likewise.
21010         * math/w_coshl.c: Likewise.
21011         * math/w_exp2.c: Likewise.
21012         * math/w_exp2f.c: Likewise.
21013         * math/w_exp2l.c: Likewise.
21014         * math/w_hypot.c: Likewise.
21015         * math/w_hypotf.c: Likewise.
21016         * math/w_hypotl.c: Likewise.
21017         * math/w_lgamma.c: Likewise.
21018         * math/w_lgamma_r.c: Likewise.
21019         * math/w_lgammaf.c: Likewise.
21020         * math/w_lgammaf_r.c: Likewise.
21021         * math/w_lgammal.c: Likewise.
21022         * math/w_lgammal_r.c: Likewise.
21023         * math/w_sinh.c: Likewise.
21024         * math/w_sinhf.c: Likewise.
21025         * math/w_sinhl.c: Likewise.
21026         * math/w_tgamma.c: Likewise.
21027         * math/w_tgammaf.c: Likewise.
21028         * math/w_tgammal.c: Likewise.
21029         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21030         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21031         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21032         Minor optimizations.  Pretty printing.  Remove cruft.
21033         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21034         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21035         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21036         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21037         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21038         * sysdeps/i386/fpu/e_asin.S: Likewise.
21039         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21040         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21041         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21042         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21043         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21044         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21045         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21046         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21047         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21048         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21049         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21050         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21051         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21052         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21053         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21054         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21055         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21056         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21057         * sysdeps/i386/fpu/e_log.S: Likewise.
21058         * sysdeps/i386/fpu/e_log10.S: Likewise.
21059         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21060         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21061         * sysdeps/i386/fpu/e_log2.S: Likewise.
21062         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21063         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21064         * sysdeps/i386/fpu/e_logf.S: Likewise.
21065         * sysdeps/i386/fpu/e_logl.S: Likewise.
21066         * sysdeps/i386/fpu/e_pow.S: Likewise.
21067         * sysdeps/i386/fpu/e_powf.S: Likewise.
21068         * sysdeps/i386/fpu/e_powl.S: Likewise.
21069         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21070         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21071         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21072         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21073         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21074         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21075         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21076         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21077         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21078         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21079         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21080         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21081         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21082         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21083         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21084         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21085         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21086         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21087         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21088         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21089         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21090         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21091         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21092         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21094         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21095         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21096         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21098         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21099         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21100         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21101         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21102         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21103         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21104         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21105         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21106         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21107         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21109         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21110         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21111         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21112         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21113         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21114         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21115         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21116         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21117         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21118         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21119         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21120         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21121         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21122         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21123         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21124         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21125         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21126         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21127         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21128         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21129         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21130         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21131         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21133         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21134         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21135         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21136         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21137         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21138         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21139         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21141         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21144         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21145         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21146         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21147         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21148         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21149         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21153         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21154         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21155         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21156         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21157         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21158         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21159         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21160         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21161         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21162         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21163         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21164         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21165         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21166         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21167         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21168         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21169         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21170         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21171         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21172         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21173         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21174         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21175         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21176         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21177         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21178         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21179         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21180         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21181         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21182         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21183         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21184         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21185         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21186         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21187         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21188         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21189         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21190         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21191         (__isnanf): Likewise.
21192         (__isinf_ns): Likewise.
21193         (__isinf_nsf): Likewise.
21194         (__finite): Likewise.
21195         (__finitef): Likewise.
21196         (__ieee754_sqrt): Define as macro.
21197         (__ieee754_sqrtf): Define as macro.
21198         (__ieee754_sqrtl): Define as macro.
21199         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21200         inlined copy.
21201         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21202         __FINITE_MATH_ONLY__ consistent.
21203         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21205 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21207         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21208         of rawmemchr.
21210         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21212 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21214         * po/ja.po: Update from translation team.
21216 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21218         * locale/programs/locarchive.c (prepare_address_space): New function.
21219         (create_archive, enlarge_archive, open_archive): Use it.
21221         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21222         inside [SHARED], where it is used.
21224         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21226         * nss/getent.c (netgroup_keys): Remove unused variable.
21227         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21229 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21231         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21232         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21234         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21235         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21236         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21237         * math/Makefile (libm-calls): Add s_isinf_ns.
21238         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21239         * math/multc3.c: Likewise.
21240         * math/s_casin.c: Likewise.
21241         * math/s_casinf.c: Likewise.
21242         * math/s_casinl.c: Likewise.
21243         * math/s_ccos.c: Likewise.
21244         * math/s_ccosf.c: Likewise.
21245         * math/s_ccosl.c: Likewise.
21246         * math/s_ctan.c: Likewise.
21247         * math/s_ctanf.c: Likewise.
21248         * math/s_ctanh.c: Likewise.
21249         * math/s_ctanhf.c: Likewise.
21250         * math/s_ctanhl.c: Likewise.
21251         * math/s_ctanl.c: Likewise.
21252         * math/w_fmod.c: Likewise.
21253         * math/w_fmodf.c: Likewise.
21254         * math/w_fmodl.c: Likewise.
21255         * math/w_remainder.c: Likewise.
21256         * math/w_remainderf.c: Likewise.
21257         * math/w_remainderl.c: Likewise.
21258         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21259         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21260         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21262         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21263         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21264         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21265         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21267         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21268         of the number.
21269         * stdio-common/printf_fphex.c: Likewise.
21270         * stdio-common/printf_size.c: Likewise.
21272         * math/e_exp10.c: Include math_private.h using <...> not "...".
21273         * math/e_exp10f.c: Likewise.
21274         * math/e_exp10l.c: Likewise.
21275         * math/e_exp2l.c: Likewise.
21276         * math/e_j0l.c: Likewise.
21277         * math/e_j1l.c: Likewise.
21278         * math/e_jnl.c: Likewise.
21279         * math/e_lgammal_r.c: Likewise.
21280         * math/e_rem_pio2l.c: Likewise.
21281         * math/e_scalb.c: Likewise.
21282         * math/e_scalbf.c: Likewise.
21283         * math/e_scalbl.c: Likewise.
21284         * math/k_cosl.c: Likewise.
21285         * math/k_sinl.c: Likewise.
21286         * math/k_tanl.c: Likewise.
21287         * math/s_cacoshf.c: Likewise.
21288         * math/s_catan.c: Likewise.
21289         * math/s_catanf.c: Likewise.
21290         * math/s_catanh.c: Likewise.
21291         * math/s_catanhf.c: Likewise.
21292         * math/s_catanhl.c: Likewise.
21293         * math/s_catanl.c: Likewise.
21294         * math/s_ccosh.c: Likewise.
21295         * math/s_ccoshf.c: Likewise.
21296         * math/s_ccoshl.c: Likewise.
21297         * math/s_cexp.c: Likewise.
21298         * math/s_cexpf.c: Likewise.
21299         * math/s_cexpl.c: Likewise.
21300         * math/s_clog.c: Likewise.
21301         * math/s_clog10.c: Likewise.
21302         * math/s_clog10f.c: Likewise.
21303         * math/s_clog10l.c: Likewise.
21304         * math/s_clogf.c: Likewise.
21305         * math/s_clogl.c: Likewise.
21306         * math/s_csin.c: Likewise.
21307         * math/s_csinf.c: Likewise.
21308         * math/s_csinh.c: Likewise.
21309         * math/s_csinhf.c: Likewise.
21310         * math/s_csinhl.c: Likewise.
21311         * math/s_csinl.c: Likewise.
21312         * math/s_csqrt.c: Likewise.
21313         * math/s_csqrtf.c: Likewise.
21314         * math/s_csqrtl.c: Likewise.
21315         * math/s_ctan.c: Likewise.
21316         * math/s_ctanf.c: Likewise.
21317         * math/s_ctanh.c: Likewise.
21318         * math/s_ctanhf.c: Likewise.
21319         * math/s_ctanhl.c: Likewise.
21320         * math/s_ctanl.c: Likewise.
21321         * math/s_ldexp.c: Likewise.
21322         * math/s_ldexpf.c: Likewise.
21323         * math/s_ldexpl.c: Likewise.
21324         * math/s_significand.c: Likewise.
21325         * math/s_significandf.c: Likewise.
21326         * math/s_significandl.c: Likewise.
21327         * math/w_acos.c: Likewise.
21328         * math/w_acosf.c: Likewise.
21329         * math/w_acosh.c: Likewise.
21330         * math/w_acoshf.c: Likewise.
21331         * math/w_acoshl.c: Likewise.
21332         * math/w_acosl.c: Likewise.
21333         * math/w_asin.c: Likewise.
21334         * math/w_asinf.c: Likewise.
21335         * math/w_asinl.c: Likewise.
21336         * math/w_atan2.c: Likewise.
21337         * math/w_atan2f.c: Likewise.
21338         * math/w_atan2l.c: Likewise.
21339         * math/w_atanh.c: Likewise.
21340         * math/w_atanhf.c: Likewise.
21341         * math/w_atanhl.c: Likewise.
21342         * math/w_cosh.c: Likewise.
21343         * math/w_coshf.c: Likewise.
21344         * math/w_coshl.c: Likewise.
21345         * math/w_dremf.c: Likewise.
21346         * math/w_exp10.c: Likewise.
21347         * math/w_exp10f.c: Likewise.
21348         * math/w_exp10l.c: Likewise.
21349         * math/w_exp2.c: Likewise.
21350         * math/w_exp2f.c: Likewise.
21351         * math/w_fmod.c: Likewise.
21352         * math/w_fmodf.c: Likewise.
21353         * math/w_fmodl.c: Likewise.
21354         * math/w_hypot.c: Likewise.
21355         * math/w_hypotf.c: Likewise.
21356         * math/w_hypotl.c: Likewise.
21357         * math/w_j0.c: Likewise.
21358         * math/w_j0f.c: Likewise.
21359         * math/w_j0l.c: Likewise.
21360         * math/w_j1.c: Likewise.
21361         * math/w_j1f.c: Likewise.
21362         * math/w_j1l.c: Likewise.
21363         * math/w_jn.c: Likewise.
21364         * math/w_jnf.c: Likewise.
21365         * math/w_jnl.c: Likewise.
21366         * math/w_lgamma.c: Likewise.
21367         * math/w_lgamma_r.c: Likewise.
21368         * math/w_lgammaf.c: Likewise.
21369         * math/w_lgammaf_r.c: Likewise.
21370         * math/w_lgammal.c: Likewise.
21371         * math/w_lgammal_r.c: Likewise.
21372         * math/w_log.c: Likewise.
21373         * math/w_log10.c: Likewise.
21374         * math/w_log10f.c: Likewise.
21375         * math/w_log10l.c: Likewise.
21376         * math/w_log2.c: Likewise.
21377         * math/w_log2f.c: Likewise.
21378         * math/w_log2l.c: Likewise.
21379         * math/w_logf.c: Likewise.
21380         * math/w_logl.c: Likewise.
21381         * math/w_pow.c: Likewise.
21382         * math/w_powf.c: Likewise.
21383         * math/w_powl.c: Likewise.
21384         * math/w_remainder.c: Likewise.
21385         * math/w_remainderf.c: Likewise.
21386         * math/w_remainderl.c: Likewise.
21387         * math/w_scalb.c: Likewise.
21388         * math/w_scalbf.c: Likewise.
21389         * math/w_scalbl.c: Likewise.
21390         * math/w_sinh.c: Likewise.
21391         * math/w_sinhf.c: Likewise.
21392         * math/w_sinhl.c: Likewise.
21393         * math/w_sqrt.c: Likewise.
21394         * math/w_sqrtf.c: Likewise.
21395         * math/w_sqrtl.c: Likewise.
21396         * math/w_tgamma.c: Likewise.
21397         * math/w_tgammaf.c: Likewise.
21398         * math/w_tgammal.c: Likewise.
21400         * po/ja.po: Update from translation team.
21402 2011-09-29  Andreas Jaeger  <aj@suse.de>
21404         [BZ #13179]
21405         * sunrpc/netname.c (netname2host): Fix logic.
21407         [BZ #6779]
21408         [BZ #6783]
21409         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21410         correctly.
21411         * math/w_remainder.c (__remainder): Likewise.
21412         * math/w_remainderf.c (__remainderf): Likewise.
21413         * math/libm-test.inc (remainder_test): Add test cases.
21415 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21417         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
21418         sdiv_qrnnd.
21420 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21422         * string/test-memcmp.c: Avoid unncessary #defines.
21423         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21425 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21427         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21428         Use new sse2 version for core i3 - i7 as it's faster
21429         than sse42 version.
21430         (bit_Prefer_PMINUB_for_stringop): New.
21431         * sysdeps/x86_64/rawmemchr.S: Update.
21432         Replace with faster SSE2 version.
21433         * sysdeps/x86_64/memrchr.S: New file.
21434         * sysdeps/x86_64/memchr.S: Update.
21435         Replace with faster SSE2 version.
21437 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
21439         * elf/dl-load.c (lose): Add cast to avoid warning.
21441 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21443         * po/ca.po: Update from translation team.
21445         * inet/getnetgrent_r.c: Hook up nscd.
21446         * nscd/Makefile (routines): Add nscd_netgroup.
21447         (nscd-modules): Add netgroupcache.
21448         (CFLAGS-netgroupcache.c): Define.
21449         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21450         (cache_search): Add const to second parameter.
21451         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21452         INNETGR.
21453         (dbs): Add netgrdb entry.
21454         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21455         (verify_persistent_db): Handle netgrdb.
21456         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21457         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21458         GETFDNETGR.
21459         (netgroup_response_header): Define.
21460         (innetgroup_response_header): Define.
21461         (datahead): Add netgroup_response_header and innetgroup_response_header
21462         elements.
21463         * nscd/nscd.conf: Add entries for netgroup cache.
21464         * nscd/nscd.h (dbtype): Add netgrdb.
21465         (_PATH_NSCD_NETGROUP_DB): Define.
21466         (netgroup_iov_disabled): Declare.
21467         (xmalloc, xcalloc, xrealloc): Move declarations here.
21468         (cache_search): Adjust prototype.
21469         Add netgroup-related prototypes.
21470         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21471         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21472         (__nscd_innetgr): Declare.
21473         * nscd/selinux.c (perms): Use access_vector_t as element type and
21474         add netgroup-related initializers.
21475         * nscd/netgroupcache.c: New file.
21476         * nscd/nscd_netgroup.c: New file.
21477         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21478         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21479         For four parameters use innetgr.
21480         * nss/nss_files/files-init.c: Add definition and callback for netgr.
21481         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21482         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21483         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21485         * nscd/connections.c (register_traced_file): Don't register file
21486         for disabled databases.
21488 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
21490         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21492         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21493         from tree and freeing node.
21495 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
21497         * nss/nsswitch.c (__nss_database_lookup): Handle
21498         nss_parse_service_list out of memory case.
21500 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
21502         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21503         out of memory case.
21505 2011-10-04  Andreas Schwab  <schwab@redhat.com>
21507         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21508         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21509         pass it down.
21510         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21511         elf_machine_rela, elf_machine_lazy_rel.
21512         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21513         (ELF_DYNAMIC_DO_REL): Likewise.
21514         (ELF_DYNAMIC_DO_RELA): Likewise.
21515         (ELF_DYNAMIC_RELOCATE): Likewise.
21516         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21517         to ELF_DYNAMIC_DO_REL.
21518         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21519         (dl_main): In trace mode always set __RTLD_NOIFUNC.
21520         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21521         elf_machine_rela.
21522         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21523         skip_ifunc, don't call ifunc function if non-zero.
21524         (elf_machine_rela): Likewise.
21525         (elf_machine_lazy_rel): Likewise.
21526         (elf_machine_lazy_rela): Likewise.
21527         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21528         (elf_machine_lazy_rel): Likewise.
21529         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21530         Likewise.
21531         (elf_machine_lazy_rel): Likewise.
21532         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21533         Likewise.
21534         (elf_machine_lazy_rel): Likewise.
21535         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21536         (elf_machine_lazy_rel): Likewise.
21537         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21538         (elf_machine_lazy_rel): Likewise.
21539         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21540         (elf_machine_lazy_rel): Likewise.
21541         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21542         (elf_machine_lazy_rel): Likewise.
21543         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21544         (elf_machine_lazy_rel): Likewise.
21545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21546         (elf_machine_lazy_rel): Likewise.
21548 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
21550         * nss/nss_files/files-init.c (_nss_files_init): Use static
21551         initialization for all the *_traced_file variables.
21553 2011-09-28  Andreas Schwab  <schwab@redhat.com>
21555         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21557 2011-09-27  Roland McGrath  <roland@hack.frob.com>
21559         [BZ #13226]
21560         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21562 2011-09-27  Andreas Schwab  <schwab@redhat.com>
21564         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21565         Reread the line before reparsing it.
21567 2011-09-26  Andreas Schwab  <schwab@redhat.com>
21569         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21571 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
21572             Maxim Kuvyrkov  <maxim@codesourcery.com>
21573             Joseph Myers  <joseph@codesourcery.com>
21575         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21576         if needed for __stack_chk_guard.
21578 2011-09-19  Roland McGrath  <roland@hack.frob.com>
21580         * sysdeps/posix/spawni.c (script_execute): Always define it.
21581         It will be optimized away if unused.
21582         (maybe_script_execute): New function.
21583         (__spawni): Call it.
21585         * Makerules: Don't include tls.make.
21586         (config-tls): Always set to thread.
21587         * tls.make.c: File removed.
21589 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
21591         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21592         * config.make.in (CPPFLAGS-config): New substituted variable.
21594 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21596         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21598         [BZ #13192]
21599         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21600         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21602 2011-09-15  Roland McGrath  <roland@hack.frob.com>
21604         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21605         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21607         (CALL_FAIL): Likewise.
21608         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21609         (CALL_FAIL): Macro removed.
21610         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21612 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21614         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21615         for __FINITE_MATH_ONLY__ == 1.
21617 2011-09-15  Andreas Schwab  <schwab@redhat.com>
21619         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21620         __ieee754_sqrt instead of sqrt.
21621         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21622         __ieee754_sqrtf instead of sqrtf.
21623         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21624         __floorf instead of floorf.
21625         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21626         __floorf, __truncf instead of floorf, truncf.
21628 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
21630         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21632         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21633         __extern_always_inline.
21634         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21635         32-bit.
21637 2011-09-14  Andreas Schwab  <schwab@redhat.com>
21639         * elf/rtld.c (dl_main): Also relocate in dependency order when
21640         doing symbol dependency testing.
21642 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
21644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21645         Always define `refsym'.
21647 2011-09-13  Andreas Schwab  <schwab@redhat.com>
21649         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21650         (__FD_ELT): Renamed from __FDELT.
21651         * misc/bits/select2.h (__FD_ELT): Likewise.
21652         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21653         __FD_MASK instead of __FDELT, __FDMASK.
21654         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21655         Likewise.
21656         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21657         Likewise.
21659         * elf/Makefile (gen-ldd): Fix pattern.
21661         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21662         (init_tls): Likewise.
21664 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
21666         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21668 2011-09-12  Andreas Schwab  <schwab@redhat.com>
21670         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21671         `struct cmsghdr *' instead of `void *'.
21672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21673         Likewise.
21675 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
21677         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21678         if non-absolute.
21679         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21680         ldd_rewrite_script.
21682 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
21684         * configure.in: Remove --with-tls option.
21685         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21686         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21687         out in case it is missing.
21688         * sysdeps/ia64/elf/configure.in: Likewise.
21689         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21690         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21691         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21692         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21693         * sysdeps/sh/elf/configure.in: Likewise.
21694         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21695         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21696         * sysdeps/x86_64/elf/configure.in: Likewise.
21697         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21698         * sysdeps/mach/hurd/tls.h: Likewise.
21700         [BZ #13067]
21701         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21703         [BZ #13090]
21704         * configure.in: Fix use of AC_INIT.
21706         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21708 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
21710         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21711         __set_errno.
21712         * malloc/hooks.c: Likewise.
21714         [BZ #11929]
21715         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
21716         variables statically.
21717         (narenas): Initialize.
21718         (list_lock): Initialize.
21719         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
21720         initializtion of main_arena and list_lock.  Small cleanups.
21721         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21722         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
21723         Add initializers to main_arena and mp_.
21724         (malloc_state): Remove pagesize member.  Change all users to use
21725         GLRO(dl_pagesize).
21727         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21728         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
21729         is always initialized.
21731         * malloc/malloc.c: Removed unused configurations and dead code.
21732         * malloc/arena.c: Likewise.
21733         * malloc/hooks.c: Likewise.
21734         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21736         * include/tls.h: Removed.  USE___THREAD must always be defined.
21737         * bits/libc-tsd.h: Don't handle !USE___THREAD.
21738         * elf/dl-libc.c: Likewise.
21739         * elf/dl-tsd.c: Likewise.
21740         * include/errno.h: Likewise.
21741         * include/netdb.h: Likewise.
21742         * include/resolv.h: Likewise.
21743         * inet/herrno-loc.c: Likewise.
21744         * inet/herrno.c: Likewise.
21745         * malloc/arena.c: Likewise.
21746         * malloc/hooks.c: Likewise.
21747         * malloc/malloc.c: Likewise.
21748         * resolv/res-state.c: Likewise.
21749         * resolv/res_libc.c: Likewise.
21750         * sysdeps/i386/dl-machine.h: Likewise.
21751         * sysdeps/ia64/dl-machine.h: Likewise.
21752         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21753         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21754         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21755         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21756         * sysdeps/sh/dl-machine.h: Likewise.
21757         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21758         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21759         * sysdeps/unix/i386/sysdep.S: Likewise.
21760         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21761         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21766         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21770         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21771         * sysdeps/x86_64/dl-machine.h: Likewise.
21772         * tls.make.c: Likewise.
21774         * configure.in: Remove --with-__thread option.  Make tests for
21775         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21776         tls_model attribute fail if no support is available.  Remove
21777         USE_IN_LIBIO.
21778         * Makeconfig: Adjust for dropped configure option.  All features are
21779         now mandatory.
21780         * Makerules: Likewise.
21781         * Versions.def: Likewise.
21782         * argp/argp-fmtstream.c: Likewise.
21783         * argp/argp-fmtstream.h: Likewise.
21784         * argp/argp-help.c: Likewise.
21785         * assert/assert.c: Likewise.
21786         * config.h.in: Likewise.
21787         * config.make.in: Likewise.
21788         * configure: Likewise.
21789         * configure.in: Likewise.
21790         * csu/Versions: Likewise.
21791         * csu/init.c: Likewise.
21792         * elf/tst-audit2.c: Likewise.
21793         * elf/tst-tls10.c: Likewise.
21794         * elf/tst-tls10.h: Likewise.
21795         * elf/tst-tls11.c: Likewise.
21796         * elf/tst-tls12.c: Likewise.
21797         * elf/tst-tls14.c: Likewise.
21798         * elf/tst-tlsmod11.c: Likewise.
21799         * elf/tst-tlsmod12.c: Likewise.
21800         * elf/tst-tlsmod13.c: Likewise.
21801         * elf/tst-tlsmod13a.c: Likewise.
21802         * elf/tst-tlsmod14a.c: Likewise.
21803         * elf/tst-tlsmod15b.c: Likewise.
21804         * elf/tst-tlsmod16a.c: Likewise.
21805         * elf/tst-tlsmod16b.c: Likewise.
21806         * elf/tst-tlsmod7.c: Likewise.
21807         * elf/tst-tlsmod8.c: Likewise.
21808         * elf/tst-tlsmod9.c: Likewise.
21809         * gmon/gmon.c: Likewise.
21810         * grp/fgetgrent_r.c: Likewise.
21811         * grp/putgrent.c: Likewise.
21812         * hurd/fopenport.c: Likewise.
21813         * include/libc-symbols.h: Likewise.
21814         * include/tls.h: Likewise.
21815         * intl/gettextP.h: Likewise.
21816         * intl/loadinfo.h: Likewise.
21817         * locale/global-locale.c: Likewise.
21818         * locale/localeinfo.h: Likewise.
21819         * mach/devstream.c: Likewise.
21820         * malloc/arena.c: Likewise.
21821         * malloc/set-freeres.c: Likewise.
21822         * misc/err.c: Likewise.
21823         * misc/getttyent.c: Likewise.
21824         * misc/mntent_r.c: Likewise.
21825         * posix/getopt.c: Likewise.
21826         * posix/wordexp.c: Likewise.
21827         * pwd/fgetpwent_r.c: Likewise.
21828         * resolv/Versions: Likewise.
21829         * resolv/res_hconf.c: Likewise.
21830         * shadow/fgetspent_r.c: Likewise.
21831         * shadow/putspent.c: Likewise.
21832         * stdio-common/printf_fphex.c: Likewise.
21833         * stdio-common/tmpfile.c: Likewise.
21834         * stdlib/abort.c: Likewise.
21835         * stdlib/fmtmsg.c: Likewise.
21836         * sunrpc/auth_unix.c: Likewise.
21837         * sunrpc/clnt_perr.c: Likewise.
21838         * sunrpc/clnt_tcp.c: Likewise.
21839         * sunrpc/clnt_udp.c: Likewise.
21840         * sunrpc/clnt_unix.c: Likewise.
21841         * sunrpc/openchild.c: Likewise.
21842         * sunrpc/svc_simple.c: Likewise.
21843         * sunrpc/svc_tcp.c: Likewise.
21844         * sunrpc/svc_udp.c: Likewise.
21845         * sunrpc/svc_unix.c: Likewise.
21846         * sunrpc/xdr.c: Likewise.
21847         * sunrpc/xdr_array.c: Likewise.
21848         * sunrpc/xdr_rec.c: Likewise.
21849         * sunrpc/xdr_ref.c: Likewise.
21850         * sunrpc/xdr_stdio.c: Likewise.
21852 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21854         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21856 2011-07-03  Andreas Jaeger  <aj@suse.de>
21858         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21859         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21860         regenerate with gen-libm-tests.pl.
21862 2010-05-12  Petr Baudis  <pasky@suse.cz>
21864         [BZ #11589]
21865         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21866         around j0() zero points by switching to j1().
21867         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21868         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21869         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21870         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21872 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21874         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21875         instead of 0.
21876         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21877         instead of 0.
21878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21879         Patch in part by Pavel Roskin <proski@gnu.org>.
21881         [BZ #13138]
21882         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21883         realloc.
21884         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
21885         Free memory block if necessary.
21887         [BZ #12847]
21888         * libio/genops.c (INTDEF): For string streams the _lock pointer can
21889         be NULL.  Don't lock in this case.
21891 2011-09-09  Roland McGrath  <roland@hack.frob.com>
21893         * elf/elf.h (ELFOSABI_GNU): New macro.
21894         (ELFOSABI_LINUX): Define to that.
21896 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
21898         * string/strncat.c (strncat): Undef the symbol in case it has been
21899         defined in bits/string.h.
21901 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21903         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21905         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21906         link map.
21908 2011-08-17  Andreas Jaeger  <aj@suse.de>
21910         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21912 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21913             Ian Lance Taylor  <iant@google.com>
21915         * math/libm-test.inc (lround_test): New testcase.
21916         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21918 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
21920         * Makefile: Remove support for automatic cvs check-ins.
21921         * Makerules: Likewise.
21922         * config.make.in: Likewise.
21923         * configure.in: Likewise.
21924         * intl/Makefile: Likewise.
21925         * locale/Makefile: Likewise.
21926         * po/Makefile: Likewise.
21927         * posix/Makefile: Likewise.
21928         * sysdeps/gnu/Makefile: Likewise.
21929         * sysdeps/mach/hurd/Makefile: Likewise.
21930         * sysdeps/sparc/sparc32/Makefile: Likewise.
21932         [BZ #13118]
21933         * posix/Makefile (bug-regex32-ENV): Define.
21934         Patch by John Stanley <jpsinthemix@verizon.net>.
21936         * misc/Makefile (headers): Add bits/select2.h.
21937         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21938         * misc/bits/select2.h: New file.
21939         * include/bits/select2.h: New file.
21940         * debug/Makefile (routines): Add fdelt_chk.
21941         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21942         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21943         FD_ISSET.
21944         * debug/fdelt_chk.c: New file.
21946         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
21947         * wcsmbs/test-wmemcmp.c: Likewise.
21948         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
21949         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
21951 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21953         * string/Makefile (strop-tests): Add memcmp.
21954         * string/test-wmemcmp.c: New file.
21955         * string/test-memcmp.c: Add wmemcmp support.
21957 2011-09-08  Roland McGrath  <roland@hack.frob.com>
21959         [BZ #13153]
21960         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21961         2011-07-19 change.
21963         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21964         garbage value in a __mach_port_mod_refs call in the cases of the
21965         task-self and thread-self ports.
21967 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21969         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21971 2011-09-08  Andreas Schwab  <schwab@redhat.com>
21973         * elf/dl-load.c (lose): Check for non-null L.
21975 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
21977         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21979         * elf/dl-libc.c (dlerror_run): Pass back error code from
21980         dl_catch_error.
21982         [BZ #13123]
21983         * elf/dl-load.c (lose): Free l_origin if it is valid.
21985         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21986         names.
21987         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21988         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21989         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21990         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21991         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21992         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21994 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21996         * sysdeps/powerpc/fpu/e_hypot.c: New file.
21997         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21998         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21999         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22000         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22001         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22002         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22003         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22004         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22005         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22007 2011-08-15  Alan Modra  <amodra@gmail.com>
22009         [BZ #13092]
22010         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22011         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22012         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22013         ppc_mcount to static-only-routines.
22014         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22015         __mcount_internal.
22016         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22017         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22019 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22021         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22022         for finite and infinity parameters.
22024 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22026         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22027         and add nop instructions for throughput optimization.
22028         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22030 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22032         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22033         aligned copy for power7 with vector-scalar instructions.
22034         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22036 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22039         AVX check.
22041 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22043         [BZ #13144]
22044         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22045         last change.
22047 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22049         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22050         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22051         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22052         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22053         clock_gettime.
22055 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22057         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22058         Forgot to demangle the pointer.
22060         * sysdeps/i386/sysdep.h: Define atom_text_section.
22061         * sysdeps/x86_64/sysdep.h: Likewise.
22062         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22063         section with atom_text_section.
22064         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22065         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22066         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22067         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22068         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22070         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22071         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22072         already be defined.  Change to take two parameters and don't assign
22073         result to variable.  Adjust all users.
22074         Define INTERNAL_GETTIME if not already defined.
22075         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22076         call.
22077         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22078         HAVE_CLOCK_GETTIME_VSYSCALL.
22079         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22081         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22082         gettimeofday vsyscall, just use time.
22084 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22086         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22087         <errno.h>.
22089 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22091         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22092         syscall on x86-64.
22093         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22094         syscall.
22095         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22096         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22097         syscall if possible.
22099 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22101         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22102         e_ident.  Don't pass to find_mapsXX.
22103         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22105 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22108         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22109         * sysdeps/x86_64/multiarch/strchr.S: Update.
22110         Check bit_slow_BSF bit.
22111         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22112         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22113         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22115 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22117         [BZ #13134]
22118         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22119         before glibc 2.15.
22120         (tryshell): Define.
22121         (__spawni): Change last parameter to be flag.  Test
22122         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22123         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22124         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22125         * posix/spawni.c: Likewise.
22126         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22127         * posix/spawnp.c: Likewise.  Change normal version to use
22128         SPAWN_XFLAGS_USE_PATH.
22129         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22130         SPAWN_XFLAGS_TRY_SHELL.
22132         [BZ #13150]
22133         * posix/glob.h: Remove gcc 1.x support.
22135         [BZ #13068]
22136         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22138 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22140         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22141         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22142         strrchr-sse2-bsf
22143         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22144         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22145         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22146         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22147         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22148         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22150 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22152         * sysdeps/x86_64/wcscmp.S: New file.
22154         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22155         wcscmp-c wcscmp-sse2
22156         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22157         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22158         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22159         * wcsmbs/wcscmp.c: Allow renaming.
22161 2011-09-05  David S. Miller  <davem@davemloft.net>
22163         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22164         stack slot, rather than the struct return pointer slot.
22165         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22166         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22168         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22170 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22172         * po/ja.po: Update from translation team.
22174         [BZ #13144]
22175         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22176         kernel in 64-bit binaries.
22178 2011-09-01  David S. Miller  <davem@davemloft.net>
22180         * elf/elf.h (HWCAP_SPARC_*): Move to..
22181         * sysdeps/sparc/sysdep.h: this new file and add new values.
22182         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22183         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22184         _DL_HWCAP_COUNT to 24.
22185         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22186         entries.
22187         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22188         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22189         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22191         instead of magic constants.
22192         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22194 2011-08-31  David S. Miller  <davem@davemloft.net>
22196         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22198         Reimplement to do errno handling inline.
22199         (SYSCALL_ERROR_HANDLER): New macro.
22200         (__SYSCALL_STRING): Do not do errno handling in asm.
22201         (__CLONE_SYSCALL_STRING): Delete.
22202         (__INTERNAL_SYSCALL_STRING): Delete.
22203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22204         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22205         (PSEUDO): Reimplement to do errno handling inline.
22206         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22207         (SYSCALL_ERROR_HANDLER): New macro.
22208         (__SYSCALL_STRING): Do not do errno handling in asm.
22209         (__CLONE_SYSCALL_STRING): Delete.
22210         (__INTERNAL_SYSCALL_STRING): Delete.
22211         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22212         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22213         i386.
22214         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22215         (inline_syscall*): Add 'err' argument.
22216         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22217         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22218         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22219         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22221         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22222         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22224 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22226         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22228 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22230         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22231         directive.
22233 2011-08-24  David S. Miller  <davem@davemloft.net>
22235         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22237 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22239         * elf/Makefile: Add rules to build and run unload8 test.
22240         * elf/unload8.c: New file.
22241         * elf/unload8mod1.c: New file.
22242         * elf/unload8mod1x.c: New file.
22243         * elf/unload8mod2.c: New file.
22244         * elf/unload8mod3.c: New file.
22246         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22247         it wasn't used.
22249 2011-08-23  David S. Miller  <davem@davemloft.net>
22251         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22252         subtract stack bias.
22253         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22254         %sp not %fp in calculations.
22255         (_JMPBUF_UNWINDS_ADJ): Likewise.
22257         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22258         (aio_suspend): Call it to force an exception region around the
22259         AIO_MISC_WAIT() invocation.
22261 2011-08-23  Andreas Schwab  <schwab@redhat.com>
22263         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22264         backslash.
22266 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
22268         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22269         protection macro.
22270         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22271         and <dl-machine.h>.
22272         (Elf64_FuncDesc): Remove.
22274 2011-08-22  David S. Miller  <davem@davemloft.net>
22276         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22277         sigaltstack check, add missing cfi directives.
22278         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22279         missing cfi directives, and sigaltstack handling.
22281 2011-08-16  Andreas Schwab  <schwab@redhat.com>
22283         [BZ #11724]
22284         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22285         object is seen twice.
22286         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22288         * elf/Makefile (distribute): Add tst-initorder2.c.
22289         (tests): Add tst-initorder2.
22290         (modules-names): Add tst-initorder2a tst-initorder2b
22291         tst-initorder2c tst-initorder2d.  Add rules to build them.
22292         ($(objpfx)tst-initorder2.out): New rule.
22293         * elf/tst-initorder2.c: New file.
22294         * elf/tst-initorder2.exp: New file.
22296 2011-08-22  Andreas Schwab  <schwab@redhat.com>
22298         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22300         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22301         dependencies back to end of function.
22303         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22304         $(elfobjdir)/ld.so.
22306 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
22308         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22309         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22311         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22312         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22313         of __vdso_gettimeofday.
22314         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22315         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
22316         attribute_hidden.
22317         (_libc_vdso_platform_setup): Remove initialization of
22318         __vdso_gettimeofday and __vdso_time.
22320 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22322         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22323         and fgetc_unlocked.
22324         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22325         getc_unlocked.
22327         * elf/dl-open.c (add_to_global): Report additions to the global scope
22328         for LD_DEBUG=scopes.
22329         (dl_open_worker): Also print scope of newly loaded dependencies.
22330         (_dl_show_scope): Indicate if there is no scope.
22332         [BZ #13114]
22333         * stdio-common/Makefile (tests): Add bug24.
22334         * stdio-common/bug24.c: New file.
22336 2011-08-19  Andreas Jaeger  <aj@suse.de>
22338         [BZ #13114]
22339         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22340         non-existant file when using close-on-exec mode.
22342 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22345         the very first instruction.
22347         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22348         the CFI state in the end.
22349         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22350         inclusion of dl-trampoline.h.
22351         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22353 2011-08-19  Andreas Schwab  <schwab@redhat.com>
22355         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22356         expectations for long double.
22358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22359         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22361 2011-08-14  David S. Miller  <davem@davemloft.net>
22363         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22364         artificual limit depends upon the system page size.
22366 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22368         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22369         * resolv/Makefile: Define CFLAGS-libresolv.
22371 2011-08-17  Andreas Schwab  <schwab@redhat.com>
22373         * nss/makedb.c (compute_tables): Make variables used in nested
22374         function static.
22376 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22378         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22379         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22380         if buffer was too small.
22382         * elf/pldd.c (main): Attach to all threads in the process.
22383         Rewrite /proc handling to use *at functions.
22385 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
22387         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22388         specifies first scope to show.
22389         (dl_open_worker): Update callers.  Move printing scope of new
22390         object to before the relocation.
22391         * elf/rtld.c (dl_main): Update _dl_show_scope call.
22392         * sysdeps/generic/ldsodefs.h: Update declaration.
22394         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22395         string for the scope number.
22397 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
22399         * nscd/servicescache.c (cache_addserv): Make sure written is always
22400         initialized.
22402 2011-08-14  Roland McGrath  <roland@hack.frob.com>
22404         * sysdeps/i386/i486/bits/atomic.h
22405         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22406         statement expression, so as to suppress "set but not used" warning.
22407         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22409         * string/strncat.c (STRNCAT): Use prototype definition.
22411         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22412         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22413         -Iprograms here.
22414         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22415         (localedef-modules): Add localedef.
22416         (locale-modules): Add locale.
22418         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22419         * elf/rtld.c (dl_main): Invert order of assignment in last change,
22420         to avoid a warning.
22422 2011-08-14  David S. Miller  <davem@davemloft.net>
22424         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22425         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22427 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
22429         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22430         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22431         * elf/rtld.c (dl_main): Set l_name of vDSO.
22432         Call _dl_show_scope when DL_DEBUG_SCOPES.
22433         (process_dl_debug): Recognize scopes flag and also set it for all.
22434         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22435         Declare _dl_show_scope.
22437         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22438         (do_dlopen): Pass caller_dlopen to dl_open.
22439         (__libc_dlopen_mode): Initialize caller_dlopen.
22441         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22442         of libc.  Make tolower call locale-independent.  Optimize a bit by
22443         using isdigit instead of isalnum.
22444         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22446 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
22448         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22449         was a dependency or dynamically loaded.
22451 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
22453         * intl/l10nflist.c: Allow architecture-specific pop function.
22454         * sysdeps/x86_64/l10nflist.c: New file.
22456         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22457         classification.
22459 2011-08-10  Andreas Schwab  <schwab@redhat.com>
22461         * include/dirent.h: Add libc_hidden_proto for scandirat and
22462         scandirat64.  Don't declare __scandirat64.
22463         * dirent/scandirat.c: Add libc_hidden_def.
22464         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22465         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22467 2011-08-10  David S. Miller  <davem@davemloft.net>
22469         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22470         enum.
22471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22472         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22473         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22475 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
22477         * Versions.def [libc]: Add GLIBC_2.15.
22478         * dirent/Makefile (routines): Add scandirat and scandirat64.
22479         * dirent/Versions [libc]: Export scandirat and scandirat64 for
22480         GLIBC_2.15.
22481         * dirent/dirent.h: Declare scandirat and scandirat64.
22482         * dirent/scandirat.c: New file.
22483         * dirent/scandirat64.c: New file.
22484         * sysdeps/wordsize-64/scandirat.c: New file.
22485         * sysdeps/wordsize-64/scandirat64.c: New file.
22486         * dirent/opendir.c: Define opendirat.
22487         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
22488         using scandirat.
22489         * dirent/scandir64.c: Adjust for scandir.c change.
22490         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
22491         __scandirat64, and __scandir_cancel_handler.
22492         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
22493         additional parameter and use openat instead of open (outside of ld.so).
22494         Add new __opendir as wrapper around __opendirat.
22495         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22496         here without requiring old scandirat implementation.
22498 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
22500         * dirent/scandir.c (cancel_handler): Renamed to
22501         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
22502         defined.  Adjust users.
22503         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22504         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22506 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
22508         * string/test-string.h (IMPL): Use __STRING to expand name and then
22509         stringify it.
22511         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
22512         of cleanups.
22514 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22516         * string/Makefile: Update.
22517         (strop-tests): Append strncat.
22518         * string/test-wcscmp.c: New file.
22519         New comprehensive test for wcscmp.
22520         * string/test-strcmp.c: Update.
22521         (WIDE): New define.
22523 2011-07-22  Andreas Schwab  <schwab@redhat.com>
22525         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22526         line.
22528 2011-07-26  Andreas Schwab  <schwab@redhat.com>
22530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22531         encoding to ACE if AI_IDN.
22533 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
22535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22536         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22538 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22540         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22541         Fix overflow bug in strncat.
22542         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22544         * string/test-strncat.c: Update.
22545         Add new tests for checking overflow bugs.
22547 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22549         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22550         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22551         * sysdeps/i386/i686/multiarch/strcat.S: New file.
22552         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22553         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22554         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22555         * sysdeps/i386/i686/multiarch/strncat.S: New file.
22556         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22557         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22559         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22560         (USE_AS_STRCAT): Define.
22561         Add strcat and strncat support.
22562         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22564 2011-07-25  Andreas Schwab  <schwab@redhat.com>
22566         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22567         __n bigger than INT_MAX+1.
22568         (__strncmp_g): Likewise.
22570 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
22572         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22573         * libio/stido.h: Likewise.
22575         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22576         (AF_NFC): Define.
22577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22578         (AF_NFC): Define.
22580         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22581         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22582         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22583         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22584         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22586         [BZ #13021]
22587         * scripts/test-installation.pl: Don't expect libnss_test1 to be
22588         installed.
22590         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22591         typo.
22592         (_dl_x86_64_save_sse): Likewise.
22594 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
22596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22597         OSXSAVE.
22598         (_dl_x86_64_save_sse): Likewise.
22600         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22602         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22604 2011-07-21  Andreas Schwab  <schwab@redhat.com>
22606         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22607         change.
22608         (_dl_x86_64_save_sse): Use correct AVX check.
22610 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22612         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22613         bug in strncpy/strncat.
22614         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22616 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
22618         * string/tester.c (test_strcat): Add tests for different alignments
22619         of source and destination.
22620         (test_strncat): Likewise.
22622 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22624         [BZ #12852]
22625         * posix/glob.c (glob): Check passed in values before using them in
22626         expressions to avoid some overflows.
22627         (glob_in_dir): Likewise.
22629         [BZ #13007]
22630         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22631         check for AVX enablement so that we don't crash with old kernels and
22632         new hardware.
22633         * elf/tst-audit4.c: Add same checks here.
22634         * elf/tst-audit6.c: Likewise.
22636         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22638 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
22640         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22642 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22644         * po/cs.po: Update from translation team.
22645         * po/bg.po: Likewise.
22647 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
22649         * misc/sys/cdefs.h: Add support for const attribute.
22650         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22651         to gnu_dev_{major,minor,makedev} functions.
22653 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
22655         * intl/dcigettext.c (get_output_charset): Add missing bracket.
22657 2011-07-20  Andreas Schwab  <schwab@redhat.com>
22659         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22660         strlen results.
22662 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22665         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22666         register in order to avoid conflicts with the soft frame pointer
22667         being held in r11 when necessary.
22668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22669         (INTERNAL_VSYSCALL_NCS): Likewise.
22671 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
22673         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22674         * elf/dl-fini.c (_dl_fini): Adjust caller.
22675         * elf/dl-close.c (_dl_close_worker): Likewise.
22676         * sysdeps/generic/ldsodefs.h: Adjust declaration.
22678 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22680         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22681         "aux_cache->nlibs < 0".
22683         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22684         in the reload-count case.
22686 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22689         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22690         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22691         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22692         * sysdeps/x86_64/multiarch/strcat.S: New file.
22693         * sysdeps/x86_64/multiarch/strncat.S: New file.
22694         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22695         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22696         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22697         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22698         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22699         (USE_AS_STRCAT): Define.
22700         Add strcat and strncat support.
22701         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22702         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22703         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22704         * string/strncat.c: Update.
22705         (USE_AS_STRNCAT): Define.
22706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22707         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22708         and i7.
22709         * sysdeps/x86_64/multiarch/init-arch.h
22710         (bit_Prefer_PMINUB_for_stringop): New.
22711         (index_Prefer_PMINUB_for_stringop): Likewise.
22712         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22713         bit_Prefer_PMINUB_for_stringop.
22715 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22717         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22718         buffer64.
22719         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22720         of casting of buffer.
22721         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22722         buffer32 and buffer64.
22723         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22724         writes instead of casting of buffer.
22725         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22726         buffer32.
22727         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22728         casting of buffer.
22730 2011-07-19  Andreas Schwab  <schwab@redhat.com>
22732         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22734 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22736         * nscd/nscd.c (termination_handler): Don't do anything for a database
22737         if it has not yet been initialized.
22739 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22741         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22743 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22745         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22747 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22749         * po/nl.po: Update from translation team.
22750         * po/sv.po: Likewise.
22752 2011-07-16  Roland McGrath  <roland@hack.frob.com>
22754         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22755         now disallowed by GCC.
22757         * configure.in (use-default-link): Default to yes if a test -shared
22758         link meets our qualifications.
22759         * configure: Regenerated.
22761         * config.make.in (output-format): New variable.
22762         * configure.in: Check for ld --print-output-format support.
22763         * configure: Regenerated.
22764         * Makerules ($(common-objpfx)format.lds)
22765         [$(output-format) != unknown]: Just use $(output-format),
22766         instead of the linker-script munging.
22768 2011-07-14  Roland McGrath  <roland@hack.frob.com>
22770         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22771         of $(common-objpfx)shlib.lds.
22772         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22774         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22775         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22777         * configure.in (-z relro check): Adjust test code to add a large
22778         writable data section after it.
22779         * configure: Regenerated.
22781 2011-07-11  Roland McGrath  <roland@hack.frob.com>
22783         * configure.in (-z relro check): Fix test code to make the variable
22784         truly const.
22785         * configure: Regenerated.
22787 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
22789         * nscd/nscd.h (struct traced_file): Define.
22790         (struct database_dyn): Remove inotify_descr, reset_res, and filename
22791         elements.  Add traced_files.
22792         (inotify_fd): Declare.
22793         (register_traced_file): Declare.
22794         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22795         (inotify_fd): Export.
22796         (resolv_conf_descr): Remove.
22797         (nscd_init): Move inotify descriptor creation to main.
22798         Don't register files for notification here.
22799         (register_traced_file): New function.
22800         (invalidate_cache): Don't use reset_res to determine whether to call
22801         res_init, go through the list of registered files.
22802         (main_loop_poll): The inotify descriptors are now stored in the
22803         structures for the traced files.
22804         (main_loop_epoll): Likewise
22805         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
22806         to __nss_disable_nscd.
22807         * nscd/cache.c (prune_cache): There is no single inotify descriptor
22808         for a database anymore.  Check the records for all the registered
22809         files instead.
22810         * nss/Makefile (libnss_files-routines): Add files-init.
22811         (libnss_db-routines): Add db-init.
22812         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22813         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22814         * nss/nss_db/db-init.c: New file.
22815         * nss/nss_files/files-init.c: New file.
22816         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
22817         __nss_lookup_function.
22818         (__nss_lookup_function): Call nss_load_library.
22819         (nss_load_all_libraries): New function.
22820         (__nss_disable_nscd): Take parameter with callback function for files
22821         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
22822         used for the cached services.
22823         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22824         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22825         options for features to all the files in nscd.
22827         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22829 2011-07-10  Roland McGrath  <roland@hack.frob.com>
22831         * csu/elf-init.c (__libc_csu_init): Comment typo.
22833 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
22835         * po/pl.po: Update from translation team.
22836         * po/ja.po: Likewise.
22837         * po/ru.po: Likewise.
22838         * po/ko.po: Likewise.
22839         * po/fr.po: Likewise.
22841 2011-07-09  Roland McGrath  <roland@hack.frob.com>
22843         * configure.in (.ctors/.dtors header and trailer check):
22844         Use an empirical test on a built program.
22845         * configure: Regenerated.
22847         * configure.in (-z relro check): Use an empirical test on a built DSO.
22848         Detect, but do not require, on ia64.
22849         * configure: Regenerated.
22851         * configure.in (READELF): Find it with AC_CHECK_TOOL.
22852         Update tests that use readelf to use $READELF instead.
22853         * configure: Regenerated.
22855 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
22857         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22858         if the result is not used.
22860 2011-07-05  Andreas Jaeger  <aj@suse.de>
22862         [BZ#9696]
22863         * stdlib/tst-strtod.c: Add testcase.
22865 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
22867         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22868         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22869         The latter has a higher limit.  Take additional parameter to pass to
22870         the new function.
22871         (__pathconf): Pass file to __statfs_link_max.
22872         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22873         __statfs_link_max.
22874         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22875         __statfs_link_max.
22877         [BZ #12868]
22878         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22879         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22880         Handle Lustre.
22881         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22882         (__statfs_filesize_max): Likewise.
22883         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22885 2011-07-05  Andreas Jaeger  <aj@suse.de>
22887         * resolv/res_comp.c (dn_skipname): Remove unused variable.
22889 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
22891         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22892         `status' variable.
22893         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22894         Likewise.
22896 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
22898         * Makefile (strop-tests): Add strncat.
22899         * string/test-strncat.c: New file.
22901 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
22903         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22905 2011-06-21  Andreas Jaeger  <aj@suse.de>
22907         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22908         Copy rule from iconvdata/Makefile.
22910 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
22912         [BZ #12922]
22913         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22914         but no long options are defined, just return 'W'.
22916 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
22918         [BZ #9696]
22919         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22921 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
22923         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22924         netgroups to read.
22925         (innetgr): Likewise.
22927 2011-07-05  Roland McGrath  <roland@hack.frob.com>
22929         * config.make.in (install_root): Default to $(DESTDIR).
22931 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
22933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22935 2011-07-02  Roland McGrath  <roland@hack.frob.com>
22937         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22939         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22940         containing directory rather than embedding absolute directory names.
22942         * scripts/check-local-headers.sh: Rewritten using awk.
22943         Match by word, not by line.  Print error messages for matches.
22944         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22946         * Makerules [shlib-lds-flags empty]:
22947         ($(common-objpfx)libc_pic.opts): New target.
22948         ($(common-objpfx)libc_pic.os.clean): New target.
22949         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22951         * config.make.in (OBJCOPY): New variable.
22952         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22953         * configure: Regenerated.
22955         * config.make.in (use-default-link): New variable.
22956         * configure.in (use_default_link): Grok --with-default-link to set it.
22957         * configure: Regenerated.
22958         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22959         (shlib-lds, shlib-lds-flags): Define to empty.
22961         * Makerules (shlib-lds): New variable.
22962         (shlib-lds-flags): New variable.
22963         (build-shlib, build-moduile, build-module-asneeded): Use it.
22964         ($(common-objpfx)libc.so): Use $(shlib-lds).
22965         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22966         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22968         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22969         DT_FLAGS/DT_FLAGS_1 with zero flags.
22971         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22972         linker script munging.
22974 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
22976         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22977         as 128-bit value.
22978         * crypt/sha512.c (sha512_process_block): Perform total addition using
22979         128-bit if possible.
22980         (__sha512_finish_ctx): Likewise.
22981         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22982         as 64-bit value.
22983         * crypt/sha256.c (SWAP64): Define.
22984         (sha256_process_block): Perform total addition using 64-bit if
22985         possible.
22986         (__sha256_finish_ctx): Likewise.
22988 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
22990         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
22991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22992         * nscd/hstcache.c (cache_addhst): Likewise.
22993         * nscd/grpcache.c (cache_addgr): Likewise.
22994         * nscd/aicache.c (addhstaiX): Likewise
22995         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22997 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
22999         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23000         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23001         * nscd/hstcache.c (cache_addhst): Likewise.
23002         * nscd/grpcache.c (cache_addgr): Likewise.
23003         * nscd/aicache.c (addhstaiX): Likewise
23005 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23007         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23008         domain only when needed.
23010 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23012         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23013         is always restored.
23015 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23017         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23018         are re-adding the entry.
23019         * nscd/servicescache.c (cache_addserv): Likewise.
23021 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23023         * sysdeps/generic/dl-irel.h: fix protection against multiple
23024         inclusions.
23025         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23027 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23029         [BZ #12935]
23030         * malloc/memusage.sh: Fix quoting in message.
23031         * debug/xtrace.sh: Likewise.
23033         * configure.in: Remove support for --experimental-malloc option, make
23034         it the default.
23035         * config.make.in: Likewise.
23036         * malloc/Makefile: Likewise.
23038 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23040         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23041         two-byte characters.
23043 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23045         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23046         AC_CACHE_CHECK invocation.
23047         * configure: Regenerated.
23049         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23051 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23053         [BZ #12350]
23054         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23055         bit from old_res_options.
23057         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23059         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23060         value type for setfct.
23062 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23064         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23065         __gettimeofday instead of gettimeofday.
23067 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23069         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23071 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23076         info.
23078 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23080         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23081         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23082         strcpy-sse2-unaligned strncpy-sse2-unaligned
23083         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23084         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23085         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23086         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23087         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23088         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23089         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23090         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23091         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23092         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23093         (STRCPY): Support SSE2 and SSSE3 versions.
23095 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23097         [BZ #12874]
23098         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23099         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23100         kernels which artificially limit size of requests.
23102 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23105         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23106         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23107         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23108         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23109         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23110         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23111         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23112         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23113         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23114         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23115         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23116         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23117         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23118         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23120         Enable unaligned load optimization for Intel Core i3, i5 and i7
23121         processors.
23122         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23123         Define.
23124         (index_Fast_Unaligned_Load): Define.
23125         (HAS_FAST_UNALIGNED_LOAD): Define.
23127 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23129         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23131 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23133         [BZ #12907]
23134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23135         until it is clear that the information is realy needed.
23136         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23138 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23140         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23142 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23145         /sys/devices/system/cpu/online if it is usable.
23147         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23148         reading the information from the /proc filesystem to once a second.
23150 2011-06-21  Andreas Jaeger  <aj@suse.de>
23152         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23153         NULL after inclusion of kernel headers.
23155 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23157         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23158         calls to internal_setent.
23160         [BZ #12885]
23161         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23162         addresses using gethostbyname4_r ignore IPv4 addresses.
23164         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23165         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23167         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23169 2011-06-20  David S. Miller  <davem@davemloft.net>
23171         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23172         inclusions.
23173         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23175         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23176         (elf_irel): Use it.
23177         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23178         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23179         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23180         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23181         * sysdeps/x86_64/dl-irel.h: Likewise.
23183         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23184         * elf/dl-sym.c: Likewise.
23186 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23188         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23189         need to dereference resplen2.
23191 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23193         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23195 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23197         * Makeconfig: Define vardbdir and inst_vardbdir.
23198         * nss/Makefile: Add rules to install db-Makefile.
23200         * nss/nss_db/db-XXX.c: Cleanup.
23202         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23203         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23204         GLIBC_PRIVATE.
23205         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23206         * nss/makedb.c: Implement -g option to specify that value strings
23207         are generated and should not be added to table iterated over for
23208         get*ent calls.
23209         * nss/nss_db/db-initgroups.c: New file.
23211         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23212         interface.
23214         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23215         (internal_getgrouplist): Adjust to name change.
23216         Update use_initgroups_entry if this is not the first call.
23217         * nss/databases.def: Add initgroups entry.
23219         * nss/makedb.c (compute_tables): Check result of multiple hash table
23220         sizes to minimize maximum chain length.
23222 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23224         * Versions.def: Add entry for libnss_db.
23225         * shlib-versions: Likewise.
23226         * nss/Makefile: Add rules to build libnss_db.
23227         * nss/Versions: Add libnss_db information.  Organize libnss_files
23228         entries better.
23229         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23230         makedb progra.  Some minor improvements to generate smaller files.
23231         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23232         here from...
23233         * nss/makedb.c: ...here.
23234         Improve database format to be smaller and require less memory at
23235         runtime.
23236         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23237         db anymore.
23238         * nss/nss_db/db-netgrp.c: Likewise.
23239         * nss/nss_db/db-open.c: Likewise.
23240         * nss/nss_files/flies-XXX.x: Adjust comments.
23241         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23242         * nss/nss_files/files-grp.c: Likewise.
23243         * nss/nss_files/files-hosts.c: Likewise.
23244         * nss/nss_files/files-network.c: Likewise.
23245         * nss/nss_files/files-proto.c: Likewise.
23246         * nss/nss_files/files-pwd.c: Likewise.
23247         * nss/nss_files/files-rpc.c: Likewise.
23248         * nss/nss_files/files-service.c: Likewise.
23249         * nss/nss_files/files-sgrp.c: Likewise.
23250         * nss/nss_files/files-spwd.c: Likewise.
23251         * nss/nss_db/db-alias.c: Removed.
23252         * nss/nss_db/dummy-db.h: Removed.
23254 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23256         * nss/makedb.c: Rewritten to not use database library.
23257         * nss/Makefile: Update to build new makedb program.
23259 2011-06-14  Andreas Jaeger  <aj@suse.de>
23261         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23262         memset declaration.
23264 2011-06-10  Andreas Schwab  <schwab@redhat.com>
23266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23267         tmpbuf.
23269 2011-06-10  Roland McGrath  <roland@hack.frob.com>
23271         * Makerules (shlib.lds): Fail if the linker script comes out empty.
23272         * elf/Makefile ($(objpfx)ld.so): Likewise.
23274         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23275         Don't list ld.so twice in dependencies.
23277         * posix/bug-regex31.c: Include <stdlib.h>.
23279         * nscd/hstcache.c (cache_addhst): Remove unused variable.
23281         * nis/nss_compat/compat-spwd.c
23282         (getspent_next_nss_netgr): Remove unused variable.
23283         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23285         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23286         nonmembers" output to use the right array.
23288         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23290         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23292         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23293         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23294         * catgets/gencat.c (read_input_file): Likewise.
23295         * locale/programs/locarchive.c (enlarge_archive): Likewise.
23297         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23298         variable definition inside #if's controlling its use.
23300         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23302         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23304         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23306         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23307         unreachable code.
23309         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23311         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23312         * configure: Regenerated.
23314         * Makerules: Revert last change.
23315         * elf/Makefile: Likewise.
23317 2011-06-09  Roland McGrath  <roland@hack.frob.com>
23319         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23320         * elf/Makefile ($(objpfx)librtld.os): Likewise.
23321         (reloc-link): Likewise.
23323 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
23325         * elf/Makefile: Add rules to build pldd.
23326         * elf/pldd.c: New file.
23327         * elf/pldd-xx.c: New file.
23329 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
23331         * version.h: Update for 2.15 development version.
23333 2011-06-07  David S. Miller  <davem@davemloft.net>
23335         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23336         ifuncs.
23337         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23338         elf_machine_lazy_rel): Likewise.
23339         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23340         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23341         elf_machine_lazy_rel): Likewise.
23342         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23343         dl_hwcap via passed in argument.
23344         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23345         Likewise.
23347 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23349         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
23351 2011-06-06  Roland McGrath  <roland@hack.frob.com>
23353         [BZ #12849]
23354         * manual/fdl-1.1.texi: New file, verbatim from:
23355         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23356         * manual/lgpl-2.1.texi: New file, verbatim from:
23357         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23358         * manual/Makefile (licenses): New variable, list those new file names.
23359         (texis): Use it.
23360         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23362         * manual/fdl.texi: File removed.
23363         * manual/lesser.texi: File removed.
23364         * manual/libc.texinfo (Copying, Documentation License):
23365         Use new @include file names, put @appendix directive before @include.
23367 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
23369         [BZ #12841]
23370         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23371         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23372         (mq_open): Add __NTH.
23374 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
23376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23377         Assume Intel Core i3/i5/i7 processor if AVX is available.
23379 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23382         typo.
23384 2011-05-31  Andreas Schwab  <schwab@redhat.com>
23386         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23387         memory.  Use alloca_account.  Fix memory leak when retrying.
23389 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23391         * version.h (RELEASE): Bump for 2.14 release.
23392         * include/features.h (__GLIBC_MINOR__): Bump to 14.
23394         * config.make.in (RANLIB): Remove entry.
23396 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
23398         * po/Makefile (po-sed-cmd): Add ksh to extensions.
23399         (libc.pot): Work around missing support for .ksh extension in xgettext.
23401         [BZ #12684]
23402         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23403         if both request failed.
23404         (send_dg): In case of server errors clear resplen or *resplen2.
23406         [BZ #12454]
23407         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23408         when there are multiple maps.
23409         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23410         (_dl_fini): Remove test here.
23412         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23414 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
23416         [BZ #12350]
23417         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23418         bit from old_res_options.
23419         (gaih_inet): Likewise.
23421         [BZ #11099]
23422         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23423         as signed.
23425         * resolv/res_init.c (res_setoptions): Make the code more compact.
23427         [BZ #11558]
23428         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23429         set RES_USEVC.
23431         [BZ #11634]
23432         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23434         * malloc/malloc.h: Mark malloc hook variables as deprecated.
23436         [BZ #11781]
23437         * malloc/malloc.h: Declare malloc hook variables as volatile.
23439         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23440         in last patch.
23442         [BZ #11799]
23443         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23444         raise in the comment.
23445         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23447         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23449 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
23451         [BZ #12811]
23452         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23453         grow the buffers more if it already has to be sufficient.
23454         (build_wcs_upper_buffer): Likewise.
23455         * posix/regexec.c (check_matching): Likewise.
23456         (clean_state_log_if_needed): Likewise.
23457         (extend_buffers): Don't enlarge buffers beyond size of the input
23458         buffer.
23459         Patches mostly by Emil Wojak <emil@wojak.eu>.
23460         * posix/bug-regex32.c: New file.
23461         * posix/Makefile (tests): Add bug-regex32.
23463         * locale/findlocale.c (_nl_find_locale): Return right away if
23464         _nl_explode_name failed.
23465         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23467         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23469         * debug/xtrace.sh: Unify messages.
23470         * malloc/memusage.sh: Likewise.
23472         [BZ #12813]
23473         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23474         time symbol from vDSO.  Substitute with vsyscall if not available.
23475         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23476         __vdso_time.
23478         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23479         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23480         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23481         Add sendmmsg and internal_sendmmsg.
23482         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23483         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23484         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23486         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23487         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23488         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23490 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
23492         [BZ #12813]
23493         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23494         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
23495         available.
23496         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23497         __vdso_getcpu.
23499         [BZ #12814]
23500         * iconvdata/Makefile (tests): Add bug-iconv9.
23501         * iconvdata/bug-iconv9.c: New file.
23503 2011-05-27  Andreas Schwab  <schwab@redhat.com>
23505         [BZ #12814]
23506         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23508 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
23510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23511         (struct user_regs_struct): Change intcs field back to cs.
23513 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
23515         * po/ja.po: Update from translation team.
23517 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
23519         [BZ #12795]
23520         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23521         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23523 2011-05-20  Andreas Schwab  <schwab@redhat.com>
23525         * stdlib/longlong.h: Update from GCC.
23527 2011-05-23  Andreas Schwab  <schwab@redhat.com>
23529         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23530         parameter name.
23531         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23532         Add parameter name.
23533         (__sysconf): Pass it down.
23535 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
23537         [BZ #12671]
23538         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23539         some situations.
23540         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23541         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23542         add in in __libc_use_alloca calls.  Adjust callers.
23543         (glob): Use malloc in some situations.
23545         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23546         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23547         pltexit.
23549 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
23551         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23552         and CLOCK_BOOTTIME_ALARM.
23554         [BZ #12782]
23555         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23556         is returned.
23558         * string/_strerror.c (__strerror_r): Print negative errors as signed
23559         numbers.
23561         [BZ #12777]
23562         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23563         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23564         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23566         * configure.in: Fix typo in redirection and correct removal of test
23567         files in two cases.
23569         [BZ #12788]
23570         * locale/setlocale.c (new_composite_name): Fix test to check for
23571         identical name of all categories.
23573         [BZ #12792]
23574         * libio/filedoalloc.c (local_isatty): New function.
23575         (_IO_file_doallocate): Use local_isatty.
23576         * stdio-common/perror.c (perror): In case a new stream is used
23577         forward the stream error.
23578         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23579         error flag.
23581 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
23583         [BZ #11869]
23584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23585         alloca.
23586         * include/alloca.h (extend_alloca_account): Define.
23588         [BZ #11857]
23589         * posix/regex.h: Fix comments with documentation of user-accessible
23590         fields after compilation and describe correct free'ing of pattern
23591         after re_compile_pattern.
23592         Patch by Reuben Thomas <rrt@sc3d.org>.
23594 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
23596         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23597         and -mno-altivec to prevent the compiler from using Altivec and/or
23598         VSX instructions when the corresponding registers are not available.
23600 2011-05-19  Andreas Schwab  <schwab@redhat.com>
23602         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23604 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
23606         * libio/freopen.c (freopen): Use __dup2, not dup2.
23607         * libio/freopen64.c (freopen64): Likewise.
23609 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23611         [BZ #12775]
23612         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23613         * math/Makefile (tests): Add test-powl.
23614         (CFLAGS-test-powl.c): Define.
23615         * math/test-powl.c: New file.
23617 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23619         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23621 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
23623         [BZ #11837]
23624         * iconvdata/gb18030.c: Update to GB18020-2005.
23626 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
23628         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23629         RE_SYNTAX_POSIX_AWK): Update to match recent development.
23630         Patch by Aharon Robbins <arnold@skeeve.com>.
23632         [BZ #11892]
23633         * stdlib/putenv.c (putenv): Don't always create copy of the variable
23634         on the stack.
23636         [BZ #11895]
23637         * misc/pselect.c (__pselect): Handle timeout value errors hidden
23638         through underflows.
23640         [BZ #12766]
23641         * misc/error.c (error_at_line): Ensure file_name and old_file_name
23642         point to strings before performing equality test for error_one_per_line
23643         mode.
23645         [BZ #11697]
23646         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23648         [BZ #11820]
23649         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23650         (struct user_fpregs_struct): Avoid __uint*_t types.
23652         [BZ #6420]
23653         * malloc/mtrace.c (tr_where): Add additional parameter to point to
23654         symbol info.  Use it instead of calling _dl_addr locally.
23655         (lock_and_info): New function.
23656         (tr_freehook): Call lock_and_info and pass symbol info as additional
23657         parameter to tr_where.
23658         (tr_mallochook): Likewise.
23659         (tr_reallochook): Likewise.
23660         (tr_memalignhook): Likewise.
23662         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
23663         used and couldn't be at all thread-safe.
23665 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
23667         * libio/freopen.c (freopen): Don't close old file descriptor
23668         before the new one is opened.  Instead dup the new file descriptor
23669         to the old one after the new stream is created.
23670         * libio/freopen64.c (freopen64): Likewise.
23671         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23672         * libio/fileops.c (_IO_new_file_close_it): Handle new
23673         _IO_FLAGS2_NOCLOSE flag.
23674         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23675         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23676         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23677         _IO_FLAGS2_NOCLOSE flag.
23678         * include/unistd.h: Add hidden_proto for dup3.
23679         Define __have_dup3.
23680         * io/dup3.c: Define hidden symbol.
23681         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23683         [BZ #7101]
23684         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23685         when an incomplete long option is used.
23686         * posix/tst-getopt_long1.c: New file.
23687         * posix/Makefile (tests): Add tst-getopt_long1.
23689         [BZ #10138]
23690         * scripts/config.guess: Update from autoconf-2.68.
23691         * scripts/config.sub: Likewise.
23693         [BZ #10157]
23694         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23695         tests into ...
23696         (has_cpuclock): ...this.  New function.
23697         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23698         macro here based on has_cpuclock code.
23700         [BZ #10149]
23701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23702         First byte (not low byte) is now always NUL.
23703         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23705         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23706         Use non-cancelable interfaces.
23708         [BZ #9809]
23709         * locale/iso-639.def: Add entry for Sorani.
23711         [BZ #11901]
23712         * include/stdlib.h: Move include protection to the right place.
23713         Define abort_msg_s.  Declare __abort_msg with it.
23714         * stdlib/abort.c (__abort_msg): Adjust type.
23715         * assert/assert.c (__assert_fail_base): New function.  Majority
23716         of code from __assert_fail.  Allocate memory for __abort_msg with
23717         mmap.
23718         (__assert_fail): Now call __assert_fail_base.
23719         * assert/assert-perr.c: Remove bulk of implementation.  Use
23720         __assert_fail_base.
23721         * include/assert.hL Declare __assert_fail_base.
23722         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23723         mmap.
23724         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23726 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
23728         [BZ #11952]
23729         [BZ #12453]
23730         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23731         until all modules are registered in the DTV.
23732         * elf/Makefile: Add rules to build and run tst-tls19.
23733         * elf/tst-tls19.c: New file.
23734         * elf/tst-tls19mod1.c: New file.
23735         * elf/tst-tls19mod2.c: New file.
23736         * elf/tst-tls19mod3.c: New file.
23737         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23739         [BZ #12083]
23740         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23741         correctly.
23743         [BZ #12601]
23744         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23745         two-byte sequence errors.
23746         * iconvdata/Makefile (tests): Add bug-iconv8.
23747         * iconvdata/bug-iconv8.c: New file.
23749         [BZ #12626]
23750         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23751         buf2 definition.
23753         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23755         [BZ #12432]
23756         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23757         (dummy_getcfa): New function.
23758         (init): Get _Unwind_GetCFA address, use dummy if not found.
23759         (backtrace_helper): In recursion check, also check whether CFA changes.
23760         (__backtrace): Completely initialize arg.
23762         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23763         storing incomplete byte sequence in state object.  Avoid testing for
23764         guaranteed too small input if we know there is enough data available.
23766 2011-05-11  Andreas Schwab  <schwab@redhat.com>
23768         * Makeconfig (+link-pie): Indent.
23769         * Rules (binaries-pie): Define if $(have-fpie) and
23770         $(build-shared).
23771         (binaries-shared): Also filter out $(binaries-pie).
23772         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23773         * nscd/Makefile (others-pie): Add nscd.
23774         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23775         ($(objpfx)nscd): Remove command override.
23776         * login/Makefile (others-pie): Add pt_chown.
23777         ($(objpfx)pt_chown): Remove command override.
23778         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23779         remove command overrides.
23781 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
23783         * libio/tst_putwc.c: Fix error messages.
23785         [BZ #12724]
23786         * libio/fileops.c (_IO_new_file_close_it): Always flush when
23787         currently writing and seek to current position when not.
23788         * libio/Makefile (tests): Add bug-fclose1.
23789         * libio/bug-fclose1.c: New file.
23791 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
23793         [BZ #12511]
23794         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23795         don't set DF_1_NODELETE here.
23796         (do_lookup_x): When entering new entry test for copy relocation
23797         and if necessary set DF_1_NODELETE flag.
23798         * elf/tst-unique4.cc: New file.
23799         * elf/tst-unique4.h: New file.
23800         * elf/tst-unique4lib.cc: New file.
23801         * elf/Makefile: Add rules to build and run tst-unique4.
23802         Patch by Piotr Bury <pbury@goahead.com>.
23804 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
23806         [BZ #12052]
23807         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23809         [BZ #12625]
23810         * misc/mntent_r.c (addmntent): Flush the stream after the output
23812         [BZ #12393]
23813         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23814         (is_trusted_path_normalize): Skip initial colon.  Append slash
23815         to empty buffer.  Duplicate is_trusted_path code but allow
23816         constructed patch to be prefix.
23817         (is_dst): Allow $ORIGIN followed by /.
23818         (_dl_dst_substitute): Correct clearing of check_for_trusted.
23819         Correct testing of result of is_trusted_path_normalize
23820         (decompose_rpath): Fix warning.
23822 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
23824         [BZ #11257]
23825         * grp/initgroups.c (internal_getgrouplist): When we found the service
23826         list through the initgroups entry in nsswitch.conf do not always
23827         continue on a successful lookup.  Don't always use the
23828         __nss_group_database value if it is set.
23829         * nss/nsswitch.conf (initgroups): Change action for successful db
23830         lookup to continue for compatibility.
23832 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
23834         [BZ #11532]
23835         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23836         and CP774 modules.
23837         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23838         and CP774 modules.
23839         * iconvdata/tst-tables.sh: Likewise.
23840         * iconvdata/cp770.c: New file.
23841         * iconvdata/cp771.c: New file.
23842         * iconvdata/cp772.c: New file.
23843         * iconvdata/cp773.c: New file.
23844         * iconvdata/cp774.c: New file.
23845         * iconvdata/testdata/CP770: New file.
23846         * iconvdata/testdata/CP770..UTF8: New file.
23847         * iconvdata/testdata/CP771: New file.
23848         * iconvdata/testdata/CP771..UTF8: New file.
23849         * iconvdata/testdata/CP772: New file.
23850         * iconvdata/testdata/CP772..UTF8: New file.
23851         * iconvdata/testdata/CP773: New file.
23852         * iconvdata/testdata/CP773..UTF8: New file.
23853         * iconvdata/testdata/CP774: New file.
23854         * iconvdata/testdata/CP774..UTF8: New file.
23856         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23857         END CHARMAP line.
23858         * iconvdata/gen-8bit-gap.sh: Likewise.
23859         * iconvdata/gen-8bit.sh: Likewise.
23861         * locale/iso-639.def: Add ary entry.
23863         [BZ #11258]
23864         * locale/C-translit.h.in: Add U20A1 transliteration.
23866         [BZ #12178]
23867         * locale/iso-639.def: Add wae entry.
23868         Patch by Kevin Bortis <bortis@translate-wae.ch>.
23870         [BZ #12545]
23871         * locale/programs/localedef.c (construct_output_path): Use ssize_t
23872         for n.
23874         [BZ #12711]
23875         * locale/C-translit.h.in: Add entry for U20B9.
23876         Patch by pravin.d.s@gmail.com.
23878 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
23880         [BZ #12713]
23881         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23882         ENAMETOOLONG use generic getcwd.
23883         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
23884         in rtld.  Use *stat64.
23885         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23886         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23887         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23888         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23889         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23890         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23891         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23892         __fstatat64 macros.
23893         * include/dirent.h: Add libc_hidden_proto for rewinddir.
23894         * dirent/rewinddir.c: Add libc_hidden_def.
23895         * sysdeps/mach/hurd/rewinddir.c: Likewise.
23896         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
23898         * include/dirent.h (__alloc_dir): Add flags parameter.
23899         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23900         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23901         __alloc_dir.
23902         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
23903         from fdopendir if O_CLOEXEC is already set.
23905 2011-03-15  Alan Modra  <amodra@gmail.com>
23907         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23908         l_tls_firstbyte_offset non-zero.  Save padding offset in
23909         l_tls_firstbyte_offset for later use.
23910         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23911         freeing static tls block.
23913 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
23915         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23916         where #ifdef was intended.  The intent is to prevent ARG_MAX from
23917         being defined by the kernel headers.
23919 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
23921         [BZ #12734]
23922         * resolv/resolv.h: Define RES_NOTLDQUERY.
23923         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23924         no-tld-query and set RES_NOTLDQUERY.
23925         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23926         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23927         modern BIND to search name as TLD unless forbidden.
23929 2011-05-07  Petr Baudis  <pasky@suse.cz>
23930             Ulrich Drepper  <drepper@gmail.com>
23932         [BZ #12393]
23933         * elf/dl-load.c (fillin_rpath): Move trusted path check...
23934         (is_trusted_path): ...to here.
23935         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23936         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23937         using is_trusted_path_normalize() in setuid scripts.
23939 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23941         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23942         __BEGIN/__END_DECLS.
23944 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
23946         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23947         NSS_STATUS_NOTFOUND if no record was found.
23949 2011-05-05  Andreas Schwab  <schwab@redhat.com>
23951         * sunrpc/Makefile (headers): Add rpc/netdb.h.
23952         (headers-not-in-tirpc): Remove rpc/netdb.h
23953         * resolv/netdb.h: Revert last change.
23955 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23957         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23958         circular dependency between libgcc.a and libc.a.
23960 2011-05-05  Andreas Schwab  <schwab@redhat.com>
23962         * resolv/netdb.h: Don't include <rpc/netdb.h>.
23963         * nis/Makefile: Don't install rpcsvc/*.
23964         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23965         instead of <rpc/types.h>.
23966         (MAXHOSTNAMELEN): Define.
23968 2011-05-03  Andreas Schwab  <schwab@redhat.com>
23970         * elf/ldconfig.c (add_dir): Don't crash on empty path.
23972 2011-04-28  Maciej Babinski  <mbabinski@google.com>
23974         [BZ #12714]
23975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23976         gethostbyname4_r when IPv6 results are possible.
23978 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
23980         [BZ #12723]
23981         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23982         _PC_PIPE_BUF handling.
23984 2011-04-30  Bruno Haible  <bruno@clisp.org>
23986         [BZ #12717]
23987         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23988         * resolv/netdb.h (getnameinfo): Change type of flags parameter
23989         to 'int'.
23990         * inet/getnameinfo.c (getnameinfo): Likewise.
23992 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
23994         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23995         to groups setting in database lookup.
23996         * nss/nsswitch.conf: Add initgroups entry.
23998 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24000         [BZ #12685]
24001         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24002         mode string.
24003         Patch by Eric Blake <eblake@redhat.com>.
24005 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24007         * sunrpc/Makefile (need-export-routines): Add svc_run.
24008         (routines): Remove svc_run.
24009         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24010         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24011         * sunrpc/svc_run.c (svc_run): Likewise.
24012         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24014 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24016         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24017         problem in reallocation in last patch.
24019 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24021         * sunrpc/Makefile: Move inclusion of Rules.
24023 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24025         * nss/nss_files/files-initgroups.c: New file.
24026         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24027         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24028         _nss_files_initgroups_dyn.
24030 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24032         * elf/elf.h (R_ARM_IRELATIVE): Define.
24034 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24036         * po/ru.po: Update from translation team.
24038 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24040         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24041         dependencies.
24043 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24045         [BZ #12653]
24046         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24047         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24048         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24050         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24052 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24054         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24055         differing bytes.
24056         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24058         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24060 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24062         [BZ #12420]
24063         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24064         storing it.
24065         * stdlib/bug-getcontext.c: New file.
24066         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24068 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24070         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24071         instructions into .machine "z9-109".
24072         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24073         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24075 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24077         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24078         between environment variables and auxiliary vector.
24080 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24082         * Makefile: Add rules to build linkobj/libc.so.
24083         * include/libc-symbols.h: Define libc_hidden_nolink.
24084         * include/rpc/auth.h: Mark functions which are to be hidden.
24085         * include/rpc/auth_des.h: Likewise.
24086         * include/rpc/auth_unix.h: Likewise.
24087         * include/rpc/clnt.h: Likewise.
24088         * include/rpc/des_crypt.h: Likewise.
24089         * include/rpc/key_prot.h: Likewise.
24090         * include/rpc/pmap_clnt.h: Likewise.
24091         * include/rpc/pmap_prot.h: Likewise.
24092         * include/rpc/pmap_rmt.h: Likewise.
24093         * include/rpc/rpc_msg.h: Likewise.
24094         * include/rpc/svc.h: Likewise.
24095         * include/rpc/svc_auth.h: Likewise.
24096         * include/rpc/xdr.h: Likewise.
24097         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24098         * nss/Makefile: Likewise.
24099         * sunrpc/Makefile: Don't install headers.  Build library with normal
24100         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24101         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24102         for the compat linking library.  Remove use of INTDEF/INTUSE.
24103         * sunrpc/auth_none.c: Likewise.
24104         * sunrpc/auth_unix.c: Likewise.
24105         * sunrpc/authdes_prot.c: Likewise.
24106         * sunrpc/authuxprot.c: Likewise.
24107         * sunrpc/clnt_gen.c: Likewise.
24108         * sunrpc/clnt_perr.c: Likewise.
24109         * sunrpc/clnt_raw.c: Likewise.
24110         * sunrpc/clnt_simp.c: Likewise.
24111         * sunrpc/clnt_tcp.c: Likewise.
24112         * sunrpc/clnt_udp.c: Likewise.
24113         * sunrpc/clnt_unix.c: Likewise.
24114         * sunrpc/des_crypt.c: Likewise.
24115         * sunrpc/des_soft.c: Likewise.
24116         * sunrpc/get_myaddr.c: Likewise.
24117         * sunrpc/key_call.c: Likewise.
24118         * sunrpc/key_prot.c: Likewise.
24119         * sunrpc/netname.c: Likewise.
24120         * sunrpc/pm_getmaps.c: Likewise.
24121         * sunrpc/pm_getport.c: Likewise.
24122         * sunrpc/pmap_clnt.c: Likewise.
24123         * sunrpc/pmap_prot.c: Likewise.
24124         * sunrpc/pmap_prot2.c: Likewise.
24125         * sunrpc/pmap_rmt.c: Likewise.
24126         * sunrpc/publickey.c: Likewise.
24127         * sunrpc/rpc_cmsg.c: Likewise.
24128         * sunrpc/rpc_common.c: Likewise.
24129         * sunrpc/rpc_dtable.c: Likewise.
24130         * sunrpc/rpc_prot.c: Likewise.
24131         * sunrpc/rpc_thread.c: Likewise.
24132         * sunrpc/rtime.c: Likewise.
24133         * sunrpc/svc.c: Likewise.
24134         * sunrpc/svc_auth.c: Likewise.
24135         * sunrpc/svc_authux.c: Likewise.
24136         * sunrpc/svc_raw.c: Likewise.
24137         * sunrpc/svc_run.c: Likewise.
24138         * sunrpc/svc_simple.c: Likewise.
24139         * sunrpc/svc_tcp.c: Likewise.
24140         * sunrpc/svc_udp.c: Likewise.
24141         * sunrpc/svc_unix.c: Likewise.
24142         * sunrpc/svcauth_des.c: Likewise.
24143         * sunrpc/xcrypt.c: Likewise.
24144         * sunrpc/xdr.c: Likewise.
24145         * sunrpc/xdr_array.c: Likewise.
24146         * sunrpc/xdr_float.c: Likewise.
24147         * sunrpc/xdr_intXX_t.c: Likewise.
24148         * sunrpc/xdr_mem.c: Likewise.
24149         * sunrpc/xdr_rec.c: Likewise.
24150         * sunrpc/xdr_ref.c: Likewise.
24151         * sunrpc/xdr_sizeof.c: Likewise.
24152         * sunrpc/xdr_stdio.c: Likewise.
24154 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24156         [BZ #12650]
24157         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24158         * sysdeps/ia64/dl-tls.h: Likewise.
24159         * sysdeps/powerpc/dl-tls.h: Likewise.
24160         * sysdeps/s390/dl-tls.h: Likewise.
24161         * sysdeps/sh/dl-tls.h: Likewise.
24162         * sysdeps/sparc/dl-tls.h: Likewise.
24163         * sysdeps/x86_64/dl-tls.h: Likewise.
24164         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24166 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24168         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24169         rpath element also skip the following colon.
24170         (expand_dynamic_string_token): Add is_path parameter and pass
24171         down to DL_DST_REQUIRED and _dl_dst_substitute.
24172         (decompose_rpath): Call expand_dynamic_string_token with
24173         non-zero is_path.  Ignore empty rpaths.
24174         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24175         with zero is_path.
24177 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24180         Make cancelable.
24182 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24184         [BZ #12655]
24185         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24186         Patch by Filipe David Manana <fdmanana@apache.org>.
24188 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24190         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24191         Maintain aligned stack.
24192         (CHECK_RSP): Remove unused macro.
24194 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24196         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24197         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24199 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24201         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24203         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24205 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24207         [BZ #12518]
24208         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24209         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24210         * sysdeps/x86_64/memmove.c: New file.
24211         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24212         (memcpy): Renamed to ...
24213         (__new_memcpy): This.
24214         (memcpy): Provide GLIBC_2_14 memcpy.
24215         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24216         (memcpy): Provide GLIBC_2_2_5 memcpy.
24218 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24220         [BZ #12631]
24221         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24223 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24225         * misc/syncfs.c: New file.
24226         * misc/Makefile (routines): Add syncfs.
24227         * posix/unistd.h: Declare syncfs.
24228         * sysdeps/unix/syscalls.list: Add syncfs.
24230 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24232         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24233         open_by_handle_at.
24234         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24235         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24237         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24239         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24242 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24245         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24246         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24248         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24252         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24253         sync_file_range.c with -fexceptions.
24254         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24255         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24256         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24257         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24258         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24259         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24261         sync_file_range as cancellation point
24262         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
24263         now a wrapper around __call_sync_file_range with cancellation handling.
24264         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24265         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
24266         function name to __call_sync_file_range.
24267         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24268         Add call_sync_file_range.
24270 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24273         bits/timex.h.
24275 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24277         * iconv/iconv.h: Fix typo in comment.
24278         * io/fcntl.h: Likewise.
24279         * libio/stdio.h: Likewise.
24280         * posix/spawn.h: Likewise.
24281         * posix/unistd.h: Likewise.
24282         * stdlib/stdlib.h: Likewise.
24283         * time/time.h: Likewise.
24284         * wcsmbs/wchar.h: Likewise.
24286         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24287         open_by_handle): Add.
24288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24289         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
24290         Augment a few comments.
24291         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24293         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24296         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24297         open_by_handle.
24299         * io/fcntl.h (AT_EMPTY_PATH): Define.
24301 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
24303         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24304         * sysdeps/unix/sysv/linux/bits/time.h: New file.
24305         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24306         to...
24307         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
24308         * Versions.def: Add GLIBC_2.14.
24309         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24310         Export.
24312 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
24314         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24315         round counter.
24316         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24318 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24320         [BZ #12597]
24321         * string/test-strncmp.c (do_page_test): New function.
24322         (check2): Likewise.
24323         (test_main): Call check2.
24324         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24326 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
24328         [BZ #12587]
24329         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24330         Handle cache information in CPU leaf 4.
24331         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24333 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
24335         [BZ #12583]
24336         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24337         character representation.
24338         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24340 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
24342         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24343         END(__isnan) to END(__isnanf) to match function entry point/label
24344         EALIGN(__isnanf,...).
24346 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
24348         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24350 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
24352         [BZ #12510]
24353         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24354         copy from the symbol referenced in the relocation to initialize the
24355         used variable.
24356         Patch by Piotr Bury <pbury@goahead.com>.
24357         * elf/Makefile: Add rules to build and tst-unique3.
24358         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24359         * elf/tst-unique3.cc: New file.
24360         * elf/tst-unique3.h: New file.
24361         * elf/tst-unique3lib.cc: New file.
24362         * elf/tst-unique3lib2.cc: New file.
24364         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24366 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
24368         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24369         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
24370         to _start.
24372 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
24374         * elf/dl-load.c (_dl_map_object): If we are looking for the first
24375         to-be-loaded object along a path to loader is ld.so.
24377 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24378             Ulrich Drepper  <drepper@gmail.com>
24380         * sysdeps/x86_64/memset.S: After aligning destination, code
24381         branches to different locations depending on the value of
24382         misalignment, when multiarch is enabled. Fix this.
24384 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24386         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24387         Set _x86_64_preferred_memory_instruction for AMD processsors.
24388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24389         Set bit_Prefer_SSE_for_memop for AMD processors.
24391 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
24393         * libio/fmemopen.c (fmemopen): Optimize a bit.
24395 2011-03-03  Andreas Schwab  <schwab@redhat.com>
24397         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24399 2011-03-03  Roland McGrath  <roland@redhat.com>
24401         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24403 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
24405         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24406         __bzero_ultra1 instead of __memset_ultra1.
24408 2011-02-23  Andreas Schwab  <schwab@redhat.com>
24409             Ulrich Drepper  <drepper@gmail.com>
24411         [BZ #12509]
24412         * include/link.h (struct link_map): Add l_orig_initfini.
24413         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24414         returning unsuccessfully.
24415         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24416         close of a file loaded at startup, restore the original l_initfini
24417         list.
24418         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24419         list, store the pointer.
24420         * elf/Makefile ($(objpfx)noload-mem): New rule.
24421         (noload-ENV): Define.
24422         (tests): Add $(objpfx)noload-mem.
24423         * elf/noload.c: Include <memcheck.h>.
24424         (main): Call mtrace.  Close all opened handles.
24426 2011-02-17  Andreas Schwab  <schwab@redhat.com>
24428         [BZ #12454]
24429         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24430         dependencies are missing.
24432 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24434         Fix __if_freereq crash: Unlike the generic version which uses free,
24435         Hurd needs munmap.
24436         * sysdeps/mach/hurd/ifreq.h: New file.
24438 2011-01-27  Petr Baudis  <pasky@suse.cz>
24439             Ulrich Drepper  <drepper@gmail.com>
24441         [BZ 12445]#
24442         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24443         to extend_alloca().
24444         * stdio-common/bug23.c: New file.
24445         * stdio-common/Makefile (tests): Add bug23.
24447 2010-09-28  Andreas Schwab  <schwab@redhat.com>
24448             Ulrich Drepper  <drepper@gmail.com>
24450         [BZ #12489]
24451         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24452         before performing relro protection.  At old place add assertion
24453         to make sure nothing changed.
24455 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
24456             Glauber de Oliveira Costa  <glommer@gmail.com>
24458         * elf/elf.h: Add new ARM TLS relocs.
24460 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
24462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24463         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24464         cast from r3.
24465         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
24466         'tests' variable.
24467         * sysdeps/wordsize-64/tst-writev.c: New file.
24469 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
24471         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24472         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24473         insns in _dl_start to prevent a TOC reference before relocs are
24474         resolved.
24476 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
24478         [BZ #12469]
24479         * Makeconfig: Remove RANLIB definition.
24480         * Makerules: Don't use RANLIB.
24481         * aclocal.m4: Remove ranlib test.
24482         * configure.in: No need to check for ranlib.
24483         * elf/rtld-Rules: Don't use RANLIB.
24485 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24487         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24488         protection macro.
24489         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24490         inclusion protection macro.
24492         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24493         SIGRTMIN and SIGRTMAX and print information in that case only when
24494         SIGRTMIN is defined.
24496 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
24498         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24499         arginfo fn returning -1.
24501         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24502         and thousands string is zero terminated.
24504 2011-02-03  Andreas Schwab  <schwab@redhat.com>
24506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24507         sysdeps/unix/sysv/linux/bits/socket.h.
24509 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24511         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24512         (__CPU_COUNT): Remove old macros.
24513         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24514         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24515         (__CPU_ALLOC, __CPU_FREE): Add macros.
24516         (__sched_cpualloc, __sched_cpufree): Add declarations.
24518 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
24520         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24521         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24522         * nscd/aicache.c (addhstaiX): Return timeout of added value.
24523         (readdhstai): Return value of addhstaiX call.
24524         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24525         (addgrbyX): Return value returned by cache_addgr.
24526         (readdgrbyname): Return value returned by addgrbyX.
24527         (readdgrbygid): Likewise.
24528         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24529         (addpwbyX): Return value returned by cache_addpw.
24530         (readdpwbyname): Return value returned by addhstbyX.
24531         (readdpwbyuid): Likewise.
24532         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24533         (addservbyX): Return value returned by cache_addserv.
24534         (readdservbyname): Return value returned by addservbyX:
24535         (readdservbyport): Likewise.
24536         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24537         (addhstbyX): Return value returned by cache_addhst.
24538         (readdhstbyname): Return value returned by addhstbyX.
24539         (readdhstbyaddr): Likewise.
24540         (readdhstbynamev6): Likewise.
24541         (readdhstbyaddrv6): Likewise.
24542         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24543         (readdinitgroups): Return value returned by addinitgroupsX.
24544         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24545         (prune_cache): Keep track of timeout value of re-added entries.
24546         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24547         * nscd/nscd.h: Adjust prototypes of readd* functions.
24549 2011-02-04  Roland McGrath  <roland@redhat.com>
24551         * nis/nis_server.c (nis_servstate): Use the right name for 0.
24552         (nis_stats): Likewise.
24553         * nis/nis_modify.c (nis_modify): Likewise.
24554         * nis/nis_remove.c (nis_remove): Likewise.
24555         * nis/nis_add.c (nis_add): Likewise.
24557         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24559         * posix/fnmatch_loop.c: Add some consts.
24561         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24563 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
24565         [BZ #12460]
24566         * config.make.in (config-cflags-novzeroupper): Define.
24567         * configure.in: Substitute libc_cv_cc_novzeroupper.
24568         * elf/Makefile (AVX-CFLAGS): Define.
24569         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24570         (CFLAGS-tst-auditmod4a.c): Likewise.
24571         (CFLAGS-tst-auditmod4b.c): Likewise.
24572         (CFLAGS-tst-auditmod6b.c): Likewise.
24573         (CFLAGS-tst-auditmod6c.c): Likewise.
24574         (CFLAGS-tst-auditmod7b.c): Likewise.
24575         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24577 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
24579         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24580         function to the callback.
24581         Patch partly by Jiri Olsa <jolsa@redhat.com>.
24583 2011-02-02  Andreas Schwab  <schwab@redhat.com>
24585         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24586         of errno.
24588 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
24590         [BZ #11724]
24591         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24592         of constructors.
24593         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24594         of destructors.
24595         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24597         [BZ #11724]
24598         * elf/Makefile: Add rules to build and run new test.
24599         * elf/tst-initorder.c: New file.
24600         * elf/tst-initorder.exp: New file.
24601         * elf/tst-initordera1.c: New file.
24602         * elf/tst-initordera2.c: New file.
24603         * elf/tst-initordera3.c: New file.
24604         * elf/tst-initordera4.c: New file.
24605         * elf/tst-initorderb1.c: New file.
24606         * elf/tst-initorderb2.c: New file.
24607         * elf/tst-order-a1.c: New file.
24608         * elf/tst-order-a2.c: New file.
24609         * elf/tst-order-a3.c: New file.
24610         * elf/tst-order-a4.c: New file.
24611         * elf/tst-order-b1.c: New file.
24612         * elf/tst-order-b2.c: New file.
24613         * elf/tst-order-main.c: New file.
24614         New test case by George Gensure <werkt0@gmail.com>.
24616 2010-10-01  Andreas Schwab  <schwab@redhat.com>
24618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24619         decoding ACE if AI_CANONIDN.
24621 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
24623         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24625 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
24627         * version.h (RELEASE): Bump for 2.13 release.
24628         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24630         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24632         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24633         MADV_NOHUGEPAGE.
24634         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24635         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24636         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24637         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24638         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24639         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24641         * posix/getconf.c: Update copyright year.
24642         * catgets/gencat.c: Likewise.
24643         * csu/version.c: Likewise.
24644         * debug/catchsegv.sh: Likewise.
24645         * debug/xtrace.sh: Likewise.
24646         * elf/ldconfig.c: Likewise.
24647         * elf/ldd.bash.in: Likewise.
24648         * elf/sprof.c (print_version): Likewise.
24649         * iconv/iconv_prog.c: Likewise.
24650         * iconv/iconvconfig.c: Likewise.
24651         * locale/programs/locale.c: Likewise.
24652         * locale/programs/localedef.c: Likewise.
24653         * malloc/memusage.sh: Likewise.
24654         * malloc/mtrace.pl: Likewise.
24655         * nscd/nscd.c (print_version): Likewise.
24656         * nss/getent.c: Likewise.
24658         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24659         PF_CAIF, and PF_ALG.
24660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24662 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
24664         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24665         (modules-names): Use them.
24666         (ifunc-test-modules, ifunc-pie-tests): Define.
24667         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24668         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24669         (test-extras): Likewise.
24670         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24671         $(compile-command.c).
24672         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24673         (all-built-dso): Define.
24674         (check-textrel.out, check-execstack.out): Depend on it.
24676         * configure.in: Don't override --enable-multi-arch.
24678 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
24680         [BZ #6812]
24681         * nscd/hstcache.c (tryagain): Define.
24682         (cache_addhst): Return tryagain not notfound for temporary errors.
24683         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24684         failed.
24686 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
24688         [BZ #10563]
24689         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24690         to make the syscall.
24691         * sysdeps/unix/sysv/linux/setgroups.c: New file.
24693         [BZ #12378]
24694         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24695         and fall back to matching as normal character if the string ends before
24696         the matching ']' is found.  This is what POSIX requires.
24697         * posix/testfnm.c: Adjust test result.
24698         * posix/globtest.sh: Adjust test result.  Add new test.
24699         * posix/tst-fnmatch.input: Likewise.
24700         * posix/tst-fnmatch2.c: Add new test.
24702 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
24704         * elf/Makefile (check-execstack): Revert last change.  Depend on
24705         check-execstack.h.
24706         (check-execstack.h): New target.
24707         (generated): Add check-execstack.h.
24708         * elf/check-execstack.c: Include "check-execstack.h".
24709         (main): Revert last change.
24710         (handle_file): Return zero if GNU_STACK is absent and
24711         DEFAULT_STACK_PERMS doesn't include PF_X.
24713 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
24715         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24716         in child fails because the descriptor is already closed.
24717         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24718         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24719         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24721         [BZ #12397]
24722         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24723         syscall.
24725         [BZ #10484]
24726         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24727         temporary buffer used to handle multi lookups locally.
24728         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24730 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24732         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24733         loader is ld.so.
24735 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
24737         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24738         alignment for SSE2.
24740 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24742         [BZ #12394]
24743         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24744         characters.  When rounding increased number of integer digits recompute
24745         number of groups.
24746         * stdio-common/tst-grouping.c: New file.
24747         * stdio-common/Makefile: Add rules to build and run tst-grouping.
24749 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
24751         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24752         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
24754         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24755         void.
24756         * bits/select.h: Likewise.
24758 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
24760         * po/ja.po: Update from translation team.
24762 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
24764         [BZ #11155]
24765         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24766         implementation just like for lxstat, fxstatat, et al.
24768 2010-12-27  Jim Meyering  <meyering@redhat.com>
24770         [BZ #12348]
24771         * posix/regexec.c (build_trtable): Return failure indication upon
24772         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
24774 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
24776         [BZ #12201]
24777         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24778         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24779         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24782         [BZ #12207]
24783         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24785         [BZ #12204]
24786         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24787         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24789 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24791         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24792         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24793         script has SORT_BY_INIT_PRIORITY.
24794         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24795         NO_CTORS_DTORS_SECTIONS is defined.
24796         * elf/soinit.c: Likewise.
24797         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24798         NO_CTORS_DTORS_SECTIONS is defined.
24799         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24800         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24801         * sysdeps/sh/init-first.c: Likewise.
24802         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24804 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
24806         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24807         always use the slow path.
24809 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
24811         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24812         similar rule which adds the sysdep directories to the header search in
24813         order to pick up the correct platform stackinfo.h.
24814         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24815         perform test if it is, otherwise return successfully without testing.
24816         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24817         DEFAULT_STACK_PERMS define in stackinfo.h.
24818         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24819         defined in stackinfo.h.
24820         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24821         DEFAULT_STACK_PERMS defined in stackinfo.h.
24822         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24823         * sysdeps/ia64/stackinfo.h: Likewise.
24824         * sysdeps/s390/stackinfo.h: Likewise.
24825         * sysdeps/sh/stackinfo.h: Likewise.
24826         * sysdeps/sparc/stackinfo.h: Likewise.
24827         * sysdeps/x86_64/stackinfo.h: Likewise.
24828         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24829         PF_X for powerpc64.  Retain PF_X for powerpc32.
24831 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
24833         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24834         accurately.
24835         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24836         GETDENTS_64BIT_ALIGNED.
24838 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
24840         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24842 2010-12-10  Andreas Schwab  <schwab@redhat.com>
24844         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24845         _GNU_SOURCE.
24847         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24848         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24849         Remove __restrict.
24850         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24851         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24853 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
24855         [BZ #11655]
24856         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24857         are initialized.
24859 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
24861         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24863 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
24865         * po/it.po: Update from translation team.
24867 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24869         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24870         unused codes.
24872 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
24874         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24876 2010-11-24  Andreas Schwab  <schwab@redhat.com>
24878         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24879         specially.
24880         (gaih_getanswer_slice): Likewise.
24882 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
24884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24886 2010-05-31  Petr Baudis  <pasky@suse.cz>
24888         [BZ #11149]
24889         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24890         silently even in the chroot mode.
24892 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
24894         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24895         last patch a bit.  Pretty printing
24897 2010-05-31  Petr Baudis <pasky@suse.cz>
24899         [BZ #10085]
24900         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24901         initialization of skip_initgroups_dyn.
24903 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
24905         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24906         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24908 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
24910         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24912 2010-11-11  Andreas Schwab  <schwab@redhat.com>
24914         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24915         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24916         (tst-fnmatch-ENV): Set MALLOC_TRACE.
24917         ($(objpfx)tst-fnmatch-mem): New rule.
24918         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24919         * posix/tst-fnmatch.c (main): Call mtrace.
24921 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
24923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24924         Support Intel processor model 6 and model 0x2c.
24926 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
24928         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24929           signed comparison.
24931 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
24933         [BZ #12205]
24934         * string/test-strncasecmp.c (check_result): New function.
24935         (do_one_test): Use it.
24936         (check1): New function.
24937         (test_main): Use it.
24938         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24939         Support strcasecmp and strncasecmp.
24941 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
24943         [BZ #12194]
24944         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24945         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24947 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24949         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24950         IFUNC support.
24951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24952         memset-x86-64.
24953         * sysdeps/x86_64/multiarch/bzero.S: New file.
24954         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24955         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24956         * sysdeps/x86_64/multiarch/memset.S: New file.
24957         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24959         Set bit_Prefer_SSE_for_memop for Intel processors.
24960         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24961         Define.
24962         (index_Prefer_SSE_for_memop): Define.
24963         (HAS_PREFER_SSE_FOR_MEMOP): Define.
24965 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
24967         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24968         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24970 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
24972         [BZ #12191]
24973         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24974         (__x86_64_raw_data_cache_size_half): Likewise.
24975         (__x86_64_raw_shared_cache_size): Likewise.
24976         (__x86_64_raw_shared_cache_size_half): Likewise.
24978         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24979         (__x86_64_raw_data_cache_size_half): Likewise.
24980         (__x86_64_raw_shared_cache_size): Likewise.
24981         (__x86_64_raw_shared_cache_size_half): Likewise.
24982         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24983         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24984         and __x86_64_raw_shared_cache_size_half.  Round
24985         __x86_64_data_cache_size_half, __x86_64_data_cache_size
24986         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24987         to multiple of 256 bytes.
24989 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
24991         [BZ #12167]
24992         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24993         of inacessible symlinks.  Verify result of symlink before returning it.
24994         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24995         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24997 2010-10-28  Erich Ritz  <erichritz@gmail.com>
24999         * math/math.h (isinf): Fix typo in comment.
25001 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25003         * po/da.po: Update from translation team.
25005 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25007         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25008         is added to the list.
25010 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25011             Ulrich Drepper  <drepper@gmail.com>
25013         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25014         the global list here.  Move code to...
25015         (_dl_add_to_namespace_list): ...here.  New function.
25016         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25017         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25018         * elf/dl-load.c (lose): Don't remove the element from the list.
25019         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25020         (_dl_map_object): Likewise.
25022 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25024         [BZ #12159]
25025         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25026         into all bytes of SSE register.
25027         Patch by Richard Li <richardpku@gmail.com>.
25029 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25031         [BZ #12140]
25032         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25033         perturbing.
25035 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25037         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25038         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25039         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25040         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25042         submachine.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25045 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25047         * include/dlfcn.h (__RTLD_SECURE): Define.
25048         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25049         mode & __RTLD_SECURE instead.
25050         (open_path): Rename preloaded parameter to secure.
25051         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25052         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25053         * elf/dl-deps.c (openaux): Likewise.
25054         * elf/rtld.c (struct map_args): Remove is_preloaded.
25055         (map_doit): Don't use it.
25056         (dl_main): Likewise.
25057         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25058         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25060 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25062         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25063         (sysd-rules-targets): Remove duplicates.
25064         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25065         rtld-%.$o dependency.
25067 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25069         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25070         _dl_map_object do it.
25072 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25074         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25075         fast fma builtins, define the macros in the C99 standard.
25076         (FP_FAST_FMAF): Likewise.
25077         (FP_FAST_FMAL): Likewise.
25078         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25080         * bits/mathdef.h: Update copyright year.
25081         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25083 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25085         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25086         builtins, define the macros in the C99 standard.
25087         (FP_FAST_FMAF): Likewise.
25088         (FP_FAST_FMAL): Likewise.
25089         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25090         multiply/add.
25091         (FP_FAST_FMAF): Likewise.
25093 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25095         [BZ #3268]
25096         * math/libm-test.inc (fma_test): Some new testcases.
25097         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25098         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25099         y and infinite z.  Do multiplication by C already in long double.
25100         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25102         y and infinite z.  Do bitwise or of inexact bit into u.d.
25103         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25104         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25105         * sysdeps/i386/fpu/s_fma.S: Removed.
25106         * sysdeps/i386/fpu/s_fmal.S: Removed.
25108 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25110         [BZ #3268]
25111         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25112         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25113         computation is not scheduled after fetestexcept.  Fix value
25114         of minimum denormal long double.
25116 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25118         [BZ #3268]
25119         * math/libm-test.inc (fma_test): Add some more tests.
25120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25121         correctly.
25123 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25125         * scripts/data/localplt-s390-linux-gnu.data: New file.
25126         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25128 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25130         [BZ #3268]
25131         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25132         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25133         instead of dbl-64.
25134         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25135         inlines.
25136         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25138         if one of x and y is very large and the other is subnormal.
25139         * sysdeps/s390/fpu/s_fmaf.c: New file.
25140         * sysdeps/s390/fpu/s_fma.c: New file.
25141         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25142         * sysdeps/powerpc/fpu/s_fma.S: New file.
25143         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25144         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25145         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25147 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25149         [BZ #3268]
25150         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25151         fma tests.
25152         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25153         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25154         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25155         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25156         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25157         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25158         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25160 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25162         [BZ #12078]
25163         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25164         * posix/bug-regex31.input: Add test case.
25166 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25168         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25169         * posix/bug-regex31.input: New file.
25171         [BZ #12078]
25172         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25173         (parse_sub_exp): Fix last change, use postorder.
25175         * posix/bug-regex31.c: New file.
25176         * posix/Makefile: Add rules to build and run bug-regex31.
25178         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25180         [BZ #12078]
25181         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25183         [BZ #12108]
25184         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25185         to have entries in sys_siglist.
25187         [BZ #12093]
25188         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25189         be NULL.
25191 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25193         [BZ #3268]
25194         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25195         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25196         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25197         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25198         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25199         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25200         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25201         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25202         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25203         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25204         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25205         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25206         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25207         * math/ftestexcept.c (fetestexcept): Likewise.
25208         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25209         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25210         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25211         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25212         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25213         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25214         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25216 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25218         [BZ #12107]
25219         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25220         newline.
25222 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25224         * string/bug-strstr1.c: New file.
25225         * string/Makefile: Add rules to build and run bug-strstr1.
25227 2010-10-05  Eric Blake  <eblake@redhat.com>
25229         [BZ #12092]
25230         * string/str-two-way.h (two_way_long_needle): Always clear memory
25231         when skipping input due to the shift table.
25233 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25235         [BZ #12005]
25236         * malloc/mcheck.c: Handle large requests.
25238         [BZ #12077]
25239         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25240         for strncmp and strncasecmp.
25241         * string/stratcliff.c: Add tests for strcmp and strncmp.
25242         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25244 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25246         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25247         __set_fpscr.
25249 2010-09-30  Andreas Jaeger  <aj@suse.de>
25251         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25252         (CGROUP_SUPER_MAGIC): Define.
25253         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25254         Handle btrfs and cgroup file systems.
25255         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25256         Likewise.
25258 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25260         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25261         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25263 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25265         [BZ #12067]
25266         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25267         trying to locate the ELF header.
25269 2010-09-27  Andreas Schwab  <schwab@redhat.com>
25271         [BZ #11611]
25272         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25273         Mask out sign-bit copies when constructing f_fsid.
25275 2010-09-24  Petr Baudis <pasky@suse.cz>
25277         * debug/stack_chk_fail_local.c: Add missing licence exception.
25278         * debug/warning-nop.c: Likewise.
25280 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
25282         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25283         implementing getdents64 using getdents syscall, set d_type if
25284         __ASSUME_GETDENTS32_D_TYPE.
25286 2010-09-16  Andreas Schwab  <schwab@redhat.com>
25288         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25289         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25291 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
25293         [BZ #12037]
25294         * posix/unistd.h: Undo change of feature selection for ftruncate from
25295         2010-01-11.
25297 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
25299         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25300         detection.
25302 2010-09-20  Andreas Schwab  <schwab@redhat.com>
25304         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25305         fanotify_mark.
25306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25308 2010-09-14  Andreas Schwab  <schwab@redhat.com>
25310         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25311         variables after CHECK_SP call.
25312         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25314 2010-09-13  Andreas Schwab  <schwab@redhat.com>
25315             Ulrich Drepper  <drepper@redhat.com>
25317         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25318         re-relocationg ld.so.
25319         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25320         _dl_init_paths call.
25321         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
25322         here anymore.
25324 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
25326         * resolv/res_init.c (__res_vinit): Count the default server we added.
25328 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
25329             Ulrich Drepper  <drepper@redhat.com>
25331         [BZ #11968]
25332         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25333         (____longjmp_chk): Use %ebx for saving value across system call.
25334         Add unwind info.
25336 2010-09-06  Andreas Schwab  <schwab@redhat.com>
25338         * manual/Makefile: Don't mix pattern rules with normal rules.
25340 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25342         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25343         operation.
25344         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25345         * libio/iofopncook.c (_IO_cookie_init): Likewise.
25346         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25347         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25348         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25349         Likewise.
25351 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
25353         [BZ #11979]
25354         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25355         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25357 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
25359         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25360         * sysdeps/x86_64/addmul_1.S: Likewise.
25361         * sysdeps/x86_64/lshift.S: Likewise.
25362         * sysdeps/x86_64/mul_1.S: Likewise.
25363         * sysdeps/x86_64/rshift.S: Likewise.
25364         * sysdeps/x86_64/sub_n.S: Likewise.
25365         * sysdeps/x86_64/submul_1.S: Likewise.
25367 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25369         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25370         Define __sched_param instead of SCHED_* and sched_param when
25371         <bits/sched.h> is included with __need_schedparam defined.
25372         * bits/sched.h [__need_schedparam]
25373         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25374         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25375         (__defined_schedparam): Define to 1.
25376         (__sched_param): New structure, identical to sched_param.
25377         (__need_schedparam): Undefine.
25379 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
25381         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25382         (epoll_create1): Declare.
25384         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25386 2010-08-31  Andreas Schwab  <schwab@redhat.com>
25388         [BZ #7066]
25389         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25390         shifting retval into place.
25392 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
25394         * nis/rpcsvc/nis.h: Update copyright notice.
25395         * nis/rpcsvc/nis.x: Likewise.
25396         * nis/rpcsvc/nis_callback.h: Likewise.
25397         * nis/rpcsvc/nis_callback.x: Likewise.
25398         * nis/rpcsvc/nis_object.x: Likewise.
25399         * nis/rpcsvc/nis_tags.h: Likewise.
25400         * nis/rpcsvc/yp.h: Likewise.
25401         * nis/rpcsvc/yp.x: Likewise.
25402         * nis/rpcsvc/ypupd.h: Likewise.
25403         * nis/yp_xdr.c: Likewise.
25404         * nis/ypupdate_xdr.c: Likewise.
25406         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
25407         mainly the body of pmap_getport.  Add parameters to specify timeouts.
25408         (pmap_getport): Use __libc_rpc_getport.
25409         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25410         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25411         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25413 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
25415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25416         fanotify_mark.
25418 2010-08-27  Roland McGrath  <roland@redhat.com>
25420         * sysdeps/i386/i686/multiarch/Makefile
25421         (CFLAGS-varshift.c): New variable.
25423 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
25425         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25426         * sysdeps/i386/i686/multiarch/varshift.c: New file.
25428         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25430         * sysdeps/x86_64/strlen.S: Minimal code improvement.
25432 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25434         * sysdeps/x86_64/strlen.S: Unroll the loop.
25435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25436         strlen-sse2 strlen-sse2-bsf.
25437         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25438         __strlen_no_bsf if bit_Slow_BSF is set.
25439         (__strlen_sse42): Removed.
25440         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25441         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25443 2010-08-25  Roland McGrath  <roland@redhat.com>
25445         * sysdeps/x86_64/multiarch/varshift.S: File removed.
25446         * sysdeps/x86_64/multiarch/varshift.c: New file.
25447         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25448         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25449         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25450         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25452 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25454         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25455         strlen-sse2 strlen-sse2-bsf.
25456         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25457         __strlen_sse2_bsf if bit_Slow_BSF is unset.
25458         (__strlen_sse2): Removed.
25459         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25460         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25462         bit_Slow_BSF for Atom.
25463         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25464         (index_Slow_BSF): Define.
25465         (HAS_SLOW_BSF): Define.
25467 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
25469         [BZ #10851]
25470         * resolv/res_init.c (__res_vinit): When no server address at all
25471         is given default to loopback.
25473 2010-08-24  Roland McGrath  <roland@redhat.com>
25475         * configure.in: Remove config-name.h generation.
25476         * configure: Regenerated.
25477         * config-name.in: File removed.
25478         * scripts/config-uname.sh: New file.
25479         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25480         ($(objdir)config-name.h): New target.
25482         * sunrpc/rpc_parse.h: Avoid nested comment.
25484 2010-08-24  Richard Henderson  <rth@redhat.com>
25485             Ulrich Drepper  <drepper@redhat.com>
25486             H.J. Lu  <hongjiu.lu@intel.com>
25488         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25490         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25491         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
25492         _mm_alignr_epi8 with _mm_loadu_si128.
25493         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25494         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25495         (__m128i_shift_right): Removed.
25496         * sysdeps/i386/i686/multiarch/varshift.h: New file.
25497         * sysdeps/i386/i686/multiarch/varshift.S: New file.
25498         * sysdeps/x86_64/multiarch/varshift.h: New file.
25499         * sysdeps/x86_64/multiarch/varshift.S: New file.
25501 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
25503         * configure.in: Move assembler checks to before sysdep dir checking.
25505 2010-08-20  Petr Baudis  <pasky@suse.cz>
25507         * LICENSES: Sync the sunrpc license.
25509 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
25511         * sunrpc/auth_des.c: Update copyright notice once again.
25512         * sunrpc/auth_none.c: Likewise.
25513         * sunrpc/auth_unix.c: Likewise.
25514         * sunrpc/authdes_prot.c: Likewise.
25515         * sunrpc/authuxprot.c: Likewise.
25516         * sunrpc/bindrsvprt.c: Likewise.
25517         * sunrpc/clnt_gen.c: Likewise.
25518         * sunrpc/clnt_perr.c: Likewise.
25519         * sunrpc/clnt_raw.c: Likewise.
25520         * sunrpc/clnt_simp.c: Likewise.
25521         * sunrpc/clnt_tcp.c: Likewise.
25522         * sunrpc/clnt_udp.c: Likewise.
25523         * sunrpc/clnt_unix.c: Likewise.
25524         * sunrpc/des_crypt.c: Likewise.
25525         * sunrpc/des_soft.c: Likewise.
25526         * sunrpc/get_myaddr.c: Likewise.
25527         * sunrpc/getrpcport.c: Likewise.
25528         * sunrpc/key_call.c: Likewise.
25529         * sunrpc/key_prot.c: Likewise.
25530         * sunrpc/openchild.c: Likewise.
25531         * sunrpc/pm_getmaps.c: Likewise.
25532         * sunrpc/pm_getport.c: Likewise.
25533         * sunrpc/pmap_clnt.c: Likewise.
25534         * sunrpc/pmap_prot.c: Likewise.
25535         * sunrpc/pmap_prot2.c: Likewise.
25536         * sunrpc/pmap_rmt.c: Likewise.
25537         * sunrpc/rpc/auth.h: Likewise.
25538         * sunrpc/rpc/auth_unix.h: Likewise.
25539         * sunrpc/rpc/clnt.h: Likewise.
25540         * sunrpc/rpc/des_crypt.h: Likewise.
25541         * sunrpc/rpc/key_prot.h: Likewise.
25542         * sunrpc/rpc/netdb.h: Likewise.
25543         * sunrpc/rpc/pmap_clnt.h: Likewise.
25544         * sunrpc/rpc/pmap_prot.h: Likewise.
25545         * sunrpc/rpc/pmap_rmt.h: Likewise.
25546         * sunrpc/rpc/rpc.h: Likewise.
25547         * sunrpc/rpc/rpc_des.h: Likewise.
25548         * sunrpc/rpc/rpc_msg.h: Likewise.
25549         * sunrpc/rpc/svc.h: Likewise.
25550         * sunrpc/rpc/svc_auth.h: Likewise.
25551         * sunrpc/rpc/types.h: Likewise.
25552         * sunrpc/rpc/xdr.h: Likewise.
25553         * sunrpc/rpc_clntout.c: Likewise.
25554         * sunrpc/rpc_cmsg.c: Likewise.
25555         * sunrpc/rpc_common.c: Likewise.
25556         * sunrpc/rpc_cout.c: Likewise.
25557         * sunrpc/rpc_dtable.c: Likewise.
25558         * sunrpc/rpc_hout.c: Likewise.
25559         * sunrpc/rpc_main.c: Likewise.
25560         * sunrpc/rpc_parse.c: Likewise.
25561         * sunrpc/rpc_parse.h: Likewise.
25562         * sunrpc/rpc_prot.c: Likewise.
25563         * sunrpc/rpc_sample.c: Likewise.
25564         * sunrpc/rpc_scan.c: Likewise.
25565         * sunrpc/rpc_scan.h: Likewise.
25566         * sunrpc/rpc_svcout.c: Likewise.
25567         * sunrpc/rpc_tblout.c: Likewise.
25568         * sunrpc/rpc_util.c: Likewise.
25569         * sunrpc/rpc_util.h: Likewise.
25570         * sunrpc/rpcinfo.c: Likewise.
25571         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25572         * sunrpc/rpcsvc/key_prot.x: Likewise.
25573         * sunrpc/rpcsvc/klm_prot.x: Likewise.
25574         * sunrpc/rpcsvc/mount.x: Likewise.
25575         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25576         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25577         * sunrpc/rpcsvc/rex.x: Likewise.
25578         * sunrpc/rpcsvc/rstat.x: Likewise.
25579         * sunrpc/rpcsvc/rusers.x: Likewise.
25580         * sunrpc/rpcsvc/sm_inter.x: Likewise.
25581         * sunrpc/rpcsvc/spray.x: Likewise.
25582         * sunrpc/rpcsvc/yppasswd.x: Likewise.
25583         * sunrpc/rtime.c: Likewise.
25584         * sunrpc/svc.c: Likewise.
25585         * sunrpc/svc_auth.c: Likewise.
25586         * sunrpc/svc_authux.c: Likewise.
25587         * sunrpc/svc_raw.c: Likewise.
25588         * sunrpc/svc_run.c: Likewise.
25589         * sunrpc/svc_simple.c: Likewise.
25590         * sunrpc/svc_tcp.c: Likewise.
25591         * sunrpc/svc_udp.c: Likewise.
25592         * sunrpc/svc_unix.c: Likewise.
25593         * sunrpc/svcauth_des.c: Likewise.
25594         * sunrpc/xcrypt.c: Likewise.
25595         * sunrpc/xdr.c: Likewise.
25596         * sunrpc/xdr_array.c: Likewise.
25597         * sunrpc/xdr_float.c: Likewise.
25598         * sunrpc/xdr_mem.c: Likewise.
25599         * sunrpc/xdr_rec.c: Likewise.
25600         * sunrpc/xdr_ref.c: Likewise.
25601         * sunrpc/xdr_sizeof.c: Likewise.
25602         * sunrpc/xdr_stdio.c: Likewise.
25604         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25605         handling.
25607 2010-08-19  Andreas Schwab  <schwab@redhat.com>
25609         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25611 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
25613         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25614         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25615         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25616         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25617         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25618         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25619         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25620         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25621         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25622         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25623         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25624         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25625         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25626         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25628 2010-07-26  Anton Blanchard  <anton@samba.org>
25630         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25631         * malloc/arena.c (heap_trim): Likewise.
25633 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
25635         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25636         here.  Not...
25637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25638         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25640 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25642         * sysdeps/i386/elf/Makefile: New file.
25644 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25646         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25647         from fanotify_init.
25648         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25651 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
25653         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25654         of strncasecmp_l.
25655         * sysdeps/multiarch/strcmp.S: Likewise.
25657 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
25659         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25660         strncase_l-nonascii.
25661         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25662         Add strncase_l-ssse3.
25663         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25664         * sysdeps/x86_64/strcmp.S: Likewise.
25665         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25666         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25667         * sysdeps/x86_64/strncase.S: New file.
25668         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25669         * sysdeps/x86_64/strncase_l.S: New file.
25670         * string/Makefile (strop-tests): Add strncasecmp.
25671         * string/test-strncasecmp.c: New file.
25673         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25674         warning.
25676         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25677         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25679 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25681         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25683 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
25685         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25686         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25687         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25689 2010-05-01  Alan Modra  <amodra@gmail.com>
25691         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25692         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25693         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25694         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25695         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25696         tidying.  Don't tail-call __sigjmp_save for static lib.
25697         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25698         save location.
25699         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25700         (CALL_MCOUNT): Add eh info, and nop after bl.
25701         (TAIL_CALL_SYSCALL_ERROR): New macro.
25702         (PSEUDO_RET): Use it.
25703         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25704         Correct save location of integer regs and cr.
25705         (_dl_profile_resolve): Correct cr save location.  Delete nops
25706         after bl when SHARED.  Reduce cfi size a little by better
25707         placement of cfi directives.
25708         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25709         make a stack frame.  Instead use parm save area as a temp.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25711         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25713         Don't make a stack frame for parent, use parm save area.
25714         Increase child stack frame to 112 bytes.  Don't save unused reg,
25715         and adjust reg usage.  Set up cfi on error recovery and
25716         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25718         (__makecontext): Add dummy nop after jump to exit.
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25720         Use correct parm save area and cr save, reduce stack frame.
25721         Correct cfi for possible PSEUDO_RET frame setup.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25723         Branch to local label emitted by PSEUDO_RET rather than
25724         __syscall_error.
25726 2010-08-12  Andreas Schwab  <schwab@redhat.com>
25728         [BZ #11904]
25729         * locale/programs/locale.c (print_assignment): New function.
25730         (show_locale_vars): Use it.
25732 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
25734         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25735         field.
25736         (struct statfs64): Likewise.
25737         (_STATFS_F_FLAGS): Define.
25738         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25739         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25740         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25741         (ST_VALID): Define locally.
25742         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25743         __statvfs_getflags, use the provided value.
25744         * sysdeps/unix/sysv/linux/kernel-features.h: Define
25745         __ASSUME_STATFS_F_FLAGS.
25747         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25749         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25750         Add sys/fanotify.h.
25751         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25752         fanotify_mask for GLIBC_2.13.
25753         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25754         fanotify_init and fanotify_mark.
25755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25756         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25758         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25759         Add prlimit.
25760         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25761         prlimit64 for GLIBC_2.13.
25762         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25763         prlimit64.
25764         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25765         syscall.
25766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25768         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25769         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25770         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
25771         add prlimit alias.
25772         * sysdeps/unix/sysv/linux/prlimit.c: New file.
25774         [BZ #11903]
25775         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25776         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25778         * nss/Makefile: Add rules to build and run tst-nss-test1.
25779         * shlib-versions: Add entry for libnss_test1.
25780         * nss/nss_test1.c: New file.
25781         * nss/tst-nss-test1.c: New file.
25783         * nss/nsswitch.c (__nss_database_custom): Define new variable.
25784         (__nss_configure_lookup): Set appropriate entry in
25785         __nss_configure_lookup to true.
25786         * nss/nsswitch.h: Define enum with indeces of databases in
25787         databases and __nss_database_custom arrays.  Declare
25788         __nss_database_custom.
25789         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25790         to avoid using nscd when custom rules are installed.
25791         * nss/getXXbyYY_r.c: Likewise.
25792         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25794         * nss/nss_files/files-parse.c: Whitespace fixes.
25796 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
25798         [BZ #11883]
25799         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25800         * posix/fnmatch_loop.c: Likewise.
25802 2010-07-17  Andi Kleen  <ak@linux.intel.com>
25804         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25805         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25806         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25807         * Versions.def [GLIBC_2.13]: Add.
25809 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
25811         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25812         Also fail if tpwd after pwuid call is NULL.
25814 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25816         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25817         when converting to ms.
25819 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25821         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25822         EOPNOTSUPP errors with ENOTTY.
25823         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25824         EOPNOTSUPP errors with ENOTTY.
25826 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
25828         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25829         Add strcasecmp_l-ssse3.
25830         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25831         strcasecmp.
25832         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25833         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25834         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25836 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
25838         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25840         * string/Makefile (strop-tests): Add strcasecmp.
25841         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25842         strcasecmp_l-nonascii.
25843         (gen-as-const-headers): Add locale-defines.sym.
25844         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25845         * sysdeps/x86_64/strcasecmp.S: New file.
25846         * sysdeps/x86_64/strcasecmp_l.S: New file.
25847         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25848         * sysdeps/x86_64/locale-defines.sym: New file.
25849         * string/test-strcasecmp.c: New file.
25851         * string/test-strcasestr.c: Test both ends of the range of characters.
25852         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25854 2010-07-29  Roland McGrath  <roland@redhat.com>
25856         [BZ #11856]
25857         * manual/locale.texi (Yes-or-No Questions): Fix example code.
25859 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
25861         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25862         for ld.so.
25864 2010-07-27  Andreas Schwab  <schwab@redhat.com>
25866         * manual/memory.texi (Malloc Tunable Parameters): Document
25867         M_PERTURB.
25869 2010-07-26  Roland McGrath  <roland@redhat.com>
25871         [BZ #11840]
25872         * configure.in (-fgnu89-inline check): Set and substitute
25873         gnu89_inline, not libc_cv_gnu89_inline.
25874         * configure: Regenerated.
25875         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25877 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
25879         * string/test-strnlen.c: New file.
25880         * string/Makefile (strop-tests): Add strnlen.
25881         * string/tester.c (test_strnlen): Add a few more test cases.
25882         * string/tst-strlen.c: Better error reporting.
25884         * sysdeps/x86_64/strnlen.S: New file.
25886 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
25888         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25889         lower-latency instructions.
25891 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
25893         * string/test-strcasestr.c: New file.
25894         * string/test-strstr.c: New file.
25895         * string/Makefile (strop-tests): Add strstr and strcasestr.
25896         * string/str-two-way.h: Don't undefine MAX.
25897         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25899 2010-07-21  Andreas Schwab  <schwab@redhat.com>
25901         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25902         strcasestr-nonascii.
25903         (CFLAGS-strcasestr-nonascii.c): Define.
25904         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25905         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25906         Remove unused attribute.
25908 2010-07-20  Roland McGrath  <roland@redhat.com>
25910         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25911         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
25912         ld.so.cache was broken.  With it, there is no way to disable dsocaps
25913         like LD_HWCAP_MASK can disable hwcaps.
25915 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
25917         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25919 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
25921         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25922         call in strcasestr.
25923         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25924         __strcasestr_sse42_nonascii.
25925         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25926         strcasestr-nonascii.c.
25927         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25929 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
25931         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25932         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25933         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25934         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25936 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
25938         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25939         fcntl.
25941 2010-07-06  Andreas Schwab  <schwab@redhat.com>
25943         [BZ #11577]
25944         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25945         dl_signal_cerror.
25947 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
25949         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25950         _PC_PIPE_BUF using F_GETPIPE_SZ.
25952 2010-07-05  Roland McGrath  <roland@redhat.com>
25954         * manual/arith.texi (Rounding Functions): Fix rint description
25955         implicit in round description.
25957 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
25959         * elf/Makefile: Fix linking for a few tests to make recent linker
25960         happy.
25962 2010-06-30  Andreas Schwab  <schwab@redhat.com>
25964         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25965         $(common-objpfx)libc_nonshared.a.
25967 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
25969         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25970         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25971         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25972         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25973         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25974         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25975         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25976         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25991         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25992         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25993         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25994         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25995         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25996         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25997         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25998         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25999         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26000         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26001         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26002         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26018 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26020         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26021         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26022         * string/memmove.c (memmove): Renamed to ...
26023         (MEMMOVE): ...this.  Default to memmove.
26024         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26025         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26026         (END_CHK): Define.
26027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26028         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26029         mempcpy-ssse3-back memmove-ssse3-back.
26030         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26032         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26033         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26034         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26035         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26036         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26037         * sysdeps/x86_64/multiarch/memmove.c: New file.
26038         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26039         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26040         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26041         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26042         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26043         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26044         Define.
26045         (index_Fast_Copy_Backward): Define.
26046         (HAS_ARCH_FEATURE): Define.
26047         (HAS_FAST_REP_STRING): Define.
26048         (HAS_FAST_COPY_BACKWARD): Define.
26050 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26052         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26053         Restore proper fallback handling.
26055 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26057         [BZ #11701]
26058         * posix/group_member.c (__group_member): Correct checking loop.
26060         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26061         OOM in getpwuid_r correctly.  Return error number when the caller
26062         should return, otherwise -1.
26063         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26064         call returning > 0 value.
26065         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26067 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26069         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26070         libc_nonshared.a from targets in modules-names.
26072 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26074         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26075         requires it.
26077 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26079         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26080         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26081         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26082         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26084 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26086         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26088 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26090         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26091         and F_GETPIPE_SZ.
26092         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26093         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26097         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26099 2010-06-14  Roland McGrath  <roland@redhat.com>
26101         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26103 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26105         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26106         __REDIRECT followed by __THROW.
26107         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26108         * posix/getopt.h (getopt): Likewise.
26110 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26112         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26113         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26114         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26115         in AT_FLAGS.
26116         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26117         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26119 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26121         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26123 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26125         [BZ #11640]
26126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26127         Properly check family and model.
26129 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26131         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26133 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26135         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26137 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26139         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26140         symbol reference.
26142 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26144         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26145         symbol reference.
26147 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26149         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26150         and internal_recvmmsg.
26151         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26152         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26153         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26154         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26156         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26157         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26158         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26160 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26162         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26164 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26166         POWER7 optimizations.
26167         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26168         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26170 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26172         * version.h: Update for 2.13 development version.
26174 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26176         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26177         exceptions.  Return 0.
26179 2010-05-07  Roland McGrath  <roland@redhat.com>
26181         * elf/ldconfig.c (main): Add a const.
26183 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26185         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26186         (args_options): Add no-idn option.
26187         (ahosts_keys_int): Add idn_flags to ai_flags.
26188         (parse_option): Handle 'i' option to clear idn_flags.
26190         * malloc/malloc.c (_int_free): Possible race in the most recently
26191         added check.  Only act on the data if no current modification
26192         happened.
26194 See ChangeLog.17 for earlier changes.