Bring back definition of __attribute__ for non-gcc and older gcc
[glibc.git] / ChangeLog
blobcbf4083f0d5db6a54e27ba1d4c5c6fd2e3b7b1ae
1 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
3         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4         Define __attribute__.
6 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9         unused.
10         * posix/regex_internal.h (__attribute): Remove.
11         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12         (re_string_context_at): Likewise.
13         (bitset_not): Use __attribute__ and mark function as possibly
14         unused.
15         (bitset_merge): Likewise.
16         (bitset_mask): Likewise.
17         (re_string_char_size_at): Likewise.
18         (re_string_wchar_at): Likewise.
19         (re_string_elem_size_at): Likewise.
21 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24         code.
25         (cc32): Likewise.
27         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28         (__acr): Likewise.
29         (__cpy): Likewise.
30         (norm): Likewise.
31         (denorm): Likewise.
32         (__dbl_mp): Likewise.
33         (add_magnitudes): Likewise.
34         (sub_magnitudes): Likewise.
35         (__mul): Likewise.
36         (__inv): Likewise.
38         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39         style.
41         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42         style.
44         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45         code.
47         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48         up changes with default code.
49         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50         Likewise.
52 2013-02-24  Allan McRae  <allan@archlinux.org>
54         * manual/socket.texi (The Internet Namespace): Order menu items
55         to match that in the file.
57         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58         node listing of the info page menu.
60 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #13550]
63         * sysdeps/i386/bp-asm.h: Remove file.
64         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
65         (PARMS): Do not use macros from bp-asm.h.
66         (S1): Likewise.
67         (S2): Likewise.
68         (SIZE): Likewise.
69         (__mpn_add_n): Do not use BP_SYM
70         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
71         "bp-asm.h".
72         (PARMS): Do not use macros from bp-asm.h.
73         (S1): Likewise.
74         (SIZE): Likewise.
75         (__mpn_addmul_1): Do not use BP_SYM
76         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
77         "bp-asm.h".
78         (PARMS): Do not use macros from bp-asm.h.
79         (SIGMSK): Likewise.
80         (_setjmp): Likewise.  Do not use BP_SYM.
81         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
82         "bp-asm.h".
83         (PARMS): Do not use macros from bp-asm.h.
84         (SIGMSK): Likewise.
85         (setjmp): Likewise.  Do not use BP_SYM.
86         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
87         "bp-asm.h".
88         (PARMS): Do not use macros from bp-asm.h.
89         (__frexp): Do not use BP_SYM.
90         (frexp): Likewise.
91         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
92         "bp-asm.h".
93         (PARMS): Do not use macros from bp-asm.h.
94         (__frexpf): Do not use BP_SYM.
95         (frexpf): Likewise.
96         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
97         "bp-asm.h".
98         (PARMS): Do not use macros from bp-asm.h.
99         (__frexpl): Do not use BP_SYM.
100         (frexpl): Likewise.
101         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
102         "bp-asm.h".
103         (PARMS): Do not use macros from bp-asm.h.
104         (__remquo): Do not use BP_SYM.
105         (remquo): Likewise.
106         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
107         "bp-asm.h".
108         (PARMS): Do not use macros from bp-asm.h.
109         (__remquof): Do not use BP_SYM.
110         (remquof): Likewise.
111         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
112         "bp-asm.h".
113         (PARMS): Do not use macros from bp-asm.h.
114         (__remquol): Do not use BP_SYM.
115         (remquol): Likewise.
116         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
117         "bp-asm.h".
118         (PARMS): Do not use macros from bp-asm.h.
119         (DEST): Likewise.
120         (SRC): Likewise.
121         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
122         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
123         "bp-asm.h".
124         (PARMS): Do not use macros from bp-asm.h.
125         (strlen): Do not use BP_SYM.
126         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
127         "bp-asm.h".
128         (PARMS): Do not use macros from bp-asm.h.
129         (S1): Likewise.
130         (S2): Likewise.
131         (SIZE): Likewise.
132         (__mpn_add_n): Do not use BP_SYM.
133         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
134         "bp-asm.h".
135         (PARMS): Do not use macros from bp-asm.h.
136         (S1): Likewise.
137         (SIZE): Likewise.
138         (__mpn_addmul_1): Do not use BP_SYM.
139         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
140         weak_alias.
141         (bzero): Likewise.
142         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
143         "bp-asm.h".
144         (PARMS): Do not use macros from bp-asm.h.
145         (S): Likewise.
146         (SIZE): Likewise.
147         (__mpn_lshift): Do not use BP_SYM.
148         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
149         "bp-asm.h".
150         (PARMS): Do not use macros from bp-asm.h.
151         (DEST): Likewise.
152         (SRC): Likewise.
153         (LEN): Likewise.
154         (memcpy): Likewise.  Do not use BP_SYM.
155         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
156         libc_hidden_def and weak_alias.
157         (mempcpy): Do not use BP_SYM in weak_alias.
158         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
159         "bp-asm.h".
160         (PARMS): Do not use macros from bp-asm.h.
161         (DEST): Likewise.
162         (LEN): Likewise.
163         [!BZERO_P] (CHR): Likewise.
164         (memset): Likewise.  Do not use BP_SYM.
165         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
166         "bp-asm.h".
167         (PARMS): Do not use macros from bp-asm.h.
168         (S1): Likewise.
169         (SIZE): Likewise.
170         (__mpn_mul_1): Do not use BP_SYM.
171         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
172         "bp-asm.h".
173         (PARMS): Do not use macros from bp-asm.h.
174         (S): Likewise.
175         (SIZE): Likewise.
176         (__mpn_rshift): Do not use BP_SYM.
177         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
178         "bp-asm.h".
179         (PARMS): Do not use macros from bp-asm.h.
180         (STR): Likewise.
181         (CHR): Likewise.
182         (strchr): Likewise.  Do not use BP_SYM.
183         (index): Do not use BP_SYM in weak_alias.
184         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
185         "bp-asm.h".
186         (PARMS): Do not use macros from bp-asm.h.
187         (DEST): Likewise.
188         (SRC): Likewise.
189         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
190         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
191         "bp-asm.h".
192         (PARMS): Do not use macros from bp-asm.h.
193         (strlen): Do not use BP_SYM.
194         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
195         "bp-asm.h".
196         (PARMS): Do not use macros from bp-asm.h.
197         (S1): Likewise.
198         (S2): Likewise.
199         (SIZE): Likewise.
200         (__mpn_sub_n): Do not use BP_SYM.
201         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
202         "bp-asm.h".
203         (PARMS): Do not use macros from bp-asm.h.
204         (S1): Likewise.
205         (SIZE): Likewise.
206         (__mpn_submul_1): Do not use BP_SYM.
207         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
208         "bp-asm.h".
209         (PARMS): Do not use macros from bp-asm.h.
210         (S1): Likewise.
211         (S2): Likewise.
212         (SIZE): Likewise.
213         (__mpn_add_n): Do not use BP_SYM.
214         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
215         weak_alias.
216         (bzero): Likewise.
217         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
218         "bp-asm.h".
219         (PARMS): Do not use macros from bp-asm.h.
220         (BLK2): Likewise.
221         (LEN): Likewise.
222         (memcmp): Do not use BP_SYM.
223         (bcmp): Do not use BP_SYM in weak_alias.
224         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
225         "bp-asm.h".
226         (PARMS): Do not use macros from bp-asm.h.
227         (DEST): Likewise.
228         (SRC): Likewise.
229         (LEN): Likewise.
230         (memcpy): Likewise.  Do not use BP_SYM.
231         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
232         "bp-asm.h".
233         (PARMS): Do not use macros from bp-asm.h.
234         (DEST): Likewise.
235         (SRC): Likewise.
236         (LEN): Likewise.
237         (memmove): Likewise.  Do not use BP_SYM.
238         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
239         "bp-asm.h".
240         (PARMS): Do not use macros from bp-asm.h.
241         (DEST): Likewise.
242         (SRC): Likewise.
243         (LEN): Likewise.
244         (__mempcpy): Likewise.  Do not use BP_SYM.
245         (mempcpy): Do not use BP_SYM in weak_alias.
246         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
247         "bp-asm.h".
248         (PARMS): Do not use macros from bp-asm.h.
249         (DEST): Likewise.
250         (LEN): Likewise.
251         [!BZERO_P] (CHR): Likewise.
252         (memset): Likewise.  Do not use BP_SYM.
253         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
254         "bp-asm.h".
255         (PARMS): Do not use macros from bp-asm.h.
256         (STR2): Likewise.
257         (strcmp): Do not use BP_SYM.
258         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
259         "bp-asm.h".
260         (PARMS): Do not use macros from bp-asm.h.
261         (STR): Likewise.
262         (DELIM): Likewise.
263         [USE_AS_STRTOK_R] (SAVE): Likewise.
264         (FUNCTION): Likewise.  Do not use BP_SYM.
265         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
266         aliases.
267         (strtok_r): Likewise.
268         (__GI___strtok_r): Likewise.
269         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
270         (PARMS): Do not use macros from bp-asm.h.
271         (S): Likewise.
272         (SIZE): Likewise.
273         (__mpn_lshift): Do not use BP_SYM.
274         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
275         (PARMS): Do not use macros from bp-asm.h.
276         (STR): Likewise.
277         (CHR): Likewise.
278         (__memchr): Do not use BP_SYM.
279         (memchr): Do not use BP_SYM in weak_alias.
280         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
281         (PARMS): Do not use macros from bp-asm.h.
282         (BLK2): Likewise.
283         (LEN): Likewise.
284         (memcmp): Do not use BP_SYM.
285         (bcmp): Do not use BP_SYM in weak_alias.
286         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
287         (PARMS): Do not use macros from bp-asm.h.
288         (S1): Likewise.
289         (SIZE): Likewise.
290         (__mpn_mul_1): Do not use BP_SYM.
291         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
292         "bp-asm.h".
293         (PARMS): Do not use macros from bp-asm.h.
294         (STR): Likewise.
295         (CHR): Likewise.
296         (__rawmemchr): Do not use BP_SYM.
297         (rawmemchr): Do not use BP_SYM in weak_alias.
298         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
299         (PARMS): Do not use macros from bp-asm.h.
300         (S): Likewise.
301         (SIZE): Likewise.
302         (__mpn_rshift): Do not use BP_SYM.
303         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
304         (PARMS): Do not use macros from bp-asm.h.
305         (SIGMSK): Likewise.
306         (__sigsetjmp): Likewise.  Do not use BP_SYM.
307         * sysdeps/i386/start.S: Do not include "bp-sym.h".
308         (_start): Do not use BP_SYM.
309         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
310         (PARMS): Do not use macros from bp-asm.h.
311         (DEST): Likewise.
312         (SRC): Likewise.
313         (__stpcpy): Likewise.  Do not use BP_SYM.
314         (stpcpy): Do not use BP_SYM in weak_alias.
315         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
316         "bp-asm.h".
317         (PARMS): Do not use macros from bp-asm.h.
318         (DEST): Likewise.
319         (SRC): Likewise.
320         (LEN): Likewise.
321         (__stpncpy): Likewise.  Do not use BP_SYM.
322         (stpncpy): Do not use BP_SYM in weak_alias.
323         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
324         (PARMS): Do not use macros from bp-asm.h.
325         (STR): Likewise.
326         (CHR): Likewise.
327         (strchr): Likewise.  Do not use BP_SYM.
328         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
329         "bp-asm.h".
330         (PARMS): Do not use macros from bp-asm.h.
331         (STR): Likewise.
332         (CHR): Likewise.
333         (__strchrnul): Likewise.  Do not use BP_SYM.
334         (strchrnul): Do not use BP_SYM in weak_alias.
335         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
336         "bp-asm.h".
337         (PARMS): Do not use macros from bp-asm.h.
338         (STOP): Likewise.
339         (strcspn): Do not use BP_SYM.
340         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
341         "bp-asm.h".
342         (PARMS): Do not use macros from bp-asm.h.
343         (STR): Likewise.
344         (STOP): Likewise.
345         (strpbrk): Likewise.  Do not use BP_SYM.
346         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
347         "bp-asm.h".
348         (PARMS): Do not use macros from bp-asm.h.
349         (STR): Likewise.
350         (CHR): Likewise.
351         (strrchr): Likewise.  Do not use BP_SYM.
352         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
353         (PARMS): Do not use macros from bp-asm.h.
354         (SKIP): Likewise.
355         (strspn): Do not use BP_SYM.
356         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
357         (PARMS): Do not use macros from bp-asm.h.
358         (STR): Likewise.
359         (DELIM): Likewise.
360         (SAVE): Likewise.
361         (FUNCTION): Likewise.  Do not use BP_SYM.
362         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
363         aliases.
364         (strtok_r): Likewise.
365         (__GI___strtok_r): Likewise.
366         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
367         (PARMS): Do not use macros from bp-asm.h.
368         (S1): Likewise.
369         (S2): Likewise.
370         (SIZE): Likewise.
371         (__mpn_sub_n): Do not use BP_SYM.
372         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
373         "bp-asm.h".
374         (PARMS): Do not use macros from bp-asm.h.
375         (S1): Likewise.
376         (SIZE): Likewise.
377         (__mpn_submul_1): Do not use BP_SYM.
378         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
379         <bp-sym.h>.
380         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
381         and <bp-asm.h>.
382         (PARMS): Do not use macros from bp-asm.h.
383         (FLAGS): Likewise.
384         (PTID): Likewise.
385         (TLS): Likewise.
386         (CTID): Likewise.
387         (__clone): Do not use BP_SYM.
388         (clone): Do not use BP_SYM in weak_alias.
389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
390         and <bp-asm.h>.
391         (PARMS): Do not use macros from bp-asm.h.
392         (LEN): Likewise.
393         (__mmap64): Do not use BP_SYM.
394         (mmap64): Do not use BP_SYM in weak_alias.
395         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
396         <bp-sym.h> and <bp-asm.h>.
397         (PARMS): Do not use macros from bp-asm.h.
398         (__posix_fadvise64_l64): Do not use BP_SYM.
399         * sysdeps/unix/sysv/linux/i386/semtimedop.S
400         (PARMS): Do not use macros from bp-asm.h.
401         (NSOPS): Likewise.
402         (semtimedop): Do not use BP_SYM.
403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
404         and <bp-asm.h>.
406 2013-02-21  Allan McRae  <allan@archlinux.org>
408         * manual/message.texi (Charset conversion in gettext):
409         Move @end statement to beginning of line.
411 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
414         static.
415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
416         Likewise.
418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
419         (denorm): Likewise.
420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
423 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
425         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
426         tail-call to the resolved function if pltexit isn't needed.
428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
431         or Y being zero as being unlikely.
432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
433         Likewise.
435 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
437         * manual/nss.texi (System Databases and Name Service Switch):
438         Remove frobnicate @pxref.
440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
443         __attribute__ ((unused)) to __attribute__ ((__unused__)).
445 2013-02-20  Petr Machata  <pmachata@redhat.com>
447         * elf/elf.h (R_ARM_TARGET1): New macro.
448         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
449         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
450         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
451         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
452         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
453         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
454         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
455         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
456         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
457         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
458         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
459         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
460         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
461         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
462         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
463         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
464         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
465         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
466         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
467         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
468         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
469         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
470         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
471         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
472         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
473         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
474         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
475         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
476         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
477         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
478         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
479         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
480         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
481         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
482         (R_ARM_THM_GOT_BREL12): Likewise.
483         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
484         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
485         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
486         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
487         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
488         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
489         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
490         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
491         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
493 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
495         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
496         __attribute_used__ to __attribute__ ((unused)).
498 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
500         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
501         powerpc mpa.c.
502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
503         comment formatting.
504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
506 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
508         [BZ #13550]
509         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
510         Remove macro.
511         (ENTER): Remove both macro definitions.
512         (LEAVE): Likewise.
513         (CHECK_BOUNDS_LOW): Likewise.
514         (CHECK_BOUNDS_HIGH): Likewise.
515         (CHECK_BOUNDS_BOTH): Likewise.
516         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
517         (RETURN_BOUNDED_POINTER): Likewise.
518         (RETURN_NULL_BOUNDED_POINTER): Likewise.
519         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
520         (POP_ERRNO_LOCATION_RETURN): Likewise.
521         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
523         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
524         macros.
525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
526         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
527         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
528         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
529         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
531         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
532         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
533         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
534         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
535         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
536         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
538         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
539         removed macros.
540         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
541         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
542         macros.
543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
544         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
545         * sysdeps/i386/i586/memset.S (memset): Likewise.
546         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
547         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
548         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
549         macros.
550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
551         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
552         Change uses of L(2) to L(out).
553         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
554         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
555         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
557         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
558         removed macros.
559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
560         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
561         macros.
562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
563         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
564         (RETURN): Do not use macro LEAVE.
565         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
566         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
567         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
568         * sysdeps/i386/i686/memset.S (memset): Likewise.
569         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
570         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
572         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
573         Likewise.
574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
575         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
576         L(1_2) and L(1_3) into L(1).
577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
578         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
580         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
581         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
582         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
583         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
585         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
586         macros.
587         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
589         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
590         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
591         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
592         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
593         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
594         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
595         * sysdeps/i386/strcspn.S (strcspn): Likewise.
596         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
597         * sysdeps/i386/strrchr.S (strrchr): Likewise.
598         * sysdeps/i386/strspn.S (strspn): Likewise.
599         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
600         conditional code.
601         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
602         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
603         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
604         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
605         L(1_3) into L(1_1).
606         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
608         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
609         macros.
610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
614         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
615         macro.
617 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
619         * math/atest-exp.c (exp_mpn): Remove ROUND.
620         * math/atest-exp2.c (exp_mpn): Likewise.
621         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
623         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
624         * stdlib/tst-tls-atexit-lib.c: Likewise.
625         * stdlib/tst-tls-atexit.c: Likewise.
627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
629         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
630         and __attribute_alloc_size__.
632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
634         * include/programs/xmalloc.h: Change __attribute_alloc_size to
635         __attribute_alloc_size__.
636         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
637         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
641         * include/programs/xmalloc.h: New file.
642         * catgets/gencat.c: Include it.
643         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
644         * elf/pldd.c: Likewise.
645         * iconv/iconv_charmap.c: Likewise.
646         * iconv/iconvconfig.c: Likewise.
647         * iconv/strtab.c: Likewise.
648         * locale/programs/locale.c: Likewise.
649         * locale/programs/localedef.h: Likewise.
650         * locale/programs/simple-hash.c: Likewise.
651         * nscd/nscd.h: Likewise.
652         * nss/makedb.c: Likewise.
653         * sysdeps/generic/ldconfig.h: Likewise.
655 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         * Versions.def: Add GLIBC_2.18.
658         * include/link.h (struct link_map): New member l_tls_dtor_count.
659         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
660         (__call_tls_dtors): Likewise.
661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
662         __cxa_thread_atexit_impl.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
664         Likewise.
665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
666         Likewise.
667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
668         Likewise.
669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
670         Likewise.
671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
673         Likewise.
674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
675         Likewise.
676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
678         Likewise.
679         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
680         (tests): Add test case tst-tls-atexit.
681         (modules-names): Add shared library for tst-tls-atexit.
682         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
683         (GLIBC_PRIVATE): Add __call_tls_dtors.
684         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
685         for libstdc++.
686         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
687         * stdlib/tst-tls-atexit.c: New test case.
688         * stdlib/tst-tls-atexit-lib.c: New test case.
690         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
692         * elf/Versions (ld): Add _dl_find_dso_for_object.
693         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
694         * elf/dl-open.c (_dl_find_dso_for_object): New function.
695         (dl_open_worker): Use _dl_find_dso_for_object.
696         * elf/dl-sym.c (do_sym): Likewise.
697         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
699 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
701         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
702         Syntactic changes only.
703         (_dl_runtime_profile): Do a tail-call to the resolved function.
705 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
707         [BZ #13550]
708         * sysdeps/x86_64/bp-asm.h: Remove file.
709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
710         <bp-sym.h> and <bp-asm.h>.
711         (__clone): Do not use BP_SYM.
712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
713         <bp-sym.h> and <bp-asm.h>.
714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
715         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
716         "bp-asm.h".
717         (_setjmp): Do not use BP_SYM.
718         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
719         "bp-asm.h".
720         (setjmp): Do not use BP_SYM.
721         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
722         libc_hidden_def.
723         (mempcpy): Do not use BP_SYM in weak_alias.
724         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
725         "bp-asm.h".
726         (strchr): Do not use BP_SYM.
727         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
728         "bp-asm.h".
729         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
730         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
731         (_start): Do not use BP_SYM.
732         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
733         "bp-asm.h".
734         (strcat): Do not use BP_SYM.
735         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
736         "bp-asm.h".
737         (STRCMP): Do not use BP_SYM.
738         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
739         "bp-asm.h".
740         (STRCPY): Do not use BP_SYM.
741         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
742         "bp-asm.h".
743         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
744         "bp-asm.h".
745         (FUNCTION): Do not use BP_SYM.
746         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
747         weak_alias.
748         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
750 2013-02-17  Andreas Jaeger  <aj@suse.de>
752         * time/Versions: Sort entries.
753         * string/Versions: Likewise.
754         * resolv/Versions: Likewise.
755         * posix/Versions: Likewise.
756         * iconv/Versions: Likewise.
757         * elf/Versions: Likewise.
758         * wcsmbs/Versions: Likewise.
760 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
763         loop termination condition.
765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
766         variable to calculate EZ.
767         (__sqr): Likewise.
769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
770         the lower precision input.
772 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #13550]
775         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
776         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
777         (run-via-rtld-prefix): Do not handle %-bp tests.
778         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
779         (all-object-suffixes): Remove .ob.
780         (bppfx): Remove variable.
781         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
782         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
783         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
784         [$(build-bounded) = yes] (libtype.ob): Likewise.
785         * Makerules (elide-routines.ob): Remove variable.
786         (do-tests-clean): Do not handle *-bp.out.
787         (common-mostlyclean): Do not handle *-bp and *-bp.out.
788         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
789         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
790         (tests): Do not include $(tests-bp.out).
791         (xtests): Do not include $(xtests-bp.out).
792         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
793         [$(build-bounded) = yes] ($(addprefix
794         $(objpfx),$(binaries-bounded))): Remove rule.
795         ($(objpfx)%-bp.out): Remove rule.
796         * config.make.in (build-bounded): Remove variable.
797         * crypt/Makefile [$(build-bounded) = yes]
798         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
799         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
800         append to variable.
801         [$(build-bounded) = yes] (install-lib): Likewise.
802         [$(build-bounded) = yes] (generated): Likewise.
803         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
804         Remove rule.
805         * intl/Makefile [$(build-bounded) = yes]
806         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
807         * math/Makefile [$(build-bounded) = yes]
808         ($(tests:%=$(objpfx)%-bp): Likewise.
809         * misc/Makefile [$(build-bounded) = yes]
810         ($(objpfx)tst-tsearch-bp): Likewise.
811         * nptl/Makeconfig (bounded-thread-library): Remove variable.
812         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
813         Remove dependency.
814         * string/Makefile (o-objects.ob): Remove variable.
815         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
816         (CFLAGS-.ob): Remove variable.
817         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
819         both definitions of variable.
820         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
821         (ASFLAGS-.ob): Remove variable.
823 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
825         [BZ #13550]
826         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
827         Remove __BOUNDED_POINTERS__ from condition.
828         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
829         * string/bits/string2.h [!__NO_STRING_INLINES &&
830         !__BOUNDED_POINTERS__]: Likewise.
831         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
832         Likewise.
833         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
834         Remove conditional code.
835         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
836         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
837         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
838         condition.
840         [BZ #13550]
841         * csu/libc-start.c: Do not include <bp-sym.h>.
842         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
843         * elf/dl-open.c: Do not include <bp-sym.h>.
844         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
845         * math/fegetenv.c: Do not include <bp-sym.h>.
846         (fegetenv): Do not use BP_SYM in versioned symbols.
847         * nptl/sysdeps/pthread/bits/libc-lockP.h
848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
849         <bp-sym.h>.
850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
851         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
853         (__pthread_mutex_destroy): Likewise.
854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
855         (__pthread_mutex_lock): Likewise.
856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
857         (__pthread_mutex_trylock): Likewise.
858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
859         (__pthread_mutex_unlock): Likewise.
860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
861         (__pthread_mutexattr_init): Likewise.
862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
863         (__pthread_mutexattr_destroy): Likewise.
864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
865         (__pthread_mutexattr_settype): Likewise.
866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
867         (__pthread_rwlock_init): Likewise.
868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
869         (__pthread_rwlock_destroy): Likewise.
870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
871         (__pthread_rwlock_rdlock): Likewise.
872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
873         (__pthread_rwlock_tryrdlock): Likewise.
874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
875         (__pthread_rwlock_wrlock): Likewise.
876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
877         (__pthread_rwlock_trywrlock): Likewise.
878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
879         (__pthread_rwlock_unlock): Likewise.
880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881         (__pthread_key_create): Likewise.
882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883         (__pthread_setspecific): Likewise.
884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885         (__pthread_getspecific): Likewise.
886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
887         Likewise.
888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889         (_pthread_cleanup_push_defer): Likewise.
890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891         (_pthread_cleanup_pop_restore): Likewise.
892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893         (pthread_setcancelstate): Likewise.
894         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
895         <bp-sym.h>.
896         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
897         (memchr): Do not use BP_SYM in weak_alias.
898         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
899         (fegetenv): Do not use BP_SYM in versioned symbols.
900         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
901         (fesetenv): Do not use BP_SYM in versioned symbols.
902         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
903         (feupdateenv): Do not use BP_SYM in versioned symbols.
904         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
906         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
907         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
908         (open64): Do not use BP_SYM in weak_alias.
909         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
910         (fegetenv): Do not use BP_SYM in versioned symbols.
911         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
912         (fesetenv): Do not use BP_SYM in versioned symbols.
913         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
914         (feupdateenv): Do not use BP_SYM in versioned symbols.
915         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
916         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
917         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
918         (feraiseexcept): Do not use BP_SYM in versioned symbols.
919         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
920         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
922         <bp-sym.h>.
923         (__libc_start_main): Do not use BP_SYM.
925 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
928         redundant return line.
929         (norm): Likewise.
930         (denorm): Likewise.
931         (dbl_mp): Likewise.
932         (sub_magnitudes): Likewise.
933         (__add): Likewise.
934         (__sub): Likewise.
935         (__mul): Likewise.
936         (__inv): Likewise.
937         (__dvd): Likewise.
938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
939         (norm): Likewise.
940         (denorm): Likewise.
941         (dbl_mp): Likewise.
942         (sub_magnitudes): Likewise.
943         (__add): Likewise.
944         (__sub): Likewise.
945         (__mul): Likewise.
946         (__inv): Likewise.
947         (__dvd): Likewise.
949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
950         instead of __mul.
951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
952         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
953         (cc32): Likewise.
955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
956         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
958         of __mul for squares.
959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
960         function
961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
962         Likewise.
963         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
964         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
966 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
968         [BZ #13550]
969         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
970         code.
971         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
972         prototype or function definition.  Rename ubp_* variables and
973         parameters.  Remove argv definitions conditional on
974         [__BOUNDED_POINTERS__].
975         * debug/backtrace.c (__backtrace): Do not use __unbounded.
976         * elf/dl-runtime.c (_dl_fixup): Likewise.
977         * include/set-hooks.h (RUN_HOOK): Likewise.
978         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
979         definition.
980         * string/strcpy.c (strcpy): Do not use __unbounded.
981         * sysdeps/generic/frame.h (struct layout): Likewise.
982         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
983         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
984         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
985         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
986         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
987         (__backtrace): Likewise.
988         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
989         use __ptrvalue.
990         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
993         Likewise.
994         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
995         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
996         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
998         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
999         Do not use __unbounded.
1000         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1001         Rename __unboundedrlimits parameter to rlimits in prototype.
1002         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1003         Do not use __unbounded.
1004         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1005         not use __ptrvalue.
1006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1007         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1010         __ptrvalue or __unbounded.
1011         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1012         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1013         use __unbounded.
1014         (__new_msgctl): Do not use __ptrvalue.
1015         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1016         __unbounded.
1017         (__libc_msgrcv): Do not use __ptrvalue.
1018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1019         startup_info): Do not use __unbounded.
1020         (__libc_start_main): Likewise.  Rename ubp_* variables and
1021         parameters.  Remove argv definitions conditional on
1022         [__BOUNDED_POINTERS__].
1023         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1024         __ptrvalue.
1025         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1026         use __unbounded.
1027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1028         or __ptrvalue.
1029         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1030         use __unbounded.
1031         (__new_shmctl): Do not use __ptrvalue.
1032         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1033         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1034         Likewise.
1035         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1037         (__libc_sigaction): Likewise.
1038         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1043 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1045         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1047         * string/mempcpy.c: Implement by calling memcpy.
1049 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1054         evaluation.
1056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1057         values in the mantissa.
1059         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1060         minimize writes to Z.
1061         (sub_magnitudes): Simplify code a bit.
1063 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1065         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1066         from the message.  The linker prefixes all warnings with that already.
1068 2013-02-12  Andreas Schwab  <schwab@suse.de>
1070         [BZ #15078]
1071         * posix/regexec.c (extend_buffers): Add parameter min_len.
1072         (check_matching): Pass minimum needed length.
1073         (clean_state_log_if_needed): Likewise.
1074         (get_subexp): Likewise.
1075         * posix/Makefile (tests): Add bug-regex34.
1076         (bug-regex34-ENV): Define.
1077         * posix/bug-regex34.c: New file.
1079         [BZ #11561]
1080         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1081         elements compare against the byte sequence of it, not its name.
1082         * posix/Makefile (tests): Add bug-regex35.
1083         (bug-regex35-ENV): Define.
1084         * posix/bug-regex35.c: New file.
1086 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1088         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1089         comment.
1090         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1091         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1092         (CHECK_EOL): Add undef.
1094 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1096         * bits/stdlib-bsearch.h: New file.
1097         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1098         * stdlib/stdlib.h: Likewise.
1100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1102         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1103         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1104         declaration.
1105         * manual/search.texi (Array Search Function): Add missing const in
1106         lfind prototype.
1107         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1108         declaration to use rlim_t.
1109         (Basic Scheduling Functions): Remove erroneous const from
1110         sched_getparam prototype.  Remove erroneous * from
1111         sched_get_priority_max and sched_get_priority_min prototypes.
1112         (Resource Usage): Fix summary @comment on vtimes to refer to
1113         sys/vtimes.h rather than vtimes.h.
1114         Add missing *s in vtimes prototype.
1115         (Limits on Resources): Fix ulimit prototype to return long int.
1116         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1117         prototypes to use long int rather than double.
1118         (BSD Random): Fix initstate and setstate to use char *, not void *.
1119         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1120         prototype to make second argument 'struct aiocb64 *const[]'.
1121         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1122         (Status of AIO Operations): Remove erroneous const in aio_return and
1123         aio_return64 prototypes.
1124         (Synchronizing I/O): Fix sync prototype to return void.
1125         * manual/startup.texi (Suboptions): Remove an erroneous const in
1126         getsubopt prototype.
1127         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1128         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1129         use size_t rather than int.
1130         (Scanning All Users): Likewise for getpwent_r.
1131         (Setting Groups): Add missing const to setgroups prototype.
1132         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1133         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1134         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1135         'const void *' rather than 'const char *'.
1136         (Host Address Functions): Likewise for inet_ntop.
1137         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1138         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1139         ssize_t for return value.
1140         (Sending Data): Likewise for send, sendto, sendmsg.
1141         (Socket Option Functions): Add a missing const in setsockopt prototype.
1142         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1143         use wchar_t for the argument.
1144         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1145         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1146         take no arguments.
1147         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1148         double/float/long double for second argument.
1149         Fix return types of significand, significandf, significandl.
1150         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1151         argument in fchmod prototype.
1152         (File Owner): Use uid_t and gid_t in fchown prototype.
1153         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1154         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1155         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1156         use 'const struct dirent **' as argument types to CMP function pointer
1157         argument.
1158         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1159         (File Times): Fix summary magic @comment for struct utimbuf and utime
1160         to refer to utime.h, not time.h.
1161         * manual/string.texi (Argz Functions): Add missing const in
1162         argz_extract and argz_next prototypes.
1163         (Finding Tokens in a String): Likewise for basename.
1164         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1165         (Copying and Concatenation): Fix typo in wmemmove prototype.
1166         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1167         (Signal Stack): Remove erroneous const in sigstack prototype.
1168         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1169         prototype.
1170         (Simple Calendar Time): Likewise for stime.
1171         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1172         prototype.
1173         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1174         say sys/sysctl.h instead.
1175         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1176         and vsyslog prototypes.
1178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1180         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1181         Remove.
1183 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1185         * misc/sys/mman.h: Fix typo in mremap comment.
1187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1189         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1190         the '\0' terminator.
1192 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1194         [BZ #13550]
1195         * debug/segfault.c: Don't include <bp-checks.h>.
1196         * sysdeps/generic/bp-checks.h: Remove file.
1197         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1198         (__GETDENTS): Don't use CHECK_N.
1199         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1200         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1201         (__getgroups): Don't use CHECK_N.
1202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1203         (setgroups): Don't use CHECK_N.
1204         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1205         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1206         (__libc_msgrcv): Don't use CHECK_N.
1207         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1208         (__libc_msgsnd): Don't use CHECK_N.
1209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1210         <bp-checks.h>.
1211         (__libc_pread): Don't use CHECK_N.
1212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1213         include <bp-checks.h>.
1214         (__libc_pread64): Don't use CHECK_N.
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1216         include <bp-checks.h>.
1217         (__libc_pwrite): Don't use CHECK_N.
1218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1219         include <bp-checks.h>.
1220         (__libc_pwrite64): Don't use CHECK_N.
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1222         <bp-checks.h>.
1223         (__libc_pread): Don't use CHECK_N.
1224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1225         include <bp-checks.h>.
1226         (__libc_pread64): Don't use CHECK_N.
1227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1228         include <bp-checks.h>.
1229         (__libc_pwrite): Don't use CHECK_N.
1230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1231         include <bp-checks.h>.
1232         (__libc_pwrite64): Don't use CHECK_N.
1233         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1234         (do_pread): Don't use CHECK_N.
1235         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1236         (do_pread64): Don't use CHECK_N.
1237         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1238         (do_pwrite): Don't use CHECK_N.
1239         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1240         (do_pwrite64): Don't use CHECK_N.
1241         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1242         (__libc_readv): Don't use CHECK_N.
1243         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1244         (semop): Don't use CHECK_N.
1245         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1246         <bp-checks.h>.
1247         (semtimedop): Don't use CHECK_N.
1248         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1249         (__libc_pread): Don't use CHECK_N.
1250         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1251         <bp-checks.h>.
1252         (__libc_pread64): Don't use CHECK_N.
1253         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1254         <bp-checks.h>.
1255         (__libc_pwrite): Don't use CHECK_N.
1256         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1257         <bp-checks.h>.
1258         (__libc_pwrite64): Don't use CHECK_N.
1259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1260         <bp-checks.h>.
1261         (__libc_msgrcv): Don't use CHECK_N.
1262         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1263         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1264         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1265         (__libc_writev): Don't use CHECK_N.
1267 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1269         * string/strcpy.c: Removed unused variable.
1271         * Makeconfig (+sysdep-includes): Define with := rather than =.
1272         Use an existing include/ subdir of each sysdeps dir before it.
1274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1276         * nscd/connection.c (register_traced_file): Comment function.
1277         [HAVE_INOTIFY] (union __inev): Define.
1278         [HAVE_INOTIFY] (inotify_check_files): New function.
1279         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1280         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1281         clear_db_cache.
1282         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1286         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1287         loaded if not already and that a failure is permanent.
1289 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1291         [BZ #15006]
1292         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1293         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1295 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1297         [BZ #13550]
1298         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1299         (CHECK_1_NULL_OK): Likewise.
1300         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1301         (__fxstat): Do not use CHECK_1.
1302         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1303         <bp-checks.h>.
1304         (___fxstat64): Do not use CHECK_1.
1305         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1306         <bp-checks.h>.
1307         (__fxstatat): Do not use CHECK_1.
1308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1309         <bp-checks.h>.
1310         (__fxstatat64): Do not use CHECK_1.
1311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1312         <bp-checks.h>.
1313         (__fxstat): Do not use CHECK_1.
1314         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1315         <bp-checks.h>.
1316         (__fxstatat): Do not use CHECK_1.
1317         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1318         <bp-checks.h>.
1319         (__getresgid): Do not use CHECK_1.
1320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1321         <bp-checks.h>.
1322         (__getresuid): Do not use CHECK_1.
1323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1324         <bp-checks.h>.
1325         (__lxstat): Do not use CHECK_1.
1326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1327         <bp-checks.h>.
1328         (__old_msgctl): Do not use CHECK_1.
1329         (__new_msgctl): Likewise.
1330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1331         <bp-checks.h>.
1332         (__new_setrlimit): Do not use CHECK_1.
1333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1334         <bp-checks.h>.
1335         (__old_shmctl): Do not use CHECK_1.
1336         (__new_shmctl): Likewise.
1337         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1338         <bp-checks.h>.
1339         (__xstat): Do not use CHECK_1.
1340         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1341         (__lxstat): Do not use CHECK_1.
1342         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1343         <bp-checks.h>.
1344         (___lxstat64): Do not use CHECK_1.
1345         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1346         (__old_msgctl): Do not use CHECK_1.
1347         (__new_msgctl): Likewise.
1348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1349         <bp-checks.h>.
1350         (__gettimeofday): Do not use CHECK_1.
1351         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1352         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1354         <bp-checks.h>.
1355         (__gettimeofday): Do not use CHECK_1.
1356         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1357         (__old_shmctl): Do not use CHECK_1_NULL_OK.
1358         (__new_shmctl): Do not use CHECK_1.
1359         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1360         <bp-checks.h>.
1361         (do_sigtimedwait): Do not use CHECK_1.
1362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1363         <bp-checks.h>.
1364         (do_sigwaitinfo): Do not use CHECK_1.
1365         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1366         <bp-checks.h>.
1367         (msgctl): Do not use CHECK_1.
1368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1369         <bp-checks.h>.
1370         (shmctl): Do not use CHECK_1.
1371         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1372         (ustat): Do not use CHECK_1.
1373         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1374         <bp-checks.h>.
1375         (__fxstat): Do not use CHECK_1.
1376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1377         <bp-checks.h>.
1378         (__fxstatat): Do not use CHECK_1.
1379         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1380         <bp-checks.h>.
1381         (__lxstat): Do not use CHECK_1.
1382         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1383         <bp-checks.h>.
1384         (__xstat): Do not use CHECK_1.
1385         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1386         (__xstat): Do not use CHECK_1.
1387         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1388         (___xstat64): Do not use CHECK_1.
1390         [BZ #13550]
1391         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1392         definitions.
1393         (CHECK_BOUNDS_HIGH): Likewise.
1394         * string/strcpy.c: Do not include <bp-checks.h>.
1395         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1397 2013-02-07  Roland McGrath  <roland@hack.frob.com>
1399         * nscd/nscd-client.h (__nscd_drop_map_ref):
1400         Add __attribute__ ((unused)).
1401         * nis/nss-nisplus.h (niserr2nss): Likewise.
1403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1404         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1406         * csu/libc-tls.c (init_static_tls, init_slotinfo):
1407         Remove inline keyword.
1408         * include/rounding-mode.h (round_away): Likewise.
1409         * libio/wfileops.c (adjust_wide_data): Likewise.
1410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1411         (__m128i_strloadu_tolower): Likewise.
1412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1413         (__m128i_strloadu_tolower): Likewise.
1414         * time/mktime.c (ydhms_diff): Likewise.
1415         * locale/elem-hash.h (elem_hash): Likewise.
1416         * locale/setlocale.c (setdata): Likewise.
1417         * posix/regex_internal.h (re_string_char_size_at): Likewise.
1418         (re_string_wchar_at): Likewise.
1419         (bitset_not, bitset_merge, bitset_mask): Likewise.
1420         [!(__GNUC__ > 3)] (inline): Remove macro.
1421         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1422         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1423         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1424         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1425         * string/memcmp.c (memcmp_bytes): Likewise.
1426         * locale/programs/locarchive.c (compute_hashval): Likewise.
1427         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1428         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1429         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1430         * nss/getent.c (print_rpc, print_protocols): Likewise.
1431         (print_passwd, print_group, print_aliases): Likewise.
1432         * nis/nss-nisplus.h (niserr2nss): Likewise.
1433         * nscd/connections.c (restart_p): Likewise.
1434         Change return type to bool.
1436 2013-02-05  Roland McGrath  <roland@hack.frob.com>
1438         * Makeconfig (all-Depend-files): Add existing
1439         $(sorted-subdirs:=/Depend) files.
1440         (all-subdirs): Remove nss.
1441         * sysdeps/unix/inet/Subdirs: Add it here instead.
1442         * hesiod/Depend: New file.
1444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1445         instead of calling alloca.
1447         * io/lseek.c (__lseek): Rename to __libc_lseek.
1448         Define __lseek as an alias.
1450         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1452 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
1454         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1455         else clause and remove check for non-standard endianness.
1457 2013-02-04  David S. Miller  <davem@davemloft.net>
1459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1461 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
1463         [BZ #13550]
1464         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1465         (__ubp_memchr): Remove prototype.
1466         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1467         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1468         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1469         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1470         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1471         Remove alias.
1472         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1473         (__ubp_memchr): Likewise.
1474         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1475         (__ubp_memchr): Likewise.
1476         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1477         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1478         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1480         CHECK_STRING.
1481         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1482         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1483         (__getcwd): Do not use CHECK_STRING.
1484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1485         <bp-checks.h>.
1486         (__real_chown): Do not use CHECK_STRING.
1487         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1488         <bp-checks.h>.
1489         (fchownat): Do not use CHECK_STRING.
1490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1491         CHECK_STRING.
1492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1493         <bp-checks.h>.
1494         (__lchown): Do not use CHECK_STRING.
1495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1498         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1500         include <bp-checks.h>.
1501         (truncate64): Do not use CHECK_STRING.
1502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1503         <bp-checks.h>.
1504         (__real_chown): Do not use CHECK_STRING.
1505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1506         <bp-checks.h>.
1507         (__lchown): Do not use CHECK_STRING.
1508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1509         <bp-checks.h>.
1510         (__chown): Do not use CHECK_STRING.
1511         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1512         <bp-checks.h>.
1513         (truncate64): Do not use CHECK_STRING.
1514         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1517         (__xmknod): Do not use CHECK_STRING.
1518         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1519         <bp-checks.h>.
1520         (__xmknodat): Do not use CHECK_STRING.
1521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1522         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1524 2013-02-04  Andreas Schwab  <schwab@suse.de>
1526         [BZ #14142]
1527         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1528         * include/netdb.h: Likewise for h_errno.
1529         * elf/tst-stackguard1.c: Include <tls.h>.
1531 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1533         * elf/link.h (struct link_map): Extend the l_addr comment.
1534         * include/link.h (struct link_map): Likewise.
1536 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
1538         [BZ #13550]
1539         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1540         (BOUNDED_1): Remove macro.
1541         * debug/backtrace.c: Don't include <bp-checks.h>.
1542         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1543         (__backtrace): Likewise.
1544         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1545         <bp-checks.h>.
1546         (__backtrace): Don't use BOUNDED_1.
1547         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1548         <bp-checks.h>.
1549         (__backtrace): Don't use BOUNDED_1.
1550         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1551         (__backtrace): Don't use BOUNDED_1.
1552         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1553         (shmat): Don't use BOUNDED_N.
1555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
1557         [BZ #13550]
1558         * sysdeps/generic/bp-start.h: Remove file.
1559         * csu/libc-start.c: Don't include <bp-start.h>.
1560         (LIBC_START_MAIN): Set up __environ directly instead of using
1561         INIT_ARGV_and_ENVIRON.
1562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1563         <bp-start.h>.
1565         [BZ #13550]
1566         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1567         definitions.
1568         (CHECK_FCNTL): Likewise.
1569         (CHECK_N_PAGES): Likewise.
1571         [BZ #13550]
1572         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1573         definitions.
1574         (CHECK_SIGSET_NULL_OK): Likewise.
1575         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1576         <bp-checks.h>.
1577         (sigpending): Don't use CHECK_SIGSET.
1578         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1579         <bp-checks.h>.
1580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1582         <bp-checks.h>.
1583         (do_sigsuspend): Don't use CHECK_SIGSET.
1584         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1585         use CHECK_SIGSET.
1586         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1587         (do_sigwait): Don't use CHECK_SIGSET.
1588         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1589         use CHECK_SIGSET.
1590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1591         include <bp-checks.h>.
1592         (sigpending): Don't use CHECK_SIGSET.
1593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1594         include <bp-checks.h>.
1595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1596         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1597         <bp-checks.h>.
1598         (sigpending): Don't use CHECK_SIGSET.
1599         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1600         <bp-checks.h>.
1601         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1603         [BZ #13550]
1604         * sysdeps/generic/bp-semctl.h: Remove file.
1605         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1606         <bp-checks.h> and <bp-semctl.h>.
1607         (__old_semctl): Don't use CHECK_SEMCTL.
1608         (__new_semctl): Likewise.
1609         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1610         and <bp-semctl.h>.
1611         (__old_semctl): Don't use CHECK_SEMCTL.
1612         (__new_semctl): Likewise.
1613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1614         <bp-checks.h> and <bp-semctl.h>.
1615         (__old_semctl): Don't use CHECK_SEMCTL.
1616         (__new_semctl): Likewise.
1617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1618         <bp-checks.h> and <bp-semctl.h>.
1619         (semctl): Don't use CHECK_SEMCTL.
1621         [BZ #13550]
1622         * Makerules (elide-bp-thunks): Remove variable.
1623         (elide-routines.oS): Don't use $(elide-bp-thunks).
1624         (elide-routines.os): Likewise.
1625         (elide-routines.o): Likewise.
1626         (elide-routines.op): Likewise.
1627         (elide-routines.og): Likewise.
1628         (objects): Don't use $(bp-thunks).
1629         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1630         include.
1631         (common-generated): Do not add s-proto-bp.d.
1632         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1633         (int): Likewise.
1634         (typ): Likewise.
1635         Do not generate makefile rules for bounded-pointer thunks.
1636         * sysdeps/generic/bp-thunks.h: Remove file.
1637         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1638         * sysdeps/unix/s-proto-bp.S: Likewise.
1640         [BZ #15062]
1641         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1642         parts of result separately when argument is not close to line from
1643         -i to i and one part of argument is small.
1644         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1645         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1646         * math/libm-test.inc (cacos_test): Add more tests.
1647         (casin_test): Likewise.
1648         (casinh_test): Likewise.
1649         * sysdeps/i386/fpu/libm-test-ulps: Update.
1650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2013-01-31  David S. Miller  <davem@davemloft.net>
1654         * po/de.po: Update from translation team.
1656 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
1658         * time/tzfile.c: Include stdint.h for SIZE_MAX.
1660 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
1662         * configure.in (_AC_PROG_CC_C89): New definition.
1663         * configure: Regenerate.
1665         * configure.in (AC_PROG_CPP): New definition.
1666         * configure: Regenerate.
1668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1670         * debug/tst-backtrace.h: New file.
1671         * debug/tst-backtrace2.c: Include tst-backtrace.h.
1672         (ret): Remove variable.
1673         (x): Likewise.
1674         (FAIL): Remove macro.
1675         (NO_INLINE): Likewise.
1676         (fn1): Use match function instead of strstr.
1677         * debug/tst-backtrace3.c: Include tst-backtrace.h.
1678         (ret): Remove variable.
1679         (x): Likewise.
1680         (FAIL): Remove macro.
1681         (NO_INLINE): Likewise.
1682         (fn): Use match function instead of strstr.
1683         * debug/tst-backtrace4.c: Include tst-backtrace.h.
1684         (ret): Remove variable.
1685         (x): Likewise.
1686         (FAIL): Remove macro.
1687         (NO_INLINE): Likewise.
1688         (handle_signal): Use match function instead of strstr.
1689         * debug/tst-backtrace5.c: Include tst-backtrace.h.
1690         (ret): Remove variable.
1691         (x): Likewise.
1692         (FAIL): Remove macro.
1693         (NO_INLINE): Likewise.
1694         (handle_signal): Use match function instead of strstr.
1696 2013-01-23  Roland McGrath  <roland@hack.frob.com>
1698         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1700 2013-01-23  David S. Miller  <davem@davemloft.net>
1702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1703         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1704         argument of CAS if possible.
1705         * sysdeps/sparc/sparc64/bits/atomic.h
1706         (__arch_compare_and_exchange_val_32_acq): Likewise.
1707         (__arch_compare_and_exchange_val_64_acq): Likewise.
1709 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
1711         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1712         * sysdeps/posix/ulimit.c: ... this.
1713         Include <limits.h>.
1714         * sysdeps/unix/bsd/ulimit.c: Remove file.
1716 2013-01-23  Adam Conrad  <adconrad@0c3.net>
1718         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1719         (LDFLAGS-tst-array5): Likewise.
1721 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1723         [BZ #15036]
1724         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1725         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1726         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1727         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1729 2013-01-21  David S. Miller  <davem@davemloft.net>
1731         * sysdeps/sparc/backtrace.c: New file.
1732         * sysdeps/sparc/sparc32/backtrace.h: New file.
1733         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1734         * sysdeps/sparc/sparc64/backtrace.h: New file.
1735         * sysdeps/sparc/sparc64/backtrace.c: Delete.
1736         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1737         -funwind-tables.
1739 2013-01-21  Andreas Schwab  <schwab@suse.de>
1741         [BZ #15020]
1742         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1743         closed its stdout.
1745 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
1747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1748         "mpa2.h".
1749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1751 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
1752             Mark Mitchell  <mark@codesourcery.com>
1753             Tom de Vries  <tom@codesourcery.com>
1754             Paul Pluzhnikov  <ppluzhnikov@google.com>
1756         * debug/tst-backtrace2.c: New file.
1757         * debug/tst-backtrace3.c: Likewise.
1758         * debug/tst-backtrace4.c: Likewise.
1759         * debug/tst-backtrace5.c: Likewise.
1760         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1761         (CFLAGS-tst-backtrace3.c): Likewise.
1762         (CFLAGS-tst-backtrace4.c): Likewise.
1763         (CFLAGS-tst-backtrace5.c): Likewise.
1764         (LDFLAGS-tst-backtrace2): Likewise.
1765         (LDFLAGS-tst-backtrace3): Likewise.
1766         (LDFLAGS-tst-backtrace4): Likewise.
1767         (LDFLAGS-tst-backtrace5): Likewise.
1768         (tests): Add new tests tst-backtrace2, tst-backtrace3,
1769         tst-backtrace4 and tst-backtrace5.
1771 2013-01-18  Anton Blanchard  <anton@samba.org>
1772             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1774         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1775         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1779         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1780         "+r" and remove output regs list as redundant.  Add explicit inline
1781         asm to specify register of return val to work around compiler codegen
1782         bug.  Remove (int) cast on return value.  Add return type parameter to
1783         use in macro so that this macro does not truncate return value for
1784         64-bit values.
1785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1786         pass to INTERNAL_VSYSCALL_NCS.
1787         (INLINE_VSYSCALL): Add 'long int' as return type to
1788         INTERNAL_VSYSCALL_NCS macro invocation.
1789         (INTERNAL_VSYSCALL): Add 'long int' as return type to
1790         INTERNAL_VSYSCALL_NCS macro invocation.
1791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1793 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1795         [BZ #14496]
1796         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1797         Fix application of SIMD FP exception mask.
1799         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1800         mp_no from a power of two.
1801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1802         __mpexp_twomm1.  Use __pow_mp.
1804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1805         multiplication.
1807 2013-01-17  David S. Miller  <davem@davemloft.net>
1809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1813         [BZ #15023]
1814         * include/complex.h: Condition contents on [!_COMPLEX_H].
1815         (__kernel_casinhf): New prototype.
1816         (__kernel_casinh): Likewise.
1817         (__kernel_casinhl): Likewise.
1818         * math/Makefile (libm_calls): Add k_casinh.
1819         * math/k_casinh.c: New file.
1820         * math/k_casinhf.c: Likewise.
1821         * math/k_casinhl.c: Likewise.
1822         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1823         finite nonzero arguments.
1824         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1825         finite nonzero arguments.
1826         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1827         finite nonzero arguments.
1828         * math/s_casinh.c: Do not include <float.h>.
1829         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1830         * math/s_casinhf.c: Do not include <float.h>.
1831         (__casinhf): Move code for finite nonzero arguments to
1832         k_casinhf.c.
1833         * math/s_casinhl.c: Do not include <float.h>.
1834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1835         redefine.
1836         (__casinhl): Move code for finite nonzero arguments to
1837         k_casinhl.c.
1838         * math/libm-test.inc (cacos_test): Add more tests.
1839         * sysdeps/i386/fpu/libm-test-ulps: Update.
1840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1842 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
1844         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1845         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1846         [!HAVE_MREMAP]: Remove [defined linux] case.
1847         * malloc/arena.c: Do not include <malloc-sysdep.h>.
1849 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1851         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1853 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1855         * elf/elf.h (R_386_SIZE32): New relocation.
1856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1857         R_386_SIZE32.
1858         (elf_machine_rela): Likewise.
1859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1860         R_X86_64_SIZE64 and R_X86_64_SIZE32.
1862 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1864         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1865         (FP_FAST_FMA): Do not define.
1866         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1867         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1868         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1869         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1870         !_SOFT_FLOAT]: Likewise.
1871         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1873         value.
1874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1875         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1878         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1879         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1880         file.
1882 2013-01-16  Andreas Schwab  <schwab@suse.de>
1884         [BZ #14327]
1885         * include/stdlib.h (__mktemp): Add declaration.
1886         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1887         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1889 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1891         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1892         definitions.
1893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1894         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1895         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1896         definitions here.
1897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1898         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1899         definitions.
1900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1901         and ONE.
1902         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1903         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1905         definitions.
1906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1907         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1908         definitions.
1909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1911         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1913 2013-01-15  David S. Miller  <davem@davemloft.net>
1915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1916         trunc{,f} to libm-sysdep_routes.
1917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1919         file.
1920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1922         file.
1923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1924         file.
1925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1927         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1929         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1931         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1932         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1935         nearbyint{,f} to libm-sysdep_routes.
1936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1938         New file.
1939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1940         file.
1941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1942         New file.
1943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1944         file.
1945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1948         file.
1949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1951         file.
1952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1953         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1954         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1957         libc_feholdexcept and libc_fesetenv.
1959 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
1961         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1963 2013-01-14  David S. Miller  <davem@davemloft.net>
1965         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1966         (SPARC_ASM_VIS2_IFUNC): Likewise.
1967         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1969         use of 'siam' instruction.
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1971         Likewise.
1972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1973         Likewise.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1975         Likewise.
1976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1981         file.
1982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1983         file.
1984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1985         file.
1986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1987         file.
1988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1993         new VIS2 routines.
1994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1997         Likewise.
1998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2003         routines to libm-sysdep_routines.
2004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2007         fdim/fdimf to libm-sysdep_routines.
2008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2009         file.
2010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2012         file.
2013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2016         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2017         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2018         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2019         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2021 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2024         to optimize copies.
2026         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2031         local variable MPTWO.
2032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2033         Likewise.
2035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2037         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2038         GLOB_NOESCAPE.
2040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2042         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2046         * manual/pattern.texi (glob_t): Document gl_flags.
2047         (glob64_t): Likewise.
2049 2013-01-11  David S. Miller  <davem@davemloft.net>
2051         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2052         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2053         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2054         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2055         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2056         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2057         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2058         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2059         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2060         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2061         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2062         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2063         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2066         sparc V9 rather than using V8 code.
2067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2071         Move to...
2072         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2073         Here.
2075 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2077         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2078         not in the main loop.
2079         * configure: Regenerated.
2081 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2083         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2084         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2085         to just #else.
2086         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2087         [!__GLIBC_HAVE_LONG_LONG] case.
2088         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2089         condition to just #else.
2090         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2091         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2092         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2093         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2094         unconditional.
2095         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2096         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2097         #elif condition to just #else.
2098         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2099         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2100         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2101         #elif condition to just #else.
2103 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2105         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2106         (EF_MIPS_ARCH_64): Fix value.
2107         (EF_MIPS_ARCH_32R2): New.
2108         (EF_MIPS_ARCH_64R2): New.
2110 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2112         * Makeconfig (+link-pie-before-libc): New.
2113         (+link-pie-after-libc): Likewise.
2114         (+link-pie-tests): Likewise.
2115         (+link-pie): Rewritten.
2116         (link-before-libc): Remove $(config-LDFLAGS).
2117         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2118         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2119         (config-LDFLAGS): Renamed to ...
2120         (rtld-LDFLAGS): This.
2121         (rtld-tests-LDFLAGS): New macro.
2122         (link-libc-rpath-link): Likewise.
2123         (link-libc-tests-rpath-link): Likewise.
2124         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2125         (link-libc): Prepand $(link-libc-rpath-link).
2126         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2127         (test-program-prefix): New macro.
2128         (test-via-rtld-prefix): Likewise.
2129         (test-program-cmd): Likewise.
2130         (host-test-program-cmd): Likewise.
2131         * Makefile ($(common-objpfx)testrun.sh): Replace
2132         $(run-program-prefix) with $(test-program-prefix).
2133         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2134         $(rtld-LDFLAGS).
2135         ($(common-objpfx)shlib.lds): Likewise.
2136         (build-module-helper): Likewise.
2137         ($(common-objpfx)format.lds): Likewise.
2138         * Rules (binaries-pie-tests): New.
2139         (binaries-pie-notests): Likewise.
2140         (binaries-pie): Rewritten.
2141         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2142         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2143         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2144         (make-test-out): Replace $(host-built-program-cmd) with
2145         $(host-test-program-cmd).
2146         * config.make.in (build-hardcoded-path-in-tests): New variable.
2147         * configure.in (--enable-hardcoded-path-in-tests): New configure
2148         option.
2149         (hardcoded_path_in_tests): New AC_SUBST.
2150         * configure: Regenerated.
2151         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2152         $(built-program-cmd) with $(test-program-cmd).
2153         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2154         (test_program_cmd): This.
2155         * elf/Makefile ($(objpfx)order.out): Run test with
2156         $(test-program-prefix).
2157         ($(objpfx)order2.out): Likewise.
2158         ($(objpfx)tst-initorder.out): Likewise.
2159         ($(objpfx)tst-initorder2.out): Likewise.
2160         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2161         $(test-program-cmd).
2162         ($(objpfx)tst-array1-static.out): Likewise.
2163         ($(objpfx)tst-array2.out): Likewise.
2164         ($(objpfx)tst-array3.out): Likewise.
2165         ($(objpfx)tst-array4.out): Likewise.
2166         ($(objpfx)tst-array5.out): Likewise.
2167         ($(objpfx)tst-array5-static.out): Likewise.
2168         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2169         $(test-program-cmd).
2170         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2171         $(run-program-prefix) with $(test-program-prefix).
2172         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2173         (test_program_prefix): This.
2174         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2175         $(run-program-prefix) with $(test-program-prefix).
2176         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2177         (test_program_prefix): This.
2178         * iconvdata/tst-tables.sh: Likewise.
2179         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2180         $(run-program-prefix) with $(test-program-prefix).
2181         ($(objpfx)tst-translit.out): Likewise.
2182         ($(objpfx)tst-gettext2.out): Likewise.
2183         ($(objpfx)tst-gettext4.out): Likewise.
2184         ($(objpfx)tst-gettext6.out): Likewise.
2185         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2186         (test_program_prefix): This.
2187         * intl/tst-gettext2.sh: Likewise.
2188         * intl/tst-gettext4.sh  Likewise.
2189         * intl/tst-gettext6.sh: Likewise.
2190         * intl/tst-translit.sh: Likewise.
2191         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2192         with $(test-program-cmd).
2193         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2194         $(run-program-prefix) with $(test-program-prefix).
2195         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2196         (test_program_prefix): This.
2197         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2198         $(run-program-prefix) with $(test-program-prefix).
2199         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2200         (test_program_prefix): This.
2201         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2202         * posix/Makefile ($(objpfx)globtest.out): Replace
2203         $(run-via-rtld-prefix) and $(test-wrapper) with
2204         $(test-program-prefix) and $(test-via-rtld-prefix).
2205         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2206         $(test-program-prefix).
2207         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2208         $(host-test-program-cmd).
2209         (tst-spawn-ARGS): Likewise.
2210         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2211         $(test-program-prefix).
2212         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2213         (test_via_rtld_prefix): This.
2214         (test_wrapper): Renamed to ...
2215         (test_program_prefix): This.
2216         (run_program_prefix): Replaced by test_program_prefix.
2217         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2218         (test_program_prefix): This.
2219         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2220         with $(host-test-program-cmd).
2221         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2222         $(run-program-prefix) with $(test-program-prefix).
2223         ($(objpfx)tst-printf.out): Likewise.
2224         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2225         $(test-program-cmd).
2226         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2227         (test_program_prefix): This.
2228         * stdio-common/tst-unbputc.sh: Likewise.
2229         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2230         $(run-program-prefix) with $(test-program-prefix).
2231         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2232         (test_program_prefix): This.
2233         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2234         $(built-program-cmd) with $(test-program-cmd).
2236 2013-01-11  Andreas Jaeger  <aj@suse.de>
2238         [BZ #15003]
2239         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2240         value. Sync with Linux 3.7.
2242 2013-01-10  David S. Miller  <davem@davemloft.net>
2244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2250         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2251         never set.
2252         * configure: Regenerated.
2254 2013-01-10  David S. Miller  <davem@davemloft.net>
2256         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2257         sparc V9 rather than using V8 code.
2258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2261 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2263         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2264         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2265         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2266         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2267         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2268         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2269         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2270         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2271         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2272         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2273         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2274         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2275         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2276         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2277         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2278         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2279         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2280         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2281         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2282         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2283         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2284         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2285         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2286         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2287         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2288         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2289         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2291 2013-01-10  David S. Miller  <davem@davemloft.net>
2293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2295 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2297         * posix/Makefile (tests-static): New variable.
2298         (tests): Add $(tests-static).
2299         (tst-exec-static-ARGS): New variable.
2300         (tst-spawn-static-ARGS): Likewise.
2301         * posix/tst-exec-static.c: New file.
2302         * posix/tst-spawn-static.c: Likewise.
2303         * posix/tst-exec.c: Support run directly.
2304         * posix/tst-spawn.c: Likewise.
2306 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2308         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2309         long.
2310         * math/bits/mathcalls.h (llrint): Likewise.
2311         (llround): Likewise.
2312         * stdlib/stdlib.h (struct drand48_data): Likewise.
2313         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2314         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2316         Likewise.
2317         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2318         Likewise.
2319         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2320         (elf_greg_t): Likewise.
2321         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2322         (__jmp_buf): Likewise.
2323         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2324         definitions.
2325         (llrint): Likewise, for all definitions.
2326         (llrintl): Likewise.
2328         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2329         Remove [__GNUC__] condition.
2330         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2331         condition to just [__USE_ISOC99].
2332         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2334 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2336         [BZ #14200]
2337         * sysdeps/unix/sysv/linux/x86/bits/environments.h
2338         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2339         defined.
2340         (_POSIX_V6_ILP32_OFF32): Likewise.
2341         (_XBS5_ILP32_OFF32): Likewise.
2342         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2343         (__ILP32_OFFBIG_LDFLAGS): Likewise.
2345 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2347         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2350         doubles __mpexp_twomm1.  Adjust usage.
2351         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2352         Remove.
2354 2013-01-10  Andreas Schwab  <schwab@suse.de>
2356         [BZ #14964]
2357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2358         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2360 2013-01-09  David S. Miller  <davem@davemloft.net>
2362         [BZ #15003]
2363         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2364         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2365         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2366         TCP_FASTOPEN): Define.
2367         (tcp_repair_opt): New structure.
2368         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2369         enum values.
2370         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2371         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2372         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2373         (tcp_cookie_transactions): New structure.
2375 2013-01-09  Anton Blanchard  <anton@samba.org>
2377         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2378         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2379         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2380         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2382 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
2384         * include/features.h (__USE_ANSI): Remove.
2386 2013-01-09  Roland McGrath  <roland@hack.frob.com>
2388         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2390         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2392 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2394         * sysdeps/s390/fpu/libm-test-ulps: Update.
2396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2398         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2399         (__acr): Likewise.
2400         (__cpy): Likewise.
2401         (norm): Likewise.
2402         (denorm): Likewise.
2403         (__mp_dbl): Likewise.
2404         (__dbl_mp): Likewise.
2405         (add_magnitudes): Likewise.
2406         (sub_magnitudes): Likewise.
2407         (__add): Likewise.
2408         (__sub): Likewise.
2409         (__mul): Likewise.
2410         (__inv): Likewise.
2411         (__dvd): Likewise.
2412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2413         (__acr): Likewise.
2414         (__cpy): Likewise.
2415         (norm): Likewise.
2416         (denorm): Likewise.
2417         (__mp_dbl): Likewise.
2418         (__dbl_mp): Likewise.
2419         (add_magnitudes): Likewise.
2420         (sub_magnitudes): Likewise.
2421         (__add): Likewise.
2422         (__sub): Likewise.
2423         (__mul): Likewise.
2424         (__inv): Likewise.
2425         (__dvd): Likewise.
2426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2427         (__acr): Likewise.
2428         (__cpy): Likewise.
2429         (norm): Likewise.
2430         (denorm): Likewise.
2431         (__mp_dbl): Likewise.
2432         (__dbl_mp): Likewise.
2433         (add_magnitudes): Likewise.
2434         (sub_magnitudes): Likewise.
2435         (__add): Likewise.
2436         (__sub): Likewise.
2437         (__mul): Likewise.
2438         (__inv): Likewise.
2439         (__dvd): Likewise.
2441 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
2443         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2444         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2445         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2446         2 && __USE_EXTERN_INLINES]: Likewise.
2448 2013-01-08  Andreas Jaeger  <aj@suse.de>
2450         [BZ# 14985]
2451         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2452         Remove.
2453         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2454         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2456 2013-01-07  Anton Blanchard  <anton@samba.org>
2458         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2459         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2460         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2461         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2462         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2463         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2464         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2465         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2467         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2468         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2470         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2472         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2475         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2476         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2477         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2478         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2479         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2481         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2482         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2484         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2485         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2486         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2487         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2488         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2491         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2492         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2493         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2496         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2499         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2500         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2502 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
2504         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2505         (__MALLOC_PMT): Likewise.
2506         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2507         [__GNUC__], only on [_LIBC].
2508         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2509         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2510         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2511         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2512         forward declaration.
2513         (realloc_hook_ini): Likewise.
2514         (memalign_hook_ini): Likewise.
2515         (__libc_memalign): Do not use __MALLOC_PMT in variable
2516         declaration.
2517         (__libc_valloc): Likewise.
2518         (__libc_pvalloc): Likewise.
2519         (__libc_calloc): Likewise.
2520         (__posix_memalign): Likewise.
2522         [BZ #14996]
2523         * math/s_casinh.c: Include <float.h>.
2524         (__casinh): Do not do computation with squaring and square root
2525         for large arguments.
2526         * math/s_casinhf.c: Include <float.h>.
2527         (__casinhf): Do not do computation with squaring and square root
2528         for large arguments.
2529         * math/s_casinhl.c: Include <float.h>.
2530         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2531         (__casinhl): Do not do computation with squaring and square root
2532         for large arguments.
2533         * math/libm-test.inc (casin_test): Add more tests.
2534         (casinh_test): Likewise.
2535         * sysdeps/i386/fpu/libm-test-ulps: Update.
2536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2540         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2541         (__x86_64_raw_data_cache_size): Likewise.
2542         (__x86_64_data_cache_size_half): Likewise.
2543         (__x86_64_raw_data_cache_size_half): Likewise.
2544         (__x86_64_shared_cache_size): Likewise.
2545         (__x86_64_raw_shared_cache_size): Likewise.
2546         (__x86_64_shared_cache_size_half): Likewise.
2547         (__x86_64_raw_shared_cache_size_half): Likewise.
2548         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2549         to ...
2550         (__x86_data_cache_size): This.
2551         (__x86_64_raw_data_cache_size): Renamed to ...
2552         (__x86_raw_data_cache_size): This.
2553         (__x86_64_data_cache_size_half): Renamed to ...
2554         (__x86_data_cache_size_half): This.
2555         (__x86_64_raw_data_cache_size_half): Renamed to ...
2556         (__x86_raw_data_cache_size_half): This.
2557         (__x86_64_shared_cache_size): Renamed to ...
2558         (__x86_shared_cache_size): This.
2559         (__x86_64_raw_shared_cache_size): Renamed to ...
2560         (__x86_raw_shared_cache_size): This.
2561         (__x86_64_shared_cache_size_half): Renamed to ...
2562         (__x86_shared_cache_size_half): This.
2563         (__x86_64_raw_shared_cache_size_half): Renamed to ...
2564         (__x86_raw_shared_cache_size_half): This.
2565         * sysdeps/x86_64/memcpy.S: Updated.
2566         * sysdeps/x86_64/memset.S: Likewise.
2567         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2568         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2569         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2571 2013-01-04  David S. Miller  <davem@davemloft.net>
2573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2575 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2577         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2578         1 to avoid redefinition warning.
2579         (__USE_GNU): Don't define.
2580         (init_signaling_nan): Protoize.
2582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2584 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2586         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2588         (__cpymn): Likewise.
2589         (norm): Remove commented code.
2590         (denorm): Likewise.
2591         (__mp_dbl): Likewise.
2592         (__inv): Likewise.
2593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2594         (__cpymn): Likewise.
2595         (norm): Remove commented code.
2596         (denorm): Likewise.
2597         (__mp_dbl): Likewise.
2598         (__inv): Likewise.
2600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2601         mp_no value for 1.0 and 2.0.
2602         (norm): Use RADIXI instead of radixi.d.
2603         (denorm): Likewise.
2604         (__mul): Use 0.0 instead of zero.d.
2605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2606         mp_no value for 1.0 and 2.0.
2607         (norm): Use RADIXI instead of radixi.d.
2608         (denorm): Likewise.
2609         (__mul): Use 0.0 instead of zero.d.
2611 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
2613         [BZ #14994]
2614         * math/s_casinh.c (__casinh): Reduce finite argument to first
2615         quadrant then set signs of results at the end.
2616         * math/s_casinhf.c (__casinhf): Likewise.
2617         * math/s_casinhl.c (__casinhl): Likewise.
2618         * math/libm-test.inc (casin_test): Add more tests.
2619         (casinh_test): Likewise.
2620         * sysdeps/i386/fpu/libm-test-ulps: Update.
2621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2625         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2627         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2629         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2630         declarations.
2631         (denorm): Likewise.
2632         (__mp_dbl): Likewise.
2633         (__inv): Likewise.
2635         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2636         and adjust the header comment.
2638         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2639         variable name from declaration.
2641 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2644         Initialize COMMON_CPUID_INDEX_7 element.
2645         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2646         (CPUID_RTM): Likewise.
2647         (HAS_RTM): Likewise.
2648         (COMMON_CPUID_INDEX_7): New enum.
2650 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
2652         [BZ #14981]
2653         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2654         size is zero, record memory as freed.
2656 2013-01-03  Andreas Jaeger  <aj@suse.de>
2658         * po/ia.po: Add new Interlingua translation.
2660 2012-01-03  Allan McRae  <allan@archlinux.org>
2662         * locale/programs/localedef.c: Fix description of '--posix' flag.
2664 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
2666         * NEWS: Update dates in second copyright notice.
2667         * README: Update copyright dates in example.
2668         * manual/libc.texinfo: Update copyright dates.
2669         * scripts/test-installation.pl: Update copyright date in --version
2670         output.
2672         * hurd/ctty-input.c: Fix copyright notice formatting.
2673         * hurd/ctty-output.c: Likewise.
2674         * hurd/dtable.c: Likewise.
2675         * hurd/hurd-raise.c: Likewise.
2676         * hurd/hurdprio.c: Likewise.
2677         * hurd/msgportdemux.c: Likewise.
2678         * misc/sys/file.h: Likewise.
2679         * misc/sys/ioctl.h: Likewise.
2680         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2681         * sysdeps/mach/hurd/chdir.c: Likewise.
2682         * sysdeps/mach/hurd/fchdir.c: Likewise.
2683         * sysdeps/mach/hurd/rename.c: Likewise.
2684         * sysdeps/mach/hurd/rmdir.c: Likewise.
2685         * sysdeps/mach/hurd/seekdir.c: Likewise.
2686         * sysdeps/mach/hurd/setsid.c: Likewise.
2687         * sysdeps/posix/wait3.c: Likewise.
2689         * All files with FSF copyright notices: Update copyright dates
2690         using scripts/update-copyrights.
2691         * intl/plural.c: Regenerated.
2692         * locale/programs/charmap-kw.h: Likewise.
2693         * locale/programs/locfile-kw.h: Likewise.
2695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2697         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2698         four values.
2700         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2701         calculation loop and add branch prediction.
2703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2704         check access beyond bounds of m1np.
2706         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2707         MPTWO.
2708         (__inv): Remove local variable MPTWO to use the global
2709         constant.
2710         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2712         variable MPTWO.
2713         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2714         MP3HALFS static const.
2716 2013-01-01  David S. Miller  <davem@davemloft.net>
2718         * po/ca.po: Update from translation team.
2720 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
2722         * scripts/update-copyrights: New file.
2723         * Makeconfig: Reformat copyright notice.
2724         * ctype/ctype.h: Likewise.
2725         * debug/swprintf_chk.c: Likewise.
2726         * elf/dl-cache.c: Likewise.
2727         * elf/dl-debug.c: Likewise.
2728         * elf/dl-object.c: Likewise.
2729         * grp/initgroups.c: Likewise.
2730         * hurd/Makefile: Likewise.
2731         * hurd/hurd/signal.h: Likewise.
2732         * hurd/hurdfault.c: Likewise.
2733         * hurd/hurdioctl.c: Likewise.
2734         * hurd/hurdlookup.c: Likewise.
2735         * hurd/intr-msg.c: Likewise.
2736         * iconv/gconv_open.c: Likewise.
2737         * libio/swprintf.c: Likewise.
2738         * locale/lc-ctype.c: Likewise.
2739         * locale/nl_langinfo.c: Likewise.
2740         * mach/Machrules: Likewise.
2741         * mach/Makefile: Likewise.
2742         * malloc/obstack.h: Likewise.
2743         * manual/Makefile: Likewise.
2744         * manual/tsort.awk: Likewise.
2745         * misc/bits/stab.def: Likewise.
2746         * nis/nis_print_group_entry.c: Likewise.
2747         * nis/nis_table.c: Likewise.
2748         * nis/nss_compat/compat-pwd.c: Likewise.
2749         * nis/nss_compat/compat-spwd.c: Likewise.
2750         * po/Makefile: Likewise.
2751         * posix/fnmatch.c: Likewise.
2752         * posix/regex.h: Likewise.
2753         * resolv/Makefile: Likewise.
2754         * resolv/nss_dns/dns-network.c: Likewise.
2755         * resolv/res_hconf.c: Likewise.
2756         * scripts/gen-sorted.awk: Likewise.
2757         * soft-fp/soft-fp.h: Likewise.
2758         * stdio-common/printf.h: Likewise.
2759         * stdlib/monetary.h: Likewise.
2760         * stdlib/random.c: Likewise.
2761         * stdlib/random_r.c: Likewise.
2762         * sysdeps/generic/Makefile: Likewise.
2763         * sysdeps/gnu/Makefile: Likewise.
2764         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2775         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2776         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2777         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2778         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2780         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2784         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2785         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2786         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2792         * sysdeps/mach/hurd/errnos.awk: Likewise.
2793         * sysdeps/mach/hurd/fork.c: Likewise.
2794         * sysdeps/mach/hurd/getcwd.c: Likewise.
2795         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2796         * sysdeps/mach/hurd/mmap.c: Likewise.
2797         * sysdeps/mach/hurd/utimes.c: Likewise.
2798         * sysdeps/mach/hurd/xmknod.c: Likewise.
2799         * sysdeps/posix/profil.c: Likewise.
2800         * sysdeps/posix/readdir_r.c: Likewise.
2801         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2802         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2803         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2804         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2806         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2807         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2808         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2810         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2811         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2812         * sysdeps/pthread/lio_listio.c: Likewise.
2813         * sysdeps/sparc/dl-procinfo.h: Likewise.
2814         * sysdeps/unix/i386/sysdep.S: Likewise.
2815         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2816         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2817         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2818         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2820         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2821         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2822         * sysdeps/unix/sysv/linux/speed.c: Likewise.
2823         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2824         * sysdeps/wordsize-32/divdi3.c: Likewise.
2825         * time/sys/time.h: Likewise.
2826         * wcsmbs/Makefile: Likewise.
2828 2013-01-01  David S. Miller  <davem@davemloft.net>
2830         * po/fr.po: Update from translation team.
2832         * catgets/gencat.c: Update copyright year.
2833         * csu/version.c: Likewise.
2834         * debug/catchsegv.sh: Likewise.
2835         * debug/pcprofiledump.c: Likewise.
2836         * debug/xtrace.sh: Likewise.
2837         * elf/ldconfig.c: Likewise.
2838         * elf/ldd.bash.in: Likewise.
2839         * elf/pldd.c: Likewise.
2840         * elf/sotruss.ksh: Likewise.
2841         * elf/sprof.c: Likewise.
2842         * iconv/iconv_prog.c: Likewise.
2843         * iconv/iconvconfig.c: Likewise.
2844         * locale/programs/locale.c: Likewise.
2845         * locale/programs/localedef.c: Likewise.
2846         * login/programs/pt_chown.c: Likewise.
2847         * malloc/memusage.sh: Likewise.
2848         * malloc/memusagestat.c: Likewise.
2849         * malloc/mtrace.pl: Likewise.
2850         * nscd/nscd.c: Likewise.
2851         * nss/getent.c: Likewise.
2852         * nss/makedb.c: Likewise.
2853         * posix/getconf.c: Likewise.
2855 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2857         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2858         numbers.
2860 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
2862         * math/bits/mathcalls.h (modf): Use __nonnull.
2864 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2866         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2867         (split): Use macro CN instead of the bare value.
2868         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2869         could be used.
2870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2871         instead of the bare value.
2872         (power1): Likewise.
2874 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2876         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2877         __ATAN_TWOM.
2878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2880         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2881         their values.
2882         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2883         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2884         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2885         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2887 2012-12-28  Andreas Jaeger  <aj@suse.de>
2889         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
2890         values are from Linux 3.7.
2892         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2893         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
2895 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2897         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2898         TRUE case.
2900         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2901         (norm): Likewise.
2902         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2903         variables with preprocessor constants.
2904         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2905         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2906         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2908 2012-12-27  Bruno Haible  <bruno@clisp.org>
2910         [BZ #14317]
2911         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2912         only if needed.
2914 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2917         and use variable directly.
2918         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2920         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2921         MPONE.
2922         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2924         variable MPONE.
2925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2927         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2928         include directive.  Remove local variable MPONE.
2929         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2933 2012-12-25  David S. Miller  <davem@davemloft.net>
2935         * version.h (RELEASE): Set to "development".
2936         (VERSION): Set to "2.17.90".
2937         * NEWS: Add 2.18 section.
2939 2012-12-21  David S. Miller  <davem@davemloft.net>
2941         * po/hr.po: Update from translation team.
2943 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2945         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2947 2012-12-19  Steve Ellcey  <sellcey@mips.com>
2949         * NEWS:  Mention new memcpy for MIPS.
2951 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2953         * manual/contrib.texi (Contributors): Spelling correction.
2955 2012-12-15  David S. Miller  <davem@davemloft.net>
2957         * po/ru.po: Update from translation team.
2959 2012-12-13  David S. Miller  <davem@davemloft.net>
2961         * NEWS: Mention IFUNC testsuite enhancements.
2963         * po/pl.po: Update from translation team.
2964         * po/bg.po: Likewise.
2966         * manual/contrib.texi (Contributors): Update entries for Hongjiu
2967         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
2969 2012-12-11  David S. Miller  <davem@davemloft.net>
2971         * po/sv.po: Update from translation team.
2973         * po/vi.po: Update from translation team.
2975         * po/cs.po: Update from translation team.
2977         * po/de.po: Update from translation team.
2978         * po/eo.po: Likewise.
2979         * po/nl.po: Likewise.
2981 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2983         [BZ #14246]
2984         * manual/argp.texi (Argp Helper Functions): Move node to follow
2985         Argp Parsing State.
2987         [BZ #14872]
2988         * manual/conf.texi (Limits on File System Capacity): Mention if
2989         terminating null is included in the max size.
2991 2012-12-10  Andreas Jaeger  <aj@suse.de>
2993         * po/cs.po: Update from translation team.
2995 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2997         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2998         void pointer and cast to uintptr_t.
2999         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3000         path.
3001         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3002         * sysdeps/s390/s390-64/memset.S: Likewise.
3004 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3006         [BZ #14833]
3007         * menual/message.texi (Message Translation): Fix typos.
3008         (Helper programs for gettext): Likewise.
3010 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3012         [BZ #14898]
3013         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3014         Change to -1.
3016 2012-12-07  David S. Miller  <davem@davemloft.net>
3018         * po/libc.pot: Update.
3020 2012-12-07  Richard Henderson  <rth@redhat.com>
3022         [BZ #10114]
3023         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3024         normal/normal case to before the switch.
3025         (_FP_DIV): Likewise.
3027 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3028             Mike Frysinger  <vapier@gentoo.org>
3030         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3031         check for __NR_fadvise64_64.
3033 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3035         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3036         0, not just to plain "0" as a statement.
3037         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3038         with cw.
3040 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3042         * NEWS: Use sourceware.org in Bugzilla URL.
3044 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3047         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3049         * stdio-common/tst-put-error.c (do_test): Add newline to the
3050         padded test to ensure flush.
3052 2012-12-05  Jeff Law  <law@redhat.com>
3054         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3056 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3058         * README: Don't refer to ports add-on as distributed separately.
3059         Mention AArch64 in list of systems supported in the ports add-on.
3061         * LICENSES: Add more non-FSF copyright and license notices.
3063         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3064         ((unused)).
3066         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3068         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3069         10000 as width of padded output.
3071 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3073         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3076         variable LX with __attribute__ ((unused)).
3077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3078         Likewise.
3079         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3082         with __attribute__ ((unused)).
3084 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3086         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3088 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3090         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3091         (CFLAGS-nldbl-acos.c): New variable.
3092         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3093         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3094         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3095         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3096         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3097         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3098         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3099         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3100         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3101         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3102         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3103         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3104         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3105         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3106         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3107         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3108         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3109         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3110         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3111         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3112         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3113         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3114         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3115         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3116         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3117         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3118         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3119         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3120         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3121         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3122         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3123         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3124         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3125         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3126         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3127         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3128         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3129         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3130         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3131         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3132         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3133         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3134         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3135         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3136         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3137         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3138         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3139         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3140         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3141         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3142         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3143         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3144         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3145         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3146         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3147         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3148         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3149         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3150         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3151         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3152         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3153         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3154         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3155         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3156         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3157         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3158         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3159         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3160         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3161         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3162         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3163         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3164         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3165         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3166         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3167         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3168         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3169         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3170         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3171         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3172         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3173         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3174         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3175         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3176         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3177         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3178         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3179         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3180         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3181         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3182         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3183         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3184         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3185         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3186         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3187         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3188         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3191         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3193         [BZ #14914]
3194         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3195         whole low double instead of just low 47 bits when splitting values
3196         into two parts.
3198 2012-12-03  Allan McRae  <allan@archlinux.org>
3200         * manual/stdio.texi (Predefined Printf Handlers): Remove
3201         @hsep and @vsep usage.
3203 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3205         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3206         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3208 2012-12-03  Jeff Law  <law@redhat.com>
3210         * time/sys/time.h (settimeofday): Do not mark TV argument
3211         as __nonnull.
3213 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3215         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3216         when currently writing and seek to current position when not.
3217         * libio/Makefile (tests): Remove bug-fclose1.
3218         * libio/bug-fclose1.c: Delete.
3220 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3222         * manual/arith.texi (feenableexcept): Fix typo.
3223         (fedisableexcept): Likewise.
3225 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3227         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3228         second, differently-typed declaration, rather than a cast.
3230 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3232         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3233         * include/rpc/svc.h: ... here.
3235 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3237         [BZ #13013]
3238         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3239         depending n and resplen2 to catch cases where answer
3240         equals answerp2.
3242 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3244         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3245         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3247 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3251 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3253         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3255 2012-11-28  Jeff Law  <law@redhat.com>
3257         [BZ #13761]
3258         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3259         dataset_temporary.  Track alloca usage into alloca_used.
3260         If dataset is large allocate and release it via malloc/free.
3262 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3264         [BZ #14197]
3265         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3267 2012-11-28  David S. Miller  <davem@davemloft.net>
3269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3271 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3273         [BZ #14803]
3274         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3275         of pi/2 rounded to nearest to 64 bits.
3276         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3277         nearest to 64 bits.
3278         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3279         bits.
3281 2012-11-28  Jeff Law <law@redhat.com>
3282             Martin Osvald <mosvald@redhat.com>
3284         [BZ #14889]
3285         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3286         * sunrpc/svc.c: Include time.h.
3287         (__svc_accept_failed): New function.
3288         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3289         any reason other than EINTR, call __svc_accept_failed.
3290         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3291         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3293 2012-11-28  Andreas Schwab  <schwab@suse.de>
3295         * scripts/abilist.awk: Also handle indirect functions in .opd
3296         section.
3298 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3300         [BZ #13881]
3301         * sysdeps/x86/fpu/powl_helper.c: New file.
3302         * sysdeps/x86/fpu/Makefile: Likewise.
3303         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3304         (p3): New object.
3305         (__ieee754_powl): Use __powl_helper for finite arguments except
3306         integer exponents below 8.
3307         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3308         (p3): New object.
3309         (__ieee754_powl): Use __powl_helper for finite arguments except
3310         integer exponents below 8.
3311         * math/libm-test.inc (pow_test): Add more tests and enable some
3312         previously disabled tests.
3313         * sysdeps/i386/fpu/libm-test-ulps: Update.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3317             Carlos O'Donell  <carlos_odonell@mentor.com>
3319         * nss/makedb.c (is_prime): Assert that input is odd and greater
3320         than 4.  Note that fact in a comment too.
3321         (next_prime): Add 4 to input.
3323 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3325         [BZ #11741]
3326         * libio/Makefile (tests): Add test case tst-fwrite-error.
3327         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3328         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3329         * libio/tst-fwrite-error.c: New test case.
3331 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
3333         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3334         before casting to void *.
3335         * include/libc-internal.h (__pointer_type): New macro.
3336         (__integer_if_pointer_type_sub): Likewise.
3337         (__integer_if_pointer_type): Likewise.
3338         (cast_to_integer): Likewise.
3339         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3340         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3341         before casting to atomic64_t.
3342         (atomic_exchange_acq): Likewise.
3343         (__arch_exchange_and_add_body): Likewise.
3344         (__arch_add_body): Likewise.
3345         (atomic_add_negative): Likewise.
3346         (atomic_add_zero): Likewise.
3348 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
3350         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3351         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3352         (add_fdes): Likewise.
3353         (linear_search_fdes): Likewise.
3354         (binary_search_unencoded_fdes): Likewise.
3356 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
3358         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3360 2012-11-24  Adam Conrad  <adconrad@0c3.net>
3362         * configure.in: Autodetect C++ header directories.
3363         * configure: Regenerated.
3365 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
3367         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3369 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
3371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3373 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
3375         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3376         LDBL_MANT_DIG == 106]: Disable some tests.
3377         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3378         Likewise.
3379         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3380         Likewise.
3382         [BZ #14871]
3383         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3384         input for small inputs.  Return +/- pi/2 for large inputs.
3385         * math/libm-test.inc (atan_test): Add more tests.
3387         * sysdeps/generic/unwind-dw2-fde-glibc.c
3388         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3389         __attribute__ ((unused)).
3391         [BZ #14645]
3392         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3393         x * y if x and y are nonzero and z is zero.
3395         [BZ #14811]
3396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3397         nonzero exponents with absolute value below 0x1p-117 to +/-
3398         0x1p-117.
3400         [BZ #14869]
3401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3402         up arguments below 2**-450, not just those below 2**-500.
3403         * math/libm-test.inc (hypot_test): Add another test.
3405         [BZ #14868]
3406         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3407         Return a+b for ratio over 2**120, not 2**60.
3408         * math/libm-test.inc (hypot_test): Add another test.
3410         * math/libm-test.inc (clog_test): Use
3411         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3412         (clog10_test): Likewise.
3414         [BZ #6778]
3415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3417 2012-11-22  Andreas Schwab  <schwab@suse.de>
3419         * sysdeps/i386/fpu/libm-test-ulps: Update.
3421 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
3423         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3424         printf output with newline.
3426 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
3428         [BZ #14865]
3429         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3430         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3431         -z nodlopen, -z initfirst and -z execstack support.
3432         * configure: Regenerated.
3434         * elf/elf.h (DF_1_NODIRECT): New macro.
3435         (DF_1_IGNMULDEF): Likewise.
3436         (DF_1_NOKSYMS): Likewise.
3437         (DF_1_NOHDR): Likewise.
3438         (DF_1_EDITED): Likewise.
3439         (DF_1_NORELOC): Likewise.
3440         (DF_1_SYMINTPOSE): Likewise.
3441         (DF_1_GLOBAUDIT): Likewise.
3442         (DF_1_SINGLETON): Likewise.
3443         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3444         DT_1_SUPPORTED_MASK bits.
3445         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3447 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
3449         * sysdeps/unix/make-syscalls.sh: Document prefixes.
3451 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
3453         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3454         macro.
3456         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3457         (sendmmsg): Move declarations...
3458         * socket/sys/socket.h: ... here.
3459         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3460         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3461         include it from...
3462         * socket/recvmmsg.c: ... this new file.
3463         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3464         (sendmmsg): Rename to __sendmmsg, create weak alias and make
3465         definition of __sendmmsg hidden.
3466         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3467         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3468         Move ENOSYS stub into and include it from...
3469         * socket/sendmmsg.c: ... this new file.
3470         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3471         (sysdep_routines): Move recvmmsg and sendmmsg...
3472         * socket/Makefile (routines): ... here.
3473         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3474         (GLIBC_PRIVATE): Add __sendmmsg.
3475         * include/sys/socket.h (__sendmmsg): Add declarations.
3476         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3477         sendmmsg.
3479 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
3481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3482         variable I1 with __attribute__ ((unused)).
3483         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3485 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3487         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3488         DUMMY variables with __attribute__ ((unused)).
3490         * bits/byteswap.h: Include <bits/types.h>.
3491         (__bswap_64): Use __uint64_t instead of unsigned long long int.
3493 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3495         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3496         string_t.  Do not manually set errno.
3497         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3498         length with __strnlen.  Make sure to both set errno and return it on
3499         failure.
3501 2012-11-19  David S. Miller  <davem@davemloft.net>
3503         With help from Joseph Myers.
3504         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3505         very large arguments properly.
3506         * math/libm-test.inc (atan_test): New tests.
3507         (atan2_test): New tests.
3508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3511 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3513         [BZ #14856]
3514         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3515         Define to 3.
3517         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3518         [POSIX] (EADDRNOTAVAIL): Likewise.
3519         [POSIX] (EAFNOSUPPORT): Likewise.
3520         [POSIX] (EALREADY): Likewise.
3521         [POSIX] (ECONNABORTED): Likewise.
3522         [POSIX] (ECONNREFUSED): Likewise.
3523         [POSIX] (ECONNRESET): Likewise.
3524         [POSIX] (EDESTADDRREQ): Likewise.
3525         [POSIX] (EDQUOT): Likewise.
3526         [POSIX] (EHOSTUNREACH): Likewise.
3527         [POSIX] (EIDRM): Likewise.
3528         [POSIX] (EISCONN): Likewise.
3529         [POSIX] (ELOOP): Likewise.
3530         [POSIX] (EMULTIHOP): Likewise.
3531         [POSIX] (ENETDOWN): Likewise.
3532         [POSIX] (ENETUNREACH): Likewise.
3533         [POSIX] (ENOBUFS): Likewise.
3534         [POSIX] (ENODATA): Likewise.
3535         [POSIX] (ENOLINK): Likewise.
3536         [POSIX] (ENOMSG): Likewise.
3537         [POSIX] (ENOPROTOOPT): Likewise.
3538         [POSIX] (ENOSR): Likewise.
3539         [POSIX] (ENOSTR): Likewise.
3540         [POSIX] (ENOTCONN): Likewise.
3541         [POSIX] (ENOTSOCK): Likewise.
3542         [POSIX] (EOPNOTSUPP): Likewise.
3543         [POSIX] (EOVERFLOW): Likewise.
3544         [POSIX] (EPROTO): Likewise.
3545         [POSIX] (EPROTONOSUPPORT): Likewise.
3546         [POSIX] (EPROTOTYPE): Likewise.
3547         [POSIX] (ESTALE): Likewise.
3548         [POSIX] (ETIME): Likewise.
3549         [POSIX] (ETXTBSY): Likewise.
3550         [POSIX] (EWOULDBLOCK): Likewise.
3551         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3552         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3553         [POSIX] (SEEK_CUR): Likewise.
3554         [POSIX] (SEEK_END): Likewise.
3555         [POSIX || UNIX98] (mode_t): Do not require.
3556         [POSIX] (off_t): Likewise.
3557         [POSIX] (pid_t): Likewise.
3558         [POSIX] (sys/stat.h): Do not allow header.
3559         [POSIX] (unistd.h): Likewise.
3560         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3561         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3562         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3563         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3564         require.
3565         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3566         sigevent): Specify elements.
3567         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3568         entry.
3569         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3570         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3572         * conform/data/cpio.h-data [POSIX]: Disable whole file.
3573         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3574         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3575         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3576         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3577         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3578         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3579         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3580         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3581         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3582         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3583         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3584         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3586         Likewise.
3587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3588         Likewise.
3589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3590         Likewise.
3591         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3592         Likewise.
3593         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3594         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3597         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3598         Specify lower bound on value.
3599         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3600         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3601         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3602         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3603         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3604         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3605         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3606         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3607         value.
3608         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3609         as optional.
3610         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3611         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3612         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3613         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3614         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3615         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3616         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3618         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3620         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3621         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3622         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3623         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3624         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3625         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3626         entry.
3627         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3628         optional.
3629         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3631         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3632         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3633         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3634         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3635         Likewise.
3636         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3638         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3639         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3640         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
3641         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3643         as optional.
3644         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3647         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3648         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3649         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3650         specify as optional.
3651         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3652         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3653         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3654         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3655         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3656         [XPG3] (NL_LANGMAX): Likewise.
3657         [POSIX || XPG3] (NL_MSGMAX): Likewise.
3658         [POSIX || XPG3] (NL_NMAX): Likewise.
3659         [POSIX || XPG3] (NL_SETMAX): Likewise.
3660         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3661         [XPG3] (NZERO): Likewise.
3662         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3663         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3664         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3665         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3666         (REG_ERANGE): Expect.
3667         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3668         optional-constant.
3669         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3670         Use (void) in prototype.
3671         [POSIX] (*_t): Allow.
3672         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3673         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3674         (WRDE_BADVAL): Expect.
3676         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3677         expect.
3678         [XPG3 || XPG4] (O_RSYNC): Likewise.
3679         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3680         Likewise.
3681         [XPG3 || XPG4] (pthread_sigmask): Likewise.
3682         [XPG3 || XPG4] (sigqueue): Likewise.
3683         [XPG3 || XPG4] (sigtimedwait): Likewise.
3684         [XPG3 || XPG4] (sigwaitinfo): Likewise.
3685         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3686         [XPG3 || XPG4] (vsnprintf): Likewise.
3687         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3688         Likewise.
3689         [XPG3 || XPG4] (blksize_t): Likewise.
3690         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3691         Likewise.
3692         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3693         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3694         [XPG3 || XPG4] (struct itimerspec): Likewise.
3695         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3696         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3697         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3698         [XPG3 || XPG4] (clockid_t): Likewise.
3699         [XPG3 || XPG4] (timer_t): Likewise.
3700         [XPG3 || XPG4] (clock_getres): Likewise.
3701         [XPG3 || XPG4] (clock_gettime): Likewise.
3702         [XPG3 || XPG4] (clock_settime): Likewise.
3703         [XPG3 || XPG4] (nanosleep): Likewise.
3704         [XPG3 || XPG4] (timer_create): Likewise.
3705         [XPG3 || XPG4] (timer_delete): Likewise.
3706         [XPG3 || XPG4] (timer_gettime): Likewise.
3707         [XPG3 || XPG4] (timer_getoverrun): Likewise.
3708         [XPG3 || XPG4] (timer_settime): Likewise.
3709         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3710         [XPG3 || XPG4] (getlogin_r): Likewise.
3711         [XPG3 || XPG4] (pread): Likewise.
3712         [XPG3 || XPG4] (pthread_atfork): Likewise.
3713         [XPG3 || XPG4] (pwrite): Likewise.
3715         [BZ #14835]
3716         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3717         <bits/siginfo.h>.
3719 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3721         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3722         finalizing MALLSTREAM.
3724         * sysdeps/mach/hurd/syncfs.c: New file.
3726 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3728         [BZ #14719]
3729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3730         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3732         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3733         (_nss_dns_gethostbyname4_r): Likewise.
3734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3735         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3737 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
3739         [BZ #13763]
3740         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3742 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
3744         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3745         * elf/cache.c (print_entry): Print ",AArch64" for
3746         FLAG_AARCH64_LIB64
3748         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3749         * elf/cache.c (print_entry): Print ",hard-float" for
3750         FLAG_ARM_LIBHF.
3752 2012-11-18  David S. Miller  <davem@davemloft.net>
3754         With help from Joseph Myers.
3755         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3756         cutoff to 2**-13.
3757         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3758         cutoff to 2**-25.
3759         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3760         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3761         small.
3762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3763         * math/libm-test.inc (y0_test): New tests.
3764         (y1_test): New tests.
3765         * sysdeps/i386/fpu/libm-test-ulps: Update.
3766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3769 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
3771         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3772         64-bit targets.
3773         * configure: Regenerated.
3775 2012-11-17  David S. Miller  <davem@davemloft.net>
3777         [BZ #14811]
3778         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3779         nonzero exponents with absolute value below 0x1p-128 to +/-
3780         0x1p-128.
3782 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
3784         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3786         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3788         * posix/getconf-speclist.c: New file.
3789         * posix/posix-envs.def: Likewise.
3790         * posix/confstr.c (START_ENV_GROUP): New macro.
3791         (END_ENV_GROUP): Likewise.
3792         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3793         (KNOWN_PRESENT_ENV_STRING): Likewise.
3794         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3795         (UNKNOWN_ENVIRONMENT): Likewise.
3796         (confstr): Include posix-envs.def instead of handling
3797         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3798         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3799         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3800         (END_ENV_GROUP): Likewise.
3801         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3802         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3803         (UNKNOWN_ENVIRONMENT): Likewise.
3804         (__sysconf): Include posix-envs.def instead of handling associated
3805         cases directly here.
3806         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3807         preprocessing getconf-speclist.c rather than running getconf or
3808         generating empty file.
3810 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
3812         * scripts/check-local-headers.sh: Ignore 'mach' headers.
3814 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
3816         [BZ #14672]
3817         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3819 2012-11-16  David S. Miller  <davem@davemloft.net>
3821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3822         smaller than LDBL_EPSILON/2.0L, just return xm1.
3824 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
3826         * elf/tst-array1.c (init): Set constructor priority to 1000.
3827         (fini): Set destructor priority to 1000.
3828         * elf/tst-array2dep.c: Likewise.
3830 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3832         [BZ #11741]
3833         * libio/fileops.c (_IO_new_file_write): Correctly return error.
3834         (_IO_new_file_xsputn): Also return EOF if none of the input
3835         data was written when overflow failed.
3836         * libio/iopadn.c (_IO_padn): Likewise.
3837         * libio/iowpadn.c (_IO_wpadn): Likewise.
3838         * stdio-common/tst-put-error.c: Add copyright notice.
3839         (do_test): Add case for printing padded string.
3840         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3841         _IO_padn returned error.
3842         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3843         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3844         return EOF.
3846 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3848         * libio/libioP.h: Add comment note that the references to C++
3849         bits are now obsolete.
3851 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3853         * math/libm-test.inc (check_complex): Use asprintf.
3855 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
3857         * debug/pcprofiledump.c (print_version): Update copyright year.
3858         * malloc/memusagestat.c (print_version): Likewise.
3860 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3862         [BZ #14831]
3863         * elf/Makefile (tests): Add tst-audit8.
3864         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3865         ($(objpfx)tst-audit8.out): New target.
3866         (tst-audit8-ENV): New variable.
3867         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3868         audit if l_reloc_result is NULL.
3869         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3870         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3871         * elf/tst-audit8.c: New file.
3873 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3875         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3876         * misc/Makefile (CFLAGS-select.c): Define.
3877         * posix/Makefile (CFLAGS-pause.c): Define.
3879 2012-11-13  David S. Miller  <davem@davemloft.net>
3881         * crypt/Makefile: Move test targets after toplevel Rules
3882         inclusion.  Grab any necessary sysdep routines when linking.
3883         * crypt/md5.c (md5_process_block): Remove define, we will always
3884         name it __md5_process_block.
3885         (md5_finish_ctx): Update md5_process_block call.
3886         (md5_stream): Likewise.
3887         (md5_process_bytes): Likewise.
3888         (md5_process_block): Rename to __md5_process_block and move to ...
3889         * crypt/md5-block.c: ... here.
3890         * crypt/sha256.c (sha256_process_block): Move to ...
3891         * crypt/sha256-block.c: ... here.
3892         * crypt/sha512.c (sha512_process_block): Move to ...
3893         * crypt/sha512-block.c: ... here.
3894         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3895         path.
3896         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3897         * sysdeps/sparc/sparc64/multiarch/Makefile
3898         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3899         crypt subdir.
3900         (localedef-aux): Add md5 crypto assembler when in locale subdir.
3901         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3902         multiarch changes.
3903         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3904         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3905         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3906         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3907         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3908         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3909         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3912         file.
3913         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3915         file.
3916         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3918 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
3920         * timezone/tzselect.ksh: Update from tzcode git revision
3921         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3922         * timezone/zdump.c: Likewise.
3923         * timezone/zic.c: Likewise.
3924         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3925         in TZVERSION setting, not $(PKGVERSION).
3926         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
3927         REPORT_BUGS_TO settings.
3929         [BZ #14838]
3930         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3931         macro.
3933 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3935         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3936         detection to immediately after _FP_ROUND().
3937         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3938         bits are 0.
3940 2012-11-11  David S. Miller  <davem@davemloft.net>
3942         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3943         inttypes.h
3944         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3945         __close rather than their public counterparts.
3947 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
3949         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3950         file.
3951         [UNIX98] (sem_timedwait): Do not expect.
3952         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3953         [XPG4 || UNIX98] (sockatmark): Do not expect.
3954         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3955         (clock_getcpuclockid): Do not expect.
3956         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3957         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3958         Do not expect.
3959         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3960         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3961         [UNIX98] (vwscanf): Likewise.
3962         [UNIX98] (vswscanf): Likewise.
3964 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
3966         * timezone/version.h: Remove file.
3967         * timezone/README: Do not refer to version.h.
3968         * timezone/Makefile ($(objpfx)zic.o): New dependency on
3969         $(objpfx)version.h.
3970         ($(objpfx)zdump.o): Likewise.
3971         ($(objpfx)version.h): New target.
3973         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3974         2012i.
3975         * timezone/README: Don't mention modification to tzselect.ksh.
3976         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3977         work on unmodified tzselect.ksh.  Substitute version numbers in
3978         tzselect.ksh.
3980         * Makefile (format-me): Remove.
3981         (INSTALL): Adjust indentation.  Use commands directly instead of
3982         using $(format-me).
3984         * aclocal.m4 (ACX_PKGVERSION): New macro.
3985         (ACX_BUGURL): Likewise.
3986         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3987         (PKGVERSION): New AC_DEFINE_UNQUOTED.
3988         (REPORT_BUGS_TO): Likewise.
3989         * configure: Regenerated.
3990         * config.h.in (PKGVERSION): New macro.
3991         (REPORT_BUGS_TO): Likewise.
3992         * config.make.in (PKGVERSION): New variable.
3993         (PKGVERSION_TEXI): Likewise.
3994         (REPORT_BUGS_TO): Likewise.
3995         (REPORT_BUGS_TEXI): Likewise.
3996         * Makefile (format-me): Use -I$(common-objpfx)manual.
3997         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3998         ($(common-objpfx)manual/%): New target.
3999         (manual/%): Remove target.
4000         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4001         (print_version): Use PKGVERSION.
4002         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4003         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4004         and REPORT_BUGS_TO.
4005         ($(objpfx)xtrace): Likewise.
4006         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4007         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4008         (print_version): Use PKGVERSION.
4009         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4010         (do_version): Use PKGVERSION.
4011         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4012         REPORT_BUGS_TO.
4013         (common-ldd-rewrite): Likewise.
4014         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4015         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4016         (print_version): Use PKGVERSION.
4017         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4018         * elf/pldd.c (argp_program_bug_address): Remove variable.
4019         (more_help): New function.
4020         (argp): Use more_help.
4021         (print_version): Use PKGVERSION.
4022         * elf/sln.c (main): Use PKGVERSION.
4023         (usage): Use REPORT_BUGS_TO.
4024         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4025         (top level): Use PKGVERSION.
4026         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4027         (print_version): Use PKGVERSION.
4028         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4029         (print_version): Use PKGVERSION.
4030         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4031         (print_version): Use PKGVERSION.
4032         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4033         (print_version): Use PKGVERSION.
4034         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4035         (print_version): Use PKGVERSION.
4036         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4037         (print_version): Use PKGVERSION.
4038         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4039         and BUGURL.
4040         ($(objpfx)memusage): Likewise.
4041         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4042         (do_version): Use PKGVERSION.
4043         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4044         (print_version): Use PKGVERSION.
4045         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4046         ($PKGVERSION): New variable.
4047         ($REPORT_BUGS_TO): Likewise.
4048         (usage): Use $REPORT_BUGS_TO.
4049         (top level): Use $PKGVERSION.
4050         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4051         ($(objpfx)pkgvers.texi): New rule.
4052         ($(objpfx)stamp-pkgvers): Likewise.
4053         * manual/install.texi: Include pkgvers.texi.
4054         (--with-pkgversion): Document new configure option.
4055         (--with-bugurl): Likewise.
4056         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4057         than necessarily for this particular distribution.  Use
4058         REPORT_BUGS_TO for where to report bugs.
4059         * INSTALL: Regenerated.
4060         * manual/libc.texinfo: Include pkgvers.texi.
4061         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4062         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4063         (print_version): Use PKGVERSION.
4064         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4065         (print_version): Use PKGVERSION.
4066         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4067         (print_version): Use PKGVERSION.
4068         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4069         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4070         macro.
4071         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4072         (print_version): Use PKGVERSION.
4073         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4074         (print_version): Use PKGVERSION.
4075         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4076         and PKGVERSION.
4078         * timezone/checktab.awk: Update from tzcode 2012i.
4079         * timezone/ialloc.c: Likewise.
4080         * timezone/private.h: Likewise.
4081         * timezone/scheck.c: Likewise.
4082         * timezone/tzfile.h: Likewise.
4083         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4084         (TZVERSION): Hardcode tzcode version number.
4085         * timezone/zdump.c: Update from tzcode 2012i.
4086         * timezone/zic.c: Likewise.
4087         * timezone/version.h: New file.
4088         * timezone/README: Describe version.h.  Update upstream location.
4090         [BZ #14824]
4091         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4092         (mktemp): Enable declaration.
4093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4097         Likewise.
4098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4099         Likewise.
4100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4101         Likewise.
4102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4103         Likewise.
4104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4105         Likewise.
4106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4107         Likewise.
4109         [BZ #14821]
4110         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4111         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4112         for copies of such integer values.
4113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4116 2012-11-09  Andreas Jaeger  <aj@suse.de>
4118         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4119         definitions and declarations that are provided by
4120         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4122 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4124         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4125         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4126         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4127         definition.
4129 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4131         * elf/elf.h: Update comment before AArch64 relocations.
4133 2012-11-07  David S. Miller  <davem@davemloft.net>
4135         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4136         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4137         (__start_context): Declare.
4138         (__makecontext_ret): Delete.
4139         (__makecontext): Hook up __start_context instead of
4140         __makecontext_ret.
4141         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4142         (sysdep_routines): Add __start_context when in stdlib.
4144 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4146         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4147         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4148         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4149         hardcoded "nm".
4150         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4151         (READELF): New variable.  Use it instead of hardcoded "readelf".
4153 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4155         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4156         * sysdeps/x86/Makefile: Here.
4157         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4158         * sysdeps/x86/tst-xmmymm.sh: This.
4160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4162         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4163         expectations.
4164         [UNIX98] (pthread_barrier_t): Do not expect.
4165         [UNIX98] (pthread_barrierattr_t): Likewise.
4166         [UNIX98] (pthread_spinlock_t): Likewise.
4167         [UNIX98] (pthread_barrier_destroy): Likewise.
4168         [UNIX98] (pthread_barrier_init): Likewise.
4169         [UNIX98] (pthread_barrier_wait): Likewise.
4170         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4171         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4172         [UNIX98] (pthread_barrierattr_init): Likewise.
4173         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4174         [UNIX98] (pthread_getcpuclockid): Likewise.
4175         [UNIX98] (pthread_mutex_timedlock): Likewise.
4176         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4177         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4178         [UNIX98] (pthread_sigmask): Likewise.
4179         [UNIX98] (pthread_spin_destroy): Likewise.
4180         [UNIX98] (pthread_spin_init): Likewise.
4181         [UNIX98] (pthread_spin_lock): Likewise.
4182         [UNIX98] (pthread_spin_trylock): Likewise.
4183         [UNIX98] (pthread_spin_unlock): Likewise.
4184         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4185         Do not expect.
4186         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4187         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4188         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4189         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4190         [XPG3 || XPG4] (pthread_key_t): Likewise.
4191         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4192         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4193         [XPG3 || XPG4] (pthread_once_t): Likewise.
4194         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4195         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4196         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4197         [XPG3 || XPG4] (pthread_t): Likewise.
4199         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4200         not expect.
4201         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4203         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4204         Change function return type to int.
4206         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4207         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4208         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4209         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4210         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4211         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4212         [!POSIX] (posix_madvise): Likewise.
4213         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4214         && !UNIX98].
4215         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4216         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4217         (mode_t): Likewise.
4218         (posix_mem_offset): Likewise.
4219         (posix_typed_mem_get_info): Likewise.
4220         (posix_typed_mem_open): Likewise.
4222         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4223         Change condition to [XOPEN2K8].
4225         * conform/conformtest.pl: Preprocess allow-header data with -x c
4226         instead of from stdin.
4227         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4228         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4229         [C99-based standards] (cerfc): Likewise.
4230         [C99-based standards] (cexp2): Likewise.
4231         [C99-based standards] (cexpm1): Likewise.
4232         [C99-based standards] (clog10): Likewise.
4233         [C99-based standards] (clog1p): Likewise.
4234         [C99-based standards] (clog2): Likewise.
4235         [C99-based standards] (clgamma): Likewise.
4236         [C99-based standards] (ctgamma): Likewise.
4237         [C99-based standards] (cerff): Likewise.
4238         [C99-based standards] (cerfcf): Likewise.
4239         [C99-based standards] (cexp2f): Likewise.
4240         [C99-based standards] (cexpm1f): Likewise.
4241         [C99-based standards] (clog10f): Likewise.
4242         [C99-based standards] (clog1pf): Likewise.
4243         [C99-based standards] (clog2f): Likewise.
4244         [C99-based standards] (clgammaf): Likewise.
4245         [C99-based standards] (ctgammaf): Likewise.
4246         [C99-based standards] (cerfl): Likewise.
4247         [C99-based standards] (cerfcl): Likewise.
4248         [C99-based standards] (cexp2l): Likewise.
4249         [C99-based standards] (cexpm1l): Likewise.
4250         [C99-based standards] (clog10l): Likewise.
4251         [C99-based standards] (clog1pl): Likewise.
4252         [C99-based standards] (clog2l): Likewise.
4253         [C99-based standards] (clgammal): Likewise.
4254         [C99-based standards] (ctgammal): Likewise.
4255         * conform/data/inttypes.h-data [C99-based standards]: Include
4256         stdint.h-data.  Remove all expectations for stdint.h contents.
4257         [C99-based standards] (PRI*): Do not allow.
4258         [C99-based standards] (SCN*): Likewise.
4259         [C99-based standards] (*_t): Likewise.
4260         [C99-based-standards] (PRId8): Expect macro.
4261         [C99-based-standards] (PRIi8): Likewise.
4262         [C99-based-standards] (PRIo8): Likewise.
4263         [C99-based-standards] (PRIu8): Likewise.
4264         [C99-based-standards] (PRIx8): Likewise.
4265         [C99-based-standards] (PRIX8): Likewise.
4266         [C99-based-standards] (SCNd8): Likewise.
4267         [C99-based-standards] (SCNi8): Likewise.
4268         [C99-based-standards] (SCNo8): Likewise.
4269         [C99-based-standards] (SCNu8): Likewise.
4270         [C99-based-standards] (SCNx8): Likewise.
4271         [C99-based-standards] (PRIdLEAST8): Likewise.
4272         [C99-based-standards] (PRIiLEAST8): Likewise.
4273         [C99-based-standards] (PRIoLEAST8): Likewise.
4274         [C99-based-standards] (PRIuLEAST8): Likewise.
4275         [C99-based-standards] (PRIxLEAST8): Likewise.
4276         [C99-based-standards] (PRIXLEAST8): Likewise.
4277         [C99-based-standards] (SCNdLEAST8): Likewise.
4278         [C99-based-standards] (SCNiLEAST8): Likewise.
4279         [C99-based-standards] (SCNoLEAST8): Likewise.
4280         [C99-based-standards] (SCNuLEAST8): Likewise.
4281         [C99-based-standards] (SCNxLEAST8): Likewise.
4282         [C99-based-standards] (PRIdFAST8): Likewise.
4283         [C99-based-standards] (PRIiFAST8): Likewise.
4284         [C99-based-standards] (PRIoFAST8): Likewise.
4285         [C99-based-standards] (PRIuFAST8): Likewise.
4286         [C99-based-standards] (PRIxFAST8): Likewise.
4287         [C99-based-standards] (PRIXFAST8): Likewise.
4288         [C99-based-standards] (SCNdFAST8): Likewise.
4289         [C99-based-standards] (SCNiFAST8): Likewise.
4290         [C99-based-standards] (SCNoFAST8): Likewise.
4291         [C99-based-standards] (SCNuFAST8): Likewise.
4292         [C99-based-standards] (SCNxFAST8): Likewise.
4293         [C99-based-standards] (PRId16): Likewise.
4294         [C99-based-standards] (PRIi16): Likewise.
4295         [C99-based-standards] (PRIo16): Likewise.
4296         [C99-based-standards] (PRIu16): Likewise.
4297         [C99-based-standards] (PRIx16): Likewise.
4298         [C99-based-standards] (PRIX16): Likewise.
4299         [C99-based-standards] (SCNd16): Likewise.
4300         [C99-based-standards] (SCNi16): Likewise.
4301         [C99-based-standards] (SCNo16): Likewise.
4302         [C99-based-standards] (SCNu16): Likewise.
4303         [C99-based-standards] (SCNx16): Likewise.
4304         [C99-based-standards] (PRIdLEAST16): Likewise.
4305         [C99-based-standards] (PRIiLEAST16): Likewise.
4306         [C99-based-standards] (PRIoLEAST16): Likewise.
4307         [C99-based-standards] (PRIuLEAST16): Likewise.
4308         [C99-based-standards] (PRIxLEAST16): Likewise.
4309         [C99-based-standards] (PRIXLEAST16): Likewise.
4310         [C99-based-standards] (SCNdLEAST16): Likewise.
4311         [C99-based-standards] (SCNiLEAST16): Likewise.
4312         [C99-based-standards] (SCNoLEAST16): Likewise.
4313         [C99-based-standards] (SCNuLEAST16): Likewise.
4314         [C99-based-standards] (SCNxLEAST16): Likewise.
4315         [C99-based-standards] (PRIdFAST16): Likewise.
4316         [C99-based-standards] (PRIiFAST16): Likewise.
4317         [C99-based-standards] (PRIoFAST16): Likewise.
4318         [C99-based-standards] (PRIuFAST16): Likewise.
4319         [C99-based-standards] (PRIxFAST16): Likewise.
4320         [C99-based-standards] (PRIXFAST16): Likewise.
4321         [C99-based-standards] (SCNdFAST16): Likewise.
4322         [C99-based-standards] (SCNiFAST16): Likewise.
4323         [C99-based-standards] (SCNoFAST16): Likewise.
4324         [C99-based-standards] (SCNuFAST16): Likewise.
4325         [C99-based-standards] (SCNxFAST16): Likewise.
4326         [C99-based-standards] (PRId32): Likewise.
4327         [C99-based-standards] (PRIi32): Likewise.
4328         [C99-based-standards] (PRIo32): Likewise.
4329         [C99-based-standards] (PRIu32): Likewise.
4330         [C99-based-standards] (PRIx32): Likewise.
4331         [C99-based-standards] (PRIX32): Likewise.
4332         [C99-based-standards] (SCNd32): Likewise.
4333         [C99-based-standards] (SCNi32): Likewise.
4334         [C99-based-standards] (SCNo32): Likewise.
4335         [C99-based-standards] (SCNu32): Likewise.
4336         [C99-based-standards] (SCNx32): Likewise.
4337         [C99-based-standards] (PRIdLEAST32): Likewise.
4338         [C99-based-standards] (PRIiLEAST32): Likewise.
4339         [C99-based-standards] (PRIoLEAST32): Likewise.
4340         [C99-based-standards] (PRIuLEAST32): Likewise.
4341         [C99-based-standards] (PRIxLEAST32): Likewise.
4342         [C99-based-standards] (PRIXLEAST32): Likewise.
4343         [C99-based-standards] (SCNdLEAST32): Likewise.
4344         [C99-based-standards] (SCNiLEAST32): Likewise.
4345         [C99-based-standards] (SCNoLEAST32): Likewise.
4346         [C99-based-standards] (SCNuLEAST32): Likewise.
4347         [C99-based-standards] (SCNxLEAST32): Likewise.
4348         [C99-based-standards] (PRIdFAST32): Likewise.
4349         [C99-based-standards] (PRIiFAST32): Likewise.
4350         [C99-based-standards] (PRIoFAST32): Likewise.
4351         [C99-based-standards] (PRIuFAST32): Likewise.
4352         [C99-based-standards] (PRIxFAST32): Likewise.
4353         [C99-based-standards] (PRIXFAST32): Likewise.
4354         [C99-based-standards] (SCNdFAST32): Likewise.
4355         [C99-based-standards] (SCNiFAST32): Likewise.
4356         [C99-based-standards] (SCNoFAST32): Likewise.
4357         [C99-based-standards] (SCNuFAST32): Likewise.
4358         [C99-based-standards] (SCNxFAST32): Likewise.
4359         [C99-based-standards] (PRId64): Likewise.
4360         [C99-based-standards] (PRIi64): Likewise.
4361         [C99-based-standards] (PRIo64): Likewise.
4362         [C99-based-standards] (PRIu64): Likewise.
4363         [C99-based-standards] (PRIx64): Likewise.
4364         [C99-based-standards] (PRIX64): Likewise.
4365         [C99-based-standards] (SCNd64): Likewise.
4366         [C99-based-standards] (SCNi64): Likewise.
4367         [C99-based-standards] (SCNo64): Likewise.
4368         [C99-based-standards] (SCNu64): Likewise.
4369         [C99-based-standards] (SCNx64): Likewise.
4370         [C99-based-standards] (PRIdLEAST64): Likewise.
4371         [C99-based-standards] (PRIiLEAST64): Likewise.
4372         [C99-based-standards] (PRIoLEAST64): Likewise.
4373         [C99-based-standards] (PRIuLEAST64): Likewise.
4374         [C99-based-standards] (PRIxLEAST64): Likewise.
4375         [C99-based-standards] (PRIXLEAST64): Likewise.
4376         [C99-based-standards] (SCNdLEAST64): Likewise.
4377         [C99-based-standards] (SCNiLEAST64): Likewise.
4378         [C99-based-standards] (SCNoLEAST64): Likewise.
4379         [C99-based-standards] (SCNuLEAST64): Likewise.
4380         [C99-based-standards] (SCNxLEAST64): Likewise.
4381         [C99-based-standards] (PRIdFAST64): Likewise.
4382         [C99-based-standards] (PRIiFAST64): Likewise.
4383         [C99-based-standards] (PRIoFAST64): Likewise.
4384         [C99-based-standards] (PRIuFAST64): Likewise.
4385         [C99-based-standards] (PRIxFAST64): Likewise.
4386         [C99-based-standards] (PRIXFAST64): Likewise.
4387         [C99-based-standards] (SCNdFAST64): Likewise.
4388         [C99-based-standards] (SCNiFAST64): Likewise.
4389         [C99-based-standards] (SCNoFAST64): Likewise.
4390         [C99-based-standards] (SCNuFAST64): Likewise.
4391         [C99-based-standards] (SCNxFAST64): Likewise.
4392         [C99-based-standards] (PRIdMAX): Likewise.
4393         [C99-based-standards] (PRIiMAX): Likewise.
4394         [C99-based-standards] (PRIoMAX): Likewise.
4395         [C99-based-standards] (PRIuMAX): Likewise.
4396         [C99-based-standards] (PRIxMAX): Likewise.
4397         [C99-based-standards] (PRIXMAX): Likewise.
4398         [C99-based-standards] (SCNdMAX): Likewise.
4399         [C99-based-standards] (SCNiMAX): Likewise.
4400         [C99-based-standards] (SCNoMAX): Likewise.
4401         [C99-based-standards] (SCNuMAX): Likewise.
4402         [C99-based-standards] (SCNxMAX): Likewise.
4403         [C99-based-standards] (PRIdPTR): Likewise.
4404         [C99-based-standards] (PRIiPTR): Likewise.
4405         [C99-based-standards] (PRIoPTR): Likewise.
4406         [C99-based-standards] (PRIuPTR): Likewise.
4407         [C99-based-standards] (PRIxPTR): Likewise.
4408         [C99-based-standards] (PRIXPTR): Likewise.
4409         [C99-based-standards] (SCNdPTR): Likewise.
4410         [C99-based-standards] (SCNiPTR): Likewise.
4411         [C99-based-standards] (SCNoPTR): Likewise.
4412         [C99-based-standards] (SCNuPTR): Likewise.
4413         [C99-based-standards] (SCNxPTR): Likewise.
4414         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4415         allow.
4416         * conform/data/stdint.h-data: Update comments to clarify
4417         requirements.
4418         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
4419         type.
4420         [C99-based standards] (INT8_MAX): Likewise.
4421         [C99-based standards] (INT16_MIN): Likewise.
4422         [C99-based standards] (INT16_MAX): Likewise.
4423         [C99-based standards] (INT32_MIN): Likewise.
4424         [C99-based standards] (INT32_MAX): Likewise.
4425         [C99-based standards] (INT64_MIN): Likewise.
4426         [C99-based standards] (INT64_MAX): Likewise.
4427         [C99-based standards] (UINT8_MAX): Likewise.
4428         [C99-based standards] (UINT16_MAX): Likewise.
4429         [C99-based standards] (UINT32_MAX): Likewise.
4430         [C99-based standards] (UINT64_MAX): Likewise.
4431         [C99-based standards] (INT_LEAST8_MIN): Likewise.
4432         [C99-based standards] (INT_LEAST8_MAX): Likewise.
4433         [C99-based standards] (INT_LEAST16_MIN): Likewise.
4434         [C99-based standards] (INT_LEAST16_MAX): Likewise.
4435         [C99-based standards] (INT_LEAST32_MIN): Likewise.
4436         [C99-based standards] (INT_LEAST32_MAX): Likewise.
4437         [C99-based standards] (INT_LEAST64_MIN): Likewise.
4438         [C99-based standards] (INT_LEAST64_MAX): Likewise.
4439         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4440         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4441         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4442         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4443         [C99-based standards] (INT_FAST8_MIN): Likewise.
4444         [C99-based standards] (INT_FAST8_MAX): Likewise.
4445         [C99-based standards] (INT_FAST16_MIN): Likewise.
4446         [C99-based standards] (INT_FAST16_MAX): Likewise.
4447         [C99-based standards] (INT_FAST32_MIN): Likewise.
4448         [C99-based standards] (INT_FAST32_MAX): Likewise.
4449         [C99-based standards] (INT_FAST64_MIN): Likewise.
4450         [C99-based standards] (INT_FAST64_MAX): Likewise.
4451         [C99-based standards] (UINT_FAST8_MAX): Likewise.
4452         [C99-based standards] (UINT_FAST16_MAX): Likewise.
4453         [C99-based standards] (UINT_FAST32_MAX): Likewise.
4454         [C99-based standards] (UINT_FAST64_MAX): Likewise.
4455         [C99-based standards] (INTPTR_MIN): Likewise.
4456         [C99-based standards] (INTPTR_MAX): Likewise.
4457         [C99-based standards] (UINTPTR_MAX): Likewise.
4458         [C99-based standards] (INTMAX_MIN): Likewise.
4459         [C99-based standards] (INTMAX_MAX): Likewise.
4460         [C99-based standards] (UINTMAX_MAX): Likewise.
4461         [C99-based standards] (PTRDIFF_MIN): Likewise.
4462         [C99-based standards] (PTRDIFF_MAX): Likewise.
4463         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4464         [C99-based standards] (SIZE_MAX): Likewise.
4465         [C99-based standards] (WCHAR_MAX): Likewise.
4466         [C99-based standards] (WINT_MAX): Likewise.
4467         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
4468         constraint on value.
4469         [C99-based standards] (WCHAR_MIN): Likewise.
4470         [C99-based standards] (WINT_MIN): Likewise.
4471         [C99-based standards] (*_t): Allow.
4472         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4473         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4474         Include math.h-data and complex.h-data.  Remove all expectations
4475         of math.h and complex.h contents.
4476         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4477         at end of line.
4478         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4479         (struct tm): Expect tag.
4480         [C99-based-standards] (wcstof): Expect function.
4481         [C99-based-standards] (wcstold): Likewise.
4482         [C99-based-standards] (wcstoll): Likewise.
4483         [C99-based-standards] (wcstoull): Likewise.
4484         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4485         macro-int-constant.  Specify type.
4486         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
4487         constraint on value.
4488         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4489         Specify type.
4490         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4491         Specify value.
4492         [ISO C standards]: Do not allow headers.
4493         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4494         wcs[abcdefghijklmnopqrstuvwxyz]*.
4495         [ISO C standards] (*_t): Do not allow.
4496         * conform/data/wctype.h-data [C99-based standards] (iswblank):
4497         Expect function.
4498         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4499         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4500         Specify type.
4501         [ISO C standards]: Do not allow headers.
4502         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4503         is[abcdefghijklmnopqrstuvwxyz]*.
4504         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4505         to[abcdefghijklmnopqrstuvwxyz]*.
4506         [ISO C standards] (*_t): Do not allow.
4507         * conform/data/stdalign.h-data: New file.
4508         * conform/data/stdbool.h-data: Likewise.
4509         * conform/data/stdnoreturn.h-data: Likewise.
4511 2012-11-07  Roland McGrath  <roland@hack.frob.com>
4513         [BZ #14815]
4514         * manual/filesys.texi (Directory Entries): Typo fix.
4515         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4517 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4519         * elf/elf.h (EM_AARCH64): New macro.
4520         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4521         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4522         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4523         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4524         (R_AARCH64_TLSDESC): Likewise.
4525         (NT_ARM_TLS): Likewise.
4526         (NT_ARM_HW_BREAK): Likewise.
4527         (NT_ARM_HW_WATCH): Likewise.
4529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4531         [BZ #14811]
4532         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4533         (__ieee754_powl): Saturate nonzero exponents with absolute value
4534         below 0x1p-79 to +/- 0x1p-79.
4535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4536         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4537         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4538         nonzero exponents with absolute value below 0x1p-32 to +/-
4539         0x1p-32.
4540         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4541         (__ieee754_powl): Saturate nonzero exponents with absolute value
4542         below 0x1p-79 to +/- 0x1p-79.
4543         * math/libm-test.inc (pow_test): Add more tests.
4545 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4547         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4548         _dl_s390_cap_flags with kernel. Increase string length.
4549         (_dl_s390_platforms): Add z196 and zEC12.
4551 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4553         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4554         Change XOPEN21K to XOPEN2K.
4556 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
4558         * string/memmove.c: Use memcpy when possible.
4560 2012-11-06  Andreas Jaeger  <aj@suse.de>
4562         * po/eo.po: Update from translation team.
4564 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
4566         [BZ #14793]
4567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4568         exponent and small x and y exponents, scale x or y up.  Increase
4569         by 2 the exponent used in scaling up.
4570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4571         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4572         * math/libm-test.inc (fma_test): Add more tests.
4573         (fma_test_towardzero): Likewise.
4574         (fma_test_downward): Likewise.
4575         (fma_test_upward): Likewise.
4577 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
4579         [BZ #14805]
4580         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4581         fenv_t *.
4583         [BZ #14801]
4584         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4585         namespace for names of struct fields.
4586         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4587         fenv_t fields.
4588         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4589         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4591 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4593         [BZ #3665]
4594         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4596 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4598         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4599         PTR_DEMANGLE.
4601         [BZ #5246]
4602         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4603         PTR_DEMANGLE.
4605 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
4607         [BZ #14797]
4608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4609         definitely overflow as x * y not x * y + z.
4610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4612         * math/libm-test.inc (fma_test): Add more tests.
4613         (fma_test_towardzero): Likewise.
4614         (fma_test_downward): Likewise.
4615         (fma_test_upward): Likewise.
4617 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4619         [BZ #157]
4621         * include/stub-tag.h: Remove file.
4622         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4623         '#include' of it.
4624         * manual/maint.texi (Porting): Don't reference it.
4625         * Makerules ($(objpfx)stubs): Likewise.
4626         * dirent/closedir.c: Don't include <stub-tag.h>.
4627         * dirent/dirfd.c: Likewise.
4628         * dirent/fdopendir.c: Likewise.
4629         * dirent/getdents.c: Likewise.
4630         * dirent/getdents64.c: Likewise.
4631         * dirent/opendir.c: Likewise.
4632         * dirent/readdir.c: Likewise.
4633         * dirent/readdir64.c: Likewise.
4634         * dirent/readdir64_r.c: Likewise.
4635         * dirent/readdir_r.c: Likewise.
4636         * dirent/rewinddir.c: Likewise.
4637         * dirent/seekdir.c: Likewise.
4638         * dirent/telldir.c: Likewise.
4639         * gmon/profil.c: Likewise.
4640         * grp/setgroups.c: Likewise.
4641         * inet/if_index.c: Likewise.
4642         * io/access.c: Likewise.
4643         * io/chdir.c: Likewise.
4644         * io/chmod.c: Likewise.
4645         * io/chown.c: Likewise.
4646         * io/close.c: Likewise.
4647         * io/dup.c: Likewise.
4648         * io/dup2.c: Likewise.
4649         * io/dup3.c: Likewise.
4650         * io/euidaccess.c: Likewise.
4651         * io/faccessat.c: Likewise.
4652         * io/fchdir.c: Likewise.
4653         * io/fchmod.c: Likewise.
4654         * io/fchmodat.c: Likewise.
4655         * io/fchown.c: Likewise.
4656         * io/fchownat.c: Likewise.
4657         * io/fcntl.c: Likewise.
4658         * io/flock.c: Likewise.
4659         * io/fstatfs.c: Likewise.
4660         * io/fstatfs64.c: Likewise.
4661         * io/fstatvfs.c: Likewise.
4662         * io/fstatvfs64.c: Likewise.
4663         * io/futimens.c: Likewise.
4664         * io/fxstat.c: Likewise.
4665         * io/fxstat64.c: Likewise.
4666         * io/fxstatat.c: Likewise.
4667         * io/fxstatat64.c: Likewise.
4668         * io/getcwd.c: Likewise.
4669         * io/isatty.c: Likewise.
4670         * io/lchmod.c: Likewise.
4671         * io/lchown.c: Likewise.
4672         * io/link.c: Likewise.
4673         * io/linkat.c: Likewise.
4674         * io/lseek.c: Likewise.
4675         * io/lseek64.c: Likewise.
4676         * io/lxstat64.c: Likewise.
4677         * io/mkdir.c: Likewise.
4678         * io/mkdirat.c: Likewise.
4679         * io/mkfifo.c: Likewise.
4680         * io/mkfifoat.c: Likewise.
4681         * io/open.c: Likewise.
4682         * io/open64.c: Likewise.
4683         * io/openat.c: Likewise.
4684         * io/openat64.c: Likewise.
4685         * io/pipe.c: Likewise.
4686         * io/pipe2.c: Likewise.
4687         * io/poll.c: Likewise.
4688         * io/posix_fadvise.c: Likewise.
4689         * io/posix_fadvise64.c: Likewise.
4690         * io/posix_fallocate.c: Likewise.
4691         * io/posix_fallocate64.c: Likewise.
4692         * io/read.c: Likewise.
4693         * io/readlink.c: Likewise.
4694         * io/readlinkat.c: Likewise.
4695         * io/rmdir.c: Likewise.
4696         * io/sendfile.c: Likewise.
4697         * io/sendfile64.c: Likewise.
4698         * io/statfs.c: Likewise.
4699         * io/statfs64.c: Likewise.
4700         * io/statvfs.c: Likewise.
4701         * io/statvfs64.c: Likewise.
4702         * io/symlink.c: Likewise.
4703         * io/symlinkat.c: Likewise.
4704         * io/ttyname.c: Likewise.
4705         * io/ttyname_r.c: Likewise.
4706         * io/umask.c: Likewise.
4707         * io/unlink.c: Likewise.
4708         * io/unlinkat.c: Likewise.
4709         * io/utime.c: Likewise.
4710         * io/utimensat.c: Likewise.
4711         * io/write.c: Likewise.
4712         * io/xmknod.c: Likewise.
4713         * io/xmknodat.c: Likewise.
4714         * io/xstat.c: Likewise.
4715         * io/xstat64.c: Likewise.
4716         * login/getpt.c: Likewise.
4717         * login/grantpt.c: Likewise.
4718         * login/unlockpt.c: Likewise.
4719         * math/e_acoshl.c: Likewise.
4720         * math/e_acosl.c: Likewise.
4721         * math/e_asinl.c: Likewise.
4722         * math/e_atan2l.c: Likewise.
4723         * math/e_atanhl.c: Likewise.
4724         * math/e_coshl.c: Likewise.
4725         * math/e_expl.c: Likewise.
4726         * math/e_fmodl.c: Likewise.
4727         * math/e_gammal_r.c: Likewise.
4728         * math/e_hypotl.c: Likewise.
4729         * math/e_j0l.c: Likewise.
4730         * math/e_j1l.c: Likewise.
4731         * math/e_jnl.c: Likewise.
4732         * math/e_lgammal_r.c: Likewise.
4733         * math/e_log10l.c: Likewise.
4734         * math/e_log2l.c: Likewise.
4735         * math/e_logl.c: Likewise.
4736         * math/e_powl.c: Likewise.
4737         * math/e_rem_pio2l.c: Likewise.
4738         * math/e_sinhl.c: Likewise.
4739         * math/e_sqrtl.c: Likewise.
4740         * math/fclrexcpt.c: Likewise.
4741         * math/fedisblxcpt.c: Likewise.
4742         * math/feenablxcpt.c: Likewise.
4743         * math/fegetenv.c: Likewise.
4744         * math/fegetexcept.c: Likewise.
4745         * math/fegetround.c: Likewise.
4746         * math/feholdexcpt.c: Likewise.
4747         * math/fesetenv.c: Likewise.
4748         * math/fesetround.c: Likewise.
4749         * math/feupdateenv.c: Likewise.
4750         * math/fgetexcptflg.c: Likewise.
4751         * math/fraiseexcpt.c: Likewise.
4752         * math/fsetexcptflg.c: Likewise.
4753         * math/ftestexcept.c: Likewise.
4754         * math/k_cosl.c: Likewise.
4755         * math/k_rem_pio2l.c: Likewise.
4756         * math/k_sinl.c: Likewise.
4757         * math/k_tanl.c: Likewise.
4758         * math/s_asinhl.c: Likewise.
4759         * math/s_atanl.c: Likewise.
4760         * math/s_cbrtl.c: Likewise.
4761         * math/s_erfl.c: Likewise.
4762         * math/s_expm1l.c: Likewise.
4763         * math/s_log1pl.c: Likewise.
4764         * math/s_tanhl.c: Likewise.
4765         * misc/acct.c: Likewise.
4766         * misc/brk.c: Likewise.
4767         * misc/chflags.c: Likewise.
4768         * misc/chroot.c: Likewise.
4769         * misc/fchflags.c: Likewise.
4770         * misc/fgetxattr.c: Likewise.
4771         * misc/flistxattr.c: Likewise.
4772         * misc/fremovexattr.c: Likewise.
4773         * misc/fsetxattr.c: Likewise.
4774         * misc/fsync.c: Likewise.
4775         * misc/ftruncate.c: Likewise.
4776         * misc/futimes.c: Likewise.
4777         * misc/futimesat.c: Likewise.
4778         * misc/getdomain.c: Likewise.
4779         * misc/getdtsz.c: Likewise.
4780         * misc/gethostid.c: Likewise.
4781         * misc/gethostname.c: Likewise.
4782         * misc/getloadavg.c: Likewise.
4783         * misc/getpagesize.c: Likewise.
4784         * misc/getsysstats.c: Likewise.
4785         * misc/getxattr.c: Likewise.
4786         * misc/gtty.c: Likewise.
4787         * misc/ioctl.c: Likewise.
4788         * misc/lgetxattr.c: Likewise.
4789         * misc/listxattr.c: Likewise.
4790         * misc/llistxattr.c: Likewise.
4791         * misc/lremovexattr.c: Likewise.
4792         * misc/lsetxattr.c: Likewise.
4793         * misc/lutimes.c: Likewise.
4794         * misc/madvise.c: Likewise.
4795         * misc/mincore.c: Likewise.
4796         * misc/mlock.c: Likewise.
4797         * misc/mlockall.c: Likewise.
4798         * misc/mmap.c: Likewise.
4799         * misc/mprotect.c: Likewise.
4800         * misc/msync.c: Likewise.
4801         * misc/munlock.c: Likewise.
4802         * misc/munlockall.c: Likewise.
4803         * misc/munmap.c: Likewise.
4804         * misc/preadv.c: Likewise.
4805         * misc/preadv64.c: Likewise.
4806         * misc/ptrace.c: Likewise.
4807         * misc/pwritev.c: Likewise.
4808         * misc/pwritev64.c: Likewise.
4809         * misc/readv.c: Likewise.
4810         * misc/reboot.c: Likewise.
4811         * misc/remap_file_pages.c: Likewise.
4812         * misc/removexattr.c: Likewise.
4813         * misc/revoke.c: Likewise.
4814         * misc/select.c: Likewise.
4815         * misc/setdomain.c: Likewise.
4816         * misc/setegid.c: Likewise.
4817         * misc/seteuid.c: Likewise.
4818         * misc/sethostid.c: Likewise.
4819         * misc/sethostname.c: Likewise.
4820         * misc/setregid.c: Likewise.
4821         * misc/setreuid.c: Likewise.
4822         * misc/setxattr.c: Likewise.
4823         * misc/sstk.c: Likewise.
4824         * misc/stty.c: Likewise.
4825         * misc/swapoff.c: Likewise.
4826         * misc/swapon.c: Likewise.
4827         * misc/sync.c: Likewise.
4828         * misc/syncfs.c: Likewise.
4829         * misc/syscall.c: Likewise.
4830         * misc/truncate.c: Likewise.
4831         * misc/ualarm.c: Likewise.
4832         * misc/usleep.c: Likewise.
4833         * misc/ustat.c: Likewise.
4834         * misc/utimes.c: Likewise.
4835         * misc/vhangup.c: Likewise.
4836         * misc/writev.c: Likewise.
4837         * posix/_exit.c: Likewise.
4838         * posix/alarm.c: Likewise.
4839         * posix/execve.c: Likewise.
4840         * posix/fexecve.c: Likewise.
4841         * posix/fork.c: Likewise.
4842         * posix/fpathconf.c: Likewise.
4843         * posix/getaddrinfo.c: Likewise.
4844         * posix/getegid.c: Likewise.
4845         * posix/geteuid.c: Likewise.
4846         * posix/getgid.c: Likewise.
4847         * posix/getgroups.c: Likewise.
4848         * posix/getlogin.c: Likewise.
4849         * posix/getlogin_r.c: Likewise.
4850         * posix/getpgid.c: Likewise.
4851         * posix/getpid.c: Likewise.
4852         * posix/getppid.c: Likewise.
4853         * posix/getresgid.c: Likewise.
4854         * posix/getresuid.c: Likewise.
4855         * posix/getsid.c: Likewise.
4856         * posix/getuid.c: Likewise.
4857         * posix/glob64.c: Likewise.
4858         * posix/nanosleep.c: Likewise.
4859         * posix/pathconf.c: Likewise.
4860         * posix/pause.c: Likewise.
4861         * posix/posix_madvise.c: Likewise.
4862         * posix/pread.c: Likewise.
4863         * posix/pread64.c: Likewise.
4864         * posix/pwrite.c: Likewise.
4865         * posix/pwrite64.c: Likewise.
4866         * posix/sched_getaffinity.c: Likewise.
4867         * posix/sched_getp.c: Likewise.
4868         * posix/sched_gets.c: Likewise.
4869         * posix/sched_primax.c: Likewise.
4870         * posix/sched_primin.c: Likewise.
4871         * posix/sched_rr_gi.c: Likewise.
4872         * posix/sched_setaffinity.c: Likewise.
4873         * posix/sched_setp.c: Likewise.
4874         * posix/sched_sets.c: Likewise.
4875         * posix/sched_yield.c: Likewise.
4876         * posix/setgid.c: Likewise.
4877         * posix/setlogin.c: Likewise.
4878         * posix/setpgid.c: Likewise.
4879         * posix/setresgid.c: Likewise.
4880         * posix/setresuid.c: Likewise.
4881         * posix/setsid.c: Likewise.
4882         * posix/setuid.c: Likewise.
4883         * posix/sleep.c: Likewise.
4884         * posix/spawni.c: Likewise.
4885         * posix/sysconf.c: Likewise.
4886         * posix/times.c: Likewise.
4887         * posix/wait.c: Likewise.
4888         * posix/wait3.c: Likewise.
4889         * posix/wait4.c: Likewise.
4890         * posix/waitpid.c: Likewise.
4891         * resolv/gai_sigqueue.c: Likewise.
4892         * resource/getpriority.c: Likewise.
4893         * resource/getrlimit.c: Likewise.
4894         * resource/getrusage.c: Likewise.
4895         * resource/nice.c: Likewise.
4896         * resource/setpriority.c: Likewise.
4897         * resource/setrlimit.c: Likewise.
4898         * resource/ulimit.c: Likewise.
4899         * rt/aio_cancel.c: Likewise.
4900         * rt/aio_fsync.c: Likewise.
4901         * rt/aio_read.c: Likewise.
4902         * rt/aio_sigqueue.c: Likewise.
4903         * rt/aio_suspend.c: Likewise.
4904         * rt/aio_write.c: Likewise.
4905         * rt/clock_getres.c: Likewise.
4906         * rt/clock_gettime.c: Likewise.
4907         * rt/clock_nanosleep.c: Likewise.
4908         * rt/clock_settime.c: Likewise.
4909         * rt/lio_listio.c: Likewise.
4910         * rt/mq_close.c: Likewise.
4911         * rt/mq_getattr.c: Likewise.
4912         * rt/mq_notify.c: Likewise.
4913         * rt/mq_open.c: Likewise.
4914         * rt/mq_receive.c: Likewise.
4915         * rt/mq_send.c: Likewise.
4916         * rt/mq_setattr.c: Likewise.
4917         * rt/mq_timedreceive.c: Likewise.
4918         * rt/mq_timedsend.c: Likewise.
4919         * rt/mq_unlink.c: Likewise.
4920         * rt/shm_open.c: Likewise.
4921         * rt/shm_unlink.c: Likewise.
4922         * rt/timer_create.c: Likewise.
4923         * rt/timer_delete.c: Likewise.
4924         * rt/timer_getoverr.c: Likewise.
4925         * rt/timer_gettime.c: Likewise.
4926         * rt/timer_settime.c: Likewise.
4927         * setjmp/__longjmp.c: Likewise.
4928         * setjmp/setjmp.c: Likewise.
4929         * signal/kill.c: Likewise.
4930         * signal/killpg.c: Likewise.
4931         * signal/raise.c: Likewise.
4932         * signal/sigaction.c: Likewise.
4933         * signal/sigaltstack.c: Likewise.
4934         * signal/sigblock.c: Likewise.
4935         * signal/sigignore.c: Likewise.
4936         * signal/sigintr.c: Likewise.
4937         * signal/signal.c: Likewise.
4938         * signal/sigpause.c: Likewise.
4939         * signal/sigpending.c: Likewise.
4940         * signal/sigqueue.c: Likewise.
4941         * signal/sigreturn.c: Likewise.
4942         * signal/sigset.c: Likewise.
4943         * signal/sigsetmask.c: Likewise.
4944         * signal/sigstack.c: Likewise.
4945         * signal/sigsuspend.c: Likewise.
4946         * signal/sigtimedwait.c: Likewise.
4947         * signal/sigvec.c: Likewise.
4948         * signal/sigwait.c: Likewise.
4949         * signal/sigwaitinfo.c: Likewise.
4950         * signal/sysv_signal.c: Likewise.
4951         * socket/accept.c: Likewise.
4952         * socket/accept4.c: Likewise.
4953         * socket/bind.c: Likewise.
4954         * socket/connect.c: Likewise.
4955         * socket/getpeername.c: Likewise.
4956         * socket/getsockname.c: Likewise.
4957         * socket/getsockopt.c: Likewise.
4958         * socket/isfdtype.c: Likewise.
4959         * socket/listen.c: Likewise.
4960         * socket/recv.c: Likewise.
4961         * socket/recvfrom.c: Likewise.
4962         * socket/recvmsg.c: Likewise.
4963         * socket/send.c: Likewise.
4964         * socket/sendmsg.c: Likewise.
4965         * socket/sendto.c: Likewise.
4966         * socket/setsockopt.c: Likewise.
4967         * socket/shutdown.c: Likewise.
4968         * socket/sockatmark.c: Likewise.
4969         * socket/socket.c: Likewise.
4970         * socket/socketpair.c: Likewise.
4971         * stdio-common/ctermid.c: Likewise.
4972         * stdio-common/cuserid.c: Likewise.
4973         * stdio-common/remove.c: Likewise.
4974         * stdio-common/rename.c: Likewise.
4975         * stdio-common/renameat.c: Likewise.
4976         * stdio-common/tempname.c: Likewise.
4977         * stdlib/getcontext.c: Likewise.
4978         * stdlib/makecontext.c: Likewise.
4979         * stdlib/setcontext.c: Likewise.
4980         * stdlib/swapcontext.c: Likewise.
4981         * stdlib/system.c: Likewise.
4982         * streams/fattach.c: Likewise.
4983         * streams/fdetach.c: Likewise.
4984         * streams/getmsg.c: Likewise.
4985         * streams/getpmsg.c: Likewise.
4986         * streams/putmsg.c: Likewise.
4987         * streams/putpmsg.c: Likewise.
4988         * sysdeps/unix/bsd/getpt.c: Likewise.
4989         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4990         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4991         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4993         Likewise.
4994         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4995         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4996         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4997         * sysvipc/msgctl.c: Likewise.
4998         * sysvipc/msgget.c: Likewise.
4999         * sysvipc/msgrcv.c: Likewise.
5000         * sysvipc/msgsnd.c: Likewise.
5001         * sysvipc/semctl.c: Likewise.
5002         * sysvipc/semget.c: Likewise.
5003         * sysvipc/semop.c: Likewise.
5004         * sysvipc/semtimedop.c: Likewise.
5005         * sysvipc/shmat.c: Likewise.
5006         * sysvipc/shmctl.c: Likewise.
5007         * sysvipc/shmdt.c: Likewise.
5008         * sysvipc/shmget.c: Likewise.
5009         * termios/tcdrain.c: Likewise.
5010         * termios/tcflow.c: Likewise.
5011         * termios/tcflush.c: Likewise.
5012         * termios/tcgetattr.c: Likewise.
5013         * termios/tcgetpgrp.c: Likewise.
5014         * termios/tcsendbrk.c: Likewise.
5015         * termios/tcsetattr.c: Likewise.
5016         * termios/tcsetpgrp.c: Likewise.
5017         * time/adjtime.c: Likewise.
5018         * time/clock.c: Likewise.
5019         * time/getitimer.c: Likewise.
5020         * time/gettimeofday.c: Likewise.
5021         * time/setitimer.c: Likewise.
5022         * time/settimeofday.c: Likewise.
5023         * time/stime.c: Likewise.
5024         * time/time.c: Likewise.
5026 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5028         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5029         /usr/old/bin.
5031         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5032         instead of spaces.
5033         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5035 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5037         [BZ #14796]
5038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5039         FE_TONEAREST before applying Dekker multiplication and Knuth
5040         addition.  Clear inexact exceptions and check for exact zero
5041         results afterwards.
5042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5043         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5045         * math/libm-test.inc (fma_test): Add more tests.
5046         (fma_test_towardzero): Likewise.
5047         (fma_test_downward): Likewise.
5048         (fma_test_upward): Likewise.
5049         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5050         function.
5051         (libc_fesetround): New macro.
5052         (libc_fesetroundf): Likewise.
5053         (libc_fesetroundl): Likewise.
5054         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5055         function.
5056         (libc_fesetround_387): Likewise.
5057         (libc_fesetroundf): New macro.
5058         (libc_fesetround): Likewise.
5059         (libc_fesetroundl): Likewise.
5060         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5061         function.
5062         (libc_fesetroundf): New macro.
5063         (libc_fesetround): Likewise.
5064         (libc_fesetroundl): Likewise.
5065         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5066         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5067         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5068         libm_hidden_ver.
5069         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5070         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5071         libm_hidden_def.
5072         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5073         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5074         libm_hidden_ver.
5075         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5076         libm_hidden_def.
5078         [BZ #3439]
5079         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5080         integer constant usable in #if and use that to give value to enum
5081         constant.
5082         (FE_DIVBYZERO): Likewise.
5083         (FE_UNDERFLOW): Likewise.
5084         (FE_OVERFLOW): Likewise.
5085         (FE_INVALID): Likewise.
5086         (FE_INVALID_SNAN): Likewise.
5087         (FE_INVALID_ISI): Likewise.
5088         (FE_INVALID_IDI): Likewise.
5089         (FE_INVALID_ZDZ): Likewise.
5090         (FE_INVALID_IMZ): Likewise.
5091         (FE_INVALID_COMPARE): Likewise.
5092         (FE_INVALID_SOFTWARE): Likewise.
5093         (FE_INVALID_SQRT): Likewise.
5094         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5095         (FE_TONEAREST): Likewise.
5096         (FE_TOWARDZERO): Likewise.
5097         (FE_UPWARD): Likewise.
5098         (FE_DOWNWARD): Likewise.
5099         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5100         (FE_DIVBYZERO): Likewise.
5101         (FE_OVERFLOW): Likewise.
5102         (FE_UNDERFLOW): Likewise.
5103         (FE_INEXACT): Likewise.
5104         (FE_TONEAREST): Likewise.
5105         (FE_DOWNWARD): Likewise.
5106         (FE_UPWARD): Likewise.
5107         (FE_TOWARDZERO): Likewise.
5108         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5109         (FE_UNDERFLOW): Likewise.
5110         (FE_OVERFLOW): Likewise.
5111         (FE_DIVBYZERO): Likewise.
5112         (FE_INVALID): Likewise.
5113         (FE_TONEAREST): Likewise.
5114         (FE_TOWARDZERO): Likewise.
5115         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5116         (FE_OVERFLOW): Likewise.
5117         (FE_UNDERFLOW): Likewise.
5118         (FE_DIVBYZERO): Likewise.
5119         (FE_INEXACT): Likewise.
5120         (FE_TONEAREST): Likewise.
5121         (FE_TOWARDZERO): Likewise.
5122         (FE_UPWARD): Likewise.
5123         (FE_DOWNWARD): Likewise.
5124         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5125         (FE_DIVBYZERO): Likewise.
5126         (FE_OVERFLOW): Likewise.
5127         (FE_UNDERFLOW): Likewise.
5128         (FE_INEXACT): Likewise.
5129         (FE_TONEAREST): Likewise.
5130         (FE_DOWNWARD): Likewise.
5131         (FE_UPWARD): Likewise.
5132         (FE_TOWARDZERO): Likewise.
5134 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5136         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5138 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5140         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5141         commands.  Quote $PWD.
5142         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5143         -x" by "export".
5144         (remove_newlines): Remove.
5146 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5148         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5149         * stdlib/stdlib.h (atof): Moved to ...
5150         * include/bits/stdlib-float.h: Here.  New file.
5151         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5152         * stdlib/bits/stdlib-float.h: New file.
5153         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5154         -mno-sse -mno-mmx.
5155         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5156         <xmmintrin.h>.
5158 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5160         * conform/conformtest.pl (@headers): Add fenv.h.
5161         * conform/data/fenv.h-data: New file.
5162         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5163         include of <math/fenv.h>.
5165         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5166         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5167         && !UNIX98].  Enables tests for XOPEN2K8.
5168         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5169         POSIX2008]: Likewise.
5171         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5172         (struct rusage): Do not expect type or its members.
5174         [BZ #3439]
5175         * math/math.h (FP_NAN): Define macro to integer constant usable in
5176         #if and use that to give value to enum constant.
5177         (FP_INFINITE): Likewise.
5178         (FP_ZERO): Likewise.
5179         (FP_SUBNORMAL): Likewise.
5180         (FP_NORMAL): Likewise.
5182 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5184         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5185         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5186         arguments.
5188 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5190         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5191         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5192         autoconf-time if not.
5193         * configure.in: Remove AC_PREREQ.
5195 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5197         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5198         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5199         of the internal implementation.
5201 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5203         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5204         except include of <misc/sys/syslog.h>.
5206 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5209         function returns with a NULL context exit with zero.
5211 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5213         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5215 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5217         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5218         (run_program_cmd): This.
5219         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5220         (tst_langinfo): New variable.  Use it.
5222 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5224         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5225         floating point opcodes.
5227 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5229         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5230         variable.
5232         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5234         * sysdeps/mach/hurd/powerpc: Remove directory.
5235         * sysdeps/mach/powerpc: Likewise.
5237 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5239         * scripts/check-local-headers.sh: Ignore c++ headers.
5241 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5243         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5244         __libc_cleanup_region_start argument.
5246 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5248         [BZ #14784]
5249         [BZ #14785]
5250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5251         x * y using scaling, not as x * y + z.
5252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5254         * math/libm-test.inc (fma_test): Add more tests.
5255         (fma_test_towardzero): Likewise.
5256         (fma_test_downward): Likewise.
5257         (fma_test_upward): Likewise.
5259 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5261         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5263 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5265         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5266         New variable.
5268 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5270         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5272 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5275         Fix sort order.
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5277         Likewise.
5279 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5282         Fix the order of the list for glibc 2.17.
5283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5284         Likewise.
5286 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5290 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5292         [BZ #14610]
5293         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5294         for low part of x being zero before using __atanl (y).
5295         * math/libm-test.inc (atan2_test): Add another test.
5297         * manual/install.texi (Configuring and compiling): Document
5298         general use of test-wrapper and test-wrapper-env.
5299         * INSTALL: Regenerated.
5301         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5302         (__fma): Do not extract and scale down low bits on after-rounding
5303         systems when result rounded to normal precision would have normal
5304         exponent.
5305         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5306         (__fmal): Do not extract and scale down low bits on after-rounding
5307         systems when result rounded to normal precision would have normal
5308         exponent.
5309         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5310         (__fmal): Do not extract and scale down low bits on after-rounding
5311         systems when result rounded to normal precision would have normal
5312         exponent.
5313         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5314         macro.
5315         (fma_test): Add more tests.
5316         (fma_test_towardzero): Likewise.
5317         (fma_test_downward): Likewise.
5318         (fma_test_upward): Likewise.
5320 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
5322         * sysdeps/i386/tininess.h: Renamed to ...
5323         * sysdeps/x86/tininess.h: This.
5324         * sysdeps/x86_64/tininess.h: Removed.
5326 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5328         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5329         input.  Use $(build-program-cmd).
5330         ($(objpfx)tst-array1-static.out): Likewise.
5331         ($(objpfx)tst-array2.out): Likewise.
5332         ($(objpfx)tst-array3.out): Likewise.
5333         ($(objpfx)tst-array4.out): Likewise.
5334         ($(objpfx)tst-array5.out): Likewise.
5335         ($(objpfx)tst-array5-static.out): Likewise.
5337 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
5339         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5340         if defined.
5342         * nss/nsswitch.h (nss_interface_function): Provide new
5343         macro for use with NSS functions.
5344         * grp/initgroups.c: Use new macro.
5345         * nss/getXXbyYY.c: Likewise.
5346         * nss/getXXbyYY_r.c: Likewise.
5347         * nss/getXXent.c: Likewise.
5348         * nss/getXXent_r.c: Likewise.
5349         * sysdeps/posix/getaddrinfo.c: Likewise.
5351 2012-10-30  Andreas Jaeger  <aj@suse.de>
5353         * po/ru.po: Update Russion translation from translation project.
5355 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5357         [BZ #14152]
5358         [BZ #14783]
5359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5360         result and shift together with sticky bit instead of replicating
5361         round-to-nearest rounding.
5362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5364         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
5365         missing underflow exceptions.
5366         (fma_test_towardzero): Add more tests.
5367         (fma_test_downward): Likewise.
5368         (fma_test_upward): Likewise.
5370         [BZ #14047]
5371         * sysdeps/generic/tininess.h: New file.
5372         * sysdeps/i386/tininess.h: Likewise.
5373         * sysdeps/sh/tininess.h: Likewise.
5374         * sysdeps/x86_64/tininess.h: Likewise.
5375         * stdlib/tst-strtod-underflow.c: Likewise.
5376         * stdlib/tst-tininess.c: Likewise.
5377         * stdlib/strtod_l.c: Include <tininess.h>.
5378         (round_and_return): Do not set errno for exact underflow cases.
5379         Force an underflow exception when setting errno for underflow.
5380         Determine underflow based on rounding to normal precision if
5381         TININESS_AFTER_ROUNDING.
5382         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5383         ERANGE for exact underflow cases.
5384         * stdlib/Makefile (tests): Add tst-tininess and
5385         tst-strtod-underflow.
5386         ($(objpfx)tst-tininess): Use $(link-libm).
5387         ($(objpfx)tst-strtod-underflow): Likewise.
5389 2012-10-30  Andreas Jaeger  <aj@suse.de>
5391         [BZ#14767]
5392         * elf/Makefile (tests): Remove conditional for have-initfini-array
5393         since this is now always required and the variable does not exist
5394         anymore.
5395         (tests-static): Likewise.
5396         (modules-names): Likewise.
5398         * po/eo.po: Add Esperanto translation from translation project.
5400         * elf/tst-array1.c (fini_array): Make writeable so that it can be
5401         merged with constructor/destructor.
5402         (init_array): Likewise.
5403         * elf/tst-array2dep.c (fini_array): Likewise.
5404         (init_array): Likewise.
5406 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
5408         * manual/message.texi: Delete @cartouche tags.
5410 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
5412         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5413         EOPNOTSUPP.
5414         * sysdeps/mach/hurd/fsync.c: Likewise.
5416         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5417         [_POSIX_REALTIME_SIGNALS]: Change condition to
5418         [_POSIX_REALTIME_SIGNALS > 0].
5420 2012-10-27  Andreas Jaeger  <aj@suse.de>
5422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5423         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5425         [__WORDSIZE != 64]: Likewise.
5427 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
5429         *  iconvdata/tst-table.sh: Remove ${SHELL}.
5430         *  iconvdata/tst-tables.sh: Likewise.
5432 2012-10-25  David S. Miller  <davem@davemloft.net>
5434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5435         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5436         of strtoull.
5438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5439         ifunc-impl-list.c
5440         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5441         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5442         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5443         file.
5445 2012-10-25  Roland McGrath  <roland@hack.frob.com>
5447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5448         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5449         __getdirentries.
5451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5452             Jim Blandy  <jimb@codesourcery.com>
5454         * scripts/cross-test-ssh.sh: New file.
5455         * manual/install.texi (Configuring and compiling): Document use of
5456         cross-test-ssh.sh.
5457         * INSTALL: Regenerated.
5459 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
5461         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5462         EOPNOTSUPP.
5464 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5466         * Makeconfig (run-program-prefix): Fix comment.
5468 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5469             Jim Blandy  <jimb@codesourcery.com>
5471         * Makeconfig (test-wrapper): New variable,
5472         (test-wrapper-env): Likewise.
5473         [$(cross-compiling) = yes && $(test-wrapper) != ""]
5474         (run-built-tests): Define to yes.
5475         (run-program-prefix): Use $(test-wrapper).
5476         (built-program-cmd): Likewise.
5477         * Rules (make-test-out): Use $(test-wrapper-env) and
5478         $(host-built-program-cmd).
5479         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5480         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5481         tst-pathopt.sh.
5482         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5483         $(test-wrapper-env) to tst-rtld-load-self.sh.
5484         ($(objpfx)order2.out): Use $(test-wrapper).
5485         ($(objpfx)tst-initorder.out): Likewise.
5486         ($(objpfx)tst-initorder2.out): Likewise.
5487         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5488         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5489         (test_wrapper_env): New variable.  Use it to run ld.so.
5490         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5491         Use it to run ld.so.
5492         (test_wrapper_env): Likewise.
5493         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5494         $(test-wrapper) to run-iconv-test.sh.
5495         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5496         (ICONV): Use $test_wrapper.
5497         * posix/Makefile ($(objpfx)globtest.out): Pass
5498         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5499         globtest.sh, not $(run-program-prefix).
5500         * posix/globtest.sh (run_via_rtld_prefix): New variable.
5501         (test_wrapper): Likewise.
5502         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
5503         set together with run_via_rtld_prefix.
5504         (run_program_prefix): Define in terms of test_wrapper and
5505         run_via_rtld_prefix.
5507 2012-10-24  Roland McGrath  <roland@hack.frob.com>
5509         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5510         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5511         Targets removed.
5513         [BZ #14743]
5514         * include/time.h: Remove librt_hidden_proto (clock_gettime).
5515         Declare __clock_getres, __clock_gettime, __clock_settime,
5516         __clock_nanosleep, and __clock_getcpuclockid.
5517         * rt/clock_gettime.c: Define __clock_gettime as an alias.
5518         Remove librt_hidden_def (clock_gettime).
5519         * sysdeps/unix/clock_gettime.c: Likewise.
5520         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5522         * rt/clock_getres.c: Define __clock_getres as an alias.
5523         * sysdeps/posix/clock_getres.c: Likewise.
5524         * rt/clock_settime.c: Define __clock_settime as an alias.
5525         * sysdeps/unix/clock_settime.c: Likewise.
5526         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5527         * sysdeps/unix/clock_nanosleep.c: Likewise.
5528         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5529         * rt/clock-compat.c: New file.
5530         * rt/Makefile (librt-routines): Add clock-compat and move
5531         $(clock-routines) to ...
5532         (routines): ... here, new variable.
5533         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5534         Don't add get_clockfreq here.
5535         * rt/Versions (libc: GLIBC_2.17): New version set.
5536         Add clock_* symbols here.
5537         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
5538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5539         (GLIBC_2.17): Add clock_* symbols.
5540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5544         Likewise.
5545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5546         Likewise.
5547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5551         * NEWS: Mention the move.
5553         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5554         Use __open, __read, __close rather than their public counterparts.
5555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5556         (__get_clockfreq_via_cpuinfo): Likewise.
5557         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5558         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5560         * config.h.in (HAVE_IFUNC): New #undef.
5561         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5562         was successful.
5563         * configure: Regenerated.
5565 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5567         * configure.in: Move READELF check to start of file.
5568         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5569         libc_cv_asm_gnu_indirect_function in the process.
5570         * configure: Regenerated.
5572 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5574         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5575         send the output to /dev/null.
5576         (libc_cv_cc_with_libunwind): Likewise.
5577         (libc_cv_as_noexecstack): Likewise.
5578         * configure: Regenerate.
5580 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5582         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5584         * posix/globtest.sh (TMPDIR): Do not set.
5585         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5586         (testout): Likewise.
5588 2012-10-24  Andreas Jaeger  <aj@suse.de>
5590         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5591         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5592         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5593         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5594         posix_fadvise64, posix_fallocate64.
5596         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5597         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5598         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5599         Likewise.
5600         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5601         Likewise.
5602         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5605         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5606         <bits/fcntl-linux.h>.
5607         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5609         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5610         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5611         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5612         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5613         [__WORDSIZE != 64]: Likewise.
5615 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5617         * Makeconfig (run-built-tests): New variable.
5618         * Rules [$(cross-compiling) = yes]: Change condition to
5619         [$(run-built-tests) = no].
5620         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5621         to [$(run-built-tests) = yes].
5622         * elf/Makefile [$(cross-compiling) = no]: Likewise
5623         * grp/Makefile [$(cross-compiling) = no]: Likewise.
5624         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5625         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5626         * intl/Makefile [$(cross-compiling) = no]: Likewise.
5627         * io/Makefile [$(cross-compiling) = no]: Likewise.
5628         * libio/Makefile [$(cross-compiling) = no]: Likewise.
5629         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5630         * misc/Makefile [$(cross-compiling) = no]: Likewise.
5631         * posix/Makefile [$(cross-compiling) = no]: Likewise.
5632         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5633         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5634         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5635         * string/Makefile [$(cross-compiling) = no]: Likewise.
5637         * posix/Makefile ($(objpfx)globtest.out): Pass
5638         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5639         $(rtld-installed-name).
5640         * posix/globtest.sh (elf_objpfx): Remove variable.
5641         (rtld_installed_name): Likewise.
5642         (library_path): Likewise.
5643         (run_program_prefix): New variable.  Use for running globtest
5644         binary.
5646 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
5647             Joseph Myers  <joseph@codesourcery.com>
5649         * Makeconfig (host-built-program-cmd): New variable.
5650         * elf/Makefile (tst-stackguard1-ARGS): Use
5651         $(host-built-program-cmd).
5652         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5653         (tst-spawn-ARGS): Likewise.
5654         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5656 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5657             Jim Blandy  <jimb@codesourcery.com>
5659         * Makeconfig (run-via-rtld-prefix): New variable.
5660         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5661         (built-program-cmd): Likewise.
5663 2012-10-22  Andreas Jaeger  <aj@suse.de>
5665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5666         __O_RSYNC if it exists, otherwise to O_SYNC.
5668 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
5669             Joseph Myers  <joseph@codesourcery.com>
5671         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5672         /dev/null.
5673         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5674         from /dev/null
5675         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5676         /dev/null.
5678 2012-10-22  Andreas Jaeger  <aj@suse.de>
5680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5681         Define always.
5682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5685         bits/fcntl-linux.h.
5687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5688         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5691         to __O_LARGEFILE.
5692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5693         to __O_LARGEFILE.
5695 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
5696             Joseph Myers  <joseph@codesourcery.com>
5698         * config.make.in (NM): New variable.
5700 2012-10-21  Andreas Jaeger  <aj@suse.de>
5702         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5703         definitions and declarations that are provided by
5704         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5706 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5708         [BZ #14683]
5709         * elf/Makefile (tests-static): Add tst-leaks1-static.
5710         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5711         ($(objpfx)tst-leaks1-static): New rule.
5712         ($(objpfx)tst-leaks1-static-mem): Likewise.
5713         (tst-leaks1-static-ENV): New macro.
5714         * elf/dl-open.c (dl_open_worker): Check the main application
5715         only if SHARED is defined.
5716         * elf/tst-leaks1-static.c: New file.
5718 2012-10-20  Andreas Jaeger  <aj@suse.de>
5720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5721         generic values for Linux.
5722         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5723         and declarations that are provided by <bits/fcntl-linux.h> and
5724         include <bits/fcntl-linux.h>.
5725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5728 2012-10-20  Roland McGrath  <roland@hack.frob.com>
5730         * io/fcntl.h: Move include of <bits/types.h> to the top and
5731         include it unconditionally.
5733 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5735         * wcsmbs/Makefile (tests-ifunc): New variable.
5736         (tests): Add $(tests-ifunc).
5737         * wcsmbs/test-wcschr-ifunc.c: New file.
5738         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5739         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5740         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5741         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5742         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5744         * string/Makefile (tests-ifunc): New variable.
5745         (tests): Add $(tests-ifunc).
5746         * string/test-memccpy.c (TEST_NAME): New macro.
5747         * string/test-memchr.c (TEST_NAME): Likewise.
5748         * string/test-memcmp.c (TEST_NAME): Likewise.
5749         * string/test-memcpy.c (TEST_NAME): Likewise.
5750         * string/test-memmem.c (TEST_NAME): Likewise.
5751         * string/test-memmove.c (TEST_NAME): Likewise.
5752         * string/test-memset.c (TEST_NAME): Likewise.
5753         * string/test-rawmemchr.c (TEST_NAME): Likewise.
5754         * string/test-stpcpy.c (TEST_NAME): Likewise.
5755         * string/test-stpncpy.c (TEST_NAME): Likewise.
5756         * string/test-strcasecmp.c (TEST_NAME): Likewise.
5757         * string/test-strcasestr.c (TEST_NAME): Likewise.
5758         * string/test-strcat.c (TEST_NAME): Likewise.
5759         * string/test-strchr.c (TEST_NAME): Likewise.
5760         * string/test-strcmp.c(TEST_NAME): Likewise.
5761         * string/test-strcpy.c (TEST_NAME): Likewise.
5762         * string/test-strcspn.c (TEST_NAME): Likewise.
5763         * string/test-strlen.c (TEST_NAME): Likewise.
5764         * string/test-strncasecmp.c (TEST_NAME): Likewise.
5765         * string/test-strncmp.c (TEST_NAME): Likewise.
5766         * string/test-strncpy.c (TEST_NAME): Likewise.
5767         * string/test-strnlen.c (TEST_NAME): Likewise.
5768         * string/test-strpbrk.c (TEST_NAME): Likewise.
5769         * string/test-strrchr.c (TEST_NAME): Likewise.
5770         * string/test-strspn.c (TEST_NAME): Likewise.
5771         * string/test-strstr.c (TEST_NAME): Likewise.
5772         * string/test-bcopy-ifunc.c: New file.
5773         * string/test-bzero-ifunc.c: Likewise.
5774         * string/test-memccpy-ifunc.c: Likewise.
5775         * string/test-memchr-ifunc.c: Likewise.
5776         * string/test-memcmp-ifunc.c: Likewise.
5777         * string/test-memcpy-ifunc.c: Likewise.
5778         * string/test-memmem-ifunc.c: Likewise.
5779         * string/test-memmove-ifunc.c: Likewise.
5780         * string/test-mempcpy-ifunc.c: Likewise.
5781         * string/test-memset-ifunc.c: Likewise.
5782         * string/test-rawmemchr-ifunc.c: Likewise.
5783         * string/test-stpcpy-ifunc.c: Likewise.
5784         * string/test-stpncpy-ifunc.c: Likewise.
5785         * string/test-strcasecmp-ifunc.c: Likewise.
5786         * string/test-strcasestr-ifunc.c: Likewise.
5787         * string/test-strcat-ifunc.c: Likewise.
5788         * string/test-strchr-ifunc.c: Likewise.
5789         * string/test-strchrnul-ifunc.c: Likewise.
5790         * string/test-strcmp-ifunc.c: Likewise.
5791         * string/test-strcpy-ifunc.c: Likewise.
5792         * string/test-strcspn-ifunc.c: Likewise.
5793         * string/test-strlen-ifunc.c: Likewise.
5794         * string/test-strncasecmp-ifunc.c: Likewise.
5795         * string/test-strncat-ifunc.c: Likewise.
5796         * string/test-strncmp-ifunc.c: Likewise.
5797         * string/test-strncpy-ifunc.c: Likewise.
5798         * string/test-strnlen-ifunc.c: Likewise.
5799         * string/test-strpbrk-ifunc.c: Likewise.
5800         * string/test-strrchr-ifunc.c: Likewise.
5801         * string/test-strspn-ifunc.c: Likewise.
5802         * string/test-strstr-ifunc.c: Likewise.
5804         * debug/Makefile (tests-ifunc): New variable.
5805         (tests): Add $(tests-ifunc).
5806         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5807         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5808         * debug/test-stpcpy_chk-ifunc.c: New file.
5809         * debug/test-strcpy_chk-ifunc.c: Likewise.
5811 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5813         [BZ #13601]
5814         * elf/dl-load.c (open_verify): Retry read if the entire ELF
5815         header is not read in.
5817 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
5819         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
5820         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
5821         directly.  Pass built executable to script as
5822         $(built-program-cmd).
5823         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
5824         $testprogram without using LD_LIBRARY_PATH and $ldso.
5826         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5827         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5828         $(rtld-installed-name).
5829         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5830         (rtld_installed_name): Likewise.
5831         (library_path): Likewise.
5832         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
5833         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5834         $(run-program-prefix) to tst-tables.sh.
5835         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
5836         it to run tst-table-from and tst-table-to.
5837         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5838         Pass it to tst-table.sh.
5839         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5840         $(run-program-prefix) to tst-gettext.sh.
5841         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5842         tst-translit.sh.
5843         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5844         tst-gettext2.sh.
5845         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
5846         to run tst-gettext.
5847         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
5848         to run tst-gettext2.
5849         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
5850         to run tst-translit.
5851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5852         $(run-program-prefix) to tst-mtrace.sh.
5853         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
5854         to run tst-mtrace.
5855         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5856         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5857         $(rtld-installed-name).
5858         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5859         (rtld_installed_name): Likewise.
5860         (run_program_prefix): New variable.  Use it to run wordexp-test.
5862         * Makeconfig (ARCH): Remove all definitions.
5863         (machine): Likewise.
5864         [ARCH]: Remove conditional code.
5865         [!objdir]: Give error.
5866         [!objdir] (objpfx): Remove.
5867         [!objdir] (common-objpfx): Likewise.
5868         [!objdir] (common-objdir): Likewise.
5869         * configure.in (config_makefile): Remove.  Hardcode Makefile in
5870         AC_CONFIG_FILES call.
5871         * configure: Regenerated.
5873         [BZ #13888]
5874         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5875         or TMPDIR.
5876         (testout): Likewise.
5878         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5879         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5880         $(rtld-installed-name).
5881         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5882         (rtld_installed_name): Likwise.
5883         (runit): Remove function.
5884         (run_getconf): New variable,  Use it for running getconf binary.
5886 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
5888         [BZ #14716]
5889         * string/test-memmem.c (check_result): New function.
5890         (do_one_test): Use it.
5891         (check1): New function.
5892         (test_main): Use it.
5894 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
5896         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5898 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
5900         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5901         (_G_LSEEK64): Likewise.
5902         (_G_MMAP64): Likewise.
5903         (_G_FSTAT64): Likewise.
5904         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5905         (_G_LSEEK64): Likewise.
5906         (_G_MMAP64): Likewise.
5907         (_G_FSTAT64): Likewise.
5908         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5909         unconditional.  Call __mmap64 directly.
5910         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5911         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
5912         __lseek64 directly.
5913         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5914         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
5915         __mmap64 directly.
5916         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5917         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5918         __lseek64 directly.
5919         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5920         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5921         __lseek64 directly.
5922         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5923         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
5924         __lseek64 directly.
5925         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5926         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
5927         __fxstat64 directly.
5928         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5929         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5930         unconditional.
5931         (freopen64) [!_G_OPEN64]: Remove conditional code.
5932         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5933         unconditional.
5934         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5935         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5936         unconditional.
5937         (ftello64) [!_G_LSEEK64]: Remove conditional code.
5938         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5939         unconditional.
5940         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5941         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5942         unconditional.
5943         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5944         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5945         unconditional.
5946         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5947         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5948         unconditional.
5949         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5950         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5951         unconditional.
5952         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5954 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5956         [BZ #12140]
5957         * manual/memory.texi (Malloc Tunable Parameters): Add note
5958         about free list pointers overwriting some perturb bytes.
5959         Wording suggested by Roland McGrath.
5961 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
5963         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5964         (lgamma_test): Likewise.
5965         (tgamma_test): Likewise.
5967 2012-10-16  Florian Weimer  <fweimer@redhat.com>
5969         [BZ #14700]
5970         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5971         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5973 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
5975         * NEWS: Mention BZ #14716.
5976         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5977         when removing AVAILABLE1_USES_J macro.
5979 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5981         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5982         (__bswap_64): __uint64_t for unsigned 64-bit int.
5984 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
5986         * include/string.h (memmem): Declare libc hidden alias.
5987         * string/memmem.c (memmem): Define libc hidden alias.
5988         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5989         __read, __close instead of open, read, close.
5991 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
5993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5994         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5995         global and hidden.
5996         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5997         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5998         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5999         Likewise.
6000         (__rawmemchr_sse2): Likewise.
6001         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6002         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6003         (__strchr_sse2): Likewise.
6004         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6005         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6006         (__strcasecmp_sse2): Likewise.
6007         (__strncasecmp_sse2): Likewise.
6008         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6009         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6010         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6011         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6012         (__strrchr_sse2): Likewise.
6013         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6014         ifunc-impl-list.c.
6015         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6016         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6017         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6018         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6019         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6020         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6021         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6023         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6024         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6025         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6026         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6027         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6028         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6029         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6030         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6031         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6032         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6033         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6034         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6035         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6036         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6037         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6038         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6039         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6040         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6041         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6042         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6043         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6044         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6046         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6047         global and hidden.
6048         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6049         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6050         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6051         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6052         Likewise.
6053         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6054         Likewise.
6055         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6056         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6057         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6058         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6059         ifunc-impl-list.c.
6060         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6062         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6063         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6064         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6065         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6066         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6067         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6068         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6069         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6073         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6074         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6075         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6076         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6077         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6078         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6079         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6080         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6081         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6082         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6083         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6084         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6085         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6086         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6087         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6088         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6090         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6091         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6092         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6093         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6095         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6099         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6100         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6102         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6103         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6104         * include/ifunc-impl-list.h: New file.
6105         * misc/ifunc-impl-list.c: Likewise.
6106         * misc/Makefile (routines): Add ifunc-impl-list.
6107         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6108         * string/test-string.h: Include <ifunc-impl-list.h>.
6109         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6110         impl_array): New variables.
6111         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6112         are defined.
6113         (test_init): Call __libc_ifunc_impl_list to initialize
6114         func_list if TEST_IFUNC and TEST_NAME are defined.
6116         * string/Makefile (strop-tests): Add bcopy and bzero.
6117         * string/test-bcopy.c: New file.
6118         * string/test-bzero.c: Likewise.
6119         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6120         defined.
6121         * string/test-memset.c: Support bzero test if TEST_BZERO is
6122         defined.
6123         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6124         __libc_memmove.
6125         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6126         __libc_memset.
6127         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6128         of memset.
6130 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6132         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6133         * configure: Regenerated.
6135         * Makeconfig (+link-static-before-libc): Don't include
6136         $(link-static-libc).
6138         * libio/libio.h (_IO_pos_t): Remove.
6140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6142         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6143         McGrath.
6145 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6147         * crypt/crypt-entry.c: Include fips-private.h.
6148         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6149         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6150         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6151         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6155         * crypt/crypt-private.h: Include stdbool.h.
6156         (_ufc_setup_salt_r): Return bool.
6157         * crypt/crypt-entry.c: Include errno.h.
6158         (__crypt_r): Return NULL with EINVAL for bad salt.
6159         * crypt/crypt_util.c (bad_for_salt): New.
6160         (_ufc_setup_salt_r): Check that salt is long enough and within
6161         the specified alphabet.
6162         * crypt/badsalttest.c: New file.
6163         * crypt/Makefile (tests): Add it.
6164         ($(objpfx)badsalttest): New.
6166 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6168         * NEWS: Add entry for BZ #14602.
6170 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6172         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6173         type-generic.
6174         * math/libm-test.inc: Update comment listing what functions and
6175         macros are tested.
6176         (isgreater_test): New function.
6177         (isgreaterequal_test): Likewise.
6178         (isless_test): Likewise.
6179         (islessequal_test): Likewise.
6180         (islessgreater_test): Likewise.
6181         (isunordered_test): Likewise.
6182         (main): Call the new functions.
6184 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6186         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6187         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6188         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6189         * sysdeps/i386/configure: Regenerated.
6190         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6191         * sysdeps/mach/configure: Regenerated.
6192         * sysdeps/mach/hurd/configure: Regenerated.
6193         * sysdeps/powerpc/configure: Regenerated.
6194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6195         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6196         * sysdeps/s390/s390-32/configure: Regenerated.
6197         * sysdeps/s390/s390-64/configure: Regenerated.
6198         * sysdeps/sh/configure: Regenerated.
6199         * sysdeps/sparc/configure: Regenerated.
6200         * sysdeps/unix/sysv/linux/configure: Regenerated.
6201         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6202         * sysdeps/x86_64/configure: Regenerated.
6204         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6205         defined.  Don't check if MAP is NULL.
6207 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6209         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6210         (_G_stat64): Likewise.
6211         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6212         (_G_stat64): Likewise.
6213         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6214         instead of struct _G_stat64.
6215         * libio/fileops.c (mmap_remap_check): Likewise.
6216         (decide_maybe_mmap): Likewise.
6217         (_IO_new_file_seekoff): Likewise.
6218         (_IO_file_stat): Likewise.
6219         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6220         _G_off64_t.
6221         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6222         instead of struct _G_stat64.
6223         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6225 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6227         [BZ #14602]
6228         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6229         Replace with ...
6230         (CHECK_EOL): New macro.
6231         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6232         CHECK_EOL.
6233         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6234         Replace with CHECK_EOL.
6235         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6236         Replace with CHECK_EOL.
6238 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6240         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6241         type-generic.
6242         * math/libm-test.inc: Update comment listing what functions and
6243         macros are tested.
6244         (finite_test): New function.
6245         (isinf_test): Likewise.
6246         (isnan_test): Likewise.
6247         (fpclassify_test): Test subnormal input.
6248         (isfinite_test): Likewise.
6249         (isnormal_test): Likewise.
6250         (main): Call the new functions.
6252 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6254         [BZ #14660]
6255         * Makerules (%.dynsym): Force C locale when running
6256         $(OBJDUMP) --dynamic-syms.
6258 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6260         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6261         <stdint.h>.
6263 2012-10-06  David S. Miller  <davem@davemloft.net>
6265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6266         upper 32-bits of the length value in %o2 since we use branch-on-register
6267         tests which consider the entire 64-bit register.
6269 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6271         * string/test-strstr.c (check2): Add a test for page boundary.
6273 2012-10-05  David S. Miller  <davem@davemloft.net>
6275         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6276         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6277         file.
6278         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6279         sysdep_routines.
6280         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6281         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6282         and bzero when HWCAP_SPARC_CRYPTO is present.
6284 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6286         [BZ #14602]
6287         * string/test-strstr.c (check2): New function.
6288         (test_main): Call check2.
6290         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6291         and bug-strchr1.
6292         * string/bug-strcasestr1.c (do_test): Moved to ...
6293         * string/test-strcasestr.c (check1): Here.  New function.
6294         (do_one_test): Break out result checking code into ...
6295         (check_result): This.  New function.
6296         (do_one_test): Call check_result.
6297         (test_main): Call check1.
6298         * string/bug-strchr1.c (do_test): Moved to ...
6299         * string/test-strchr.c (check1): Here.  New function.
6300         (do_one_test): Break out result checking code into ...
6301         (check_result): This.  New function.
6302         (do_one_test): Call check_result.
6303         (test_main): Call check1.
6304         * string/bug-strstr1.c (main): Moved to ...
6305         * string/test-strstr.c (check1): Here.  New function.
6306         (do_one_test): Break out result checking code into ...
6307         (check_result): This.  New function.
6308         (do_one_test): Call check_result.
6309         (test_main): Call check1.
6310         * string/bug-strcasestr1.c: Removed.
6311         * string/bug-strchr1.c: Likewise.
6312         * string/bug-strstr1.c: Likewise.
6314         * elf/Makefile (dl-routines): Add hwcaps.
6315         * elf/dl-support.c (_dl_important_hwcaps): Removed.
6316         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6317         (_dl_important_hwcaps): Moved to ...
6318         * elf/dl-hwcaps.c: Here.  New file.
6319         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6321         [BZ #14557]
6322         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6323         if IS_IN_rtld isn't defined.
6325         * elf/dl-support.c (_dl_sysinfo_map): New.
6326         Include "get-dynamic-info.h" and "setup-vdso.h".
6327         (_dl_non_dynamic_init): Call setup_vdso.
6328         * elf/dynamic-link.h: Don't include <assert.h>.
6329         (elf_get_dynamic_info): Moved to ...
6330         * elf/get-dynamic-info.h: Here.  New file.
6331         * elf/dynamic-link.h: Include "get-dynamic-info.h".
6332         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6333         * elf/setup-vdso.h: Here.  New file.
6334         * elf/rtld.c: Include "setup-vdso.h".
6335         (dl_main): Call setup_vdso.
6337 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
6339         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6340         creal in comment listing functions tested.  List finite, isinf,
6341         isnan, isless, islessequal, isgreater, isgreaterequal,
6342         islessgreater, isunordered, lgamma_r and pow10 as functions and
6343         macros not tested.  Mention which functions not tested are aliases
6344         for other functions.  Fix typo.  Note that signs of NaNs are not
6345         tested.
6347         * scripts/config.guess: Update from config.git.
6348         * scripts/config.sub: Likewise.
6350 2012-10-04  Roland McGrath  <roland@hack.frob.com>
6352         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6353         * misc/madvise.c (madvise): Renamed to __madvise.
6354         Make madvise a weak alias.
6355         * include/sys/mman.h: Declare __madvise.
6356         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6357         * sysdeps/unix/syscalls.list
6358         (madvise): Make __madvise the strong name, and madvise a weak alias.
6359         * sysdeps/unix/sysv/linux/syscalls.list
6360         (madvise, mmap): Remove redundant entries.
6361         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6362         * malloc/malloc.c (mtrim): Likewise.
6363         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6365 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6367         * sysdeps/mach/hurd/dl-cache.c: File removed.
6368         * config.h.in (USE_LDCONFIG): New #undef.
6369         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6370         * configure: Regenerated.
6371         * elf/Makefile (dl-routines): Add dl-cache only under
6372         [$(use-ldconfig) = yes].
6373         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6374         cache on [USE_LDCONFIG].
6375         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6376         [USE_LDCONFIG].
6377         * elf/rtld.c (dl_main): Likewise.
6379 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
6381         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6382         _SC_LEVEL4_CACHE_LINESIZE.
6384 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6386         * sysdeps/unix/bsd/confstr.h: File removed.
6388 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
6390         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6391         sys/sdt-config.h.
6393 2012-10-02  Roland McGrath  <roland@hack.frob.com>
6395         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6396         Make 'mapoff' field ElfW(Off) rather than off_t.
6398 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
6400         * nscd/Makefile: Remove nscd-cflags and all its users.
6401         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6402         (CFLAGS-nonlib): Add compiler flags for nscd modules.
6404         [BZ #10631]
6405         * malloc.c (malloc_printerr): Clarify error message.
6407 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
6409         [BZ #14648]
6410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6411         Set bit_FMA_Usable if FMA is supported.
6412         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6413         macro.
6414         (bit_FMA4_Usable): Updated.
6415         (index_FMA_Usable): New macro.
6416         (CPUID_FMA): Likewise
6417         (HAS_FMA): Defined with bit_FMA_Usable.
6419 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6421         * bits/types.h (__swblk_t): Type removed.
6422         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6423         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6425         (__SWBLK_T_TYPE): Likewise.
6426         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6427         (__SWBLK_T_TYPE): Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6429         (__SWBLK_T_TYPE): Likewise.
6430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6431         (__SWBLK_T_TYPE): Likewise.
6433 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
6434             Honza Horak <hhorak@redhat.com>
6436         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6437         (xdr_mapname): Use YPMAXMAP as maxsize.
6438         (xdr_peername): Use YPMAXPEER as maxsize.
6439         (xdr_keydat): Use YPAXRECORD as maxsize.
6440         (xdr_valdat): Use YPMAXRECORD as maxsize.
6442 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6444         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6446         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6447         * csu/init-first.c: ... here.
6448         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6449         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6450         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6451         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6452         * sysdeps/i386/init-first.c: File removed.
6453         * sysdeps/sh/init-first.c: File removed.
6455 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
6457         [BZ #14645]
6458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6459         if x * y might underflow to zero and z is zero.
6460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6461         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6462         * math/libm-test.inc (min_subnorm_value): New variable.
6463         (fma_test): Add more tests.
6464         (fma_test_towardzero): Likewise.
6465         (fma_test_downward): Likewise
6466         (fma_test_upward): Likewise.
6467         (initialize): Set min_subnorm_value.
6469 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
6471         [BZ #14638]
6472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6473         0 + 0.
6474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6475         mode for addition resulting in exact zero.
6476         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6478         exact 0 + 0.
6479         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6481         * math/libm-test.inc (fma_test): Add more tests.
6482         (fma_test_towardzero): New function.
6483         (fma_test_downward): Likewise.
6484         (fma_test_upward): Likewise.
6485         (main): Call the new functions.
6487 2012-09-28  David S. Miller  <davem@davemloft.net>
6489         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6491 2012-09-28  Roland McGrath  <roland@hack.frob.com>
6493         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6494         instead of SIGALRM.
6496         * sysdeps/gnu/_G_config.h: Moved to ...
6497         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6498         * sysdeps/mach/hurd/_G_config.h: Moved to ...
6499         * sysdeps/generic/_G_config.h: ... here.
6501         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
6503         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6505         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6506         Conditionalize target on [libnss_test1.so-version].
6508         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6510         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6511         (elfobjdir): Move out of conditionals.
6513         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6514         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6515         (__nss_lookup_function): Conditionalize label remove_from_tree on
6516         [!DO_STATIC_NSS || SHARED], matching its only use.
6518 2012-09-28  David S. Miller  <davem@davemloft.net>
6520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6521         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6522         file.
6523         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6524         sysdep_routines.
6525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6527         when HWCAP_SPARC_CRYPTO is present.
6529 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6531         * io/tst-mknodat.c: Create a FIFO instead of a socket.
6533 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
6535         [BZ #6530]
6536         * stdio-common/vfprintf.c (process_string_arg): Revert
6537         2000-07-22 change.
6539 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
6541         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6542         for testcase.
6543         * stdio-common/tst-sprintf.c: Include <locale.h>
6544         (main): Test sprintf's handling of incomplete multibyte
6545         characters.
6547 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
6549         * elf/dl-runtime.c (VERSYMIDX): Removed.
6550         * elf/dl-version.c (VERSYMIDX): Likewise.
6551         * elf/do-rel.h (VERSYMIDX): Likewise.
6552         (VALIDX): Likewise.
6553         * elf/dynamic-link.h (VERSYMIDX): Likewise.
6554         * elf/rtld.c (VALIDX): Likewise.
6555         (ADDRIDX): Likewise.
6556         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6557         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6558         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6559         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6560         (VALIDX): Likewise.
6561         (ADDRIDX): Likewise.
6563 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6565         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6567 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
6569         [BZ #11438]
6570         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6571         to global scope.
6572         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6573         addresses are in the same scope as 192.0.2/24.
6574         * posix/gai.conf: Document new scope table defaults.
6576 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6578         [BZ #5298]
6579         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6580         for ftell.  Compute offsets from write pointers instead.
6581         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6583 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6585         [BZ #14543]
6586         * libio/Makefile (tests): New test case tst-fseek.
6587         * libio/tst-fseek.c: New test case to verify that fseek/ftell
6588         combination works in wide mode.
6589         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6590         state when the external buffer state changes.
6592 2012-09-27  David S. Miller  <davem@davemloft.net>
6594         [BZ #14376]
6595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6596         pass reloc->r_addend in as the 'high' argument to
6597         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6601 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6603         * rt/tst-aio2.c: Include <pthread.h>.
6604         * rt/tst-aio3.c: Likewise.
6606 2012-09-27  Steve Ellcey  <sellcey@mips.com>
6608         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6610 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6612         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6613         contents on [SHARED].
6615 2012-09-26  Marek Polacek  <polacek@redhat.com>
6617         [BZ #14530]
6618         [BZ #13741]
6619         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6620         for C++ and GCC <4.3 as well as for non GCC compilers.
6622 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6626 2012-09-25  Roland McGrath  <roland@hack.frob.com>
6628         * Makefile.in (all, install): Declare with .PHONY.
6629         Reported by Michael Hope <michael.hope@linaro.org>.
6631 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6633         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6634         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6635         system header.
6636         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6637         Likewise.
6638         (sydep_routines): Add the new and the internal functions.
6639         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6640         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6642         (GLIBC_2.17): Add the new function.
6643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6644         (GLIBC_2.17): Likewise.
6645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6646         (GLIBC_2.17): Likewise.
6647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6648         (GLIBC_2.17): Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6651 2012-09-25  Alan Modra  <amodra@gmail.com>
6653         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6654         Add release barrier before setting once_control to say
6655         initialisation is done.  Add hints on lwarx.  Use macro in
6656         place of isync.
6657         (clear_once_control): Add release barrier.
6659 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6661         [BZ #13629]
6662         * math/s_clog.c (__clog): Handle more values close to |z| = 1
6663         specially.
6664         * math/s_clog10.c (__clog10): Likewise.
6665         * math/s_clog10f.c (__clog10f): Likewise.
6666         * math/s_clog10l.c (__clog10l): Likewise.
6667         * math/s_clogf.c (__clogf): Likewise.
6668         * math/s_clogl.c (__clogl): Likewise.
6669         * math/Makefile (libm-calls): Add x2y2m1.
6670         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6671         (__x2y2m1): Likewise.
6672         (__x2y2m1l): Likewise.
6673         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6674         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6676         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6677         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6678         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6679         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6680         * sysdeps/i386/fpu/libm-test-ulps: Update.
6681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6683         [BZ #14621]
6684         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6685         int as type of variable DEPTH.
6686         (glob): Use size_t instead of int as type of variables NEWCOUNT
6687         and OLD_PATHC.
6689 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6691         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6692         Add s_sincosf-sse2.
6693         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6695         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6696         macros for using routine as __sincosf_ia32.
6697         Use macro for function declaration and weak_alias.
6698         * sysdeps/i386/fpu/libm-test-ulps: Update.
6700         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6703         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6704         subnormal argument.
6705         * math/s_cexpf.c (__cexpf): Likewise.
6706         * math/s_csinf.c (__csinf): Likewise.
6707         * math/s_csinhf.c (__csinhf): Likewise.
6708         * math/s_ctanf.c (__ctanf): Likewise.
6709         * math/s_ctanhf.c (__ctanhf): Likewise.
6710         * math/s_ccosh.c (__ccoshf): Likewise.
6711         * math/s_cexp.c (__cexpl): Likewise.
6712         * math/s_csin.c (__csin): Likewise.
6713         * math/s_csinh.c (__csinh): Likewise.
6714         * math/s_ctan.c (__ctan): Likewise.
6715         * math/s_ctanh.c (ctanh): Likewise.
6716         * math/s_ccoshl.c (__ccoshl): Likewise.
6717         * math/s_cexpl.c (__cexpl): Likewise.
6718         * math/s_csinl.c (__csinl): Likewise.
6719         * math/s_csinhl.c (__csinhl): Likewise.
6720         * math/s_ctanl.c (__ctanl): Likewise.
6721         * math/s_ctanhl.c (__ctanhl): Likewise.
6723 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6725         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6726         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6727         (_IO_off_t): Define to __off_t, not _G_off_t.
6728         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6729         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6730         (_IO_wint_t): Define to wint_t, not _G_wint_t.
6731         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6732         type of __dummy and __dummy2 fields.
6733         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6734         (_G_ssize_t): Likewise.
6735         (_G_off_t): Likewise.
6736         (_G_pid_t): Likewise.
6737         (_G_uid_t): Likewise.
6738         (_G_wchar_t): Likewise.
6739         (_G_wint_t): Likewise.
6740         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6741         (_G_ssize_t): Likewise.
6742         (_G_off_t): Likewise.
6743         (_G_pid_t): Likewise.
6744         (_G_uid_t): Likewise.
6745         (_G_wchar_t): Likewise.
6746         (_G_wint_t): Likewise.
6747         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6748         (_G_ssize_t): Likewise.
6749         (_G_off_t): Likewise.
6750         (_G_pid_t): Likewise.
6751         (_G_uid_t): Likewise.
6752         (_G_wchar_t): Likewise.
6753         (_G_wint_t): Likewise.
6755 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6757         * malloc/arena.c: Include malloc-sysdep.h.
6758         (shrink_heap): Use check_may_shrink_heap to decide if madvise
6759         is sufficient to shrink the heap or an unmap is needed.
6760         * sysdeps/generic/malloc-sysdep.h: New file.  Define
6761         new function check_may_shrink_heap.
6762         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
6763         new function check_may_shrink_heap.
6765 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6767         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6768         comments.
6770 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
6772         * catgets/test-gencat.sh: Add "set -e".
6773         * elf/tst-pathopt.sh: Likewise.
6774         * grp/tst_fgetgrent.sh: Likewise.
6775         * iconvdata/run-iconv-test.sh: Likewise.
6776         * intl/tst-gettext.sh: Likewise.
6777         * intl/tst-gettext2.sh: Likewise.
6778         * intl/tst-gettext4.sh: Likewise.
6779         * intl/tst-gettext6.sh: Likewise.
6780         * intl/tst-translit.sh: Likewise.
6781         * io/ftwtest-sh: Likewise.
6782         * libio/test-freopen.sh: Likewise.
6783         * malloc/tst-mtrace.sh: Likewise.
6784         * posix/globtest.sh: Likewise.
6785         * posix/tst-getconf.sh: Likewise.
6786         * posix/wordexp-tst.sh: Likewise.
6787         * stdio-common/tst-printf.sh: Likewise.
6788         * stdio-common/tst-unbputc.sh: Likewise.
6789         * stdlib/tst-fmtmsg.sh: Likewise.
6790         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6791         * catgets/Makefile: Do not specify -e option when running
6792         testsuite shell scripts.
6793         * elf/Makefile: Likewise.
6794         * grp/Makefile: Likewise.
6795         * iconvdata/Makefile: Likewise.
6796         * intl/Makefile: Likewise.
6797         * io/Makefile: Likewise.
6798         * libio/Makefile: Likewise.
6799         * malloc/Makefile: Likewise.
6800         * posix/Makefile: Likewise.
6801         * stdio-common/Makefile: Likewise.
6802         * stdlib/Makefile: Likewise.
6803         * sysdeps/x86_64/Makefile: Likewise.
6805         * io/ftwtest-sh: Add copyright header.
6806         * posix/globtest.sh: Likewise.
6807         * posix/tst-getconf.sh: Likewise.
6808         * posix/wordexp-tst.sh: Likewise.
6809         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6811 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
6813         [BZ #13679]
6814         * Makeconfig (+link): Defined as $(+link-static) if
6815         $(build-shared) isn't yes.
6816         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6817         isn't yes.
6818         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6820         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6822         [BZ #14562]
6823         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6824         new chunk size with MALLOC_ALIGN_MASK.
6826 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
6828         [BZ #5044]
6829         * stdio-common/printf_fphex.c: Include <stdbool.h> and
6830         <rounding-mode.h>.
6831         (__printf_fphex): Determine rounding using get_rounding_mode and
6832         round_away.
6833         * stdio-common/tst-printf-round.c (struct hex_test): New
6834         structure.
6835         (hex_tests): New variable.
6836         (test_hex_in_one_mode): New function.
6837         (do_test): Also run tests for hex float output.
6839 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
6841         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6842         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6843         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6844         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6845         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6846         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6847         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6848         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6850 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
6852         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6853         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6854         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6855         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6857 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
6859         [BZ #14579]
6860         * elf/rtld.c (dl_main): Limit the check for self loading to normal
6861         mode only.
6862         * elf/tst-rtld-load-self.sh: New test.
6863         * elf/Makefile: Run it.
6865 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
6867         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6868         (tst-writev-ENV): Remove.
6869         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6871 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
6873         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6875 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
6877         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6878         unconditional.
6879         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6880         Likewise.
6881         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6882         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6884         Likewise.
6886 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6888         [BZ #14587]
6889         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6890         * config.make.in (have-cpp-asm-debuginfo): Removed.
6891         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6892         * configure: Regenerated.
6894 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
6896         [BZ #5044]
6897         * stdio-common/printf_fp.c: Include <stdbool.h> and
6898         <rounding-mode.h>.
6899         (___printf_fp): Determine rounding using get_rounding_mode and
6900         round_away.
6901         * stdio-common/tst-printf-round.c: New file.
6902         * stdio-common/Makefile (tests): Add tst-printf-round.
6903         (link-libm): New variable.
6904         ($(objpfx)tst-printf-round): Depend in $(link-libm).
6906 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
6908         [BZ #14576]
6909         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6910         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6911         Likewise.
6912         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6913         Likewise.
6915 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
6917         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6918         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6919         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6920         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6922 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #14518]
6925         * include/rounding-mode.h: New file.
6926         * sysdeps/generic/get-rounding-mode.h: Likewise.
6927         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6928         * stdlib/strtod_l.c: Include <rounding-mode.h>.
6929         (MAX_VALUE): New macro.
6930         (MIN_VALUE): Likewise.
6931         (overflow_value): New function.
6932         (underflow_value): Likewise.
6933         (round_and_return): Use overflow_value and underflow_value to
6934         determine return values in overflow and underflow cases.  Use
6935         round_away to determine rounding depending on rounding mode.
6936         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6937         determine return values in overflow and underflow cases.
6938         * stdlib/tst-strtod-round.c: Include <fenv.h>.
6939         (struct test_results): New structure.
6940         (struct test): Use struct test_results to store expected results
6941         for all rounding modes.
6942         (TEST): Include expected results for all rounding modes.
6943         (test_in_one_mode): New function.
6944         (do_test): Use test_in_one_mode to compute and check results.
6945         Check results for all rounding modes.
6946         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6947         $(link-libm).
6949 2012-12-09  Allan McRae  <allan@archlinux.org>
6951         * sysdeps/i386/fpu/libm-test-ulps: Update
6953 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
6955         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6956         (_G_int32_t): Likewise.
6957         (_G_uint16_t): Likewise.
6958         (_G_uint32_t): Likewise.
6959         (_G_HAVE_BOOL): Likewise.
6960         (_G_HAVE_ATEXIT): Likewise.
6961         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6962         (_G_HAVE_IO_FILE_OPEN): Likewise.
6963         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6964         (_G_int32_t): Likewise.
6965         (_G_uint16_t): Likewise.
6966         (_G_uint32_t): Likewise.
6967         (_G_HAVE_BOOL): Likewise.
6968         (_G_HAVE_ATEXIT): Likewise.
6969         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6970         (_G_HAVE_IO_FILE_OPEN): Likewise.
6971         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6972         (_G_int32_t): Likewise.
6973         (_G_uint16_t): Likewise.
6974         (_G_uint32_t): Likewise.
6975         (_G_HAVE_BOOL): Likewise.
6976         (_G_HAVE_ATEXIT): Likewise.
6977         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6978         (_G_HAVE_IO_FILE_OPEN): Likewise.
6980 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
6982         * csu/libc-tls.c: Update copyright years.
6984 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
6986         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6987         [!_G_USING_THUNKS]: Remove conditional code.
6988         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6989         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6991         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6992         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6993         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6994         (_G_VTABLE_LABEL_PREFIX): Likewise.
6995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6996         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6997         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6998         (_G_VTABLE_LABEL_PREFIX): Likewise.
6999         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7000         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7001         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7002         (_G_VTABLE_LABEL_PREFIX): Likewise.
7003         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7005 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7007         * libio/Makefile: Include ../Makeconfig before tests.
7008         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7009         only if $(build-shared) is yes.
7011         * iconv/gconv_db.c: Update copyright years.
7013 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7015         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7016         unwind info if defined PIC. Fix special cases description.
7017         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7019         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7020         DP_HI_MASK entry.
7021         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7023 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7025         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7027         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7028         is NULL.
7030         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7031         (LDLIBS-tst-chk4): This.
7032         (LDFLAGS-tst-chk5): Renamed to ...
7033         (LDLIBS-tst-chk5): This.
7034         (LDFLAGS-tst-chk6): Renamed to ...
7035         (LDLIBS-tst-chk6): This.
7036         (LDFLAGS-tst-lfschk4): Renamed to ...
7037         (LDLIBS-tst-lfschk4): This.
7038         (LDFLAGS-tst-lfschk5): Renamed to ...
7039         (LDLIBS-tst-lfschk5): This.
7040         (LDFLAGS-tst-lfschk6): Renamed to ...
7041         (LDLIBS-tst-lfschk6): This.
7043         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7044         on $(common-objpfx)soversions.mk.
7046 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7048         [BZ #10014]
7049         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7050         example host name.
7052 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7054         * malloc/arena.c (arena_get_retry): New function that gets
7055         another arena for the caller to try its request on.
7056         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7057         current arena cannot fulfill the request.
7058         (__libc_memalign): Likewise.
7059         (__libc_memalign): Likewise.
7060         (__libc_pvalloc): Likewise.
7061         (__libc_calloc): Likewise.
7063 2012-09-05  John Tobey  <john.tobey@gmail.com>
7065         [BZ #13542]
7066         * manual/arith.texi (Operations on Complex): Fix description
7067         of carg branch cut.
7069 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #10014]
7072         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7073         host name.
7075         [BZ #10038]
7076         * manual/memory.texi (Memory): Make order of menu items match
7077         order of sections.
7079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7081         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7082         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7083         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7085 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7087         * csu/libc-tls.c (static_dtv): Renamed to ...
7088         (_dl_static_dtv): This.  Make it global.
7089         (_dl_initial_dtv): Removed.
7090         (__libc_setup_tls): Updated.
7091         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7092         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7093         DL_INITIAL_DTV.
7095 2012-09-06  Petr Machata  <pmachata@redhat.com>
7097         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7098         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7099         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7100         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7104         [BZ #14545]
7105         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7106         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7107         freeing dtv[-1].
7109 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7111         [BZ #14544]
7112         * Makeconfig (link-static-before-libc): Replace $(+prector)
7113         with $(+prectorT).
7114         (link-static-after-libc): Replace $(+postctor) with
7115         $(+postctorT).
7116         (link-bounded): Replace $(+prector)/$(+postctor) with
7117         $(+prectorT)/$(+postctorT).
7118         (+prectorT): New macro.
7119         (+postctorT): Likewise.
7121 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7123         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7124         (round_str): Handle values above the maximum for IBM long double
7125         as inexact.
7126         * stdlib/tst-strtod-round.c (tests): Regenerated.
7128 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7130         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7131         assembler flag.
7132         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7133         zarch_nohighgprs around the zarch optimized routines.
7134         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7135         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7137         for zarch.
7139 2012-09-05  David S. Miller  <davem@davemloft.net>
7141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7143         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7144         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7145         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7146         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7147         entries.
7149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7151         * malloc/arena.c: Fold copyright years.
7152         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7156         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7160         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7164         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7165         change internal state upon failure.
7167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7169         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7170         * malloc/memusage.c (mmap): Likewise.
7171         (mmap64, mremap): Likewise.  Adjust name in comment.
7173 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7175         * libio/fileops.c: Fix typos in comments.
7176         * libio/oldfileops.c: Likewise.
7177         * libio/wfileops.c: Likewise.
7179 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7181         [BZ #1349]
7182         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7183         (tst-malloc-usable-ENV): Set environment for test case.
7184         * malloc/hooks.c (malloc_check_get_size): New function to get
7185         requested size.
7186         * malloc/malloc.c (musable): Use malloc_check_get_size.
7187         * malloc/tst-malloc-usable.c: New test case.
7189 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7191         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7193 2012-09-05  Allan McRae  <allan@archlinux.org>
7195         [BZ #13966]
7196         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7197         determine header location.
7198         * configure: Regenerated.
7200 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7202         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7203         float format.
7204         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7205         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7206         format.
7207         (test): Regenerate.
7209 2012-09-04  David S. Miller  <davem@davemloft.net>
7211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7215 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7217         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7218         failures.
7220         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7222 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #9914]
7225         * libio/iogetdelim.c: Include <limits.h>.
7226         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7227         + len + 1 would overflow.
7229 2012-09-03  Andreas Jaeger  <aj@suse.de>
7231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7232         * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7236         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7237         Add s_sinf-sse2, s_conf-sse2.
7239         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7240         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7241         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7242         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7244         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7245         for using routine as __sinf_ia32.
7246         Use macro for function declaration and weak_alias.
7247         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7248         for using routine as __cosf_ia32.
7249         Use macro for function declaration and weak_alias.
7251         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7252         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7254         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7255         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7258         * math/libm-test.inc (cos_test): Add more test cases.
7259         (sin_test): Likewise.
7260         (sincos_test): Likewise.
7262 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7265         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7266         hidden.
7267         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7269 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7271         [BZ #14538]
7272         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7273         first element of the GOT.
7274         (elf_machine_load_address): Return the difference between
7275         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7277 2012-09-01  Allan McRae  <allan@archlinux.org>
7279         [BZ #13412]
7280         * configure.in (AWK): Require gawk version 3.0 or later.
7281         * configure: Regenerated.
7283 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7285         * sysdeps/unix/sysv/linux/kernel-features.h
7286         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7287         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7288         [__NR_clock_getres]: Make code unconditional.
7289         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7290         (clock_getcpuclockid): Remove code left unreachable by removal of
7291         conditionals.
7292         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7293         code unconditional.
7294         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7296         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7297         Make code unconditional.
7298         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7300         * sysdeps/unix/sysv/linux/clock_settime.c
7301         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7302         conditional code.
7303         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7304         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7306 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7308         [BZ #14476]
7309         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7310         scripts/test-installation.pl.
7312         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7313         and $ld_so_version if it is set.
7315 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7317         [BZ #14516]
7318         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7319         failure if reading from procfs failed.
7320         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7322 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7324         * sysdeps/unix/sysv/linux/kernel-features.h
7325         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7326         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7327         Remove conditional code.
7328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7329         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7330         Remove conditional code.
7331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7332         * sysdeps/unix/sysv/linux/i386/fxstat.c
7333         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7335         * sysdeps/unix/sysv/linux/i386/fxstatat.c
7336         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7338         * sysdeps/unix/sysv/linux/i386/lxstat.c
7339         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7341         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7342         Remove conditional code.
7343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7344         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7345         Remove conditional code.
7346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7347         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7348         <kernel-features.h>.
7349         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7350         Remove.
7351         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7352         Remove conditional code.
7353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7354         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7355         Remove conditional.
7357 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
7359         [BZ #5400]
7360         * NEWS: Add fixed bug number.
7362 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #14519]
7365         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7366         underflowing exponent in case of negative sign.
7367         * stdlib/tst-strtod-round-data: Add more tests.
7368         * stdlib/tst-strtod-round.c (tests): Regenerated.
7370         [BZ #3479]
7371         * stdlib/strtod_l.c (NDIG): Remove.
7372         (HEXNDIG): Likewise.
7373         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7374         smallest representable value.
7375         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7376         lie within an exact representation of 1/2 ulp of the result.
7377         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7378         unconditionally.
7379         (TENS_P9_IDX): Define unconditionally.
7380         (TENS_P9_SIZE): Likewise.
7381         (TENS_P10_IDX): Likewise.
7382         (TENS_P10_SIZE): Likewise.
7383         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7384         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7385         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7386         entries for 10^2^13 and 10^2^14.
7387         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7388         (TENS_P13_IDX): Define.
7389         (TENS_P13_SIZE): Likewise.
7390         (TENS_P14_IDX): Likewise.
7391         (TENS_P14_SIZE): Likewise.
7392         (_fpioconst_pow10): Change array size to
7393         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
7394         unconditional.
7395         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7396         1024]: Add entries for 10^2^13 and 10^2^14.
7397         [LAST_POW10 > _LAST_POW10]: Remove #error.
7398         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7399         (_fpioconst_pow10): Change array size to
7400         FPIOCONST_POW10_ARRAY_SIZE.
7401         * stdlib/gen-fpioconst.c: New file.
7402         * stdlib/gen-tst-strtod-round.c: Likewise.
7403         * stdlib/tst-strtod-round-data: Likewise.
7404         * stdlib/tst-strtod-round.c: Likewise.
7405         * stdlib/Makefile (tests): Add tst-strtod-round.
7407         [BZ #14459]
7408         * stdlib/strtod_l.c: Include <stdint.h>.
7409         (NDEBUG): Do not define.
7410         (round_and_return): Change EXPONENT parameter to type intmax_t.
7411         Rearrange calculations to avoid internal overflow possibilities.
7412         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7413         Rearrange calculations to avoid internal overflow possibilities.
7414         Assert that number fits inside MPNSIZE limbs.
7415         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7416         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
7417         calculations and add assertions to avoid internal overflow
7418         possibilities.  Add casts to avoid signed/unsigned operations.
7419         * stdlib/tst-strtod-overflow.c: New file.
7420         * stdlib/Makefile (tests): Add tst-strtod-overflow.
7422 2012-08-25  Marek Polacek  <polacek@redhat.com>
7424         * time/time.h: Fix some typos in comments.
7426 2012-08-23  Roland McGrath  <roland@hack.frob.com>
7428         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7429         * posix/tst-rfc3484-2.c: Likewise.
7430         * posix/tst-rfc3484-3.c: Likewise.
7432 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
7434         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7435         (EF_ARM_ABI_FLOAT_HARD): Likewise.
7437 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
7439         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7440         #include of fxstatat64.c.
7442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7444         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7445         * shadow/getspent_r.c: Likewise.
7446         * shadow/getspnam.c: Likewise.
7447         * shadow/getspnam_r.c: Likewise.
7448         * gshadow/getsgent.c: Likewise.
7449         * gshadow/getsgent_r.c: Likewise.
7450         * gshadow/getsgnam.c: Likewise.
7451         * gshadow/getsgnam_r.c: Likewise.
7452         * inet/getnetbyad.c: Likewise.
7453         * inet/getnetbyad_r.c: Likewise.
7454         * inet/getnetbynm.c: Likewise.
7455         * inet/getnetbynm_r.c: Likewise.
7456         * inet/getnetent.c: Likewise.
7457         * inet/getnetent_r.c: Likewise.
7458         * inet/getproto.c: Likewise.
7459         * inet/getproto_r.c: Likewise.
7460         * inet/getprtent.c: Likewise.
7461         * inet/getprtent_r.c: Likewise.
7462         * inet/getprtname.c: Likewise.
7463         * inet/getprtname_r.c: Likewise.
7464         * inet/getrpcbyname.c: Likewise.
7465         * inet/getrpcbyname_r.c: Likewise.
7466         * inet/getrpcbynumber.c: Likewise.
7467         * inet/getrpcbynumber_r.c: Likewise.
7468         * inet/getrpcent.c: Likewise.
7469         * inet/getrpcent_r.c: Likewise.
7470         * inet/getaliasent.c: Likewise.
7471         * inet/getaliasent_r.c: Likewise.
7472         * inet/getaliasname.c: Likewise.
7473         * inet/getaliasname_r.c: Likewise.
7474         * nscd/getgrgid_r.c: Likewise.
7475         * nscd/getgrnam_r.c: Likewise.
7476         * nscd/gethstbyad_r.c: Likewise.
7477         * nscd/gethstbynm3_r.c: Likewise.
7478         * nscd/getpwnam_r.c: Likewise.
7479         * nscd/getpwuid_r.c: Likewise.
7480         * nscd/getsrvbynm_r.c: Likewise.
7481         * nscd/getsrvbypt_r.c: Likewise.
7482         * nscd/gai.c: Likewise.
7484         * configure.in (build_nscd): New substituted variable, set
7485         by --disable-build-nscd and defaults to $use_nscd.
7486         * configure: Regenerated.
7487         * config.make.in (build-nscd): New substituted variable.
7488         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7489         Change conditional to require [$(build-nscd) = yes] as well.
7490         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7492         [BZ# 13696]
7493         * configure.in (use_nscd): New substituted variable, set by
7494         --disable-nscd.  If enabled, define USE_NSCD.
7495         * configure: Regenerated.
7496         * config.h.in: Add USE_NSCD.
7497         * config.make.in (use-nscd): New substituted variable.
7498         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7499         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7500         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7501         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7502         (CFLAGS-getgrnam_r.c): Likewise.
7503         (CFLAGS-initgroups.c): Likewise.
7504         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7505         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7506         Variables removed.
7507         * inet/getnetgrent_r.c
7508         (nscd_setnetgrent): New function, broken out of ...
7509         (setnetgrent): ... here.  Call it.
7510         (innetgr): Conditionalize nscd bits on [USE_NSCD].
7511         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7512         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7513         * nscd/Makefile (routines, aux): Move definitions after include of
7514         Makeconfig.  Conditionalize on [$(use-nscd) != no].
7515         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7516         Conditionalize on [USE_NSCD].
7517         (is_nscd, nscd_init_cb): Likewise.
7518         (nss_load_library): Conditionalize init callback on [USE_NSCD].
7519         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7520         * nss/nss_db/db-init.c: Likewise.
7521         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7522         [USE_NSCD].
7523         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7524         (make_request): Use it.
7525         (cache_valid_p): New function.
7526         (__check_pf): Use it.
7527         * NEWS: Add item for --disable-nscd.
7529 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
7531         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7532         to support sed >= 4.2.1-20-ga9bf076.
7533         * configure: Regenerated.
7535 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7537         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7538         Conditionalize whole body on [IREL].
7540 2012-08-22  Jeff Law <law@redhat.com>
7542         [BZ #14505]
7543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7544         if the family is PF_UNSPEC.
7546 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
7548         * Makerules (lib-version): Rename from V.
7549         (install-lib-nosubdir): Change V to lib-version.
7551 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
7553         [BZ #14252]
7554         * powerpc32/power6/wcschr.c: New file.
7555         * powerpc32/power6/wcscpy.c: New file.
7556         * powerpc32/power6/wcsrchr.c: New file.
7557         * powerpc64/power6/wcschr.c: New file.
7558         * powerpc64/power6/wcscpy.c: New file.
7559         * powerpc64/power6/wcsrchr.c: New file.
7561 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7563         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7564         (two_way_short_needle): Use it.
7565         * string/strstr.c (AVAILABLE1_USES_J): Define.
7566         * string/strcasestr.c: Likewise.
7568         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7569         array references.
7570         * string/strcasestr.c (TOLOWER): Make side-effect safe.
7572         [BZ #11607]
7573         * NEWS: Add an entry.
7574         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7575         define their defaults.
7576         (two_way_short_needle): Detect end-of-string on-the-fly.
7577         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7578         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7579         * string/bug-strcasestr1.c: New test.
7580         * string/Makefile: Run it.
7582 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7584         [BZ #11607]
7585         * string/str-two-way.h (two_way_short_needle): Optimize matching of
7586         the first character.
7588 2012-08-21  Roland McGrath  <roland@hack.frob.com>
7590         * csu/elf-init.c (__libc_csu_irel): Function removed.
7591         * csu/libc-start.c (apply_irel): New function.
7592         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7594 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
7596         * sysdeps/unix/sysv/linux/kernel-features.h
7597         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7598         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7599         <kernel-features.h>.
7600         [__NR_fadvise64_64]: Make code unconditional.
7601         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7602         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7603         !__NR_fadvise64_64)]: Likewise.
7604         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7605         !__NR_fadvise64_64))]: Likewise.
7606         [__NR_fadvise64]: Make code unconditional.
7607         [!__NR_fadvise64]: Remove conditional code.
7608         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7609         <kernel-features.h>.
7610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7611         unconditional.
7612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7613         conditional code.
7614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7615         not include <kernel-features.h>.
7616         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7617         unconditional.
7618         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7619         conditional code.
7620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7621         include <kernel-features.h>.
7622         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7623         unconditional.
7624         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7625         conditional code.
7627 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7629         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7630         slight instruction rearrangements per scrollpipe analysis.
7631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7633 2012-08-20  Roland McGrath  <roland@hack.frob.com>
7635         * manual/syslog.texi (syslog; vsyslog, closelog):
7636         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7637         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7639         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7640         DSOCAPS to match condition on defining it.
7642 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
7644         * sysdeps/unix/sysv/linux/kernel-features.h
7645         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7647         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7648         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7650         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7651         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7653         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7654         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7656         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7657         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7659         * sysdeps/unix/sysv/linux/kernel-features.h
7660         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7661         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7662         unconditional.
7663         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7664         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7665         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7666         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7667         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7668         Make code unconditional.
7669         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7670         (__mmap64) [!__NR_mmap2]: Likewise.
7671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7672         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7673         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7674         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7675         [__NR_mmap2]: Make code unconditional.
7676         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7677         (__mmap64) [!__NR_mmap2]: Likewise.
7679 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7681         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7683 2012-08-18  Andreas Jaeger  <aj@suse.de>
7685         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7687 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7689         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7690         * include/unistd.h (__have_sock_cloexec): Likewise.
7691         (__have_pipe2): Likewise.
7692         (__have_dup3): Likewise.
7694 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7696         [BZ #9685]
7697         * include/unistd.h (__have_pipe2): Change define into an extern int.
7698         (__have_dup3): Likewise.
7699         * socket/have_sock_cloexec.c: Include fcntl.h.
7700         (__have_pipe2): New variable.
7701         (__have_dup3): Likewise.
7703 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
7705         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7707 2012-08-17  Marek Polacek  <polacek@redhat.com>
7709         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7710         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7712 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7714         * configure.in: Add AC_SUBST for sysheaders.
7715         * configure: Regenerated.
7716         * config.make.in (sysheaders): New substituted variable.
7718         * sysdeps/unix/mkfifo.c: Moved ...
7719         * sysdeps/posix/mkfifo.c: ... here.
7720         * sysdeps/unix/mkfifoat.c: Moved ...
7721         * sysdeps/posix/mkfifoat.c: ... here.
7723         * sysdeps/unix/utime.c: Moved ...
7724         * sysdeps/posix/utime.c: ... here.
7726         * sysdeps/unix/time.c: Moved ...
7727         * sysdeps/posix/time.c: ... here.
7728         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7729         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7731         * sysdeps/unix/nice.c: Moved ...
7732         * sysdeps/posix/nice.c: ... here.
7734         * sysdeps/unix/alarm.c: Moved ...
7735         * sysdeps/posix/alarm.c: ... here.
7737         * intl/Makefile ($(codeset_mo)): Depend on the input file.
7739 2012-08-17  Jeff Law <law@redhat.com>
7741         * intl/Makefile (codeset_mo): New variable.
7742         ($(codeset_mo)): New target.
7743         (tst-codeset.out): Depend on that.  Remove explicit rule.
7744         (tst-gettext3.out, tst-gettext5.out): Likewise.
7745         (LOCPATH-ENV, tst-codeset-ENV): New variables.
7746         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7747         * intl/tst-codeset.sh: Remove.
7748         * intl/tst-gettext3.sh: Likewise.
7749         * intl/tst-gettext5.sh: Likewise.
7751 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7753         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
7754         * sysdeps/unix/syscalls.list: ... here.
7756         * sysdeps/posix/getaddrinfo.c
7757         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7758         (gaiconf_init, gaiconf_reload): Use them.
7759         [!_STATBUF_ST_NSEC]
7760         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7761         Define using time_t rather than struct timespec.
7763         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7764         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7765         Macros removed.
7766         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7767         [!NO_THREADS].
7768         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7769         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7770         Likewise.
7772         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7773         __libc_cleanup_push argument.
7775         * bits/param.h: New file.
7776         * misc/sys/param.h: New file.
7777         * include/sys/param.h: New file.
7778         * misc/Makefile (headers): Add bits/param.h.
7779         * sysdeps/generic/sys/param.h: File removed.
7780         * sysdeps/unix/sysv/linux/bits/param.h: New file.
7781         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7782         * sysdeps/mach/hurd/bits/param.h: New file.
7783         * sysdeps/mach/hurd/sys/param.h: File removed.
7785         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7786         last change.
7788         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7789         [_IO_MTSAFE_IO].
7790         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7791         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7792         New macros.
7794         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7795         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7796         rather than -D_IO_MTSAFE_IO conditionally.
7797         * stdio-common/Makefile (CPPFLAGS): Likewise.
7798         * wcsmbs/Makefile (CPPFLAGS): Likewise.
7799         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7800         Use $(libio-mtsafe).
7801         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7802         of -D_IO_MTSAFE_IO.
7803         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7804         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7805         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7806         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7807         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7808         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7809         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7810         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7811         (CFLAGS-fread_u_chk.c): Likewise.
7812         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7813         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7814         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7815         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7816         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7817         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7818         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7819         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7820         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7822         * libio/Makefile: Test [$(libc-reentrant) = yes]
7823         instead of [$(filter %REENTRANT, $(defines)) nonempty].
7825         * Makeconfig
7826         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7827         * sysdeps/pthread/configure: File removed.
7828         * sysdeps/pthread/Makeconfig: New file.
7829         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7830         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7832 2012-08-16  Gary Benson  <gbenson@redhat.com>
7834         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7835         unmapping the first object in a namespace.
7837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7839         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7840         (__internal_setnetgrent): ... this.  Add internal_function to
7841         definition.  Add libc_hidden_def.
7842         (setnetgrent): Update caller.
7843         (internal_endnetgrent): Renamed to ...
7844         (__internal_endnetgrent): ... this.  Add internal_function to
7845         definition.  Add libc_hidden_def.
7846         (endnetgrent): Update caller.
7847         (internal_getnetgrent_r): Renamed to ...
7848         (__internal_getnetgrent_r): ... this.  Add internal_function to
7849         definition.  Add libc_hidden_def.
7850         (__getnetgrent_r): Update caller.
7851         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
7853 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7855         * stdlib/longlong.h: Update from GCC.
7857 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7859         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7860         on _QL, which is set by umul_ppmm but never used.
7861         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7862         variables, which are set by GMP macros but never used.
7863         * stdio-common/_itowa.c (_itowa): Likewise.
7864         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7865         * stdlib/mod_1.c (mpn_mod_1): Likewise.
7867 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
7869         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7870         struct La_sh_regs is not constant.
7871         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7872         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7873         and struct La_sparc64_regs are not constant.
7875 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7877         * sysdeps/unix/sysv/linux/kernel-features.h
7878         (__ASSUME_POSIX_TIMERS): Remove.
7879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7881         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7882         Make code unconditional.
7883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7884         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7885         Make code unconditional.
7886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7887         * sysdeps/unix/sysv/linux/clock_nanosleep.c
7888         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7889         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7890         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7891         Make code unconditional.
7892         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7893         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7894         (__libc_missing_posix_timers): Remove.
7896 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7898         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7899         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7901         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7903         * elf/dl-sym.c: Include <stdlib.h>.
7905         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7906         constants, which avoids warnings in 32-bit builds.
7908         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7909         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7911         * misc/lseek.c: File moved to ...
7912         * io/lseek.c: ... here.
7914         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7916         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7917         shifting LEN more than 31 bits at once.
7919 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7921         [BZ #14195]
7922         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7923         segmentation fault for a case of two empty input strings.
7924         * string/test-strncasecmp.c (check1): Renamed to...
7925         (bz12205): ...this.
7926         (bz14195): Add new testcase for two empty input strings and N > 0.
7927         (test_main): Call new testcase, adapt for renamed function.
7929 2012-08-15  Andreas Jaeger  <aj@suse.de>
7931         [BZ #14090]
7932         * crypt/md5test2.c: New test, based on test supplied by Serge
7933         Belyshev <belyshev@depni.sinp.msu.ru>.
7934         * crypt/Makefile (xtests): Add md5test-giant..
7935         * crypt/Makefile ($(objpfx)md5test-giant): Add.
7937 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
7939         [BZ #14090]
7940         * crypt/md5.c (md5_process_block): Don't assume the buffer
7941         length is less than 2**32.
7942         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7943         length is less than 2**64.
7945 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7947         * string/str-two-way.h: Include <sys/param.h>.
7948         (MAX): Macro removed.
7950         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7951         Move #define and #undef of memmove to just before and after
7952         including <string.h>.
7954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7955         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7956         and after including <string.h>.  Move declarations of
7957         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7958         to before #include "string/memmove.c".
7960         * include/dirent.h: Declare __getdirentries.
7962         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7963         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7965 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
7967         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7968         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7969         * sysdeps/i386/configure: Regenerated.
7970         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7971         STABS_CURRENT_FILE, and STABS_FUN.
7972         (END): Remove call to STABS_FUN_END.
7973         (STABS_CURRENT_FILE1): Delete.
7974         (STABS_CURRENT_FILE): Likewise.
7975         (STABS_FUN): Likewise.
7976         (STABS_FUN_END): Likewise.
7977         (STABS_FUN2): Likewise.
7978         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7979         * sysdeps/x86_64/configure: Regenerated.
7981 2012-08-14  Roland McGrath  <roland@hack.frob.com>
7983         * elf/dl-open.c: Include <atomic.h>.
7984         * elf/dl-lookup.c: Likewise.
7986 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
7988         * sysdeps/unix/sysv/linux/kernel-features.h
7989         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7990         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7991         unconditionally.
7992         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7993         unconditionally.
7994         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7995         condition on __ASSUME_CLONE_THREAD_FLAGS.
7997 2012-08-14  Andreas Jaeger  <aj@suse.de>
7999         * sysdeps/i386/fpu/libm-test-ulps: Update.
8001 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8003         * include/atomic.h (atomic_exchange_and_add): Split into ...
8004         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8005         New atomic macros.
8007 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8011 2012-08-13  Jeff Law <law@redhat.com>
8013         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8014         null byte in the output string.
8016 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8018         * sysdeps/unix/sysv/linux/kernel-features.h
8019         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8020         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8021         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8022         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8023         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8024         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8025         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8027 2012-08-09  Jeff Law <law@redhat.com>
8029         [BZ #13939]
8030         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8031         When avoid_arena is set, don't retry in the that arena.  Pick the
8032         next one, whatever it might be.
8033         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8034         (arena_lock): Pass in new parameter to arena_get2.
8035         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8036         arena_get2.
8037         (__libc_malloc): Unify retrying after main arena failure with
8038         __libc_memalign version.
8039         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8041 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8043         [BZ #14166]
8044         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8045         to __redirect_strstr.
8046         (__strstr_sse42): Use typeof __redirect_strstr.
8047         (__strstr_ia32): Likewise.
8048         (__libc_strstr): New prototype.
8049         (strstr): Renamed to ...
8050         (__libc_strstr): This.
8051         (strstr): New strong alias of __libc_strstr.
8052         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8053         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8054         __redirect_time.
8055         Include <time.h>.
8056         (__libc_time): New prototype.
8057         (time_ifunc): Replace time with __libc_time.
8058         (time): New strong alias and hidden definition of __libc_time.
8059         (__GI_time): Remove strong alias.
8060         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8061         Include <stddef.h>.
8062         (memmove): Redefined to __redirect_memmove.
8063         (__memmove_sse2): Use typeof __redirect_memmove.
8064         (__memmove_ssse3): Likewise.
8065         (__memmove_ssse3_back): Likewise.
8066         (__libc_memmove): New prototype.
8067         (memmove): Renamed to ...
8068         (__libc_memmove): This.
8069         (memmove): New strong alias of __libc_memmove.
8071 2012-08-08  Mark Salter  <msalter@redhat.com>
8073         * elf/elf.h
8074         (R_MN10300_TLS_GD): Define.
8075         (R_MN10300_TLS_LD): Likewise.
8076         (R_MN10300_TLS_LDO): Likewise.
8077         (R_MN10300_TLS_GOTIE): Likewise.
8078         (R_MN10300_TLS_IE): Likewise.
8079         (R_MN10300_TLS_LE): Likewise.
8080         (R_MN10300_TLS_DTPMOD): Likewise.
8081         (R_MN10300_TLS_DTPOFF): Likewise.
8082         (R_MN10300_TLS_TPOFF): Likewise.
8083         (R_MN10300_SYM_DIFF): Likewise.
8084         (R_MN10300_ALIGN): Likewise.
8085         (R_MN10300_NUM): Update.
8087 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8090         Remove.
8092 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8094         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8096         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8097         sysdeps/unix -> sysdeps/posix move.
8098         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8100 2012-08-07      Allan McRae     <allan@archlinux.org>
8102         [BZ #14303]
8103         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8104         (SUNOS_CPP): Likewise.
8105         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8106         not found.
8107         (open_input): Call CPP using execvp.
8109 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8111         * sysdeps/unix/sysv/linux/kernel-features.h
8112         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8115         (__ASSUME_WAITID_SYSCALL): Likewise.
8116         * sysdeps/unix/sysv/linux/dl-execstack.c
8117         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8118         code unconditional.
8119         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8120         conditional code.
8121         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8122         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8123         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8124         code.
8125         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8126         unconditional.
8127         [__ASSUME_WAITID_SYSCALL]: Likewise.
8128         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8130 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8132         * sysdeps/unix/closedir.c: Renamed to ...
8133         * sysdeps/posix/closedir.c: ... here.
8134         * sysdeps/unix/dirfd.c: Renamed to ...
8135         * sysdeps/posix/dirfd.c: ... here.
8136         * sysdeps/unix/dirstream.h: Renamed to ...
8137         * sysdeps/posix/dirstream.h: ... here.
8138         * sysdeps/unix/fdopendir.c: Renamed to ...
8139         * sysdeps/posix/fdopendir.c: ... here.
8140         * sysdeps/unix/opendir.c: Renamed to ...
8141         * sysdeps/posix/opendir.c: ... here.
8142         * sysdeps/unix/readdir.c: Renamed to ...
8143         * sysdeps/posix/readdir.c: ... here.
8144         * sysdeps/unix/readdir_r.c: Renamed to ...
8145         * sysdeps/posix/readdir_r.c: ... here.
8146         * sysdeps/unix/rewinddir.c: Renamed to ...
8147         * sysdeps/posix/rewinddir.c: ... here.
8148         * sysdeps/unix/seekdir.c: Renamed to ...
8149         * sysdeps/posix/seekdir.c: ... here.
8150         * sysdeps/unix/telldir.c: Renamed to ...
8151         * sysdeps/posix/telldir.c: ... here.
8152         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8153         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8154         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8155         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8157         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8158         * bits/fcntl.h: ... here.
8160         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8161         not 0.
8162         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8163         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8164         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8165         (struct flock): Move l_start, l_len to the beginning.
8166         Use __pid_t for l_pid.
8167         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8168         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8169         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8170         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8171         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8172         [__USE_LARGEFILE64] (struct flock64): New type.
8173         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8175         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8176         * bits/dirent.h: ... here.
8178         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8179         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8181 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8184         Change from 2.6.0 to 2.6.16.
8185         * sysdeps/unix/sysv/linux/configure: Regenerated.
8186         * sysdeps/unix/sysv/linux/kernel-features.h
8187         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8188         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8189         version.
8190         (__ASSUME_UTIMES): Likewise.
8191         (__ASSUME_CLONE_STOPPED): Remove.
8192         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8193         architectures, not kernel version.
8194         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8195         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8196         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8197         (__ASSUME_WAITID_SYSCALL): Likewise.
8198         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8199         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8200         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8201         refer to older versions.
8203 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8205         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8206         Define alphasort64 as an alias.
8207         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8208         Define versionsort64 as an alias.
8209         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8210         Define scandir64 as an alias.
8211         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8212         Define scandirat64 as an alias.
8213         * dirent/alphasort64.c (alphasort64):
8214         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8215         * dirent/versionsort64.c: Likewise.
8216         * dirent/scandir64.c: Likewise.
8217         * dirent/scandirat64.c: Likewise.
8218         * sysdeps/wordsize-64/alphasort.c: File removed.
8219         * sysdeps/wordsize-64/alphasort64.c: File removed.
8220         * sysdeps/wordsize-64/scandir.c: File removed.
8221         * sysdeps/wordsize-64/scandir64.c: File removed.
8222         * sysdeps/wordsize-64/scandirat.c: File removed.
8223         * sysdeps/wordsize-64/scandirat64.c: File removed.
8224         * sysdeps/wordsize-64/versionsort.c: File removed.
8225         * sysdeps/wordsize-64/versionsort64.c: File removed.
8226         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8228         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8230         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8232         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8235         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8237         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8239         [defined __arch64__ || defined __sparcv9]
8240         (__INO_T_MATCHES_INO64_T): New macro.
8241         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8242         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8243         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8244         * sysdeps/unix/sysv/linux/bits/dirent.h
8245         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8246         (_DIRENT_MATCHES_DIRENT64): New macro.
8248         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8249         Define lockf64 as an alias.
8250         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8251         Define fseeko64 as an alias.
8252         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8253         Define ftello64 as an alias.
8254         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8255         Define _IO_fgetpos64 and fgetpos64 as aliases.
8256         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8257         Define _IO_fsetpos64 and fsetpos64 as aliases.
8258         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8259         Conditionalize body on this.
8260         * libio/fseeko64.c: Likewise.
8261         * libio/ftello64.c: Likewise.
8262         * libio/iofgetpos64.c: Likewise.
8263         * libio/iofsetpos64.c: Likewise.
8264         * sysdeps/wordsize-64/lockf.c: File removed.
8265         * sysdeps/wordsize-64/lockf64.c: File removed.
8266         * sysdeps/wordsize-64/fseeko.c: File removed.
8267         * sysdeps/wordsize-64/fseeko64.c: File removed.
8268         * sysdeps/wordsize-64/ftello.c: File removed.
8269         * sysdeps/wordsize-64/ftello64.c: File removed.
8270         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8271         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8272         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8273         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8274         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8276         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8278         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8280         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8282         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8285         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8287         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8289         [defined __arch64__ || defined __sparcv9]
8290         (__OFF_T_MATCHES_OFF64_T): New macro.
8291         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8292         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8294         (__OFF_T_MATCHES_OFF64_T): New macro.
8296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8298         * stdlib/secure-getenv.c (__secure_getenv): Replace
8299         GLIBC_2_16 with GLIBC_2_17.
8301 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8303         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8306 2012-08-03  David S. Miller  <davem@davemloft.net>
8308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8310 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8313         Remove.
8314         (__ASSUME_CORRECT_SI_PID): Likewise.
8315         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8316         (__ASSUME_TMPFS_NAME): Likewise.
8317         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8318         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8319         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8320         (HAVE_AUX_SECURE): Make definition unconditional.
8321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8322         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8324 2012-08-03  Roland McGrath  <roland@hack.frob.com>
8326         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8327         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8328         * sysdeps/mach/hurd/eloop-threshold.h: New file.
8329         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8330         __eloop_threshold instead of SYMLOOP_MAX.
8332         * sysdeps/generic/eloop-threshold.h: New file.
8333         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8334         of MAXSYMLINKS.
8335         * elf/chroot_canon.c (chroot_canon): Likewise.
8337 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8339         [BZ #13717]
8340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8341         Change to 2.6.0 everywhere.
8342         * sysdeps/unix/sysv/linux/configure: Regenerated.
8343         * sysdeps/unix/sysv/linux/kernel-features.h
8344         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8345         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8346         kernel versions.
8347         (__ASSUME_POSIX_TIMERS): Define unconditionally.
8348         (__ASSUME_FUTEX_REQUEUE): Remove.
8349         (__ASSUME_STATFS64): Define unconditionally.
8350         (__ASSUME_AT_SECURE): Likewise.
8351         (__ASSUME_CORRECT_SI_PID): Likewise.
8352         (__ASSUME_TGKILL): Define without depending on kernel version for
8353         i386.
8354         (__ASSUME_UTIMES): Likewise.
8355         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8356         kernel version.
8357         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8358         (__ASSUME_TMPFS_NAME): Likewise.
8359         * README: Update reference to Linux kernel versions.
8361 2012-08-02  Marek Polacek  <polacek@redhat.com>
8363         [BZ# 14150]
8364         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
8365         libc_cv_asm_type_prefix with %.
8366         * configure: Regenerated.
8367         * include/libc-symbols.h: Remove comment about
8368         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8369         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8370         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8371         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8372         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8373         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8374         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8376         * elf/tst-unique2mod1.c: Likewise.
8377         * elf/tst-unique1mod2.c: Likewise.
8378         * elf/tst-unique1mod1.c: Likewise.
8379         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8380         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8381         Replace ASM_TYPE_DIRECTIVE with .type.
8382         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8383         * sysdeps/i386/sysdep.h: Likewise.
8384         * sysdeps/x86_64/sysdep.h: Likewise.
8385         * sysdeps/sh/sysdep.h: Likewise.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8387         Do not define ASM_TYPE_DIRECTIVE.
8388         * sysdeps/powerpc/sysdep.h: Likewise.
8389         * sysdeps/powerpc/powerpc32/sysdep.h:
8390         Replace ASM_TYPE_DIRECTIVE with .type.
8391         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8392         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8393         * sysdeps/i386/fpu/e_powf.S: Likewise.
8394         * sysdeps/i386/fpu/e_expl.S: Likewise.
8395         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8396         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8397         * sysdeps/i386/fpu/e_pow.S: Likewise.
8398         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8400         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8401         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8402         * sysdeps/i386/fpu/e_log2.S: Likewise.
8403         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8404         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8405         * sysdeps/i386/fpu/e_powl.S: Likewise.
8406         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8407         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8408         * sysdeps/i386/fpu/e_logl.S: Likewise.
8409         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8410         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8411         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8412         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8413         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8414         * sysdeps/i386/fpu/e_log.S: Likewise.
8415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8416         * sysdeps/i386/fpu/e_logf.S: Likewise.
8417         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8418         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8419         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8420         * sysdeps/i386/fpu/e_log10.S: Likewise.
8421         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8422         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8423         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8424         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8425         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8427         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8428         * sysdeps/i386/i686/strtok.S: Likewise.
8429         * sysdeps/i386/i386-mcount.S: Likewise.
8430         * sysdeps/i386/strtok.S: Likewise.
8431         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8432         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8434         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8435         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8437         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8438         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8439         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8440         * sysdeps/x86_64/_mcount.S: Likewise.
8441         * sysdeps/x86_64/strtok.S: Likewise.
8442         * sysdeps/sh/_mcount.S: Likewise.
8444 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8446         * libio/iofopen.c: Include <fcntl.h>.
8447         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8448         (_IO_fopen64, fopen64): Define as aliases.
8449         * libio/iofopen64.c: Include <fcntl.h>.
8450         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8451         Conditionalize body on this.
8452         * sysdeps/wordsize-64/iofopen.c: File removed.
8453         * sysdeps/wordsize-64/iofopen64.c: File removed.
8455 2012-08-01  Marek Polacek  <polacek@redhat.com>
8457         * libc/Makeconfig: Use elf in place of binfmt-subdir.
8458         Use dlfcn directly instead of a variable.
8459         (binfmt-subdir): Do not define.
8460         (dlfcn): Likewise.
8462 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
8464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8465         Remove all definitions.
8466         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8467         <kernel-features.h>.
8468         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8469         (miss_F_GETOWN_EX): Remove all definitions.
8470         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8471         macro definition.
8472         [!__ASSUME_FCNTL64]: Remove conditional code.
8473         [__ASSUME_FCNTL64]: Make code unconditional.
8474         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8475         <kernel-features.h>.
8476         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8477         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8478         (lockf64) [__NR_fcntl64]: Make code unconditional.
8479         (lockf64) [__ASSUME_FCNTL64]: Likewise.
8481         * sysdeps/unix/sysv/linux/kernel-features.h
8482         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8483         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8484         Make code unconditional.
8485         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8486         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8488         [__NR_vfork]: Make code unconditional.
8489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8492         [__NR_vfork]: Make code unconditional.
8493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8496 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8498         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8499         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8501         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8502         Define mkstemp64 as an alias.
8503         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8504         Define mkstemps64 as an alias.
8505         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8506         Define mkostemp64 as an alias.
8507         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8508         Define mkostemps64 as an alias.
8509         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8510         Conditionalize body on this.
8511         * misc/mkostemp64.c: Likewise.
8512         * misc/mkostemps64.c: Likewise.
8513         * misc/mkstemps64.c: Likewise.
8514         * sysdeps/wordsize-64/mkstemp64.c: File removed.
8515         * sysdeps/wordsize-64/mkostemp64.c: File removed.
8516         * sysdeps/wordsize-64/mkostemp.c: File removed.
8517         * sysdeps/wordsize-64/mkstemp.c: File removed.
8518         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8519         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8521         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8523         [BZ #14138]
8524         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8525         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8526         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8527         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8529         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8530         compat_symbol macros from <shlib-compat.h> rather than the underlying
8531         default_symbol_version and symbol_version macros, so that DEFAULT
8532         lines in shlib-versions are respected.
8533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8535 2012-08-01  Florian Weimer  <fweimer@redhat.com>
8537         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8538         Declare with warn_unused_result.
8539         (setgid, setregid, setegid, setresgid): Likewise.
8540         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8541         Likewise.
8542         * WUR-REPORT: Remove set*id functions.
8544 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
8546         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8548 2012-07-31  Roland McGrath  <roland@hack.frob.com>
8550         * include/sys/socket.h (__libc_accept, __libc_accept4):
8551         Add attribute_hidden.
8552         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8554         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8555         use of PTR_MANGLE.
8556         * inet/getnetgrent_r.c (setup): Likewise.
8558         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8560 2012-07-31  David S. Miller  <davem@davemloft.net>
8562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8564 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
8566         [BZ #13629]
8567         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8568         value between 1.0 and 2.0 and smaller part has absolute value less
8569         than 1.0.
8570         * math/s_clog10.c (__clog10): Likewise.
8571         * math/s_clog10f.c (__clog10f): Likewise.
8572         * math/s_clog10l.c (__clog10l): Likewise.
8573         * math/s_clogf.c (__clogf): Likewise.
8574         * math/s_clogl.c (__clogl): Likewise.
8575         * math/libm-test.inc (clog_test): Add more tests.
8576         (clog10_test): Likewise.
8577         * sysdeps/i386/fpu/libm-test-ulps: Update.
8578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8580 2012-07-31  Florian Weimer  <fweimer@redhat.com>
8582         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8583         Exit with zero in case no suitable GID is found, and write a
8584         message to standard error.
8586 2012-07-30  Roland McGrath  <roland@hack.frob.com>
8588         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8589         rather than to 1.
8590         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8591         (MAXPATHLEN): Removed.
8592         (NOGROUP, NODEV): New macros.
8593         (setbit, clrbit, isset, isclr): New macros.
8594         (howmany, roundup, powerof2): New macros.
8595         (DEV_BSIZE): New macro.
8597         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8598         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8600         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8601         definition on [!__NO_LONG_DOUBLE_MATH].
8603         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8604         PTR_MANGLE and PTR_DEMANGLE.
8606         * socket/accept4.c (accept4): Rename to __libc_accept4.
8607         Define accept4 as a weak alias.
8609         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8610         on [_DIRENT_HAVE_D_TYPE].
8611         * io/ftw.c (ftw_dir): Likewise.
8613         * io/xmknod.c (__xmknod): Don't check PATH for being null.
8615         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8617         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8618         Use the BSD numbers rather than the arbitrary ones we had.
8619         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8620         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8621         (SIGXCPU, SIGXFSZ): New macros.
8622         (_NSIG): Now 32.
8624         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8625         initializer on [_LIBC_REENTRANT].
8627         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8628         definitions inside [_POSIX_MAPPED_FILES].
8630         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8632         * dirent/opendir.c: Include <fcntl.h>.
8634         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8635         (__libc_getspecific): Likewise.
8636         (__libc_key_create): Likewise.
8638         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8639         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8640         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8641         (tmpfile64): Define as alias.
8642         * sysdeps/wordsize-64/tmpfile.c: File removed.
8643         * sysdeps/wordsize-64/tmpfile64.c: File removed.
8644         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8647         * stdio-common/vfscanf.c: Include <stdbool.h>.
8648         * nss/makedb.c: Likewise.
8649         * stdio-common/_i18n_number.h: Likewise.
8650         * argp/argp-help.c: Likewise.
8651         * posix/wordexp.c: Likewise.
8652         * sysdeps/posix/spawni.c: Likewise.
8653         * nss/nss_files/files-initgroups.c: Likewise.
8654         * stdio-common/reg-modifier.c: Include <stdlib.h>.
8655         * nss/nss_files/files-initgroups.c: Likewise.
8656         * nss/nss_db/db-netgrp.c: Likewise.
8657         * nss/nss_db/db-initgroups.c: Likewise.
8658         * io/fchmodat.c: Include <sys/stat.h>.
8660         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8661         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8663         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8664         [HAVE_MMAP].
8666         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8667         Add multiple inclusion protection.
8669 2012-07-27  David S. Miller  <davem@davemloft.net>
8671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8673 2012-07-27  Gary Benson  <gbenson@redhat.com>
8675         [BZ #14298]
8676         * elf/rtld.c: Include <stap-probe.h>.
8677         (dl_main): Added static probes "init_start" and "init_complete".
8678         * elf/dl-load.c: Include <stap-probe.h>.
8679         (lose): Take new parameter "nsid".
8680         Added static probe "map_failed".
8681         (_dl_map_object_from_fd): Pass namespace id to lose.
8682         Added static probe "map_start".
8683         (open_verify): Pass namespace id to lose.
8684         * elf/dl-open.c: Include <stap-probe.h>.
8685         (dl_open_worker) Added static probes "map_complete", "reloc_start"
8686         and "reloc_complete".
8687         * elf/dl-close.c: Include <stap-probe.h>.
8688         (_dl_close_worker): Added static probes "unmap_start" and
8689         "unmap_complete".
8690         * elf/rtld-debugger-interface.txt: New file documenting the above.
8692 2012-07-26  Roland McGrath  <roland@hack.frob.com>
8694         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8695         rather than a string variable.
8696         * sunrpc/rpc_main.c (h_output): Likewise.
8697         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8699 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
8701         * inet/check_native.c: New file.
8703 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #13629]
8706         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8707         if larger part has absolute value 1.0.
8708         * math/s_clog10.c (__clog10): Likewise.
8709         * math/s_clog10f.c (__clog10f): Likewise.
8710         * math/s_clog10l.c (__clog10l): Likewise.
8711         * math/s_clogf.c (__clogf): Likewise.
8712         * math/s_clogl.c (__clogl): Likewise.
8713         * math/libm-test.inc (clog_test): Add more tests.
8714         (clog10_test): Likewise.
8715         * sysdeps/i386/fpu/libm-test-ulps: Update.
8716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8718         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8719         (pltexit): Likewise.
8720         (La_regs): Likewise.
8721         (La_retval): Likewise.
8722         (int_retval): Likewise.
8723         Update #error for removed macros to refer only to definitions in
8724         tst-audit.h.
8725         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8726         macro.
8727         (pltexit): Likewise.
8728         (La_regs): Likewise.
8729         (La_retval): Likewise.
8730         (int_retval): Likewise.
8731         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8732         macro.
8733         (pltexit): Likewise.
8734         (La_regs): Likewise.
8735         (La_retval): Likewise.
8736         (int_retval): Likewise.
8737         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8738         macro.
8739         (pltexit): Likewise.
8740         (La_regs): Likewise.
8741         (La_retval): Likewise.
8742         (int_retval): Likewise.
8743         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8744         macro.
8745         (pltexit): Likewise.
8746         (La_regs): Likewise.
8747         (La_retval): Likewise.
8748         (int_retval): Likewise.
8749         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8750         macro.
8751         (pltexit): Likewise.
8752         (La_regs): Likewise.
8753         (La_retval): Likewise.
8754         (int_retval): Likewise.
8755         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8756         macro.
8757         (pltexit): Likewise.
8758         (La_regs): Likewise.
8759         (La_retval): Likewise.
8760         (int_retval): Likewise.
8761         * sysdeps/generic/tst-audit.h: Update comment to refer only to
8762         macro definitions in tst-audit.h.
8763         * sysdeps/i386/tst-audit.h: New file.
8764         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8765         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8766         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8767         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8768         * sysdeps/sh/tst-audit.h: Likewise.
8769         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8770         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8771         * sysdeps/x86_64/tst-audit.h: Likewise.
8773 2012-07-26  Andreas Jaeger  <aj@suse.de>
8775         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8776         ptrace.
8778         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8779         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8780         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8781         PTRACE_O_MASK.
8782         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8783         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8784         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8786         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8787         value.
8789         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8790         _sigsys.
8791         (si_call_addr, si_syscall, si_arch): Define new macro.
8792         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8793         _sigsys.
8794         (si_call_addr, si_syscall, si_arch): Define new marcro.
8795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8796         _sigsys.
8797         (si_call_addr, si_syscall, si_arch): Define new macro.
8798         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8799         _sigsys.
8800         (si_call_addr, si_syscall, si_arch): Define new macro.
8802 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8804         [BZ #13717]
8805         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8806         Change to 2.4.21 where previously 2.4.1.
8807         * sysdeps/unix/sysv/linux/configure: Regenerated.
8808         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8809         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8810         Linux kernel version.
8811         (__ASSUME_STD_AUXV): Remove.
8812         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8813         kernel version.
8814         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8815         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8816         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8817         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8818         (__ASSUME_NETLINK_SUPPORT): Likewise.
8819         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8820         (__no_netlink_support): Remove conditional definition.
8821         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8822         Remove.
8823         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8824         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8825         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8826         (if_nameindex_ioctl): Remove.
8827         (if_nameindex_netlink): Do not handle __no_netlink_support.
8828         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8829         code.
8830         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8831         Remove conditional code.
8832         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8833         code.
8834         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8835         unconditional.
8836         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8837         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8838         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8839         Remove.
8840         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8841         [!__ASSUME_STD_AUXV]: Remove conditional code.
8842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8843         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8844         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8846         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8847         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8848         code.
8849         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8851         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8852         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8853         conditional code.
8854         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8856         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8857         code.
8858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8859         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8860         conditional code.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8862         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8863         code unconditional.
8864         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8865         conditional code.
8866         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8867         unconditional.
8868         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8869         conditional code.
8870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8871         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8872         unconditional.
8873         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8874         conditional code.
8875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8876         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8877         code unconditional.
8878         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8879         conditional code.
8880         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8881         unconditional.
8882         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8883         conditional code.
8884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8885         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8886         code unconditional.
8887         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8888         conditional code.
8889         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8890         unconditional.
8891         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8892         conditional code.
8894 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
8896         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8897         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8898         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8899         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8900         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8902         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8903         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8904         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8905         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8906         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8907         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8908         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8909         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8910         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8911         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8912         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8913         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8914         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8916         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8917         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8918         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8920 2012-07-25  Florian Weimer  <fweimer@redhat.com>
8922         * Versions.def: Add GLIBC_2.17.
8923         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8924         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8925         Introduce __libc_secure_getenv.
8926         * stdlib/Versions (2.17): Add secure_getenv
8927         (GLIBC_PRIVATE): Add __libc_secure_getenv.
8928         * stdlib/secure-getenv.c: Rename __secure_getenv to
8929         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
8930         symbol __secure_getenv for GLIBC_2.0.
8931         * stdlib/tst-secure-getenv.c: New.
8932         * stdlib/Makefile (tests): Add testcase.
8933         * manual/startup.texi (Environment Access): Document
8934         secure_getenv.
8935         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8936         __libc_secure_getenv.
8937         * inet/ruserpass.c (ruserpass): Likewise.
8938         * malloc/mtrace.c (mtrace): Likewise.
8939         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8940         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8941         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8942         * sysdeps/posix/tempname.c: Likewise.  Evaluate
8943         HAVE_SECURE_GETENV.
8944         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8945         __secure_getenv to __libc_secure_getenv.
8946         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8948         Likewise.
8949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8950         Likewise.
8951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8959 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8961         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8962         (struct La_i86_retval): Likewise.
8963         (struct La_x86_64_regs): Likewise.
8964         (struct La_x86_64_retval): Likewise.
8965         (struct La_x32_regs): Likewise.
8966         (struct La_x32_retval): Likewise.
8967         (struct La_ppc32_regs): Likewise.
8968         (struct La_ppc32_retval): Likewise.
8969         (struct La_ppc64_regs): Likewise.
8970         (struct La_ppc64_retval): Likewise.
8971         (struct La_sh_regs): Likewise.
8972         (struct La_sh_retval): Likewise.
8973         (struct La_s390_32_regs): Likewise.
8974         (struct La_s390_32_retval): Likewise.
8975         (struct La_s390_64_regs): Likewise.
8976         (struct La_s390_64_retval): Likewise.
8977         (struct La_sparc32_regs): Likewise.
8978         (struct La_sparc32_retval): Likewise.
8979         (struct La_sparc64_regs): Likewise.
8980         (struct La_sparc64_retval): Likewise.
8981         (struct audit_ifaces): Remove architecture-specific pltenter and
8982         pltexit members.
8983         * sysdeps/i386/ldsodefs.h: New file.
8984         * sysdeps/powerpc/ldsodefs.h: Likewise.
8985         * sysdeps/s390/ldsodefs.h: Likewise.
8986         * sysdeps/sh/ldsodefs.h: Likewise.
8987         * sysdeps/sparc/ldsodefs.h: Likewise.
8988         * sysdeps/x86_64/ldsodefs.h: Likewise.
8990 2012-07-25  Marek Polacek  <polacek@redhat.com>
8992         [BZ #6808]
8993         * math/libm-test.inc (yn_test): Add another test.
8994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8995         to ERANGE when the result is +-Inf.
8996         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8997         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8998         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8999         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9001 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9003         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9004         equal to 0.
9005         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9006         clock_t.
9007         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9009 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9011         * configure.in <sysdeps resolving>: Correct printing
9012         Implies_before.
9013         * configure: Regenerate.
9015 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9017         * math/w_ilogb.c: Include <limits.h>.
9018         * math/w_ilogbl.c: Likewise.
9020 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9022         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9023         va_copy.  Document allowing for unavailable va_copy only as
9024         pre-C99 compatibility.
9025         * manual/string.texi (Copying and Concatenation): Use va_copy
9026         instead of __va_copy in concat example.
9028 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9030         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9031         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9032         it if not null.
9034         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9035         with O_NOLINK passed to __file_name_lookup.
9037         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9038         with O_NOLINK passed to __file_name_lookup.
9040         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9041         negative N or less than NGIDS.
9043         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9044         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9045         enough.  Use memcpy instead of strncpy.
9047 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9049         * elf/Makefile (check-data): Remove.
9050         (localplt.data): New vpath directive.
9051         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9052         instead of $(check-data).
9053         * scripts/data/localplt-generic.data: Move to ...
9054         * sysdeps/generic/localplt.data: ... here.
9055         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9056         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9057         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9059         ... here.
9060         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9062         ... here.
9063         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9065         ... here.
9066         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9068         ... here.
9069         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9071         ... here.
9072         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9074         ... here.
9076 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9078         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9079         PPC32 and PPC64 files.
9080         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9081         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9083 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9085         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9086         __makecontext_ret to ...
9087         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9088         ... here and call exit if uc_link is NULL.  New file.
9089         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9090         __makecontext_ret.S.
9091         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9092         __makecontext_ret to ...
9093         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9094         ... here and call exit if uc_link is NULL.  New file.
9095         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9096         __makecontext_ret.S.
9098 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9100         * elf/elf.h (R_390_IRELATIVE): New definition.
9101         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9102         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9103         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9105         (elf_machine_lazy_rel): Likewise.
9106         * sysdeps/s390/dl-irel.h: New file.
9107         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9108         * sysdeps/s390/s390-64/memset.S: New asm code.
9109         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9110         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9111         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9112         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9113         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9114         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9115         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9116         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9117         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9118         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9119         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9120         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9121         * sysdeps/s390/s390-32/memset.S: New asm code.
9122         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9124 2012-07-17  Marek Polacek  <polacek@redhat.com>
9126         [BZ #14349]
9127         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9128         * sysdeps/s390/s390-64/configure.in: Likewise.
9129         * sysdeps/sparc/configure.in: Likewise.
9130         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9131         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9132         * sysdeps/i386/configure.in: Likewise.
9133         * sysdeps/x86_64/configure.in: Likewise.
9134         * sysdeps/sh/configure.in: Likewise.
9135         * sysdeps/s390/s390-32/configure: Regenerated.
9136         * sysdeps/s390/s390-64/configure: Likewise.
9137         * sysdeps/x86_64/configure: Likewise.
9138         * sysdeps/sh/configure: Likewise.
9139         * sysdeps/powerpc/powerpc64/configure: Likewise.
9140         * sysdeps/powerpc/powerpc32/configure: Likewise.
9141         * sysdeps/sparc/configure: Likwise.
9142         * sysdeps/i386/configure: Likewise.
9144         * elf/dl-open.c: Comment fixes.
9146 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9148         * Makefile [CXX] (check-data): Remove.
9149         [CXX] (c++-types.data): New vpath directive.
9150         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9151         vpath.  Do not allow for C++ type data being missing.
9152         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9153         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9154         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9155         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9156         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9157         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9158         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9160         ... here.
9161         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9163         ... here.
9164         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9166         ... here.
9167         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9169         ... here.
9170         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9172         ... here.
9173         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9175         ... here.
9176         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9178         ... here.
9179         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9182         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9183         definitions to architecture-specific files.
9184         (TLS_IE): Likewise.
9185         (TLS_LD): Likewise.
9186         (TLS_GD): Likewise.
9187         * sysdeps/i386/tls-macros.h: New file.
9188         * sysdeps/powerpc/tls-macros.h: Likewise.
9189         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9190         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9191         * sysdeps/sh/tls-macros.h: Likewise.
9192         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9193         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9194         * sysdeps/x86_64/tls-macros.h: Likewise.
9196 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9198         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9199         zero value for regular exit case.
9201         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9202         (__start_context): Preserve zero value for regular exit case.
9204 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9205             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9207         * manual/setjmp.texi (setcontext): Clarify normal process
9208         termination when uc_link is the null pointer.
9209         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9210         exit call.
9212 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9214         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9215         preprocessor.  Test for each exception mask separately.
9217 2012-07-16  Andreas Jaeger  <aj@suse.de>
9219         * po/ru.po: Update from translation team.
9221 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9223         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9224         equal to 0.
9225         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9226         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9227         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9228         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9231 2012-07-13  Andreas Jaeger  <aj@suse.de>
9233         * po/fr.po: Update from translation team.
9235 2012-07-12  Marek Polacek  <polacek@redhat.com>
9237         [BZ #14173]
9238         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9239         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9240         loop condition.
9242 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9244         [BZ #13717]
9245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9246         Change to 2.4.1 where previously 2.4.0.
9247         * sysdeps/unix/sysv/linux/configure: Regenerated.
9248         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9249         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9250         version.
9251         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9252         (__ASSUME_AT_CLKTCK): Remove.
9253         (__ASSUME_AT_PAGESIZE): Likewise.
9254         (__ASSUME_AT_XID): Likewise.
9255         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9256         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9257         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9258         unconditionally.
9259         (HAVE_AUX_PAGESIZE): Likewise.
9260         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9261         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9262         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9264 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9266         [BZ #14307]
9267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9268         the temporary buffer used to invoke __gethostbyname2_r,
9269         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9270         host_data / struct gaih_addrtuple.
9271         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9272         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9273         header file nss/nsswitch.h.
9274         * nss/nsswitch.h (global scope): Add definition of implementation
9275         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9276         resolv/nss_dns/dns-host.c).
9278 2012-07-11  Andreas Jaeger  <aj@suse.de>
9280         * po/fr.po: Update from translation team.
9282         * po/sv.po: Update from translation team
9283         * po/fr.po: Another update from translation team.
9285 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9287         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9288         for subnormals or multiply small sinh result by itself.
9289         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9292 2012-07-11  David S. Miller  <davem@davemloft.net>
9294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9296 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9298         [BZ #14347]
9299         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9300         (INTERNAL_MARK): Shift it here.
9302 2012-07-10  Marek Polacek  <polacek@redhat.com>
9304         [BZ #14151]
9305         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9306         libc_cv_asm_global_directive with .globl.
9307         * configure: Regenerated.
9308         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9309         with .globl.
9310         * sysdeps/i386/configure: Regenerated.
9311         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9312         with .globl.
9313         * sysdeps/x86_64/configure: Regenerated.
9314         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9315         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9316         * elf/tst-unique2mod2.c: Likewise.
9317         * elf/tst-unique2mod1.c: Likewise.
9318         * elf/tst-unique1mod2.c: Likewise.
9319         * elf/tst-unique1mod1.c: Likewise.
9320         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9321         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9322         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9323         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9324         * sysdeps/mach/sysdep.h: Likewise.
9325         * sysdeps/i386/sysdep.h: Likewise.
9326         * sysdeps/i386/i386-mcount.S: Likewise.
9327         * sysdeps/x86_64/_mcount.S: Likewise.
9328         * sysdeps/x86_64/sysdep.h: Likewise.
9329         * sysdeps/sh/_mcount.S: Likewise.
9330         * sysdeps/sh/sysdep.h: Likewise.
9331         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9332         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9333         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9334         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9335         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9336         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9337         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9338         * locale/localeinfo.h: Likewise.
9339         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9340         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9342 2012-07-09  Roland McGrath  <roland@hack.frob.com>
9344         [BZ #14336]
9345         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9346         system".
9347         * manual/message.texi (The Uniforum approach): Likewise.
9348         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9349         (glibc iconv Implementation): Likewise.
9351 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
9353         [BZ #14337]
9354         * math/s_clog.c (__clog): Avoid scaling a value down where that
9355         could result in underflow.
9356         * math/s_clog10.c (__clog10): Likewise.
9357         * math/s_clog10f.c (__clog10f): Likewise.
9358         * math/s_clog10l.c (__clog10l): Likewise.
9359         * math/s_clogf.c (__clogf): Likewise.
9360         * math/s_clogl.c (__clogl): Likewise.
9361         * math/libm-test.inc (clog_test): Add more tests.
9362         (clog10_test): Likewise.
9363         * sysdeps/i386/fpu/libm-test-ulps: Update.
9364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9366 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9368         [BZ #14283]
9369         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9370         by 7 not 8 to examine high bit of fractional part.
9372         [BZ #14042]
9373         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9374         for call to __mcount_internal.
9375         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9376         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9377         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9379 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
9381         [BZ #14154]
9382         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9383         approximation for values within 0x1p-13f of an odd multiple of
9384         pi/4.
9385         * math/libm-test.inc (tan_test): Do not allow spurious underflow
9386         exception.  Add more tests.
9387         * sysdeps/i386/fpu/libm-test-ulps: Update.
9389         [BZ #6778]
9390         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9391         inputs and return -1 for them.  Do not check for +Inf in case not
9392         reachable for +Inf.
9393         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9394         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9395         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9396         and return -1 for them.  Do not check for +Inf in case not
9397         reachable for +Inf.
9398         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9399         define.
9400         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9401         and return -1 for them.  Do not check for +Inf in case not
9402         reachable for +Inf.
9403         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
9404         spurious underflow.
9405         * sysdeps/i386/fpu/libm-test-ulps: Update.
9406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9408 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
9410         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9412 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
9414         [BZ #14157]
9415         [BZ #14331]
9416         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9417         could result in spurious underflow.  Scale down values above
9418         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9419         * math/s_csqrtf.c (__csqrtf): Likewise.
9420         * math/s_csqrtl.c (__csqrtl): Likewise.
9421         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
9422         spurious underflow.
9423         * sysdeps/i386/fpu/libm-test-ulps: Update.
9424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9426 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9428         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9429         xopen-msg.sed.
9430         * catgets/xopen-msg.awk: New file.
9431         * catgets/xopen-msg.sed: Removed.
9433         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9434         po2text.sed.
9435         * intl/po2test.awk: New file.
9436         * intl/po2test.sed: Removed.
9438 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #14328]
9441         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9442         or multiply small sinh result by itself.
9443         * math/s_ctanf.c (__ctanf): Likewise.
9444         * math/s_ctanh.c (__ctanh): Likewise.
9445         * math/s_ctanhf.c (__ctanhf): Likewise.
9446         * math/s_ctanhl.c (__ctanhl): Likewise.
9447         * math/s_ctanl.c (__ctanl): Likewise.
9448         * math/libm-test.inc (ctan_test_tonearest): New function.
9449         (ctan_test_towardzero): Likewise.
9450         (ctan_test_downward): Likewise.
9451         (ctan_test_upward): Likewise.
9452         (ctanh_test_tonearest): Likewise.
9453         (ctanh_test_towardzero): Likewise.
9454         (ctanh_test_downward): Likewise.
9455         (ctanh_test_upward): Likewise.
9456         (main): Call these new functions.
9457         * sysdeps/i386/fpu/libm-test-ulps: Update.
9458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9460 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
9462         * .gitignore: Delete /ports entry.
9464 2012-07-03  Andreas Jaeger  <aj@suse.de>
9466         * po/bg.po: Update from translation team.
9467         * po/cs.po: Likewise.
9468         * po/de.po: Likewise.
9469         * po/hr.po: Likewise.
9470         * po/nl.pl: Likewise.
9471         * po/pl.po: Likewise.
9472         * po/vi.po: Likewise.
9474 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
9476         * Makeconfig [!+link] (+link-before-libc): New variable.
9477         [!+link] (+link-after-libc): Likewise.
9478         [!+link] (+link-tests): Likewise.
9479         [!+link] (+link): Define in terms of $(+link-before-libc) and
9480         $(+link-after-libc).
9481         [!+link-static] (+link-static-before-libc): New variable.
9482         [!+link-static] (+link-static-after-libc): Likewise.
9483         [!+link-static] (+link-static-tests): Likewise.
9484         [!+link-static] (+link-static): Define in terms of
9485         $(+link-static-before-libc) and $(+link-static-after-libc).
9486         [build-shared] (link-libc-before-gnulib): New variable.
9487         [build-shared] (link-libc-tests): Likewise.
9488         [build-shared] (link-libc): Define in terms of
9489         $(link-libc-before-gnulib).
9490         [!build-shared] (link-libc-tests): New variable.
9491         (link-libc-static-tests): New variable.
9492         [!gnulib] (gnulib-arch): New variable.
9493         [!gnulib] (gnulib-tests): Likewise.
9494         [!gnulib] (static-gnulib-arch): Likewise.
9495         [!gnulib] (static-gnulib-tests): Likewise.
9496         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
9497         Define with "=" instead of ":=".
9498         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
9499         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
9500         * Rules (binaries-all-notests): New variable.
9501         (binaries-all-tests): Likewise.
9502         (binaries-static-notests): Likewise.
9503         (binaries-static-tests): Likewise.
9504         (binaries-all): Define using $(binaries-all-notests) and
9505         $(binaries-all-tests).
9506         (binaries-static): Define using $(binaries-static-notests) and
9507         $(binaries-static-tests).
9508         (binaries-shared-tests): New variable.
9509         (binaries-shared-notests): Likewise.
9510         (binaries-shared): Remove variable.
9511         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9512         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9513         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9514         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9515         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9516         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9517         * elf/Makefile (sln-modules): New variable.
9518         (extra-objs): Add $(sln-modules:=.o).
9519         (ldconfig-modules): Add static-stubs.
9520         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9521         * elf/static-stubs.c: New file.
9523         [BZ #14283]
9524         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9525         by 7 not 8 to examine high bit of fractional part.  Use volatile
9526         variables when splitting into final array of floats if
9527         __FLT_EVAL_METHOD__ != 0.
9528         * math/libm-test.inc (cos_test): Add another test.
9529         (sin_test): Likewise.
9530         * sysdeps/i386/fpu/libm-test-ulps: Update.
9532         [BZ #14273]
9533         * math/libm-test.inc (cosh_test): Add more tests.
9535         * version.h (RELEASE): Set to "development".
9536         (VERSION): Set to "2.16.90".
9538 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
9540         * NEWS: Update copyright. Remove last-updated date.
9541         Mention math library bug fixes and timezone data changes.
9542         * README: Mention GNU/Hurd, x32, and HPPA support status.
9544 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
9546         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9548 2012-06-27  Andreas Jaeger  <aj@suse.de>
9550         * manual/contrib.texi (Contributors): Add Samuel Thibault.
9552 2012-06-25  Andreas Jaeger  <aj@suse.de>
9554         * sysdeps/s390/fpu/libm-test-ulps: Update.
9556 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
9557             Thomas Schwinge  <thomas@codesourcery.com>
9559         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9560         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9562         fanotify_mark.
9564 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
9566         * sysdeps/mach/start.c: Remove file.
9567         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9568         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9569         * sysdeps/sh/init-first.c: Likewise.
9571         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9572         registers for frame unwinding purposes, add CFI directives.
9573         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9574         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9575         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9576         Likewise.
9578         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9579         __fortify_fail returning.
9580         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9582         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9583         sysdeps/sh/____longjmp_chk.S.
9584         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9585         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9586         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9587         (gen-as-const-headers): Append sigaltstack-offsets.sym.
9589         * sysdeps/sh/abort-instr.h: New file.
9590         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9591         process in case exit returns.
9593         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9594         initialize the GOT register before use.
9596         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9597         calculation of ARGC > 4.
9599         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9600         meaningful names to some local labels.
9602 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9603             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9605         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9606         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9607         (__arch_compare_and_exchange_val_16_acq): Likewise.
9608         (__arch_compare_and_exchange_val_32_acq): Likewise.
9609         (atomic_exchange_and_add): Fix gUSA sequence.
9610         (atomic_add): Likewise.
9611         (atomic_add_negative): Likewise.
9612         (atomic_add_zero): Likewise.
9613         (atomic_bit_test_set): Likewise.
9615 2012-06-22  Andreas Schwab  <schwab@redhat.com>
9617         [BZ #13579]
9618         * include/link.h (struct link_map): Add l_free_initfini.
9619         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9620         l_initfini.
9621         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9622         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9623         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9624         set.
9626 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
9628         * configure.in: Use AC_LANG_SOURCE.
9629         * configure: Regenerate.
9631 2012-06-22  Roland McGrath  <roland@hack.frob.com>
9633         * configure.in (libc_cv_localstatedir): New substituted variable.
9634         * configure: Regenerated.
9635         * config.make.in (localstatedir): New variable, substituted from
9636         libc_cv_localstatedir.
9637         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9638         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9639         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9640         * sysdeps/gnu/configure: Regenerated.
9642 2012-06-21  Jeff Law  <law@redhat.com>
9644         [BZ #14277]
9645         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9646         free.  Simplify list management for _LIBC case.
9648 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
9650         [BZ #14273]
9651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9652         Clear sign bit of 64-bit integer value before comparing against
9653         overflow value.
9655         * sysdeps/mach/configure: Regenerated.
9657 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
9659         [BZ #14278]
9660         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9662 2012-06-21  Jeff Law  <law@redhat.com>
9664         [BZ #13882]
9665         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
9666         uint16_t for elements in the "seen" array to avoid char overflows.
9667         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9668         * elf/dl-open.c (dl_open_worker): Likewise.
9670 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
9672         * scripts/list-sources.sh: Scan PORTS for translations.
9673         * po/libc.pot: Regenerated.
9675 2012-06-21  Andreas Jaeger  <aj@suse.de>
9677         [BZ #12194]
9678         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9679         warning.
9680         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9681         * bits/byteswap-16.h (__bswap_16): Likewise.
9682         * bits/byteswap.h (__bswap_constant_16): Likewise.
9684 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
9686         [BZ #14117]
9687         * sysdeps/i386/fpu_control.h: Removed.
9688         * sysdeps/x86_64/fpu_control.h: Moved to ...
9689         * sysdeps/x86/fpu_control.h: Here.
9691         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9692         (_FPU_SETCW): Likewise.
9694 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
9696         [BZ #14117]
9697         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9698         * sysdeps/x86/fpu/bits/mathinline.h: This.
9699         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9701         [BZ #14050]
9702         [BZ #14117]
9703         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9704         functions if __x86_64__ is defined.
9706 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
9708         * string/endian.h: Add !__ASSEMBLER__ condition for including
9709         conversion interfaces.
9711 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
9713         [BZ #14241]
9714         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9715         of ABS(x) in calculating zero to negative powers other than odd
9716         integers.
9717         * math/libm-test.inc (pow_test): Add more tests.
9719 2012-06-15  Andreas Jaeger  <aj@suse.de>
9721         * manual/contrib.texi (Contributors): Update entry of Liubov
9722         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9723         Machado Filho.
9725 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
9727         * string/string.h: Add __wur to GNU version of strerror_r.
9729 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
9731         [BZ #14229]
9732         * string/Makefile (tests): Add tst-strtok_r.
9733         * string/tst-strtok_r.c: New file.
9734         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9735         RAX_LP/RDX_LP on SAVE_PTR.
9737 2012-06-14  Roland McGrath  <roland@hack.frob.com>
9739         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9741 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
9743         * libm_test.inc (csqrt_test): Allow more spurious underflow
9744         exceptions.
9745         (j0_test): Likewise.
9746         (j1_test): Likewise.
9747         (y0_test): Likewise.
9748         (y1_test): Likewise.
9750 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
9752         * po/Makefile (libc.pot): Use UTF-8 charset.
9754 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
9756         [BZ #14210]
9757         Suppress sign-conversion warning from FD_SET.
9758         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9759         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9760         not unsigned long int.
9761         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9763 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
9765         [BZ #14050]
9766         [BZ #14117]
9767         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9768         __extern_always_inline instead of __extern_inline.
9769         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9770         (__signbit): Likewise.
9771         (__signbitl): Support C++ namespace.
9772         (lrintf): New inline function.
9773         (lrint): Likewise.
9774         (llrintf): Likewise.
9775         (llrint): Likewise.
9776         (fmaxf): Likewise.
9777         (fmax): Likewise.
9778         (fminf): Likewise.
9779         (fmin): Likewise.
9780         (rint): Likewise.
9781         (rintf): Likewise.
9782         (ceil): Likewise.
9783         (ceilf): Likewise.
9784         (floor): Likewise.
9785         (floorf): Likewise.
9786         (nearbyint): Likewise.
9787         (nearbyintf): Likewise.
9789 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
9791         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9792         non-default versions.
9794 2012-06-11  Roland McGrath  <roland@hack.frob.com>
9796         [BZ #14218]
9797         * manual/argp.texi (Argp): Reword argp_parse description slightly.
9799 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
9801         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9802         (FE_UPWARD, FE_DOWNWARD): Don't define.
9803         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9804         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9806         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9807         reading it.
9808         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9809         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9811 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9813         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9814         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9815         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9816         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9818 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9820         [BZ #14117]
9821         * sysdeps/i386/fpu/bits/fenv.h: Removed.
9822         * sysdeps/i386/fpu/Implies: New file.
9823         * sysdeps/x86_64/fpu/Implies: Likewise.
9824         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9825         * sysdeps/x86/fpu/bits/fenv.h: This.
9827         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9828         __SSE_MATH__.
9830 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9832         [BZ #14134]
9833         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9834         character 0xffff that matches the last element of the
9835         conversion table.
9837 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9839         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9840         fmodl commit.
9842 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9845         values higher than 25.6283.
9847 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9849         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9850         subnormal exponent extraction and add some __builtin_expect.
9851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9852         Fix for subnormal mantissa calculation.
9854 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
9856         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9857         cpu2 is -1 and errno is not ENOSYS.
9859 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
9861         [BZ #14117]
9862         * sysdeps/i386/i486/bits/string.h: Renamed to ...
9863         * sysdeps/x86/bits/string.h: This.
9864         * sysdeps/x86_64/bits/string.h: Removed.
9866         * sysdeps/i386/i486/bits/string.h: Define inline functions only
9867         if not compiling for x86-64, but compiling for >= i486.
9869         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9870         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9872         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9873         New macro from Linux kernel 3.4.0.
9874         (FP_XSTATE_MAGIC2): Likewise.
9875         (FP_XSTATE_MAGIC2_SIZE): Likewise.
9876         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9877         (struct _fpx_sw_bytes): New struct.
9878         (struct _xsave_hdr): Likewise.
9879         (struct _ymmh_state): Likewise.
9880         (struct _xstate): Likewise.
9882         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9883         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9884         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9885         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9886         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9887         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9889         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9890         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9891         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9892         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9893         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9894         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9896 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9898         [BZ #13743]
9899         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9900         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9901         (sysdep_headers): Include sys/platform/ppc.h.
9902         * sysdeps/powerpc/test-gettimebase.c: Test for
9903         __ppc_get_timebase() to catch future ISA opcode/insn changes.
9904         * manual/Makefile (appendices): Include platform.texi.
9905         * manual/contrib.texi (Contributors): Update @node pointers.
9906         * manual/maint.texi (Maintenance): Likewise.
9907         (Platform): New node.
9908         * manual/platform.texi: New file.  Document the new features.
9910 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9911             Jakub Jelinek  <jakub@redhat.com>
9913         [BZ #14188]
9914         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9915         where __builtin_expect is unavailable.
9917 2012-06-03  David S. Miller  <davem@davemloft.net>
9919         * stdlib/longlong.h: Updated from GCC.
9921 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
9923         [BZ #14042]
9924         * sysdeps/powerpc/powerpc32/mcount.c: New file.
9925         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9926         __mcount_internal.
9927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9928         (GLIBC_2.16): Likewise.
9930 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9932         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9934 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
9936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9937         (default-abi): New variable.
9938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9939         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9940         variable.
9941         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9942         Likewise.
9943         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9944         Likewise.
9945         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9946         Likewise.
9948         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9949         definition.  Document in comment.
9951 2012-06-01  David S. Miller  <davem@davemloft.net>
9953         * stdlib/longlong.h: Updated from GCC.
9955 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9957         [BZ #14117]
9958         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9959         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9960         sys/debugreg.h sys/io.h here.
9961         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9962         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9963         sys/io.h.
9964         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9965         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9966         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9967         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9968         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9969         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9971         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9972         Define only if __x86_64__ is defined.
9974 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
9976         [BZ #14048]
9977         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9978         Use int64_t for variable i.
9979         * math/libm-test.inc (fmod_test): Add more tests.
9981         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9982         z computation is not scheduled after fetestexcept.
9983         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9984         Use math_force_eval instead of asm to ensure calculation scheduled
9985         before exception test.
9986         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9987         Ensure a1 + u.d computation is not scheduled after fetestexcept.
9989 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
9991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9992         computation is not scheduled after fetestexcept.
9994 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9996         [BZ #14117]
9997         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9998         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10000 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10002         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10003         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10005 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10007         [BZ #14117]
10008         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10009         <bits/wordsize.h>.
10010         (__WCHAR_MIN): Support __WORDSIZE == 64.
10011         (__WCHAR_MAX): Likewise.
10013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10014         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10016         [BZ #14183]
10017         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10018         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10020         [BZ #14117]
10021         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10022         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10024         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10025         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10027         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10028         Defined to 1 if __x86_64__ isn't defined.
10029         (_STAT_VER_LINUX_OLD): New.
10030         (st_atime): Remove duplicate.
10031         (st_mtime): Likewise.
10032         (st_ctime): Likewise.
10034 2012-05-31  David S. Miller  <davem@davemloft.net>
10036         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10037         entries.
10039 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10041         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10042         gen-libm-test.pl.
10044         [BZ #14132]
10045         * elf/dl-reloc.c: Include <_itoa.h>.
10046         (_dl_reloc_bad_type): Remove use of INTUSE.
10047         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10048         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10049         * stdio-common/psiginfo.c (psiginfo): Likewise.
10050         * stdio-common/psignal.c (psignal): Likewise.
10051         * string/strsignal.c (strsignal): Likewise.
10052         * include/signal.h (_sys_siglist): Declare hidden proto.
10053         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10054         INTVARDEF with libc_hidden_data_def.
10055         * stdio-common/itoa-udigits.c: Likewise.
10056         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10057         (_itoa_lower_digits_internal): Remove declaration.
10058         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10059         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10060         (_sys_sigabbrev_internal): Remove aliases.
10061         (_sys_siglist): Define hidden alias.
10063 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10066         bits/sysctl.h.
10068 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10070         [BZ #14117]
10071         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10072         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10074         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10075         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10076         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10077         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10078         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10079         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10081         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10082         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10083         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10085         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10086         with __addr.
10087         (insw): Likewise.
10088         (insl): Likewise.
10089         (outsb): Likewise.
10090         (outsw): Likewise.
10091         (outsl): Likewise.
10093         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10094         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10095         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10097         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10098         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10099         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10100         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10101         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10102         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10104         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10105         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10107         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10108         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10112         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10114         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10115         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10116         to ...
10117         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10119         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10120         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10121         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10123         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10124         for x86-64.
10125         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10127 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10129         * math/math.h (M_El): Use two more decimal places.
10130         (M_LOG2El): Likewise.
10131         (M_LOG10El): Likewise.
10132         (M_LN2l): Likewise.
10133         (M_LN10l): Likewise.
10134         (M_PIl): Likewise.
10135         (M_PI_2l): Likewise.
10136         (M_PI_4l): Likewise.
10137         (M_1_PIl): Likewise.
10138         (M_2_PIl): Likewise.
10139         (M_2_SQRTPIl): Likewise.
10140         (M_SQRT2l): Likewise.
10141         (M_SQRT1_2l): Likewise.
10143 2012-05-31  David S. Miller  <davem@davemloft.net>
10145         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10146         values between float registers.
10147         * sysdeps/sparc/sparc64/memset.S: Likewise.
10148         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10150 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10152         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10153         -D_FORTIFY_SOURCE=1.
10154         (CPPFLAGS-tst-longjmp_chk.c): Define.
10155         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10156         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10157         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10158         CFLAGS-tst-wchar-h.c.
10160 2012-05-31  Marek Polacek  <polacek@redhat.com>
10162         [BZ #14132]
10163         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10164         __endmntent_internal): Remove declaration.
10165         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10166         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10167         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10169 2012-05-30  David S. Miller  <davem@davemloft.net>
10171         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10172         (___Q_simulate_exceptions): Use real FP ops rather than writing
10173         into the %fsr.
10174         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10175         Likewise.
10177 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10179         [BZ #14117]
10180         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10181         * sysdeps/x86/bits/xtitypes.h: This.
10183         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10184         * sysdeps/x86/bits/wordsize.h: This.
10186         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10187         * sysdeps/x86/bits/huge_vall.h: This.
10189         * sysdeps/i386/bits/select.h: Removed.
10190         * sysdeps/x86_64/bits/select.h: Renamed to ...
10191         * sysdeps/x86/bits/select.h: This.
10193         * sysdeps/i386/bits/setjmp.h: Removed.
10194         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10195         * sysdeps/x86/bits/setjmp.h: This.
10197         * sysdeps/i386/bits/mathdef.h: Removed.
10198         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10199         * sysdeps/x86/bits/mathdef.h: This.
10201 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10203         [BZ #14132]
10204         * include/sys/socket.h (__connect_internal)
10205         (__libc_sa_len_internal): Remove declaration.
10206         (__connect, __libc_sa_len): Declare hidden_proto.
10207         (SA_LEN): Remove use of INTUSE.
10208         * socket/connect.c: Add libc_hidden_def.
10209         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10210         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10211         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10212         alias.
10213         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10214         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10215         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10216         of adding _internal alias.
10218 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10220         [BZ #14117]
10221         * sysdeps/i386/bits/link.h: Removed.
10222         * sysdeps/i386/bits/linkmap.h: Likewise.
10223         * sysdeps/x86_64/bits/link.h: Renamed to ...
10224         * sysdeps/x86/bits/link.h: This.
10225         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10226         * sysdeps/x86/bits/linkmap.h: This.
10228         * sysdeps/i386/bits/endian.h: Removed.
10229         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10230         * sysdeps/x86/bits/endian.h: This.
10232         * sysdeps/i386/bits/byteswap.h: Removed.
10233         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10234         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10235         * sysdeps/x86/bits/byteswap.h: This.
10236         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10237         * sysdeps/x86/bits/byteswap-16.h: This.
10238         * sysdeps/i386/Implies: Add x86.
10239         * sysdeps/x86_64/Implies: Likewise.
10241 2012-05-30  David S. Miller  <davem@davemloft.net>
10243         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10244         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10245         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10246         (FP_TRAPPING_EXCEPTIONS): Define.
10247         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10248         (FP_TRAPPING_EXCEPTIONS): Define.
10249         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10250         subnormals only when inexact has been signalled or underflow
10251         exceptions are enabled.
10252         (_FP_PACK_CANONICAL): Likewise.
10254 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10256         [BZ #14183]
10257         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10258         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10260 2012-05-30  Richard Henderson  <rth@twiddle.net>
10262         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10263         with #ifndef NOT_IN_libc.
10265         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10266         marked to avoid plt entry.
10268 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10270         [BZ #14112]
10271         * Makeconfig (default-abi): New macro.
10272         (abi-includes): Likewise.
10273         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10274         $(abi-$(default-abi)-lib-soname) for soname if defined.
10275         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10276         abi-variants.
10277         * Makefile (installed-stubs): Likewise.
10278         * include/stubs-biarch.h: Removed.
10279         * scripts/lib-names.awk: Only handle one library at a time.
10280         * scripts/soversions.awk: Remove WORDSIZE support.
10281         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10282         entries.
10283         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10284         Removed.
10285         (syscall-list-default-condition): Likewise.
10286         (syscall-list-default-condition): Likewise.
10287         (syscall-list-includes): Likewise.
10288         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10289         syscall-list-* with abi-*.  Handle undefined abi-variants.
10290         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10291         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10292         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10293         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10294         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10295         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10296         Removed.
10297         (syscall-list-32-options): Likewise.
10298         (syscall-list-32-condition): Likewise.
10299         (syscall-list-64-options): Likewise.
10300         (syscall-list-64-condition): Likewise.
10301         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10302         macro.
10303         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10304         Renamed to ...
10305         (abi-*): This.
10306         (abi-64-ld-soname): New macro.
10307         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10308         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10309         Renamed to ...
10310         (abi-*): This.
10311         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10312         * sysdeps/x86_64/x32/shlib-versions: Likewise.
10314 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
10316         * sysdeps/unix/sysv/linux/kernel-features.h
10317         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10318         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10319         include <kernel-features.h>.
10320         [!__NR_ftruncate64]: Remove conditional code.
10321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10322         [__NR_ftruncate64]: Make code unconditional.
10323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10324         * sysdeps/unix/sysv/linux/truncate64.c: Do not
10325         include <kernel-features.h>.
10326         [!__NR_ftruncate64]: Remove conditional code.
10327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10328         [__NR_ftruncate64]: Make code unconditional.
10329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10331         include <kernel-features.h>.
10332         [!__NR_ftruncate64]: Remove conditional code.
10333         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10334         [__NR_ftruncate64]: Make code unconditional.
10335         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10337         include <kernel-features.h>.
10338         [!__NR_ftruncate64]: Remove conditional code.
10339         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10340         [__NR_ftruncate64]: Make code unconditional.
10341         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10343         * configure.in (libc_cv_fpie): Weaken to a compile test using
10344         LIBC_TRY_CC_OPTION.
10345         * configure: Regenerated.
10347 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10353         Refreshed.
10354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10360         Refreshed.
10362 2012-05-27  David S. Miller  <davem@davemloft.net>
10364         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10365         (___Q_zero): New.
10366         (__Q_simulate_exceptions): Return void.  Change to simulate
10367         exceptions by writing into the %fsr.
10368         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10369         (__Qp_handle_exceptions): Likewise.
10370         (numbers): Delete.
10371         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10372         __Qp_handle_exceptions.
10373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10374         __Qp_handle_exceptions.
10375         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10376         as unused and give dummy FP_RND_NEAREST initializer.
10377         (FP_INHIBIT_RESULTS): Define.
10378         (___Q_simulate_exceptions): Update declaration.
10379         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10380         formatting.
10381         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10382         as unused and give dummy FP_RND_NEAREST initializer.
10383         (__Qp_handle_exceptions): Update declaration.
10384         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10385         formatting.
10387 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
10389         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10390         the temporary FPU control word.
10391         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10392         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10393         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10394         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10395         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10396         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10397         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10398         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10399         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10400         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10401         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10403 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10405         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10406         fields.
10408 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
10410         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10411         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10412         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10413         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10414         Likewise.
10415         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10416         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10417         Likewise.
10419 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
10421         * po/h.po: Update from translation team.
10423 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
10425         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10427         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10428         handling of denormals.
10429         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10430         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10431         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10432         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10433         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10434         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10436         Likewise.
10438 2012-05-26  Marek Polacek  <polacek@redhat.com>
10440         [BZ #14152]
10441         * math/libm-test.inc (fma_test): Don't always expect underflow
10442         exception.
10444 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10446         [BZ #12416]
10447         * elf/tst-execstack.c: Include stackinfo.h.
10448         (do_test): Adjust test case to ensure that pthread_getattr_np
10449         behaviour remains the same after marking stack executable.
10451 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10453         * sysdeps/unix/sysv/linux/kernel-features.h
10454         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10455         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10456         kernel-features.h.
10457         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10458         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10459         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10460         kernel-features.h.
10461         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10462         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10464 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
10466         * configure.in: Define the default includes to being none.
10467         * configure: Regenerated.
10469 2012-05-25  Roland McGrath  <roland@hack.frob.com>
10471         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10472         * sysdeps/x86_64/setjmp.S: Likewise.
10473         * sysdeps/i386/bsd-setjmp.S: Likewise.
10474         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10475         * sysdeps/i386/setjmp.S: Likewise.
10476         * sysdeps/i386/__longjmp.S: Likewise.
10477         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10478         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10480         * include/stap-probe.h: New file.
10481         * configure.in: Handle --enable-systemtap.
10482         * configure: Regenerated.
10483         * config.h.in (USE_STAP_PROBE): New #undef.
10484         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10485         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10486         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10488 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10490         [BZ #13717]
10491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10492         to 2.4.0 where earlier.
10493         * sysdeps/unix/sysv/linux/configure: Regenerated.
10494         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10495         <kernel-features.h>.
10496         [__ASSUME_32BITUIDS]: Make code unconditional.
10497         [!__ASSUME_32BITUIDS]: Remove conditional code.
10498         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10499         <kernel-features.h>.
10500         [__ASSUME_32BITUIDS]: Make code unconditional.
10501         [!__ASSUME_32BITUIDS]: Remove conditional code.
10502         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10503         [__ASSUME_32BITUIDS]: Make code unconditional.
10504         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10505         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
10506         <kernel-features.h>.
10507         [__ASSUME_32BITUIDS]: Make code unconditional.
10508         [!__ASSUME_32BITUIDS]: Remove conditional code.
10509         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
10510         <kernel-features.h>.
10511         [__ASSUME_32BITUIDS]: Make code unconditional.
10512         [!__ASSUME_32BITUIDS]: Remove conditional code.
10513         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
10514         <kernel-features.h>.
10515         [__ASSUME_32BITUIDS]: Make code unconditional.
10516         [!__ASSUME_32BITUIDS]: Remove conditional code.
10517         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
10518         <kernel-features.h>.
10519         [__ASSUME_32BITUIDS]: Make code unconditional.
10520         [!__ASSUME_32BITUIDS]: Remove conditional code.
10521         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10522         <kernel-features.h>.
10523         [__ASSUME_32BITUIDS]: Make code unconditional.
10524         [!__ASSUME_32BITUIDS]: Remove conditional code.
10525         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10526         <kernel-features.h>.
10527         [__ASSUME_32BITUIDS]: Make code unconditional.
10528         [!__ASSUME_32BITUIDS]: Remove conditional code.
10529         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10530         <kernel-features.h>.
10531         [__ASSUME_32BITUIDS]: Make code unconditional.
10532         [!__ASSUME_32BITUIDS]: Remove conditional code.
10533         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10534         <kernel-features.h>.
10535         [__ASSUME_32BITUIDS]: Make code unconditional.
10536         [!__ASSUME_32BITUIDS]: Remove conditional code.
10537         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10538         <kernel-features.h>.
10539         [__ASSUME_32BITUIDS]: Make code unconditional.
10540         [!__ASSUME_32BITUIDS]: Remove conditional code.
10541         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10542         <kernel-features.h>.
10543         [__ASSUME_32BITUIDS]: Make code unconditional.
10544         [!__ASSUME_32BITUIDS]: Remove conditional code.
10545         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10546         <kernel-features.h>.
10547         [__NR_setresgid] (__setresgid): Do not declare.
10548         [__ASSUME_32BITUIDS]: Make code unconditional.
10549         [!__ASSUME_32BITUIDS]: Remove conditional code.
10550         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10551         <kernel-features.h>.
10552         [__NR_setresuid] (__setresuid): Do not declare.
10553         [__ASSUME_32BITUIDS]: Make code unconditional.
10554         [!__ASSUME_32BITUIDS]: Remove conditional code.
10555         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
10556         <kernel-features.h>.
10557         [__ASSUME_32BITUIDS]: Make code unconditional.
10558         [!__ASSUME_32BITUIDS]: Remove conditional code.
10559         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
10560         <kernel-features.h>.
10561         [__ASSUME_32BITUIDS]: Make code unconditional.
10562         [!__ASSUME_32BITUIDS]: Remove conditional code.
10563         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
10564         <kernel-features.h>.
10565         [__ASSUME_32BITUIDS]: Make code unconditional.
10566         [!__ASSUME_32BITUIDS]: Remove conditional code.
10567         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
10568         <kernel-features.h>.
10569         [__ASSUME_32BITUIDS]: Make code unconditional.
10570         [!__ASSUME_32BITUIDS]: Remove conditional code.
10571         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10572         <kernel-features.h>.
10573         [__ASSUME_32BITUIDS]: Make code unconditional.
10574         [!__ASSUME_32BITUIDS]: Remove conditional code.
10575         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10576         <kernel-features.h>.
10577         [__ASSUME_32BITUIDS]: Make code unconditional.
10578         [!__ASSUME_32BITUIDS]: Remove conditional code.
10579         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10580         <kernel-features.h>.
10581         [__ASSUME_32BITUIDS]: Make code unconditional.
10582         [!__ASSUME_32BITUIDS]: Remove conditional code.
10583         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10584         <kernel-features.h>.
10585         [__ASSUME_32BITUIDS]: Make code unconditional.
10586         [!__ASSUME_32BITUIDS]: Remove conditional code.
10587         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10588         <kernel-features.h>.
10589         [__ASSUME_32BITUIDS]: Make code unconditional.
10590         [!__ASSUME_32BITUIDS]: Remove conditional code.
10591         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10592         <kernel-features.h>.
10593         [__ASSUME_32BITUIDS]: Make code unconditional.
10594         [!__ASSUME_32BITUIDS]: Remove conditional code.
10595         * sysdeps/unix/sysv/linux/kernel-features.h
10596         (__ASSUME_SETRESUID_SYSCALL): Remove.
10597         (__ASSUME_SETRESGID_SYSCALL): Likewise.
10598         (__ASSUME_32BITUIDS): Likewise.
10599         (__ASSUME_LDT_WORKS): Likewise.
10600         (__ASSUME_O_DIRECTORY): Likewise.
10601         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10602         architecture but not kernel version.
10603         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10604         (__ASSUME_MMAP2_SYSCALL): Likewise.
10605         (__ASSUME_STAT64_SYSCALL): Likewise.
10606         (__ASSUME_IPC64): Likewise.
10607         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10608         <kernel-features.h>.
10609         [__ASSUME_32BITUIDS]: Make code unconditional.
10610         [!__ASSUME_32BITUIDS]: Remove conditional code.
10611         * sysdeps/unix/sysv/linux/opendir.c: Do not include
10612         <kernel-features.h>.
10613         [__ASSUME_O_DIRECTORY]: Make code unconditional.
10614         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10615         132096]: Remove conditional code.
10616         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10617         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10618         <kernel-features.h>.
10619         [__ASSUME_32BITUIDS]: Make code unconditional.
10620         [!__ASSUME_32BITUIDS]: Remove conditional code.
10621         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10622         <kernel-features.h>.
10623         [__ASSUME_32BITUIDS]: Make code unconditional.
10624         [!__ASSUME_32BITUIDS]: Remove conditional code.
10625         * sysdeps/unix/sysv/linux/setegid.c: Do not include
10626         <kernel-features.h>.
10627         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10628         unconditional.
10629         (__setresgid): Do not declare.
10630         [__ASSUME_32BITUIDS]: Make code unconditional.
10631         [!__ASSUME_32BITUIDS]: Remove conditional code.
10632         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10633         <kernel-features.h>.
10634         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10635         unconditional.
10636         (__setresuid): Do not declare.
10637         [__ASSUME_32BITUIDS]: Make code unconditional.
10638         [!__ASSUME_32BITUIDS]: Remove conditional code.
10639         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10640         <kernel-features.h>.
10641         [__ASSUME_32BITUIDS]: Make code unconditional.
10642         [!__ASSUME_32BITUIDS]: Remove conditional code.
10643         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10644         <kernel-features.h>.
10645         [__ASSUME_32BITUIDS]: Make code unconditional.
10646         [!__ASSUME_32BITUIDS]: Remove conditional code.
10648 2012-05-25  Richard Henderson  <rth@twiddle.net>
10650         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10651         dl_hwcap to ifunc resolver.
10652         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10653         elf_ifunc_invoke.
10654         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10655         dl_hwcap to ifunc resolver.
10656         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10658 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #14153]
10661         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10662         for |x| <= 2**-26, not 2**-57.
10663         * math/libm-test.inc (acos_test): Do not allow spurious underflow
10664         exception.
10666 2012-05-24  Jeff Law  <law@redhat.com>
10668         * stdio-common/Makefile (tests): Add bug25.
10669         * stdio-common/bug25.c: New test.
10671 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10673         [BZ #13576]
10674         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10675         multiple of MALLOC_ALIGNMENT in size.
10676         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10678 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10680         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10681         Require >= 256.
10682         (FILENAME_MAX): Use macro-int-constant.
10683         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
10684         (_IOFBF): Use macro-int-constant.
10685         (_IOLBF): Likewise.
10686         (_IONBF): Likewise.
10687         (SEEK_CUR): Likewise.
10688         (SEEK_END): Likewise.
10689         (SEEK_SET): Likewise.
10690         (TMP_MAX): Likewise.
10691         (EOF): Use macro-int-constant.  Require < 0.
10692         (NULL): Use macro-constant.  Require == 0.
10693         (stdin): Require type to be FILE *.
10694         (stdout): Likewise.
10695         (stderr): Likewise.
10696         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10697         macro-int-constant.
10698         (EXIT_SUCCESS): Likewise.
10699         (NULL): Use macro-constant.  Require == 0.
10700         (RAND_MAX): Use macro-int-constant.
10701         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10702         [C99-based standards] (strtof): Require function.
10703         [C99-based standards] (strtold): Likewise.
10704         [C99-based standards] (strtoll): Likewise.
10705         [C99-based standards] (strtoull): Likewise.
10706         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10707         [ISO || ISO99 || ISO11] (limits.h): Likewise.
10708         [ISO || ISO99 || ISO11] (math.h): Likewise.
10709         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10710         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10711         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10713 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
10715         [BZ #14132]
10716         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10717         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10718         * intl/dgettext.c (DCGETTEXT): Likewise.
10719         * intl/gettext.c (DCGETTEXT): Likewise.
10720         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10721         * posix/regex_internal.h (gettext): Likewise.
10722         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10723         Remove declaration.
10724         * include/argz.h (__argz_count_internal)
10725         (__argz_stringify_internal): Remove declaration.
10726         (__argz_count, __argz_stringify): Declare hidden proto.
10727         * intl/dcgettext.c: Remove use of INTDEF.
10728         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10729         * string/argz-stringify.c: Likewise.
10730         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10731         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10732         Declare hidden proto.
10733         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10734         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10735         Declare hidden proto.
10736         * include/stdio.h (__asprintf_internal): Don't declare.
10737         (__asprintf): Don't define as macro.  Declare hidden proto.
10738         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10739         (__fsetlocking): Declare hidden proto.
10740         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10741         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10742         hidden proto.
10743         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10744         (_IO_setlinebuf): Remove use of INTUSE.
10745         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10746         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10747         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10748         Remove declaration.
10749         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10750         (_IO_do_flush): Remove use of INTUSE.
10751         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10752         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10753         (_IO_adjust_column, _IO_least_wmarker)
10754         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10755         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10756         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10757         (_IO_default_doallocate, _IO_wdefault_doallocate)
10758         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10759         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10760         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10761         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10762         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10763         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10764         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10765         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10766         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10767         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10768         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10769         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10770         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10771         proto.
10772         (_IO_flush_all_internal, _IO_adjust_column_internal)
10773         (_IO_default_uflow_internal, _IO_default_finish_internal)
10774         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10775         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10776         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10777         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10778         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10779         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10780         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10781         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10782         (_IO_file_close_internal, _IO_file_close_it_internal)
10783         (_IO_file_underflow_internal, _IO_file_overflow_internal)
10784         (_IO_file_init_internal, _IO_file_attach_internal)
10785         (_IO_file_fopen_internal, _IO_file_read_internal)
10786         (_IO_file_sync_internal, _IO_file_seek_internal)
10787         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10788         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10789         (_IO_str_underflow_internal, _IO_str_overflow_internal)
10790         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10791         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10792         (_IO_list_all_internal, _IO_link_in_internal)
10793         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10794         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10795         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10796         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10797         (_IO_do_write_internal, _IO_padn_internal)
10798         (_IO_getline_info_internal, _IO_getline_internal)
10799         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10800         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10801         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10802         (_IO_vfscanf_internal, _IO_vfprintf_internal)
10803         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10804         (_IO_init_internal, _IO_un_link_internal): Don't declare.
10805         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10806         with libc_hidden_ver, remove use of INTUSE.
10807         * libio/genops.c: Likewise.
10808         * libio/freopen.c: Likewise.
10809         * libio/freopen64.c: Likewise.
10810         * libio/iofclose.c: Likewise.
10811         * libio/iofdopen.c: Likewise.
10812         * libio/iofflush.c: Likewise.
10813         * libio/iofflush_u.c: Likewise.
10814         * libio/iofgets.c: Likewise.
10815         * libio/iofgets_u.c: Likewise.
10816         * libio/iofopen.c: Likewise.
10817         * libio/iofopncook.c: Likewise.
10818         * libio/iofread.c: Likewise.
10819         * libio/iofread_u.c: Likewise.
10820         * libio/ioftell.c: Likewise.
10821         * libio/iofwrite.c: Likewise.
10822         * libio/iogetline.c: Likewise.
10823         * libio/iogets.c: Likewise.
10824         * libio/iogetwline.c: Likewise.
10825         * libio/iopadn.c: Likewise.
10826         * libio/iopopen.c: Likewise.
10827         * libio/ioseekoff.c: Likewise.
10828         * libio/ioseekpos.c: Likewise.
10829         * libio/iosetbuffer.c: Likewise.
10830         * libio/iosetvbuf.c: Likewise.
10831         * libio/ioungetc.c: Likewise.
10832         * libio/ioungetwc.c: Likewise.
10833         * libio/iovdprintf.c: Likewise.
10834         * libio/iovsprintf.c: Likewise.
10835         * libio/iovsscanf.c: Likewise.
10836         * libio/memstream.c: Likewise.
10837         * libio/obprintf.c: Likewise.
10838         * libio/oldfileops.c: Likewise.
10839         * libio/oldiofclose.c: Likewise.
10840         * libio/oldiofdopen.c: Likewise.
10841         * libio/oldiofopen.c: Likewise.
10842         * libio/oldiopopen.c: Likewise.
10843         * libio/oldstdfiles.c: Likewise.
10844         * libio/putc.c: Likewise.
10845         * libio/setbuf.c: Likewise.
10846         * libio/setlinebuf.c: Likewise.
10847         * libio/stdfiles.c: Likewise.
10848         * libio/strops.c: Likewise.
10849         * libio/vasprintf.c: Likewise.
10850         * libio/vscanf.c: Likewise.
10851         * libio/vsnprintf.c: Likewise.
10852         * libio/vswprintf.c: Likewise.
10853         * libio/wfiledoalloc.c: Likewise.
10854         * libio/wfileops.c: Likewise.
10855         * libio/wgenops.c: Likewise.
10856         * libio/wmemstream.c: Likewise.
10857         * libio/wstrops.c: Likewise.
10858         * libio/__fpurge.c: Likewise.
10859         * libio/__fsetlocking.c: Likewise.
10860         * assert/assert.c: Likewise.
10861         * debug/fgets_chk.c: Likewise.
10862         * debug/fgets_u_chk.c: Likewise.
10863         * debug/fread_chk.c: Likewise.
10864         * debug/fread_u_chk.c: Likewise.
10865         * debug/gets_chk.c: Likewise.
10866         * debug/obprintf_chk.c: Likewise.
10867         * debug/vasprintf_chk.c: Likewise.
10868         * debug/vdprintf_chk.c: Likewise.
10869         * debug/vsnprintf_chk.c: Likewise.
10870         * debug/vsprintf_chk.c: Likewise.
10871         * malloc/mtrace.c: Likewise.
10872         * misc/error.c: Likewise.
10873         * misc/syslog.c: Likewise.
10874         * stdio-common/asprintf.c: Likewise.
10875         * stdio-common/fxprintf.c: Likewise.
10876         * stdio-common/getw.c: Likewise.
10877         * stdio-common/isoc99_fscanf.c: Likewise.
10878         * stdio-common/isoc99_scanf.c: Likewise.
10879         * stdio-common/isoc99_vfscanf.c: Likewise.
10880         * stdio-common/isoc99_vscanf.c: Likewise.
10881         * stdio-common/isoc99_vsscanf.c: Likewise.
10882         * stdio-common/printf-prs.c: Likewise.
10883         * stdio-common/printf_fp.c: Likewise.
10884         * stdio-common/printf_fphex.c: Likewise.
10885         * stdio-common/printf_size.c: Likewise.
10886         * stdio-common/putw.c: Likewise.
10887         * stdio-common/scanf.c: Likewise.
10888         * stdio-common/sprintf.c: Likewise.
10889         * stdio-common/tmpfile.c: Likewise.
10890         * stdio-common/vfprintf.c: Likewise.
10891         * stdio-common/vfscanf.c: Likewise.
10892         * stdlib/strfmon_l.c: Likewise.
10893         * sunrpc/openchild.c: Likewise.
10894         * sunrpc/xdr_stdio.c: Likewise.
10895         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10896         * sysdeps/mach/hurd/tmpfile.c: Likewise.
10898 2012-05-24  Roland McGrath  <roland@hack.frob.com>
10900         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10902         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10903         in the third column, to generate for the shared library an IFUNC
10904         that uses _dl_vdso_vsym.
10905         * Makerules (COMPILE.c, compile-stdin.c): New variables.
10906         * Makeconfig (object-suffixes-noshared): New variable.
10908         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10909         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10910         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10911         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10913         [BZ #14132]
10914         * include/sys/time.h (__gettimeofday): Remove macro.
10915         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10916         * time/gettimeofday.c (__gettimeofday): Remove #undef.
10917         Remove INTDEF.
10918         (__gettimeofday): Add libc_hidden_def.
10919         (gettimeofday): Add libc_hidden_weak.
10920         * sysdeps/mach/gettimeofday.c: Likewise.
10921         * sysdeps/posix/gettimeofday.c: Likewise.
10922         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10923         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10925         (__gettimeofday_internal): Remove strong_alias.
10926         (__gettimeofday): Add libc_hidden_def.
10927         (gettimeofday): Add libc_hidden_weak.
10928         * sysdeps/unix/syscalls.list (gettimeofday):
10929         Remove __gettimeofday_internal alias.
10931 2012-05-24  Daniel Jacobowitz  <drow@false.org>
10932             H.J. Lu  <hongjiu.lu@intel.com>
10934         [BZ #12495]
10935         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10936         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10937         (largebin_index_32_big): New.
10938         (largebin_index): Use it for 16-byte alignment.
10939         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
10940         correction with front_misalign.
10942 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10946         Likewise.
10947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10948         Likewise.
10949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10950         Likewise.
10951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10952         Likewise.
10953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10954         Likewise.
10955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10956         Likewise.
10957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10958         Likewise.
10959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10960         Likewise.
10961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10962         Likewise.
10963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10964         Likewise.
10965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10966         Likewise.
10967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10968         Likewise.
10970         * scripts/data/c++-types-x32-linux-gnu.data: New file.
10971         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10973 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10975         [BZ #10846]
10976         [BZ #14036]
10977         * math/libm-test.inc (exp_test): Add test from bug 14036.
10978         (pow_test): Add test from bug 10846.
10980         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10981         and other flags.
10982         (special_function): Do not include flags in test name.
10983         (parse_args): Likewise.
10984         * sysdeps/i386/fpu/libm-test-ulps: Update.
10985         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10986         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10987         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990         * math/gen-libm-test.pl (%beautify): Add entries for underflow
10991         exceptions.
10992         * math/libm-test.inc ("Philosophy"): Update comment about
10993         exception testing.
10994         (UNDERFLOW_EXCEPTION): New macro.
10995         (UNDERFLOW_EXCEPTION_OK): Likewise.
10996         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10997         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10998         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10999         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11000         (INVALID_EXCEPTION_OK): Update value.
11001         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11002         (OVERFLOW_EXCEPTION_OK): Likewise.
11003         (IGNORE_ZERO_INF_SIGN): Likewise.
11004         (test_exceptions): Handle underflow exceptions.
11005         (acos_test): Update for underflow exception expectations.
11006         (cexp_test): Likewise.
11007         (clog_test): Likewise.
11008         (clog10_test): Likewise.
11009         (csqrt_test): Likewise.
11010         (ctan_test): Likewise.
11011         (ctanh_test): Likewise.
11012         (exp_test): Likewise.
11013         (exp10_test): Likewise.
11014         (exp2_test): Likewise.
11015         (expm1_test): Likewise.
11016         (fma_test): Likewise.
11017         (j0_test): Likewise.
11018         (jn_test): Likewise.
11019         (nexttoward_test): Likewise.
11020         (pow_test): Likewise.
11021         (scalbn_test): Likewise.
11022         (scalbln_test): Likewise.
11023         (tan_test): Likewise.
11024         (y1_test): Likewise.
11025         * sysdeps/i386/fpu/libm-test-ulps: Update.
11026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028 2012-05-23  David S. Miller  <davem@davemloft.net>
11030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11031         (__libc_sigaction): Remove unused local variables.
11033 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11035         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11037 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11039         mktime: avoid signed integer overflow
11040         * time/mktime.c (__mktime_internal): Do not mishandle the case
11041         where diff == INT_MIN.
11043         mktime: simplify computation of average
11044         * time/mktime.c (ranged_convert): Use new time_t_avg function
11045         instead of rolling our own (probably-slower) code.
11047         mktime: do not assume signed right shift propagates sign bit
11048         * time/mktime.c (isdst_differ): New static function.
11049         (__mktime_internal): No need to normalize tm_isdst now.
11050         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11051         tm_isdst values.
11053         mktime: merge another wrapv change from gnulib
11054         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11055         from some compilers.
11057         mktime: remove incorrect attempt at unusual arithmetics
11058         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11059         The code didn't really work on such machines anyway.
11060         (TYPE_MINIMUM): Assume two's complement.
11061         (twos_complement_arithmetic): Verify that long_int and time_t
11062         are two's complement (or unsigned, in the latter case).
11064         mktime: check signed shifts on long_int and time_t, too
11065         * time/mktime.c (SHR): Check that shifts work as desired
11066         on the types long_int and time_t too, as SHR is used on
11067         such types.
11069         mktime: do not assume 'long' is wide enough
11070         * time/mktime.c (verify): Move decl up.
11071         (long_int): New type.
11072         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11073         to remove assumption in the code that 'long' is wide enough to
11074         store year values.  This assumption is not true on x32 and on
11075         some non-glibc platforms.
11077         mktime: merge wrapv change from gnulib
11078         * time/mktime.c (WRAPV): New macro.
11079         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11080         (guess_time_tm, __mktime_internal): Do not assume that signed
11081         integer overflow wraps around; modern compilers generate code
11082         where this assumption is no longer valid.
11084 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11086         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11087         Replace "jmp L(pseudo_end)" with "ret".
11088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11089         Likewise.
11091 2012-05-23  Andreas Jaeger  <aj@suse.de>
11093         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11094         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11096 2012-05-23  Andreas Jaeger  <aj@suse.de>
11097             Maximilian Attems  <max@stro.at>
11099         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11100         New macros.
11102 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11104         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11105         code so that pseudo_end is just ret and the stack pointer is
11106         correct also for static library in error case.
11108 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11110         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11111         move to syscalls.list.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11117         * manual/install.texi (Running make install): Do not mention Linux
11118         kernel version for which pt_chown is not needed.
11119         (Linux): Do not mention problems with nscd with 2.0 kernels.
11120         * INSTALL: Regenerated.
11122 2012-05-23  Andreas Jaeger  <aj@suse.de>
11124         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11125         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11126         macro.
11127         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11129         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11131         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11133         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11134         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11135         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11136         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11137         * sysdeps/unix/sysv/linux/bits/in.h
11138         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11140 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11142         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11143         (PREPARE_VERSION): Just use assert instead, it will be elided
11144         under [NDEBUG] anyway.
11146 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11148         * sysdeps/unix/sysv/linux/Makefile: Include
11149         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11150         (sysdep_routines): Remove sysctl.
11151         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11152         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11153         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11154         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11155         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11157 2012-05-22  Andreas Jaeger  <aj@suse.de>
11159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11160         that pseudo_end is just ret and the stack pointer is correct also
11161         for static library in error case.
11163 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11165         [BZ #14122]
11166         * nss/nsswitch.c (defconfig_entries): New variable.
11167         (__nss_database_lookup): Don't leak defconfig entries.
11168         (nss_parse_service_list): Don't leak on error paths.
11169         (free_database_entries): New function.
11170         (free_defconfig): New function.
11171         (free_mem): Move common code to free_database_entries.
11173 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11175         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11176         Add arch_prctl.
11177         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11179         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11180         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11182         New macro.
11183         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11184         (INTERNAL_SYSCALL_TYPES): Likewise.
11185         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11186         (LOAD_REGS_TYPES_[1-6]): Likewise.
11187         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11188         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11190 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11192         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11193         copysignl for GLIBC_2_0.
11194         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11195         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11197         logbl for GLIBC_2_0.
11198         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11199         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11201 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11203         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11204         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11206         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11207         Use "neg %eax".
11209         * time/mktime.c: Update copyright years.
11211 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11213         mktime: merge comment-quoting-style change from gnulib
11214         * time/mktime.c: Quote 'like this' in comments.
11215         The GNU coding standards suggest that we no longer quote `like this',
11216         as "`" and "'" are typically rendered asymmetrically nowadays.
11217         The typical gnulib style is to quote 'like this' when quoting
11218         code, and "like this" when quoting English.
11220         * time/mktime.c (compile-command): Add "-I.".
11222         mktime: merge mktime-internal.h change from gnulib
11223         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11225         mktime: merge time_r change from gnulib
11226         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11228         mktime: merge DEBUG change from gnulib
11229         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11230         case system <time.h> has a #define.
11232         mktime: merge <sys/types.h> change from gnulib
11233         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11234         since <time.t> is now guaranteed to define time_t.
11236         mktime: merge HAVE_CONFIG_H change from gnulib
11237         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11239 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11242         Use "neg %eax".
11244         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11245         __rlim_t cast.
11246         (struct rusage): Use anonymous union to pad each field to
11247         __syscall_slong_t.
11249 2012-05-21  David S. Miller  <davem@davemloft.net>
11251         * Makefules (o-iterator): Remove .s cases.
11252         (compile-command.s): Delete.
11253         (COMPILE.s): Delete.
11254         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11256 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11258         * configure.in (libc_cv_predef_stack_protector): Only consider
11259         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11260         * configure: Regenerated.
11262 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11265         New macro.  Use R*LP on int and pointer.
11266         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11267         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11268         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11269         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11271         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11272         [__WORDSIZE_TIME64_COMPAT32] instead of
11273         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11274         (struct utmp): Likewise.
11275         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11276         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11277         Renamed to ...
11278         (__WORDSIZE_TIME64_COMPAT32): This.
11279         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11280         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11281         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11282         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11283         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11284         (__WORDSIZE_TIME64_COMPAT32): New macro.
11286 2012-05-21  Andreas Jaeger  <aj@suse.de>
11288         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11289         only if [SHARED]. Add prototype for __wcschr_ia32.
11291 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11293         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11294         of %rbp unmolested in the jmp_buf while mangling the low bits.
11295         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11296         unmolested high bits of %rbp while demangling the low bits.
11297         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11299 2012-05-21  Andreas Jaeger  <aj@suse.de>
11301         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11302         * sunrpc/svc_simple.c: Use it for registerrpc.
11303         * sunrpc/xcrypt.c: Use it for passwd2des.
11305         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11307 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11309         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11310         Don't define if [__SYSCALL_WORDSIZE != 32].
11311         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11312         New macro.
11314 2012-05-21  Bruno Haible  <bruno@clisp.org>
11315             Andreas Jaeger  <aj@suse.de>
11317         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11318         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11319         inptr and inend for must_buffer_ch.
11320         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11321         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11322         * stdio-common/Makefile (tests): Remove bug15.
11323         (bug15-ENV): Remove macro.
11324         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11325         anymore.
11327 2012-05-19  Andreas Jaeger  <aj@suse.de>
11328             Roland McGrath  <roland@hack.frob.com>
11330         * manual/contrib.texi: Completely rewritten. It contains now an
11331         alphabetical list of contributors and their contributions.
11333 2012-05-21  Richard Henderson  <rth@twiddle.net>
11335         * misc/getauxval.c (__getauxval): Use unsigned long int.
11336         * misc/sys/auxv.h: Include <sys/cdefs.h>.
11337         (getauxval): Use unsigned long int.
11339 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11341         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11343 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11345         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11346         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11347         __alignof__ (long double).
11349 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11353 2012-05-20  Richard Henderson  <rth@twiddle.net>
11355         * misc/getauxval.c: New file.
11356         * misc/sys/auxv.h: New file.
11357         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11358         (routines): Add getauxval.
11359         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11360         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11361         * elf/dl-sysdep.c (_dl_auxv): Remove.
11362         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11363         * elf/dl-support.c (_dl_auxv): New variable.
11364         (_dl_aux_init): Initialize it.
11365         * manual/startup.texi (Auxiliary Vector): New node.
11366         * sysdeps/generic/bits/hwcap.h: New file.
11367         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11368         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
11369         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11370         * sysdeps/sparc/sysdep.h: ... here.  Include it.
11371         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11372         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11374         Update.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11378         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11384 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11388 2012-05-19  David S. Miller  <davem@davemloft.net>
11390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11392 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11394         [BZ #14123]
11395         * math/s_ccosh.c: Include <float.h>
11396         (__ccosh): Avoid internal overflow calculating sinh and cosh
11397         values before multiplying by sin and cos values.
11398         * math/s_ccoshf.c: Likewise.
11399         * math/s_ccoshl.c: Likewise.
11400         * math/s_csin.c: Likewise.
11401         * math/s_csinf.c: Likewise.
11402         * math/s_csinl.c: Likewise.
11403         * math/s_csinh.c: Likewise.
11404         * math/s_csinhf.c: Likewise.
11405         * math/s_csinhl.c: Likewise.
11406         * math/libm-test.inc (ccos_test): Add more tests.
11407         (ccosh_test): Likewise.
11408         (csin_test): Likewise.
11409         (csinh_test): Likewise.
11410         * sysdeps/i386/fpu/libm-test-ulps: Update.
11411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11413 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11415         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11416         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11418         * sysdeps/x86_64/x32/_itoa.h: Add comment.
11420 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11422         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11423         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11424         * sysdeps/powerpc/soft-fp/Versions: Likewise.
11425         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11426         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11427         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11428         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11429         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11430         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11431         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11432         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11433         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11434         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11435         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11436         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11437         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11438         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11439         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11440         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11441         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11442         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11443         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11444         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11445         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11446         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11447         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11448         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11449         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11450         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11451         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11452         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11454 2012-05-18  Andreas Jaeger  <aj@suse.de>
11456         * csu/.gitignore: Delete.
11458 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11460         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11461         (timex): Use __syscall_slong_t.
11463 2012-05-18  Andreas Jaeger  <aj@suse.de>
11464             Carlos O'Donell  <carlos_odonell@mentor.com>
11466         * manual/install.texi (Configuring and compiling): Update
11467         description about files modified in the source directory.
11468         * INSTALL: Regenerated.
11470 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11472         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11473         value.  Use "or" to set return value to -1.
11474         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11475         negate return value.
11477 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11479         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11480         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11481         failure if the compiler has Graphite support disabled.
11482         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11483         Likewise.
11484         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11485         CFLAGS-memmove.c): Likewise.
11486         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11487         Likewise.
11489 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11491         * sysdeps/x86_64/x32/_itoa.h: New file.
11493         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11494         getdents system call only if kernel and user dirents have the
11495         same d_ino and d_off.
11497         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11498         LLONG_MAX != LONG_MAX.
11499         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11500         (_fitoa_word): Likewise.
11502         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11503         years.
11504         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11505         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11506         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11508         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11509         include <bits/wordsize.h>.  Check __x86_64__ instead of
11510         __WORDSIZE.
11511         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11512         if __x86_64__ is defined.  Use anonymous union on fpstate.
11514         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11515         anonymous union.
11517 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
11519         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11520         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11521         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11522         Refer to _rtld_local_ro instead of _rtld_global_ro.
11523         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11524         Likewise.
11525         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11526         Likewise.
11527         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11528         Likewise.
11529         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11530         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11531         of _rtld_global, and rtld_progname instead of _dl_argv[0].
11533         * sysdeps/powerpc/powerpc32/dl-machine.c
11534         (__elf_machine_runtime_setup) [PROF]: Don't reference
11535         _dl_prof_resolve.
11537 2012-05-18  Andreas Jaeger  <aj@suse.de>
11539         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11540         function only available for GCCs before 3.4 since GCC 3.4
11541         introduced a builtin.
11542         (lrint): Likewise.
11543         (llrintf): Likewise.
11544         (llrint): Likewise.
11545         (fmaxf): Likewise.
11546         (fmax): Likewise.
11547         (fminf): Likewise.
11548         (fmin): Likewise.
11549         (rint): Likewise.
11550         (rintf): Likewise.
11551         (nearbyint): Likewise.
11552         (nearbyintf): Likewise.
11553         (ceil): Likewise.
11554         (ceilf): Likewise.
11555         (floor): Likewise.
11556         (floorf): Likewise.
11558 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11560         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11561         on both fields and cast pointer to __syscall_ulong_t.
11563         * bits/types.h (__fsword_t): New type.
11564         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11565         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11567         (__FSWORD_T_TYPE): Likewise.
11568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11569         (__FSWORD_T_TYPE): Likewise.
11570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11571         (__FSWORD_T_TYPE): Likewise.
11572         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11573         (__FSWORD_T_TYPE): Likewise.
11574         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11575         __SWORD_TYPE with __fsword_t.
11576         (statfs64): Likewise.
11578 2012-05-17  David S. Miller  <davem@davemloft.net>
11580         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11582 2012-05-17  Andreas Jaeger  <aj@suse.de>
11584         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11585         warning.
11587 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11589         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11591 2012-05-17  Andreas Jaeger  <aj@suse.de>
11593         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11594         when it is used.
11596 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11598         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11600 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11602         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11603         * sysdeps/x86_64/tst-mallocalign1.c: New file.
11605 2012-05-17  Andreas Jaeger  <aj@suse.de>
11606             Carlos O'Donell  <carlos_odonell@mentor.com>
11608         [BZ #14059]
11609         * sysdeps/x86_64/multiarch/init-arch.h
11610         (bit_YMM_Usable): Rename to...
11611         (bit_AVX_Usable): ... this.
11612         (bit_FMA4_Usable): New macro.
11613         (bit_XMM_state): New macro.
11614         (bit_YMM_state): New macro.
11615         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11616         [__ASSEMBLER__] (index_AVX_Usable): ... this.
11617         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11618         (CPUID_OSXSAVE): New macro.
11619         (CPUID_AVX): New macro.
11620         (CPUID_FMA4): New macro.
11621         (index_YMM_Usable): Rename to...
11622         (index_AVX_Usable): ... this.
11623         (HAS_AVX): Use HAS_ARCH_FEATURE.
11624         (HAS_FMA4): Likewise.
11625         (HAS_YMM_USABLE): Remove.
11626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11627         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11628         are present.
11629         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11630         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11631         * sysdeps/x86_64/multiarch/Makefile: Likewise.
11632         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11633         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11635 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11637         * math/libm-test.c: Support platforms without multiple rounding modes.
11638         * math/bug-nextafter.c: Support platforms without FP exceptions.
11639         * math/bug-nexttoward.c: Likewise.
11640         * math/test-fenv.c: Likewise.
11641         * math/test-misc.c: Likewise.
11642         * stdlib/bug-getcontext.c: Likewise.
11644 2012-05-17  Andreas Jaeger  <aj@suse.de>
11646         * manual/examples/search.c (critter_cmp): Change signature to
11647         avoid warnings.
11648         * manual/string.texi (Collation Functions): Likewise.
11650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11652         * bits/types.h: Fold copyright years.
11653         * bits/typesizes.h: Likewise.
11654         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11658         * time/time.h: Likewise.
11660 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
11662         [BZ #208]
11663         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11664         in instead of returning them.  Return void.
11665         (__libc_mallinfo): Accumulate over all arenas.
11666         (__malloc_stats): Adjust for change in int_mallinfo interface.
11668 2012-05-16  Roland McGrath  <roland@hack.frob.com>
11670         [BZ #10375]
11671         * configure.in (NM): Add AC_CHECK_TOOL for it.
11672         (libc_extra_cflags): New substituted variable.
11673         Check for -fstack-protector being used implicitly.
11674         * configure: Regenerated.
11675         * config.make.in (config-extra-cflags): New variable,
11676         gets @libc_extra_cflags@.
11677         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11679         [BZ #10375]
11680         * configure.in: Check for _FORTIFY_SOURCE being predefined.
11681         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11682         * configure: Regenerated.
11683         * config.make.in (CPPUNDEFS): New substituted variable.
11684         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11685         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11686         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11690         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11691         (mq_attr): Use __syscall_slong_t.
11693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11695         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11696         Check __x86_64__ instead of __WORDSIZE.
11697         (_STAT_VER_LINUX): Likewise.
11698         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
11699         __syscall_ulong_t and __syscall_slong_t.
11700         (stat64): Likewise.
11702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11704         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11708         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11712         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11713         __syscall_ulong_t.
11715         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11716         include <bits/wordsize.h>.  Check __x86_64__ instead of
11717         __WORDSIZE.
11718         (greg_t): Use "__extension__ long long int" if __x86_64__ is
11719         defined.
11720         (mcontext_t): Replace "unsigned long" with "unsigned long long".
11722         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11723         include <bits/wordsize.h>.  Check __x86_64__ instead of
11724         __WORDSIZE.
11725         (user_regs_struct): Use "__extension__ unsigned long long"
11726         instead of "unsigned long" if __x86_64__ is defined.
11727         (user): Likewise.  Pad after pointer field if __ILP32__ is
11728         defined.
11730 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
11732         * configure.in (makeinfo): Require version 4.5 or later.  Allow
11733         versions 5 to 9.
11734         * configure: Regenerated.
11735         * manual/install.texi (texinfo): Increase version requirement to
11736         4.5 or later.
11737         * INSTALL: Regenerated.
11739         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11741 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11743         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11745         * sysdeps/x86_64/x32/ffs.c: New file.
11747         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11748         __syscall_ulong_t.
11749         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11750         defined.  Use __syscall_ulong_t.
11751         (shminfo): Use __syscall_ulong_t.
11752         (shm_info): Likewise.
11754         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11755         __syscall_ulong_t.
11757         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11758         <bits/wordsize.h>.
11759         (msgqnum_t): Use __syscall_ulong_t.
11760         (msglen_t): Likewise.
11761         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
11762         __syscall_ulong_t.
11764         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11765         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11767         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11769         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11770         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11772         * sysvipc/sys/msg.h (msgbuf): Replace long int with
11773         __syscall_slong_t.
11775         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11776         include <bits/wordsize.h>.  Check __x86_64__ instead of
11777         __WORDSIZE.
11779         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11780         "unsigned long long int" if __x86_64__ is defined.
11781         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11783         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11784         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11785         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11787         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11788         <stdint.h>.
11789         (GET_PC): Cast to uintptr_t first.
11790         (GET_FRAME): Likewise.
11791         (GET_STACK): Likewise.
11793         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11794         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11795         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11796         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11797         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11798         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11799         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11800         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11801         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11802         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11804         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11805         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11807         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11808         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11809         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11810         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11811         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11812         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11813         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11814         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11815         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11816         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11817         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11818         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11820         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11821         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11823 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
11825         * Makerules (+depfiles): Also collect depfiles from .oS in
11826         $(extra-objs).
11827         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11828         .oS, $(libnldbl-routines)).
11830         * Makerules (native-compile-mkdep-flags): Define.
11831         * sunrpc/Makefile (extra-objs): Add $(addprefix
11832         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11833         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11834         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
11835         calling $(make-target-directory).
11837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11839         * bits/types.h (__snseconds_t): Removed.
11840         * time/time.h (struct timespec): Replace __snseconds_t with
11841         __syscall_slong_t.
11842         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11843         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11844         Likewise.
11845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11846         (__SNSECONDS_T_TYPE): Likewise.
11847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11848         (__SNSECONDS_T_TYPE): Likewise.
11849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11850         (__SNSECONDS_T_TYPE): Likewise.
11852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11854         * sysdeps/mach/hurd/bits/typesizes.h
11855         (__SYSCALL_SLONG_TYPE): New macro.
11856         (__SYSCALL_ULONG_TYPE): Likewise.
11858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11860         * bits/types.h (__syscall_slong_t): New type.
11861         (__syscall_ulong_t): Likewise.
11863         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11864         (__SYSCALL_ULONG_TYPE): Likewise.
11865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11866         (__SYSCALL_SLONG_TYPE): Likewise.
11867         (__SYSCALL_ULONG_TYPE): Likewise.
11868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11869         (__SYSCALL_SLONG_TYPE): Likewise.
11870         (__SYSCALL_ULONG_TYPE): Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11872         (__SYSCALL_SLONG_TYPE): Likewise.
11873         (__SYSCALL_ULONG_TYPE): Likewise.
11875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11877         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11878         Add sigaltstack-offsets.sym.
11879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11880         <sigaltstack-offsets.h>.
11881         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
11882         longjmp_msg pointer.
11883         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
11884         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11885         signal stack.
11886         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11888 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
11890         * elf/stackguard-macros.h: Remove file.
11891         * sysdeps/generic/stackguard-macros.h: New file.
11892         * sysdeps/i386/stackguard-macros.h: Likewise.
11893         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11894         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11895         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11896         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11897         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11898         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11899         * sysdeps/x86_64/stackguard-macros.h: Likewise.
11900         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11901         <elf/stackguard-macros.h>.
11903         [BZ #14109]
11904         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11905         __aligned__ in attribute.
11906         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11907         (gregset_t): Likewise.
11909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11911         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11912         * sysdeps/x86_64/64/Implies-after: Here.  New file.
11913         * sysdeps/x86_64/x32/Implies-after: New file.
11915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11917         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11918         and access return value for _dl_profile_fixup.  Use R10_LP to
11919         load frame size.
11921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11923         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11927         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11928         * sysdeps/x86_64/x32/sysdep.h: New file.
11930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11932         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11933         * sysdeps/x86_64/setjmp.S: Likewise.
11935 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11937         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11938         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11939         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11940         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11941         remove unused global constant.
11943 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
11945         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11946         include of <not-cancel.h>.
11948 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11950         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11952 2012-05-15  Jeff Law  <law@redhat.com>
11953             Andreas Jaeger  <aj@suse.de>
11955         [BZ #13594]
11956         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11957         out from...
11958         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11959         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11960         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11961         code changing __hst_map_handle.map.
11963 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11965         * configure.in (sysnames): Look for Implies-before and Implies-after
11966         files.
11967         * configure: Regenerated.
11969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11971         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11972         8-byte data alignment with LP_SIZE alignment.
11974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11976         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11977         into R10_LP.
11979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11981         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11986         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11987         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11988         Likewise.
11989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11993         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11994         (stackinfo_sub_sp): Likewise.
11996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11999         RAX_LP.
12001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12003         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12004         into R*_LP.
12006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12009         sizes into R*_LP.
12011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12013         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12017         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12018         into R11_LP and load __x86_64_shared_cache_size_half into
12019         R8_LP.
12021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12023         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12024         R8_LP.
12026 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12029         logb for POWER7.
12030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12031         logbf for POWER7.
12032         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12033         logbl for POWER7.
12034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12035         powerpc32/power7/fpu/s_logb.c via #include.
12036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12037         powerpc32/power7/fpu/s_logbf.c via #include.
12038         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12039         powerpc32/power7/fpu/s_logbl.c via #include.
12041 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12043         * README.libm: Remove file.
12045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12047         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12048         count for x32.  Use R*_LP and omit operand-size suffix.
12050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12052         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12053         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12054         * sysdeps/x86_64/x32/shlib-versions: New file.
12056 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12058         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12059         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12060         Use _dl_fatal_printf instead.
12062 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12064         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12065         set if not set by the user.  Do not allow for being unset.
12066         * sysdeps/unix/sysv/linux/configure: Regenerated.
12068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12070         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12071         the `q' suffix from lea and replace .quad with ASM_ADDR.
12073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12076         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12077         instead of $17.
12078         (PTR_DEMANGLE): Likewise.
12080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12082         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12083         (LP_OP): Likewise.
12084         (ASM_ADDR): Likewise.
12085         (RAX_LP): Likewise.
12086         (RBP_LP): Likewise.
12087         (RBX_LP): Likewise.
12088         (RCX_LP): Likewise.
12089         (RDI_LP): Likewise.
12090         (RSI_LP): Likewise.
12091         (RSP_LP): Likewise.
12092         (R8_LP): Likewise.
12093         (R9_LP): Likewise.
12094         (R10_LP): Likewise.
12095         (R10_LP): Likewise.
12096         (R11_LP): Likewise.
12097         (R12_LP): Likewise.
12098         (R13_LP): Likewise.
12099         (R14_LP): Likewise.
12100         (R15_LP): Likewise.
12102 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12104         * sysdeps/x86_64/x32/dl-machine.h: New file.
12106 2012-05-14  Andreas Jaeger  <aj@suse.de>
12108         * manual/Makefile (subdir): Remove export of subdir.
12109         (all): Remove target.
12110         (.PHONY): Remove all from list.
12111         (mkinstalldirs): Remove.
12112         (.PHONY): Remove installdirs from list.
12113         ($(inst_infodir)/libc.info): Use make-target-directory.
12114         (installdirs): Remove.
12115         (subdir_%): Remove.
12116         (glibc-targets): Remove.
12117         (lib): Remove.
12118         (stubs): Remove.
12119         ($(objpfx)stubs ../po/manual.pot): Remove.
12120         ($(objpfx)stamp%): Remove.
12121         (make-target-directory): Remove.
12122         (subdir_install): Remove.
12123         (routines): Remove.
12124         (aux): Remove.
12125         (sources): Remove.
12126         (objects): Remove.
12127         (headers): Remove.
12129         [BZ #13750]
12130         * manual/.gitignore: Remove, it's not needed anymore.
12131         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12132         all files in it.
12133         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12134         directory.
12135         (texis): Renamed to $(objpfx)texis.
12136         (texis-path): New, contains path to generated files.
12137         (chapters.%): Use texis-path for complete path, add extra argument
12138         libc-texinfo.sh.
12139         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12140         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12141         (summary,texi, stamp-summary): Use complete path of
12142         files. Generate files in build dir.
12143         (dir-add.texi): Build in build dir.
12144         (libm-err.texi,stamp-libm-err): Likewise.
12145         (version.texi, stamp-version): Likewise.
12146         (.%c.texi): Likewise.
12147         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12148         (mostlyclean): Remove target.
12149         (realclean): Remove target.
12150         (generated): Add new variable with contents from mostlyclean and
12151         realclean, remove entries duplicated in common-mostlyclean, add
12152         stamp-libm-err and stamp-version.
12153         (generated-dirs): Add libc directory.
12154         ($(inst_infodir)/libc.info): Install files from build dir.
12156         * manual/install.texi (Configuring and compiling): Adjust since
12157         the info files are not part of the tar ball anymore.
12159 2012-05-14  Andreas Jaeger  <aj@suse.de>
12161         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12162         variable.
12164 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12166         [BZ #13717]
12167         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12168         to 2.2.0 where earlier.
12169         * sysdeps/unix/sysv/linux/configure: Regenerated.
12170         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12171         Remove conditional code.
12172         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12173         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12174         Remove conditional code.
12175         [!__NR_lchown]: Likewise.
12176         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12177         [__NR_lchown]: Likewise.
12178         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12179         comment referencing __ASSUME_LCHOWN_SYSCALL.
12180         * sysdeps/unix/sysv/linux/i386/sigaction.c
12181         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12182         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12183         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12184         Remove conditional code.
12185         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12186         (__protocol_available): Remove #if 0 code.
12187         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12188         conditional code.
12189         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12190         * sysdeps/unix/sysv/linux/kernel-features.h
12191         (__ASSUME_GETCWD_SYSCALL): Don't define.
12192         (__ASSUME_REALTIME_SIGNALS): Likewise.
12193         (__ASSUME_PREAD_SYSCALL): Likewise.
12194         (__ASSUME_PWRITE_SYSCALL): Likewise.
12195         (__ASSUME_POLL_SYSCALL): Likewise.
12196         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12197         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12198         non-SPARC.
12199         (__ASSUME_SIOCGIFNAME): Don't define.
12200         (__ASSUME_MSG_NOSIGNAL): Likewise.
12201         (__ASSUME_SENDFILE): Define unconditionally.
12202         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12203         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12204         conditional code.
12205         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12206         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12207         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12208         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12209         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12210         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12211         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12213         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12216         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12222         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12225         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12226         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12228         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12231         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12232         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12234         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12236         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12237         Remove conditional code.
12238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12239         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12240         Remove conditional code.
12241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12243         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12244         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12245         Remove conditional code.
12246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12247         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12248         Remove conditional code.
12249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12250         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12251         Remove conditional code.
12252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12253         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12254         Remove conditional code.
12255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12256         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12257         Remove conditional code.
12258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12259         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12262         * sysdeps/unix/sysv/linux/sigaction.c
12263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12265         * sysdeps/unix/sysv/linux/sigpending.c
12266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12268         * sysdeps/unix/sysv/linux/sigprocmask.c
12269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12271         * sysdeps/unix/sysv/linux/sigsuspend.c
12272         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12273         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12274         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12275         (__libc_missing_rt_sigs): Remove.
12276         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12277         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12278         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12279         Remove conditional code.
12280         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12281         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12282         return 1.
12283         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12284         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12285         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12286         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12288 2012-05-14  Andreas Jaeger  <aj@suse.de>
12290         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12291         it's not used in glibc.
12292         (__coshm1): Likewise.
12293         (__acosh1p): Likewise.
12294         (__sgn): Likewise.
12296         * manual/string.texi (Copying and Concatenation): Add missing
12297         variable in concat example.
12298         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12302         [BZ #14103]
12303         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12304         __builtin_clzl with __builtin_clzll.
12306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12308         [BZ #14104]
12309         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12310         libc_freeres_ptr.
12312 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12314         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12315         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12316         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12317         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12319 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
12321         * NEWS: Update ia64 info.
12323 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12325         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12326         used as bcopy.
12328 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
12330         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12331         * sysdeps/unix/syscalls.list (dup3): Likewise.
12332         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12333         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12335 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12337         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12338         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12340 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12342         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12343         thread pointer.
12344         (TLS_IE): Use mov/add instead of movq/addq to load thread
12345         pointer.
12346         (TLS_GD_PREFIX): New.
12347         (TLS_GD): Use it.
12349 2012-05-11  David S. Miller  <davem@davemloft.net>
12351         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12352         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12353         (_FPU_SETCW): Likewise.
12355 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12357         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12358         is 32-byte aligned.
12360 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
12362         [BZ #11837]
12363         * iconvdata/gb18030.c: Update tables.
12364         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
12365         characters specially.
12366         (BODY for TO_LOOP): Add encoding of missing ranges.
12368 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
12370         [BZ #13673]
12371         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12372         * sysdeps/mach/hurd/dup3.c: Likewise.
12373         * sysdeps/mach/hurd/readlinkat.c: Likewise.
12374         * sysdeps/powerpc/memmove.c:: Likewise.
12376 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12378         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12379         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12381 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12383         * elf/elf.h (R_X86_64_RELATIVE64): New.
12384         (R_X86_64_NUM): Updated.
12385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12386         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
12387         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12388         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12389         tst-quad1pie tst-quad2pie
12390         (modules-names): Add tst-quadmod1 tst-quadmod2.
12391         ($(objpfx)tst-quad1): New dependency.
12392         ($(objpfx)tst-quad2): Likewise.
12393         ($(objpfx)tst-quad1pie): Likewise.
12394         ($(objpfx)tst-quad2pie): Likewise.
12395         * sysdeps/x86_64/tst-quad1.c: New file.
12396         * sysdeps/x86_64/tst-quad1pie.c: New file.
12397         * sysdeps/x86_64/tst-quad2.c: Likewise.
12398         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12399         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12400         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12401         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12402         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12406         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12407         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12408         * streams/stropts.h (t_scalar_t): Define type.
12410         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12411         (_PATH_PRESERVE): Set to "/var/lib".
12412         (_PATH_RWHODIR): Set to "/var/spool/rwho".
12414         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12415         instead of int.
12417         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12418         if __dir_mkfile succeeded.
12420         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12421         checking for _hurd_dtablesize.  Unlock it right after having
12422         finished _hurd_dtable allocation.
12424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12426         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12427         * sysdeps/mach/hurd/configure: Regenerated.
12428         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12429         special-casing to...
12430         * sysdeps/gnu/configure.in: ... this new file.
12431         * sysdeps/unix/sysv/linux/configure: Regenerated.
12432         * sysdeps/gnu/configure: New generated file.
12434         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12435         for Linux: use nsec instead of usec, as well as:
12436         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12437         members of type struct timespec.
12438         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12439         New macros.
12440         (struct stat64): Likewise.
12441         (_STATBUF_ST_NSEC): New macro.
12442         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12444         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12445         __strtoul_internal rather than strtoul.
12447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12449         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12450         and reject them.
12452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12454         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12455         which preserves existing values.
12456         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12458 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12460         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12461         TIMEOUT values.  Return EINVAL for NFDS values either negative or
12462         greater than FD_SETSIZE.
12464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12466         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12467         allocated, call __vm_protect to finish enabling the existing space, and
12468         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12469         allocate the remainder.
12471 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12473         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12474         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
12476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12478         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12479         sysdeps/mach/hurd/readlink.c.
12481         * posix/tst-sysconf.c (posix_options): Only use
12482         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12483         _POSIX_SYNCHRONIZED_IO when they are defined
12484         * sysdeps/mach/hurd/bits/posix_opt.h:
12485         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12486         (_XOPEN_REALTIME): Undefine macro.
12487         (_XOPEN_REALTIME_THREADS): Undefine macro.
12488         (_XOPEN_SHM): Undefine macro.
12489         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12490         macro to -1.
12491         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12492         macro to -1.
12493         (_POSIX_ASYNC_IO): Undefine macro.
12494         (_POSIX_PRIORITIZED_IO): Undefine macro.
12495         (_POSIX_SPIN_LOCKS): Define macro to -1.
12497         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12498         SA_NODEFER, SA_RESETHAND.
12499         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12500         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12501         F_DUPFD_CLOEXEC.
12503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12505         * elf/Makefile (pldd-modules): Define unconditionally.
12507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12509         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12511 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12513         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12514         Return ENOENT when name is empty.
12515         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12519         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12521         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12525         Fix mlock in all cases except non-readable pages.
12526         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12527         instead of VM_PROT_ALL as parameter to __vm_wire function.
12529         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12530         (__mkdir): When path is `/', just fail with EEXIST.
12531         * sysdeps/mach/hurd/mkdirat.c: Likewise.
12533 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12535         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12536         <sys/uio.h> (for writev).
12537         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12538         and <sys/param.h> (for MIN).
12540 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12542         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12543         REQUESTED_TIME.  Properly set the remaining time and return EINTR
12544         if interrupted.
12546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12548         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12549         Depend on against $(link-rpcuserlibs).
12551 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12553         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12554         (__libc_stack_end): Do not use attribute_relro.
12555         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12556         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12557         to libthread-provided value.
12558         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12559         attribute_relro.
12561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12563         [BZ #3748]
12564         * bits/libc-lock.h (__libc_once_get): New macro.
12565         * sysdeps/mach/bits/libc-lock.h: Likewise.
12566         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12568         instead of using implementation details.
12570         * libio/fileops.c: Unconditionally include <kernel-features.h>.
12571         * libio/freopen.c: Likewise.
12572         * libio/freopen64.c: Likewise.
12573         * misc/syslog.c: Likewise.
12574         * nscd/connections.c: Likewise.
12575         * nscd/netgroupcache.c: Likewise.
12576         * sysdeps/posix/getcwd.c: Likewise.
12578 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12580         * math/w_ilogbf.c: Add #include <limits.h>.
12582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12584         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12585         path instead of returning without unlocking.
12587         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12588         immediate-write ioctls.
12589         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12591 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12593         * sysdeps/mach/hurd/i386/init-first.c (init): Use
12594         __builtin_frame_address instead of making assumptions about the
12595         location of the return address relative to DATA.  Force early load of
12596         the return address.
12597         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12598         __builtin_frame_address.
12600         dup3 for GNU Hurd.
12601         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12602         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
12603         implement dup3 and do some further code clean-ups.
12604         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12605         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12607 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12609         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12611         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12612         HURD_CRITICAL_END around holding _hurd_dtable_lock.
12613         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12614         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12615         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12616         d->port.lock.
12618         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12619         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
12620         when handler == SIG_ERR, not when handler != SIG_ERR.
12622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12624         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12625         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12626         definitions.
12628         accept4 for GNU Hurd.
12629         * include/sys/socket.h (__libc_accept4): New prototype.
12630         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
12631         to implement __libc_accept4.
12632         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12633         __libc_accept4.
12634         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12636         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12637         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12638         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12639         signal-defines.sym.
12641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12643         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12645 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12647         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12648         assertion on O_CLOEXEC flag.
12649         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12650         * hurd/intern-fd.c: Likewise.
12651         * hurd/port2fd.c: Likewise.
12653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12655         [BZ #3906]
12656         * bits/in.h (IPV6_PKTINFO): Define new macro.
12657         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12659 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12661         [BZ #13954]
12662         [BZ #13955]
12663         [BZ #13956]
12664         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12666         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12667         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12668         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12669         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12670         * math/libm-test.inc (logb_test) : Additional logb tests.
12672 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
12673             Andreas Jaeger  <aj@suse.de>
12675         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12676         * configure: Regenerated.
12677         * config.h.in (LINK_OBSOLETE_RPC): New macro.
12678         * config.make.in (link-obsolete-rpc): New substituted variable.
12679         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12680         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12681         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12682         (shared-only-routines): Don't set it under [link-obsolete-rpc],
12683         so that libc.a contains the symbols.
12684         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12685         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12686         * sunrpc/auth_none.c: Likewise.
12687         * sunrpc/auth_unix.c: Likewise.
12688         * sunrpc/authdes_prot.c: Likewise.
12689         * sunrpc/authuxprot.c: Likewise.
12690         * sunrpc/clnt_gen.c: Likewise.
12691         * sunrpc/clnt_perr.c: Likewise.
12692         * sunrpc/clnt_raw.c: Likewise.
12693         * sunrpc/clnt_simp.c: Likewise.
12694         * sunrpc/clnt_tcp.c: Likewise.
12695         * sunrpc/clnt_udp.c: Likewise.
12696         * sunrpc/clnt_unix.c: Likewise.
12697         * sunrpc/des_crypt.c: Likewise.
12698         * sunrpc/des_soft.c: Likewise.
12699         * sunrpc/get_myaddr.c: Likewise.
12700         * sunrpc/key_call.c: Likewise.
12701         * sunrpc/key_prot.c: Likewise.
12702         * sunrpc/netname.c: Likewise.
12703         * sunrpc/pm_getmaps.c: Likewise.
12704         * sunrpc/pm_getport.c: Likewise.
12705         * sunrpc/pmap_clnt.c: Likewise.
12706         * sunrpc/pmap_prot.c: Likewise.
12707         * sunrpc/pmap_prot2.c: Likewise.
12708         * sunrpc/pmap_rmt.c: Likewise.
12709         * sunrpc/publickey.c: Likewise.
12710         * sunrpc/rpc_cmsg.c: Likewise.
12711         * sunrpc/rpc_common.c: Likewise.
12712         * sunrpc/rpc_dtable.c: Likewise.
12713         * sunrpc/rpc_prot.c: Likewise.
12714         * sunrpc/rpc_thread.c: Likewise.
12715         * sunrpc/rtime.c: Likewise.
12716         * sunrpc/svc.c: Likewise.
12717         * sunrpc/svc_auth.c: Likewise.
12718         * sunrpc/svc_raw.c: Likewise.
12719         * sunrpc/svc_run.c: Likewise.
12720         * sunrpc/svc_tcp.c: Likewise.
12721         * sunrpc/svc_udp.c: Likewise.
12722         * sunrpc/svc_unix.c: Likewise.
12723         * sunrpc/svcauth_des.c: Likewise.
12724         * sunrpc/xcrypt.c: Likewise.
12725         * sunrpc/xdr.c: Likewise.
12726         * sunrpc/xdr_array.c: Likewise.
12727         * sunrpc/xdr_float.c: Likewise.
12728         * sunrpc/xdr_intXX_t.c: Likewise.
12729         * sunrpc/xdr_mem.c: Likewise.
12730         * sunrpc/xdr_rec.c: Likewise.
12731         * sunrpc/xdr_ref.c: Likewise.
12732         * sunrpc/xdr_sizeof.c: Likewise.
12733         * sunrpc/xdr_stdio.c: Likewise.
12735 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12737         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12738         change.  Update copyright years.
12740 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12742         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12744 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
12745             Joseph Myers  <joseph@codesourcery.com>
12746             Paul Pluzhnikov  <ppluzhnikov@google.com>
12748         [BZ #14012]
12749         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12750         requiring rpcgen.
12751         [cross-compiling] (extra-libs): Likewise.
12752         [cross-compiling] (extra-libs-others): Likewise.
12753         [cross-compiling] (librpcsvc-routines): Likewise.
12754         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12755         [cross-compiling] (omit-deps): Likewise.
12756         (sunrpc-CPPFLAGS): New variable.
12757         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12758         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12759         (cross-rpcgen-objs): New variable.
12760         (extra-objs): Append $(cross-rpcgen-objs).
12761         ($(cross-rpcgen-objs)): New rule.
12762         ($(objpfx)cross-rpcgen): Likewise.
12763         (rpcgen-cmd): Define to use $(built-program-file).  Expand
12764         comment.
12765         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12766         ($(objpfx)x%.stmp): Likewise.
12767         * sunrpc/proto.h [IS_IN_build] (_): Define.
12768         [IS_IN_build] (_libc_intl_domainname): Likewise.
12770 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12773         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12774         and R_X86_64_TPOFF64.
12776 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12778         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12779         sysdeps/unix/sysv/syscalls.list.
12780         (stime): Likewise.
12781         (utime): Likewise.
12782         * sysdeps/unix/sysv/syscalls.list: Remove file.
12784 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
12786         [BZ #3440]
12787         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12788         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12789         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12790         (__LC_IDENTIFICATION): Make these macros useful in #if
12791         expressions, as required by C99.
12793 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
12795         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12796         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
12797         after this.
12799 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
12801         * stdlib/longlong.h: Updated from GCC.
12803 2012-05-09  Andreas Jaeger  <aj@suse.de>
12805         * nscd/nscd.c (run_modes): Make named enum, reorder so that
12806         default is first entry.
12807         (run_mode): Set type.
12808         (main): Remove informal message about syslog.
12809         (options): Fix typo.
12811         [BZ #14053]
12812         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12813         to asm.
12814         (lrint): Likewise.
12815         (llrintf): Likewise.
12816         (llrint): Likewise.
12817         (rint): Likewise.
12818         (rintf): Likewise.
12819         (nearbyint): Likewise.
12820         (nearbyintf): Likewise.
12822 2012-05-09  Andreas Jaeger  <aj@suse.de>
12823             Pedro Alves  <palves@redhat.com>
12825         * nscd/nscd.c (run_mode): Use enum.
12826         (main): Cleanup coding style issue.
12828 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
12829             Andreas Jaeger  <aj@suse.de>
12831         * nscd/nscd.c (go_background): Replaced with...
12832         (run_mode): ... this.
12833         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12834         (options): Add -F --foreground.
12835         (main): Implement it.
12836         (parse_opt): Parse it.
12838 2012-05-09  Andreas Jaeger  <aj@suse.de>
12840         [BZ #14083]
12841         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12842         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12843         -Wconversion warning.
12844         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12845         Likewise.
12847 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
12849         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
12850         == 0.
12851         (LC_ALL): Use macro-int-constant.
12852         (LC_COLLATE): Likewise.
12853         (LC_CTYPE): Likewise.
12854         (LC_MESSAGES): Likewise.
12855         (LC_MONETARY): Likewise.
12856         (LC_NUMERIC): Likewise.
12857         (LC_TIME): Likewise.
12858         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12859         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12860         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12861         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12862         Specify type.
12863         [C99-based standards] (float_t): Expect type.
12864         [C99-based standards] (double_t): Expect type.
12865         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
12866         type.
12867         [C99-based standards] (HUGE_VALL): Likewise.
12868         [C99-based standards] (INFINITY): Likewise.
12869         [C99-based standards] (NAN): Likewise.
12870         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12871         [C99-based standards] (FP_NAN): Likewise.
12872         [C99-based standards] (FP_NORMAL): Likewise.
12873         [C99-based standards] (FP_SUBNORMAL): Likewise.
12874         [C99-based standards] (FP_ZERO): Likewise.
12875         [C99-based standards] (FP_FAST_FMA): Use
12876         optional-macro-int-constant.  Specify type.  Require == 1.
12877         [C99-based standards] (FP_FAST_FMAF): Likewise.
12878         [C99-based standards] (FP_FAST_FMAL): Likewise.
12879         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12880         [C99-based standards] (FP_ILOGBNAN): Likewise.
12881         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12882         Specify type.
12883         [C99-based standards] (MATH_ERREXCEPT): Likewise.
12884         [C99-based standards] (math_errhandling): Specify type.
12885         [ISO99 || ISO11] (signgam): Do not allow.
12886         [non-C99-based standards] (copysignf): Do not allow.
12887         [non-C99-based standards] (exp2f): Likewise.
12888         [non-C99-based standards] (log2f): Likewise.
12889         [non-C99-based standards] (modff): Allow.
12890         [non-C99-based standards] (erff): Do not allow.
12891         [non-C99-based standards] (erfcf): Likewise.
12892         [non-C99-based standards] (gammaf): Likewise.
12893         [non-C99-based standards] (hypotf): Likewise.
12894         [non-C99-based standards] (j0f): Likewise.
12895         [non-C99-based standards] (j1f): Likewise.
12896         [non-C99-based standards] (jnf): Likewise.
12897         [non-C99-based standards] (lgammaf): Likewise.
12898         [non-C99-based standards] (tgammaf): Likewise.
12899         [non-C99-based standards] (y0f): Likewise.
12900         [non-C99-based standards] (y1f): Likewise.
12901         [non-C99-based standards] (ynf): Likewise.
12902         [non-C99-based standards] (isnanf): Likewise.
12903         [non-C99-based standards] (acoshf): Likewise.
12904         [non-C99-based standards] (asinhf): Likewise.
12905         [non-C99-based standards] (atanhf): Likewise.
12906         [non-C99-based standards] (cbrtf): Likewise.
12907         [non-C99-based standards] (expm1f): Likewise.
12908         [non-C99-based standards] (ilogbf): Likewise.
12909         [non-C99-based standards] (log1pf): Likewise.
12910         [non-C99-based standards] (logbf): Likewise.
12911         [non-C99-based standards] (nextafterf): Likewise.
12912         [non-C99-based standards] (remainderf): Likewise.
12913         [non-C99-based standards] (rintf): Likewise.
12914         [non-C99-based standards] (scalbf): Likewise.
12915         [non-C99-based standards] (copysignl): Likewise.
12916         [non-C99-based standards] (exp2l): Likewise.
12917         [non-C99-based standards] (log2l): Likewise.
12918         [non-C99-based standards] (modfl): Allow.
12919         [non-C99-based standards] (erfl): Do not allow.
12920         [non-C99-based standards] (erfcl): Likewise.
12921         [non-C99-based standards] (gammal): Likewise.
12922         [non-C99-based standards] (hypotl): Likewise.
12923         [non-C99-based standards] (j0l): Likewise.
12924         [non-C99-based standards] (j1l): Likewise.
12925         [non-C99-based standards] (jnl): Likewise.
12926         [non-C99-based standards] (lgammal): Likewise.
12927         [non-C99-based standards] (tgammal): Likewise.
12928         [non-C99-based standards] (y0l): Likewise.
12929         [non-C99-based standards] (y1l): Likewise.
12930         [non-C99-based standards] (ynl): Likewise.
12931         [non-C99-based standards] (isnanl): Likewise.
12932         [non-C99-based standards] (acoshl): Likewise.
12933         [non-C99-based standards] (asinhl): Likewise.
12934         [non-C99-based standards] (atanhl): Likewise.
12935         [non-C99-based standards] (cbrtl): Likewise.
12936         [non-C99-based standards] (expm1l): Likewise.
12937         [non-C99-based standards] (ilogbl): Likewise.
12938         [non-C99-based standards] (log1pl): Likewise.
12939         [non-C99-based standards] (logbl): Likewise.
12940         [non-C99-based standards] (nextafterl): Likewise.
12941         [non-C99-based standards] (remainderl): Likewise.
12942         [non-C99-based standards] (rintl): Likewise.
12943         [non-C99-based standards] (scalbl): Likewise.
12944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12945         [non-C99-based standards] (FP_*): Do not allow.
12946         [C99-based standards] (FP_*): Change to
12947         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12948         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12949         allow.
12950         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12951         (SIG_ERR): Likewise.
12952         [X/Open-based standards] (SIG_HOLD): Likewise.
12953         (SIG_IGN): Likewise.
12954         (SIGABRT): Use macro-int-constant.  Specify type.  Require
12955         positive value.
12956         (SIGFPE): Likewise.
12957         (SIGILL): Likewise.
12958         (SIGINT): Likewise.
12959         (SIGSEGV): Likewise.
12960         (SIGTER): Likewise.
12961         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12962         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12963         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12964         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12965         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12966         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12967         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12968         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12969         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12970         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12971         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12972         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12973         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12974         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12975         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12976         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12977         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12978         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12979         [X/Open-based standards] (SIGTRAP): Likewise.
12980         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12981         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12982         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12983         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12984         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12985         allow.
12987 2012-05-08  Ian Wienand  <ianw@vmware.com>
12989         [BZ #14080]
12990         * time/tzset.c (__tzset_parse_tz): Update default rules for
12991         daylight time changes in the Energy Policy Act of 2005.
12993 2012-05-09  Andreas Jaeger  <aj@suse.de>
12995         [BZ #13983]
12996         * elf/ldconfig.c (parse_conf): Change string to make clear that
12997         ldconfig only issued a warning if ld.so.conf does not exist.
12999 2012-05-08  David S. Miller  <davem@davemloft.net>
13001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13002         movxtod instead of popping the value on the stack.
13004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13006 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13008         * config.h.in: Add HAVE_ARM_PCS_VFP.
13010 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13012         [BZ #13979]
13013         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13014         checking but the checks are disabled for any reason.
13016 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13018         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13019         and ELF64_R_TYPE with ELFW(R_TYPE).
13021 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13023         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13024         (ulimit): Likewise.
13026         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13027         (settimeofday): Likewise.
13029 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13031         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13032         a struct th_u2 inside the union, and move tu_block/tu_code into
13033         a new th_u3 union of tu_block/tu_code inside of that.  Move
13034         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13035         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13036         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13037         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13038         (th_stuff): Change to th_u1.tu_stuff.
13039         (th_data): Define.
13040         (th_msg): Change to th_u1.th_u2.tu_data.
13042 2012-05-07  David S. Miller  <davem@davemloft.net>
13044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13046         [BZ #14074]
13047         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13048         (SETUP_PIC_REG): Use it.
13049         (SETUP_PIC_REG_LEAF): Use it.
13051 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13053         [BZ #13885]
13054         [BZ #13923]
13055         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13056         USE_AS_EXPM1L.
13057         (EXPL_FINITE): Likewise.
13058         (FLDLOG): Likewise.
13059         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13060         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13061         e_expl.S.
13062         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13063         USE_AS_EXPM1L.
13064         (EXPL_FINITE): Likewise.
13065         (FLDLOG): Likewise.
13066         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13067         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13068         e_expl.S.
13069         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13070         test of -max_value argument for long double.
13071         * sysdeps/i386/fpu/libm-test-ulps: Update.
13072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13074 2012-05-06  David S. Miller  <davem@davemloft.net>
13076         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13077         quad soft-float symbols whose references which are compiler
13078         generated.
13079         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13081 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #13884]
13084         [BZ #13914]
13085         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13086         USE_AS_EXP10L.
13087         (EXPL_FINITE): Likewise.
13088         (FLDLOG): Likewise.
13089         (c0): Likewise.
13090         (c1): Likewise.
13091         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13092         Adjust comments for base varying.
13093         (__expl_finite): Change alias to EXPL_FINITE.
13094         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13095         e_expl.S.
13096         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13097         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13098         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13099         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13101         USE_AS_EXP10L.
13102         (EXPL_FINITE): Likewise.
13103         (FLDLOG): Likewise.
13104         (c0): Likewise.
13105         (c1): Likewise.
13106         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13107         Adjust comments for base varying.
13108         (__expl_finite): Change alias to EXPL_FINITE.
13109         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13110         tests for bugs.
13111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13113         [BZ #14064]
13114         * math/libm-test.inc (check_float_internal): Correct ulp
13115         calculation for subnormal expected results.
13117 2012-05-06  Andreas Jaeger  <aj@suse.de>
13119         * Makeconfig (+math-flags): New, set to -frounding-math.
13120         (+cflags): Add +math-flags so that all of glibc gets compiled with
13121         it.
13123         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13125 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13127         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13128         Disable one test.
13130         [BZ #13787]
13131         [BZ #13922]
13132         [BZ #14036]
13133         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13134         (__ieee754_expl): Allow for and saturate large arguments.
13135         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13136         (u_threshold): Likewise.
13137         (__exp): Call __ieee754_exp before checking for overflow and
13138         underflow.
13139         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13140         (u_threshold): Likewise.
13141         (__expf): Call __ieee754_expf before checking for overflow and
13142         underflow.
13143         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13144         (u_threshold): Likewise.
13145         (__expl): Call __ieee754_expl before checking for overflow and
13146         underflow.
13147         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13148         (__ieee754_expl): Allow for and saturate large arguments.
13149         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13150         missing overflow exception on overflow.
13151         (expm1_test): Do not allow missing overflow exception on overflow.
13153         * sysdeps/i386/fpu/e_expl.c: Move to ...
13154         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13155         rather than using inline asm.
13156         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13157         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13158         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13160         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13161         (nice): Likewise.
13162         (poll): Likewise.
13163         (signal): Likewise.
13164         (time): Likewise.
13165         (times): Likewise.
13167 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13169         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13170         sysdeps/unix/common/syscalls.list.
13171         (fchmod): Likewise.
13172         (fchown): Likewise.
13173         (ftruncate): Likewise.
13174         (getrusage): Likewise.
13175         (gettimeofday): Likewise.
13176         (setpgid): Likewise.
13177         (setregid): Likewise.
13178         (setreuid): Likewise.
13179         (sigaction): Likewise.
13180         (truncate): Likewise.
13181         (vhangup): Likewise.
13182         * sysdeps/unix/common/syscalls.list: Remove file.
13183         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13184         * sysdeps/unix/sysv/linux/Implies: Likewise.
13186 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13188         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13190         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13191         Moved to ...
13192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13193         Here.
13194         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13195         to ...
13196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13197         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13198         to ...
13199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13200         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13201         to ...
13202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13203         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13204         to ...
13205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13206         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13207         to ...
13208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13209         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13210         to ...
13211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13212         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13213         to ...
13214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13215         Here.
13216         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13217         to ...
13218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13219         Here.
13220         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13221         to ...
13222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13223         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13224         Moved to ...
13225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13226         Here.
13227         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13228         to ...
13229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13231 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13233         * sysdeps/unix/common/bits/dirent.h: Remove file.
13234         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13236         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13237         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13238         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13239         * sysdeps/unix/bsd/isatty.c: Likewise.
13240         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13241         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13242         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13244 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246         [BZ #13563]
13247         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13248         long double comparison inaccuracies.
13249         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13252 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13254         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13255         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13257 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13259         [BZ #14049]
13260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13261         nonzero digits before rounding a hex value.
13262         * stdlib/tst-strtod.c (tests): Add another test.
13264 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13266         * sysdeps/s390/fpu/libm-test-ulps: Update.
13268 2012-05-03  Andreas Jaeger  <aj@suse.de>
13270         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13271         does not get optimized out.
13272         (malloc_opt_barrier): New.
13274 2012-05-03  Andreas Jaeger  <aj@suse.de>
13275             Roland McGrath  <roland@hack.frob.com>
13277         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13278         intermediate file deletion.
13279         (generated): Add .symlist files.
13281 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13283         [BZ #13775]
13284         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13285         Redirect under this condition.
13286         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13287         [__USE_GNU] (__dprintf_chk): Not under this condition.
13288         [__USE_GNU] (__vdprintf_chk): Likewise.
13289         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13290         under this condition.
13291         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13292         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13293         [__USE_XOPEN2K8] (vdprintf): Likewise.
13294         [__USE_GNU] (__dprintf_chk): Not under this condition.
13295         [__USE_GNU] (__vdprintf_chk): Likewise.
13296         [__USE_GNU] (dprintf): Likewise.
13297         [__USE_GNU] (vdprintf): Likewise.
13299 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13301         * elf/Makefile (common-generated): Set this instead of generated for
13302         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13303         $(all-built-dso)-derived lists.
13305 2012-05-03  Andreas Jaeger  <aj@suse.de>
13307         * sysdeps/i386/fpu/libm-test-ulps: Update.
13309         * FAQ: Removed.
13310         * FAQ.in: Likewise.
13311         * scripts/gen-FAQ.pl: Likewise.
13312         * manual/install.texi (Installation): Point to online location of
13313         FAQ.
13314         * Makefile (files-for-dist): Remove FAQ.
13315         (FAQ): Remove.
13317 2012-05-02  Allan McRae  <allan@archlinux.org>
13319         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13320         (LDFLAGS-reldepmod5.so): Likewise.
13321         (LDFLAGS-reldep6mod1.so): Likewise.
13322         (LDFLAGS-reldep6mod4.so): Likewise.
13323         (LDFLAGS-reldep8mod3.so): Likewise.
13324         (LDFLAGS-unload4mod1.so): Likewise.
13325         (LDFLAGS-unload4mod2.so): Likewise.
13326         (LDFLAGS-tst-initorder): Likewise.
13327         (LDFLAGS-tst-initordera2.so): Likewise.
13328         (LDFLAGS-tst-initordera3.so): Likewise.
13329         (LDFLAGS-tst-initordera4.so): Likewise.
13330         (LDFLAGS-tst-initorderb2.so): Likewise.
13331         (LDFLAGS-noload): Likewise.
13332         (LDFLAGS-next): Likewise.
13333         (LDFLAGS-order2mod1.so): Likewise.
13334         (LDFLAGS-order2mod2.so): Likewise.
13335         (LDFLAGS-tst-initorder2): Likewise.
13336         (LDFLAGS-tst-initorder2a.so): Likewise.
13337         (LDFLAGS-tst-initorder2b.so): Likewise.
13338         (LDFLAGS-tst-initorder2c.so): Likewise.
13339         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13341 2012-05-02  David S. Miller  <davem@davemloft.net>
13343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13345 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13347         [BZ #14055]
13348         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13350 2012-05-02  Andreas Jaeger  <aj@suse.de>
13352         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13353         since we manipulate rounding mode.
13354         (CPPFLAGS-test-idouble.c): Likewise.
13355         (CPPFLAGS-test-ifloat.c): Likewise.
13356         (CFLAGS-test-ldouble.c): Likewise.
13357         (CFLAGS-test-double.c): Likewise.
13358         (CFLAGS-test-float.c): Likewise.
13359         (CFLAGS-test-misc.c): Likewise.
13360         (CFLAGS-test-test-fenv.c): Likewise.
13362 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13364         [BZ #2550]
13365         [BZ #2570]
13366         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13367         comparisons to determine direction to adjust input.
13369 2012-05-01  Roland McGrath  <roland@hack.frob.com>
13371         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13372         output to the target.
13374         * scripts/localplt.awk: New file.
13375         * elf/Makefile ($(objpfx)check-localplt): Target removed.
13376         (check-localplt-CFLAGS): Variable removed.
13377         ($(all-built-dso:=.jmprel)): New static pattern rule.
13378         (generated): Add those targets.
13379         (localplt-built-dso): New variable.
13380         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13382         * elf/check-localplt.c: File removed.
13384         * scripts/check-execstack.awk: New file.
13385         * elf/Makefile ($(objpfx)check-execstack): Target removed.
13386         (check-execstack-CFLAGS): Variable removed.
13387         ($(objpfx)check-execstack.h): Target removed.
13388         ($(objpfx)execstack-default): New target.
13389         (generated): Add that instead of check-execstack.h.
13390         ($(all-built-dso:=.phdr)): New static pattern rule.
13391         (generated): Add those targets.
13392         * elf/check-execstack.c: File removed.
13394         * scripts/check-textrel.awk: New file.
13395         * elf/Makefile ($(objpfx)check-textrel): Target removed.
13396         (check-textrel-CFLAGS): Variable removed.
13397         (all-built-dso): Use := to define.o
13398         ($(all-built-dso:=.dyn)): New static pattern rule.
13399         (generated): Add those targets.
13400         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13401         * config.make.in (READELF): New substituted variable.
13402         * elf/check-textrel.c: File removed.
13404 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13406         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13407         allow.
13408         * conform/data/ctype.h-data [C99-based standards] (isblank):
13409         Expect function.
13410         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13411         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13412         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13413         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13414         Specify type.  Require positive value.
13415         (EILSEQ): Likewise.
13416         (ERANGE): Likewise.
13417         [ISO || POSIX] (EILSEQ): Do not expect.
13418         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13419         Specify type.  Require positive value.
13420         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13421         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13422         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13423         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13424         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13425         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13426         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13427         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13428         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13429         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13430         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13431         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13432         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13433         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13434         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13435         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13436         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13437         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13438         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13439         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13440         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13441         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13442         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13443         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13444         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13445         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13446         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13447         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13448         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13449         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13450         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13451         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13452         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13453         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13454         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13455         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13456         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13457         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13458         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13459         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13460         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13461         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13462         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13463         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13464         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13465         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13466         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13467         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13468         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13469         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13470         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13471         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13472         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13473         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13474         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13475         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13476         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13477         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13478         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13479         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13480         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13481         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13482         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13483         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13484         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13485         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13486         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13487         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13488         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13489         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13490         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13491         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13492         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13493         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13494         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13495         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13496         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13497         Require >= 2.
13498         (FLT_ROUNDS): Expect as macro, not constant.
13499         (FLT_MANT_DIG): Use macro-int-constant.
13500         (DBL_MANT_DIG): Likewise.
13501         (LDBL_MANT_DIG): Likewise.
13502         (FLT_DIG): Likewise.
13503         (DBL_DIG): Likewise.
13504         (LDBL_DIG): Likewise.
13505         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
13506         (DBL_MIN_EXP): Likewise.
13507         (LDBL_MIN_EXP): Likewise.
13508         (FLT_MAX_EXP): Use macro-int-constant.
13509         (DBL_MAX_EXP): Likewise.
13510         (LDBL_MAX_EXP): Likewise.
13511         (FLT_MAX_10_EXP): Likewise.
13512         (DBL_MAX_10_EXP): Likewise.
13513         (LDBL_MAX_10_EXP): Likewise.
13514         (FLT_MAX): Use macro-constant.
13515         (DBL_MAX): Likewise.
13516         (LDBL_MAX): Likewise.
13517         (FLT_EPSILON): Use macro-constant.  Give upper bound.
13518         (DBL_EPSILON): Likewise.
13519         (LDBL_EPSILON): Likewise.
13520         (FLT_MIN): Likewise.
13521         (DBL_MIN): Likewise.
13522         (LDBL_MIN): Likewise.
13523         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13524         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13525         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13526         [ISO11] (FLT_HAS_SUBNORM): Likewise.
13527         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13528         [ISO11] (DBL_DECIMAL_DIG): Likewise.
13529         [ISO11] (FLT_DECIMAL_DIG): Likewise.
13530         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13531         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13532         [ISO11] (FLT_TRUE_MIN): Likewise.
13533         [ISO11] (LDBL_TRUE_MIN): Likewise.
13534         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13535         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13536         (SCHAR_MIN): Use macro-int-constant.  Specify type.
13537         (SCHAR_MAX): Likewise.
13538         (UCHAR_MAX): Likewise.
13539         (CHAR_MIN): Likewise.
13540         (CHAR_MAX): Likewise.
13541         (MB_LEN_MAX): Use macro-int-constant.
13542         (SHRT_MIN): Use macro-int-constant.  Specify type.
13543         (SHRT_MAX): Likewise.
13544         (USHRT_MAX): Likewise.
13545         (INT_MAX): Likewise.
13546         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
13547         bound negative.
13548         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13549         bound with "U".
13550         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13551         bound with "L".
13552         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
13553         bound negative.  Suffix upper bound with "L".
13554         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13555         bound with "UL".
13556         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13557         Specify type.
13558         [C99-based standards] (LLONG_MAX): Likewise.
13559         [C99-based standards] (ULLONG_MAX): Likewise.
13560         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
13561         == 0.
13562         [ISO11] (max_align_t): Require type.
13563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13565         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13566         from $CFLAGS, without defining away __attribute__ calls.
13567         (checknamespace): Use $CFLAGS_namespace.
13569         * conform/conformtest.pl (@keywords): Only include C99 keywords
13570         for standards based on C99 or C11.
13572         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13573         Disable tests.
13574         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13575         UNIX98]: Likewise.
13577         * conform/conformtest.pl: Handle "macro-int-constant" and test for
13578         usability of symbols in #if.
13580         * conform/conformtest.pl: If macro or constant types start
13581         "promoted:", expect the symbol to be of the following type
13582         promoted by the integer promotions.
13584         * conform/conformtest.pl: Parse all "constant" and "macro" lines
13585         in one place.  Also handle "macro-constant".
13587         * conform/conformtest.pl: Only accept expected macro values with
13588         "==".  Parse all "macro" lines in one place.
13589         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13591         * conform/conformtest.pl: Handle braced types on "constant" lines
13592         instead of handling "typed-constant".
13593         * conform/data/signal.h-data: Use "constant" instead of
13594         "typed-constant".
13596         * conform/conformtest.pl: Handle "optional-" at start of lines in
13597         one place rather than duplicating several cases.  Handle each
13598         format of "macro" line with initial "optional-".
13600         * conform/conformtest.pl: Only accept expected constant or
13601         optional-constant values with "==".  Parse all "constant" lines in
13602         one place.  Parse all "optional-constant" lines in one place.
13603         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13604         * conform/data/fmtmsg.h-data: Likewise.
13605         * conform/data/netinet/in.h-data: Likewise.
13606         * conform/data/tar.h-data: Likewise.
13607         * conform/data/limits.h-data: Use "==" form on "constant" and
13608         "optional-constant" lines.
13610         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13611         Use -std=c99 for XOPEN2K.
13612         (@knownproblems): Remove.
13613         (newtoken): Don't check %isknown.
13615         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13616         Do not expect macro.
13617         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13618         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13619         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13620         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13621         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13622         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13623         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13624         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13625         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13626         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13627         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13628         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13629         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13630         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13631         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13632         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13633         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13634         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13635         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13636         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13637         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13638         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13639         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13640         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13641         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13642         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13643         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13644         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13645         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13646         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13647         [XPG3] (acosh): Likewise.
13648         [XPG3] (asinh): Likewise.
13649         [XPG3] (atanh): Likewise.
13650         [XPG3] (cbrt): Likewise.
13651         [XPG3] (expm1): Likewise.
13652         [XPG3] (ilogb): Likewise.
13653         [XPG3] (log1p): Likewise.
13654         [XPG3] (logb): Likewise.
13655         [XPG3] (nextafter): Likewise.
13656         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13657         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13658         [XPG3] (remainder): Likewise.
13659         [XPG3] (rint): Likewise.
13660         [XPG3 || XPG4 || UNIX98] (round): Likewise.
13661         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13662         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13663         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13664         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13665         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13666         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13667         [UNIX98 || XOPEN2K] (scalb): Expect.
13668         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13669         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13670         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13671         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13672         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13673         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13674         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13675         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13676         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13677         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13678         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13679         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13680         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13681         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13682         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13683         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13684         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13685         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13686         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13687         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13688         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13689         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13690         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13691         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13692         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13693         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13694         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13695         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13696         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13697         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13698         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13699         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13700         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13701         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13702         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13703         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13704         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13705         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13706         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13707         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13708         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13709         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13710         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13711         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13712         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13713         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13714         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13715         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13716         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13717         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13718         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13719         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13720         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13721         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13722         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13723         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13724         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13725         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13726         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13727         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13728         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13729         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13730         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13731         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13732         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13733         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13734         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13735         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13736         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13737         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13738         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13739         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13740         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13741         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13742         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13743         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13744         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13745         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13746         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13747         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13748         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13749         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13750         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13751         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13752         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13753         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13754         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13755         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13756         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13757         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13758         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13759         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13760         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13761         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13762         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13763         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13764         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13765         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13766         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13767         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13768         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13769         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13770         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13771         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13772         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13773         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13774         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13775         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13776         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13777         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13778         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13779         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13780         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13781         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13782         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13783         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13784         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13785         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13786         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13787         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13788         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13789         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13790         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13791         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13792         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13793         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13794         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13795         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13796         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13797         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13798         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13799         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13800         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13801         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13802         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13803         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13804         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13806         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13807         _XOPEN_SOURCE_EXTENDED for XPG4.
13809         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13811         * Makeconfig (localtime): Remove variable.
13812         (inst_localtime-file): Likewise.
13814 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13817         Update.
13818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13819         Update.
13820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13821         Update.
13822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13823         Update.
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13825         Update.
13826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13827         Update.
13828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13829         Update.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13831         Update.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13833         Update.
13835 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13837         [BZ #2550]
13838         [BZ #2570]
13839         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13840         comparisons to determine direction to adjust input.
13841         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13842         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13843         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13844         Likewise.
13845         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13846         Likewise.
13847         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13848         Likewise.
13849         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13850         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13851         Likewise.
13852         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13853         Likewise.
13854         * math/libm-test.inc (nexttoward_test): Add more tests.
13856 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13858         [BZ #14040]
13859         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13860         in version GLIBC_2.1, not GLIBC_2.0.
13861         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13862         Likewise.
13864 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
13866         [BZ #13942]
13867         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13868         (1 - x) * (1 + x).
13869         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13870         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13871         * math/libm-test.inc (acos_test): Add more tests.
13872         (asin_test): Likewise.
13873         * sysdeps/i386/fpu/libm-test-ulps: Update.
13874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13876         [BZ #14034]
13877         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13878         of square root.
13879         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13880         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13881         * math/libm-test.inc (acos_test_tonearest): New function.
13882         (acos_test_towardzero): Likewise.
13883         (acos_test_downward): Likewise.
13884         (acos_test_upward): Likewise.
13885         (asin_test_tonearest): Likewise.
13886         (asin_test_towardzero): Likewise.
13887         (asin_test_downward): Likewise.
13888         (asin_test_upward): Likewise.
13889         (main): Call the new functions.
13890         * sysdeps/i386/fpu/libm-test-ulps: Update.
13891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13893         [BZ #13884]
13894         [BZ #13924]
13895         * math/e_exp10.c: Include <float.h>.
13896         (__ieee754_exp10): Handle underflow here rather than multiplying
13897         large negative argument by M_LN10.
13898         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13899         of __ieee754_expf.
13900         * math/e_exp10l.c: Include <float.h>.
13901         (__ieee754_exp10l): Handle underflow here rather than multiplying
13902         large negative argument by M_LN10l.
13903         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
13904         spurious overflow exception on underflow.
13906 2012-04-29  Marek Polacek  <polacek@redhat.com>
13908         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13909         (__fortify_function): New macro.
13910         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13911         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13912         __extern_always_inline.
13913         * libio/bits/stdio2.h: Likewise.
13914         * libio/bits/stdio.h: Likewise.
13915         * string/string.h: Likewise.
13916         * string/bits/string3.h: Likewise.
13917         * include/stdio.h: Likewise.
13918         * stdlib/bits/stdlib.h: Likewise.
13919         * stdlib/stdlib.h: Likewise.
13920         * rt/bits/mqueue2.h: Likewise.
13921         * rt/mqueue.h: Likewise.
13922         * posix/bits/unistd.h: Likewise.
13923         * posix/unistd.h: Likewise.
13924         * io/bits/poll2.h: Likewise.
13925         * io/bits/fcntl2.h: Likewise.
13926         * io/fcntl.h: Likewise.
13927         * io/sys/poll.h: Likewise.
13928         * misc/bits/syslog.h: Likewise.
13929         * misc/bits/syslog-ldbl.h: Likewise.
13930         * misc/sys/syslog.h: Likewise.
13931         * socket/bits/socket2.h: Likewise.
13932         * socket/sys/socket.h: Likewise.
13933         * debug/tst-chk1.c: Likewise.
13934         * wcsmbs/bits/wchar2.h: Likewise.
13935         * wcsmbs/bits/wchar-ldbl.h: Likewise.
13936         * wcsmbs/wchar.h: Likewise.
13938 2012-04-29  Andreas Jaeger  <aj@suse.de>
13940         * Makerules (tests): Remove enable-check-abi protection.
13941         (check-abi-warn): Remove.
13942         (check-abi-%): Remove check-abi-warn usage.
13944         * configure.in: Remove check-abi configure option.
13945         * configure: Regenerated.
13946         * config.make.in (enable-check-abi): Remove.
13948 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
13950         [BZ #14033]
13951         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13952         double functions to double *_finite functions.
13954         [BZ #13941]
13955         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13956         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13957         LDBL_MIN_EXP.
13958         * stdio-common/Makefile (tests): Add tst-sprintf3.
13959         * stdio-common/tst-sprintf3.c: New file.
13961         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13962         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13964 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
13966         * conform/conformtest.pl: Remove duplicate typed-constant
13967         handling.
13969 2012-04-28  David S. Miller  <davem@davemloft.net>
13971         * Makerules (%.abilist): Add vpath on sysdep_dirs.
13972         (check-abi-%): Remove AWK script prerequisite and explicit
13973         abilist directory.
13974         (check-abi): Rewrite to just diff the symlist with the abilist.
13975         (config-tls, config-abi-config): Delete, no longer used.
13976         (update-abi-%): Remove AWK script and explicit abilist directory.
13977         (update-abi): Rewrite to simply compare and conditionally copy the
13978         symlist and the sysdep abilist file.  Remove update-abi-config
13979         checks.
13980         * abilist/ld.abilist: Remove.
13981         * abilist/libBrokenLocale.abilist: Remove.
13982         * abilist/libanl.abilist: Remove.
13983         * abilist/libcrypt.abilist: Remove.
13984         * abilist/libdl.abilist: Remove.
13985         * abilist/librt.abilist: Remove.
13986         * abilist/libthread_db.abilist: Remove.
13987         * abilist/libutil.abilist: Remove.
13988         * scripts/extract-abilist.awk: Remove.
13989         * scripts/merge-abilist.awk: Remove.
13990         * sysdeps/generic/libcidn.abilist: New file.
13991         * sysdeps/generic/libnss_compat.abilist: New file.
13992         * sysdeps/generic/libnss_db.abilist: New file.
13993         * sysdeps/generic/libnss_dns.abilist: New file.
13994         * sysdeps/generic/libnss_files.abilist: New file.
13995         * sysdeps/generic/libnss_hesiod.abilist: New file.
13996         * sysdeps/generic/libnss_nis.abilist: New file.
13997         * sysdeps/generic/libnss_nisplus.abilist: New file.
13998         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13999         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14000         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14001         file.
14002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14003         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14004         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14005         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14006         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14007         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14008         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14009         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14010         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14011         file.
14012         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14013         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14014         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14015         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14016         file.
14017         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14018         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14019         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14020         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14021         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14022         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14023         file.
14024         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14025         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14026         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14027         file.
14028         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14030         New file.
14031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14032         New file.
14033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14034         New file.
14035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14036         New file.
14037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14038         New file.
14039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14040         New file.
14041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14042         New file.
14043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14044         New file.
14045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14046         New file.
14047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14048         New file.
14049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14050         New file.
14051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14052         New file.
14053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14054         New file.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14056         file.
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14058         New file.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14060         New file.
14061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14062         file.
14063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14064         New file.
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14066         New file.
14067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14068         file.
14069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14070         New file.
14071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14072         New file.
14073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14074         New file.
14075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14076         New file.
14077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14078         New file.
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14080         New file.
14081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14083         file.
14084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14085         New file.
14086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14087         file.
14088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14089         file.
14090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14091         file.
14092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14093         file.
14094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14095         file.
14096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14097         New file.
14098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14099         file.
14100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14101         file.
14102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14103         New file.
14104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14105         file.
14106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14108         file.
14109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14110         New file.
14111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14112         file.
14113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14114         file.
14115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14116         file.
14117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14118         file.
14119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14120         file.
14121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14122         New file.
14123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14124         file.
14125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14126         file.
14127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14128         New file.
14129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14130         file.
14131         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14132         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14133         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14134         file.
14135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14136         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14137         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14138         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14139         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14140         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14141         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14142         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14143         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14144         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14147         file.
14148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14149         New file.
14150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14151         file.
14152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14153         file.
14154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14155         file.
14156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14157         file.
14158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14159         file.
14160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14161         New file.
14162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14163         New file.
14164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14165         file.
14166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14167         New file.
14168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14169         file.
14170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14172         file.
14173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14174         New file.
14175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14176         file.
14177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14178         file.
14179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14180         file.
14181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14182         file.
14183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14184         file.
14185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14186         New file.
14187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14188         New file.
14189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14190         file.
14191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14192         New file.
14193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14194         file.
14196 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14198         * conform/conformtest.pl: Fix typo in handling typed-constant from
14199         allow-header.
14201 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14203         * README: Cut down references to pre-2.6 Linux kernels and
14204         Linuxthreads.  Update lists of configurations in libc and ports
14205         and sort alphabetically.  Say "or newer" with Linux kernel version
14206         requirements.
14208         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14210 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14212         [BZ #887]
14213         * math/libm-test.inc (logb_test_downward): New test to expose
14214         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14215         rounding mode.
14217 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14219         [BZ #14027]
14220         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14221         to be done.
14222         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14223         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14225 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14227         * sysdeps/unix/i386/brk.S: Remove file.
14228         * sysdeps/unix/i386/dl-brk.S: Likewise.
14229         * sysdeps/unix/i386/pipe.S: Likewise.
14230         * sysdeps/unix/i386/sigreturn.S: Likewise.
14231         * sysdeps/unix/i386/syscall.S: Likewise.
14232         * sysdeps/unix/i386/vfork.S: Likewise.
14233         * sysdeps/unix/i386/wait.S: Likewise.
14235         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14236         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14238         * configure.in (arm*-none*): Do not allow without
14239         --enable-hacker-mode.
14240         (netbsd*): Remove case setting base_os.
14241         (386bsd*): Likewise.
14242         (freebsd*): Likewise.
14243         (bsdi*): Likewise.
14244         (osf*): Likewise.
14245         (sunos*): Likewise.
14246         (ultrix*): Likewise.
14247         (newsos*): Likewise.
14248         (dynix*): Likewise.
14249         (*bsd*): Likewise.
14250         (sysv*): Likewise.
14251         (isc*): Likewise.
14252         (esix*): Likewise.
14253         (sco*): Likewise.
14254         (minix*): Likewise.
14255         (irix4*): Likewise.
14256         (irix6*): Likewise.
14257         (solaris[2-9]*): Likewise.
14258         (none): Likewise.
14259         * configure: Regenerated.
14261 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14263         [BZ #11521]
14264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14265         overflow or cancellation in calculating denominator.
14266         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14268         down expression to avoid unexpected rounding in newer GCCs.
14269         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14271 2012-04-26  David S. Miller  <davem@davemloft.net>
14273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14274         long-double compat symbols.
14275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14289 2012-04-25  David S. Miller  <davem@davemloft.net>
14291         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14292         HWCAP_* values only after the memory barriers have been defined.
14293         (atomic_full_barrier): Define.
14294         (atomic_read_barrier): Define.
14295         (atomic_write_barrier): Define.
14297 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14299         * shlib-versions: Add libgcc_s version information.
14300         * sysdeps/generic/libgcc_s.h: Remove.
14301         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14302         libgcc_s.h.
14303         * sysdeps/gnu/unwind-resume.c: Likewise.
14304         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14306 2012-04-25  David S. Miller  <davem@davemloft.net>
14308         * sysdeps/unix/sparc/brk.S: Delete.
14309         * sysdeps/unix/sparc/dl-brk.S: Delete.
14310         * sysdeps/unix/sparc/pipe.S: Delete.
14311         * sysdeps/unix/sparc/sysdep.S: Delete.
14312         * sysdeps/unix/sparc/sysdep.h: Delete.
14313         * sysdeps/unix/sparc/vfork.S: Delete.
14314         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14315         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14316         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14317         ret_ERRVAL, r0, r1, MOVE): Define.
14318         (JUMPTARGET): Remove.
14319         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14320         sysdeps/unix/sparc/sysdep.h
14321         (ENTRY, END): Remove.
14322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14324 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
14326         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14327         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14328         -DIS_IN_build.
14330         * timezone/README: Update upstream location and email address for
14331         tzcode and tzdata.
14332         * timezone/zdump.c: Update from tzcode 2012b.
14333         * timezone/zic.c: Likewise.
14335         * configure.in (libc_cv_as_needed): Remove test.
14336         * configure: Regenerated.
14337         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14338         conditional definition.
14339         [$(have-as-needed) != yes] (no-as-needed): Likewise.
14340         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14341         * config.make.in (have-as-needed): Remove variable.
14343 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14344             Paul Pluzhnikov  <ppluzhnikov@google.com>
14346         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14347         strings correctly.
14349 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14351         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14352         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14353         * sysdeps/sh/strlen.S: Likewise.
14355 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14357         * sysdeps/unix/fork.S: Remove file.
14358         * sysdeps/unix/i386/fork.S: Likewise.
14359         * sysdeps/unix/sparc/fork.S: Likewise.
14361         * sysdeps/unix/system.c: Remove file.
14362         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14364         * sysdeps/unix/getegid.S: Remove file.
14365         * sysdeps/unix/geteuid.S: Likewise.
14367 2012-04-24  Roland McGrath  <roland@hack.frob.com>
14369         * scripts/check-localplt.awk: New file.
14370         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14371         of diff.
14372         * scripts/data/localplt-generic.data: Add a comment.
14374         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14375         NODE when __dir_mkfile failed.
14376         * sysdeps/mach/hurd/symlinkat.c: Likewise.
14377         Reported by Ludovic Courtès <ludo@gnu.org>.
14379 2012-04-24  Andreas Jaeger  <aj@suse.de>
14381         * Makerules (common-clean): Also remove gen-as-const-headers
14382         files.
14384 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14386         * Makerules (native-compile): Do not change working directory for
14387         build.  Use $(OUTPUT_OPTION) in command.
14388         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14390 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14392         [BZ #13886]
14393         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14394         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14395         * math/libm-test.inc (floor_test): Add more tests.
14396         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14400         * sysdeps/unix/getdents.c: Remove file.
14401         * sysdeps/unix/sysv/getdents.c: Likewise.
14402         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14404         * sysdeps/unix/syscalls.list (madvise): Add syscall from
14405         sysdeps/unix/mman/syscalls.list.
14406         (mmap): Likewise.
14407         (mprotect): Likewise.
14408         (msync): Likewise.
14409         (munmap): Likewise.
14410         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14411         * sysdeps/unix/mman/syscalls.list: Remove.
14412         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14414         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14415         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14416         * configure: Regenerated.
14417         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14418         $(libgcc_s_suffix).
14419         * config.make.in (libgcc_s_suffix): Remove variable.
14421 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
14423         * sysdeps/unix/sysv/gethostname.c: Move to ...
14424         * sysdeps/posix/gethostname.c: ... here.
14426         * sysdeps/unix/execve.S: Remove file.
14428         * sysdeps/unix/_exit.S: Remove file.
14430 2012-04-23  Andreas Jaeger  <aj@suse.de>
14432         [BZ #13739]
14433         * manual/Makefile: Remove make dist support, there's no
14434         need for a stand-alone documentation tar ball.
14435         (TEXI2DVI): Define always, it's not in Makeconfig.
14436         (dist): Removed.
14437         (tar-it): Removed.
14438         (edition): Removed.
14439         (glibc-doc-$(edition).tar): Removed
14440         (%.Z): Removed.
14441         (%.gz): Removed.
14442         (%.uu): Removed.
14443         (ETAGS): Remove, it's in Makeconfig.
14444         (move-if-change): Remove, it's in Makeconfig.
14446 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
14448         [BZ #13970]
14449         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14450         (strtod, strtof, strtold, strtol, strtoul, strtoq)
14451         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14452         (strtod_l, strtof_l, strtold_l): Remove __wur.
14453         It is not necessarily an error to ignore strtol's return value.
14454         One can reliably look at the stored endptr to decide whether
14455         the number had valid syntax.
14457 2012-04-21  Andreas Jaeger  <aj@suse.de>
14459         [BZ #13739]
14460         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14462 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
14464         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14465         * sysdeps/unix/sysv/Versions: Remove file.
14467 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
14469         [BZ #13927]
14470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14472 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
14474         [BZ #7064]
14475         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14476         version from __vm86.
14478 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
14480         * sysdeps/unix/common/lxstat.c: Remove file.
14481         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14483         * sysdeps/unix/sysv/Makefile: Remove file.
14485         * sysdeps/unix/sysv/direct.h: Remove file.
14487         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14488         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14489         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14490         * sysdeps/unix/sysv/bits/signum.h: Likewise.
14491         * sysdeps/unix/sysv/bits/stat.h: Likewise.
14492         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14493         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14495         * sysdeps/unix/sysv/setrlimit.c: Remove file.
14497         * sysdeps/unix/xmknod.c: Remove file.
14498         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14500         * sysdeps/unix/sysv/settimeofday.c: Remove file.
14502         * sysdeps/unix/sysv/i386/time.S: Remove file.
14504         * sysdeps/unix/fxstat.c: Remove file.
14505         * sysdeps/unix/xstat.c: Likewise.
14506         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14508         * sysdeps/unix/sysv/sigaction.c: Remove file.
14510         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14511         (sysdep_headers): Remove variable.
14512         [termio.h not in sysdep_headers] (generated): Likewise.
14513         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14514         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14515         * sysdeps/unix/sysv/tcdrain.c: Likewise.
14516         * sysdeps/unix/sysv/tcflow.c: Likewise.
14517         * sysdeps/unix/sysv/tcflush.c: Likewise.
14518         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14519         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14520         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14521         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14522         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14524         * sysdeps/unix/siglist.c: Remove file.
14526         * sysdeps/unix/getppid.S: Remove file.
14528         * sysdeps/unix/mkdir.c: Remove file.
14529         * sysdeps/unix/rmdir.c: Likewise.
14531 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
14533         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14534         ERR_MAX value.
14535         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14536         errlist-compat value.
14538 2012-04-18  David S. Miller  <davem@davemloft.net>
14540         * sysdeps/generic/memcopy.h (reg_char): Delete.
14541         * debug/strcat_chk.c: Use char, not reg_char.
14542         * debug/strcpy_chk.c: Likewise.
14543         * debug/strncat_chk.c: Likewise.
14544         * debug/strncpy_chk.c: Likewise.
14545         * string/memchr.c: Likewise.
14546         * string/memrchr.c: Likewise.
14547         * string/rawmemchr.c: Likewise.
14548         * string/strcat.c: Likewise.
14549         * string/strchr.c: Likewise.
14550         * string/strchrnul.c: Likewise.
14551         * string/strcmp.c: Likewise.
14552         * string/strcpy.c: Likewise.
14553         * string/strncat.c: Likewise.
14554         * string/strncmp.c: Likewise.
14555         * string/strncpy.c: Likewise.
14557 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14559         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14560         __builtin_memcopy is called when src and dest ranges are known to not
14561         overlap.
14563 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14565         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14566         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14567         fwd_align_merge macro call.
14568         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14569         bwd_align_merge macro call.
14570         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14572 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14574         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14575         bwd_align_merge macros.
14576         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14577         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14578         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14580 2012-04-18  David S. Miller  <davem@davemloft.net>
14582         * sysdeps/sparc/sparc64/memcopy.h: Delete.
14584 2012-04-18  Andreas Jaeger  <aj@suse.de>
14586         [BZ# 6794]
14587         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14588         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14589         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14591         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14592         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14593         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14595         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14596         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14597         Adjust for changed ldbl-128 files.
14599         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14600         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14601         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14603 2012-04-17  David S. Miller  <davem@davemloft.net>
14605         * sysdeps/sparc/sparc32/memcopy.h: Delete.
14607 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
14609         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14610         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14611         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14612         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14613         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14614         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14616 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14618         [BZ #6794]
14619         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14620         * math/libm-test.inc: Add ilogb errno and exception tests.
14621         * math/w_ilogb.c: New file: ilogb wrapper.
14622         * math/w_ilogbf.c: New file: ilogbf wrapper.
14623         * math/w_ilogbl.c: New file: ilogbl wrapper.
14624         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14625         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14626         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14627         exception being thrown with 0.0 as argument.
14628         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14629         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14630         exception being thrown with 0.0 as argument.
14631         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14632         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14633         exception being thrown with 0.0 as argument.
14634         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14635         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14636         exception being thrown with 0.0 as argument.
14637         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14638         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14639         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14640         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14642         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14643         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14644         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14645         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14647 2012-04-17  Petr Baudis  <pasky@ucw.cz>
14649         * include/sys/uio.h: Change __vector to __iovec to avoid clash
14650         with altivec.
14652 2012-04-16  Marek Polacek  <polacek@redhat.com>
14654         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14656 2012-04-16  Marek Polacek  <polacek@redhat.com>
14658         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14659         operands of fdivp instruction.
14661 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14663         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14664         * elf/tst-auditmod3b.c: Likewise.
14665         * elf/tst-auditmod4b.c: Likewise.
14666         * elf/tst-auditmod5b.c: Likewise.
14667         * elf/tst-auditmod6b.c: Likewise.
14668         * elf/tst-auditmod6c.c: Likewise.
14669         * elf/tst-auditmod7b.c: Likewise.
14670         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14671         * sysdeps/x86_64/preconfigure.in: Likewise.
14672         * sysdeps/x86_64/preconfigure: Regenerated.
14674 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14676         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14677         __ILP32__.
14679 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
14681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14682         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14684 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
14686         [BZ #13973]
14687         * locale/iso-639.def: Fix gl language name. Spotted by
14688         Yaron Shahrabani.
14690 2012-04-12  Roland McGrath  <roland@hack.frob.com>
14692         [BZ #2074]
14693         * libio/libio.h (__io_write_fn): Update comment.
14695 2012-04-12  Petr Baudis  <pasky@ucw.cz>
14697         [BZ #2074]
14698         * stdio.texi (Hook Functions): The user provided writer function
14699         is not allowed to return -1.
14701 2012-04-11  David S. Miller  <davem@davemloft.net>
14703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14705 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
14707         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14708         Add a leading slash to rtkaio.
14710 2012-04-11  Jim Meyering  <meyering@redhat.com>
14712         [BZ #11959]
14713         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14714         It is not necessarily an error to ignore fwrite's return
14715         value.  One can reliably use ferror to test for errors after
14716         the fact.
14718 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14720         * bits/types.h (__snseconds_t): New type.
14721         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14723         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14725         (__SNSECONDS_T_TYPE): Likewise.
14726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14727         (__SNSECONDS_T_TYPE): Likewise.
14728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14729         (__SNSECONDS_T_TYPE): Likewise.
14731 2012-04-10  Andreas Jaeger  <aj@suse.de>
14733         [BZ #2636]
14734         * manual/time.texi (Processor Time): Return type of times is
14735         elapsed real time since an arbitrary point in the past.
14736         (CPU Time): Move CLK_TCK from here...
14737         (Processor Time): ...to here.  Correct description.
14738         * manual/conf.texi (Constants for Sysconf): Correct description of
14739         _SC_CLK_TCK.
14741 2012-04-10  David S. Miller  <davem@davemloft.net>
14743         [BZ #13967]
14744         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14745         where the is a gap between DT_REL(A) and DT_JMPREL.
14747 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14749         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14750         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14751         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14753 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14755         * elf/dl-support.c (_dl_inhibit_cache): New variable.
14756         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14757         (dl_main): Handle --inhibit-cache.
14758         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14759         _dl_inhibit_cache.
14760         * elf/dl-load.c (_dl_map_object): Use it.
14761         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14763 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14765         [BZ #13872]
14766         * sysdeps/i386/fpu/e_powl.S (p78): New object.
14767         (__ieee754_powl): Saturate large exponents rather than testing for
14768         overflow of y*log2(x).
14769         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14770         * math/libm-test.inc (pow_test): Do not permit spurious overflow
14771         exceptions.
14773         [BZ #11521]
14774         * math/s_ctan.c: Include <float.h>.
14775         (__ctan): Avoid internal overflow or cancellation in calculating
14776         denominator.
14777         * math/s_ctanf.c: Likewise.
14778         * math/s_ctanl.c: Likewise.
14779         * math/s_ctanh.c: Likewise.
14780         * math/s_ctanhf.c: Likewise.
14781         * math/s_ctanhl.c: Likewise.
14782         * math/libm-test.inc (ctan_test): Add more tests.
14783         (ctanh_test): Likewise.
14784         * sysdeps/i386/fpu/libm-test-ulps: Update.
14785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14787 2012-04-09  Andreas Jaeger  <aj@suse.de>
14789         [BZ #6894]
14790         * manual/filesys.texi (Directory Entries): Mention that d_namlen
14791         is an optional BSD extension.
14793         [BZ #10254]
14794         * manual/stdio.texi (Opening Streams): Document additional fopen
14795         parameters.
14797 2012-04-09  Roland McGrath  <roland@hack.frob.com>
14799         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14800         %eax without telling the compiler.
14802 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
14804         [BZ # 13963]
14805         * manual/install.texi: Use sourceware.org.
14807 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #13873]
14810         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14811         (__ieee754_pow): Generate overflow and underflow using huge*huge
14812         and tiny*tiny rather than just returning constant infinity or zero
14813         for large exponents.
14814         * math/libm-test.inc (pow_test): Require overflow exceptions for
14815         applicable cases of large exponents.
14817         [BZ #706]
14818         * sysdeps/i386/fpu/e_pow.S (p10): New object.
14819         (__ieee754_pow): Use iterative multiplication algorithm only for
14820         integer exponents with absolute value below 1024.  Check for odd
14821         integer exponents when using algorithm for real exponents.
14822         * math/libm-test.inc (pow_test): Add more tests.
14823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14825 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
14827         [BZ #13705]
14828         * math/libm-test.inc (exp_test): Do not allow overflow exception
14829         on underflow test.
14831 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
14833         [BZ #13705]
14834         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14835         instead of __kernel_standard_f.
14837 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
14839         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14840         * sysdeps/x86_64/memset_chk.S: Likewise.
14842 2012-04-08  Andreas Jaeger  <aj@suse.de>
14844         [BZ #10153]
14845         * manual/startup.texi (Environment Access): Describe return value
14846         for putenv and setenv.
14848         [BZ #6895]
14849         * manual/filesys.texi (Directory Entries): Add description for
14850         DT_LNK.
14852         [BZ #6890]
14853         * manual/filesys.texi (Directory Entries): Clarify that it's file
14854         system not operating system in the description of DT_UNKNOWN.
14856         [BZ #6578]
14857         * manual/syslog.texi (closelog): Fix reference, it's openlog.
14859 2012-04-08  Stephen Compall  <s11@member.fsf.org>
14861         [BZ #6649]
14862         * manual/llio.texi (Opening and Closing Files): Add cross
14863         reference to explain mode argument.
14865 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
14867         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14868         * sysdeps/x86_64/memset_chk.S: Likewise.
14870 2012-04-07  David S. Miller  <davem@davemloft.net>
14872         * elf/elf.h (R_SPARC_WDISP10): Define.
14873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14874         R_SPARC_SIZE32.
14875         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14876         R_SPARC_SIZE64 and R_SPARC_H34.
14878 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
14880         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14881         conditions and remove no longer applicable assertion.
14883 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14885         * bits/byteswap.h: Include <features.h>.
14886         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14887         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14889 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14891         * bits/byteswap.h (__bswap_16): Removed.
14892         Include <bits/byteswap-16.h> to get __bswap_16.
14893         * sysdeps/i386/bits/byteswap.h: Likewise.
14894         * sysdeps/s390/bits/byteswap.h: Likewise.
14895         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14896         * bits/byteswap-16.h: New file.
14897         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14898         * sysdeps/s390/bits/byteswap-16.h: Likewise.
14899         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14900         * string/Makefile (headers): Add bits/byteswap-16.h.
14902 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14904         [BZ #13895]
14905         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14906         extra indirection.
14907         * nss/Makefile (tests-static, tests): Add tst-nss-static.
14908         * nss/tst-nss-static.c: New.
14910 2012-04-06  Robert Millan  <rmh@gnu.org>
14912         [BZ #6486]
14913         * manual/llio.texi (File Position Primitive): lseek
14914         refers to WHENCE when it really means OFFSET.
14916 2012-04-06  Andreas Jaeger  <aj@suse.de>
14918         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14919         strncmp declarations.
14921         * abilist/libc.abilist: Add __poll and __ppoll.
14923 2012-04-05  David S. Miller  <davem@davemloft.net>
14925         * scripts/check-local-headers.sh: Accept a host triplet in the
14926         path matched by the exclude regexp.
14928         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14929         definition.
14930         * sysdeps/powerpc/powerpc32/dl-machine.h
14931         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14932         * sysdeps/s390/s390-32/dl-machine.h
14933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14934         * sysdeps/sparc/sparc32/dl-machine.h
14935         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14936         * sysdeps/sparc/sparc64/dl-machine.h
14937         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14939         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14940         lazy binding.
14941         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14942         undefined symbol errors.
14944         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14945         DT_NEEDED entries.
14947 2012-04-05  Michael Matz  <matz@suse.de>
14949         [BZ #13592]
14950         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14952 2012-04-05  Andreas Jaeger  <aj@suse.de>
14954         [BZ #13908]
14955         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14956         comment.
14958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14960         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14961         which ROUND is no valid rounding mode.
14963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14965         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14966         read again.
14967         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14969 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14971         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14972         an exception using FPU order intentionally.
14974 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14976         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14977         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14978         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14979         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14981 2012-04-05  Simon Josefsson  <simon@josefsson.org>
14983         [BZ #12340]
14984         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14985         EINVAL when BUFLEN is too smal.
14987 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14989         [BZ #13553]
14990         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14991         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14993 2012-04-03  Andreas Jaeger  <aj@suse.de>
14995         [BZ #13938]
14996         * manual/setjmp.texi (System V contexts): Fix sentence.
14998         [BZ #13926]
14999         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15000         New macro for this case.
15001         [!__GNUC__] (__bswap_64): New inline function for this case.
15002         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15003         * bits/byteswap.h: Likewise.
15004         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15005         ull, guard with __GLIBC_HAVE_LONG_LONG.
15007         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15008         __GLIBC_HAVE_LONG_LONG.
15010         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15011         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15013 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15015         [BZ #13691]
15016         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15017         inptr and inend, rather than using last_ch.
15019 2012-04-02  David S. Miller  <davem@davemloft.net>
15021         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15022         * stdio-common/printf-parse.h (read_int): Change return type to
15023         'int', return -1 on INT_MAX overflow.
15024         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15025         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15026         overflows INT_MAX.  Check for overflow of in-format-string precision
15027         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15028         SIZE_MAX not INT_MAX for integer overflow test.
15029         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15030         skip the construct in the format string but do not record anything.
15031         * stdio-common/bug22.c: Adjust to test both width/prevision
15032         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15033         explicitly for proper errno values.
15035 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15037         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15038         CHAR_MAX.
15039         * string/test-strcmp.c [! WIDE]: Likewise.
15040         * time/tst-mktime2.c: Likewise for INT_MAX.
15041         * string/test-string.h: #include <sys/param.h> for MIN.
15043         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15044         * sysdeps/i386/init-first.c (init): Likewise.
15045         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15046         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15047         * sysdeps/sh/init-first.c (init): Likewise.
15049 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15051         * po/ru.po: Update from translation team.
15052         * po/vi.po: Likewise.
15054 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15056         * resolv/nss_dns/dns-host.c: Merge copyright years.
15058 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15060         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15061         Optimize memcpy with prefetch if
15062         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15063         src, dst pointers have unequal 16 byte alignments.
15065 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15067         [BZ #13928]
15068         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15069         from a CNAME entry and return the minimum ttl for the query.
15070         (gaih_getanswer_slice): Likewise.
15072 2012-03-30  Jeff Law  <law@redhat.com>
15074         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15075         due to long keys.
15076         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15077         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15079         * resolv/nss_dns/dns-host.c: Update copyright year.
15081 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15083         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15084         requests to save a system call.  Fix check that all bytes are sent.
15086         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15087         comments for sendmmsg.
15089 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15091         [BZ #13691]
15092         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15093         with only 1 character between 0x0041 and 0x01b0.
15094         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15095         * wcsmbs/tst-mbsnrtowcs.c: New file.
15097 2012-03-29  David S. Miller  <davem@davemloft.net>
15099         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15100         small copies by hand.
15102 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15104         [BZ #13761]
15105         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15106         _nss_compat_initgroups_dyn): Fall back to malloc/free
15107         for large group memberships.
15109 2012-03-28  David S. Miller  <davem@davemloft.net>
15111         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15112         that branches into memcpy.
15113         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15115         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15116         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15118         bits.
15119         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15120         implementation too.
15121         * sysdeps/sparc/mempcpy.S: New file.
15123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15124         the IFUNC routine in the libc case.
15125         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15127         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15128         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15129         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15130         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15131         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15132         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15133         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15134         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15136         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15137         loop to 256 bytes instead of 64 bytes and fix test signedness.
15139         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15140         * sysdeps/sparc/sparc32/Makefile: rather than here...
15141         * sysdeps/sparc/sparc64/Makefile: and here.
15143 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15145         * malloc/mallocbug.c: Avoid warnings about unused variables.
15147 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15149         [BZ #13760]
15150         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15151         in the right place. Discard and retry query if response is
15152         larger than input buffer size.
15154 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15156         [BZ #369]
15157         [BZ #2678]
15158         [BZ #3866]
15159         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15160         x for large integer exponent.
15161         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15162         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15163         sign of result as needed afterwards.
15164         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15165         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15166         result for underflowing pow the same as for overflow.
15167         (__kernel_standard_l): Handle powl overflow and underflow here
15168         rather than calling __kernel_standard.
15169         * math/libm-test.inc (pow_test): Add more tests.
15171         [BZ #3868]
15172         [BZ #13879]
15173         [BZ #13910]
15174         [BZ #13911]
15175         [BZ #13912]
15176         [BZ #13913]
15177         [BZ #13915]
15178         [BZ #13916]
15179         [BZ #13917]
15180         [BZ #13918]
15181         [BZ #13919]
15182         [BZ #13920]
15183         [BZ #13921]
15184         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15185         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15186         (__kernel_standard_l): New function.
15187         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15188         __kernel_standard.
15189         * math/w_acosl.c (__acosl): Likewise.
15190         * math/w_asinl.c (__asinl): Likewise.
15191         * math/w_atan2l.c (__atan2l): Likewise.
15192         * math/w_atanhl.c (__atanhl): Likewise.
15193         * math/w_coshl.c (__coshl): Likewise.
15194         * math/w_exp10l.c (__exp10l): Likewise.
15195         * math/w_exp2l.c (__exp2l): Likewise.
15196         * math/w_fmodl.c (__fmodl): Likewise.
15197         * math/w_hypotl.c (__hypotl): Likewise.
15198         * math/w_j0l.c (__j0l, __y0l): Likewise.
15199         * math/w_j1l.c (__j1l, __y1l): Likewise.
15200         * math/w_jnl.c (__jnl, __ynl): Likewise.
15201         * math/w_lgammal.c (__lgammal): Likewise.
15202         * math/w_log10l.c (__log10l): Likewise.
15203         * math/w_log2l.c (__log2l): Likewise.
15204         * math/w_logl.c (__logl): Likewise.
15205         * math/w_powl.c (__powl): Likewise.
15206         * math/w_remainderl.c (__remainderl): Likewise.
15207         * math/w_scalbl.c (sysv_scalbl): Likewise.
15208         * math/w_sinhl.c (__sinhl): Likewise.
15209         * math/w_sqrtl.c (__sqrtl): Likewise.
15210         * math/w_tgammal.c (__tgammal): Likewise.
15211         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15212         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15213         * math/libm-test.inc (acos_test): Add more tests.
15214         (acosh_test): Likewise.
15215         (asin_test): Likewise.
15216         (atanh_test): Likewise.
15217         (exp_test): Likewise.
15218         (exp10_test): Likewise.
15219         (exp2_test): Likewise.
15220         (expm1_test): Likewise.
15221         (lgamma_test): Likewise.
15222         (log_test): Likewise.
15223         (log10_test): Likewise.
15224         (log1p_test): Likewise.
15225         (log2_test): Likewise.
15226         (pow_test): Do not allow some spurious overflow exceptions.
15227         (sqrt_test): Add more tests.
15228         (tgamma_test): Likewise.
15229         (y0_test): Likewise.
15230         (y1_test): Likewise.
15231         (yn_test): Likewise.
15233 2012-03-27  Anton Blanchard  <anton@samba.org>
15235         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15236         MAP_HUGETLB.
15237         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15238         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15241 2012-03-27  David S. Miller  <davem@davemloft.net>
15243         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15245         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15246         have-as-vis3 check.
15248 2012-03-27  Andreas Jaeger  <aj@suse.de>
15250         * sysdeps/x86_64/elf/configure.in: Moved to ...
15251         * sysdeps/x86_64/configure.in: ... here.
15252         * sysdeps/x86_64/elf/start.S: Moved to ...
15253         * sysdeps/x86_64/start.S: ... here.
15254         * sysdeps/x86_64/elf/configure: Delete.
15256         * sysdeps/x86_64/configure.in: Merge contents from
15257         sysdeps/i386/configure.in (without i686 check).
15259         * sysdeps/i386/elf/Versions: Merge into ...
15260         * sysdeps/i386/Versions: ... this.
15261         * sysdeps/i386/elf/Versions: Delete file.
15262         * sysdeps/i386/elf/start.S: Moved to ...
15263         * sysdeps/i386/start.S: ...here.
15264         * sysdeps/i386/elf/configure.in: Merge into...
15265         * sysdeps/i386/configure.in: ...here.
15266         * sysdeps/i386/elf/configure.in: Delete file.
15267         * sysdeps/i386/elf/configure: Delete file.
15269         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15270         * debug/backtracesyms.c: ... here.
15271         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15272         * debug/backtracesymsfd.c: ... here.
15273         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15274         * sysdeps/generic/ifunc-sel.h: ... here.
15276         * sysdeps/unix/i386/start.c: Delete file.
15277         * sysdeps/unix/sparc/start.c: Delete file.
15278         * sysdeps/unix/start.c: Delete file.
15280         * sysdeps/sh/elf/configure.in: Moved to ...
15281         * sysdeps/sh/configure.in: ... here.
15282         * sysdeps/sh/elf/start.S: Moved to ...
15283         * sysdeps/sh/start.S: ... here.
15284         * sysdeps/sh/elf/configure: Delete file.
15286         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15287         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15288         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15289         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15290         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15291         * sysdeps/powerpc/powerpc64/start.S: here.
15292         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15293         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15294         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15295         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15296         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15298         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15299         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15300         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15301         * sysdeps/powerpc/powerpc32/start.S: ... here.
15302         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15303         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15304         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15306         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15307         * sysdeps/powerpc/ifunc-sel.h: ... here.
15308         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15309         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15311         * sysdeps/sparc/elf/configure.in: Moved to ...
15312         * sysdeps/sparc/configure.in: ... here.
15313         * sysdeps/sparc/elf/configure: Delete file.
15314         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15315         * sysdeps/sparc/sparc32/start.S: ... here.
15316         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15317         * sysdeps/sparc/sparc64/start.S: ... here.
15318         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15319         * sysdeps/sparc/sparc32/Makefile: ... this.
15320         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15321         * sysdeps/sparc/sparc64/Makefile: ... this.
15323         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15324         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15325         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15326         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15327         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15328         * sysdeps/s390/s390-32/setjmp.S: ... here.
15329         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15330         * sysdeps/s390/s390-32/configure.in: ... here.
15331         * sysdeps/s390/s390-32/elf/configure: Delete file.
15332         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15333         * sysdeps/s390/s390-32/start.S: ... here.
15335         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15336         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15337         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15338         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15339         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15340         * sysdeps/s390/s390-64/setjmp.S: ... here.
15341         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15342         * sysdeps/s390/s390-64/configure.in: ... here
15343         * sysdeps/s390/s390-64/elf/configure: Delete file.
15344         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15345         * sysdeps/s390/s390-64/start.S: ... here.
15346         * sysdeps/s390/s390-64/elf/configure: Delete.
15348         * configure.in: Remove support for elf directories in sysdeps.
15350         * configure: Regenerated.
15351         * sysdeps/i386/configure: Regenerated.
15352         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15353         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15354         * sysdeps/s390/s390-32/configure: Regenerated.
15355         * sysdeps/s390/s390-64/configure: Regenerated.
15356         * sysdeps/sh/configure: Regenerated.
15357         * sysdeps/sparc/configure: Regenerated.
15358         * sysdeps/x86_64/configure: Regenerated.
15360 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
15362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15364         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15365         denormal result into account.
15367 2012-03-25  Roland McGrath  <roland@hack.frob.com>
15369         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15370         Reported by Allan McRae <allan@archlinux.org>.
15372 2012-03-23  Jeff Law  <law@redhat.com>
15374         * nss/getnssent.c (__nss_getent): Fix typo.
15376 2012-03-23  David S. Miller  <davem@davemloft.net>
15378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15380 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
15382         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15383         to pad to uint64_t for each field.
15384         (dl_tls_index): Replace unsigned long with uint64_t.
15386 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
15387         Paul Pluzhnikov  <ppluzhnikov@google.com>
15389         [BZ #6528]
15390         * grp/Makefile (otherlibs): Don't set it.
15391         * inet/Makefile (otherlibs): Likewise.
15392         * login/Makefile (otherlibs): Likewise.
15393         * nscd/Makefile (otherlibs): Likewise.
15394         * posix/Makefile (otherlibs): Likewise.
15395         * pwd/Makefile (otherlibs): Likewise.
15396         * rt/Makefile (otherlibs): Likewise.
15397         * sunrpc/Makefile (otherlibs): Likewise.
15398         * nss/Makefile (otherlibs): Likewise.
15399         Add libnss_files to routines and static-only-routines.
15400         ($(objpfx)getent): Remove rule.
15401         * resolv/Makefile: Add libnss_dns and libresolv to routines and
15402         static-only-routines.
15404 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15406         [BZ #13892]
15407         * math/s_cexp.c: Include <float.h>.
15408         (__cexp): Handle exp result overflowing not necessarily
15409         overflowing both real and imaginary parts of result.
15410         * math/s_cexpf.c: Likewise.
15411         * math/s_cexpl.c: Likewise.
15412         * math/libm-test.inc (cexp_test): Add more tests.
15413         * sysdeps/i386/fpu/libm-test-ulps: Update.
15414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15418         * include/link.h (ELFW): New macro.
15419         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15420         Replace ELF64_R_TYPE with ELFW(R_TYPE).
15422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15424         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15425         with uint64_t.
15427 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15429         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15430         declaration.
15431         (struct La_x32_retval): Likewise.
15433 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15435         * sysdeps/x86_64/preconfigure.in: New file.
15436         * sysdeps/x86_64/preconfigure: New generated file.
15438 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15440         [BZ #13824]
15441         * math/e_exp2l.c: Include <float.h>.
15442         (__ieee754_exp2l): Handle overflow and underflow cases
15443         separately.  Only pass fractional part of argument to
15444         __ieee754_expl.
15445         * math/libm-test.inc (exp2_test): Add more tests.
15447         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15448         negating x to take absolute value.
15449         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15450         Likewise.
15451         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15452         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15453         Likewise.
15454         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15455         computing low part if x was negated.
15456         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15458 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15460         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15461         la_x32_gnu_pltexit.
15462         (pltexit): Cast int_retval to ptrdiff_t.
15463         * elf/tst-auditmod3b.c: Likewise.
15464         * elf/tst-auditmod4b.c: Likewise.
15465         * elf/tst-auditmod5b.c: Likewise.
15466         * elf/tst-auditmod6b.c: Likewise.
15467         * elf/tst-auditmod6c.c: Likewise.
15468         * elf/tst-auditmod7b.c: Likewise.
15470         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15471         and x32_gnu_pltexit.
15473         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15474         __ELF_NATIVE_CLASS.
15475         (La_x32_regs): New macro.
15476         (La_x32_retval): Likewise.
15477         (la_x32_gnu_pltenter): New function prototype.
15478         (la_x32_gnu_pltexit): Likewise.
15480 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
15482         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15483         exponent.
15485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15487         * configure.in (libc_cv_cc_nofma): Check for option to disable
15488         generation of FMA instructions.
15489         * configure: Regenerate.
15490         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15491         * sysdeps/ieee754/dbl-64/Makefile: New file.
15492         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15493         Remove brandred-fma4.
15494         (CFLAGS-brandred-fma4.c): Remove.
15495         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15496         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15497         define.
15498         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15499         define.
15501 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15503         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15504         LLONG_MAX != LONG_MAX.
15505         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15506         (_fitoa_word): Likewise.
15507         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15508         LLONG_MAX != LONG_MAX.
15509         * stdio-common/_itowa.h: Include <_itoa.h>.
15510         (_itowa_word): Use _ITOA_WORD_TYPE on value.
15511         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
15512         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
15513         only if not defined.
15514         (_ITOA_WORD_TYPE): Likewise.
15515         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15516         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15518 2012-03-21  David S. Miller  <davem@davemloft.net>
15520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15522 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15524         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15525         of x86_64 when setting libc_cv_slibdir, libdir and
15526         libc_cv_localedir.
15527         * sysdeps/unix/sysv/linux/configure: Regenerated.
15529 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15531         * manual/lang.texi (Old Varargs): Remove section.
15532         (How Variadic): Update menu.
15533         (va_start): Do not mention varargs.h.
15535 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15536             Joseph Myers  <joseph@codesourcery.com>
15538         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15539         link test.
15540         * configure: Regenerated.
15542 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15544         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15545         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15546         conformtest.pl
15548 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15550         * NOTES: Remove.
15551         * Makefile (files-for-dist): Remove NOTES.
15552         (NOTES): Remove rule.
15553         * README: Don't refer to NOTES.
15554         * manual/creature.texi: Don't include macros.texi.
15555         * manual/intro.texi (creature.texi): Remove comment referring to
15556         NOTES.
15558         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15559         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15560         * configure: Regenerated.
15561         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15562         LIBC_TRY_CC_OPTION.
15563         (libc_cv_as_i686): Likewise.
15564         (libc_cv_cc_avx): Likewise.
15565         (libc_cv_cc_sse2avx): Likewise.
15566         (libc_cv_cc_fma4): Likewise.
15567         (libc_cv_cc_novzeroupper): Likewise.
15568         * sysdeps/i386/configure: Regenerated.
15570         [BZ #13883]
15571         * sysdeps/i386/fpu/s_cexp.S: Remove.
15572         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15573         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15574         * math/libm-test.inc (cexp_test): Add more tests.
15575         * sysdeps/i386/fpu/libm-test-ulps: Update.
15576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15578 2012-03-21  Allan McRae  <allan@archlinux.org>
15580         * timezone/Makefile: Do not install iso3166.tab and zone.tab
15582 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15584         [BZ #13871]
15585         * math/w_exp2.c: Do not include <float.h>.
15586         (o_threshold, u_threshold): Remove.
15587         (__exp2): Calculate result before checking finiteness and calling
15588         __kernel_standard.
15589         * math/w_exp2f.c: Likewise.
15590         * math/w_exp2l.c: Likewise.
15591         * math/libm-test.inc (exp2_test): Require overflow exception for
15592         1e6 input.
15594         [BZ #3866]
15595         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15596         range of signed 64-bit integers before using fistpll.  Remove
15597         checks for whether integers fit in mantissa bits.
15598         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15599         the range of signed 32-bit integers before using fistpl.  Remove
15600         checks for whether integers fit in mantissa bits.
15601         * sysdeps/i386/fpu/e_powl.S (p64): New object.
15602         (__ieee754_powl): Test for y outside the range of signed 64-bit
15603         integers before using fistpll.  Reduce 64-bit values to 63-bit
15604         ones as needed.
15605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15606         divide-by-zero is raised for zero to large negative powers.
15607         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15608         (__ieee754_powl): Test for y outside the range of signed 64-bit
15609         integers before using fistpll.  Reduce 64-bit values to 63-bit
15610         ones as needed.
15611         * math/libm-test.inc (pow_test): Add more tests.
15613 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15615         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15616         <stdio-common/_itoa.h>.
15617         * debug/segfault.c: Likewise.
15618         * elf/dl-cache.c: Likewise.
15619         * elf/dl-minimal.c: Likewise.
15620         * elf/dl-misc.c: Likewise.
15621         * elf/dl-sysdep.c: Likewise.
15622         * elf/dl-version.c: Likewise.
15623         * elf/rtld.c: Likewise.
15624         * hurd/hurdsock.c: Likewise.
15625         * hurd/lookup-retry.c: Likewise.
15626         * malloc/malloc.c: Likewise.
15627         * malloc/mtrace.c: Likewise.
15628         * nscd/nscd_getgr_r.c: Likewise.
15629         * nscd/nscd_getpw_r.c: Likewise.
15630         * nscd/nscd_getserv_r.c: Likewise.
15631         * posix/getopt_init.c: Likewise.
15632         * posix/wordexp.c: Likewise.
15633         * stdio-common/_itoa.c: Likewise.
15634         * stdio-common/printf_fphex.c: Likewise.
15635         * stdio-common/vfprintf.c: Likewise.
15636         * string/_strerror.c: Likewise.
15637         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15638         * sysdeps/i386/i686/hp-timing.h: Likewise.
15639         * sysdeps/mach/_strerror.c: Likewise.
15640         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15641         * sysdeps/mach/hurd/sethostid.c: Likewise.
15642         * sysdeps/mach/hurd/xmknodat.c: Likewise.
15643         * sysdeps/mach/xpg-strerror.c: Likewise.
15644         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15645         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15646         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15647         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15648         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15649         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15650         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15651         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15652         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15653         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15654         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15655         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15656         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15657         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15658         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15659         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15660         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15661         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15662         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15663         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15664         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15666         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15668         * stdio-common/_itoa.h: Moved to ...
15669         * sysdeps/generic/_itoa.h: Here.
15671         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15673         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15674         instead of "_itoa.h" and "_itowa.h".
15675         * stdio-common/vfprintf.: Likewise.
15677 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15679         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15680         <bits/wordsize.h>.
15681         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15682         (__signbit): Likwise.
15683         (llrintf): Likwise.
15684         (llrint): Likwise.
15686 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15688         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15689         __WORDSIZE != 64.
15691 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
15693         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15694         OVERFLOW_EXCEPTION_OK.
15695         * math/libm-test.inc ("Philosophy"): Update comment about
15696         exception testing.
15697         (OVERFLOW_EXCEPTION): Define.
15698         (OVERFLOW_EXCEPTION_OK): Likewise.
15699         (INVALID_EXCEPTION_OK): Renumber.
15700         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15701         (IGNORE_ZERO_INF_SIGN): Likewise.
15702         (test_exceptions): Handle FE_OVERFLOW.
15703         (exp10_test): Expect overflow exceptions.
15704         (exp2_test): Likewise.
15705         (expm1_test): Likewise.
15706         (nextafter_test): Likewise.
15707         (pow_test): Likewise.
15708         (scalbn_test): Likewise.
15709         (scalbln_test): Likewise.
15711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15713         * sysdeps/x86_64/bits/atomic.h
15714         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15715         64bit integer.
15716         (atomic_exchange_acq): Likewise.
15717         (__arch_exchange_and_add_body): Likewise.
15718         (__arch_add_body): Likewise.
15719         (atomic_add_negative): Likewise.
15720         (atomic_add_zero): Likewise.
15722 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15724         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15725         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15729         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15730         Check __x86_64__ instead of __WORDSIZE.
15732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15734         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15736 2012-03-19  David S. Miller  <davem@davemloft.net>
15738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15740         * sysdeps/sparc/fpu/fenv_private.h: New file.
15741         * sysdeps/sparc/fpu/math_private.h: Use it.
15742         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15743         Remove.
15744         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15745         (libc_feholdexcept_setroundl): Remove.
15746         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15747         Remove.
15748         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15749         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15751 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15753         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15754         int64_t instead of long int.
15755         (INSERT_WORDS64): Likwise.
15757 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15759         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15760         _Unwind_GetCFA return to _Unwind_Ptr first.
15762 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
15764         [BZ #13629]
15765         * math/s_clog.c: Include <float.h>.
15766         (__clog): Scale large or subnormal inputs.
15767         * math/s_clogf.c: Likewise.
15768         * math/s_clogl.c: Likewise.
15769         * math/s_clog10.c: Include <float.h>.
15770         (M_LOG10_2): Define.
15771         (__clog10): Scale large or subnormal inputs.
15772         * math/s_clog10f.c: Likewise.
15773         * math/s_clog10l.c: Likewise.
15774         * math/libm-test.inc (clog_test): Add more tests.
15775         (clog10_test): Likewise.
15776         * sysdeps/i386/fpu/libm-test-ulps: Update.
15777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15779         [BZ #11451]
15780         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15781         x and y.
15782         * math/libm-test.inc (atan2_test): Add another test.
15784         * Makerules (common-objdir-compile): Remove.
15785         * sysdeps/unix/Makefile (config-generated): Do not add
15786         $(unix-generated) to variable.
15787         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15788         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15789         Remove rule.
15790         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15791         Likewise.
15792         [generic bits/local_lim.h] (before-compile): Do not append to
15793         variable.
15794         [generic bits/local_lim.h] (common-generated): Likewise.
15795         [generic sys/param.h] (before-compile): Do not append to variable.
15796         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15797         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15798         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15799         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15800         include.
15801         [generic sys/param.h] (sys/param.h-includes): Remove variable.
15802         [generic sys/param.h] (sys/param.h-includes): Remove rule.
15803         [generic sys/param.h] ($(addprefix
15804         $(common-objpfx),$(sys/param.h-includes))): Likewise.
15805         [generic sys/param.h] (common-generated): Do not append to
15806         variable.
15807         [generic sys/param.h] (sysdep_headers): Likewise.
15808         [generic bits/errno.h] (before-compile): Do not append to
15809         variable.
15810         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15811         rule.
15812         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15813         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15814         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15815         [generic bits/errno.h] (common-generated): Do not append to
15816         variable.
15817         [generic bits/ioctls.h] (before-compile): Do not append to
15818         variable.
15819         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15820         rule.
15821         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15822         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15823         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15824         rule.
15825         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15826         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15827         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15828         [generic bits/ioctls.h] (common-generated): Do not append to
15829         variable.
15830         [generic sys/syscall.h] (syscall.h): Remove variable.
15831         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15832         rule.
15833         [generic sys/syscall.h] (before-compile): Do not append to
15834         variable.
15835         [generic sys/syscall.h] (common-generated): Likewise.
15836         * sysdeps/unix/errnos-tmpl.c: Remove file.
15837         * sysdeps/unix/errnos.awk: Likewise.
15838         * sysdeps/unix/ioctls-tmpl.c: Likewise.
15839         * sysdeps/unix/ioctls.awk: Likewise.
15840         * sysdeps/unix/mk-local_lim.c: Likewise.
15841         * sysdeps/unix/snarf-ioctls: Likewise.
15843 2012-03-19  Richard Henderson  <rth@twiddle.net>
15845         * sysdeps/i386/fpu/fenv_private.h: New file.
15846         * sysdeps/i386/fpu/math_private.h: Use it.
15847         (math_opt_barrier, math_force_eval): Remove.
15848         (libc_feholdexcept_setround_53bit): Remove.
15849         (libc_feupdateenv_53bit): Remove.
15850         * sysdeps/x86_64/fpu/math_private.h: Likewise.
15851         (math_opt_barrier, math_force_eval): Remove.
15852         (libc_feholdexcept): Remove.
15853         (libc_feholdexcept_setround): Remove.
15854         (libc_fetestexcept, libc_fesetenv): Remove.
15855         (libc_feupdateenv_test): Remove.
15856         (libc_feupdateenv, libc_feholdsetround): Remove.
15857         (libc_feresetround): Remove.
15859         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15860         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15862         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15863         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15864         (libc_feupdateenv_testl): New.
15865         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15866         (libc_feupdateenv_testf): New.
15867         (libc_feupdateenv): Use libc_feupdateenv_test.
15868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15869         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15871         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15872         (libc_feholdsetroundf, libc_feholdsetroundl): New.
15873         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15874         (libc_feresetround_noex): New.
15875         (libc_feresetround_noexf): New.
15876         (libc_feresetround_noexl): New.
15877         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15878         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15879         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15881         SET_RESTORE_ROUND.
15882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15884         (__cos): Likewise.
15885         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15887         SET_RESTORE_ROUND_NOEX.
15888         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15889         SET_RESTORE_ROUND_NOEXF.
15890         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15891         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15892         (libc_feholdsetroundf): New.
15893         (libc_feresetround, libc_feresetroundf): New.
15895         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15896         (libc_feholdexcept_setround_53bit): Convert from macro to function.
15897         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
15899         * sysdeps/generic/math_private.h: Include <fenv.h>.
15900         (default_libc_feholdexcept): New.
15901         (default_libc_feholdexcept_setround): New.
15902         (default_libc_fesetenv, default_libc_feupdateenv): New.
15903         (libc_feholdexcept): Only define if undefined.
15904         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15905         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15906         (libc_feholdexcept_setroundl): Likewise.
15907         (libc_feholdexcept_setround_53bit): Likewise.
15908         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15909         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15910         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15911         (libc_feupdateenv_53bit): Likewise.
15912         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15913         (libc_feholdexcept): Convert from macro to inline function.
15914         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15915         (libc_fesetenv, libc_feupdateenv): Likewise.
15917         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15918         not previously defined.
15919         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15920         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15921         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15922         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15923         * sysdeps/ieee754/flt-32/math_private.h: New file.
15924         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15925         math_private.h below SET_FLOAT_WORD.
15926         (__isnan, __isinf_ns, __finite): Remove.
15927         (__isnanf, __isinf_nsf, __finitef): Remove.
15929 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
15931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15933 2012-03-17  David S. Miller  <davem@davemloft.net>
15935         [BZ #6471]
15936         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15937         for 2.16.
15939 2012-03-16  David S. Miller  <davem@davemloft.net>
15941         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15942         warnings.
15944         [BZ #6471]
15945         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15946         properly.
15947         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15948         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15949         sysdep_routines when subdir is sysvipc.
15950         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15951         __getshmlba helper.
15953         * sysdeps/sparc/fpu/libm-test/ulps: Update.
15955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15957         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15958         [__LP64__].
15960 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15962         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15963         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15964         (__lround): Renamed to ...
15965         (__llround): This.  Replace long int with long long int.
15966         Define lround functions as aliases of llround functions.
15967         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15969 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15971         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15972         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
15973         adresses to uintptr_t.  Replace "long int" and "unsigned long
15974         int" with "greg_t" on va_arg.
15976 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15978         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15979         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15981         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15982         Move e_machine check before EI_CLASS check.  Handle x32
15983         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15984         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15985         SKIP_EM_IA_64 and include
15986         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15988         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15989         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15990         (add_system_dir): New macro.
15992         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15993         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15995 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
15997         [BZ #2551]
15998         [BZ #2552]
15999         [BZ #2553]
16000         [BZ #2554]
16001         [BZ #2562]
16002         [BZ #2563]
16003         [BZ #2565]
16004         [BZ #2566]
16005         [BZ #2576]
16006         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16007         (y0): Likewise.
16008         * math/w_j0f.c (j0f): Likewise.
16009         (y0f): Likewise.
16010         * math/w_j0l.c (__j0l): Likewise.
16011         (__y0l): Likewise.
16012         * math/w_j1.c (j1): Likewise.
16013         (y1): Likewise.
16014         * math/w_j1f.c (j1f): Likewise.
16015         (y1f): Likewise.
16016         * math/w_j1l.c (__j1l): Likewise.
16017         (__y1l): Likewise.
16018         * math/w_jn.c (jn): Likewise.
16019         (yn): Likewise.
16020         * math/w_jnf.c (jnf): Likewise.
16021         (ynf): Likewise.
16022         * math/w_jnl.c (__jnl): Likewise.
16023         (__ynl): Likewise.
16024         * math/libm-test.inc (j0_test): Add more tests.
16025         (j1_test): Likewise.
16026         (jn_test): Likewise.  Add trailing semicolon to existing test.
16027         (y0_test): Likewise.
16028         (y1_test): Likewise.
16029         * sysdeps/i386/fpu/libm-test-ulps: Update.
16030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032         [BZ #13851]
16033         [BZ #13854]
16034         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16035         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16036         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16037         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16038         (__tanl): Set errno for infinite argument.
16039         * sysdeps/i386/fpu/mptan.c: Remove.
16040         * sysdeps/i386/fpu/s_tan.S: Likewise.
16041         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16042         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16043         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16044         * math/libm-test.inc (tan_test): Add more tests and enable more
16045         tests for double and long double.
16046         * sysdeps/i386/fpu/libm-test-ulps: Update.
16047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16049 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16051         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16052         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16054 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16056         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16057         * configure.in: Use it for both main tree and add-ons.
16058         * configure: Regenerated.
16060 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16062         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16064 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16066         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16067         in comment.
16069         [BZ #13851]
16070         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16071         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16072         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16073         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16074         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16075         infinite argument.
16076         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16077         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16078         != 0 for prec == 2.
16079         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16080         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16081         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16082         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16083         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16084         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16085         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16086         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16087         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16088         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16089         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16090         * math/libm-test.inc (cos_test): Add more tests and enable more
16091         tests for long double.
16092         (sin_test): Likewise.
16093         (sincos_test): Likewise.
16094         * sysdeps/i386/fpu/libm-test-ulps: Update.
16095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097 2012-03-16  David S. Miller  <davem@davemloft.net>
16099         * sysdeps/sparc/fpu/math_private.h: New file.
16101 2012-03-15  David S. Miller  <davem@davemloft.net>
16103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16104         file.
16105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16107         file.
16108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16113         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16114         sysdep routines.
16115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16117         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16118         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16120         * sysdeps/sparc/sparc-ifunc.h: New file.
16121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16122         sparc-ifunc.h
16123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16125         Likewise.
16126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16127         Likewise.
16128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16132         Likewise.
16133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16138         Likewise.
16139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16140         Likewise.
16141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16147         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16148         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16159         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16161         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16163         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16166 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16168         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16169         scaling.
16170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16172 2012-03-15  Andreas Jaeger  <aj@suse.de>
16174         [BZ #13852]
16175         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16176         ieee754/flt-32 implementation for sin, cos and sincos.
16177         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16178         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16179         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16180         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16181         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16182         ieee754/flt-32 implementation for tan.
16184         * math/libm-test.inc (cos_test): Enable some large input tests for
16185         float as well
16186         (sin_test): Likewise.
16187         (sincos_test): Likewise.
16188         (tan_test): Add tests for large input.
16190         * sysdeps/i386/fpu/libm-test-ulps: Update.
16192 2012-03-15  Andreas Jaeger  <aj@suse.de>
16194         [BZ #13658]
16195         * math/libm-test.inc (cos_test): Add more test cases.
16196         (sin_test): Likewise.
16197         (sincos_test): Likewise.
16199 2012-03-15  Andreas Jaeger  <aj@suse.de>
16201         [BZ #13837]
16202         * math/libm-test.inc (cos_test): Add a test case for large input
16203         value.
16204         (sin_test): Likewise.
16205         (sincos_test): Likewise.
16207 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16208         Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #13658]
16211         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16212         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16213         * sysdeps/i386/fpu/branred.c: Likewise.
16214         * sysdeps/i386/fpu/dosincos.c: Likewise.
16215         * sysdeps/i386/fpu/mpa.c: Likewise.
16216         * sysdeps/i386/fpu/s_cos.S: Likewise.
16217         * sysdeps/i386/fpu/s_sin.S: Likewise.
16218         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16219         * sysdeps/i386/fpu/sincos32.c: Likewise.
16221         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16222         Define.
16223         (libc_feupdateenv_53bit): Define.
16224         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16225         Define.
16226         (libc_feupdateenv_53bit): Define.
16228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16229         53 bit (without extend i386 double precision).
16231         * math/libm-test.inc (sincos_test): Add tests for large input.
16232         (sin): Likewise.
16233         (cos): Likewise.
16235         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16237 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16241 2012-03-15  David S. Miller  <davem@davemloft.net>
16243         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16244         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16245         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16246         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16259         file.
16260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16262         file.
16263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16265         file.
16266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16268         file.
16269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16271         fmin/fmax sysdep routines.
16272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16274 2012-03-14  David S. Miller  <davem@davemloft.net>
16276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16304         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16305         routines.
16306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16307         file.
16308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16310         file.
16311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16313         file.
16314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16316         file.
16317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16319         file.
16320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16322         file.
16323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16324         file.
16325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16326         file.
16327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16328         file.
16329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16330         New file.
16331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16332         file.
16333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16334         file.
16335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16337         file.
16338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16340         file.
16341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16343         file.
16344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16346         VIS3 routines.
16348         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16349         New file.
16351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16353         * sysdeps/sparc/configure.in: New file.
16354         * sysdeps/sparc/configure: Generate.
16355         * configure.in (libc_cv_sparc_as_vis3): Substitute.
16356         * configure: Regenerate.
16357         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16358         * config.make.in (have-as-vis3): New.
16359         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16360         available use -Av9d instead of -Av9a.
16361         * sysdeps/sparc/sparc64/Makefile: Likewise.
16362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16364         New file.
16365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16366         file.
16367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16368         New file.
16369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16370         file.
16371         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16373         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16377         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16378         fzeros/fnegs to load 0x80000000 into a float register instead of
16379         using the stack.
16380         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16382 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16385         bits/syscall.h.
16386         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16387         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16388         ($(inst_includedir)/bits/syscall.h): Remove rule.
16389         ($(objpfx)bits/syscall.d): Include instead of
16390         $(objpfx)syscall-list.d.
16391         (generated): Change syscall-list.h and syscall-list.d to
16392         bits/syscall.h and bits/syscall.d.
16394 2012-03-14  Roland McGrath  <roland@hack.frob.com>
16396         [BZ #13846]
16397         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16399 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16401         [BZ #13841]
16402         * math/s_csqrt.c: Include <float.h>.
16403         (__csqrt): Scale large or subnormal inputs.
16404         * math/s_csqrtf.c: Likewise.
16405         * math/s_csqrtl.c: Likewise.
16406         * math/libm-test.inc (csqrt_test): Add more tests.
16407         * sysdeps/i386/fpu/libm-test-ulps: Update.
16408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410         [BZ #13840]
16411         * math/libm-test.inc (hypot_test): Add more tests.
16413 2012-03-13  David S. Miller  <davem@davemloft.net>
16415         [BZ #13840]
16416         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16417         double-precision for the calculation instead of scaling.
16419 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
16421         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16422         manipulate bits before adding and subtracting TWO52[sx].
16423         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16424         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16425         Likewise.
16426         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16428 2012-03-13  David S. Miller  <davem@davemloft.net>
16430         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16431         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16433         rtld-global-offsets.h
16434         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16436         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16437         large parameters.
16439         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16441         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16442         'err' in the ifdef scope in which it is actually used.
16444         * nss/nss_db/db-init.c: Include string.h
16446 2012-03-12  David S. Miller  <davem@davemloft.net>
16448         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16449         masking out of the most significant byte of random value used.
16450         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16451         Fix coding style in previous change.
16453         * sysdeps/unix/sysv/linux/kernel-features.h
16454         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16455         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16456         expression.
16457         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16458         later.
16460 2012-03-11  David S. Miller  <davem@davemloft.net>
16462         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16463         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16464         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16465         for 'resultvar' otherwise things get truncated on 64-bit.
16467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16468         Fix masking out of the most significant byte of random value used.
16470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16472 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
16474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16476 2012-03-09  David S. Miller  <davem@davemloft.net>
16478         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16479         variables with appropriate CPP guards.
16480         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16481         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
16482         on resulting framesize and the management of the outregs buffer for pltexit.
16483         Preserve floating point return values across _dl_call_pltexit call.
16484         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16485         framesize and the management of the outregs buffer for pltexit.
16486         Preserve floating point return values across _dl_call_pltexit
16487         call.
16488         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16489         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16490         (print_exit): Fix format string for return register value.
16492 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
16494         * sunrpc/Makefile (others): Add rpcgen.
16495         ($(objpfx)rpcgen): Remove special build rule and dependency on
16496         libc.
16497         * sunrpc/rpcgen.c: New file.
16499 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
16501         [BZ #13673]
16502         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16503         * stdio-common/bug-vfprintf-nargs.c: Likewise.
16504         * sysdeps/i386/crti.S: Likewise.
16505         * sysdeps/i386/crtn.S: Likewise.
16506         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16507         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16508         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16509         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16510         * sysdeps/sh/crti.S: Likewise.
16511         * sysdeps/sh/crtn.S: Likewise.
16512         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16514         [BZ #13673]
16515         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16516         with URL.
16517         * locale/programs/locfile-kw.gperf: Likewise.
16518         * locale/programs/charmap-kw.h: Regenerated.
16519         * locale/programs/locfile-kw.h: Likewise.
16521         [BZ #13673]
16522         * intl/plural.y: Replace FSF snail mail address with URL.
16523         * intl/plural.c: Regenerated.
16525 2012-03-09  Richard Henderson  <rth@twiddle.net>
16527         * include/math_private.h: Remove file.
16528         * math/math_private.h: Move file ...
16529         * sysdeps/generic/math_private.h: ... here.
16531         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16532         * sysdeps/powerpc/fpu/math_private.h: Likewise.
16533         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16535         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16536         and <math_private.h>.
16537         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16538         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16539         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16540         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16541         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16542         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16543         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16545         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16546         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16548         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16549         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16550         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16551         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16552         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16553         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16554         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16555         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16556         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16558         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16559         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16561         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16562         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16563         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16567         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16568         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16569         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16570         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16571         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16572         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16573         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16574         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16575         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16576         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16577         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16579         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16580         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16582         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16583         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16584         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16586         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16587         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16588         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16589         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16590         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16591         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16592         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16593         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16594         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16596         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16597         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16598         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16600         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16601         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16602         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16603         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16604         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16605         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16606         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16607         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16608         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16611         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16615         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16616         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16617         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16620         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16621         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16624         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16625         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16626         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16627         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16628         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16629         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16630         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16631         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16632         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16633         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16634         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16635         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16636         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16637         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16638         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16639         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16640         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16641         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16642         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16643         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16644         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16645         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16646         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16647         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16648         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16649         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16650         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16651         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16652         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16653         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16654         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16655         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16656         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16657         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16658         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16659         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16660         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16661         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16662         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16663         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16664         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16665         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16666         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16667         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16668         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16669         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16670         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16671         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16672         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16673         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16674         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16675         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16676         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16677         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16678         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16679         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16680         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16681         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16682         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16683         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16684         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16685         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16686         * sysdeps/ieee754/k_standard.c: Likewise.
16687         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16688         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16689         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16690         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16691         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16692         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16693         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16694         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16695         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16697         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16699         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16700         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16701         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16702         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16703         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16704         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16705         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16706         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16707         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16708         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16709         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16710         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16711         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16712         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16713         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16714         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16715         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16716         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16717         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16718         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16719         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16720         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16721         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16722         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16723         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16724         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16725         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16726         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16727         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16728         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16729         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16730         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16734         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16735         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16746         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16747         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16748         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16753         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16754         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16755         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16756         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16757         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16758         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16759         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16760         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16761         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16764         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16769         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16771         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16772         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16773         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16775         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16777         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16778         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16779         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16785         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16791         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16792         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16794         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16795         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16796         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16799         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16801         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16802         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16803         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16804         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16805         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16807         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16808         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16809         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16810         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16811         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16812         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16813         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16814         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16815         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16816         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16817         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16818         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16819         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16820         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16821         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16822         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16823         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16824         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16825         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16826         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16827         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16828         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16829         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16830         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16831         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16832         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16833         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16834         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16835         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16836         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16837         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16838         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16840         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16841         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16842         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16843         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16844         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16846         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16847         * sysdeps/ieee754/s_lib_version.c: Likewise.
16848         * sysdeps/ieee754/s_matherr.c: Likewise.
16849         * sysdeps/ieee754/s_signgam.c: Likewise.
16850         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16851         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16852         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16853         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16854         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16855         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16856         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16857         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16858         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16859         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16860         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16861         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16862         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16863         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16864         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16865         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16866         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16867         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16868         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16870         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16872 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16874         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16875         * sunrpc/rpc_main.c: Likewise.
16876         * sunrpc/rpc_svcout.c: Likewise.
16878 2012-03-09  David S. Miller  <davem@davemloft.net>
16880         * include/math_private.h: New file.
16882 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16884         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16885         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16886         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16887         from <bits/socket_type.h>.
16888         (enum __socket_type): Don't define here.
16889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16891         bits/socket_type.h.
16893         [BZ #13566]
16894         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16895         checking __USE_GNU.
16897         * Makerules ($(inst_includedir)/%.h): New rule.
16898         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16899         (install-others): Remove variable setting.
16900         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16902 2012-03-08  Richard Henderson  <rth@twiddle.net>
16904         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16905         from macro to inline function; merge with the
16906         !__LIBC_INTERNAL_MATH_INLINES version.
16907         (__ieee754_sqrtf): Likewise.
16909         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16910         to inline function.
16911         (__rintf, __floor, __floorf): Likewise.
16913         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16914         macro to inline function.
16915         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16917         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16918         not <math/math_private.h>.
16920 2012-03-08  David S. Miller  <davem@davemloft.net>
16922         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16923         copyright year.
16924         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16926 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
16928         * resolv/gai_misc.c (handle_requests): Fix struct timespec
16929         normalization.
16930         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16931         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16933 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
16935         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
16936         be defined individually, they must be defined as a block.  Define
16937         S for printing a string instead of hidint the different by using a
16938         macro for adding the 'l'.
16939         * stdio-common/tst-fphex-wide.c: Adjust.
16941 2012-03-07  Marek Polacek  <polacek@redhat.com>
16943         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16945 2012-03-08  Marek Polacek  <polacek@redhat.com>
16947         [BZ #13806]
16948         * stdio-common/Makefile (tests): Add tst-fphex-wide.
16949         * stdio-common/tst-fphex.c: Define a few macros to make the
16950         test reusable.  Use them.
16951         * stdio-common/tst-fphex-wide.c: New file.
16953 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
16955         [BZ #6911]
16956         * manual/macros.texi (gnusystems): New macro.
16957         (nongnusystems): Likewise.
16958         (gnulinuxhurdsystems): Likewise.
16959         (gnuhurdsystems): Likewise..
16960         (gnulinuxsystems): Likewise.
16961         * manual/charset.texi: Use new macros or @theglibc{} to refer to
16962         variants of the GNU system, not "GNU system".
16963         * manual/conf.texi: Likewise.
16964         * manual/errno.texi: Likewise.  Update example of errno macro
16965         expansion.
16966         * manual/filesys.texi: Likewise.
16967         (getumask): Document as specific to GNU/Hurd.
16968         * manual/install.texi: Likewise.  Reword some references to
16969         GNU/Linux.
16970         * manual/intro.texi: Likewise.
16971         * manual/io.texi: Likewise.
16972         (File Name Portability): Detail which constraints are inapplicable
16973         to all GNU systems and which are only inapplicable to GNU/Hurd.
16974         * manual/job.texi: Likewise.
16975         * manual/llio.texi: Likewise.
16976         (O_NOCTTY): Document as present on GNU/Linux.
16977         * manual/maint.texi: Likewise.
16978         * manual/memory.texi: Likewise.
16979         * manual/pattern.texi: Likewise.
16980         * manual/pipe.texi: Likewise.
16981         * manual/process.texi: Likewise.
16982         * manual/resource.texi: Likewise.
16983         (RUSAGE_CHILDREN): Remove statement about specifying a particular
16984         child on GNU/Hurd.
16985         * manual/setjmp.texi: Likewise.
16986         * manual/signal.texi: Likewise.
16987         * manual/startup.texi: Likewise.
16988         * manual/stdio.texi: Likewise.
16989         * manual/terminal.texi: Likewise.
16990         (ONLCR): Document as POSIX.
16991         (OXTABS): Document availability on GNU/Linux as XTABS.
16992         (ONOEOT): Document availability separately from other bits.
16993         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16994         * manual/time.texi: Likewise.
16995         * manual/users.texi: Likewise.
16996         * INSTALL: Regenerated.
16997         * sysdeps/gnu/errlist.c: Regenerated.
16999         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17000         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17001         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17002         puts.
17003         * configure: Regenerated.
17005 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17007         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17008         default includes instead of AC_HEADER_CHECK.
17009         * sysdeps/i386/configure: Regenerated.
17011         [BZ #10716]
17012         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17013         * math/s_cacoshf.c (__cacoshf): Likewise.
17014         * math/s_cacoshl.c (__cacoshl): Likewise.
17015         * math/s_casinh.c (__casinh): Set signs of result from argument.
17016         * math/s_casinhf.c (__casinhf): Likewise.
17017         * math/s_casinhl.c (__casinhl): Likewise.
17018         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17019         (casinh_test): Add more tests.
17020         * sysdeps/i386/fpu/libm-test-ulps: Update.
17021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17023 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17025         * po/zh_TW.po: Update from translation team.
17027         * login/Makefile (distribute): Remove variable.
17028         * catgets/Makefile: Likewise.
17029         * mach/Makefile: Likewise.
17030         * malloc/Makefile: Likewise.
17031         * misc/Makefile: Likewise.
17032         * iconv/Makefile: Likewise.
17033         * nscd/Makefile: Likewise.
17034         * hurd/Makefile: Likewise.
17035         * manual/Makefile: Likewise.
17036         * locale/Makefile: Likewise.
17037         * intl/Makefile: Likewise.
17038         * conform/Makefile: Likewise.
17039         * nss/Makefile: Likewise.
17040         * time/Makefile: Likewise.
17041         * soft-fp/Makefile: Likewise.
17042         * dirent/Makefile: Likewise.
17043         * gmon/Makefile: Likewise.
17044         * po/Makefile: Likewise.
17045         * rt/Makefile: Likewise.
17046         * socket/Makefile: Likewise.
17047         * math/Makefile: Likewise.
17048         * signal/Makefile: Likewise.
17049         * debug/Makefile: Likewise.
17050         * elf/Makefile: Likewise.
17051         * timezone/Makefile: Likewise.
17052         * stdlib/Makefile: Likewise.
17053         * iconvdata/Makefile: Likewise.
17054         * sunrpc/Makefile: Likewise.
17055         * io/Makefile: Likewise.
17056         * argp/Makefile: Likewise.
17057         * inet/Makefile: Likewise.
17058         * hesiod/Makefile: Likewise.
17059         * grp/Makefile: Likewise.
17060         * csu/Makefile: Likewise.
17061         * wctype/Makefile: Likewise.
17062         * crypt/Makefile: Likewise.
17063         * libio/Makefile: Likewise.
17064         * string/Makefile: Likewise.
17065         * nis/Makefile: Likewise.
17066         * resolv/Makefile: Likewise.
17067         * stdio-common/Makefile: Likewise.
17068         * wcsmbs/Makefile: Likewise.
17069         * dlfcn/Makefile: Likewise.
17070         * posix/Makefile: Likewise.
17072         [BZ #6959]
17073         * timezone/Makefile: Don't install timezone files, just the programs
17074         and scripts.
17076 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17078         * nss/databases.def: Add missing gshadow entry.
17080         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17082 2012-03-06  Marek Polacek  <polacek@redhat.com>
17084         [BZ #13726]
17085         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17086         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17087         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17088         * stdio-common/tst-long-dbl-fphex.c: New file.
17090 2012-03-06  David S. Miller  <davem@davemloft.net>
17092         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17093         (set_obp_int): New function.
17094         (get_obp_int): New function.
17095         (__get_clockfreq_via_dev_openprom): Likewise.
17096         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17097         Avoid unused variable warnings on 'val' and use builtin_expect.
17098         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17099         __builtin_expect.
17100         (INLINE_CLONE_SYSCALL): Likewise.
17102 2012-03-05  David S. Miller  <davem@davemloft.net>
17104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17106 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17110         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17111         only for |x| >= 40.
17112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17114 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17117         Replace gettimeofday with __vdso_gettimeofday.
17119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17120         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17121         __vdso_clock_gettime and __vdso_getcpu.
17123         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17124         time with __vdso_time.
17126 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17128         * manual/lang.texi (size_t): Note types to which size_t may be
17129         equivalent with the GNU C Library, but do not describe when
17130         differences between them are significant.
17132 2012-03-05  Andreas Jaeger  <aj@suse.de>
17134         * sysdeps/i386/fpu/libm-test-ulps: Update.
17136 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17138         [BZ #3976]
17139         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17140         (__ieee754_pow): Save and restore rounding mode and use
17141         round-to-nearest for main computations.
17142         * math/libm-test.inc (pow_test_tonearest): New function.
17143         (pow_test_towardzero): Likewise.
17144         (pow_test_downward): Likewise.
17145         (pow_test_upward): Likewise.
17146         (main): Call the new functions.
17147         * sysdeps/i386/fpu/libm-test-ulps: Update.
17148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17150         [BZ #3976]
17151         * math/libm-test.inc (cosh_test_tonearest): New function.
17152         (cosh_test_towardzero): Likewise.
17153         (cosh_test_downward): Likewise.
17154         (cosh_test_upward): Likewise.
17155         (sinh_test_tonearest): Likewise.
17156         (sinh_test_towardzero): Likewise.
17157         (sinh_test_downward): Likewise.
17158         (sinh_test_upward): Likewise.
17159         (main): Call the new functions.
17160         * sysdeps/i386/fpu/libm-test-ulps: Update.
17161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17163 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17165         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17166         default stack guard is set in last bytes.
17167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17169 2012-03-05  Kees Cook  <keescook@chromium.org>
17171         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17173         [BZ #13656]
17174         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17175         possibly allocate from heap instead of stack.
17176         * stdio-common/bug-vfprintf-nargs.c: New file.
17177         * stdio-common/Makefile (tests): Add nargs overflow test.
17179 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17183 2012-03-03  Marek Polacek  <polacek@redhat.com>
17185         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17186         * math/math_private.h: Likewise.
17187         * stdlib/tst-strtod.c: Likewise.
17188         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17189         * sysdeps/x86_64/bits/atomic.h: Likewise.
17191 2012-03-02  David S. Miller  <davem@davemloft.net>
17193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17197         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17198         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17199         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17200         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17202 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17204         [BZ #13792]
17205         * manual/examples/README: New file, says the example source files
17206         can be used under GPL>=2.
17207         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17208         line containing just "*/".
17209         * manual/examples/add.c: Add copyright header (GPL>=2).
17210         * manual/examples/argp-ex1.c: Likewise.
17211         * manual/examples/argp-ex2.c: Likewise.
17212         * manual/examples/argp-ex3.c: Likewise.
17213         * manual/examples/argp-ex4.c: Likewise.
17214         * manual/examples/atexit.c: Likewise.
17215         * manual/examples/db.c: Likewise.
17216         * manual/examples/dir.c: Likewise.
17217         * manual/examples/dir2.c: Likewise.
17218         * manual/examples/execinfo.c: Likewise.
17219         * manual/examples/filecli.c: Likewise.
17220         * manual/examples/filesrv.c: Likewise.
17221         * manual/examples/fmtmsgexpl.c: Likewise.
17222         * manual/examples/genpass.c: Likewise.
17223         * manual/examples/inetcli.c: Likewise.
17224         * manual/examples/inetsrv.c: Likewise.
17225         * manual/examples/isockad.c: Likewise.
17226         * manual/examples/longopt.c: Likewise.
17227         * manual/examples/memopen.c: Likewise.
17228         * manual/examples/memstrm.c: Likewise.
17229         * manual/examples/mkfsock.c: Likewise.
17230         * manual/examples/mkisock.c: Likewise.
17231         * manual/examples/mygetpass.c: Likewise.
17232         * manual/examples/pipe.c: Likewise.
17233         * manual/examples/popen.c: Likewise.
17234         * manual/examples/rprintf.c: Likewise.
17235         * manual/examples/search.c: Likewise.
17236         * manual/examples/select.c: Likewise.
17237         * manual/examples/setjmp.c: Likewise.
17238         * manual/examples/sigh1.c: Likewise.
17239         * manual/examples/sigusr.c: Likewise.
17240         * manual/examples/stpcpy.c: Likewise.
17241         * manual/examples/strdupa.c: Likewise.
17242         * manual/examples/strftim.c: Likewise.
17243         * manual/examples/strncat.c: Likewise.
17244         * manual/examples/subopt.c: Likewise.
17245         * manual/examples/swapcontext.c: Likewise.
17246         * manual/examples/termios.c: Likewise.
17247         * manual/examples/testopt.c: Likewise.
17248         * manual/examples/testpass.c: Likewise.
17249         * manual/examples/timeval_subtract.c: Likewise.
17251         [BZ #13792]
17252         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17253         function to ...
17254         * manual/timeval_subtract.c.texi: ... here, new file.
17256 2012-03-02  David S. Miller  <davem@davemloft.net>
17258         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17260 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17262         [BZ #3976]
17263         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17264         (__sin): Save and restore rounding mode and use round-to-nearest
17265         for all computations.
17266         (__cos): Save and restore rounding mode and use round-to-nearest
17267         for all computations.
17268         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17269         <fenv.h>.
17270         (tan): Save and restore rounding mode and use round-to-nearest for
17271         all computations.
17272         * math/libm-test.inc (cos_test_tonearest): New function.
17273         (cos_test_towardzero): Likewise.
17274         (cos_test_downward): Likewise.
17275         (cos_test_upward): Likewise.
17276         (sin_test_tonearest): Likewise.
17277         (sin_test_towardzero): Likewise.
17278         (sin_test_downward): Likewise.
17279         (sin_test_upward): Likewise.
17280         (tan_test_tonearest): Likewise.
17281         (tan_test_towardzero): Likewise.
17282         (tan_test_downward): Likewise.
17283         (tan_test_upward): Likewise.
17284         (main): Call the new functions.
17285         * sysdeps/i386/fpu/libm-test-ulps: Update.
17286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17288         [BZ #10135]
17289         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17290         small n, then large n, before computing and testing k+n.
17291         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17293         Likewise.
17294         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17295         Likewise.
17296         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17297         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17298         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17299         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17300         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17302         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17303         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17304         * math/libm-test.inc (scalbn_test): Add more tests.
17305         (scalbln_test): Likewise.
17307         * manual/filesys.texi (mode_t): Describe constraints on size and
17308         signedness, not exact equivalence to a particular type.
17309         (ino_t): Likewise.
17310         (ino64_t): Likewise.
17311         (dev_t): Likewise.
17312         (nlink_t): Likewise.
17313         (blkcnt_t): Likewise.
17314         (blkcnt64_t): Likewise.
17315         * manual/llio.texi (off_t): Likewise.
17317         [BZ #3976]
17318         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17319         (__ieee754_exp): Save and restore rounding mode and use
17320         round-to-nearest for all computations.
17321         * math/libm-test.inc (exp_test_tonearest): New function.
17322         (exp_test_towardzero): Likewise.
17323         (exp_test_downward): Likewise.
17324         (exp_test_upward): Likewise.
17325         (main): Call the new functions.
17326         * sysdeps/i386/fpu/libm-test-ulps: Update.
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329 2012-03-01  Chris Demetriou  <cgd@google.com>
17331         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17332         have predictable order.
17334 2012-03-01  David S. Miller  <davem@davemloft.net>
17336         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17338         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17339         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17340         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17341         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17343         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17344         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17345         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17347         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17348         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17349         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17350         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17351         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17355         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17356         * sysdeps/sparc/fpu/libm-test-ulps: to here.
17357         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17359         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17360         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17361         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17362         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17363         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17364         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17365         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17366         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17367         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17368         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17369         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17370         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17372         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17373         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17375         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17376         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17377         * sysdeps/sparc/elf/configure: Regenerated.
17379 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
17381         * configure.in (AS, LD): Require binutils 2.20 or later.
17382         * configure: Regenerated.
17383         * manual/install.texi (Tools for Compilation): Give binutils 2.20
17384         as required minimum version.
17385         * INSTALL: Regenerated.
17387         [BZ #2541]
17388         [BZ #4108]
17389         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17390         before squaring exponent.
17391         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17392         bottom long double and 27 bits of top long double before squaring
17393         exponent.
17394         * math/libm-test.inc (erfc_test): Add more tests.
17395         * sysdeps/i386/fpu/libm-test-ulps: Update.
17396         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17399 2012-03-01  Kai Tietz  <ktietz@redhat.com>
17401         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17402         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17403         containing bit-fields.
17404         * soft-fp/extended.h (_FP_UNION_E): Likewise.
17405         * soft-fp/single.h (_FP_UNION_S): Likewise.
17406         * soft-fp/double.h (_FP_UNION_D): Likewise.
17408 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17410         [BZ #13786]
17411         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17412         not include ../strcmp.S.
17413         [USE_AS_STRNCASECMP_L]: Likewise.
17414         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17415         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17416         * sysdeps/i386/i686/multiarch/strncase_l-c.c
17417         (__strncasecmp_l_ia32): Define as alias to
17418         __strncasecmp_l_nonascii.
17420         [BZ #5794]
17421         * math/libm-test.inc (expm1_test): Add test for bug 5794.
17422         * sysdeps/i386/fpu/libm-test-ulps: Update.
17423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17425         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17428 2012-02-29  Jeff Law  <law@redhat.com>
17430         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17431         out of bounds read.
17433 2012-02-29  Marek Polacek  <polacek@redhat.com>
17435         [BZ #13706]
17436         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17437         * elf/Makefile: Add rules to run tst-unused-dep.out.
17439 2012-02-28  David S. Miller  <davem@davemloft.net>
17441         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17442         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17444         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17445         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17446         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17450         * math/libm-test.inc (llround_test): Move one test from
17451         lround_test.  Use TEST_f_L in moved test.
17452         (lround_test): Move misplaced test to llround_test.  Add testcase
17453         from bug 2561.
17455 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
17457         * sysdeps/x86_64/fpu/e_expf.S: New file.
17458         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17460 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
17462         [BZ #13637]
17463         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17464         of remain_len that may cause incomplete multi-byte character and
17465         false match.
17466         * posix/bug-regex33.c: New file.
17467         * posix/Makefile (tests): Add bug-regex33.
17469 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
17471         * manual/macros.texi: New file.
17472         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17473         * manual/libc.texinfo: Include macros.texi.
17474         * manual/creatute.texi: Likewise.
17475         * manual/install.texi: Likewise.
17476         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17477         @glibcadj{} in references to the GNU C Library.
17478         * manual/charset.texi: Likewise.
17479         * manual/conf.texi: Likewise.
17480         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
17481         when not using those macros.
17482         * manual/creature.texi: Likewise.
17483         * manual/crypt.texi: Likewise.
17484         * manual/errno.texi: Likewise.
17485         * manual/filesys.texi: Likewise.
17486         * manual/header.texi: Likewise.
17487         * manual/install.texi: Likewise.
17488         * manual/intro.texi: Likewise.
17489         * manual/io.texi: Likewise.
17490         * manual/job.texi: Likewise.
17491         * manual/lang.texi: Likewise.
17492         * manual/libc.texiinfo: Likewise.
17493         * manual/llio.texi: Likewise.
17494         * manual/locale.texi: Likewise.
17495         * manual/maint.texi: Likewise.
17496         * manual/math.texi: Likewise.
17497         * manual/memory.texi: Likewise.
17498         * manual/message.texi: Likewise.
17499         * manual/nss.texi: Likewise.
17500         * manual/pattern.texi: Likewise.
17501         * manual/process.texi: Likewise.
17502         * manual/resource.texi: Likewise.
17503         * manual/search.texi: Likewise.
17504         * manual/setjmp.texi: Likewise.
17505         * manual/signal.texi: Likewise.
17506         * manual/socket.texi: Likewise.
17507         * manual/startup.texi: Likewise.
17508         * manual/stdio.texi: Likewise.
17509         * manual/string.texi: Likewise.
17510         * manual/sysinfo.texi: Likewise.
17511         * manual/syslog.texi: Likewise.
17512         * manual/terminal.texi: Likewise.
17513         * manual/time.texi: Likewise.
17514         * manual/users.texi: Likewise.
17515         * INSTALL: Regenerated.
17516         * NOTES: Regenerated.
17517         * sysdeps/gnu/errlist.c: Regenerated.
17519 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
17521         * include/dirent.h: Include <dirstream.h> before
17522         <dirent/dirent.h>.
17524 2012-02-28  David S. Miller  <davem@davemloft.net>
17526         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17527         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17528         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17529         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17531 2012-02-27  David S. Miller  <davem@davemloft.net>
17533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17535         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17536         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17539         frame pointer instead of stack pointer relative arg slot.
17540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17541         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17542         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17544 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
17546         [BZ #3992]
17547         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17549 2012-02-27  David S. Miller  <davem@davemloft.net>
17551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17555         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17556         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17557         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17558         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17560 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17562         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17563         later.  Allow versions 5-9.
17564         * configure: Regenerated.
17565         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17566         required minimum version and 4.6 as recommended version.  Do not
17567         mention bugs in GCC 2.7 and 2.8.
17568         * INSTALL: Regenerated.
17570 2012-02-27  David S. Miller  <davem@davemloft.net>
17572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17576         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17577         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17578         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17579         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17581         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17582         manipulate bits before adding and subtracting TWO112[sx].
17583         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17585 2012-02-27  Roland McGrath  <roland@hack.frob.com>
17587         [BZ #13775]
17588         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17589         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17590         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17591         being in POSIX, because they are in 1003.1-2008.
17593         * rt/tst-aio.c: Include <fcntl.h>.
17594         * rt/tst-aio7.c: Likewise.
17595         * rt/tst-aio64.c: Likewise.
17597         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17599 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17601         * manual/install.texi (--with-headers): Describe headers as
17602         interface headers, not private headers.
17603         (Specific advice for GNU/Linux systems): Describe use of headers
17604         from "make headers_install", not private headers from older
17605         kernels.
17606         * INSTALL: Regenerated.
17607         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17608         Change to 2.6.19.
17609         * sysdeps/unix/sysv/linux/configure: Regenerated.
17611         * manual/llio.texi (fclean): Remove documentation.
17613         * manual/Makefile (libc-texi-generated): New variable.  Include
17614         version.texi.
17615         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17616         $(libc-texi-generated), not duplicated list of files.
17617         (version.texi, stamp-version): New rules.
17618         (realclean): Remove $(libc-texi-generated), not individual files
17619         from that list.  Do not remove dir-add.texinfo.
17620         * manual/libc.texinfo: Comment out uses of edition numbers and
17621         references to printed manual.  Remove last-updated dates.
17622         (EDITION): Comment out.
17623         (ISBN): Likewise.
17624         (VERSION, UPDATED): Remove.
17625         (version.texi): Include.
17627 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
17629         * sysdeps/posix/spawni.c: Include <signal.h>.
17630         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17631         * sysdeps/pthread/aio_fsync.c: Likewise.
17633 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
17635         * conform/Makefile (tests): Run only when not cross-compiling and
17636         when fast-check is not defined.
17638         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17639         * conform/data/limits.h-data: Fixes for POSIX2008.
17640         * conform/run-conformtest.sh: Run all tests.
17641         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17642         headers.
17643         * include/bits/dlfcn.h: Likewise.
17644         * include/langinfo.h: Likewise.
17645         * include/monetary.h: Likewise.
17646         * include/sys/poll.h: Likewise.
17648         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17649         for __USE_GNU.
17650         * posix/spawn.h: Define __need_sigset_t.
17651         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17652         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17653         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
17654         to get sigevent_t only.
17655         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17656         only for __USE_GNU.
17657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17658         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17659         process_vm_writev only for __USE_GNU.
17660         * termios/termios.h: Declare tcgetsid also for POSIX2008.
17662         * conform/Makefile: For now ignore errors from run-conformtest.
17663         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
17664         POSIX to avoid namespace pollution.  Don't prepend headers.
17665         * conform/data/aio.h-data: Fixes for POSIX testing.
17666         * conform/data/fcntl.h-data: Likewise.
17667         * conform/data/glob.h-data: Likewise.
17668         * conform/data/grp.h-data: Likewise.
17669         * conform/data/pthread.h-data: Likewise.
17670         * conform/data/pwd.h-data: Likewise.
17671         * conform/data/signal.h-data: Likewise.
17672         * conform/data/spawn.h-data: Likewise.
17673         * conform/data/stdio.h-data: Likewise.
17674         * conform/data/stdlib.h-data: Likewise.
17675         * conform/data/stropts.h-data: Likewise.
17676         * conform/data/sys/mman.h-data: Likewise.
17677         * conform/data/sys/stat.h-data: Likewise.
17678         * conform/data/sys/types.h-data: Likewise.
17679         * conform/data/sys/wait.h-data: Likewise.
17680         * conform/data/time.h-data: Likewise.
17681         * conform/data/unistd.h-data: Likewise.
17682         * conform/data/utime.h-data: Likewise.
17684         * io/sys/stat.h: fchmod was always in POSIX.
17685         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17686         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17687         * rt/aio.h: Define __need_timespec before including <time.h>.
17688         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17689         struct.  Add forward declaration of pthread_attr_t and use it in
17690         sigevent.
17691         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17693         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17694         always remove CLK_TCK definition.
17696 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
17698         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17700 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
17702         * conform/run-conformtest.sh: New file.
17703         * conform/Makefile: Run run-conformtest for tests.
17704         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
17705         support.
17707         * conform/data/uchar.h-data: New file.
17708         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17709         * conform/data/arpa/inet.h-data: Likewise.
17710         * conform/data/assert.h-data: Likewise.
17711         * conform/data/complex.h-data: Likewise.
17712         * conform/data/cpio.h-data: Likewise.
17713         * conform/data/ctype.h-data: Likewise.
17714         * conform/data/dirent.h-data: Likewise.
17715         * conform/data/dlfcn.h-data: Likewise.
17716         * conform/data/errno.h-data: Likewise.
17717         * conform/data/fcntl.h-data: Likewise.
17718         * conform/data/float.h-data: Likewise.
17719         * conform/data/fmtmsg.h-data: Likewise.
17720         * conform/data/fnmatch.h-data: Likewise.
17721         * conform/data/ftw.h-data: Likewise.
17722         * conform/data/glob.h-data: Likewise.
17723         * conform/data/grp.h-data: Likewise.
17724         * conform/data/iconv.h-data: Likewise.
17725         * conform/data/inttypes.h-data: Likewise.
17726         * conform/data/langinfo.h-data: Likewise.
17727         * conform/data/libgen.h-data: Likewise.
17728         * conform/data/limits.h-data: Likewise.
17729         * conform/data/locale.h-data: Likewise.
17730         * conform/data/math.h-data: Likewise.
17731         * conform/data/monetary.h-data: Likewise.
17732         * conform/data/mqueue.h-data: Likewise.
17733         * conform/data/ndbm.h-data: Likewise.
17734         * conform/data/net/if.h-data: Likewise.
17735         * conform/data/netdb.h-data: Likewise.
17736         * conform/data/netinet/in.h-data: Likewise.
17737         * conform/data/nl_types.h-data: Likewise.
17738         * conform/data/poll.h-data: Likewise.
17739         * conform/data/pthread.h-data: Likewise.
17740         * conform/data/pwd.h-data: Likewise.
17741         * conform/data/regex.h-data: Likewise.
17742         * conform/data/sched.h-data: Likewise.
17743         * conform/data/search.h-data: Likewise.
17744         * conform/data/semaphore.h-data: Likewise.
17745         * conform/data/setjmp.h-data: Likewise.
17746         * conform/data/signal.h-data: Likewise.
17747         * conform/data/spawn.h-data: Likewise.
17748         * conform/data/stdarg.h-data: Likewise.
17749         * conform/data/stdio.h-data: Likewise.
17750         * conform/data/stdlib.h-data: Likewise.
17751         * conform/data/string.h-data: Likewise.
17752         * conform/data/strings.h-data: Likewise.
17753         * conform/data/stropts.h-data: Likewise.
17754         * conform/data/sys/ipc.h-data: Likewise.
17755         * conform/data/sys/mman.h-data: Likewise.
17756         * conform/data/sys/msg.h-data: Likewise.
17757         * conform/data/sys/resource.h-data: Likewise.
17758         * conform/data/sys/select.h-data: Likewise.
17759         * conform/data/sys/sem.h-data: Likewise.
17760         * conform/data/sys/shm.h-data: Likewise.
17761         * conform/data/sys/socket.h-data: Likewise.
17762         * conform/data/sys/stat.h-data: Likewise.
17763         * conform/data/sys/statvfs.h-data: Likewise.
17764         * conform/data/sys/time.h-data: Likewise.
17765         * conform/data/sys/timeb.h-data: Likewise.
17766         * conform/data/sys/times.h-data: Likewise.
17767         * conform/data/sys/types.h-data: Likewise.
17768         * conform/data/sys/uio.h-data: Likewise.
17769         * conform/data/sys/un.h-data: Likewise.
17770         * conform/data/sys/utsname.h-data: Likewise.
17771         * conform/data/sys/wait.h-data: Likewise.
17772         * conform/data/syslog.h-data: Likewise.
17773         * conform/data/tar.h-data: Likewise.
17774         * conform/data/termios.h-data: Likewise.
17775         * conform/data/utime.h-data: Likewise.
17776         * conform/data/utmpx.h-data: Likewise.
17777         * conform/data/varargs.h-data: Likewise.
17778         * conform/data/wchar.h-data: Likewise.
17779         * conform/data/wctype.h-data: Likewise.
17780         * conform/data/wordexp.h-data: Likewise.
17782         * include/stropts.h: New file.
17783         * include/uchar.h: New file.
17784         * include/aio.h: Changes to allow conformtest.pl to use the headers.
17785         * include/assert.h: Likewise.
17786         * include/ctype.h: Likewise.
17787         * include/dirent.h: Likewise.
17788         * include/dlfcn.h: Likewise.
17789         * include/fcntl.h: Likewise.
17790         * include/fnmatch.h: Likewise.
17791         * include/glob.h: Likewise.
17792         * include/grp.h: Likewise.
17793         * include/libio.h: Likewise.
17794         * include/locale.h: Likewise.
17795         * include/math.h: Likewise.
17796         * include/net/if.h: Likewise.
17797         * include/netdb.h: Likewise.
17798         * include/netinet/in.h: Likewise.
17799         * include/pthread.h: Likewise.
17800         * include/pwd.h: Likewise.
17801         * include/regex.h: Likewise.
17802         * include/sched.h: Likewise.
17803         * include/search.h: Likewise.
17804         * include/setjmp.h: Likewise.
17805         * include/signal.h: Likewise.
17806         * include/stdio.h: Likewise.
17807         * include/stdlib.h: Likewise.
17808         * include/string.h: Likewise.
17809         * include/sys/cdefs.h: Likewise.
17810         * include/sys/mman.h: Likewise.
17811         * include/sys/msg.h: Likewise.
17812         * include/sys/resource.h: Likewise.
17813         * include/sys/select.h: Likewise.
17814         * include/sys/socket.h: Likewise.
17815         * include/sys/stat.h: Likewise.
17816         * include/sys/statvfs.h: Likewise.
17817         * include/sys/time.h: Likewise.
17818         * include/sys/times.h: Likewise.
17819         * include/sys/uio.h: Likewise.
17820         * include/sys/utsname.h: Likewise.
17821         * include/sys/wait.h: Likewise.
17822         * include/termios.h: Likewise.
17823         * include/time.h: Likewise.
17824         * include/ulimit.h: Likewise.
17825         * include/unistd.h: Likewise.
17826         * include/utime.h: Likewise.
17827         * include/wchar.h: Likewise.
17828         * include/wctype.h: Likewise.
17829         * include/wordexp.h: Likewise.
17831         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17833         * time/time.h: TIME_UTC must be a macro.
17834         Make timespec_get available for ISO C11 only as well.
17836 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
17838         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17839         Reported by Peng Haitao <penght@cn.fujitsu.com>.
17841 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17843         * configure.in: Use -o not -a in test for unsupported multi-arch.
17845 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17847         * manual/texinfo.tex: Update to version 2012-01-19.16.
17849 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17851         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17853 2012-02-24  Roland McGrath  <roland@hack.frob.com>
17855         [BZ #13738]
17856         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17857         * manual/fdl-1.3.texi: New file.
17858         * manual/fdl-1.1.texi: File removed.
17860         [BZ #13738]
17861         * manual/libc.texinfo (FDL_VERSION): New @set.
17862         Use it for mention of FDL in cover text.
17863         (Documentation License): Use it in @include file name.
17865 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17866             Roland McGrath  <roland@hack.frob.com>
17868         [BZ #5461]
17869         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17870         not LONG_LONG_MAX and LONG_LONG_MIN.
17871         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17872         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
17873         name.
17874         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17876 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17878         [BZ #2547]
17879         [BZ #11365]
17880         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17881         manipulate bits before adding and subtracting TWO23[sx].
17882         * math/libm-test.inc (nearbyint_test): Add more tests.
17884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17886         [BZ #2548]
17887         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17888         bits before adding and subtracting TWO23[sx].
17889         * math/libm-test.inc (rint_test): Add more tests.
17890         (rint_test_tonearest): Likewise.
17891         (rint_test_towardzero): Likewise.
17892         (rint_test_downward): Likewise.
17893         (rint_test_upward: Likewise.
17895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17897         [BZ #10110]
17898         * include/stdc-predef.h: New file.  Extracted from features.h.
17899         * include/features.h: Include stdc-predef.h.
17900         * Makefile (headers): Add stdc-predef.h.
17901         * CONFORMANCE (Compiler limitations): Update.
17903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17905         * manual/libc.texinfo (VERSION, UPDATED): Revert.
17907 2012-02-21  David S. Miller  <davem@davemloft.net>
17909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17910         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17912 2012-02-20  David S. Miller  <davem@davemloft.net>
17914         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17915         using a normal save/restore sequence, rather than allocating a
17916         dummy stack frame just to store a frame pointer and restore.
17917         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17919 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17921         * manual/install.texi: Fix stray word in line-wrapped comment.
17923 2012-02-20  David S. Miller  <davem@davemloft.net>
17925         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17926         both binutils and gcc support GOTDATA.
17928         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17929         "rd %pc" in the PIC register setup sequences.
17931         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17932         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17933         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17934         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17935         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17936         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17937         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17938         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17940         (SYSCALL_ERROR_HANDLER): Likewise.
17941         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17942         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17943         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17944         (SYSCALL_ERROR_HANDLER): Likewise.
17946         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17947         (HAVE_GCC_GOTDATA): New.
17948         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17949         relocation support in both binutils and gcc.
17950         * sysdeps/sparc/elf/configure: Regenerate.
17952         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17953         * sysdeps/sparc/sparc32/elf/configure: Delete.
17954         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17955         * sysdeps/sparc/sparc64/elf/configure: Delete.
17956         * sysdeps/sparc/elf/configure.in: New file.
17957         * sysdeps/sparc/elf/configure: Generate.
17959         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17960         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17961         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17962         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17963         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17965 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17967         * manual/install.texi: Do not mention specific glibc version
17968         numbers.
17969         * manual/libc.texinfo (VERSION, UPDATED): Update.
17970         (@copying): Use @copyright{} and range of years.
17972 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #13695]
17975         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17976         [crti.S not in sysdirs] (generated): Do not append.
17977         [crti.S not in sysdirs] (omit-deps): Likewise.
17978         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17979         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17980         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17981         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17982         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17983         Likewise.
17984         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17985         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17986         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17987         * csu/defs.awk: Remove file.
17988         * sysdeps/generic/initfini.c: Likewise.
17989         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17990         variable.
17991         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17992         Likewise.
17994 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
17996         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17997         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17998         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17999         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18000         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18001         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18002         <bits/epoll.h>.
18003         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18004         (__EPOLL_PACKED): Define to empty if not defined by
18005         <bits/epoll.h>.
18006         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18007         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18008         bits/epoll.h.
18010 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18012         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18013         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18014         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18015         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18016         <bits/timerfd.h>.
18017         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18019         bits/timerfd.h.
18021 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18023         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18024         in C locale.
18025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18027         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18030 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18032         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18033         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18035 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18037         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18038         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18039         defined.
18040         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18043         entry for 2.16.
18045 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18047         * math/w_acos.c: Use non-signaling floating-point comparisons.
18048         * math/w_acosf.c: Likewise.
18049         * math/w_acosh.c: Likewise.
18050         * math/w_acoshf.c: Likewise.
18051         * math/w_acoshl.c: Likewise.
18052         * math/w_acosl.c: Likewise.
18053         * math/w_asin.c: Likewise.
18054         * math/w_asinf.c: Likewise.
18055         * math/w_asinl.c: Likewise.
18056         * math/w_atanh.c: Likewise.
18057         * math/w_atanhf.c: Likewise.
18058         * math/w_atanhl.c: Likewise.
18059         * math/w_exp2.c: Likewise.
18060         * math/w_exp2f.c: Likewise.
18061         * math/w_exp2l.c: Likewise.
18062         * math/w_j0.c: Likewise.
18063         * math/w_j0f.c: Likewise.
18064         * math/w_j0l.c: Likewise.
18065         * math/w_j1.c: Likewise.
18066         * math/w_j1f.c: Likewise.
18067         * math/w_j1l.c: Likewise.
18068         * math/w_jn.c: Likewise.
18069         * math/w_jnf.c: Likewise.
18070         * math/w_log.c: Likewise.
18071         * math/w_log10.c: Likewise.
18072         * math/w_log10f.c: Likewise.
18073         * math/w_log10l.c: Likewise.
18074         * math/w_log2.c: Likewise.
18075         * math/w_log2f.c: Likewise.
18076         * math/w_log2l.c: Likewise.
18077         * math/w_logf.c: Likewise.
18078         * math/w_logl.c: Likewise.
18079         * math/w_sqrt.c: Likewise.
18080         * math/w_sqrtf.c: Likewise.
18081         * math/w_sqrtl.c: Likewise.
18082         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18083         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18084         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18085         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18086         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18088 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18090         [BZ #9739]
18091         * manual/string.texi (strnlen): Use correct parameter name in
18092         equivalent expression.
18094 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18096         [BZ #11174]
18097         * manual/users.texi (seteuid): Consistently use neweuid for
18098         argument name.
18100 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18102         [BZ #13704]
18103         * manual/nss.texi (Services in the NSS configuration): Correct
18104         list of services in example configuration file.
18106 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18108         [BZ #11322]
18109         * manual/arith.texi: Remove statements about negative zero
18110         behaving identically to zero.
18112 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18114         [BZ #5993]
18115         * manual/install.texi: Do not document upgrading from libc5.
18117 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18119         [BZ #4596]
18120         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18122 2012-02-18  David S. Miller  <davem@davemloft.net>
18124         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18125         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18126         %o7 across the call.
18127         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18128         instead.
18129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18130         SETUP_PIC_REG_LEAF.
18131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18132         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18133         * sysdeps/sparc/crtn.S: Likewise.
18135 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18137         * aout/Makefile: Remove.
18139 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18141         [BZ #13058]
18142         * manual/examples/argp-ex1.c (main): Format definition in GNU
18143         style.
18144         * manual/examples/argp-ex2.c (main): Likewise.
18145         * manual/examples/argp-ex3.c (main): Likewise.
18146         * manual/examples/argp-ex4.c (main): Likewise.
18147         * manual/examples/longopt.c (main): Use new-style prototype
18148         definition.
18149         * manual/examples/strncat.c (main): Specify return type and use
18150         (void) for arguments.
18151         * manual/examples/subopt.c (main): Use char **argv argument.
18153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18155         [BZ #5077]
18156         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18157         rounding modes.
18159 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18161         [BZ #6907]
18162         * manual/string.texi (strchr): Change when strchrnul is
18163         recommended.
18165 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18167         [BZ #174]
18168         * manual/locale.texi (setlocale): Document LOCPATH.
18170 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18172         [BZ #10210]
18173         * manual/process.texi (execle): Move @dots{} before last argument.
18175 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18177         [BZ #12047]
18178         * manual/charset.texi (Generic Charset Conversion): Fix typo
18179         (LC_TYPE -> LC_CTYPE).
18181 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18183         [BZ #5805]
18184         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18185         (scalbnf): Likewise.
18186         (scalbnl): Likewise.
18187         (scalbln): Likewise.
18188         (scalblnf): Likewise.
18189         (scalblnl): Likewise.
18190         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18191         (vwarnx): Likewise.
18192         (verr): Likewise.
18193         (verrx): Likewise.
18194         * manual/filesys.texi (telldir): Use braces around return type.
18195         * manual/llio.texi (mmap): Add space after comma.
18196         (mmap64): Likewise.
18197         * manual/math.texi (jn): Use @var{} on parameter names.
18198         (jnf): Likewise.
18199         (jnl): Likewise.
18200         (yn): Likewise.
18201         (ynf): Likewise.
18202         (ynl): Likewise.
18203         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18204         line.
18205         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18206         "...".
18207         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18208         (sched_get_priority_max): Likewise.
18209         * manual/signal.texi (sigvec): Add space after comma.
18210         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18211         names.
18212         (if_indextoname): Likewise.
18213         (if_freenameindex): Likewise.
18214         (sendto): Use ',' instead of '.' in prototype.
18215         * manual/startup.texi (syscall): Use @dots{} instead of literal
18216         "...".
18217         * manual/stdio.texi (__fpending): Separate initial words of
18218         paragraph from @deftypefun line.
18219         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18220         "...".
18221         (vsyslog): Use @var{} on parameter names.
18222         * manual/terminal.texi (stty): Use @var{} on parameter names.
18223         * manual/users.texi (getutmp): Use @var{} on parameter names.
18224         (getutmpx): Likewise.
18226 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18228         [BZ #6884]
18229         * manual/stdio.texi (fopen): Fix typos in description of
18230         ",ccs=STRING".
18232 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18234         [BZ #4026]
18235         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18236         get clock_id definition.
18238 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18240         [BZ #4822]
18241         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18242         (madvise): Cast every argument to void on its own.
18244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #9902]
18247         * manual/startup.texi (Exit Status): Fix typo.
18249 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18251         [BZ #10140]
18252         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18253         * manual/examples/argp-ex2.c: Likewise.
18254         * manual/examples/argp-ex3.c: Likewise.
18256 2012-02-16  Richard Henderson  <rth@redhat.com>
18258         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18259         * sysdeps/s390/s390-32/initfini.c: Remove.
18260         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18261         * sysdeps/s390/s390-64/initfini.c: Remove.
18263 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18265         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18266         compiler output for sysdeps/generic/initfini.c.
18267         * sysdeps/sh/elf/initfini.c: Remove file.
18269 2012-02-16  David S. Miller  <davem@davemloft.net>
18271         [BZ #11494]
18272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18274         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18275         * sysdeps/sparc/crti.S: New file.
18276         * sysdeps/sparc/crtn.S: New file.
18277         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18278         * sysdeps/sparc/sparc64/Makefile: Likewise.
18280 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18282         [BZ #3335]
18283         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18285 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18287         [BZ #4822]
18288         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18290         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18291         (write, read, close): Likewise.
18292         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18294 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18296         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18297         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18298         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18299         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18300         <bits/signalfd.h>.
18301         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18303         bits/signalfd.h.
18305 2012-02-14  Marek Polacek  <polacek@redhat.com>
18307         * sysdeps/x86_64/crti.S: New file.
18308         * sysdeps/x86_64/crtn.S: New file.
18309         * sysdeps/x86_64/elf/initfini.c: Remove file.
18311 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18313         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18314         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18315         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18316         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18317         <bits/inotify.h>.
18318         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18320         bits/inotify.h.
18322 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18324         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18325         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18326         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18327         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18328         <bits/eventfd.h>.
18329         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18331         bits/eventfd.h.
18333 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
18335         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18336         __feraiseexcept instead of feraiseexcept.
18338         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18339         nanosleep invocations.
18340         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18341         strings, and add error checking for a nanosleep invocations.
18343 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
18345         Replace FSF snail mail address with URLs, as per GNU coding standards.
18346         Most of the snail mail addresses were wrong anyway, and omitting
18347         them makes the source code easier to maintain.  Almost all of the
18348         changes are to license notices and to locale LC_IDENTIFICATION
18349         addresses, except for this one:
18350         * manual/libc.texinfo: In "Published by", give the FSF's URL,
18351         not its snail mail address.
18353 2012-02-09  Richard Henderson  <rth@twiddle.net>
18355         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18356         of kernel-features.h.
18358         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18360 2012-02-08  Marek Polacek  <polacek@redhat.com>
18362         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18363         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18364         * sysdeps/gnu/_G_config.h: Likewise.
18365         * sysdeps/generic/_G_config.h: Likewise.
18367 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
18369         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18370         tests.
18371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18373         * sysdeps/powerpc/powerpc32/crti.S: New file.
18374         * sysdeps/powerpc/powerpc32/crtn.S: New file.
18375         * sysdeps/powerpc/powerpc64/crti.S: New file.
18376         * sysdeps/powerpc/powerpc64/crtn.S: New file.
18378         * Makeconfig (have-initfini): Don't set.
18379         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18380         * configure.in (nopic_initfini): Don't substitute.
18381         * config.h.in (HAVE_INITFINI): Don't #undef.
18382         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18383         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18385 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
18387         Support crti.S and crtn.S provided directly by architectures.
18388         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18389         [crti.S in sysdirs] (omit-deps): Likewise.
18390         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18391         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18392         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18393         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18394         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18395         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18396         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18397         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18398         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18399         compiler output for sysdeps/generic/initfini.c.
18400         * sysdeps/i386/elf/Makefile: Remove file.
18401         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18403 2012-02-07  Marek Polacek  <polacek@redhat.com>
18405         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18406         * sysdeps/gnu/_G_config.h: Likewise.
18407         * sysdeps/mach/hurd/_G_config.h: Likewise.
18409 2012-02-07  Marek Polacek  <polacek@redhat.com>
18411         * math/Makefile (tests): Add tst-CMPLX2.
18412         * math/tst-CMPLX2.c: New file.
18414 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
18416         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18418         * math/libm-test.inc (jn_test): Add missing L suffix.
18420 2012-02-06  Marek Polacek  <polacek@redhat.com>
18422         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18423         * sysdeps/i386/fpu/e_powf.S: Likewise.
18424         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18425         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18426         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18427         * sysdeps/i386/fpu/e_pow.S: Likewise.
18428         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18430         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18431         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18432         * sysdeps/i386/fpu/e_log2.S: Likewise.
18433         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18434         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18435         * sysdeps/i386/fpu/e_powl.S: Likewise.
18436         * sysdeps/i386/fpu/s_log1p.S: Likewise.
18437         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18438         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18439         * sysdeps/i386/fpu/e_logl.S: Likewise.
18440         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18441         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18442         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18443         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18444         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18445         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18446         * sysdeps/i386/fpu/e_log.S: Likewise.
18447         * sysdeps/i386/fpu/s_cexp.S: Likewise.
18448         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18449         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18450         * sysdeps/i386/fpu/e_logf.S: Likewise.
18451         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18452         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18453         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18454         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18455         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18456         * sysdeps/i386/fpu/e_log10.S: Likewise.
18457         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18458         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18459         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18460         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18461         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18462         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18463         * sysdeps/i386/asm-syntax.h: Likewise.
18464         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18465         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18466         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18467         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18468         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18469         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18470         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18471         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18472         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18473         * sysdeps/powerpc/sysdep.h: Likewise.
18474         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18475         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18477 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18479         [BZ #411]
18480         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18482 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18484         * sysdeps/i386/sysdep.h: Include <features.h>.
18485         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18486         version.
18488 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
18490         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18491         Define.
18492         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18493         LOAD_PIC_REG_STR.
18495 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18497         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18498         (SETUP_PIC_REG): Use GET_PC_THUNK.
18499         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18500         macro.
18502 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18504         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18505         for non-PIC compilation.
18506         (SETUP_PIC_REG): Add .p2align directive.
18507         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18508         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18509         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18510         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18511         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18512         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18513         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18514         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18515         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18516         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18517         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18518         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18519         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18520         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18521         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18522         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18523         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18524         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18525         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18526         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18527         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18528         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18529         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18530         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18531         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18533         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18534         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18535         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18536         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18537         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18538         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18539         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18542         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18543         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18544         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18545         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18546         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18547         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18549 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18551         * math/tst-CMPLX.c: Include <stdio.h>.
18553 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
18555         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18556         float.
18557         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18558         * sysdeps/sparc/bits/mathdef.h: Likewise.
18560 2012-01-31  Marek Polacek  <polacek@redhat.com>
18562         * libio/libio.h: Don't define _PARAMS.
18563         * locale/programs/config.h: Don't define PARAMS.
18564         * stdlib/strtol_l.c: Likewise.
18565         (__strtol_l): Remove PARAMS from the prototype.
18567 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
18569         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
18570         names.  Just use the correct names.  Remove unnecessary wrapper
18571         functions.
18572         * malloc/arena.c: Likewise.
18573         * malloc/hooks.c: Likewise.
18575         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18576         ARENA_TEST says not to.  Simplify test for creation of a new arena.
18577         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18579 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
18581         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18582         into tail calls.
18583         (update_get_addr): New function.
18584         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18585         GET_ADDR_MODULE parameter.
18587 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18589         * crypt/cert.c: Remove __STDC__ conditionals.
18590         * crypt/crypt-entry.c: Likewise.
18591         * crypt/crypt_util.c: Likewise.
18592         * libio/filedoalloc.c: Likewise.
18593         * libio/fileops.c: Likewise.
18594         * libio/genops.c: Likewise.
18595         * libio/iofclose.c: Likewise.
18596         * libio/iofdopen.c: Likewise.
18597         * libio/iofopen.c: Likewise.
18598         * libio/iofopen64.c: Likewise.
18599         * libio/iogetdelim.c: Likewise.
18600         * libio/iopopen.c: Likewise.
18601         * libio/obprintf.c: Likewise.
18602         * libio/oldfileops.c: Likewise.
18603         * libio/oldiofclose.c: Likewise.
18604         * libio/oldiofdopen.c: Likewise.
18605         * libio/oldiofopen.c: Likewise.
18606         * libio/oldiopopen.c: Likewise.
18607         * libio/wfiledoalloc.c: Likewise.
18608         * libio/wgenops.c: Likewise.
18609         * locale/programs/xmalloc.c: Likewise.
18610         * misc/syslog.c: Likewise.
18611         * stdio-common/xbug.c: Likewise.
18612         * string/memchr.c: Likewise.
18613         * string/memcmp.c: Likewise.
18614         * string/memrchr.c: Likewise.
18615         * string/rawmemchr.c: Likewise.
18616         * sysdeps/posix/getcwd.c: Likewise.
18617         * time/strftime_l.c: Likewise.
18619 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18621         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18622         * config.make.in (config-cflags-sse2avx): Define.
18623         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18624         Fix typo.
18626 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
18628         * scripts/config.guess: Update from upstream config git repository.
18629         * scripts/config.sub: Likewise.
18631 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
18633         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18634         (EM_NUM): Update.
18635         (R_TILEPRO_*, R_TILEGX_*): New macros.
18637         * scripts/firstversions.awk: Fix bug in version range handling.
18639         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18641         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18643         * include/sys/epoll.h: New file.
18644         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18645         libc_hidden_def.
18647 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
18649         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18650         Avoid unnecessary __WORDSIZE == 64 test.
18651         (fmaxf): Use VEX format if possible.
18652         (fmax): Likewise.
18653         (fminf): Likewise.
18654         (fmin): Likewise.
18656         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18657         * math/math_private.h: Remove libc_fegetround* and
18658         libc_fesetround*.
18659         * sysdeps/i386/configure.in: Check for -msse2avx.
18660         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18661         also if SSE2AVX is defined.
18662         Remove libc_fegetround* and libc_fesetround*.
18663         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18664         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
18665         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18666         of HAS_YMM_USABLE.
18667         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18668         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18669         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18670         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18671         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18673         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18675 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18677         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18678         size is not set.
18679         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18681 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
18683         [BZ #13618]
18684         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18685         relocation.
18686         * Makeconfig (libm): Define.
18687         * elf/Makefile: Add rules to build and run tst-relsort1.
18688         * elf/tst-relsort1.c: New file.
18689         * elf/tst-relsort1mod1.c: New file.
18690         * elf/tst-relsort1mod2.c: New file.
18692 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
18694         * math/s_ldexp.c: Remove __STDC__ conditionals.
18695         * math/s_ldexpf.c: Likewise.
18696         * math/s_ldexpl.c: Likewise.
18697         * math/s_nextafter.c: Likewise.
18698         * math/s_nexttowardf.c: Likewise.
18699         * math/s_significand.c: Likewise.
18700         * math/s_significandf.c: Likewise.
18701         * math/s_significandl.c: Likewise.
18702         * math/w_jnl.c: Likewise.
18703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18708         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18709         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18710         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18711         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18717         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18719         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18720         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18721         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18722         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18723         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18724         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18725         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18727         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18728         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18729         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18730         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18731         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18732         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18733         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18734         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18735         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18736         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18737         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18738         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18739         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18740         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18741         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18742         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18743         * sysdeps/ieee754/k_standard.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18762         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18763         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18765         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18766         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18767         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18768         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18776         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18777         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18812         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18815         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18818         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18819         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18820         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18823         * sysdeps/ieee754/s_matherr.c: Likewise.
18824         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18825         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18829 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18831         * crypt/md5.h: Remove __STDC__ conditionals.
18832         * libio/libioP.h: Likewise.
18833         * locale/programs/config.h: Likewise.
18834         * sysdeps/generic/sysdep.h: Likewise.
18835         * sysdeps/i386/asm-syntax.h: Likewise.
18836         * sysdeps/s390/asm-syntax.h: Likewise.
18837         * sysdeps/unix/sysdep.h: Likewise.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18841 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18843         * libio/libio.h: Remove __STDC__ conditionals.
18844         * malloc/obstack.h: Likewise.
18845         * math/complex.h: Likewise.
18846         * math/math.h: Likewise.
18847         * sysdeps/generic/_G_config.h: Likewise.
18848         * sysdeps/gnu/_G_config.h: Likewise.
18849         * sysdeps/mach/hurd/_G_config.h: Likewise.
18850         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18851         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18852         * sysdeps/sparc/bits/mathdef.h: Likewise.
18854 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
18856         [BZ #13583]
18857         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18858         Clean up HAS_* macros.
18859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18860         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18861         possible.
18862         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18863         HAS_AVX.
18864         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18865         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18866         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18867         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18868         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18870 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
18872         * elf/tst-unique3.cc (gets): Remove declaration.
18873         * elf/tst-unique3lib.cc (gets): Likewise.
18874         * elf/tst-unique3lib2.cc (gets): Likewise.
18875         * elf/tst-unique4.cc (gets): Likewise.
18877 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
18879         * include/stdio.h: Add C++ protection.  Add gets declarations and
18880         definitions.
18881         * debug/tst-chk1.c: Don't declare gets here.
18882         * stdio-common/tst-gets.c: Likewise.
18884 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18886         * posix/glob: Remove directory.
18888 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18890         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18892 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
18894         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18895         of the non-standard EPFNOSUPPORT.
18897 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18899         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18900         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18901         ANYWHERE set to 1 only on KERN_NO_SPACE error.
18903 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
18905         * wcsmbs/uchar.h: Test __STDC_VERSION__.
18907 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
18909         * nscd/aicache.c (addhstaiX): Do not cache negative results of
18910         transient errors.
18911         * nscd/grpcache.c (cache_addgr): Likewise.
18912         * nscd/hstcache.c (cache_addhst): Likewise.
18913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18914         * nscd/pwdcache.c (cache_addpw): Likewise.
18915         * nscd/servicescache.c (cache_addserv): Likewise.
18917 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
18919         * malloc/malloc.c: Various cleanups.
18920         * malloc/hooks.c: Likewise.
18922         * stdlib/Makefile (tests): Add bug-fmtmsg1.
18923         * stdlib/bug-fmtmsg1.c: New file.
18925         * stdlib/fmtmsg.c (init): Add missing unlock.
18926         Patch by Peng Haitao <penght@cn.fujitsu.com>.
18928 2012-01-12  Marek Polacek  <polacek@redhat.com>
18930         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18931         and _GNU_SOURCE.
18933 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
18935         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18936         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18937         macro to ensure uniqueness of label name.
18938         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18939         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18941 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
18943         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18945         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18946         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18947         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18950 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
18952         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18954         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18955         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18956         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18958         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18960         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18961         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18962         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18965         * math/bits/math-finite.h: Add ldexp support.
18967 2012-01-10  Marek Polacek  <polacek@redhat.com>
18969         * locale/programs/localedef.h (show_archive_content): Add noreturn
18970         attribute.
18972 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
18974         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18976 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
18978         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18980         * io/Makefile (headers): Add bits/poll2.h.
18982 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18985         typo #include statement.
18987 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
18989         * include/sys/cdefs.h: Define __attribute_alloc_size.
18990         * catgets/gencat.c: Add alloc_size attribute and apply consistently
18991         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18992         * elf/pldd.c: Likewise.
18993         * iconv/iconv_charmap.c: Likewise.
18994         * iconv/iconvconfig.c: Likewise.
18995         * iconv/strtab.c: Likewise.
18996         * locale/programs/locale.c: Likewise.
18997         * locale/programs/localedef.h: Likewise.
18998         * locale/programs/simple-hash.c: Likewise.
18999         * nscd/nscd.h: Likewise.
19000         * nss/makedb.c: Likewise.
19001         * sysdeps/generic/ldconfig.h: Likewise.
19002         * locale/programs/localedef.c: Remove xmalloc prototype.
19003         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19005 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19007         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19008         appropriate.
19010 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19012         * math/Makefile (tests): Add tst-CMPLX.
19013         * math/tst-CMPLX.c: New file.
19015         * math/complex.h (CMPLXL): Fix typo.
19017         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19018         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19019         GLIBC_2.16.
19020         * debug/tst-chk1.c: Add poll and ppoll tests.
19021         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19022         * include/sys/poll.h: Add hidden proto for ppoll.
19023         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19024         * sysdeps/mach/hurd/ppoll.c: Likewise.
19025         * io/ppoll.c: Likewise.
19026         * debug/poll_chk.c: New file.
19027         * debug/ppoll_chk.c: New file.
19028         * include/bits/poll2.h: New file.
19029         * io/bits/poll2.h: New file.
19031         [BZ #1350]
19032         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19034         * configure.in: static is always set to yes.  Remove.
19035         * config.make.in: Don't set build-static.
19036         * Makeconfig: Remove use of build-static.
19037         * dlfcn/Makefile: Likewise.
19038         * elf/Makefile: Likewise.
19039         * math/Makefile: Likewise.
19040         * misc/Makefile: Likewise.
19041         * nptl/Makefile: Likewise.
19042         * sysdeps/mach/hurd/Makefile: Likewise.
19044         * configure.in: PWD_P is not used anymore.
19045         * config.make.in: Remove PWD_P entry.
19047         * configure.in: Remove last remnants of RANLIB.
19048         No need to check for signed size_t anymore.
19049         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19050         and IA-64.
19051         Remove __builtin_expect test because we require at least gcc 3.4.
19052         * aclocal.m4: Likewise.
19054         * wcsmbs/mbrtoc16.c: Implement using towc function.
19055         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19056         * wcsmbs/wcsmbsload.c: Likewise.
19057         * iconv/gconv_simple.c: Likewise.
19058         * iconv/gconv_int.h: Likewise.
19059         * iconv/gconv_builtin.h: Likewise.
19060         * iconv/iconv_prog.c: Remove CHAR16 handling.
19062         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19064         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19066         * configure.in: Remove --with-elf and --enable-bounded options.
19067         Dont set base_machine for ia64.  More non-ELF conditions removed.
19068         Remove testing and setting of leading underscore information.
19069         * config.make.in (build-bounded): Set to no.
19070         * config.h.in: Remove NO_UNDERSCORES entry.
19071         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19072         them.
19073         * csu/start.c: Remove !NO_UNDERSCORE code.
19074         * locale/localeinfo.h: Likewise.
19075         * sysdeps/generic/machine-gmon.h: Likewise.
19076         * sysdeps/generic/sysdep.h: Likewise.
19077         * sysdeps/i386/sysdep.h: Likewise.
19078         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19079         * sysdeps/mach/sysdep.h: Likewise.
19080         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19081         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19082         * sysdeps/sh/sysdep.h: Likewise.
19083         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19084         * sysdeps/unix/i386/sysdep.S: Likewise.
19085         * sysdeps/unix/sparc/start.c: Likewise.
19086         * sysdeps/unix/sparc/sysdep.S: Likewise.
19087         * sysdeps/unix/sparc/sysdep.h: Likewise.
19088         * sysdeps/unix/start.c: Likewise.
19089         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19090         * sysdeps/x86_64/sysdep.h: Likewise.
19092 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19094         [BZ #13553]
19095         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19096         for non-gcc.
19097         * argp/argp-fmtstream.h: Use const instead __const.
19098         * argp/argp.h: Likewise.
19099         * assert/assert.h: Likewise.
19100         * bits/fenv.h: Likewise.
19101         * bits/sched.h: Likewise.
19102         * bits/sigset.h: Likewise.
19103         * bits/sigthread.h: Likewise.
19104         * catgets/nl_types.h: Likewise.
19105         * conform/data/pthread.h-data: Likewise.
19106         * crypt/crypt-private.h: Likewise.
19107         * crypt/crypt.h: Likewise.
19108         * crypt/crypt_util.c: Likewise.
19109         * ctype/ctype.h: Likewise.
19110         * debug/execinfo.h: Likewise.
19111         * debug/mbsnrtowcs_chk.c: Likewise.
19112         * debug/mbsrtowcs_chk.c: Likewise.
19113         * debug/wcsnrtombs_chk.c: Likewise.
19114         * debug/wcsrtombs_chk.c: Likewise.
19115         * debug/wcstombs_chk.c: Likewise.
19116         * dirent/dirent.h: Likewise.
19117         * dlfcn/dlfcn.h: Likewise.
19118         * elf/neededtest4.c: Likewise.
19119         * grp/grp.h: Likewise.
19120         * gshadow/gshadow.h: Likewise.
19121         * iconv/gconv.h: Likewise.
19122         * iconv/gconv_int.h: Likewise.
19123         * iconv/gconv_simple.c: Likewise.
19124         * iconv/iconv.h: Likewise.
19125         * iconv/loop.c: Likewise.
19126         * iconv/skeleton.c: Likewise.
19127         * include/aio.h: Likewise.
19128         * include/aliases.h: Likewise.
19129         * include/argz.h: Likewise.
19130         * include/arpa/inet.h: Likewise.
19131         * include/assert.h: Likewise.
19132         * include/dirent.h: Likewise.
19133         * include/dlfcn.h: Likewise.
19134         * include/execinfo.h: Likewise.
19135         * include/fcntl.h: Likewise.
19136         * include/fenv.h: Likewise.
19137         * include/glob.h: Likewise.
19138         * include/grp.h: Likewise.
19139         * include/libintl.h: Likewise.
19140         * include/mntent.h: Likewise.
19141         * include/netdb.h: Likewise.
19142         * include/pwd.h: Likewise.
19143         * include/rpc/netdb.h: Likewise.
19144         * include/sched.h: Likewise.
19145         * include/search.h: Likewise.
19146         * include/shadow.h: Likewise.
19147         * include/signal.h: Likewise.
19148         * include/stdio.h: Likewise.
19149         * include/stdlib.h: Likewise.
19150         * include/string.h: Likewise.
19151         * include/sys/socket.h: Likewise.
19152         * include/sys/stat.h: Likewise.
19153         * include/sys/statfs.h: Likewise.
19154         * include/sys/statvfs.h: Likewise.
19155         * include/sys/syslog.h: Likewise.
19156         * include/sys/time.h: Likewise.
19157         * include/sys/uio.h: Likewise.
19158         * include/time.h: Likewise.
19159         * include/unistd.h: Likewise.
19160         * include/utmp.h: Likewise.
19161         * include/wchar.h: Likewise.
19162         * include/wctype.h: Likewise.
19163         * inet/aliases.h: Likewise.
19164         * inet/arpa/inet.h: Likewise.
19165         * inet/netinet/ether.h: Likewise.
19166         * inet/netinet/in.h: Likewise.
19167         * intl/libintl.h: Likewise.
19168         * io/bits/fcntl2.h: Likewise.
19169         * io/fcntl.h: Likewise.
19170         * io/ftw.h: Likewise.
19171         * io/sys/poll.h: Likewise.
19172         * io/sys/stat.h: Likewise.
19173         * io/sys/statfs.h: Likewise.
19174         * io/sys/statvfs.h: Likewise.
19175         * io/utime.h: Likewise.
19176         * libio/bits/stdio.h: Likewise.
19177         * libio/bits/stdio2.h: Likewise.
19178         * libio/libio.h: Likewise.
19179         * libio/libioP.h: Likewise.
19180         * libio/stdio.h: Likewise.
19181         * locale/lc-ctype.c: Likewise.
19182         * locale/locale.h: Likewise.
19183         * login/utmp.h: Likewise.
19184         * malloc/arena.c: Likewise.
19185         * malloc/malloc.c: Likewise.
19186         * malloc/malloc.h: Likewise.
19187         * malloc/mcheck.c: Likewise.
19188         * malloc/mtrace.c: Likewise.
19189         * math/bits/mathcalls.h: Likewise.
19190         * math/fenv.h: Likewise.
19191         * math/math_private.h: Likewise.
19192         * misc/bits/error.h: Likewise.
19193         * misc/bits/syslog.h: Likewise.
19194         * misc/err.h: Likewise.
19195         * misc/error.h: Likewise.
19196         * misc/fstab.h: Likewise.
19197         * misc/mntent.h: Likewise.
19198         * misc/regexp.h: Likewise.
19199         * misc/search.h: Likewise.
19200         * misc/sgtty.h: Likewise.
19201         * misc/sys/mman.h: Likewise.
19202         * misc/sys/syslog.h: Likewise.
19203         * misc/sys/uio.h: Likewise.
19204         * misc/sys/xattr.h: Likewise.
19205         * misc/ttyent.h: Likewise.
19206         * nis/rpcsvc/ypclnt.h: Likewise.
19207         * nss/nss.h: Likewise.
19208         * posix/bits/unistd.h: Likewise.
19209         * posix/fnmatch.h: Likewise.
19210         * posix/glob.h: Likewise.
19211         * posix/sched.h: Likewise.
19212         * posix/spawn.h: Likewise.
19213         * posix/sys/wait.h: Likewise.
19214         * posix/unistd.h: Likewise.
19215         * posix/wordexp.h: Likewise.
19216         * pwd/pwd.h: Likewise.
19217         * resolv/netdb.h: Likewise.
19218         * resource/sys/resource.h: Likewise.
19219         * rt/aio.h: Likewise.
19220         * rt/bits/mqueue2.h: Likewise.
19221         * rt/mqueue.h: Likewise.
19222         * shadow/shadow.h: Likewise.
19223         * signal/signal.h: Likewise.
19224         * socket/send.c: Likewise.
19225         * socket/sendto.c: Likewise.
19226         * socket/sys/socket.h: Likewise.
19227         * stdio-common/printf.h: Likewise.
19228         * stdlib/bits/stdlib.h: Likewise.
19229         * stdlib/fmtmsg.h: Likewise.
19230         * stdlib/monetary.h: Likewise.
19231         * stdlib/stdlib.h: Likewise.
19232         * stdlib/ucontext.h: Likewise.
19233         * streams/stropts.h: Likewise.
19234         * string/argz.h: Likewise.
19235         * string/bits/string2.h: Likewise.
19236         * string/string.h: Likewise.
19237         * string/strings.h: Likewise.
19238         * sunrpc/rpc/auth.h: Likewise.
19239         * sunrpc/rpc/auth_des.h: Likewise.
19240         * sunrpc/rpc/clnt.h: Likewise.
19241         * sunrpc/rpc/netdb.h: Likewise.
19242         * sunrpc/rpc/pmap_clnt.h: Likewise.
19243         * sunrpc/rpc/xdr.h: Likewise.
19244         * sysdeps/generic/inttypes.h: Likewise.
19245         * sysdeps/generic/net/if.h: Likewise.
19246         * sysdeps/generic/sys/swap.h: Likewise.
19247         * sysdeps/gnu/net/if.h: Likewise.
19248         * sysdeps/gnu/utmpx.h: Likewise.
19249         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19250         * sysdeps/i386/i486/bits/string.h: Likewise.
19251         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19252         * sysdeps/s390/bits/string.h: Likewise.
19253         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19254         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19255         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19256         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19257         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19258         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19259         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19260         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19261         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19262         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19263         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19264         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19265         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19266         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19267         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19268         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19269         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19270         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19272         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19273         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19274         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19275         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19276         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19277         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19278         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19279         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19280         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19281         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19282         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19283         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19284         * sysvipc/sys/ipc.h: Likewise.
19285         * sysvipc/sys/msg.h: Likewise.
19286         * sysvipc/sys/sem.h: Likewise.
19287         * sysvipc/sys/shm.h: Likewise.
19288         * termios/termios.h: Likewise.
19289         * time/sys/time.h: Likewise.
19290         * time/time.h: Likewise.
19291         * wcsmbs/bits/wchar2.h: Likewise.
19292         * wcsmbs/uchar.h: Likewise.
19293         * wcsmbs/wchar.h: Likewise.
19294         * wctype/wctype.h: Likewise.
19296         [BZ #13551]
19297         * Makeconfig: Remove all but ELF support including AIX support.
19298         * Makerules: Likewise.
19299         * config.h.in: Likewise.
19300         * config.make.in: Likewise.
19301         * configure: Likewise.
19302         * configure.in: Likewise.
19303         * csu/Makefile: Likewise.
19304         * csu/version.c: Likewise.
19305         * debug/Makefile: Likewise.
19306         * dlfcn/Makefile: Likewise.
19307         * elf/Makefile: Likewise.
19308         * extra-lib.mk: Likewise.
19309         * iconv/Makefile: Likewise.
19310         * include/libc-symbols.h: Likewise.
19311         * include/shlib-compat.h: Likewise.
19312         * resolv/Makefile: Likewise.
19313         * resolv/res_libc.c: Likewise.
19314         * rt/Makefile: Likewise.
19315         * sysdeps/i386/asm-syntax.h: Likewise.
19316         * sysdeps/i386/sysdep.h: Likewise.
19317         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19318         * sysdeps/mach/sysdep.h: Likewise.
19319         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19320         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19321         * sysdeps/s390/asm-syntax.h: Likewise.
19322         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19324         * sysdeps/sh/sysdep.h: Likewise.
19325         * sysdeps/unix/sparc/sysdep.h: Likewise.
19326         * sysdeps/wordsize-32/divdi3.c: Likewise.
19327         * sysdeps/x86_64/sysdep.h: Likewise.
19329         * argp/Versions: Remove _argp_unlock_xxx.
19331         [BZ #13559]
19332         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
19333         * abilist/libBrokenLocale.abilist: Likewise.
19334         * abilist/libanl.abilist: Likewise.
19335         * abilist/libc.abilist: Likewise.
19336         * abilist/libcrypt.abilist: Likewise.
19337         * abilist/libdl.abilist: Likewise.
19338         * abilist/libm.abilist: Likewise.
19339         * abilist/libnsl.abilist: Likewise.
19340         * abilist/libpthread.abilist: Likewise.
19341         * abilist/libresolv.abilist: Likewise.
19342         * abilist/librt.abilist: Likewise.
19343         * abilist/libthread_db.abilist: Likewise.
19344         * abilist/libutil.abilist: Likewise.
19345         * abilist/libnss_db.abilist: New file.
19347         * scripts/abilist.awk: Add support for indirect functions.
19349         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19351         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19353         * shlib-versions: Remove entries for ports architectures.
19355         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
19356         files in ports.
19357         * elf/stackguard-macros.h: Remove support for IA-64.
19358         * elf/tst-auditmod1.c: Likewise.
19359         * sysdeps/generic/ldsodefs.h: Likewise.
19361         * sysdeps/unix/sysv/linux/configure.in: Ports should define
19362         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19363         configure files.
19365         [BZ #13552]
19366         * configure.in: Remove --enable-omitfp support.
19367         * FAQ.in: Adjust.
19368         * config.make.in: Likewise.
19369         * Makeconfig: Likewise.
19370         * manual/install.texi: Likewise.
19372         In case anyone cares, the IA-64 architecture could move to ports.
19373         * sysdeps/ia64/*: Removed.
19374         * sysdeps/unix/sysv/linux/ia64/*: Removed.
19375         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19377         [BZ #13555]
19378         * configure.in: Remove entries for unsupported architectures.
19380         [BZ #13533]
19381         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19382         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
19383         routines.
19384         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19385         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19386         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
19387         fall back to using wcrtomb.
19388         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19389         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
19390         renaming.
19391         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19392         * wcsmbs/tst-c16c32-1.c: New file.
19394         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19395         local variable.
19397         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19399         * elf/tst-unique3.cc: Add explicit declaration of gets.
19400         * elf/tst-unique3lib.cc: Likewise.
19401         * elf/tst-unique3lib2.cc: Likewise.
19402         * elf/tst-unique4.cc: Likewise.
19404         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19406 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
19408         [BZ #13566]
19409         * assert/assert.h (static_assert): Don't define for C++.
19410         * libio/stdio.h (gets): Do declare for C++ <= C++11.
19411         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19413 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
19415         * iconv/loop.c (single loop): Fix assertion in storing of
19416         remaining bytes.
19418         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19420 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
19422         * posix/getconf.c: Update copyright year.
19423         * nss/getent.c: Likewise.
19424         * nss/makedb.c: Likewise.
19425         * iconv/iconvconfig.c: Likewise.
19426         * iconv/iconv_prog.c: Likewise.
19427         * elf/ldconfig.c: Likewise.
19428         * elf/pldd.c: Likewise.
19429         * elf/sotruss.ksh: Likewise.
19430         * catgets/gencat.c: Likewise.
19431         * csu/version.c: Likewise.
19432         * elf/ldd.bash.in: Likewise.
19433         * elf/sprof.c (print_version): Likewise.
19434         * locale/programs/locale.c: Likewise.
19435         * locale/programs/localedef.c: Likewise.
19436         * login/programs/pt_chown.c: Likewise.
19437         * nscd/nscd.c (print_version): Likewise.
19438         * debug/xtrace.sh: Likewise.
19439         * malloc/memusage.sh: Likewise.
19440         * malloc/mtrace.pl: Likewise.
19441         * debug/catchsegv.sh: Likewise.
19443 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
19445         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19446         pure attribute.
19448 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
19450         [BZ #13533]
19451         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19452         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19453         transformations.
19454         * iconv/gconv_int.h: Likewise.
19455         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19456         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19457         from libc for GLIBC_2.16.
19458         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19459         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19460         * wcsmbs/uchar.h: Really define mbstate_t.
19461         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19462         * wcsmbs/c16rtomb.c: New file.
19463         * wcsmbs/mbrtoc16.c: New file.
19464         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19465         for C/POSIX locale.
19466         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19467         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19469         * wcsmbs/wchar.h: Add missing __restrict.
19471 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19473         [BZ #13532]
19474         * time/Makefile (routines): Add timespec_get.
19475         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19476         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
19477         timespec for ISO C11.
19478         * time/timespec_get.c: New file.
19479         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19480         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19482         [BZ #13531]
19483         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19484         * stdlib/stdlib.h: Declare aligned_alloc.
19485         * Versions.def: Add GLIBC_2.16 for libc.
19486         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19488         [BZ 13527]
19489         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19490         ISO C11.
19492         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19493         code.
19495         [BZ #13528]
19496         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19498         [BZ #13529]
19499         * assert/assert.h (static_assert): Define.
19501         * version.h: Update for 2.16 development version.
19503         [BZ #13526]
19504         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19505         _ISOC11_SOURCE.
19507         * version.h (RELEASE): Bump for 2.15 release.
19508         * include/features.h (__GLIBC_MINOR__): Bump to 15.
19510         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19511         Patch by Marek Polacek <mpolacek@redhat.com>.
19513         * bits/byteswap.h: Protect long long constants with __extension__.
19514         * sysdeps/i386/bits/byteswap.h: Likewise.
19515         * sysdeps/ia64/bits/byteswap.h: Likewise.
19516         * sysdeps/s390/bits/byteswap.h: Likewise.
19517         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19519 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19521         [BZ #13540]
19522         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19523         destination buffer.
19524         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19526 2011-12-23  Marek Polacek  <polacek@redhat.com>
19528         * elf/dl-addr.c (determine_info): Add inline keyword.
19529         * elf/tst-auditmod4b.c (check_avx): Likewise.
19530         * elf/tst-auditmod6b.c (check_avx): Likewise.
19531         * elf/tst-auditmod6c.c (check_avx): Likewise.
19532         * elf/tst-auditmod7b.c (check_avx): Likewise.
19534 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19536         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19537         !__SSE_MATH__.
19539 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19541         [BZ #13540]
19542         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19543         processing for last bytes.
19545 2011-08-06  Bruno Haible  <bruno@clisp.org>
19547         [BZ #13061]
19548         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19549         U+0385, not to U+1FEE.
19551         [BZ #13062]
19552         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19553         entry for U+00A5 U+0301.
19555 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19557         [BZ #13166]
19558         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19559         buffer for the output is too small.
19561         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19562         optimization.
19564         [BZ #13185]
19565         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19566         SSE flags if possible.
19568 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19570         [BZ #13540]
19571         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19572         processing for last bytes.
19574 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
19576         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19577         (syscall-list-default-options, syscall-list-default-condition)
19578         (syscall-list-includes): Define.
19579         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19580         list of ABIs and options and #if conditions for each ABI.  Do not
19581         handle common syscalls between ABIs specially.
19582         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19583         Remove.
19584         (syscall-list-variants, syscall-list-32bit-options)
19585         (syscall-list-32bit-condition, syscall-list-64bit-options)
19586         (syscall-list-64bit-condition): Define.
19587         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19588         (syscall-list-variants, syscall-list-32bit-options)
19589         (syscall-list-32bit-condition, syscall-list-64bit-options)
19590         (syscall-list-64bit-condition): Define.
19591         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19592         Remove.
19593         (syscall-list-variants, syscall-list-32bit-options)
19594         (syscall-list-32bit-condition, syscall-list-64bit-options)
19595         (syscall-list-64bit-condition): Define.
19596         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19597         Remove.
19598         (syscall-list-variants, syscall-list-32bit-options)
19599         (syscall-list-32bit-condition, syscall-list-64bit-options)
19600         (syscall-list-64bit-condition): Define.
19602 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19604         * locale/iso-639.def: Add brx entry.
19606         [BZ #13328]
19607         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19608         Proposed by Mariusz_Cukr <marcukr@op.pl>.
19610         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19611         __feraiseexcept_renamed.
19613 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19615         [BZ #13538]
19616         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19617         EPOLLET with unsigned values.
19618         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19619         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19621         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19622         to large cancellation.
19623         * math/s_cacoshf.c: Likewise.
19624         * math/s_cacoshl.c: Likewise.
19626 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
19628         [BZ #13305]
19629         [BZ #12786]
19630         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19631         * math/s_cacoshf.c: Likewise.
19632         * math/s_cacoshl.c: Likewise.
19634 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19636         [BZ #13439]
19637         * iconv/gconv.h: Define __GCONV_SWAP.
19638         * iconvdata/unicode.c: The swap bit must be stored in __flags.
19639         * iconvdata/utf-16.c: Likewise.
19640         * iconvdata/utf-32.c: Likewise.
19642 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19644         [BZ #13524]
19645         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19646         numerator after shifting it by one limb.
19648 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
19650         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19651         under [__USE_EXTERN_INLINES].
19653 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19655         [BZ #13446]
19656         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19658 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19660         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19661         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19662         optimized code.
19663         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19664         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19665         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19666         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19667         for strncasecmp/strncasecmp_l compilation.
19668         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19669         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19671 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
19673         [BZ #13484]
19674         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19675         of __asm__.
19677 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19679         [BZ #13506]
19680         * time/tzfile.c (__tzfile_read): Check values from file header.
19682 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19684         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19685         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19686         * powerpc/powerpc32/dl-start.S: Likewise.
19687         * powerpc/powerpc32/elf/start.S: Likewise.
19688         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19689         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19690         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19691         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19692         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19693         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19694         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19695         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19696         * powerpc/powerpc32/fpu/s_round.S: Likewise.
19697         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19698         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19699         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19700         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19701         * powerpc/powerpc32/memset.S: Likewise.
19702         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19703         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19704         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19705         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19706         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19707         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19708         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19709         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19710         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19711         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19712         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19713         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19714         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19716 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19718         * math/libm-test.inc: Added more nearbyint tests.
19719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19720         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19722         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19724 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
19726         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19727         FD_CLOEXEC.
19729 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19731         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19732         Add wcscpy-ssse3 wcscpy-c.
19733         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19734         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19735         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19736         * sysdeps/x86_64/wcschr.S: New file.
19737         * sysdeps/x86_64/wcsrchr.S: New file.
19738         * string/test-strcmp.c: Remove checking of wcscmp function for
19739         wrong alignments.
19740         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19741         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19742         wcsrchr-sse2 wcsrchr-c.
19743         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19744         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19745         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19746         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19747         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19748         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19749         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19750         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19751         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19752         * wcsmbc/wcschr.c (WCSCHR): New macro.
19754 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19756         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19757         * wcsmbs/test-wcsrchr.c: New file.
19758         * string/test-strrchr.c: Add wcsrchr support.
19759         (WIDE): New macro.
19760         * wcsmbs/test-wcscpy.c: New file.
19761         * string/test-strcpy.c: Add wcscpy support.
19762         (WIDE): New macro.
19764 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
19766         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19767         the inner loop.
19769 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
19771         [BZ #13472]
19772         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19774 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
19776         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19777         Minor optimizations.
19779         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19780         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19781         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19783 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
19785         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19786         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19787         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19788         for gcc to avoid warnings.
19789         * inet/Makefile (tests): Add tst-checks.
19790         * inet/tst-checks.c: New file.
19792         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19793         warning.
19795         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19796         __wmemcmp_sse2.
19798         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19799         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19801         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19803 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
19805         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19806         problem.
19808         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19810 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
19812         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19813         conditional on GCC version.
19814         (__arch_compare_and_exchange_val_8_acq)
19815         (__arch_compare_and_exchange_val_16_acq)
19816         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19817         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19818         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19820 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
19822         * sysdeps/sh/backtrace.c: New file.
19824 2011-12-02  Andreas Schwab  <schwab@redhat.com>
19826         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
19827         parenthesis.
19829 2011-12-01  Andreas Schwab  <schwab@redhat.com>
19831         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19832         falling back to utime.
19834 2011-11-30  Andreas Schwab  <schwab@redhat.com>
19836         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19837         expectations for float.
19839 2011-11-29  Andreas Schwab  <schwab@redhat.com>
19841         * locale/weight.h (findidx): Add parameter len.
19842         * locale/weightwc.h (findidx): Likewise.
19843         * posix/fnmatch_loop.c (FCT): Adjust caller.
19844         * posix/regcomp.c (build_equiv_class): Likewise.
19845         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19846         * posix/regexec.c (check_node_accept_bytes): Likewise.
19847         * string/strcoll_l.c (STRCOLL): Likewise.
19848         * string/strxfrm_l.c (STRXFRM): Likewise.
19850 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
19852         * Makefile.in: Remove CVSOPT handling.
19853         * configure.in: Remove use of AC_REVISION.
19854         * iconvdata/Makefile (distribute): No need to filter out CVS.
19855         * scripts/list-sources.sh: Remove CVS, subversion and monotone
19856         handling.
19858 2011-11-16  Andreas Schwab  <schwab@redhat.com>
19860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19861         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19862         [USE_AS_STRNCASECMP_L]: Likewise.
19863         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19864         NO_TLS_DIRECT_SEG_REFS.
19865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19866         Fix argument offsets for non-PIC.
19867         [USE_AS_STRNCASECMP_L]: Likewise.
19868         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19869         NO_TLS_DIRECT_SEG_REFS.
19871 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19873         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19874         O_CLOEXEC.
19875         * locale/loadlocale.c (_nl_load_locale): Likewise.
19877 2011-11-15  Andreas Schwab  <schwab@redhat.com>
19879         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19880         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19881         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19882         (SYSCALL_GETTIME): Set errno on error.
19884         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19885         count references to noai6ai_cached.
19887 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19889         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19891         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19892         FD_CLOEXEC for /proc/self/maps.
19894         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19895         FD_CLOEXEC for /proc/meminfo.
19897         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19898         gai.conf.
19900         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
19901         FD_CLOEXEC for given file.
19903         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19905         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19906         FD_CLOEXEC for /etc/hosts.
19907         (_gethtent): Likewise.
19909         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19911         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19912         cancellation and set FD_CLOEXEC for /etc/netgroup.
19914         * nss/nss_files/files-key.c (search): Don't allow cancellation when
19915         reading /etc/publickey.
19917         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19918         allow cancellation when reading /etc/group.
19920         * nss/nss_files/files-alias.c (internal_setent): Don't allow
19921         cancellation.
19922         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
19924         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19925         when using data file.
19927         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19929         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19930         (write_nis_obj): Use "c" and "e" in fopen.
19932         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19934         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19936         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19938         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19940         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19941         locale.alias.
19943         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19945         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19947         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19949         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19950         file parsing and set FD_CLOEXEC.
19952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19954         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19956 2011-11-14  Andreas Schwab  <schwab@redhat.com>
19958         * malloc/arena.c (arena_get2): Don't call reused_arena when
19959         _int_new_arena failed.
19961 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19963         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19964         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19965         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19966         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19967         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19969         to compile strcasecmp and strncasecmp.
19970         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19971         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19973         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19975 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
19977         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19978         locale-defines.sym to gen-as-const-headers.
19979         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19980         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19982         to compile strcasecmp and strncasecmp.
19983         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19984         strcasecmp_l and strncasecmp_l.
19985         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19986         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19987         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19988         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19989         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19990         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19991         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19992         * sysdeps/i386/i686/multiarch/strncase.S: New file.
19993         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19994         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19995         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19997 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
19999         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20000         result of SYSDEP_GETTIME_CPU to retval.
20001         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20002         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20004         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20005         variable.
20007         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20008         mantissa words.
20009         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20011         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20012         from unused variable.
20014         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20015         DWARF definitions.
20016         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20017         for assembling.
20019         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20020         over namespaces.
20022         * sunrpc/rpc_prot.c (rejected): Fix case value.
20024         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20025         unsigned long long int to avoid warnings in shift.
20027         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20028         of use of trans.
20029         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20030         variable tmp.
20032         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20033         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20034         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20036         * nis/nis_table.c (nis_list): Use variable of correct type for
20037         result of __follow_path call.
20039 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20041         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20042         of math functions ceil, trunc, floor, round, and sqrt, when
20043         avaliable on the platform.
20044         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20045         name clash.
20046         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20047         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20048         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20050 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20052         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20055 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20057         * include/unistd.h: Fix __readlink return type.
20058         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20060 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20062         * stdlib/ucontext.h: Undo last change for makecontext.
20064 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20066         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20068         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20069         * setjmp/setjmp.h: Mark functions as non-leaf.
20070         * setjmp/bits/setjmp2.h: Likewise.
20071         * stdlib/ucontext.h: Likewise.
20073 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20075         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20076         (reused_arena): Don't check arena limit.
20077         (arena_get2): Atomically check arena limit.
20079 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20081         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20082         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20085         instructions.
20087 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20089         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20090         handler when locking.
20092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20093         Fix size of allocated buffer.
20095 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20097         [BZ #10103]
20098         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20099         declarations for long double functions.
20100         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20102         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20104 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20106         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20107         installed.
20109         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20110         is disabled.
20112 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20114         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20116 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20118         * include/alloca.h (stackinfo_alloca_round): Define.
20119         (extend_alloca): Use it.
20120         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20121         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20122         here.
20124         * scripts/check-local-headers.sh: Ignore libaudit.h.
20126         * nscd/Makefile (extra-objs): Make recursively expanded.
20128 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20130         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20131         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20133         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20134         * posix/tst-rfc3484-2.c: Likewise.
20135         * posix/tst-rfc3484-3.c: Likewise.
20137         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20138         process_vm_writev.
20139         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20140         process_vm_writev.
20141         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20142         process_vm_writev from libc using GLIBC_2.15 version.
20144         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20146 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20148         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20149         stack usage.
20151 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20153         [BZ #13367]
20154         * nss/getent.c (initgroups_keys): Show error message in case no group
20155         names are given.
20157         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20158         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20159         __bump_nl_timestamp.
20160         * nscd/connections (nscd_init): When host database is served open
20161         netlink socket and request notification about configuration changes.
20162         (main_loop_poll): Track netlink file descriptor and bump timestamp
20163         in case data becomes available.
20164         (main_loop_epoll): Likewise.
20165         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20166         (database_pers_head): Add extra_data fileds.
20167         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20168         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20169         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20170         Adjust caller.
20171         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20172         in6ai data, call __free_in6ai.
20173         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20174         Add -DHAVE_NETLINK.
20175         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20176         interface information.  Reuse previous data if netlink timestamp
20177         is not changed.
20178         (__bump_nl_timestamp): New function.
20179         (__free_in6ai): New function.
20181 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20183         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20184         close_not_cancel_no_status here.
20185         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20187 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20189         [BZ #13276]
20190         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20191         return value.
20193         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20194         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20195         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20197 2011-07-03  Andreas Jaeger  <aj@suse.de>
20199         [BZ #10709]
20200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20201         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20202         * math/libm-test.inc (sin_test): Add test case.
20204 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20206         [BZ #13337]
20207         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20208         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20210         * elf/chroot_canon.c (chroot_canon): Cleanups.
20212         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20214         [BZ #13335]
20215         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20216         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20218         * string/test-strchr.c: Make usable for strchrnul testing.
20219         * string/test-strchrnul.c: New file.
20220         * string/Makefile (strop-tests): Add strchrnul.
20222         * po/it.po: Update from translation team.
20223         * po/es.po: Likewise.
20225 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20228         the three constants needed as parameters.  Drop the others.
20229         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20230         __m128i_strloadu_tolower.
20231         Create and initialize variable zero and use it in all the places
20232         where _mm_setzero_si128 was used.
20234         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20235         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20236         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20238         anymore.
20239         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20240         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20241         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20242         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20243         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20244         __mpranred, __mptan.
20245         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20246         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20247         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20248         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20249         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20250         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20251         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20252         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20253         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20255 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20257         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20258         redefine if SHARED.
20259         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20262         wide char related routines to wcsmbs subdir.
20264 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20266         [BZ #13344]
20267         * misc/sys/cdefs.h (__THROWNL): Define.
20268         * posix/unistd.h: Use __THREADNL instead of __THREAD
20269         for memory synchronization functions.
20271 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20273         [BZ #13349]
20274         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20275         doesn't exist.
20276         * manual/stdio.texi (Obstack Streams): Node removed.
20278 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20280         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20281         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20282         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20284         * math/math_private.h (math_force_eval): Allow non-addressable
20285         arguments.
20286         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20288 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20290         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20291         file is not needed.
20293         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20295         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20296         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20297         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20298         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20299         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20300         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20301         Add AVX variants.
20302         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20303         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20304         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20305         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20306         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20307         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20308         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20309         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20310         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20311         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20312         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20313         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20314         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20315         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20316         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20317         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20318         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20319         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20320         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20322         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20323         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
20325         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20326         place.  Use VEX encoding when compiling for AVX.
20328 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20330         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20331         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20333         * string/test-strchr.c (do_test): Don't generate NUL bytes.
20335 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20337         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20338         useless if() expression.
20339         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20340         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20341         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20342         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20343         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20344         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20345         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20346         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20347         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20348         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20350         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20351         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20352         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20353         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20354         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20355         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20356         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20357         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20359         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20361 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20363         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20364         condition.
20365         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20367 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20369         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20370         .text section.  Avoid duplicate constants.
20371         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20373         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20379         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20380         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20381         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20382         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20383         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20384         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20385         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20386         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20387         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20388         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20389         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20391         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20392         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20393         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20394         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20395         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20396         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20397         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20398         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20399         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20400         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20401         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20402         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20403         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20404         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20405         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20406         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20407         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20408         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20409         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20410         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20411         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20412         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20413         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20414         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20415         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20417 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
20419         * sysdeps/x86_64/dla.h: Move to ...
20420         * sysdeps/x86_64/fpu/dla.h: ...here.
20421         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20422         situations.  Use __builtin_fma only for gcc 4.6 and up.
20424         * config.make.in: Add have-mfma4 entry.
20425         * configure.in: Substitute libc_cv_cc_fma4.
20426         * math/Makefile (dbl-only-routines): Add sincostab.
20427         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20428         Use __sincostab not sincos.
20429         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20430         name is a macro.
20431         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20433         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
20435         using __copysign.
20436         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
20437         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
20438         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20439         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20440         and __inv.
20441         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20442         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20443         __copysign.
20444         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
20445         define aliases when function name is a macro.
20446         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20447         sysdeps/ieee754/dbl-64/sincos.tbl.
20448         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20449         fma4-enabled routines.
20450         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20451         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20452         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20453         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20454         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20455         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20456         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20457         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20458         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20459         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20460         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20461         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20462         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20463         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20464         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20465         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20466         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20467         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20468         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20469         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20470         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20471         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20472         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20473         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20474         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20475         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20476         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20477         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20478         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20479         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20481         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20482         rename.
20483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20489         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20490         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20492 2011-10-24  Andreas Schwab  <schwab@redhat.com>
20494         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20496 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20498         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20500         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20501         prediction.
20502         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20504         * string/strnlen.c: Don't define STRNLEN, reverse logic.
20505         Remove unused variable magic_bits.
20506         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20508         * string/strnlen.c: Define and use STRNLEN macro.
20509         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20510         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20512         * wcsmbs/wcslen.c: Define and use WCSLEN.
20513         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20514         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20515         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20516         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20517         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20518         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20519         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20521 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20524         strnlen-sse2-no-bsf.
20525         Rename strlen-no-bsf to strlen-sse2-no-bsf.
20526         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20527         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20528         Add strnlen support.
20529         (USE_AS_STRNLEN): New macro.
20530         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20531         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20532         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20533         * sysdeps/x86_64/wcslen.S: New file.
20535 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
20537         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20538         XMM-moves are used for copying on small sizes.
20540 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20542         * wcsmbs/Makefile (strop-tests): Add wcschr.
20543         * wcsmbs/test-wcschr.c: New file.
20544         * string/test-strchr.c: Update.
20545         Add wcschr support.
20546         (WIDE): New macro.
20548 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20550         * wcsmbs/Makefile (strop-tests): Add wcslen.
20551         * wcsmbs/test-wcslen.c: New file.
20552         * string/test-strlen.c: Update.
20553         Add wcslen support.
20554         (WIDE): New macro.
20556 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20558         * po/it.po: Update from translation team.
20560 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20562         * sysdeps/x86_64/wcscmp.S: Update.
20563         Fix wrong comparison semantics.
20564         wcscmp shall use signed comparison not unsigned.
20565         Don't use substraction to avoid overflow bug.
20566         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20567         * wcsmbc/wcscmp.c: Likewise.
20568         * string/test-strcmp.c: Likewise.
20569         Add new tests to check cases with negative values.
20571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20573         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20574         * sysdeps/x86_64/dla.h: ...here.  New file.
20575         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20580         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20582         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20583         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20585 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
20587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20588         __ynl_finite aliases.
20590 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20594         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20595         define DLA_FMA.
20596         [DLA_FMA] (EMULV): Use DLA_FMA.
20597         [DLA_FMA] (MUL12): Use EMULV.
20598         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20599         that are not needed.
20600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20601         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20608 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
20610         * math/s_nan.c: Undef __nan.
20611         * math/s_nanf.c: Undef __nanf.
20612         * math/s_nanl.c: Undef __nanl.
20613         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20614         "math_private.h".
20616 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20618         * math/s_catan.c: Add branch predictions.
20619         * math/s_catanf.c: Likewise.
20620         * math/s_catanh.c: Likewise.
20621         * math/s_catanhf.c: Likewise.
20622         * math/s_catanhl.c: Likewise.
20623         * math/s_catanl.c: Likewise.
20624         * math/s_cexp.c: Likewise.
20625         * math/s_cexpf.c: Likewise.
20626         * math/s_cexpl.c: Likewise.
20627         * math/s_clog.c: Likewise.
20628         * math/s_clog10.c: Likewise.
20629         * math/s_clog10f.c: Likewise.
20630         * math/s_clog10l.c: Likewise.
20631         * math/s_clogf.c: Likewise.
20632         * math/s_clogl.c: Likewise.
20633         * math/s_csqrt.c: Likewise.
20634         * math/s_csqrtf.c: Likewise.
20635         * math/s_csqrtl.c: Likewise.
20636         * math/s_ctanf.c: Likewise.
20637         * math/s_ctanh.c: Likewise.
20638         * math/s_ctanhf.c: Likewise.
20639         * math/s_ctanhl.c: Likewise.
20640         * math/s_ctanl.c: Likewise.
20642         * math/math_private.h: Define __nan, __nanf, __nanl.
20643         * math/s_cacosh.c: Include <math_private.h>.
20644         * math/s_cacoshl.c: Likewise.
20645         * math/s_casinh.c: Likewise.
20646         * math/s_casinhf.c: Likewise.
20647         * math/s_casinhl.c: Likewise.
20648         * math/s_ccos.c: Rely entire on ccosh.
20649         * math/s_ccosf.c: Rely entire on ccoshf.
20650         * math/s_ccosl.c: Rely entirely on ccoshl.
20651         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
20652         Remove tests for FE_INVALID.
20653         * math/s_ccoshf.c: Likewise.
20654         * math/s_ccoshl.c: Likewise.
20655         * math/s_csin.c: Likewise.
20656         * math/s_csinf.c: Likewise.
20657         * math/s_csinh.c Likewise.
20658         * math/s_csinhf.c: Likewise.
20659         * math/s_csinhl.c: Likewise.
20660         * math/s_csinl.c: Likewise.
20661         * math/s_ctan.c: Likewise.
20662         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20663         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20664         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20666 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
20668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20669         compilation problems.
20671         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20672         __builtin_expect.
20674 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
20676         * sysdeps/i386/configure.in: Test for -mfma4 option.
20677         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20678         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20679         COMMON_CPUID_INDEX_80000001.
20680         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20681         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20682         use it if FMA3 is not supported.
20683         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20685         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20686         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20688 2011-10-20  Andreas Schwab  <schwab@redhat.com>
20690         [BZ #12892]
20691         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20692         it would create a cycle with a link time dependency.
20694 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
20696         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20697         instruction.
20698         * string/Makefile (strop-tests): Add rawmemchr.
20699         * string/test-rawmemchr.c: New file.
20701         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20702         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
20703         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
20704         when compiling str{,n}casecmp and when AVX is available.  Hook up
20705         new optimized code in initializers.
20707 2011-10-19  Andreas Schwab  <schwab@redhat.com>
20709         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20710         __feraiseexcept instead of feraiseexcept.
20712 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
20714         * math/math_private.h: Define defaults for libc_fetestexcept and
20715         libc_feupdateenv.
20716         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20717         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20718         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20719         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20720         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20721         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20722         libc_fetestexcept and libc_feupdateenv.
20724         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20725         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20726         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20727         * sysdeps/x86_64/fpu/math_private.h: Define special version of
20728         libc_feholdexcept_setround.
20730         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20731         Add s_nearbyint-c and s_nearbyintf-c.
20732         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20733         nearbyintf inlines.
20734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20735         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20736         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20737         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20739         * math/math_private.h: Define defaults for libc_fegetround,
20740         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20741         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20742         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20743         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20744         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20745         standard functions.
20746         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20747         Remove comments and hacks for old compiler versions.
20748         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20749         libc_fegetround, libc_fesetround, libc_feholdexcept, and
20750         libc_feholdexceptl.
20752 2011-10-18  Andreas Schwab  <schwab@redhat.com>
20754         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20755         (__feraiseexcept_renamed): Add __NTH.
20756         (feraiseexcept): Add __NTH.  Rename local variables to fix
20757         namespace violations.
20759 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
20761         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20765         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20766         recently added interfaces.
20767         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20769         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20770         about macro parameter expansion.
20772         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20773         __NO_MATH_INLINES is defined.  Cleanups.
20775         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20776         and __floorf is target has SSE4.1.
20777         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20778         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20779         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20780         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20782         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20783         name.
20784         (floorf): Likewise.
20786         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20788 2011-10-17  Andreas Schwab  <schwab@redhat.com>
20790         * misc/sys/cdefs.h: Fix last change.
20792         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20793         database lookup.
20795 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
20797         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20799         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20801         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20804         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20805         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20806         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20807         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20808         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20809         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20810         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20811         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20812         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20813         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20814         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20815         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20816         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20817         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20818         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20819         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20820         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20822         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20823         ceil, ceilf, floor, floorf.
20825         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20826         Perform IRELATIVE relocations last.
20828         * elf/do-rel.h: Add another parameter nrelative, replacing the
20829         local variable with the same name.  Change name of the function
20830         to end in Rel or Rela (uppercase).
20831         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20832         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
20833         elf_dynamic_do_##reloc function.
20835 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20837         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20838         is sufficient, at least on modern CPUs.
20840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20842         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20843         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20845         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20846         __expl_finite.
20847         * math/bits/math-finite.h: Add entries for exp.
20848         * math/e_expl.c: Add __*_finite alias.
20849         * sysdeps/i386/fpu/e_exp.S: Likewise.
20850         * sysdeps/i386/fpu/e_expf.S: Likewise.
20851         * sysdeps/i386/fpu/e_expl.c: Likewise.
20852         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20853         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20854         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20855         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20856         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20857         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20858         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20860         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20861         is sufficient, at least on modern CPUs.
20863         * ctype/ctype-info.c (__ctype_init): Define.
20864         * include/ctype.h (__ctype_init): Declare.
20865         (__ctype_b_loc): The variable is always initialized.
20866         (__ctype_toupper_loc): Likewise.
20867         (__ctype_tolower_loc): Likewise.
20868         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20869         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20871 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
20873         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20875         * configure.in: Also look in $cxxmachine/include for C++ system
20876         headers.
20878 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20880         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20881         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20882         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20883         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
20884         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20885         (USE_AS_WMEMCMP): New macro.
20886         Fixing indents.
20887         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20888         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20889         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20890         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20892         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20893         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20894         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20895         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20896         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20897         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20898         (USE_AS_WMEMCMP): New macro.
20899         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20900         * sysdeps/string/test-memcmp.c: Update.
20901         Fix simple_wmemcmp.
20902         Add new tests.
20903         * wcsmbs/wmemcmp.c: Update.
20904         (WMEMCMP): New macro.
20905         Fix overflow bug.
20907 2011-10-12  Andreas Jaeger  <aj@suse.de>
20909         [BZ #13268]
20910         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20912 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20914         * libio/iofwide.c (do_length): Avoid warning.
20916         * ctype/ctype.h (__isctype_f): Add missing __THROW.
20918 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
20920         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20922         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20923         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20924         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20925         * sysdeps/i386/i686/fpu/e_log.S: New file.
20926         * sysdeps/i386/i686/fpu/e_logf.S: New file.
20927         * sysdeps/i386/i686/fpu/e_logl.S: New file.
20929         * ctype/ctype.h: Add support for inlined isXXX functions when
20930         compiling C++ code.
20932 2011-10-14  Andreas Schwab  <schwab@redhat.com>
20934         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20938 2011-10-13  Roland McGrath  <roland@hack.frob.com>
20940         [BZ #13291]
20941         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20943 2011-10-13  Andreas Schwab  <schwab@redhat.com>
20945         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20946         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20947         feraiseexcept.
20949         * sysdeps/x86_64/memrchr.S: Check for zero size.
20951         * string/stratcliff.c: Add memrchr tests.
20953 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20956         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20957         rawmemchr-sse2 rawmemchr-sse2-bsf.
20958         * sysdeps/i386/i686/multiarch/memchr.S: New file.
20959         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20960         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20961         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20962         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20963         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20964         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20965         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20966         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20967         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20968         * string/memrchr.c (MEMRCHR): New macro.
20970 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
20972         Add integration with gcc's -ffinite-math-only and optimize wrapper
20973         functions in libm.
20974         * Versions.def: Define GLIBC_2.15 version for libm.
20975         * math/Makefile (headers): Add bits/math-finite.h.
20976         * math/bits/math-finite.h: New file.
20977         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20978         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20979         * math/e_acoshl.c: Add __*_finite alias.
20980         * math/e_acosl.c: Likewise.
20981         * math/e_asinl.c: Likewise.
20982         * math/e_atan2l.c: Likewise.
20983         * math/e_atanhl.c: Likewise.
20984         * math/e_coshl.c: Likewise.
20985         * math/e_exp10.c: Likewise.
20986         * math/e_exp10f.c: Likewise.
20987         * math/e_exp10l.c: Likewise.
20988         * math/e_exp2l.c: Likewise.
20989         * math/e_fmodl.c: Likewise.
20990         * math/e_gammal_r.c: Likewise.
20991         * math/e_hypotl.c: Likewise.
20992         * math/e_j0l.c: Likewise.
20993         * math/e_j1l.c: Likewise.
20994         * math/e_jnl.c: Likewise.
20995         * math/e_lgammal_r.c: Likewise.
20996         * math/e_log10l.c: Likewise.
20997         * math/e_log2l.c: Likewise.
20998         * math/e_logl.c: Likewise.
20999         * math/e_powl.c: Likewise.
21000         * math/e_sinhl.c: Likewise.
21001         * math/e_sqrtl.c: Likewise.
21002         * math/e_scalb.c: Completely rewritten and optimized.
21003         * math/e_scalbf.c: Likewise.
21004         * math/e_scalbl.c: Likewise.
21005         * math/w_acos.c: Likewise.
21006         * math/w_acosf.c: Likewise.
21007         * math/w_acosl.c: Likewise.
21008         * math/w_acosh.c: Likewise.
21009         * math/w_acoshf.c: Likewise.
21010         * math/w_acoshl.c: Likewise.
21011         * math/w_asin.c: Likewise.
21012         * math/w_asinf.c: Likewise.
21013         * math/w_asinl.c: Likewise.
21014         * math/w_atan2.c: Likewise.
21015         * math/w_atan2f.c: Likewise.
21016         * math/w_atan2l.c: Likewise.
21017         * math/w_atanh.c: Likewise.
21018         * math/w_atanhf.c: Likewise.
21019         * math/w_atanhl.c: Likewise.
21020         * math/w_exp10.c: Likewise.
21021         * math/w_exp10f.c: Likewise.
21022         * math/w_exp10l.c: Likewise.
21023         * math/w_fmod.c: Likewise.
21024         * math/w_fmodf.c: Likewise.
21025         * math/w_fmodl.c: Likewise.
21026         * math/w_j0.c: Likewise.
21027         * math/w_j0f.c: Likewise.
21028         * math/w_j0l.c: Likewise.
21029         * math/w_j1.c: Likewise.
21030         * math/w_j1f.c: Likewise.
21031         * math/w_j1l.c: Likewise.
21032         * math/w_jn.c: Likewise.
21033         * math/w_jnf.c: Likewise.
21034         * math/w_log.c: Likewise.
21035         * math/w_logf.c: Likewise.
21036         * math/w_logl.c: Likewise.
21037         * math/w_log10.c: Likewise.
21038         * math/w_log10f.c: Likewise.
21039         * math/w_log10l.c: Likewise.
21040         * math/w_log2.c: Likewise.
21041         * math/w_log2f.c: Likewise.
21042         * math/w_log2l.c: Likewise.
21043         * math/w_pow.c: Likewise.
21044         * math/w_powf.c: Likewise.
21045         * math/w_powl.c: Likewise.
21046         * math/w_remainder.c: Likewise.
21047         * math/w_remainderf.c: Likewise.
21048         * math/w_remainderl.c: Likewise.
21049         * math/w_scalb.c: Likewise.
21050         * math/w_scalbf.c: Likewise.
21051         * math/w_scalbl.c: Likewise.
21052         * math/w_sqrt.c: Likewise.
21053         * math/w_sqrtf.c: Likewise.
21054         * math/w_sqrtl.c: Likewise.
21055         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21056         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21057         used.
21058         * math/math_private.h: Declare __kernel_standard_f.
21059         * math/w_cosh.c: Remove cruft and optimize a bit.
21060         * math/w_coshf.c: Likewise.
21061         * math/w_coshl.c: Likewise.
21062         * math/w_exp2.c: Likewise.
21063         * math/w_exp2f.c: Likewise.
21064         * math/w_exp2l.c: Likewise.
21065         * math/w_hypot.c: Likewise.
21066         * math/w_hypotf.c: Likewise.
21067         * math/w_hypotl.c: Likewise.
21068         * math/w_lgamma.c: Likewise.
21069         * math/w_lgamma_r.c: Likewise.
21070         * math/w_lgammaf.c: Likewise.
21071         * math/w_lgammaf_r.c: Likewise.
21072         * math/w_lgammal.c: Likewise.
21073         * math/w_lgammal_r.c: Likewise.
21074         * math/w_sinh.c: Likewise.
21075         * math/w_sinhf.c: Likewise.
21076         * math/w_sinhl.c: Likewise.
21077         * math/w_tgamma.c: Likewise.
21078         * math/w_tgammaf.c: Likewise.
21079         * math/w_tgammal.c: Likewise.
21080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21081         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21082         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21083         Minor optimizations.  Pretty printing.  Remove cruft.
21084         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21085         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21086         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21087         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21088         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21089         * sysdeps/i386/fpu/e_asin.S: Likewise.
21090         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21091         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21092         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21093         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21094         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21095         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21096         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21097         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21098         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21099         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21100         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21101         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21102         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21103         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21104         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21105         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21106         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21107         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21108         * sysdeps/i386/fpu/e_log.S: Likewise.
21109         * sysdeps/i386/fpu/e_log10.S: Likewise.
21110         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21111         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21112         * sysdeps/i386/fpu/e_log2.S: Likewise.
21113         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21114         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21115         * sysdeps/i386/fpu/e_logf.S: Likewise.
21116         * sysdeps/i386/fpu/e_logl.S: Likewise.
21117         * sysdeps/i386/fpu/e_pow.S: Likewise.
21118         * sysdeps/i386/fpu/e_powf.S: Likewise.
21119         * sysdeps/i386/fpu/e_powl.S: Likewise.
21120         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21121         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21122         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21123         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21124         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21125         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21126         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21127         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21128         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21129         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21130         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21132         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21134         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21135         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21136         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21137         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21138         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21139         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21140         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21142         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21143         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21144         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21145         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21146         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21147         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21149         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21150         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21151         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21152         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21153         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21154         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21155         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21156         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21157         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21158         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21159         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21160         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21161         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21162         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21163         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21164         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21165         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21166         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21167         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21168         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21169         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21170         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21171         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21172         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21173         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21174         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21175         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21176         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21177         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21178         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21179         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21180         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21181         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21182         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21184         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21185         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21186         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21187         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21188         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21189         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21190         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21191         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21193         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21194         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21195         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21197         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21198         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21199         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21200         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21203         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21205         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21206         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21207         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21208         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21209         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21210         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21212         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21213         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21214         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21215         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21216         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21217         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21218         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21219         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21220         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21222         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21223         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21224         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21225         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21226         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21227         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21228         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21229         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21230         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21231         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21232         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21233         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21234         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21236         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21237         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21238         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21239         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21240         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21241         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21242         (__isnanf): Likewise.
21243         (__isinf_ns): Likewise.
21244         (__isinf_nsf): Likewise.
21245         (__finite): Likewise.
21246         (__finitef): Likewise.
21247         (__ieee754_sqrt): Define as macro.
21248         (__ieee754_sqrtf): Define as macro.
21249         (__ieee754_sqrtl): Define as macro.
21250         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21251         inlined copy.
21252         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21253         __FINITE_MATH_ONLY__ consistent.
21254         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21256 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21258         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21259         of rawmemchr.
21261         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21263 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21265         * po/ja.po: Update from translation team.
21267 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21269         * locale/programs/locarchive.c (prepare_address_space): New function.
21270         (create_archive, enlarge_archive, open_archive): Use it.
21272         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21273         inside [SHARED], where it is used.
21275         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21277         * nss/getent.c (netgroup_keys): Remove unused variable.
21278         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21280 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21282         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21283         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21284         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21286         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21287         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21288         * math/Makefile (libm-calls): Add s_isinf_ns.
21289         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21290         * math/multc3.c: Likewise.
21291         * math/s_casin.c: Likewise.
21292         * math/s_casinf.c: Likewise.
21293         * math/s_casinl.c: Likewise.
21294         * math/s_ccos.c: Likewise.
21295         * math/s_ccosf.c: Likewise.
21296         * math/s_ccosl.c: Likewise.
21297         * math/s_ctan.c: Likewise.
21298         * math/s_ctanf.c: Likewise.
21299         * math/s_ctanh.c: Likewise.
21300         * math/s_ctanhf.c: Likewise.
21301         * math/s_ctanhl.c: Likewise.
21302         * math/s_ctanl.c: Likewise.
21303         * math/w_fmod.c: Likewise.
21304         * math/w_fmodf.c: Likewise.
21305         * math/w_fmodl.c: Likewise.
21306         * math/w_remainder.c: Likewise.
21307         * math/w_remainderf.c: Likewise.
21308         * math/w_remainderl.c: Likewise.
21309         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21310         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21313         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21314         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21315         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21316         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21318         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21319         of the number.
21320         * stdio-common/printf_fphex.c: Likewise.
21321         * stdio-common/printf_size.c: Likewise.
21323         * math/e_exp10.c: Include math_private.h using <...> not "...".
21324         * math/e_exp10f.c: Likewise.
21325         * math/e_exp10l.c: Likewise.
21326         * math/e_exp2l.c: Likewise.
21327         * math/e_j0l.c: Likewise.
21328         * math/e_j1l.c: Likewise.
21329         * math/e_jnl.c: Likewise.
21330         * math/e_lgammal_r.c: Likewise.
21331         * math/e_rem_pio2l.c: Likewise.
21332         * math/e_scalb.c: Likewise.
21333         * math/e_scalbf.c: Likewise.
21334         * math/e_scalbl.c: Likewise.
21335         * math/k_cosl.c: Likewise.
21336         * math/k_sinl.c: Likewise.
21337         * math/k_tanl.c: Likewise.
21338         * math/s_cacoshf.c: Likewise.
21339         * math/s_catan.c: Likewise.
21340         * math/s_catanf.c: Likewise.
21341         * math/s_catanh.c: Likewise.
21342         * math/s_catanhf.c: Likewise.
21343         * math/s_catanhl.c: Likewise.
21344         * math/s_catanl.c: Likewise.
21345         * math/s_ccosh.c: Likewise.
21346         * math/s_ccoshf.c: Likewise.
21347         * math/s_ccoshl.c: Likewise.
21348         * math/s_cexp.c: Likewise.
21349         * math/s_cexpf.c: Likewise.
21350         * math/s_cexpl.c: Likewise.
21351         * math/s_clog.c: Likewise.
21352         * math/s_clog10.c: Likewise.
21353         * math/s_clog10f.c: Likewise.
21354         * math/s_clog10l.c: Likewise.
21355         * math/s_clogf.c: Likewise.
21356         * math/s_clogl.c: Likewise.
21357         * math/s_csin.c: Likewise.
21358         * math/s_csinf.c: Likewise.
21359         * math/s_csinh.c: Likewise.
21360         * math/s_csinhf.c: Likewise.
21361         * math/s_csinhl.c: Likewise.
21362         * math/s_csinl.c: Likewise.
21363         * math/s_csqrt.c: Likewise.
21364         * math/s_csqrtf.c: Likewise.
21365         * math/s_csqrtl.c: Likewise.
21366         * math/s_ctan.c: Likewise.
21367         * math/s_ctanf.c: Likewise.
21368         * math/s_ctanh.c: Likewise.
21369         * math/s_ctanhf.c: Likewise.
21370         * math/s_ctanhl.c: Likewise.
21371         * math/s_ctanl.c: Likewise.
21372         * math/s_ldexp.c: Likewise.
21373         * math/s_ldexpf.c: Likewise.
21374         * math/s_ldexpl.c: Likewise.
21375         * math/s_significand.c: Likewise.
21376         * math/s_significandf.c: Likewise.
21377         * math/s_significandl.c: Likewise.
21378         * math/w_acos.c: Likewise.
21379         * math/w_acosf.c: Likewise.
21380         * math/w_acosh.c: Likewise.
21381         * math/w_acoshf.c: Likewise.
21382         * math/w_acoshl.c: Likewise.
21383         * math/w_acosl.c: Likewise.
21384         * math/w_asin.c: Likewise.
21385         * math/w_asinf.c: Likewise.
21386         * math/w_asinl.c: Likewise.
21387         * math/w_atan2.c: Likewise.
21388         * math/w_atan2f.c: Likewise.
21389         * math/w_atan2l.c: Likewise.
21390         * math/w_atanh.c: Likewise.
21391         * math/w_atanhf.c: Likewise.
21392         * math/w_atanhl.c: Likewise.
21393         * math/w_cosh.c: Likewise.
21394         * math/w_coshf.c: Likewise.
21395         * math/w_coshl.c: Likewise.
21396         * math/w_dremf.c: Likewise.
21397         * math/w_exp10.c: Likewise.
21398         * math/w_exp10f.c: Likewise.
21399         * math/w_exp10l.c: Likewise.
21400         * math/w_exp2.c: Likewise.
21401         * math/w_exp2f.c: Likewise.
21402         * math/w_fmod.c: Likewise.
21403         * math/w_fmodf.c: Likewise.
21404         * math/w_fmodl.c: Likewise.
21405         * math/w_hypot.c: Likewise.
21406         * math/w_hypotf.c: Likewise.
21407         * math/w_hypotl.c: Likewise.
21408         * math/w_j0.c: Likewise.
21409         * math/w_j0f.c: Likewise.
21410         * math/w_j0l.c: Likewise.
21411         * math/w_j1.c: Likewise.
21412         * math/w_j1f.c: Likewise.
21413         * math/w_j1l.c: Likewise.
21414         * math/w_jn.c: Likewise.
21415         * math/w_jnf.c: Likewise.
21416         * math/w_jnl.c: Likewise.
21417         * math/w_lgamma.c: Likewise.
21418         * math/w_lgamma_r.c: Likewise.
21419         * math/w_lgammaf.c: Likewise.
21420         * math/w_lgammaf_r.c: Likewise.
21421         * math/w_lgammal.c: Likewise.
21422         * math/w_lgammal_r.c: Likewise.
21423         * math/w_log.c: Likewise.
21424         * math/w_log10.c: Likewise.
21425         * math/w_log10f.c: Likewise.
21426         * math/w_log10l.c: Likewise.
21427         * math/w_log2.c: Likewise.
21428         * math/w_log2f.c: Likewise.
21429         * math/w_log2l.c: Likewise.
21430         * math/w_logf.c: Likewise.
21431         * math/w_logl.c: Likewise.
21432         * math/w_pow.c: Likewise.
21433         * math/w_powf.c: Likewise.
21434         * math/w_powl.c: Likewise.
21435         * math/w_remainder.c: Likewise.
21436         * math/w_remainderf.c: Likewise.
21437         * math/w_remainderl.c: Likewise.
21438         * math/w_scalb.c: Likewise.
21439         * math/w_scalbf.c: Likewise.
21440         * math/w_scalbl.c: Likewise.
21441         * math/w_sinh.c: Likewise.
21442         * math/w_sinhf.c: Likewise.
21443         * math/w_sinhl.c: Likewise.
21444         * math/w_sqrt.c: Likewise.
21445         * math/w_sqrtf.c: Likewise.
21446         * math/w_sqrtl.c: Likewise.
21447         * math/w_tgamma.c: Likewise.
21448         * math/w_tgammaf.c: Likewise.
21449         * math/w_tgammal.c: Likewise.
21451         * po/ja.po: Update from translation team.
21453 2011-09-29  Andreas Jaeger  <aj@suse.de>
21455         [BZ #13179]
21456         * sunrpc/netname.c (netname2host): Fix logic.
21458         [BZ #6779]
21459         [BZ #6783]
21460         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21461         correctly.
21462         * math/w_remainder.c (__remainder): Likewise.
21463         * math/w_remainderf.c (__remainderf): Likewise.
21464         * math/libm-test.inc (remainder_test): Add test cases.
21466 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21468         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
21469         sdiv_qrnnd.
21471 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21473         * string/test-memcmp.c: Avoid unncessary #defines.
21474         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21476 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21478         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21479         Use new sse2 version for core i3 - i7 as it's faster
21480         than sse42 version.
21481         (bit_Prefer_PMINUB_for_stringop): New.
21482         * sysdeps/x86_64/rawmemchr.S: Update.
21483         Replace with faster SSE2 version.
21484         * sysdeps/x86_64/memrchr.S: New file.
21485         * sysdeps/x86_64/memchr.S: Update.
21486         Replace with faster SSE2 version.
21488 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
21490         * elf/dl-load.c (lose): Add cast to avoid warning.
21492 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21494         * po/ca.po: Update from translation team.
21496         * inet/getnetgrent_r.c: Hook up nscd.
21497         * nscd/Makefile (routines): Add nscd_netgroup.
21498         (nscd-modules): Add netgroupcache.
21499         (CFLAGS-netgroupcache.c): Define.
21500         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21501         (cache_search): Add const to second parameter.
21502         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21503         INNETGR.
21504         (dbs): Add netgrdb entry.
21505         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21506         (verify_persistent_db): Handle netgrdb.
21507         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21508         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21509         GETFDNETGR.
21510         (netgroup_response_header): Define.
21511         (innetgroup_response_header): Define.
21512         (datahead): Add netgroup_response_header and innetgroup_response_header
21513         elements.
21514         * nscd/nscd.conf: Add entries for netgroup cache.
21515         * nscd/nscd.h (dbtype): Add netgrdb.
21516         (_PATH_NSCD_NETGROUP_DB): Define.
21517         (netgroup_iov_disabled): Declare.
21518         (xmalloc, xcalloc, xrealloc): Move declarations here.
21519         (cache_search): Adjust prototype.
21520         Add netgroup-related prototypes.
21521         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21522         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21523         (__nscd_innetgr): Declare.
21524         * nscd/selinux.c (perms): Use access_vector_t as element type and
21525         add netgroup-related initializers.
21526         * nscd/netgroupcache.c: New file.
21527         * nscd/nscd_netgroup.c: New file.
21528         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21529         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21530         For four parameters use innetgr.
21531         * nss/nss_files/files-init.c: Add definition and callback for netgr.
21532         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21533         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21534         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21536         * nscd/connections.c (register_traced_file): Don't register file
21537         for disabled databases.
21539 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
21541         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21543         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21544         from tree and freeing node.
21546 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
21548         * nss/nsswitch.c (__nss_database_lookup): Handle
21549         nss_parse_service_list out of memory case.
21551 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
21553         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21554         out of memory case.
21556 2011-10-04  Andreas Schwab  <schwab@redhat.com>
21558         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21559         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21560         pass it down.
21561         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21562         elf_machine_rela, elf_machine_lazy_rel.
21563         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21564         (ELF_DYNAMIC_DO_REL): Likewise.
21565         (ELF_DYNAMIC_DO_RELA): Likewise.
21566         (ELF_DYNAMIC_RELOCATE): Likewise.
21567         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21568         to ELF_DYNAMIC_DO_REL.
21569         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21570         (dl_main): In trace mode always set __RTLD_NOIFUNC.
21571         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21572         elf_machine_rela.
21573         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21574         skip_ifunc, don't call ifunc function if non-zero.
21575         (elf_machine_rela): Likewise.
21576         (elf_machine_lazy_rel): Likewise.
21577         (elf_machine_lazy_rela): Likewise.
21578         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21579         (elf_machine_lazy_rel): Likewise.
21580         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21581         Likewise.
21582         (elf_machine_lazy_rel): Likewise.
21583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21584         Likewise.
21585         (elf_machine_lazy_rel): Likewise.
21586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21587         (elf_machine_lazy_rel): Likewise.
21588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21589         (elf_machine_lazy_rel): Likewise.
21590         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21591         (elf_machine_lazy_rel): Likewise.
21592         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21593         (elf_machine_lazy_rel): Likewise.
21594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21595         (elf_machine_lazy_rel): Likewise.
21596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21597         (elf_machine_lazy_rel): Likewise.
21599 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
21601         * nss/nss_files/files-init.c (_nss_files_init): Use static
21602         initialization for all the *_traced_file variables.
21604 2011-09-28  Andreas Schwab  <schwab@redhat.com>
21606         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21608 2011-09-27  Roland McGrath  <roland@hack.frob.com>
21610         [BZ #13226]
21611         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21613 2011-09-27  Andreas Schwab  <schwab@redhat.com>
21615         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21616         Reread the line before reparsing it.
21618 2011-09-26  Andreas Schwab  <schwab@redhat.com>
21620         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21622 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
21623             Maxim Kuvyrkov  <maxim@codesourcery.com>
21624             Joseph Myers  <joseph@codesourcery.com>
21626         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21627         if needed for __stack_chk_guard.
21629 2011-09-19  Roland McGrath  <roland@hack.frob.com>
21631         * sysdeps/posix/spawni.c (script_execute): Always define it.
21632         It will be optimized away if unused.
21633         (maybe_script_execute): New function.
21634         (__spawni): Call it.
21636         * Makerules: Don't include tls.make.
21637         (config-tls): Always set to thread.
21638         * tls.make.c: File removed.
21640 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
21642         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21643         * config.make.in (CPPFLAGS-config): New substituted variable.
21645 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21647         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21649         [BZ #13192]
21650         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21651         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21653 2011-09-15  Roland McGrath  <roland@hack.frob.com>
21655         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21656         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21657         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21658         (CALL_FAIL): Likewise.
21659         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21660         (CALL_FAIL): Macro removed.
21661         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21663 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21665         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21666         for __FINITE_MATH_ONLY__ == 1.
21668 2011-09-15  Andreas Schwab  <schwab@redhat.com>
21670         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21671         __ieee754_sqrt instead of sqrt.
21672         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21673         __ieee754_sqrtf instead of sqrtf.
21674         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21675         __floorf instead of floorf.
21676         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21677         __floorf, __truncf instead of floorf, truncf.
21679 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
21681         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21683         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21684         __extern_always_inline.
21685         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21686         32-bit.
21688 2011-09-14  Andreas Schwab  <schwab@redhat.com>
21690         * elf/rtld.c (dl_main): Also relocate in dependency order when
21691         doing symbol dependency testing.
21693 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
21695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21696         Always define `refsym'.
21698 2011-09-13  Andreas Schwab  <schwab@redhat.com>
21700         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21701         (__FD_ELT): Renamed from __FDELT.
21702         * misc/bits/select2.h (__FD_ELT): Likewise.
21703         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21704         __FD_MASK instead of __FDELT, __FDMASK.
21705         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21706         Likewise.
21707         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21708         Likewise.
21710         * elf/Makefile (gen-ldd): Fix pattern.
21712         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21713         (init_tls): Likewise.
21715 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
21717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21719 2011-09-12  Andreas Schwab  <schwab@redhat.com>
21721         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21722         `struct cmsghdr *' instead of `void *'.
21723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21724         Likewise.
21726 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
21728         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21729         if non-absolute.
21730         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21731         ldd_rewrite_script.
21733 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
21735         * configure.in: Remove --with-tls option.
21736         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21737         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21738         out in case it is missing.
21739         * sysdeps/ia64/elf/configure.in: Likewise.
21740         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21741         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21742         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21743         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21744         * sysdeps/sh/elf/configure.in: Likewise.
21745         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21746         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21747         * sysdeps/x86_64/elf/configure.in: Likewise.
21748         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21749         * sysdeps/mach/hurd/tls.h: Likewise.
21751         [BZ #13067]
21752         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21754         [BZ #13090]
21755         * configure.in: Fix use of AC_INIT.
21757         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21759 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
21761         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21762         __set_errno.
21763         * malloc/hooks.c: Likewise.
21765         [BZ #11929]
21766         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
21767         variables statically.
21768         (narenas): Initialize.
21769         (list_lock): Initialize.
21770         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
21771         initializtion of main_arena and list_lock.  Small cleanups.
21772         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21773         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
21774         Add initializers to main_arena and mp_.
21775         (malloc_state): Remove pagesize member.  Change all users to use
21776         GLRO(dl_pagesize).
21778         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21779         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
21780         is always initialized.
21782         * malloc/malloc.c: Removed unused configurations and dead code.
21783         * malloc/arena.c: Likewise.
21784         * malloc/hooks.c: Likewise.
21785         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21787         * include/tls.h: Removed.  USE___THREAD must always be defined.
21788         * bits/libc-tsd.h: Don't handle !USE___THREAD.
21789         * elf/dl-libc.c: Likewise.
21790         * elf/dl-tsd.c: Likewise.
21791         * include/errno.h: Likewise.
21792         * include/netdb.h: Likewise.
21793         * include/resolv.h: Likewise.
21794         * inet/herrno-loc.c: Likewise.
21795         * inet/herrno.c: Likewise.
21796         * malloc/arena.c: Likewise.
21797         * malloc/hooks.c: Likewise.
21798         * malloc/malloc.c: Likewise.
21799         * resolv/res-state.c: Likewise.
21800         * resolv/res_libc.c: Likewise.
21801         * sysdeps/i386/dl-machine.h: Likewise.
21802         * sysdeps/ia64/dl-machine.h: Likewise.
21803         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21804         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21805         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21806         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21807         * sysdeps/sh/dl-machine.h: Likewise.
21808         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21809         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21810         * sysdeps/unix/i386/sysdep.S: Likewise.
21811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21812         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21816         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21817         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21821         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21822         * sysdeps/x86_64/dl-machine.h: Likewise.
21823         * tls.make.c: Likewise.
21825         * configure.in: Remove --with-__thread option.  Make tests for
21826         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21827         tls_model attribute fail if no support is available.  Remove
21828         USE_IN_LIBIO.
21829         * Makeconfig: Adjust for dropped configure option.  All features are
21830         now mandatory.
21831         * Makerules: Likewise.
21832         * Versions.def: Likewise.
21833         * argp/argp-fmtstream.c: Likewise.
21834         * argp/argp-fmtstream.h: Likewise.
21835         * argp/argp-help.c: Likewise.
21836         * assert/assert.c: Likewise.
21837         * config.h.in: Likewise.
21838         * config.make.in: Likewise.
21839         * configure: Likewise.
21840         * configure.in: Likewise.
21841         * csu/Versions: Likewise.
21842         * csu/init.c: Likewise.
21843         * elf/tst-audit2.c: Likewise.
21844         * elf/tst-tls10.c: Likewise.
21845         * elf/tst-tls10.h: Likewise.
21846         * elf/tst-tls11.c: Likewise.
21847         * elf/tst-tls12.c: Likewise.
21848         * elf/tst-tls14.c: Likewise.
21849         * elf/tst-tlsmod11.c: Likewise.
21850         * elf/tst-tlsmod12.c: Likewise.
21851         * elf/tst-tlsmod13.c: Likewise.
21852         * elf/tst-tlsmod13a.c: Likewise.
21853         * elf/tst-tlsmod14a.c: Likewise.
21854         * elf/tst-tlsmod15b.c: Likewise.
21855         * elf/tst-tlsmod16a.c: Likewise.
21856         * elf/tst-tlsmod16b.c: Likewise.
21857         * elf/tst-tlsmod7.c: Likewise.
21858         * elf/tst-tlsmod8.c: Likewise.
21859         * elf/tst-tlsmod9.c: Likewise.
21860         * gmon/gmon.c: Likewise.
21861         * grp/fgetgrent_r.c: Likewise.
21862         * grp/putgrent.c: Likewise.
21863         * hurd/fopenport.c: Likewise.
21864         * include/libc-symbols.h: Likewise.
21865         * include/tls.h: Likewise.
21866         * intl/gettextP.h: Likewise.
21867         * intl/loadinfo.h: Likewise.
21868         * locale/global-locale.c: Likewise.
21869         * locale/localeinfo.h: Likewise.
21870         * mach/devstream.c: Likewise.
21871         * malloc/arena.c: Likewise.
21872         * malloc/set-freeres.c: Likewise.
21873         * misc/err.c: Likewise.
21874         * misc/getttyent.c: Likewise.
21875         * misc/mntent_r.c: Likewise.
21876         * posix/getopt.c: Likewise.
21877         * posix/wordexp.c: Likewise.
21878         * pwd/fgetpwent_r.c: Likewise.
21879         * resolv/Versions: Likewise.
21880         * resolv/res_hconf.c: Likewise.
21881         * shadow/fgetspent_r.c: Likewise.
21882         * shadow/putspent.c: Likewise.
21883         * stdio-common/printf_fphex.c: Likewise.
21884         * stdio-common/tmpfile.c: Likewise.
21885         * stdlib/abort.c: Likewise.
21886         * stdlib/fmtmsg.c: Likewise.
21887         * sunrpc/auth_unix.c: Likewise.
21888         * sunrpc/clnt_perr.c: Likewise.
21889         * sunrpc/clnt_tcp.c: Likewise.
21890         * sunrpc/clnt_udp.c: Likewise.
21891         * sunrpc/clnt_unix.c: Likewise.
21892         * sunrpc/openchild.c: Likewise.
21893         * sunrpc/svc_simple.c: Likewise.
21894         * sunrpc/svc_tcp.c: Likewise.
21895         * sunrpc/svc_udp.c: Likewise.
21896         * sunrpc/svc_unix.c: Likewise.
21897         * sunrpc/xdr.c: Likewise.
21898         * sunrpc/xdr_array.c: Likewise.
21899         * sunrpc/xdr_rec.c: Likewise.
21900         * sunrpc/xdr_ref.c: Likewise.
21901         * sunrpc/xdr_stdio.c: Likewise.
21903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21905         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21907 2011-07-03  Andreas Jaeger  <aj@suse.de>
21909         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21910         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21911         regenerate with gen-libm-tests.pl.
21913 2010-05-12  Petr Baudis  <pasky@suse.cz>
21915         [BZ #11589]
21916         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21917         around j0() zero points by switching to j1().
21918         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21919         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21920         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21921         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21923 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21925         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21926         instead of 0.
21927         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21928         instead of 0.
21929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21930         Patch in part by Pavel Roskin <proski@gnu.org>.
21932         [BZ #13138]
21933         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21934         realloc.
21935         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
21936         Free memory block if necessary.
21938         [BZ #12847]
21939         * libio/genops.c (INTDEF): For string streams the _lock pointer can
21940         be NULL.  Don't lock in this case.
21942 2011-09-09  Roland McGrath  <roland@hack.frob.com>
21944         * elf/elf.h (ELFOSABI_GNU): New macro.
21945         (ELFOSABI_LINUX): Define to that.
21947 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
21949         * string/strncat.c (strncat): Undef the symbol in case it has been
21950         defined in bits/string.h.
21952 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21954         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21956         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21957         link map.
21959 2011-08-17  Andreas Jaeger  <aj@suse.de>
21961         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21963 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21964             Ian Lance Taylor  <iant@google.com>
21966         * math/libm-test.inc (lround_test): New testcase.
21967         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21969 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
21971         * Makefile: Remove support for automatic cvs check-ins.
21972         * Makerules: Likewise.
21973         * config.make.in: Likewise.
21974         * configure.in: Likewise.
21975         * intl/Makefile: Likewise.
21976         * locale/Makefile: Likewise.
21977         * po/Makefile: Likewise.
21978         * posix/Makefile: Likewise.
21979         * sysdeps/gnu/Makefile: Likewise.
21980         * sysdeps/mach/hurd/Makefile: Likewise.
21981         * sysdeps/sparc/sparc32/Makefile: Likewise.
21983         [BZ #13118]
21984         * posix/Makefile (bug-regex32-ENV): Define.
21985         Patch by John Stanley <jpsinthemix@verizon.net>.
21987         * misc/Makefile (headers): Add bits/select2.h.
21988         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21989         * misc/bits/select2.h: New file.
21990         * include/bits/select2.h: New file.
21991         * debug/Makefile (routines): Add fdelt_chk.
21992         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21993         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21994         FD_ISSET.
21995         * debug/fdelt_chk.c: New file.
21997         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
21998         * wcsmbs/test-wmemcmp.c: Likewise.
21999         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22000         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22002 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22004         * string/Makefile (strop-tests): Add memcmp.
22005         * string/test-wmemcmp.c: New file.
22006         * string/test-memcmp.c: Add wmemcmp support.
22008 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22010         [BZ #13153]
22011         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22012         2011-07-19 change.
22014         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22015         garbage value in a __mach_port_mod_refs call in the cases of the
22016         task-self and thread-self ports.
22018 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22020         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22022 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22024         * elf/dl-load.c (lose): Check for non-null L.
22026 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22028         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22030         * elf/dl-libc.c (dlerror_run): Pass back error code from
22031         dl_catch_error.
22033         [BZ #13123]
22034         * elf/dl-load.c (lose): Free l_origin if it is valid.
22036         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22037         names.
22038         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22039         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22040         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22041         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22042         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22043         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22045 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22047         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22048         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22049         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22050         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22051         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22052         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22053         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22054         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22055         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22056         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22058 2011-08-15  Alan Modra  <amodra@gmail.com>
22060         [BZ #13092]
22061         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22062         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22063         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22064         ppc_mcount to static-only-routines.
22065         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22066         __mcount_internal.
22067         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22068         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22070 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22072         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22073         for finite and infinity parameters.
22075 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22077         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22078         and add nop instructions for throughput optimization.
22079         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22081 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22083         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22084         aligned copy for power7 with vector-scalar instructions.
22085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22087 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22090         AVX check.
22092 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22094         [BZ #13144]
22095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22096         last change.
22098 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22100         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22101         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22102         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22103         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22104         clock_gettime.
22106 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22108         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22109         Forgot to demangle the pointer.
22111         * sysdeps/i386/sysdep.h: Define atom_text_section.
22112         * sysdeps/x86_64/sysdep.h: Likewise.
22113         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22114         section with atom_text_section.
22115         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22117         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22118         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22119         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22121         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22122         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22123         already be defined.  Change to take two parameters and don't assign
22124         result to variable.  Adjust all users.
22125         Define INTERNAL_GETTIME if not already defined.
22126         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22127         call.
22128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22129         HAVE_CLOCK_GETTIME_VSYSCALL.
22130         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22132         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22133         gettimeofday vsyscall, just use time.
22135 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22138         <errno.h>.
22140 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22142         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22143         syscall on x86-64.
22144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22145         syscall.
22146         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22148         syscall if possible.
22150 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22152         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22153         e_ident.  Don't pass to find_mapsXX.
22154         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22156 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22159         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22160         * sysdeps/x86_64/multiarch/strchr.S: Update.
22161         Check bit_slow_BSF bit.
22162         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22163         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22164         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22166 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22168         [BZ #13134]
22169         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22170         before glibc 2.15.
22171         (tryshell): Define.
22172         (__spawni): Change last parameter to be flag.  Test
22173         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22174         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22175         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22176         * posix/spawni.c: Likewise.
22177         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22178         * posix/spawnp.c: Likewise.  Change normal version to use
22179         SPAWN_XFLAGS_USE_PATH.
22180         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22181         SPAWN_XFLAGS_TRY_SHELL.
22183         [BZ #13150]
22184         * posix/glob.h: Remove gcc 1.x support.
22186         [BZ #13068]
22187         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22189 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22192         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22193         strrchr-sse2-bsf
22194         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22195         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22196         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22197         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22198         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22199         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22201 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22203         * sysdeps/x86_64/wcscmp.S: New file.
22205         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22206         wcscmp-c wcscmp-sse2
22207         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22208         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22209         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22210         * wcsmbs/wcscmp.c: Allow renaming.
22212 2011-09-05  David S. Miller  <davem@davemloft.net>
22214         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22215         stack slot, rather than the struct return pointer slot.
22216         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22217         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22219         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22221 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22223         * po/ja.po: Update from translation team.
22225         [BZ #13144]
22226         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22227         kernel in 64-bit binaries.
22229 2011-09-01  David S. Miller  <davem@davemloft.net>
22231         * elf/elf.h (HWCAP_SPARC_*): Move to..
22232         * sysdeps/sparc/sysdep.h: this new file and add new values.
22233         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22234         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22235         _DL_HWCAP_COUNT to 24.
22236         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22237         entries.
22238         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22239         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22240         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22242         instead of magic constants.
22243         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22245 2011-08-31  David S. Miller  <davem@davemloft.net>
22247         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22249         Reimplement to do errno handling inline.
22250         (SYSCALL_ERROR_HANDLER): New macro.
22251         (__SYSCALL_STRING): Do not do errno handling in asm.
22252         (__CLONE_SYSCALL_STRING): Delete.
22253         (__INTERNAL_SYSCALL_STRING): Delete.
22254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22255         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22256         (PSEUDO): Reimplement to do errno handling inline.
22257         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22258         (SYSCALL_ERROR_HANDLER): New macro.
22259         (__SYSCALL_STRING): Do not do errno handling in asm.
22260         (__CLONE_SYSCALL_STRING): Delete.
22261         (__INTERNAL_SYSCALL_STRING): Delete.
22262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22263         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22264         i386.
22265         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22266         (inline_syscall*): Add 'err' argument.
22267         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22268         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22269         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22270         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22272         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22273         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22275 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22277         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22279 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22281         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22282         directive.
22284 2011-08-24  David S. Miller  <davem@davemloft.net>
22286         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22288 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22290         * elf/Makefile: Add rules to build and run unload8 test.
22291         * elf/unload8.c: New file.
22292         * elf/unload8mod1.c: New file.
22293         * elf/unload8mod1x.c: New file.
22294         * elf/unload8mod2.c: New file.
22295         * elf/unload8mod3.c: New file.
22297         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22298         it wasn't used.
22300 2011-08-23  David S. Miller  <davem@davemloft.net>
22302         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22303         subtract stack bias.
22304         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22305         %sp not %fp in calculations.
22306         (_JMPBUF_UNWINDS_ADJ): Likewise.
22308         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22309         (aio_suspend): Call it to force an exception region around the
22310         AIO_MISC_WAIT() invocation.
22312 2011-08-23  Andreas Schwab  <schwab@redhat.com>
22314         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22315         backslash.
22317 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
22319         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22320         protection macro.
22321         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22322         and <dl-machine.h>.
22323         (Elf64_FuncDesc): Remove.
22325 2011-08-22  David S. Miller  <davem@davemloft.net>
22327         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22328         sigaltstack check, add missing cfi directives.
22329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22330         missing cfi directives, and sigaltstack handling.
22332 2011-08-16  Andreas Schwab  <schwab@redhat.com>
22334         [BZ #11724]
22335         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22336         object is seen twice.
22337         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22339         * elf/Makefile (distribute): Add tst-initorder2.c.
22340         (tests): Add tst-initorder2.
22341         (modules-names): Add tst-initorder2a tst-initorder2b
22342         tst-initorder2c tst-initorder2d.  Add rules to build them.
22343         ($(objpfx)tst-initorder2.out): New rule.
22344         * elf/tst-initorder2.c: New file.
22345         * elf/tst-initorder2.exp: New file.
22347 2011-08-22  Andreas Schwab  <schwab@redhat.com>
22349         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22351         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22352         dependencies back to end of function.
22354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22355         $(elfobjdir)/ld.so.
22357 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
22359         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22360         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22362         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22363         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22364         of __vdso_gettimeofday.
22365         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22366         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
22367         attribute_hidden.
22368         (_libc_vdso_platform_setup): Remove initialization of
22369         __vdso_gettimeofday and __vdso_time.
22371 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22373         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22374         and fgetc_unlocked.
22375         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22376         getc_unlocked.
22378         * elf/dl-open.c (add_to_global): Report additions to the global scope
22379         for LD_DEBUG=scopes.
22380         (dl_open_worker): Also print scope of newly loaded dependencies.
22381         (_dl_show_scope): Indicate if there is no scope.
22383         [BZ #13114]
22384         * stdio-common/Makefile (tests): Add bug24.
22385         * stdio-common/bug24.c: New file.
22387 2011-08-19  Andreas Jaeger  <aj@suse.de>
22389         [BZ #13114]
22390         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22391         non-existant file when using close-on-exec mode.
22393 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22395         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22396         the very first instruction.
22398         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22399         the CFI state in the end.
22400         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22401         inclusion of dl-trampoline.h.
22402         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22404 2011-08-19  Andreas Schwab  <schwab@redhat.com>
22406         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22407         expectations for long double.
22409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22410         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22412 2011-08-14  David S. Miller  <davem@davemloft.net>
22414         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22415         artificual limit depends upon the system page size.
22417 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22419         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22420         * resolv/Makefile: Define CFLAGS-libresolv.
22422 2011-08-17  Andreas Schwab  <schwab@redhat.com>
22424         * nss/makedb.c (compute_tables): Make variables used in nested
22425         function static.
22427 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22429         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22430         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22431         if buffer was too small.
22433         * elf/pldd.c (main): Attach to all threads in the process.
22434         Rewrite /proc handling to use *at functions.
22436 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
22438         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22439         specifies first scope to show.
22440         (dl_open_worker): Update callers.  Move printing scope of new
22441         object to before the relocation.
22442         * elf/rtld.c (dl_main): Update _dl_show_scope call.
22443         * sysdeps/generic/ldsodefs.h: Update declaration.
22445         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22446         string for the scope number.
22448 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
22450         * nscd/servicescache.c (cache_addserv): Make sure written is always
22451         initialized.
22453 2011-08-14  Roland McGrath  <roland@hack.frob.com>
22455         * sysdeps/i386/i486/bits/atomic.h
22456         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22457         statement expression, so as to suppress "set but not used" warning.
22458         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22460         * string/strncat.c (STRNCAT): Use prototype definition.
22462         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22463         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22464         -Iprograms here.
22465         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22466         (localedef-modules): Add localedef.
22467         (locale-modules): Add locale.
22469         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22470         * elf/rtld.c (dl_main): Invert order of assignment in last change,
22471         to avoid a warning.
22473 2011-08-14  David S. Miller  <davem@davemloft.net>
22475         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22476         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22478 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
22480         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22481         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22482         * elf/rtld.c (dl_main): Set l_name of vDSO.
22483         Call _dl_show_scope when DL_DEBUG_SCOPES.
22484         (process_dl_debug): Recognize scopes flag and also set it for all.
22485         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22486         Declare _dl_show_scope.
22488         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22489         (do_dlopen): Pass caller_dlopen to dl_open.
22490         (__libc_dlopen_mode): Initialize caller_dlopen.
22492         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22493         of libc.  Make tolower call locale-independent.  Optimize a bit by
22494         using isdigit instead of isalnum.
22495         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22497 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
22499         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22500         was a dependency or dynamically loaded.
22502 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
22504         * intl/l10nflist.c: Allow architecture-specific pop function.
22505         * sysdeps/x86_64/l10nflist.c: New file.
22507         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22508         classification.
22510 2011-08-10  Andreas Schwab  <schwab@redhat.com>
22512         * include/dirent.h: Add libc_hidden_proto for scandirat and
22513         scandirat64.  Don't declare __scandirat64.
22514         * dirent/scandirat.c: Add libc_hidden_def.
22515         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22516         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22518 2011-08-10  David S. Miller  <davem@davemloft.net>
22520         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22521         enum.
22522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22523         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22526 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
22528         * Versions.def [libc]: Add GLIBC_2.15.
22529         * dirent/Makefile (routines): Add scandirat and scandirat64.
22530         * dirent/Versions [libc]: Export scandirat and scandirat64 for
22531         GLIBC_2.15.
22532         * dirent/dirent.h: Declare scandirat and scandirat64.
22533         * dirent/scandirat.c: New file.
22534         * dirent/scandirat64.c: New file.
22535         * sysdeps/wordsize-64/scandirat.c: New file.
22536         * sysdeps/wordsize-64/scandirat64.c: New file.
22537         * dirent/opendir.c: Define opendirat.
22538         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
22539         using scandirat.
22540         * dirent/scandir64.c: Adjust for scandir.c change.
22541         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
22542         __scandirat64, and __scandir_cancel_handler.
22543         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
22544         additional parameter and use openat instead of open (outside of ld.so).
22545         Add new __opendir as wrapper around __opendirat.
22546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22547         here without requiring old scandirat implementation.
22549 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
22551         * dirent/scandir.c (cancel_handler): Renamed to
22552         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
22553         defined.  Adjust users.
22554         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22555         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22557 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
22559         * string/test-string.h (IMPL): Use __STRING to expand name and then
22560         stringify it.
22562         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
22563         of cleanups.
22565 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22567         * string/Makefile: Update.
22568         (strop-tests): Append strncat.
22569         * string/test-wcscmp.c: New file.
22570         New comprehensive test for wcscmp.
22571         * string/test-strcmp.c: Update.
22572         (WIDE): New define.
22574 2011-07-22  Andreas Schwab  <schwab@redhat.com>
22576         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22577         line.
22579 2011-07-26  Andreas Schwab  <schwab@redhat.com>
22581         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22582         encoding to ACE if AI_IDN.
22584 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
22586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22587         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22589 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22591         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22592         Fix overflow bug in strncat.
22593         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22595         * string/test-strncat.c: Update.
22596         Add new tests for checking overflow bugs.
22598 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22601         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22602         * sysdeps/i386/i686/multiarch/strcat.S: New file.
22603         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22604         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22605         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22606         * sysdeps/i386/i686/multiarch/strncat.S: New file.
22607         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22608         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22610         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22611         (USE_AS_STRCAT): Define.
22612         Add strcat and strncat support.
22613         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22615 2011-07-25  Andreas Schwab  <schwab@redhat.com>
22617         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22618         __n bigger than INT_MAX+1.
22619         (__strncmp_g): Likewise.
22621 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
22623         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22624         * libio/stido.h: Likewise.
22626         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22627         (AF_NFC): Define.
22628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22629         (AF_NFC): Define.
22631         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22632         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22633         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22634         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22635         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22637         [BZ #13021]
22638         * scripts/test-installation.pl: Don't expect libnss_test1 to be
22639         installed.
22641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22642         typo.
22643         (_dl_x86_64_save_sse): Likewise.
22645 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
22647         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22648         OSXSAVE.
22649         (_dl_x86_64_save_sse): Likewise.
22651         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22653         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22655 2011-07-21  Andreas Schwab  <schwab@redhat.com>
22657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22658         change.
22659         (_dl_x86_64_save_sse): Use correct AVX check.
22661 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22664         bug in strncpy/strncat.
22665         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22667 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
22669         * string/tester.c (test_strcat): Add tests for different alignments
22670         of source and destination.
22671         (test_strncat): Likewise.
22673 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22675         [BZ #12852]
22676         * posix/glob.c (glob): Check passed in values before using them in
22677         expressions to avoid some overflows.
22678         (glob_in_dir): Likewise.
22680         [BZ #13007]
22681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22682         check for AVX enablement so that we don't crash with old kernels and
22683         new hardware.
22684         * elf/tst-audit4.c: Add same checks here.
22685         * elf/tst-audit6.c: Likewise.
22687         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22689 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
22691         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22693 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22695         * po/cs.po: Update from translation team.
22696         * po/bg.po: Likewise.
22698 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
22700         * misc/sys/cdefs.h: Add support for const attribute.
22701         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22702         to gnu_dev_{major,minor,makedev} functions.
22704 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
22706         * intl/dcigettext.c (get_output_charset): Add missing bracket.
22708 2011-07-20  Andreas Schwab  <schwab@redhat.com>
22710         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22711         strlen results.
22713 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22716         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22717         register in order to avoid conflicts with the soft frame pointer
22718         being held in r11 when necessary.
22719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22720         (INTERNAL_VSYSCALL_NCS): Likewise.
22722 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
22724         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22725         * elf/dl-fini.c (_dl_fini): Adjust caller.
22726         * elf/dl-close.c (_dl_close_worker): Likewise.
22727         * sysdeps/generic/ldsodefs.h: Adjust declaration.
22729 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22731         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22732         "aux_cache->nlibs < 0".
22734         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22735         in the reload-count case.
22737 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22740         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22741         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22742         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22743         * sysdeps/x86_64/multiarch/strcat.S: New file.
22744         * sysdeps/x86_64/multiarch/strncat.S: New file.
22745         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22746         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22747         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22748         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22749         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22750         (USE_AS_STRCAT): Define.
22751         Add strcat and strncat support.
22752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22753         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22754         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22755         * string/strncat.c: Update.
22756         (USE_AS_STRNCAT): Define.
22757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22758         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22759         and i7.
22760         * sysdeps/x86_64/multiarch/init-arch.h
22761         (bit_Prefer_PMINUB_for_stringop): New.
22762         (index_Prefer_PMINUB_for_stringop): Likewise.
22763         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22764         bit_Prefer_PMINUB_for_stringop.
22766 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22768         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22769         buffer64.
22770         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22771         of casting of buffer.
22772         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22773         buffer32 and buffer64.
22774         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22775         writes instead of casting of buffer.
22776         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22777         buffer32.
22778         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22779         casting of buffer.
22781 2011-07-19  Andreas Schwab  <schwab@redhat.com>
22783         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22785 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22787         * nscd/nscd.c (termination_handler): Don't do anything for a database
22788         if it has not yet been initialized.
22790 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22792         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22794 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22796         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22798 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22800         * po/nl.po: Update from translation team.
22801         * po/sv.po: Likewise.
22803 2011-07-16  Roland McGrath  <roland@hack.frob.com>
22805         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22806         now disallowed by GCC.
22808         * configure.in (use-default-link): Default to yes if a test -shared
22809         link meets our qualifications.
22810         * configure: Regenerated.
22812         * config.make.in (output-format): New variable.
22813         * configure.in: Check for ld --print-output-format support.
22814         * configure: Regenerated.
22815         * Makerules ($(common-objpfx)format.lds)
22816         [$(output-format) != unknown]: Just use $(output-format),
22817         instead of the linker-script munging.
22819 2011-07-14  Roland McGrath  <roland@hack.frob.com>
22821         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22822         of $(common-objpfx)shlib.lds.
22823         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22825         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22826         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22828         * configure.in (-z relro check): Adjust test code to add a large
22829         writable data section after it.
22830         * configure: Regenerated.
22832 2011-07-11  Roland McGrath  <roland@hack.frob.com>
22834         * configure.in (-z relro check): Fix test code to make the variable
22835         truly const.
22836         * configure: Regenerated.
22838 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
22840         * nscd/nscd.h (struct traced_file): Define.
22841         (struct database_dyn): Remove inotify_descr, reset_res, and filename
22842         elements.  Add traced_files.
22843         (inotify_fd): Declare.
22844         (register_traced_file): Declare.
22845         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22846         (inotify_fd): Export.
22847         (resolv_conf_descr): Remove.
22848         (nscd_init): Move inotify descriptor creation to main.
22849         Don't register files for notification here.
22850         (register_traced_file): New function.
22851         (invalidate_cache): Don't use reset_res to determine whether to call
22852         res_init, go through the list of registered files.
22853         (main_loop_poll): The inotify descriptors are now stored in the
22854         structures for the traced files.
22855         (main_loop_epoll): Likewise
22856         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
22857         to __nss_disable_nscd.
22858         * nscd/cache.c (prune_cache): There is no single inotify descriptor
22859         for a database anymore.  Check the records for all the registered
22860         files instead.
22861         * nss/Makefile (libnss_files-routines): Add files-init.
22862         (libnss_db-routines): Add db-init.
22863         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22864         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22865         * nss/nss_db/db-init.c: New file.
22866         * nss/nss_files/files-init.c: New file.
22867         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
22868         __nss_lookup_function.
22869         (__nss_lookup_function): Call nss_load_library.
22870         (nss_load_all_libraries): New function.
22871         (__nss_disable_nscd): Take parameter with callback function for files
22872         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
22873         used for the cached services.
22874         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22875         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22876         options for features to all the files in nscd.
22878         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22880 2011-07-10  Roland McGrath  <roland@hack.frob.com>
22882         * csu/elf-init.c (__libc_csu_init): Comment typo.
22884 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
22886         * po/pl.po: Update from translation team.
22887         * po/ja.po: Likewise.
22888         * po/ru.po: Likewise.
22889         * po/ko.po: Likewise.
22890         * po/fr.po: Likewise.
22892 2011-07-09  Roland McGrath  <roland@hack.frob.com>
22894         * configure.in (.ctors/.dtors header and trailer check):
22895         Use an empirical test on a built program.
22896         * configure: Regenerated.
22898         * configure.in (-z relro check): Use an empirical test on a built DSO.
22899         Detect, but do not require, on ia64.
22900         * configure: Regenerated.
22902         * configure.in (READELF): Find it with AC_CHECK_TOOL.
22903         Update tests that use readelf to use $READELF instead.
22904         * configure: Regenerated.
22906 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
22908         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22909         if the result is not used.
22911 2011-07-05  Andreas Jaeger  <aj@suse.de>
22913         [BZ#9696]
22914         * stdlib/tst-strtod.c: Add testcase.
22916 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
22918         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22919         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22920         The latter has a higher limit.  Take additional parameter to pass to
22921         the new function.
22922         (__pathconf): Pass file to __statfs_link_max.
22923         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22924         __statfs_link_max.
22925         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22926         __statfs_link_max.
22928         [BZ #12868]
22929         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22930         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22931         Handle Lustre.
22932         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22933         (__statfs_filesize_max): Likewise.
22934         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22936 2011-07-05  Andreas Jaeger  <aj@suse.de>
22938         * resolv/res_comp.c (dn_skipname): Remove unused variable.
22940 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
22942         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22943         `status' variable.
22944         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22945         Likewise.
22947 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
22949         * Makefile (strop-tests): Add strncat.
22950         * string/test-strncat.c: New file.
22952 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
22954         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22956 2011-06-21  Andreas Jaeger  <aj@suse.de>
22958         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22959         Copy rule from iconvdata/Makefile.
22961 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
22963         [BZ #12922]
22964         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22965         but no long options are defined, just return 'W'.
22967 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
22969         [BZ #9696]
22970         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22972 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
22974         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22975         netgroups to read.
22976         (innetgr): Likewise.
22978 2011-07-05  Roland McGrath  <roland@hack.frob.com>
22980         * config.make.in (install_root): Default to $(DESTDIR).
22982 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
22984         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22986 2011-07-02  Roland McGrath  <roland@hack.frob.com>
22988         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22990         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22991         containing directory rather than embedding absolute directory names.
22993         * scripts/check-local-headers.sh: Rewritten using awk.
22994         Match by word, not by line.  Print error messages for matches.
22995         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22997         * Makerules [shlib-lds-flags empty]:
22998         ($(common-objpfx)libc_pic.opts): New target.
22999         ($(common-objpfx)libc_pic.os.clean): New target.
23000         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23002         * config.make.in (OBJCOPY): New variable.
23003         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23004         * configure: Regenerated.
23006         * config.make.in (use-default-link): New variable.
23007         * configure.in (use_default_link): Grok --with-default-link to set it.
23008         * configure: Regenerated.
23009         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23010         (shlib-lds, shlib-lds-flags): Define to empty.
23012         * Makerules (shlib-lds): New variable.
23013         (shlib-lds-flags): New variable.
23014         (build-shlib, build-moduile, build-module-asneeded): Use it.
23015         ($(common-objpfx)libc.so): Use $(shlib-lds).
23016         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23017         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23019         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23020         DT_FLAGS/DT_FLAGS_1 with zero flags.
23022         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23023         linker script munging.
23025 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23027         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23028         as 128-bit value.
23029         * crypt/sha512.c (sha512_process_block): Perform total addition using
23030         128-bit if possible.
23031         (__sha512_finish_ctx): Likewise.
23032         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23033         as 64-bit value.
23034         * crypt/sha256.c (SWAP64): Define.
23035         (sha256_process_block): Perform total addition using 64-bit if
23036         possible.
23037         (__sha256_finish_ctx): Likewise.
23039 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23041         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23043         * nscd/hstcache.c (cache_addhst): Likewise.
23044         * nscd/grpcache.c (cache_addgr): Likewise.
23045         * nscd/aicache.c (addhstaiX): Likewise
23046         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23048 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23050         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23052         * nscd/hstcache.c (cache_addhst): Likewise.
23053         * nscd/grpcache.c (cache_addgr): Likewise.
23054         * nscd/aicache.c (addhstaiX): Likewise
23056 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23058         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23059         domain only when needed.
23061 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23063         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23064         is always restored.
23066 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23068         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23069         are re-adding the entry.
23070         * nscd/servicescache.c (cache_addserv): Likewise.
23072 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23074         * sysdeps/generic/dl-irel.h: fix protection against multiple
23075         inclusions.
23076         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23078 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23080         [BZ #12935]
23081         * malloc/memusage.sh: Fix quoting in message.
23082         * debug/xtrace.sh: Likewise.
23084         * configure.in: Remove support for --experimental-malloc option, make
23085         it the default.
23086         * config.make.in: Likewise.
23087         * malloc/Makefile: Likewise.
23089 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23091         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23092         two-byte characters.
23094 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23096         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23097         AC_CACHE_CHECK invocation.
23098         * configure: Regenerated.
23100         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23102 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23104         [BZ #12350]
23105         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23106         bit from old_res_options.
23108         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23110         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23111         value type for setfct.
23113 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23116         __gettimeofday instead of gettimeofday.
23118 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23120         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23122 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23124         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23126         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23127         info.
23129 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23132         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23133         strcpy-sse2-unaligned strncpy-sse2-unaligned
23134         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23135         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23136         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23137         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23138         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23139         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23140         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23141         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23142         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23143         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23144         (STRCPY): Support SSE2 and SSSE3 versions.
23146 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23148         [BZ #12874]
23149         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23150         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23151         kernels which artificially limit size of requests.
23153 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23156         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23157         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23158         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23159         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23160         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23161         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23162         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23165         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23166         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23167         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23168         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23169         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23171         Enable unaligned load optimization for Intel Core i3, i5 and i7
23172         processors.
23173         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23174         Define.
23175         (index_Fast_Unaligned_Load): Define.
23176         (HAS_FAST_UNALIGNED_LOAD): Define.
23178 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23180         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23182 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23184         [BZ #12907]
23185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23186         until it is clear that the information is realy needed.
23187         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23189 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23193 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23196         /sys/devices/system/cpu/online if it is usable.
23198         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23199         reading the information from the /proc filesystem to once a second.
23201 2011-06-21  Andreas Jaeger  <aj@suse.de>
23203         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23204         NULL after inclusion of kernel headers.
23206 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23208         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23209         calls to internal_setent.
23211         [BZ #12885]
23212         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23213         addresses using gethostbyname4_r ignore IPv4 addresses.
23215         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23216         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23218         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23220 2011-06-20  David S. Miller  <davem@davemloft.net>
23222         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23223         inclusions.
23224         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23226         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23227         (elf_irel): Use it.
23228         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23229         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23230         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23231         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23232         * sysdeps/x86_64/dl-irel.h: Likewise.
23234         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23235         * elf/dl-sym.c: Likewise.
23237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23239         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23240         need to dereference resplen2.
23242 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23244         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23246 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23248         * Makeconfig: Define vardbdir and inst_vardbdir.
23249         * nss/Makefile: Add rules to install db-Makefile.
23251         * nss/nss_db/db-XXX.c: Cleanup.
23253         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23254         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23255         GLIBC_PRIVATE.
23256         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23257         * nss/makedb.c: Implement -g option to specify that value strings
23258         are generated and should not be added to table iterated over for
23259         get*ent calls.
23260         * nss/nss_db/db-initgroups.c: New file.
23262         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23263         interface.
23265         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23266         (internal_getgrouplist): Adjust to name change.
23267         Update use_initgroups_entry if this is not the first call.
23268         * nss/databases.def: Add initgroups entry.
23270         * nss/makedb.c (compute_tables): Check result of multiple hash table
23271         sizes to minimize maximum chain length.
23273 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23275         * Versions.def: Add entry for libnss_db.
23276         * shlib-versions: Likewise.
23277         * nss/Makefile: Add rules to build libnss_db.
23278         * nss/Versions: Add libnss_db information.  Organize libnss_files
23279         entries better.
23280         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23281         makedb progra.  Some minor improvements to generate smaller files.
23282         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23283         here from...
23284         * nss/makedb.c: ...here.
23285         Improve database format to be smaller and require less memory at
23286         runtime.
23287         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23288         db anymore.
23289         * nss/nss_db/db-netgrp.c: Likewise.
23290         * nss/nss_db/db-open.c: Likewise.
23291         * nss/nss_files/flies-XXX.x: Adjust comments.
23292         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23293         * nss/nss_files/files-grp.c: Likewise.
23294         * nss/nss_files/files-hosts.c: Likewise.
23295         * nss/nss_files/files-network.c: Likewise.
23296         * nss/nss_files/files-proto.c: Likewise.
23297         * nss/nss_files/files-pwd.c: Likewise.
23298         * nss/nss_files/files-rpc.c: Likewise.
23299         * nss/nss_files/files-service.c: Likewise.
23300         * nss/nss_files/files-sgrp.c: Likewise.
23301         * nss/nss_files/files-spwd.c: Likewise.
23302         * nss/nss_db/db-alias.c: Removed.
23303         * nss/nss_db/dummy-db.h: Removed.
23305 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23307         * nss/makedb.c: Rewritten to not use database library.
23308         * nss/Makefile: Update to build new makedb program.
23310 2011-06-14  Andreas Jaeger  <aj@suse.de>
23312         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23313         memset declaration.
23315 2011-06-10  Andreas Schwab  <schwab@redhat.com>
23317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23318         tmpbuf.
23320 2011-06-10  Roland McGrath  <roland@hack.frob.com>
23322         * Makerules (shlib.lds): Fail if the linker script comes out empty.
23323         * elf/Makefile ($(objpfx)ld.so): Likewise.
23325         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23326         Don't list ld.so twice in dependencies.
23328         * posix/bug-regex31.c: Include <stdlib.h>.
23330         * nscd/hstcache.c (cache_addhst): Remove unused variable.
23332         * nis/nss_compat/compat-spwd.c
23333         (getspent_next_nss_netgr): Remove unused variable.
23334         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23336         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23337         nonmembers" output to use the right array.
23339         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23341         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23343         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23344         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23345         * catgets/gencat.c (read_input_file): Likewise.
23346         * locale/programs/locarchive.c (enlarge_archive): Likewise.
23348         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23349         variable definition inside #if's controlling its use.
23351         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23355         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23357         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23358         unreachable code.
23360         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23362         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23363         * configure: Regenerated.
23365         * Makerules: Revert last change.
23366         * elf/Makefile: Likewise.
23368 2011-06-09  Roland McGrath  <roland@hack.frob.com>
23370         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23371         * elf/Makefile ($(objpfx)librtld.os): Likewise.
23372         (reloc-link): Likewise.
23374 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
23376         * elf/Makefile: Add rules to build pldd.
23377         * elf/pldd.c: New file.
23378         * elf/pldd-xx.c: New file.
23380 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
23382         * version.h: Update for 2.15 development version.
23384 2011-06-07  David S. Miller  <davem@davemloft.net>
23386         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23387         ifuncs.
23388         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23389         elf_machine_lazy_rel): Likewise.
23390         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23391         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23392         elf_machine_lazy_rel): Likewise.
23393         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23394         dl_hwcap via passed in argument.
23395         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23396         Likewise.
23398 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23400         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
23402 2011-06-06  Roland McGrath  <roland@hack.frob.com>
23404         [BZ #12849]
23405         * manual/fdl-1.1.texi: New file, verbatim from:
23406         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23407         * manual/lgpl-2.1.texi: New file, verbatim from:
23408         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23409         * manual/Makefile (licenses): New variable, list those new file names.
23410         (texis): Use it.
23411         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23413         * manual/fdl.texi: File removed.
23414         * manual/lesser.texi: File removed.
23415         * manual/libc.texinfo (Copying, Documentation License):
23416         Use new @include file names, put @appendix directive before @include.
23418 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
23420         [BZ #12841]
23421         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23422         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23423         (mq_open): Add __NTH.
23425 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
23427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23428         Assume Intel Core i3/i5/i7 processor if AVX is available.
23430 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23432         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23433         typo.
23435 2011-05-31  Andreas Schwab  <schwab@redhat.com>
23437         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23438         memory.  Use alloca_account.  Fix memory leak when retrying.
23440 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23442         * version.h (RELEASE): Bump for 2.14 release.
23443         * include/features.h (__GLIBC_MINOR__): Bump to 14.
23445         * config.make.in (RANLIB): Remove entry.
23447 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
23449         * po/Makefile (po-sed-cmd): Add ksh to extensions.
23450         (libc.pot): Work around missing support for .ksh extension in xgettext.
23452         [BZ #12684]
23453         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23454         if both request failed.
23455         (send_dg): In case of server errors clear resplen or *resplen2.
23457         [BZ #12454]
23458         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23459         when there are multiple maps.
23460         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23461         (_dl_fini): Remove test here.
23463         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23465 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
23467         [BZ #12350]
23468         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23469         bit from old_res_options.
23470         (gaih_inet): Likewise.
23472         [BZ #11099]
23473         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23474         as signed.
23476         * resolv/res_init.c (res_setoptions): Make the code more compact.
23478         [BZ #11558]
23479         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23480         set RES_USEVC.
23482         [BZ #11634]
23483         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23485         * malloc/malloc.h: Mark malloc hook variables as deprecated.
23487         [BZ #11781]
23488         * malloc/malloc.h: Declare malloc hook variables as volatile.
23490         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23491         in last patch.
23493         [BZ #11799]
23494         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23495         raise in the comment.
23496         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23498         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23500 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
23502         [BZ #12811]
23503         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23504         grow the buffers more if it already has to be sufficient.
23505         (build_wcs_upper_buffer): Likewise.
23506         * posix/regexec.c (check_matching): Likewise.
23507         (clean_state_log_if_needed): Likewise.
23508         (extend_buffers): Don't enlarge buffers beyond size of the input
23509         buffer.
23510         Patches mostly by Emil Wojak <emil@wojak.eu>.
23511         * posix/bug-regex32.c: New file.
23512         * posix/Makefile (tests): Add bug-regex32.
23514         * locale/findlocale.c (_nl_find_locale): Return right away if
23515         _nl_explode_name failed.
23516         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23518         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23520         * debug/xtrace.sh: Unify messages.
23521         * malloc/memusage.sh: Likewise.
23523         [BZ #12813]
23524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23525         time symbol from vDSO.  Substitute with vsyscall if not available.
23526         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23527         __vdso_time.
23529         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23530         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23531         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23532         Add sendmmsg and internal_sendmmsg.
23533         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23534         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23535         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23537         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23538         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23539         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23541 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
23543         [BZ #12813]
23544         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23545         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
23546         available.
23547         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23548         __vdso_getcpu.
23550         [BZ #12814]
23551         * iconvdata/Makefile (tests): Add bug-iconv9.
23552         * iconvdata/bug-iconv9.c: New file.
23554 2011-05-27  Andreas Schwab  <schwab@redhat.com>
23556         [BZ #12814]
23557         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23559 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
23561         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23562         (struct user_regs_struct): Change intcs field back to cs.
23564 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
23566         * po/ja.po: Update from translation team.
23568 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
23570         [BZ #12795]
23571         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23572         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23574 2011-05-20  Andreas Schwab  <schwab@redhat.com>
23576         * stdlib/longlong.h: Update from GCC.
23578 2011-05-23  Andreas Schwab  <schwab@redhat.com>
23580         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23581         parameter name.
23582         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23583         Add parameter name.
23584         (__sysconf): Pass it down.
23586 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
23588         [BZ #12671]
23589         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23590         some situations.
23591         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23592         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23593         add in in __libc_use_alloca calls.  Adjust callers.
23594         (glob): Use malloc in some situations.
23596         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23597         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23598         pltexit.
23600 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
23602         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23603         and CLOCK_BOOTTIME_ALARM.
23605         [BZ #12782]
23606         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23607         is returned.
23609         * string/_strerror.c (__strerror_r): Print negative errors as signed
23610         numbers.
23612         [BZ #12777]
23613         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23614         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23615         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23617         * configure.in: Fix typo in redirection and correct removal of test
23618         files in two cases.
23620         [BZ #12788]
23621         * locale/setlocale.c (new_composite_name): Fix test to check for
23622         identical name of all categories.
23624         [BZ #12792]
23625         * libio/filedoalloc.c (local_isatty): New function.
23626         (_IO_file_doallocate): Use local_isatty.
23627         * stdio-common/perror.c (perror): In case a new stream is used
23628         forward the stream error.
23629         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23630         error flag.
23632 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
23634         [BZ #11869]
23635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23636         alloca.
23637         * include/alloca.h (extend_alloca_account): Define.
23639         [BZ #11857]
23640         * posix/regex.h: Fix comments with documentation of user-accessible
23641         fields after compilation and describe correct free'ing of pattern
23642         after re_compile_pattern.
23643         Patch by Reuben Thomas <rrt@sc3d.org>.
23645 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
23647         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23648         and -mno-altivec to prevent the compiler from using Altivec and/or
23649         VSX instructions when the corresponding registers are not available.
23651 2011-05-19  Andreas Schwab  <schwab@redhat.com>
23653         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23655 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
23657         * libio/freopen.c (freopen): Use __dup2, not dup2.
23658         * libio/freopen64.c (freopen64): Likewise.
23660 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23662         [BZ #12775]
23663         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23664         * math/Makefile (tests): Add test-powl.
23665         (CFLAGS-test-powl.c): Define.
23666         * math/test-powl.c: New file.
23668 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23670         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23672 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
23674         [BZ #11837]
23675         * iconvdata/gb18030.c: Update to GB18020-2005.
23677 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
23679         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23680         RE_SYNTAX_POSIX_AWK): Update to match recent development.
23681         Patch by Aharon Robbins <arnold@skeeve.com>.
23683         [BZ #11892]
23684         * stdlib/putenv.c (putenv): Don't always create copy of the variable
23685         on the stack.
23687         [BZ #11895]
23688         * misc/pselect.c (__pselect): Handle timeout value errors hidden
23689         through underflows.
23691         [BZ #12766]
23692         * misc/error.c (error_at_line): Ensure file_name and old_file_name
23693         point to strings before performing equality test for error_one_per_line
23694         mode.
23696         [BZ #11697]
23697         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23699         [BZ #11820]
23700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23701         (struct user_fpregs_struct): Avoid __uint*_t types.
23703         [BZ #6420]
23704         * malloc/mtrace.c (tr_where): Add additional parameter to point to
23705         symbol info.  Use it instead of calling _dl_addr locally.
23706         (lock_and_info): New function.
23707         (tr_freehook): Call lock_and_info and pass symbol info as additional
23708         parameter to tr_where.
23709         (tr_mallochook): Likewise.
23710         (tr_reallochook): Likewise.
23711         (tr_memalignhook): Likewise.
23713         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
23714         used and couldn't be at all thread-safe.
23716 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
23718         * libio/freopen.c (freopen): Don't close old file descriptor
23719         before the new one is opened.  Instead dup the new file descriptor
23720         to the old one after the new stream is created.
23721         * libio/freopen64.c (freopen64): Likewise.
23722         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23723         * libio/fileops.c (_IO_new_file_close_it): Handle new
23724         _IO_FLAGS2_NOCLOSE flag.
23725         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23726         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23727         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23728         _IO_FLAGS2_NOCLOSE flag.
23729         * include/unistd.h: Add hidden_proto for dup3.
23730         Define __have_dup3.
23731         * io/dup3.c: Define hidden symbol.
23732         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23734         [BZ #7101]
23735         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23736         when an incomplete long option is used.
23737         * posix/tst-getopt_long1.c: New file.
23738         * posix/Makefile (tests): Add tst-getopt_long1.
23740         [BZ #10138]
23741         * scripts/config.guess: Update from autoconf-2.68.
23742         * scripts/config.sub: Likewise.
23744         [BZ #10157]
23745         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23746         tests into ...
23747         (has_cpuclock): ...this.  New function.
23748         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23749         macro here based on has_cpuclock code.
23751         [BZ #10149]
23752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23753         First byte (not low byte) is now always NUL.
23754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23757         Use non-cancelable interfaces.
23759         [BZ #9809]
23760         * locale/iso-639.def: Add entry for Sorani.
23762         [BZ #11901]
23763         * include/stdlib.h: Move include protection to the right place.
23764         Define abort_msg_s.  Declare __abort_msg with it.
23765         * stdlib/abort.c (__abort_msg): Adjust type.
23766         * assert/assert.c (__assert_fail_base): New function.  Majority
23767         of code from __assert_fail.  Allocate memory for __abort_msg with
23768         mmap.
23769         (__assert_fail): Now call __assert_fail_base.
23770         * assert/assert-perr.c: Remove bulk of implementation.  Use
23771         __assert_fail_base.
23772         * include/assert.hL Declare __assert_fail_base.
23773         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23774         mmap.
23775         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23777 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
23779         [BZ #11952]
23780         [BZ #12453]
23781         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23782         until all modules are registered in the DTV.
23783         * elf/Makefile: Add rules to build and run tst-tls19.
23784         * elf/tst-tls19.c: New file.
23785         * elf/tst-tls19mod1.c: New file.
23786         * elf/tst-tls19mod2.c: New file.
23787         * elf/tst-tls19mod3.c: New file.
23788         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23790         [BZ #12083]
23791         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23792         correctly.
23794         [BZ #12601]
23795         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23796         two-byte sequence errors.
23797         * iconvdata/Makefile (tests): Add bug-iconv8.
23798         * iconvdata/bug-iconv8.c: New file.
23800         [BZ #12626]
23801         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23802         buf2 definition.
23804         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23806         [BZ #12432]
23807         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23808         (dummy_getcfa): New function.
23809         (init): Get _Unwind_GetCFA address, use dummy if not found.
23810         (backtrace_helper): In recursion check, also check whether CFA changes.
23811         (__backtrace): Completely initialize arg.
23813         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23814         storing incomplete byte sequence in state object.  Avoid testing for
23815         guaranteed too small input if we know there is enough data available.
23817 2011-05-11  Andreas Schwab  <schwab@redhat.com>
23819         * Makeconfig (+link-pie): Indent.
23820         * Rules (binaries-pie): Define if $(have-fpie) and
23821         $(build-shared).
23822         (binaries-shared): Also filter out $(binaries-pie).
23823         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23824         * nscd/Makefile (others-pie): Add nscd.
23825         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23826         ($(objpfx)nscd): Remove command override.
23827         * login/Makefile (others-pie): Add pt_chown.
23828         ($(objpfx)pt_chown): Remove command override.
23829         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23830         remove command overrides.
23832 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
23834         * libio/tst_putwc.c: Fix error messages.
23836         [BZ #12724]
23837         * libio/fileops.c (_IO_new_file_close_it): Always flush when
23838         currently writing and seek to current position when not.
23839         * libio/Makefile (tests): Add bug-fclose1.
23840         * libio/bug-fclose1.c: New file.
23842 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
23844         [BZ #12511]
23845         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23846         don't set DF_1_NODELETE here.
23847         (do_lookup_x): When entering new entry test for copy relocation
23848         and if necessary set DF_1_NODELETE flag.
23849         * elf/tst-unique4.cc: New file.
23850         * elf/tst-unique4.h: New file.
23851         * elf/tst-unique4lib.cc: New file.
23852         * elf/Makefile: Add rules to build and run tst-unique4.
23853         Patch by Piotr Bury <pbury@goahead.com>.
23855 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
23857         [BZ #12052]
23858         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23860         [BZ #12625]
23861         * misc/mntent_r.c (addmntent): Flush the stream after the output
23863         [BZ #12393]
23864         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23865         (is_trusted_path_normalize): Skip initial colon.  Append slash
23866         to empty buffer.  Duplicate is_trusted_path code but allow
23867         constructed patch to be prefix.
23868         (is_dst): Allow $ORIGIN followed by /.
23869         (_dl_dst_substitute): Correct clearing of check_for_trusted.
23870         Correct testing of result of is_trusted_path_normalize
23871         (decompose_rpath): Fix warning.
23873 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
23875         [BZ #11257]
23876         * grp/initgroups.c (internal_getgrouplist): When we found the service
23877         list through the initgroups entry in nsswitch.conf do not always
23878         continue on a successful lookup.  Don't always use the
23879         __nss_group_database value if it is set.
23880         * nss/nsswitch.conf (initgroups): Change action for successful db
23881         lookup to continue for compatibility.
23883 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
23885         [BZ #11532]
23886         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23887         and CP774 modules.
23888         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23889         and CP774 modules.
23890         * iconvdata/tst-tables.sh: Likewise.
23891         * iconvdata/cp770.c: New file.
23892         * iconvdata/cp771.c: New file.
23893         * iconvdata/cp772.c: New file.
23894         * iconvdata/cp773.c: New file.
23895         * iconvdata/cp774.c: New file.
23896         * iconvdata/testdata/CP770: New file.
23897         * iconvdata/testdata/CP770..UTF8: New file.
23898         * iconvdata/testdata/CP771: New file.
23899         * iconvdata/testdata/CP771..UTF8: New file.
23900         * iconvdata/testdata/CP772: New file.
23901         * iconvdata/testdata/CP772..UTF8: New file.
23902         * iconvdata/testdata/CP773: New file.
23903         * iconvdata/testdata/CP773..UTF8: New file.
23904         * iconvdata/testdata/CP774: New file.
23905         * iconvdata/testdata/CP774..UTF8: New file.
23907         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23908         END CHARMAP line.
23909         * iconvdata/gen-8bit-gap.sh: Likewise.
23910         * iconvdata/gen-8bit.sh: Likewise.
23912         * locale/iso-639.def: Add ary entry.
23914         [BZ #11258]
23915         * locale/C-translit.h.in: Add U20A1 transliteration.
23917         [BZ #12178]
23918         * locale/iso-639.def: Add wae entry.
23919         Patch by Kevin Bortis <bortis@translate-wae.ch>.
23921         [BZ #12545]
23922         * locale/programs/localedef.c (construct_output_path): Use ssize_t
23923         for n.
23925         [BZ #12711]
23926         * locale/C-translit.h.in: Add entry for U20B9.
23927         Patch by pravin.d.s@gmail.com.
23929 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
23931         [BZ #12713]
23932         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23933         ENAMETOOLONG use generic getcwd.
23934         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
23935         in rtld.  Use *stat64.
23936         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23937         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23938         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23939         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23940         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23941         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23942         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23943         __fstatat64 macros.
23944         * include/dirent.h: Add libc_hidden_proto for rewinddir.
23945         * dirent/rewinddir.c: Add libc_hidden_def.
23946         * sysdeps/mach/hurd/rewinddir.c: Likewise.
23947         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
23949         * include/dirent.h (__alloc_dir): Add flags parameter.
23950         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23951         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23952         __alloc_dir.
23953         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
23954         from fdopendir if O_CLOEXEC is already set.
23956 2011-03-15  Alan Modra  <amodra@gmail.com>
23958         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23959         l_tls_firstbyte_offset non-zero.  Save padding offset in
23960         l_tls_firstbyte_offset for later use.
23961         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23962         freeing static tls block.
23964 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
23966         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23967         where #ifdef was intended.  The intent is to prevent ARG_MAX from
23968         being defined by the kernel headers.
23970 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
23972         [BZ #12734]
23973         * resolv/resolv.h: Define RES_NOTLDQUERY.
23974         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23975         no-tld-query and set RES_NOTLDQUERY.
23976         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23977         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23978         modern BIND to search name as TLD unless forbidden.
23980 2011-05-07  Petr Baudis  <pasky@suse.cz>
23981             Ulrich Drepper  <drepper@gmail.com>
23983         [BZ #12393]
23984         * elf/dl-load.c (fillin_rpath): Move trusted path check...
23985         (is_trusted_path): ...to here.
23986         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
23987         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
23988         using is_trusted_path_normalize() in setuid scripts.
23990 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23992         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23993         __BEGIN/__END_DECLS.
23995 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
23997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23998         NSS_STATUS_NOTFOUND if no record was found.
24000 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24002         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24003         (headers-not-in-tirpc): Remove rpc/netdb.h
24004         * resolv/netdb.h: Revert last change.
24006 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24008         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24009         circular dependency between libgcc.a and libc.a.
24011 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24013         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24014         * nis/Makefile: Don't install rpcsvc/*.
24015         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24016         instead of <rpc/types.h>.
24017         (MAXHOSTNAMELEN): Define.
24019 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24021         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24023 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24025         [BZ #12714]
24026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24027         gethostbyname4_r when IPv6 results are possible.
24029 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24031         [BZ #12723]
24032         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24033         _PC_PIPE_BUF handling.
24035 2011-04-30  Bruno Haible  <bruno@clisp.org>
24037         [BZ #12717]
24038         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24039         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24040         to 'int'.
24041         * inet/getnameinfo.c (getnameinfo): Likewise.
24043 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24045         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24046         to groups setting in database lookup.
24047         * nss/nsswitch.conf: Add initgroups entry.
24049 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24051         [BZ #12685]
24052         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24053         mode string.
24054         Patch by Eric Blake <eblake@redhat.com>.
24056 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24058         * sunrpc/Makefile (need-export-routines): Add svc_run.
24059         (routines): Remove svc_run.
24060         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24061         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24062         * sunrpc/svc_run.c (svc_run): Likewise.
24063         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24065 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24067         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24068         problem in reallocation in last patch.
24070 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24072         * sunrpc/Makefile: Move inclusion of Rules.
24074 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24076         * nss/nss_files/files-initgroups.c: New file.
24077         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24078         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24079         _nss_files_initgroups_dyn.
24081 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24083         * elf/elf.h (R_ARM_IRELATIVE): Define.
24085 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24087         * po/ru.po: Update from translation team.
24089 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24091         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24092         dependencies.
24094 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24096         [BZ #12653]
24097         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24098         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24099         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24103 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24105         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24106         differing bytes.
24107         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24108         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24111 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24113         [BZ #12420]
24114         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24115         storing it.
24116         * stdlib/bug-getcontext.c: New file.
24117         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24119 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24121         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24122         instructions into .machine "z9-109".
24123         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24124         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24126 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24128         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24129         between environment variables and auxiliary vector.
24131 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24133         * Makefile: Add rules to build linkobj/libc.so.
24134         * include/libc-symbols.h: Define libc_hidden_nolink.
24135         * include/rpc/auth.h: Mark functions which are to be hidden.
24136         * include/rpc/auth_des.h: Likewise.
24137         * include/rpc/auth_unix.h: Likewise.
24138         * include/rpc/clnt.h: Likewise.
24139         * include/rpc/des_crypt.h: Likewise.
24140         * include/rpc/key_prot.h: Likewise.
24141         * include/rpc/pmap_clnt.h: Likewise.
24142         * include/rpc/pmap_prot.h: Likewise.
24143         * include/rpc/pmap_rmt.h: Likewise.
24144         * include/rpc/rpc_msg.h: Likewise.
24145         * include/rpc/svc.h: Likewise.
24146         * include/rpc/svc_auth.h: Likewise.
24147         * include/rpc/xdr.h: Likewise.
24148         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24149         * nss/Makefile: Likewise.
24150         * sunrpc/Makefile: Don't install headers.  Build library with normal
24151         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24152         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24153         for the compat linking library.  Remove use of INTDEF/INTUSE.
24154         * sunrpc/auth_none.c: Likewise.
24155         * sunrpc/auth_unix.c: Likewise.
24156         * sunrpc/authdes_prot.c: Likewise.
24157         * sunrpc/authuxprot.c: Likewise.
24158         * sunrpc/clnt_gen.c: Likewise.
24159         * sunrpc/clnt_perr.c: Likewise.
24160         * sunrpc/clnt_raw.c: Likewise.
24161         * sunrpc/clnt_simp.c: Likewise.
24162         * sunrpc/clnt_tcp.c: Likewise.
24163         * sunrpc/clnt_udp.c: Likewise.
24164         * sunrpc/clnt_unix.c: Likewise.
24165         * sunrpc/des_crypt.c: Likewise.
24166         * sunrpc/des_soft.c: Likewise.
24167         * sunrpc/get_myaddr.c: Likewise.
24168         * sunrpc/key_call.c: Likewise.
24169         * sunrpc/key_prot.c: Likewise.
24170         * sunrpc/netname.c: Likewise.
24171         * sunrpc/pm_getmaps.c: Likewise.
24172         * sunrpc/pm_getport.c: Likewise.
24173         * sunrpc/pmap_clnt.c: Likewise.
24174         * sunrpc/pmap_prot.c: Likewise.
24175         * sunrpc/pmap_prot2.c: Likewise.
24176         * sunrpc/pmap_rmt.c: Likewise.
24177         * sunrpc/publickey.c: Likewise.
24178         * sunrpc/rpc_cmsg.c: Likewise.
24179         * sunrpc/rpc_common.c: Likewise.
24180         * sunrpc/rpc_dtable.c: Likewise.
24181         * sunrpc/rpc_prot.c: Likewise.
24182         * sunrpc/rpc_thread.c: Likewise.
24183         * sunrpc/rtime.c: Likewise.
24184         * sunrpc/svc.c: Likewise.
24185         * sunrpc/svc_auth.c: Likewise.
24186         * sunrpc/svc_authux.c: Likewise.
24187         * sunrpc/svc_raw.c: Likewise.
24188         * sunrpc/svc_run.c: Likewise.
24189         * sunrpc/svc_simple.c: Likewise.
24190         * sunrpc/svc_tcp.c: Likewise.
24191         * sunrpc/svc_udp.c: Likewise.
24192         * sunrpc/svc_unix.c: Likewise.
24193         * sunrpc/svcauth_des.c: Likewise.
24194         * sunrpc/xcrypt.c: Likewise.
24195         * sunrpc/xdr.c: Likewise.
24196         * sunrpc/xdr_array.c: Likewise.
24197         * sunrpc/xdr_float.c: Likewise.
24198         * sunrpc/xdr_intXX_t.c: Likewise.
24199         * sunrpc/xdr_mem.c: Likewise.
24200         * sunrpc/xdr_rec.c: Likewise.
24201         * sunrpc/xdr_ref.c: Likewise.
24202         * sunrpc/xdr_sizeof.c: Likewise.
24203         * sunrpc/xdr_stdio.c: Likewise.
24205 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24207         [BZ #12650]
24208         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24209         * sysdeps/ia64/dl-tls.h: Likewise.
24210         * sysdeps/powerpc/dl-tls.h: Likewise.
24211         * sysdeps/s390/dl-tls.h: Likewise.
24212         * sysdeps/sh/dl-tls.h: Likewise.
24213         * sysdeps/sparc/dl-tls.h: Likewise.
24214         * sysdeps/x86_64/dl-tls.h: Likewise.
24215         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24217 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24219         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24220         rpath element also skip the following colon.
24221         (expand_dynamic_string_token): Add is_path parameter and pass
24222         down to DL_DST_REQUIRED and _dl_dst_substitute.
24223         (decompose_rpath): Call expand_dynamic_string_token with
24224         non-zero is_path.  Ignore empty rpaths.
24225         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24226         with zero is_path.
24228 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24231         Make cancelable.
24233 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24235         [BZ #12655]
24236         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24237         Patch by Filipe David Manana <fdmanana@apache.org>.
24239 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24241         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24242         Maintain aligned stack.
24243         (CHECK_RSP): Remove unused macro.
24245 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24247         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24248         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24250 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24252         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24254         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24256 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24258         [BZ #12518]
24259         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24260         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24261         * sysdeps/x86_64/memmove.c: New file.
24262         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24263         (memcpy): Renamed to ...
24264         (__new_memcpy): This.
24265         (memcpy): Provide GLIBC_2_14 memcpy.
24266         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24267         (memcpy): Provide GLIBC_2_2_5 memcpy.
24269 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24271         [BZ #12631]
24272         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24274 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24276         * misc/syncfs.c: New file.
24277         * misc/Makefile (routines): Add syncfs.
24278         * posix/unistd.h: Declare syncfs.
24279         * sysdeps/unix/syscalls.list: Add syncfs.
24281 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24283         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24284         open_by_handle_at.
24285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24287         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24288         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24289         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24290         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24293 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24295         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24296         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24297         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24301         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24303         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24304         sync_file_range.c with -fexceptions.
24305         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24306         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24307         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24308         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24309         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24310         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24312         sync_file_range as cancellation point
24313         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
24314         now a wrapper around __call_sync_file_range with cancellation handling.
24315         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24316         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
24317         function name to __call_sync_file_range.
24318         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24319         Add call_sync_file_range.
24321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24324         bits/timex.h.
24326 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24328         * iconv/iconv.h: Fix typo in comment.
24329         * io/fcntl.h: Likewise.
24330         * libio/stdio.h: Likewise.
24331         * posix/spawn.h: Likewise.
24332         * posix/unistd.h: Likewise.
24333         * stdlib/stdlib.h: Likewise.
24334         * time/time.h: Likewise.
24335         * wcsmbs/wchar.h: Likewise.
24337         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24338         open_by_handle): Add.
24339         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24340         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
24341         Augment a few comments.
24342         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24344         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24347         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24348         open_by_handle.
24350         * io/fcntl.h (AT_EMPTY_PATH): Define.
24352 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
24354         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24355         * sysdeps/unix/sysv/linux/bits/time.h: New file.
24356         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24357         to...
24358         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
24359         * Versions.def: Add GLIBC_2.14.
24360         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24361         Export.
24363 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
24365         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24366         round counter.
24367         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24369 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24371         [BZ #12597]
24372         * string/test-strncmp.c (do_page_test): New function.
24373         (check2): Likewise.
24374         (test_main): Call check2.
24375         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24377 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
24379         [BZ #12587]
24380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24381         Handle cache information in CPU leaf 4.
24382         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24384 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
24386         [BZ #12583]
24387         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24388         character representation.
24389         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24391 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
24393         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24394         END(__isnan) to END(__isnanf) to match function entry point/label
24395         EALIGN(__isnanf,...).
24397 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
24399         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24401 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
24403         [BZ #12510]
24404         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24405         copy from the symbol referenced in the relocation to initialize the
24406         used variable.
24407         Patch by Piotr Bury <pbury@goahead.com>.
24408         * elf/Makefile: Add rules to build and tst-unique3.
24409         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24410         * elf/tst-unique3.cc: New file.
24411         * elf/tst-unique3.h: New file.
24412         * elf/tst-unique3lib.cc: New file.
24413         * elf/tst-unique3lib2.cc: New file.
24415         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24417 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
24419         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24420         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
24421         to _start.
24423 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
24425         * elf/dl-load.c (_dl_map_object): If we are looking for the first
24426         to-be-loaded object along a path to loader is ld.so.
24428 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24429             Ulrich Drepper  <drepper@gmail.com>
24431         * sysdeps/x86_64/memset.S: After aligning destination, code
24432         branches to different locations depending on the value of
24433         misalignment, when multiarch is enabled. Fix this.
24435 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24437         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24438         Set _x86_64_preferred_memory_instruction for AMD processsors.
24439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24440         Set bit_Prefer_SSE_for_memop for AMD processors.
24442 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
24444         * libio/fmemopen.c (fmemopen): Optimize a bit.
24446 2011-03-03  Andreas Schwab  <schwab@redhat.com>
24448         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24450 2011-03-03  Roland McGrath  <roland@redhat.com>
24452         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24454 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
24456         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24457         __bzero_ultra1 instead of __memset_ultra1.
24459 2011-02-23  Andreas Schwab  <schwab@redhat.com>
24460             Ulrich Drepper  <drepper@gmail.com>
24462         [BZ #12509]
24463         * include/link.h (struct link_map): Add l_orig_initfini.
24464         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24465         returning unsuccessfully.
24466         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24467         close of a file loaded at startup, restore the original l_initfini
24468         list.
24469         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24470         list, store the pointer.
24471         * elf/Makefile ($(objpfx)noload-mem): New rule.
24472         (noload-ENV): Define.
24473         (tests): Add $(objpfx)noload-mem.
24474         * elf/noload.c: Include <memcheck.h>.
24475         (main): Call mtrace.  Close all opened handles.
24477 2011-02-17  Andreas Schwab  <schwab@redhat.com>
24479         [BZ #12454]
24480         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24481         dependencies are missing.
24483 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24485         Fix __if_freereq crash: Unlike the generic version which uses free,
24486         Hurd needs munmap.
24487         * sysdeps/mach/hurd/ifreq.h: New file.
24489 2011-01-27  Petr Baudis  <pasky@suse.cz>
24490             Ulrich Drepper  <drepper@gmail.com>
24492         [BZ 12445]#
24493         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24494         to extend_alloca().
24495         * stdio-common/bug23.c: New file.
24496         * stdio-common/Makefile (tests): Add bug23.
24498 2010-09-28  Andreas Schwab  <schwab@redhat.com>
24499             Ulrich Drepper  <drepper@gmail.com>
24501         [BZ #12489]
24502         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24503         before performing relro protection.  At old place add assertion
24504         to make sure nothing changed.
24506 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
24507             Glauber de Oliveira Costa  <glommer@gmail.com>
24509         * elf/elf.h: Add new ARM TLS relocs.
24511 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24514         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24515         cast from r3.
24516         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
24517         'tests' variable.
24518         * sysdeps/wordsize-64/tst-writev.c: New file.
24520 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
24522         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24523         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24524         insns in _dl_start to prevent a TOC reference before relocs are
24525         resolved.
24527 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
24529         [BZ #12469]
24530         * Makeconfig: Remove RANLIB definition.
24531         * Makerules: Don't use RANLIB.
24532         * aclocal.m4: Remove ranlib test.
24533         * configure.in: No need to check for ranlib.
24534         * elf/rtld-Rules: Don't use RANLIB.
24536 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24538         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24539         protection macro.
24540         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24541         inclusion protection macro.
24543         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24544         SIGRTMIN and SIGRTMAX and print information in that case only when
24545         SIGRTMIN is defined.
24547 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
24549         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24550         arginfo fn returning -1.
24552         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24553         and thousands string is zero terminated.
24555 2011-02-03  Andreas Schwab  <schwab@redhat.com>
24557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24558         sysdeps/unix/sysv/linux/bits/socket.h.
24560 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24562         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24563         (__CPU_COUNT): Remove old macros.
24564         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24565         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24566         (__CPU_ALLOC, __CPU_FREE): Add macros.
24567         (__sched_cpualloc, __sched_cpufree): Add declarations.
24569 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
24571         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24572         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24573         * nscd/aicache.c (addhstaiX): Return timeout of added value.
24574         (readdhstai): Return value of addhstaiX call.
24575         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24576         (addgrbyX): Return value returned by cache_addgr.
24577         (readdgrbyname): Return value returned by addgrbyX.
24578         (readdgrbygid): Likewise.
24579         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24580         (addpwbyX): Return value returned by cache_addpw.
24581         (readdpwbyname): Return value returned by addhstbyX.
24582         (readdpwbyuid): Likewise.
24583         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24584         (addservbyX): Return value returned by cache_addserv.
24585         (readdservbyname): Return value returned by addservbyX:
24586         (readdservbyport): Likewise.
24587         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24588         (addhstbyX): Return value returned by cache_addhst.
24589         (readdhstbyname): Return value returned by addhstbyX.
24590         (readdhstbyaddr): Likewise.
24591         (readdhstbynamev6): Likewise.
24592         (readdhstbyaddrv6): Likewise.
24593         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24594         (readdinitgroups): Return value returned by addinitgroupsX.
24595         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24596         (prune_cache): Keep track of timeout value of re-added entries.
24597         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24598         * nscd/nscd.h: Adjust prototypes of readd* functions.
24600 2011-02-04  Roland McGrath  <roland@redhat.com>
24602         * nis/nis_server.c (nis_servstate): Use the right name for 0.
24603         (nis_stats): Likewise.
24604         * nis/nis_modify.c (nis_modify): Likewise.
24605         * nis/nis_remove.c (nis_remove): Likewise.
24606         * nis/nis_add.c (nis_add): Likewise.
24608         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24610         * posix/fnmatch_loop.c: Add some consts.
24612         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24614 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
24616         [BZ #12460]
24617         * config.make.in (config-cflags-novzeroupper): Define.
24618         * configure.in: Substitute libc_cv_cc_novzeroupper.
24619         * elf/Makefile (AVX-CFLAGS): Define.
24620         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24621         (CFLAGS-tst-auditmod4a.c): Likewise.
24622         (CFLAGS-tst-auditmod4b.c): Likewise.
24623         (CFLAGS-tst-auditmod6b.c): Likewise.
24624         (CFLAGS-tst-auditmod6c.c): Likewise.
24625         (CFLAGS-tst-auditmod7b.c): Likewise.
24626         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24628 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
24630         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24631         function to the callback.
24632         Patch partly by Jiri Olsa <jolsa@redhat.com>.
24634 2011-02-02  Andreas Schwab  <schwab@redhat.com>
24636         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24637         of errno.
24639 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
24641         [BZ #11724]
24642         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24643         of constructors.
24644         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24645         of destructors.
24646         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24648         [BZ #11724]
24649         * elf/Makefile: Add rules to build and run new test.
24650         * elf/tst-initorder.c: New file.
24651         * elf/tst-initorder.exp: New file.
24652         * elf/tst-initordera1.c: New file.
24653         * elf/tst-initordera2.c: New file.
24654         * elf/tst-initordera3.c: New file.
24655         * elf/tst-initordera4.c: New file.
24656         * elf/tst-initorderb1.c: New file.
24657         * elf/tst-initorderb2.c: New file.
24658         * elf/tst-order-a1.c: New file.
24659         * elf/tst-order-a2.c: New file.
24660         * elf/tst-order-a3.c: New file.
24661         * elf/tst-order-a4.c: New file.
24662         * elf/tst-order-b1.c: New file.
24663         * elf/tst-order-b2.c: New file.
24664         * elf/tst-order-main.c: New file.
24665         New test case by George Gensure <werkt0@gmail.com>.
24667 2010-10-01  Andreas Schwab  <schwab@redhat.com>
24669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24670         decoding ACE if AI_CANONIDN.
24672 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
24674         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24676 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
24678         * version.h (RELEASE): Bump for 2.13 release.
24679         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24681         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24683         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24684         MADV_NOHUGEPAGE.
24685         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24686         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24688         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24689         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24690         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24692         * posix/getconf.c: Update copyright year.
24693         * catgets/gencat.c: Likewise.
24694         * csu/version.c: Likewise.
24695         * debug/catchsegv.sh: Likewise.
24696         * debug/xtrace.sh: Likewise.
24697         * elf/ldconfig.c: Likewise.
24698         * elf/ldd.bash.in: Likewise.
24699         * elf/sprof.c (print_version): Likewise.
24700         * iconv/iconv_prog.c: Likewise.
24701         * iconv/iconvconfig.c: Likewise.
24702         * locale/programs/locale.c: Likewise.
24703         * locale/programs/localedef.c: Likewise.
24704         * malloc/memusage.sh: Likewise.
24705         * malloc/mtrace.pl: Likewise.
24706         * nscd/nscd.c (print_version): Likewise.
24707         * nss/getent.c: Likewise.
24709         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24710         PF_CAIF, and PF_ALG.
24711         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24713 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
24715         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24716         (modules-names): Use them.
24717         (ifunc-test-modules, ifunc-pie-tests): Define.
24718         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24719         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24720         (test-extras): Likewise.
24721         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24722         $(compile-command.c).
24723         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24724         (all-built-dso): Define.
24725         (check-textrel.out, check-execstack.out): Depend on it.
24727         * configure.in: Don't override --enable-multi-arch.
24729 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
24731         [BZ #6812]
24732         * nscd/hstcache.c (tryagain): Define.
24733         (cache_addhst): Return tryagain not notfound for temporary errors.
24734         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24735         failed.
24737 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
24739         [BZ #10563]
24740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24741         to make the syscall.
24742         * sysdeps/unix/sysv/linux/setgroups.c: New file.
24744         [BZ #12378]
24745         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24746         and fall back to matching as normal character if the string ends before
24747         the matching ']' is found.  This is what POSIX requires.
24748         * posix/testfnm.c: Adjust test result.
24749         * posix/globtest.sh: Adjust test result.  Add new test.
24750         * posix/tst-fnmatch.input: Likewise.
24751         * posix/tst-fnmatch2.c: Add new test.
24753 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
24755         * elf/Makefile (check-execstack): Revert last change.  Depend on
24756         check-execstack.h.
24757         (check-execstack.h): New target.
24758         (generated): Add check-execstack.h.
24759         * elf/check-execstack.c: Include "check-execstack.h".
24760         (main): Revert last change.
24761         (handle_file): Return zero if GNU_STACK is absent and
24762         DEFAULT_STACK_PERMS doesn't include PF_X.
24764 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
24766         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24767         in child fails because the descriptor is already closed.
24768         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24769         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24770         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24772         [BZ #12397]
24773         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24774         syscall.
24776         [BZ #10484]
24777         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24778         temporary buffer used to handle multi lookups locally.
24779         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24781 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24783         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24784         loader is ld.so.
24786 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
24788         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24789         alignment for SSE2.
24791 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24793         [BZ #12394]
24794         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24795         characters.  When rounding increased number of integer digits recompute
24796         number of groups.
24797         * stdio-common/tst-grouping.c: New file.
24798         * stdio-common/Makefile: Add rules to build and run tst-grouping.
24800 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
24802         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24803         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
24805         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24806         void.
24807         * bits/select.h: Likewise.
24809 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
24811         * po/ja.po: Update from translation team.
24813 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
24815         [BZ #11155]
24816         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24817         implementation just like for lxstat, fxstatat, et al.
24819 2010-12-27  Jim Meyering  <meyering@redhat.com>
24821         [BZ #12348]
24822         * posix/regexec.c (build_trtable): Return failure indication upon
24823         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
24825 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
24827         [BZ #12201]
24828         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24829         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24830         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24831         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24833         [BZ #12207]
24834         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24836         [BZ #12204]
24837         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24838         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24840 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24842         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24843         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24844         script has SORT_BY_INIT_PRIORITY.
24845         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24846         NO_CTORS_DTORS_SECTIONS is defined.
24847         * elf/soinit.c: Likewise.
24848         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24849         NO_CTORS_DTORS_SECTIONS is defined.
24850         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24851         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24852         * sysdeps/sh/init-first.c: Likewise.
24853         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24855 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
24857         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24858         always use the slow path.
24860 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
24862         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24863         similar rule which adds the sysdep directories to the header search in
24864         order to pick up the correct platform stackinfo.h.
24865         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24866         perform test if it is, otherwise return successfully without testing.
24867         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24868         DEFAULT_STACK_PERMS define in stackinfo.h.
24869         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24870         defined in stackinfo.h.
24871         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24872         DEFAULT_STACK_PERMS defined in stackinfo.h.
24873         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24874         * sysdeps/ia64/stackinfo.h: Likewise.
24875         * sysdeps/s390/stackinfo.h: Likewise.
24876         * sysdeps/sh/stackinfo.h: Likewise.
24877         * sysdeps/sparc/stackinfo.h: Likewise.
24878         * sysdeps/x86_64/stackinfo.h: Likewise.
24879         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24880         PF_X for powerpc64.  Retain PF_X for powerpc32.
24882 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
24884         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24885         accurately.
24886         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24887         GETDENTS_64BIT_ALIGNED.
24889 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
24891         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24893 2010-12-10  Andreas Schwab  <schwab@redhat.com>
24895         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24896         _GNU_SOURCE.
24898         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24899         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24900         Remove __restrict.
24901         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24902         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24904 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
24906         [BZ #11655]
24907         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24908         are initialized.
24910 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
24912         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24914 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
24916         * po/it.po: Update from translation team.
24918 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24920         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24921         unused codes.
24923 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
24925         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24927 2010-11-24  Andreas Schwab  <schwab@redhat.com>
24929         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24930         specially.
24931         (gaih_getanswer_slice): Likewise.
24933 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
24935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24937 2010-05-31  Petr Baudis  <pasky@suse.cz>
24939         [BZ #11149]
24940         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24941         silently even in the chroot mode.
24943 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
24945         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24946         last patch a bit.  Pretty printing
24948 2010-05-31  Petr Baudis <pasky@suse.cz>
24950         [BZ #10085]
24951         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24952         initialization of skip_initgroups_dyn.
24954 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
24956         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24957         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24959 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
24961         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24963 2010-11-11  Andreas Schwab  <schwab@redhat.com>
24965         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24966         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24967         (tst-fnmatch-ENV): Set MALLOC_TRACE.
24968         ($(objpfx)tst-fnmatch-mem): New rule.
24969         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24970         * posix/tst-fnmatch.c (main): Call mtrace.
24972 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
24974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24975         Support Intel processor model 6 and model 0x2c.
24977 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
24979         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24980           signed comparison.
24982 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
24984         [BZ #12205]
24985         * string/test-strncasecmp.c (check_result): New function.
24986         (do_one_test): Use it.
24987         (check1): New function.
24988         (test_main): Use it.
24989         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24990         Support strcasecmp and strncasecmp.
24992 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
24994         [BZ #12194]
24995         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24996         * sysdeps/x86_64/bits/byteswap.h: Likewise.
24998 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25000         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25001         IFUNC support.
25002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25003         memset-x86-64.
25004         * sysdeps/x86_64/multiarch/bzero.S: New file.
25005         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25006         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25007         * sysdeps/x86_64/multiarch/memset.S: New file.
25008         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25010         Set bit_Prefer_SSE_for_memop for Intel processors.
25011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25012         Define.
25013         (index_Prefer_SSE_for_memop): Define.
25014         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25016 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25018         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25019         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25021 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25023         [BZ #12191]
25024         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25025         (__x86_64_raw_data_cache_size_half): Likewise.
25026         (__x86_64_raw_shared_cache_size): Likewise.
25027         (__x86_64_raw_shared_cache_size_half): Likewise.
25029         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25030         (__x86_64_raw_data_cache_size_half): Likewise.
25031         (__x86_64_raw_shared_cache_size): Likewise.
25032         (__x86_64_raw_shared_cache_size_half): Likewise.
25033         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25034         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25035         and __x86_64_raw_shared_cache_size_half.  Round
25036         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25037         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25038         to multiple of 256 bytes.
25040 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25042         [BZ #12167]
25043         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25044         of inacessible symlinks.  Verify result of symlink before returning it.
25045         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25046         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25048 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25050         * math/math.h (isinf): Fix typo in comment.
25052 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25054         * po/da.po: Update from translation team.
25056 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25058         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25059         is added to the list.
25061 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25062             Ulrich Drepper  <drepper@gmail.com>
25064         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25065         the global list here.  Move code to...
25066         (_dl_add_to_namespace_list): ...here.  New function.
25067         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25068         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25069         * elf/dl-load.c (lose): Don't remove the element from the list.
25070         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25071         (_dl_map_object): Likewise.
25073 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25075         [BZ #12159]
25076         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25077         into all bytes of SSE register.
25078         Patch by Richard Li <richardpku@gmail.com>.
25080 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25082         [BZ #12140]
25083         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25084         perturbing.
25086 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25088         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25089         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25090         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25091         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25093         submachine.
25094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25096 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25098         * include/dlfcn.h (__RTLD_SECURE): Define.
25099         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25100         mode & __RTLD_SECURE instead.
25101         (open_path): Rename preloaded parameter to secure.
25102         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25103         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25104         * elf/dl-deps.c (openaux): Likewise.
25105         * elf/rtld.c (struct map_args): Remove is_preloaded.
25106         (map_doit): Don't use it.
25107         (dl_main): Likewise.
25108         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25109         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25111 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25113         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25114         (sysd-rules-targets): Remove duplicates.
25115         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25116         rtld-%.$o dependency.
25118 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25120         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25121         _dl_map_object do it.
25123 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25125         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25126         fast fma builtins, define the macros in the C99 standard.
25127         (FP_FAST_FMAF): Likewise.
25128         (FP_FAST_FMAL): Likewise.
25129         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25131         * bits/mathdef.h: Update copyright year.
25132         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25134 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25136         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25137         builtins, define the macros in the C99 standard.
25138         (FP_FAST_FMAF): Likewise.
25139         (FP_FAST_FMAL): Likewise.
25140         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25141         multiply/add.
25142         (FP_FAST_FMAF): Likewise.
25144 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25146         [BZ #3268]
25147         * math/libm-test.inc (fma_test): Some new testcases.
25148         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25149         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25150         y and infinite z.  Do multiplication by C already in long double.
25151         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25153         y and infinite z.  Do bitwise or of inexact bit into u.d.
25154         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25155         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25156         * sysdeps/i386/fpu/s_fma.S: Removed.
25157         * sysdeps/i386/fpu/s_fmal.S: Removed.
25159 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25161         [BZ #3268]
25162         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25164         computation is not scheduled after fetestexcept.  Fix value
25165         of minimum denormal long double.
25167 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25169         [BZ #3268]
25170         * math/libm-test.inc (fma_test): Add some more tests.
25171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25172         correctly.
25174 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25176         * scripts/data/localplt-s390-linux-gnu.data: New file.
25177         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25179 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25181         [BZ #3268]
25182         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25183         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25184         instead of dbl-64.
25185         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25186         inlines.
25187         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25189         if one of x and y is very large and the other is subnormal.
25190         * sysdeps/s390/fpu/s_fmaf.c: New file.
25191         * sysdeps/s390/fpu/s_fma.c: New file.
25192         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25193         * sysdeps/powerpc/fpu/s_fma.S: New file.
25194         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25195         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25196         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25198 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25200         [BZ #3268]
25201         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25202         fma tests.
25203         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25204         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25205         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25206         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25207         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25208         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25209         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25211 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25213         [BZ #12078]
25214         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25215         * posix/bug-regex31.input: Add test case.
25217 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25219         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25220         * posix/bug-regex31.input: New file.
25222         [BZ #12078]
25223         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25224         (parse_sub_exp): Fix last change, use postorder.
25226         * posix/bug-regex31.c: New file.
25227         * posix/Makefile: Add rules to build and run bug-regex31.
25229         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25231         [BZ #12078]
25232         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25234         [BZ #12108]
25235         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25236         to have entries in sys_siglist.
25238         [BZ #12093]
25239         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25240         be NULL.
25242 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25244         [BZ #3268]
25245         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25246         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25247         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25248         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25249         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25250         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25251         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25252         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25253         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25254         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25255         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25256         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25257         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25258         * math/ftestexcept.c (fetestexcept): Likewise.
25259         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25260         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25261         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25262         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25263         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25264         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25265         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25267 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25269         [BZ #12107]
25270         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25271         newline.
25273 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25275         * string/bug-strstr1.c: New file.
25276         * string/Makefile: Add rules to build and run bug-strstr1.
25278 2010-10-05  Eric Blake  <eblake@redhat.com>
25280         [BZ #12092]
25281         * string/str-two-way.h (two_way_long_needle): Always clear memory
25282         when skipping input due to the shift table.
25284 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25286         [BZ #12005]
25287         * malloc/mcheck.c: Handle large requests.
25289         [BZ #12077]
25290         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25291         for strncmp and strncasecmp.
25292         * string/stratcliff.c: Add tests for strcmp and strncmp.
25293         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25295 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25297         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25298         __set_fpscr.
25300 2010-09-30  Andreas Jaeger  <aj@suse.de>
25302         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25303         (CGROUP_SUPER_MAGIC): Define.
25304         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25305         Handle btrfs and cgroup file systems.
25306         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25307         Likewise.
25309 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25311         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25312         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25314 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25316         [BZ #12067]
25317         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25318         trying to locate the ELF header.
25320 2010-09-27  Andreas Schwab  <schwab@redhat.com>
25322         [BZ #11611]
25323         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25324         Mask out sign-bit copies when constructing f_fsid.
25326 2010-09-24  Petr Baudis <pasky@suse.cz>
25328         * debug/stack_chk_fail_local.c: Add missing licence exception.
25329         * debug/warning-nop.c: Likewise.
25331 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
25333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25334         implementing getdents64 using getdents syscall, set d_type if
25335         __ASSUME_GETDENTS32_D_TYPE.
25337 2010-09-16  Andreas Schwab  <schwab@redhat.com>
25339         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25340         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25342 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
25344         [BZ #12037]
25345         * posix/unistd.h: Undo change of feature selection for ftruncate from
25346         2010-01-11.
25348 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
25350         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25351         detection.
25353 2010-09-20  Andreas Schwab  <schwab@redhat.com>
25355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25356         fanotify_mark.
25357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25359 2010-09-14  Andreas Schwab  <schwab@redhat.com>
25361         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25362         variables after CHECK_SP call.
25363         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25365 2010-09-13  Andreas Schwab  <schwab@redhat.com>
25366             Ulrich Drepper  <drepper@redhat.com>
25368         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25369         re-relocationg ld.so.
25370         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25371         _dl_init_paths call.
25372         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
25373         here anymore.
25375 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
25377         * resolv/res_init.c (__res_vinit): Count the default server we added.
25379 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
25380             Ulrich Drepper  <drepper@redhat.com>
25382         [BZ #11968]
25383         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25384         (____longjmp_chk): Use %ebx for saving value across system call.
25385         Add unwind info.
25387 2010-09-06  Andreas Schwab  <schwab@redhat.com>
25389         * manual/Makefile: Don't mix pattern rules with normal rules.
25391 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25393         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25394         operation.
25395         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25396         * libio/iofopncook.c (_IO_cookie_init): Likewise.
25397         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25398         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25400         Likewise.
25402 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
25404         [BZ #11979]
25405         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25406         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25408 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
25410         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25411         * sysdeps/x86_64/addmul_1.S: Likewise.
25412         * sysdeps/x86_64/lshift.S: Likewise.
25413         * sysdeps/x86_64/mul_1.S: Likewise.
25414         * sysdeps/x86_64/rshift.S: Likewise.
25415         * sysdeps/x86_64/sub_n.S: Likewise.
25416         * sysdeps/x86_64/submul_1.S: Likewise.
25418 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25420         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25421         Define __sched_param instead of SCHED_* and sched_param when
25422         <bits/sched.h> is included with __need_schedparam defined.
25423         * bits/sched.h [__need_schedparam]
25424         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25425         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25426         (__defined_schedparam): Define to 1.
25427         (__sched_param): New structure, identical to sched_param.
25428         (__need_schedparam): Undefine.
25430 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
25432         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25433         (epoll_create1): Declare.
25435         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25437 2010-08-31  Andreas Schwab  <schwab@redhat.com>
25439         [BZ #7066]
25440         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25441         shifting retval into place.
25443 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
25445         * nis/rpcsvc/nis.h: Update copyright notice.
25446         * nis/rpcsvc/nis.x: Likewise.
25447         * nis/rpcsvc/nis_callback.h: Likewise.
25448         * nis/rpcsvc/nis_callback.x: Likewise.
25449         * nis/rpcsvc/nis_object.x: Likewise.
25450         * nis/rpcsvc/nis_tags.h: Likewise.
25451         * nis/rpcsvc/yp.h: Likewise.
25452         * nis/rpcsvc/yp.x: Likewise.
25453         * nis/rpcsvc/ypupd.h: Likewise.
25454         * nis/yp_xdr.c: Likewise.
25455         * nis/ypupdate_xdr.c: Likewise.
25457         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
25458         mainly the body of pmap_getport.  Add parameters to specify timeouts.
25459         (pmap_getport): Use __libc_rpc_getport.
25460         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25461         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25462         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25464 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
25466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25467         fanotify_mark.
25469 2010-08-27  Roland McGrath  <roland@redhat.com>
25471         * sysdeps/i386/i686/multiarch/Makefile
25472         (CFLAGS-varshift.c): New variable.
25474 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
25476         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25477         * sysdeps/i386/i686/multiarch/varshift.c: New file.
25479         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25481         * sysdeps/x86_64/strlen.S: Minimal code improvement.
25483 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25485         * sysdeps/x86_64/strlen.S: Unroll the loop.
25486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25487         strlen-sse2 strlen-sse2-bsf.
25488         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25489         __strlen_no_bsf if bit_Slow_BSF is set.
25490         (__strlen_sse42): Removed.
25491         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25492         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25494 2010-08-25  Roland McGrath  <roland@redhat.com>
25496         * sysdeps/x86_64/multiarch/varshift.S: File removed.
25497         * sysdeps/x86_64/multiarch/varshift.c: New file.
25498         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25499         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25500         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25501         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25503 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25506         strlen-sse2 strlen-sse2-bsf.
25507         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25508         __strlen_sse2_bsf if bit_Slow_BSF is unset.
25509         (__strlen_sse2): Removed.
25510         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25513         bit_Slow_BSF for Atom.
25514         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25515         (index_Slow_BSF): Define.
25516         (HAS_SLOW_BSF): Define.
25518 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
25520         [BZ #10851]
25521         * resolv/res_init.c (__res_vinit): When no server address at all
25522         is given default to loopback.
25524 2010-08-24  Roland McGrath  <roland@redhat.com>
25526         * configure.in: Remove config-name.h generation.
25527         * configure: Regenerated.
25528         * config-name.in: File removed.
25529         * scripts/config-uname.sh: New file.
25530         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25531         ($(objdir)config-name.h): New target.
25533         * sunrpc/rpc_parse.h: Avoid nested comment.
25535 2010-08-24  Richard Henderson  <rth@redhat.com>
25536             Ulrich Drepper  <drepper@redhat.com>
25537             H.J. Lu  <hongjiu.lu@intel.com>
25539         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25541         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25542         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
25543         _mm_alignr_epi8 with _mm_loadu_si128.
25544         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25545         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25546         (__m128i_shift_right): Removed.
25547         * sysdeps/i386/i686/multiarch/varshift.h: New file.
25548         * sysdeps/i386/i686/multiarch/varshift.S: New file.
25549         * sysdeps/x86_64/multiarch/varshift.h: New file.
25550         * sysdeps/x86_64/multiarch/varshift.S: New file.
25552 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
25554         * configure.in: Move assembler checks to before sysdep dir checking.
25556 2010-08-20  Petr Baudis  <pasky@suse.cz>
25558         * LICENSES: Sync the sunrpc license.
25560 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
25562         * sunrpc/auth_des.c: Update copyright notice once again.
25563         * sunrpc/auth_none.c: Likewise.
25564         * sunrpc/auth_unix.c: Likewise.
25565         * sunrpc/authdes_prot.c: Likewise.
25566         * sunrpc/authuxprot.c: Likewise.
25567         * sunrpc/bindrsvprt.c: Likewise.
25568         * sunrpc/clnt_gen.c: Likewise.
25569         * sunrpc/clnt_perr.c: Likewise.
25570         * sunrpc/clnt_raw.c: Likewise.
25571         * sunrpc/clnt_simp.c: Likewise.
25572         * sunrpc/clnt_tcp.c: Likewise.
25573         * sunrpc/clnt_udp.c: Likewise.
25574         * sunrpc/clnt_unix.c: Likewise.
25575         * sunrpc/des_crypt.c: Likewise.
25576         * sunrpc/des_soft.c: Likewise.
25577         * sunrpc/get_myaddr.c: Likewise.
25578         * sunrpc/getrpcport.c: Likewise.
25579         * sunrpc/key_call.c: Likewise.
25580         * sunrpc/key_prot.c: Likewise.
25581         * sunrpc/openchild.c: Likewise.
25582         * sunrpc/pm_getmaps.c: Likewise.
25583         * sunrpc/pm_getport.c: Likewise.
25584         * sunrpc/pmap_clnt.c: Likewise.
25585         * sunrpc/pmap_prot.c: Likewise.
25586         * sunrpc/pmap_prot2.c: Likewise.
25587         * sunrpc/pmap_rmt.c: Likewise.
25588         * sunrpc/rpc/auth.h: Likewise.
25589         * sunrpc/rpc/auth_unix.h: Likewise.
25590         * sunrpc/rpc/clnt.h: Likewise.
25591         * sunrpc/rpc/des_crypt.h: Likewise.
25592         * sunrpc/rpc/key_prot.h: Likewise.
25593         * sunrpc/rpc/netdb.h: Likewise.
25594         * sunrpc/rpc/pmap_clnt.h: Likewise.
25595         * sunrpc/rpc/pmap_prot.h: Likewise.
25596         * sunrpc/rpc/pmap_rmt.h: Likewise.
25597         * sunrpc/rpc/rpc.h: Likewise.
25598         * sunrpc/rpc/rpc_des.h: Likewise.
25599         * sunrpc/rpc/rpc_msg.h: Likewise.
25600         * sunrpc/rpc/svc.h: Likewise.
25601         * sunrpc/rpc/svc_auth.h: Likewise.
25602         * sunrpc/rpc/types.h: Likewise.
25603         * sunrpc/rpc/xdr.h: Likewise.
25604         * sunrpc/rpc_clntout.c: Likewise.
25605         * sunrpc/rpc_cmsg.c: Likewise.
25606         * sunrpc/rpc_common.c: Likewise.
25607         * sunrpc/rpc_cout.c: Likewise.
25608         * sunrpc/rpc_dtable.c: Likewise.
25609         * sunrpc/rpc_hout.c: Likewise.
25610         * sunrpc/rpc_main.c: Likewise.
25611         * sunrpc/rpc_parse.c: Likewise.
25612         * sunrpc/rpc_parse.h: Likewise.
25613         * sunrpc/rpc_prot.c: Likewise.
25614         * sunrpc/rpc_sample.c: Likewise.
25615         * sunrpc/rpc_scan.c: Likewise.
25616         * sunrpc/rpc_scan.h: Likewise.
25617         * sunrpc/rpc_svcout.c: Likewise.
25618         * sunrpc/rpc_tblout.c: Likewise.
25619         * sunrpc/rpc_util.c: Likewise.
25620         * sunrpc/rpc_util.h: Likewise.
25621         * sunrpc/rpcinfo.c: Likewise.
25622         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25623         * sunrpc/rpcsvc/key_prot.x: Likewise.
25624         * sunrpc/rpcsvc/klm_prot.x: Likewise.
25625         * sunrpc/rpcsvc/mount.x: Likewise.
25626         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25627         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25628         * sunrpc/rpcsvc/rex.x: Likewise.
25629         * sunrpc/rpcsvc/rstat.x: Likewise.
25630         * sunrpc/rpcsvc/rusers.x: Likewise.
25631         * sunrpc/rpcsvc/sm_inter.x: Likewise.
25632         * sunrpc/rpcsvc/spray.x: Likewise.
25633         * sunrpc/rpcsvc/yppasswd.x: Likewise.
25634         * sunrpc/rtime.c: Likewise.
25635         * sunrpc/svc.c: Likewise.
25636         * sunrpc/svc_auth.c: Likewise.
25637         * sunrpc/svc_authux.c: Likewise.
25638         * sunrpc/svc_raw.c: Likewise.
25639         * sunrpc/svc_run.c: Likewise.
25640         * sunrpc/svc_simple.c: Likewise.
25641         * sunrpc/svc_tcp.c: Likewise.
25642         * sunrpc/svc_udp.c: Likewise.
25643         * sunrpc/svc_unix.c: Likewise.
25644         * sunrpc/svcauth_des.c: Likewise.
25645         * sunrpc/xcrypt.c: Likewise.
25646         * sunrpc/xdr.c: Likewise.
25647         * sunrpc/xdr_array.c: Likewise.
25648         * sunrpc/xdr_float.c: Likewise.
25649         * sunrpc/xdr_mem.c: Likewise.
25650         * sunrpc/xdr_rec.c: Likewise.
25651         * sunrpc/xdr_ref.c: Likewise.
25652         * sunrpc/xdr_sizeof.c: Likewise.
25653         * sunrpc/xdr_stdio.c: Likewise.
25655         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25656         handling.
25658 2010-08-19  Andreas Schwab  <schwab@redhat.com>
25660         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25662 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
25664         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25665         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25666         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25667         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25668         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25669         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25670         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25671         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25672         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25673         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25674         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25675         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25676         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25677         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25679 2010-07-26  Anton Blanchard  <anton@samba.org>
25681         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25682         * malloc/arena.c (heap_trim): Likewise.
25684 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
25686         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25687         here.  Not...
25688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25689         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25691 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25693         * sysdeps/i386/elf/Makefile: New file.
25695 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25697         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25698         from fanotify_init.
25699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25702 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
25704         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25705         of strncasecmp_l.
25706         * sysdeps/multiarch/strcmp.S: Likewise.
25708 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
25710         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25711         strncase_l-nonascii.
25712         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25713         Add strncase_l-ssse3.
25714         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25715         * sysdeps/x86_64/strcmp.S: Likewise.
25716         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25717         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25718         * sysdeps/x86_64/strncase.S: New file.
25719         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25720         * sysdeps/x86_64/strncase_l.S: New file.
25721         * string/Makefile (strop-tests): Add strncasecmp.
25722         * string/test-strncasecmp.c: New file.
25724         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25725         warning.
25727         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25728         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25730 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25732         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25734 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
25736         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25737         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25738         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25740 2010-05-01  Alan Modra  <amodra@gmail.com>
25742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25743         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25744         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25745         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25746         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25747         tidying.  Don't tail-call __sigjmp_save for static lib.
25748         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25749         save location.
25750         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25751         (CALL_MCOUNT): Add eh info, and nop after bl.
25752         (TAIL_CALL_SYSCALL_ERROR): New macro.
25753         (PSEUDO_RET): Use it.
25754         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25755         Correct save location of integer regs and cr.
25756         (_dl_profile_resolve): Correct cr save location.  Delete nops
25757         after bl when SHARED.  Reduce cfi size a little by better
25758         placement of cfi directives.
25759         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25760         make a stack frame.  Instead use parm save area as a temp.
25761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25762         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
25763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25764         Don't make a stack frame for parent, use parm save area.
25765         Increase child stack frame to 112 bytes.  Don't save unused reg,
25766         and adjust reg usage.  Set up cfi on error recovery and
25767         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25769         (__makecontext): Add dummy nop after jump to exit.
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25771         Use correct parm save area and cr save, reduce stack frame.
25772         Correct cfi for possible PSEUDO_RET frame setup.
25773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25774         Branch to local label emitted by PSEUDO_RET rather than
25775         __syscall_error.
25777 2010-08-12  Andreas Schwab  <schwab@redhat.com>
25779         [BZ #11904]
25780         * locale/programs/locale.c (print_assignment): New function.
25781         (show_locale_vars): Use it.
25783 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
25785         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25786         field.
25787         (struct statfs64): Likewise.
25788         (_STATFS_F_FLAGS): Define.
25789         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25790         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25791         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25792         (ST_VALID): Define locally.
25793         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25794         __statvfs_getflags, use the provided value.
25795         * sysdeps/unix/sysv/linux/kernel-features.h: Define
25796         __ASSUME_STATFS_F_FLAGS.
25798         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25801         Add sys/fanotify.h.
25802         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25803         fanotify_mask for GLIBC_2.13.
25804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25805         fanotify_init and fanotify_mark.
25806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25807         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25809         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25810         Add prlimit.
25811         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25812         prlimit64 for GLIBC_2.13.
25813         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25814         prlimit64.
25815         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25816         syscall.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25818         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25819         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25820         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25821         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
25822         add prlimit alias.
25823         * sysdeps/unix/sysv/linux/prlimit.c: New file.
25825         [BZ #11903]
25826         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25827         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25829         * nss/Makefile: Add rules to build and run tst-nss-test1.
25830         * shlib-versions: Add entry for libnss_test1.
25831         * nss/nss_test1.c: New file.
25832         * nss/tst-nss-test1.c: New file.
25834         * nss/nsswitch.c (__nss_database_custom): Define new variable.
25835         (__nss_configure_lookup): Set appropriate entry in
25836         __nss_configure_lookup to true.
25837         * nss/nsswitch.h: Define enum with indeces of databases in
25838         databases and __nss_database_custom arrays.  Declare
25839         __nss_database_custom.
25840         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25841         to avoid using nscd when custom rules are installed.
25842         * nss/getXXbyYY_r.c: Likewise.
25843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25845         * nss/nss_files/files-parse.c: Whitespace fixes.
25847 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
25849         [BZ #11883]
25850         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25851         * posix/fnmatch_loop.c: Likewise.
25853 2010-07-17  Andi Kleen  <ak@linux.intel.com>
25855         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25856         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25857         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25858         * Versions.def [GLIBC_2.13]: Add.
25860 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
25862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25863         Also fail if tpwd after pwuid call is NULL.
25865 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25867         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25868         when converting to ms.
25870 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25872         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25873         EOPNOTSUPP errors with ENOTTY.
25874         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25875         EOPNOTSUPP errors with ENOTTY.
25877 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
25879         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25880         Add strcasecmp_l-ssse3.
25881         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25882         strcasecmp.
25883         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25884         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25885         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25887 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
25889         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25891         * string/Makefile (strop-tests): Add strcasecmp.
25892         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25893         strcasecmp_l-nonascii.
25894         (gen-as-const-headers): Add locale-defines.sym.
25895         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25896         * sysdeps/x86_64/strcasecmp.S: New file.
25897         * sysdeps/x86_64/strcasecmp_l.S: New file.
25898         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25899         * sysdeps/x86_64/locale-defines.sym: New file.
25900         * string/test-strcasecmp.c: New file.
25902         * string/test-strcasestr.c: Test both ends of the range of characters.
25903         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25905 2010-07-29  Roland McGrath  <roland@redhat.com>
25907         [BZ #11856]
25908         * manual/locale.texi (Yes-or-No Questions): Fix example code.
25910 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
25912         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25913         for ld.so.
25915 2010-07-27  Andreas Schwab  <schwab@redhat.com>
25917         * manual/memory.texi (Malloc Tunable Parameters): Document
25918         M_PERTURB.
25920 2010-07-26  Roland McGrath  <roland@redhat.com>
25922         [BZ #11840]
25923         * configure.in (-fgnu89-inline check): Set and substitute
25924         gnu89_inline, not libc_cv_gnu89_inline.
25925         * configure: Regenerated.
25926         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25928 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
25930         * string/test-strnlen.c: New file.
25931         * string/Makefile (strop-tests): Add strnlen.
25932         * string/tester.c (test_strnlen): Add a few more test cases.
25933         * string/tst-strlen.c: Better error reporting.
25935         * sysdeps/x86_64/strnlen.S: New file.
25937 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
25939         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25940         lower-latency instructions.
25942 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
25944         * string/test-strcasestr.c: New file.
25945         * string/test-strstr.c: New file.
25946         * string/Makefile (strop-tests): Add strstr and strcasestr.
25947         * string/str-two-way.h: Don't undefine MAX.
25948         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25950 2010-07-21  Andreas Schwab  <schwab@redhat.com>
25952         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25953         strcasestr-nonascii.
25954         (CFLAGS-strcasestr-nonascii.c): Define.
25955         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25956         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25957         Remove unused attribute.
25959 2010-07-20  Roland McGrath  <roland@redhat.com>
25961         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25962         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
25963         ld.so.cache was broken.  With it, there is no way to disable dsocaps
25964         like LD_HWCAP_MASK can disable hwcaps.
25966 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
25968         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25970 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
25972         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25973         call in strcasestr.
25974         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25975         __strcasestr_sse42_nonascii.
25976         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25977         strcasestr-nonascii.c.
25978         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25980 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
25982         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25985         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25987 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
25989         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25990         fcntl.
25992 2010-07-06  Andreas Schwab  <schwab@redhat.com>
25994         [BZ #11577]
25995         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25996         dl_signal_cerror.
25998 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26000         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26001         _PC_PIPE_BUF using F_GETPIPE_SZ.
26003 2010-07-05  Roland McGrath  <roland@redhat.com>
26005         * manual/arith.texi (Rounding Functions): Fix rint description
26006         implicit in round description.
26008 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26010         * elf/Makefile: Fix linking for a few tests to make recent linker
26011         happy.
26013 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26015         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26016         $(common-objpfx)libc_nonshared.a.
26018 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26020         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26021         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26022         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26023         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26024         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26025         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26026         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26027         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26042         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26043         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26044         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26045         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26046         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26047         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26048         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26049         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26050         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26051         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26052         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26053         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26069 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26071         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26072         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26073         * string/memmove.c (memmove): Renamed to ...
26074         (MEMMOVE): ...this.  Default to memmove.
26075         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26076         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26077         (END_CHK): Define.
26078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26079         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26080         mempcpy-ssse3-back memmove-ssse3-back.
26081         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26084         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26085         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26086         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26087         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26088         * sysdeps/x86_64/multiarch/memmove.c: New file.
26089         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26090         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26091         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26092         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26093         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26094         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26095         Define.
26096         (index_Fast_Copy_Backward): Define.
26097         (HAS_ARCH_FEATURE): Define.
26098         (HAS_FAST_REP_STRING): Define.
26099         (HAS_FAST_COPY_BACKWARD): Define.
26101 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26103         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26104         Restore proper fallback handling.
26106 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26108         [BZ #11701]
26109         * posix/group_member.c (__group_member): Correct checking loop.
26111         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26112         OOM in getpwuid_r correctly.  Return error number when the caller
26113         should return, otherwise -1.
26114         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26115         call returning > 0 value.
26116         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26118 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26120         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26121         libc_nonshared.a from targets in modules-names.
26123 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26125         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26126         requires it.
26128 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26131         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26132         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26133         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26135 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26137         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26139 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26141         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26142         and F_GETPIPE_SZ.
26143         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26144         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26148         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26150 2010-06-14  Roland McGrath  <roland@redhat.com>
26152         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26154 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26156         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26157         __REDIRECT followed by __THROW.
26158         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26159         * posix/getopt.h (getopt): Likewise.
26161 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26163         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26164         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26165         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26166         in AT_FLAGS.
26167         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26168         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26170 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26172         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26174 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26176         [BZ #11640]
26177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26178         Properly check family and model.
26180 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26182         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26184 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26186         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26188 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26190         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26191         symbol reference.
26193 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26195         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26196         symbol reference.
26198 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26200         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26201         and internal_recvmmsg.
26202         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26203         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26204         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26205         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26207         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26208         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26209         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26211 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26213         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26215 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26217         POWER7 optimizations.
26218         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26219         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26221 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26223         * version.h: Update for 2.13 development version.
26225 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26227         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26228         exceptions.  Return 0.
26230 2010-05-07  Roland McGrath  <roland@redhat.com>
26232         * elf/ldconfig.c (main): Add a const.
26234 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26236         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26237         (args_options): Add no-idn option.
26238         (ahosts_keys_int): Add idn_flags to ai_flags.
26239         (parse_option): Handle 'i' option to clear idn_flags.
26241         * malloc/malloc.c (_int_free): Possible race in the most recently
26242         added check.  Only act on the data if no current modification
26243         happened.
26245 See ChangeLog.17 for earlier changes.