Format mpatan2.c
[glibc.git] / ChangeLog
blobab71f0df7a5917706659efa7a76fd3bf7770b9ed
1 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11 2013-02-26  Roland McGrath  <roland@hack.frob.com>
13         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14         [$(build-shared = yes].
16 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19         (__mul): Reduce iterations for calculating mantissa.
21         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22         MPTWO.
23         (__mpranred): Likewise.
25         [BZ #15160]
26         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32         Define __attribute__.
34 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37         unused.
38         * posix/regex_internal.h (__attribute): Remove.
39         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40         (re_string_context_at): Likewise.
41         (bitset_not): Use __attribute__ and mark function as possibly
42         unused.
43         (bitset_merge): Likewise.
44         (bitset_mask): Likewise.
45         (re_string_char_size_at): Likewise.
46         (re_string_wchar_at): Likewise.
47         (re_string_elem_size_at): Likewise.
49 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52         code.
53         (cc32): Likewise.
55         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56         (__acr): Likewise.
57         (__cpy): Likewise.
58         (norm): Likewise.
59         (denorm): Likewise.
60         (__dbl_mp): Likewise.
61         (add_magnitudes): Likewise.
62         (sub_magnitudes): Likewise.
63         (__mul): Likewise.
64         (__inv): Likewise.
66         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67         style.
69         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70         style.
72         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
73         code.
75         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
76         up changes with default code.
77         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
78         Likewise.
80 2013-02-24  Allan McRae  <allan@archlinux.org>
82         * manual/socket.texi (The Internet Namespace): Order menu items
83         to match that in the file.
85         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
86         node listing of the info page menu.
88 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #13550]
91         * sysdeps/i386/bp-asm.h: Remove file.
92         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
93         (PARMS): Do not use macros from bp-asm.h.
94         (S1): Likewise.
95         (S2): Likewise.
96         (SIZE): Likewise.
97         (__mpn_add_n): Do not use BP_SYM
98         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
99         "bp-asm.h".
100         (PARMS): Do not use macros from bp-asm.h.
101         (S1): Likewise.
102         (SIZE): Likewise.
103         (__mpn_addmul_1): Do not use BP_SYM
104         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
105         "bp-asm.h".
106         (PARMS): Do not use macros from bp-asm.h.
107         (SIGMSK): Likewise.
108         (_setjmp): Likewise.  Do not use BP_SYM.
109         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
110         "bp-asm.h".
111         (PARMS): Do not use macros from bp-asm.h.
112         (SIGMSK): Likewise.
113         (setjmp): Likewise.  Do not use BP_SYM.
114         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
115         "bp-asm.h".
116         (PARMS): Do not use macros from bp-asm.h.
117         (__frexp): Do not use BP_SYM.
118         (frexp): Likewise.
119         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
120         "bp-asm.h".
121         (PARMS): Do not use macros from bp-asm.h.
122         (__frexpf): Do not use BP_SYM.
123         (frexpf): Likewise.
124         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
125         "bp-asm.h".
126         (PARMS): Do not use macros from bp-asm.h.
127         (__frexpl): Do not use BP_SYM.
128         (frexpl): Likewise.
129         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
130         "bp-asm.h".
131         (PARMS): Do not use macros from bp-asm.h.
132         (__remquo): Do not use BP_SYM.
133         (remquo): Likewise.
134         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
135         "bp-asm.h".
136         (PARMS): Do not use macros from bp-asm.h.
137         (__remquof): Do not use BP_SYM.
138         (remquof): Likewise.
139         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
140         "bp-asm.h".
141         (PARMS): Do not use macros from bp-asm.h.
142         (__remquol): Do not use BP_SYM.
143         (remquol): Likewise.
144         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
145         "bp-asm.h".
146         (PARMS): Do not use macros from bp-asm.h.
147         (DEST): Likewise.
148         (SRC): Likewise.
149         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
150         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
151         "bp-asm.h".
152         (PARMS): Do not use macros from bp-asm.h.
153         (strlen): Do not use BP_SYM.
154         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
155         "bp-asm.h".
156         (PARMS): Do not use macros from bp-asm.h.
157         (S1): Likewise.
158         (S2): Likewise.
159         (SIZE): Likewise.
160         (__mpn_add_n): Do not use BP_SYM.
161         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
162         "bp-asm.h".
163         (PARMS): Do not use macros from bp-asm.h.
164         (S1): Likewise.
165         (SIZE): Likewise.
166         (__mpn_addmul_1): Do not use BP_SYM.
167         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
168         weak_alias.
169         (bzero): Likewise.
170         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
171         "bp-asm.h".
172         (PARMS): Do not use macros from bp-asm.h.
173         (S): Likewise.
174         (SIZE): Likewise.
175         (__mpn_lshift): Do not use BP_SYM.
176         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
177         "bp-asm.h".
178         (PARMS): Do not use macros from bp-asm.h.
179         (DEST): Likewise.
180         (SRC): Likewise.
181         (LEN): Likewise.
182         (memcpy): Likewise.  Do not use BP_SYM.
183         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
184         libc_hidden_def and weak_alias.
185         (mempcpy): Do not use BP_SYM in weak_alias.
186         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
187         "bp-asm.h".
188         (PARMS): Do not use macros from bp-asm.h.
189         (DEST): Likewise.
190         (LEN): Likewise.
191         [!BZERO_P] (CHR): Likewise.
192         (memset): Likewise.  Do not use BP_SYM.
193         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
194         "bp-asm.h".
195         (PARMS): Do not use macros from bp-asm.h.
196         (S1): Likewise.
197         (SIZE): Likewise.
198         (__mpn_mul_1): Do not use BP_SYM.
199         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
200         "bp-asm.h".
201         (PARMS): Do not use macros from bp-asm.h.
202         (S): Likewise.
203         (SIZE): Likewise.
204         (__mpn_rshift): Do not use BP_SYM.
205         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
206         "bp-asm.h".
207         (PARMS): Do not use macros from bp-asm.h.
208         (STR): Likewise.
209         (CHR): Likewise.
210         (strchr): Likewise.  Do not use BP_SYM.
211         (index): Do not use BP_SYM in weak_alias.
212         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
213         "bp-asm.h".
214         (PARMS): Do not use macros from bp-asm.h.
215         (DEST): Likewise.
216         (SRC): Likewise.
217         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
218         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
219         "bp-asm.h".
220         (PARMS): Do not use macros from bp-asm.h.
221         (strlen): Do not use BP_SYM.
222         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
223         "bp-asm.h".
224         (PARMS): Do not use macros from bp-asm.h.
225         (S1): Likewise.
226         (S2): Likewise.
227         (SIZE): Likewise.
228         (__mpn_sub_n): Do not use BP_SYM.
229         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
230         "bp-asm.h".
231         (PARMS): Do not use macros from bp-asm.h.
232         (S1): Likewise.
233         (SIZE): Likewise.
234         (__mpn_submul_1): Do not use BP_SYM.
235         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
236         "bp-asm.h".
237         (PARMS): Do not use macros from bp-asm.h.
238         (S1): Likewise.
239         (S2): Likewise.
240         (SIZE): Likewise.
241         (__mpn_add_n): Do not use BP_SYM.
242         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
243         weak_alias.
244         (bzero): Likewise.
245         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
246         "bp-asm.h".
247         (PARMS): Do not use macros from bp-asm.h.
248         (BLK2): Likewise.
249         (LEN): Likewise.
250         (memcmp): Do not use BP_SYM.
251         (bcmp): Do not use BP_SYM in weak_alias.
252         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
253         "bp-asm.h".
254         (PARMS): Do not use macros from bp-asm.h.
255         (DEST): Likewise.
256         (SRC): Likewise.
257         (LEN): Likewise.
258         (memcpy): Likewise.  Do not use BP_SYM.
259         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
260         "bp-asm.h".
261         (PARMS): Do not use macros from bp-asm.h.
262         (DEST): Likewise.
263         (SRC): Likewise.
264         (LEN): Likewise.
265         (memmove): Likewise.  Do not use BP_SYM.
266         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
267         "bp-asm.h".
268         (PARMS): Do not use macros from bp-asm.h.
269         (DEST): Likewise.
270         (SRC): Likewise.
271         (LEN): Likewise.
272         (__mempcpy): Likewise.  Do not use BP_SYM.
273         (mempcpy): Do not use BP_SYM in weak_alias.
274         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
275         "bp-asm.h".
276         (PARMS): Do not use macros from bp-asm.h.
277         (DEST): Likewise.
278         (LEN): Likewise.
279         [!BZERO_P] (CHR): Likewise.
280         (memset): Likewise.  Do not use BP_SYM.
281         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
282         "bp-asm.h".
283         (PARMS): Do not use macros from bp-asm.h.
284         (STR2): Likewise.
285         (strcmp): Do not use BP_SYM.
286         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
287         "bp-asm.h".
288         (PARMS): Do not use macros from bp-asm.h.
289         (STR): Likewise.
290         (DELIM): Likewise.
291         [USE_AS_STRTOK_R] (SAVE): Likewise.
292         (FUNCTION): Likewise.  Do not use BP_SYM.
293         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
294         aliases.
295         (strtok_r): Likewise.
296         (__GI___strtok_r): Likewise.
297         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
298         (PARMS): Do not use macros from bp-asm.h.
299         (S): Likewise.
300         (SIZE): Likewise.
301         (__mpn_lshift): Do not use BP_SYM.
302         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
303         (PARMS): Do not use macros from bp-asm.h.
304         (STR): Likewise.
305         (CHR): Likewise.
306         (__memchr): Do not use BP_SYM.
307         (memchr): Do not use BP_SYM in weak_alias.
308         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
309         (PARMS): Do not use macros from bp-asm.h.
310         (BLK2): Likewise.
311         (LEN): Likewise.
312         (memcmp): Do not use BP_SYM.
313         (bcmp): Do not use BP_SYM in weak_alias.
314         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
315         (PARMS): Do not use macros from bp-asm.h.
316         (S1): Likewise.
317         (SIZE): Likewise.
318         (__mpn_mul_1): Do not use BP_SYM.
319         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
320         "bp-asm.h".
321         (PARMS): Do not use macros from bp-asm.h.
322         (STR): Likewise.
323         (CHR): Likewise.
324         (__rawmemchr): Do not use BP_SYM.
325         (rawmemchr): Do not use BP_SYM in weak_alias.
326         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
327         (PARMS): Do not use macros from bp-asm.h.
328         (S): Likewise.
329         (SIZE): Likewise.
330         (__mpn_rshift): Do not use BP_SYM.
331         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
332         (PARMS): Do not use macros from bp-asm.h.
333         (SIGMSK): Likewise.
334         (__sigsetjmp): Likewise.  Do not use BP_SYM.
335         * sysdeps/i386/start.S: Do not include "bp-sym.h".
336         (_start): Do not use BP_SYM.
337         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
338         (PARMS): Do not use macros from bp-asm.h.
339         (DEST): Likewise.
340         (SRC): Likewise.
341         (__stpcpy): Likewise.  Do not use BP_SYM.
342         (stpcpy): Do not use BP_SYM in weak_alias.
343         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
344         "bp-asm.h".
345         (PARMS): Do not use macros from bp-asm.h.
346         (DEST): Likewise.
347         (SRC): Likewise.
348         (LEN): Likewise.
349         (__stpncpy): Likewise.  Do not use BP_SYM.
350         (stpncpy): Do not use BP_SYM in weak_alias.
351         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
352         (PARMS): Do not use macros from bp-asm.h.
353         (STR): Likewise.
354         (CHR): Likewise.
355         (strchr): Likewise.  Do not use BP_SYM.
356         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
357         "bp-asm.h".
358         (PARMS): Do not use macros from bp-asm.h.
359         (STR): Likewise.
360         (CHR): Likewise.
361         (__strchrnul): Likewise.  Do not use BP_SYM.
362         (strchrnul): Do not use BP_SYM in weak_alias.
363         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
364         "bp-asm.h".
365         (PARMS): Do not use macros from bp-asm.h.
366         (STOP): Likewise.
367         (strcspn): Do not use BP_SYM.
368         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
369         "bp-asm.h".
370         (PARMS): Do not use macros from bp-asm.h.
371         (STR): Likewise.
372         (STOP): Likewise.
373         (strpbrk): Likewise.  Do not use BP_SYM.
374         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
375         "bp-asm.h".
376         (PARMS): Do not use macros from bp-asm.h.
377         (STR): Likewise.
378         (CHR): Likewise.
379         (strrchr): Likewise.  Do not use BP_SYM.
380         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
381         (PARMS): Do not use macros from bp-asm.h.
382         (SKIP): Likewise.
383         (strspn): Do not use BP_SYM.
384         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
385         (PARMS): Do not use macros from bp-asm.h.
386         (STR): Likewise.
387         (DELIM): Likewise.
388         (SAVE): Likewise.
389         (FUNCTION): Likewise.  Do not use BP_SYM.
390         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
391         aliases.
392         (strtok_r): Likewise.
393         (__GI___strtok_r): Likewise.
394         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
395         (PARMS): Do not use macros from bp-asm.h.
396         (S1): Likewise.
397         (S2): Likewise.
398         (SIZE): Likewise.
399         (__mpn_sub_n): Do not use BP_SYM.
400         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
401         "bp-asm.h".
402         (PARMS): Do not use macros from bp-asm.h.
403         (S1): Likewise.
404         (SIZE): Likewise.
405         (__mpn_submul_1): Do not use BP_SYM.
406         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
407         <bp-sym.h>.
408         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
409         and <bp-asm.h>.
410         (PARMS): Do not use macros from bp-asm.h.
411         (FLAGS): Likewise.
412         (PTID): Likewise.
413         (TLS): Likewise.
414         (CTID): Likewise.
415         (__clone): Do not use BP_SYM.
416         (clone): Do not use BP_SYM in weak_alias.
417         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
418         and <bp-asm.h>.
419         (PARMS): Do not use macros from bp-asm.h.
420         (LEN): Likewise.
421         (__mmap64): Do not use BP_SYM.
422         (mmap64): Do not use BP_SYM in weak_alias.
423         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
424         <bp-sym.h> and <bp-asm.h>.
425         (PARMS): Do not use macros from bp-asm.h.
426         (__posix_fadvise64_l64): Do not use BP_SYM.
427         * sysdeps/unix/sysv/linux/i386/semtimedop.S
428         (PARMS): Do not use macros from bp-asm.h.
429         (NSOPS): Likewise.
430         (semtimedop): Do not use BP_SYM.
431         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
432         and <bp-asm.h>.
434 2013-02-21  Allan McRae  <allan@archlinux.org>
436         * manual/message.texi (Charset conversion in gettext):
437         Move @end statement to beginning of line.
439 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
442         static.
443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
444         Likewise.
446         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
447         (denorm): Likewise.
448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
451 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
453         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
454         tail-call to the resolved function if pltexit isn't needed.
456 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
459         or Y being zero as being unlikely.
460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
461         Likewise.
463 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
465         * manual/nss.texi (System Databases and Name Service Switch):
466         Remove frobnicate @pxref.
468 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
470         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
471         __attribute__ ((unused)) to __attribute__ ((__unused__)).
473 2013-02-20  Petr Machata  <pmachata@redhat.com>
475         * elf/elf.h (R_ARM_TARGET1): New macro.
476         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
477         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
478         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
479         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
480         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
481         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
482         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
483         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
484         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
485         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
486         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
487         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
488         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
489         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
490         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
491         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
492         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
493         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
494         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
495         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
496         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
497         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
498         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
499         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
500         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
501         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
502         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
503         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
504         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
505         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
506         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
507         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
508         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
509         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
510         (R_ARM_THM_GOT_BREL12): Likewise.
511         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
512         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
513         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
514         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
515         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
516         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
517         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
518         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
519         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
521 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
523         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
524         __attribute_used__ to __attribute__ ((unused)).
526 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
528         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
529         powerpc mpa.c.
530         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
531         comment formatting.
532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
534 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
536         [BZ #13550]
537         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
538         Remove macro.
539         (ENTER): Remove both macro definitions.
540         (LEAVE): Likewise.
541         (CHECK_BOUNDS_LOW): Likewise.
542         (CHECK_BOUNDS_HIGH): Likewise.
543         (CHECK_BOUNDS_BOTH): Likewise.
544         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
545         (RETURN_BOUNDED_POINTER): Likewise.
546         (RETURN_NULL_BOUNDED_POINTER): Likewise.
547         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
548         (POP_ERRNO_LOCATION_RETURN): Likewise.
549         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
551         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
552         macros.
553         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
554         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
555         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
556         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
557         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
558         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
559         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
560         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
561         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
562         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
563         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
564         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
565         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
566         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
567         removed macros.
568         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
569         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
570         macros.
571         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
572         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
573         * sysdeps/i386/i586/memset.S (memset): Likewise.
574         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
575         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
576         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
577         macros.
578         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
579         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
580         Change uses of L(2) to L(out).
581         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
582         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
583         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
584         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
585         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
586         removed macros.
587         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
588         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
589         macros.
590         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
591         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
592         (RETURN): Do not use macro LEAVE.
593         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
594         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
595         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
596         * sysdeps/i386/i686/memset.S (memset): Likewise.
597         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
598         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
599         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
600         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
601         Likewise.
602         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
603         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
604         L(1_2) and L(1_3) into L(1).
605         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
606         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
607         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
608         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
609         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
610         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
611         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
612         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
613         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
614         macros.
615         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
616         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
617         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
618         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
619         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
620         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
621         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
622         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
623         * sysdeps/i386/strcspn.S (strcspn): Likewise.
624         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
625         * sysdeps/i386/strrchr.S (strrchr): Likewise.
626         * sysdeps/i386/strspn.S (strspn): Likewise.
627         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
628         conditional code.
629         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
630         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
631         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
632         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
633         L(1_3) into L(1_1).
634         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
635         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
636         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
637         macros.
638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
640 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
642         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
643         macro.
645 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
647         * math/atest-exp.c (exp_mpn): Remove ROUND.
648         * math/atest-exp2.c (exp_mpn): Likewise.
649         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
651         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
652         * stdlib/tst-tls-atexit-lib.c: Likewise.
653         * stdlib/tst-tls-atexit.c: Likewise.
655 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
657         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
658         and __attribute_alloc_size__.
660 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
662         * include/programs/xmalloc.h: Change __attribute_alloc_size to
663         __attribute_alloc_size__.
664         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
665         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
669         * include/programs/xmalloc.h: New file.
670         * catgets/gencat.c: Include it.
671         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
672         * elf/pldd.c: Likewise.
673         * iconv/iconv_charmap.c: Likewise.
674         * iconv/iconvconfig.c: Likewise.
675         * iconv/strtab.c: Likewise.
676         * locale/programs/locale.c: Likewise.
677         * locale/programs/localedef.h: Likewise.
678         * locale/programs/simple-hash.c: Likewise.
679         * nscd/nscd.h: Likewise.
680         * nss/makedb.c: Likewise.
681         * sysdeps/generic/ldconfig.h: Likewise.
683 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
685         * Versions.def: Add GLIBC_2.18.
686         * include/link.h (struct link_map): New member l_tls_dtor_count.
687         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
688         (__call_tls_dtors): Likewise.
689         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
690         __cxa_thread_atexit_impl.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
692         Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
694         Likewise.
695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
696         Likewise.
697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
698         Likewise.
699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
701         Likewise.
702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
703         Likewise.
704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
706         Likewise.
707         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
708         (tests): Add test case tst-tls-atexit.
709         (modules-names): Add shared library for tst-tls-atexit.
710         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
711         (GLIBC_PRIVATE): Add __call_tls_dtors.
712         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
713         for libstdc++.
714         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
715         * stdlib/tst-tls-atexit.c: New test case.
716         * stdlib/tst-tls-atexit-lib.c: New test case.
718         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
720         * elf/Versions (ld): Add _dl_find_dso_for_object.
721         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
722         * elf/dl-open.c (_dl_find_dso_for_object): New function.
723         (dl_open_worker): Use _dl_find_dso_for_object.
724         * elf/dl-sym.c (do_sym): Likewise.
725         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
727 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
729         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
730         Syntactic changes only.
731         (_dl_runtime_profile): Do a tail-call to the resolved function.
733 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
735         [BZ #13550]
736         * sysdeps/x86_64/bp-asm.h: Remove file.
737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
738         <bp-sym.h> and <bp-asm.h>.
739         (__clone): Do not use BP_SYM.
740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
741         <bp-sym.h> and <bp-asm.h>.
742         * sysdeps/unix/x86_64/sysdep.S: Likewise.
743         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
744         "bp-asm.h".
745         (_setjmp): Do not use BP_SYM.
746         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
747         "bp-asm.h".
748         (setjmp): Do not use BP_SYM.
749         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
750         libc_hidden_def.
751         (mempcpy): Do not use BP_SYM in weak_alias.
752         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
753         "bp-asm.h".
754         (strchr): Do not use BP_SYM.
755         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
756         "bp-asm.h".
757         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
758         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
759         (_start): Do not use BP_SYM.
760         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
761         "bp-asm.h".
762         (strcat): Do not use BP_SYM.
763         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
764         "bp-asm.h".
765         (STRCMP): Do not use BP_SYM.
766         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
767         "bp-asm.h".
768         (STRCPY): Do not use BP_SYM.
769         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
770         "bp-asm.h".
771         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
772         "bp-asm.h".
773         (FUNCTION): Do not use BP_SYM.
774         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
775         weak_alias.
776         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
778 2013-02-17  Andreas Jaeger  <aj@suse.de>
780         * time/Versions: Sort entries.
781         * string/Versions: Likewise.
782         * resolv/Versions: Likewise.
783         * posix/Versions: Likewise.
784         * iconv/Versions: Likewise.
785         * elf/Versions: Likewise.
786         * wcsmbs/Versions: Likewise.
788 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
790         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
791         loop termination condition.
793         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
794         variable to calculate EZ.
795         (__sqr): Likewise.
797         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
798         the lower precision input.
800 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
802         [BZ #13550]
803         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
804         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
805         (run-via-rtld-prefix): Do not handle %-bp tests.
806         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
807         (all-object-suffixes): Remove .ob.
808         (bppfx): Remove variable.
809         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
810         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
811         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
812         [$(build-bounded) = yes] (libtype.ob): Likewise.
813         * Makerules (elide-routines.ob): Remove variable.
814         (do-tests-clean): Do not handle *-bp.out.
815         (common-mostlyclean): Do not handle *-bp and *-bp.out.
816         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
817         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
818         (tests): Do not include $(tests-bp.out).
819         (xtests): Do not include $(xtests-bp.out).
820         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
821         [$(build-bounded) = yes] ($(addprefix
822         $(objpfx),$(binaries-bounded))): Remove rule.
823         ($(objpfx)%-bp.out): Remove rule.
824         * config.make.in (build-bounded): Remove variable.
825         * crypt/Makefile [$(build-bounded) = yes]
826         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
827         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
828         append to variable.
829         [$(build-bounded) = yes] (install-lib): Likewise.
830         [$(build-bounded) = yes] (generated): Likewise.
831         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
832         Remove rule.
833         * intl/Makefile [$(build-bounded) = yes]
834         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
835         * math/Makefile [$(build-bounded) = yes]
836         ($(tests:%=$(objpfx)%-bp): Likewise.
837         * misc/Makefile [$(build-bounded) = yes]
838         ($(objpfx)tst-tsearch-bp): Likewise.
839         * nptl/Makeconfig (bounded-thread-library): Remove variable.
840         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
841         Remove dependency.
842         * string/Makefile (o-objects.ob): Remove variable.
843         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
844         (CFLAGS-.ob): Remove variable.
845         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
846         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
847         both definitions of variable.
848         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
849         (ASFLAGS-.ob): Remove variable.
851 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
853         [BZ #13550]
854         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
855         Remove __BOUNDED_POINTERS__ from condition.
856         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
857         * string/bits/string2.h [!__NO_STRING_INLINES &&
858         !__BOUNDED_POINTERS__]: Likewise.
859         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
860         Likewise.
861         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
862         Remove conditional code.
863         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
864         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
865         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
866         condition.
868         [BZ #13550]
869         * csu/libc-start.c: Do not include <bp-sym.h>.
870         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
871         * elf/dl-open.c: Do not include <bp-sym.h>.
872         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
873         * math/fegetenv.c: Do not include <bp-sym.h>.
874         (fegetenv): Do not use BP_SYM in versioned symbols.
875         * nptl/sysdeps/pthread/bits/libc-lockP.h
876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
877         <bp-sym.h>.
878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
879         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
881         (__pthread_mutex_destroy): Likewise.
882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
883         (__pthread_mutex_lock): Likewise.
884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
885         (__pthread_mutex_trylock): Likewise.
886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
887         (__pthread_mutex_unlock): Likewise.
888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
889         (__pthread_mutexattr_init): Likewise.
890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
891         (__pthread_mutexattr_destroy): Likewise.
892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
893         (__pthread_mutexattr_settype): Likewise.
894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
895         (__pthread_rwlock_init): Likewise.
896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
897         (__pthread_rwlock_destroy): Likewise.
898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
899         (__pthread_rwlock_rdlock): Likewise.
900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
901         (__pthread_rwlock_tryrdlock): Likewise.
902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
903         (__pthread_rwlock_wrlock): Likewise.
904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
905         (__pthread_rwlock_trywrlock): Likewise.
906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
907         (__pthread_rwlock_unlock): Likewise.
908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
909         (__pthread_key_create): Likewise.
910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
911         (__pthread_setspecific): Likewise.
912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
913         (__pthread_getspecific): Likewise.
914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
915         Likewise.
916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
917         (_pthread_cleanup_push_defer): Likewise.
918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
919         (_pthread_cleanup_pop_restore): Likewise.
920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
921         (pthread_setcancelstate): Likewise.
922         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
923         <bp-sym.h>.
924         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
925         (memchr): Do not use BP_SYM in weak_alias.
926         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
927         (fegetenv): Do not use BP_SYM in versioned symbols.
928         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
929         (fesetenv): Do not use BP_SYM in versioned symbols.
930         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
931         (feupdateenv): Do not use BP_SYM in versioned symbols.
932         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
933         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
934         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
935         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
936         (open64): Do not use BP_SYM in weak_alias.
937         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
938         (fegetenv): Do not use BP_SYM in versioned symbols.
939         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
940         (fesetenv): Do not use BP_SYM in versioned symbols.
941         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
942         (feupdateenv): Do not use BP_SYM in versioned symbols.
943         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
944         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
945         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
946         (feraiseexcept): Do not use BP_SYM in versioned symbols.
947         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
948         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
949         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
950         <bp-sym.h>.
951         (__libc_start_main): Do not use BP_SYM.
953 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
956         redundant return line.
957         (norm): Likewise.
958         (denorm): Likewise.
959         (dbl_mp): Likewise.
960         (sub_magnitudes): Likewise.
961         (__add): Likewise.
962         (__sub): Likewise.
963         (__mul): Likewise.
964         (__inv): Likewise.
965         (__dvd): Likewise.
966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
967         (norm): Likewise.
968         (denorm): Likewise.
969         (dbl_mp): Likewise.
970         (sub_magnitudes): Likewise.
971         (__add): Likewise.
972         (__sub): Likewise.
973         (__mul): Likewise.
974         (__inv): Likewise.
975         (__dvd): Likewise.
977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
978         instead of __mul.
979         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
980         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
981         (cc32): Likewise.
983         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
984         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
985         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
986         of __mul for squares.
987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
988         function
989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
990         Likewise.
991         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
994 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
996         [BZ #13550]
997         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
998         code.
999         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1000         prototype or function definition.  Rename ubp_* variables and
1001         parameters.  Remove argv definitions conditional on
1002         [__BOUNDED_POINTERS__].
1003         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1004         * elf/dl-runtime.c (_dl_fixup): Likewise.
1005         * include/set-hooks.h (RUN_HOOK): Likewise.
1006         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1007         definition.
1008         * string/strcpy.c (strcpy): Do not use __unbounded.
1009         * sysdeps/generic/frame.h (struct layout): Likewise.
1010         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1011         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1012         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1013         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1014         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1015         (__backtrace): Likewise.
1016         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1017         use __ptrvalue.
1018         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1019         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1020         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1021         Likewise.
1022         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1023         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1024         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1025         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1026         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1027         Do not use __unbounded.
1028         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1029         Rename __unboundedrlimits parameter to rlimits in prototype.
1030         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1031         Do not use __unbounded.
1032         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1033         not use __ptrvalue.
1034         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1035         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1036         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1037         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1038         __ptrvalue or __unbounded.
1039         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1040         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1041         use __unbounded.
1042         (__new_msgctl): Do not use __ptrvalue.
1043         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1044         __unbounded.
1045         (__libc_msgrcv): Do not use __ptrvalue.
1046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1047         startup_info): Do not use __unbounded.
1048         (__libc_start_main): Likewise.  Rename ubp_* variables and
1049         parameters.  Remove argv definitions conditional on
1050         [__BOUNDED_POINTERS__].
1051         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1052         __ptrvalue.
1053         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1054         use __unbounded.
1055         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1056         or __ptrvalue.
1057         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1058         use __unbounded.
1059         (__new_shmctl): Do not use __ptrvalue.
1060         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1061         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1064         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1065         (__libc_sigaction): Likewise.
1066         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1067         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1068         Likewise.
1069         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1071 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1073         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1075         * string/mempcpy.c: Implement by calling memcpy.
1077 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1082         evaluation.
1084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1085         values in the mantissa.
1087         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1088         minimize writes to Z.
1089         (sub_magnitudes): Simplify code a bit.
1091 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1093         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1094         from the message.  The linker prefixes all warnings with that already.
1096 2013-02-12  Andreas Schwab  <schwab@suse.de>
1098         [BZ #15078]
1099         * posix/regexec.c (extend_buffers): Add parameter min_len.
1100         (check_matching): Pass minimum needed length.
1101         (clean_state_log_if_needed): Likewise.
1102         (get_subexp): Likewise.
1103         * posix/Makefile (tests): Add bug-regex34.
1104         (bug-regex34-ENV): Define.
1105         * posix/bug-regex34.c: New file.
1107         [BZ #11561]
1108         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1109         elements compare against the byte sequence of it, not its name.
1110         * posix/Makefile (tests): Add bug-regex35.
1111         (bug-regex35-ENV): Define.
1112         * posix/bug-regex35.c: New file.
1114 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1116         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1117         comment.
1118         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1119         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1120         (CHECK_EOL): Add undef.
1122 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1124         * bits/stdlib-bsearch.h: New file.
1125         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1126         * stdlib/stdlib.h: Likewise.
1128 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1130         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1131         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1132         declaration.
1133         * manual/search.texi (Array Search Function): Add missing const in
1134         lfind prototype.
1135         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1136         declaration to use rlim_t.
1137         (Basic Scheduling Functions): Remove erroneous const from
1138         sched_getparam prototype.  Remove erroneous * from
1139         sched_get_priority_max and sched_get_priority_min prototypes.
1140         (Resource Usage): Fix summary @comment on vtimes to refer to
1141         sys/vtimes.h rather than vtimes.h.
1142         Add missing *s in vtimes prototype.
1143         (Limits on Resources): Fix ulimit prototype to return long int.
1144         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1145         prototypes to use long int rather than double.
1146         (BSD Random): Fix initstate and setstate to use char *, not void *.
1147         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1148         prototype to make second argument 'struct aiocb64 *const[]'.
1149         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1150         (Status of AIO Operations): Remove erroneous const in aio_return and
1151         aio_return64 prototypes.
1152         (Synchronizing I/O): Fix sync prototype to return void.
1153         * manual/startup.texi (Suboptions): Remove an erroneous const in
1154         getsubopt prototype.
1155         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1156         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1157         use size_t rather than int.
1158         (Scanning All Users): Likewise for getpwent_r.
1159         (Setting Groups): Add missing const to setgroups prototype.
1160         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1161         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1162         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1163         'const void *' rather than 'const char *'.
1164         (Host Address Functions): Likewise for inet_ntop.
1165         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1166         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1167         ssize_t for return value.
1168         (Sending Data): Likewise for send, sendto, sendmsg.
1169         (Socket Option Functions): Add a missing const in setsockopt prototype.
1170         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1171         use wchar_t for the argument.
1172         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1173         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1174         take no arguments.
1175         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1176         double/float/long double for second argument.
1177         Fix return types of significand, significandf, significandl.
1178         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1179         argument in fchmod prototype.
1180         (File Owner): Use uid_t and gid_t in fchown prototype.
1181         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1182         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1183         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1184         use 'const struct dirent **' as argument types to CMP function pointer
1185         argument.
1186         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1187         (File Times): Fix summary magic @comment for struct utimbuf and utime
1188         to refer to utime.h, not time.h.
1189         * manual/string.texi (Argz Functions): Add missing const in
1190         argz_extract and argz_next prototypes.
1191         (Finding Tokens in a String): Likewise for basename.
1192         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1193         (Copying and Concatenation): Fix typo in wmemmove prototype.
1194         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1195         (Signal Stack): Remove erroneous const in sigstack prototype.
1196         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1197         prototype.
1198         (Simple Calendar Time): Likewise for stime.
1199         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1200         prototype.
1201         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1202         say sys/sysctl.h instead.
1203         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1204         and vsyslog prototypes.
1206 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1208         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1209         Remove.
1211 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1213         * misc/sys/mman.h: Fix typo in mremap comment.
1215 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1217         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1218         the '\0' terminator.
1220 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1222         [BZ #13550]
1223         * debug/segfault.c: Don't include <bp-checks.h>.
1224         * sysdeps/generic/bp-checks.h: Remove file.
1225         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1226         (__GETDENTS): Don't use CHECK_N.
1227         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1228         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1229         (__getgroups): Don't use CHECK_N.
1230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1231         (setgroups): Don't use CHECK_N.
1232         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1233         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1234         (__libc_msgrcv): Don't use CHECK_N.
1235         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1236         (__libc_msgsnd): Don't use CHECK_N.
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1238         <bp-checks.h>.
1239         (__libc_pread): Don't use CHECK_N.
1240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1241         include <bp-checks.h>.
1242         (__libc_pread64): Don't use CHECK_N.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1244         include <bp-checks.h>.
1245         (__libc_pwrite): Don't use CHECK_N.
1246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1247         include <bp-checks.h>.
1248         (__libc_pwrite64): Don't use CHECK_N.
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1250         <bp-checks.h>.
1251         (__libc_pread): Don't use CHECK_N.
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1253         include <bp-checks.h>.
1254         (__libc_pread64): Don't use CHECK_N.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1256         include <bp-checks.h>.
1257         (__libc_pwrite): Don't use CHECK_N.
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1259         include <bp-checks.h>.
1260         (__libc_pwrite64): Don't use CHECK_N.
1261         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1262         (do_pread): Don't use CHECK_N.
1263         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1264         (do_pread64): Don't use CHECK_N.
1265         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1266         (do_pwrite): Don't use CHECK_N.
1267         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1268         (do_pwrite64): Don't use CHECK_N.
1269         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1270         (__libc_readv): Don't use CHECK_N.
1271         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1272         (semop): Don't use CHECK_N.
1273         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1274         <bp-checks.h>.
1275         (semtimedop): Don't use CHECK_N.
1276         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1277         (__libc_pread): Don't use CHECK_N.
1278         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1279         <bp-checks.h>.
1280         (__libc_pread64): Don't use CHECK_N.
1281         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1282         <bp-checks.h>.
1283         (__libc_pwrite): Don't use CHECK_N.
1284         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1285         <bp-checks.h>.
1286         (__libc_pwrite64): Don't use CHECK_N.
1287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1288         <bp-checks.h>.
1289         (__libc_msgrcv): Don't use CHECK_N.
1290         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1291         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
1292         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1293         (__libc_writev): Don't use CHECK_N.
1295 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1297         * string/strcpy.c: Removed unused variable.
1299         * Makeconfig (+sysdep-includes): Define with := rather than =.
1300         Use an existing include/ subdir of each sysdeps dir before it.
1302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1304         * nscd/connection.c (register_traced_file): Comment function.
1305         [HAVE_INOTIFY] (union __inev): Define.
1306         [HAVE_INOTIFY] (inotify_check_files): New function.
1307         [HAVE_INOTIFY] (clear_db_cache): Likewise.
1308         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1309         clear_db_cache.
1310         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1312 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1314         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1315         loaded if not already and that a failure is permanent.
1317 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
1319         [BZ #15006]
1320         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1321         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1323 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
1325         [BZ #13550]
1326         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1327         (CHECK_1_NULL_OK): Likewise.
1328         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1329         (__fxstat): Do not use CHECK_1.
1330         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1331         <bp-checks.h>.
1332         (___fxstat64): Do not use CHECK_1.
1333         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1334         <bp-checks.h>.
1335         (__fxstatat): Do not use CHECK_1.
1336         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1337         <bp-checks.h>.
1338         (__fxstatat64): Do not use CHECK_1.
1339         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1340         <bp-checks.h>.
1341         (__fxstat): Do not use CHECK_1.
1342         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1343         <bp-checks.h>.
1344         (__fxstatat): Do not use CHECK_1.
1345         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1346         <bp-checks.h>.
1347         (__getresgid): Do not use CHECK_1.
1348         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1349         <bp-checks.h>.
1350         (__getresuid): Do not use CHECK_1.
1351         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1352         <bp-checks.h>.
1353         (__lxstat): Do not use CHECK_1.
1354         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1355         <bp-checks.h>.
1356         (__old_msgctl): Do not use CHECK_1.
1357         (__new_msgctl): Likewise.
1358         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1359         <bp-checks.h>.
1360         (__new_setrlimit): Do not use CHECK_1.
1361         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1362         <bp-checks.h>.
1363         (__old_shmctl): Do not use CHECK_1.
1364         (__new_shmctl): Likewise.
1365         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1366         <bp-checks.h>.
1367         (__xstat): Do not use CHECK_1.
1368         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1369         (__lxstat): Do not use CHECK_1.
1370         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1371         <bp-checks.h>.
1372         (___lxstat64): Do not use CHECK_1.
1373         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1374         (__old_msgctl): Do not use CHECK_1.
1375         (__new_msgctl): Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1377         <bp-checks.h>.
1378         (__gettimeofday): Do not use CHECK_1.
1379         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1380         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1381         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1382         <bp-checks.h>.
1383         (__gettimeofday): Do not use CHECK_1.
1384         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1385         (__old_shmctl): Do not use CHECK_1_NULL_OK.
1386         (__new_shmctl): Do not use CHECK_1.
1387         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1388         <bp-checks.h>.
1389         (do_sigtimedwait): Do not use CHECK_1.
1390         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1391         <bp-checks.h>.
1392         (do_sigwaitinfo): Do not use CHECK_1.
1393         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1394         <bp-checks.h>.
1395         (msgctl): Do not use CHECK_1.
1396         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1397         <bp-checks.h>.
1398         (shmctl): Do not use CHECK_1.
1399         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1400         (ustat): Do not use CHECK_1.
1401         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1402         <bp-checks.h>.
1403         (__fxstat): Do not use CHECK_1.
1404         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1405         <bp-checks.h>.
1406         (__fxstatat): Do not use CHECK_1.
1407         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1408         <bp-checks.h>.
1409         (__lxstat): Do not use CHECK_1.
1410         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1411         <bp-checks.h>.
1412         (__xstat): Do not use CHECK_1.
1413         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1414         (__xstat): Do not use CHECK_1.
1415         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1416         (___xstat64): Do not use CHECK_1.
1418         [BZ #13550]
1419         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1420         definitions.
1421         (CHECK_BOUNDS_HIGH): Likewise.
1422         * string/strcpy.c: Do not include <bp-checks.h>.
1423         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1425 2013-02-07  Roland McGrath  <roland@hack.frob.com>
1427         * nscd/nscd-client.h (__nscd_drop_map_ref):
1428         Add __attribute__ ((unused)).
1429         * nis/nss-nisplus.h (niserr2nss): Likewise.
1431         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1432         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1434         * csu/libc-tls.c (init_static_tls, init_slotinfo):
1435         Remove inline keyword.
1436         * include/rounding-mode.h (round_away): Likewise.
1437         * libio/wfileops.c (adjust_wide_data): Likewise.
1438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1439         (__m128i_strloadu_tolower): Likewise.
1440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1441         (__m128i_strloadu_tolower): Likewise.
1442         * time/mktime.c (ydhms_diff): Likewise.
1443         * locale/elem-hash.h (elem_hash): Likewise.
1444         * locale/setlocale.c (setdata): Likewise.
1445         * posix/regex_internal.h (re_string_char_size_at): Likewise.
1446         (re_string_wchar_at): Likewise.
1447         (bitset_not, bitset_merge, bitset_mask): Likewise.
1448         [!(__GNUC__ > 3)] (inline): Remove macro.
1449         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
1450         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
1451         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1452         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
1453         * string/memcmp.c (memcmp_bytes): Likewise.
1454         * locale/programs/locarchive.c (compute_hashval): Likewise.
1455         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
1456         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1457         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
1458         * nss/getent.c (print_rpc, print_protocols): Likewise.
1459         (print_passwd, print_group, print_aliases): Likewise.
1460         * nis/nss-nisplus.h (niserr2nss): Likewise.
1461         * nscd/connections.c (restart_p): Likewise.
1462         Change return type to bool.
1464 2013-02-05  Roland McGrath  <roland@hack.frob.com>
1466         * Makeconfig (all-Depend-files): Add existing
1467         $(sorted-subdirs:=/Depend) files.
1468         (all-subdirs): Remove nss.
1469         * sysdeps/unix/inet/Subdirs: Add it here instead.
1470         * hesiod/Depend: New file.
1472         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
1473         instead of calling alloca.
1475         * io/lseek.c (__lseek): Rename to __libc_lseek.
1476         Define __lseek as an alias.
1478         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
1480 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
1482         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
1483         else clause and remove check for non-standard endianness.
1485 2013-02-04  David S. Miller  <davem@davemloft.net>
1487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1489 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
1491         [BZ #13550]
1492         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
1493         (__ubp_memchr): Remove prototype.
1494         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
1495         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1496         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
1497         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
1498         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
1499         Remove alias.
1500         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
1501         (__ubp_memchr): Likewise.
1502         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
1503         (__ubp_memchr): Likewise.
1504         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
1505         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
1506         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
1507         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
1508         CHECK_STRING.
1509         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1510         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
1511         (__getcwd): Do not use CHECK_STRING.
1512         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1513         <bp-checks.h>.
1514         (__real_chown): Do not use CHECK_STRING.
1515         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
1516         <bp-checks.h>.
1517         (fchownat): Do not use CHECK_STRING.
1518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
1519         CHECK_STRING.
1520         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1521         <bp-checks.h>.
1522         (__lchown): Do not use CHECK_STRING.
1523         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1524         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1525         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1526         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1528         include <bp-checks.h>.
1529         (truncate64): Do not use CHECK_STRING.
1530         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1531         <bp-checks.h>.
1532         (__real_chown): Do not use CHECK_STRING.
1533         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1534         <bp-checks.h>.
1535         (__lchown): Do not use CHECK_STRING.
1536         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1537         <bp-checks.h>.
1538         (__chown): Do not use CHECK_STRING.
1539         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
1540         <bp-checks.h>.
1541         (truncate64): Do not use CHECK_STRING.
1542         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
1543         Likewise.
1544         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
1545         (__xmknod): Do not use CHECK_STRING.
1546         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1547         <bp-checks.h>.
1548         (__xmknodat): Do not use CHECK_STRING.
1549         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1550         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1552 2013-02-04  Andreas Schwab  <schwab@suse.de>
1554         [BZ #14142]
1555         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
1556         * include/netdb.h: Likewise for h_errno.
1557         * elf/tst-stackguard1.c: Include <tls.h>.
1559 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
1561         * elf/link.h (struct link_map): Extend the l_addr comment.
1562         * include/link.h (struct link_map): Likewise.
1564 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
1566         [BZ #13550]
1567         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
1568         (BOUNDED_1): Remove macro.
1569         * debug/backtrace.c: Don't include <bp-checks.h>.
1570         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
1571         (__backtrace): Likewise.
1572         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
1573         <bp-checks.h>.
1574         (__backtrace): Don't use BOUNDED_1.
1575         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
1576         <bp-checks.h>.
1577         (__backtrace): Don't use BOUNDED_1.
1578         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
1579         (__backtrace): Don't use BOUNDED_1.
1580         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
1581         (shmat): Don't use BOUNDED_N.
1583 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
1585         [BZ #13550]
1586         * sysdeps/generic/bp-start.h: Remove file.
1587         * csu/libc-start.c: Don't include <bp-start.h>.
1588         (LIBC_START_MAIN): Set up __environ directly instead of using
1589         INIT_ARGV_and_ENVIRON.
1590         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
1591         <bp-start.h>.
1593         [BZ #13550]
1594         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
1595         definitions.
1596         (CHECK_FCNTL): Likewise.
1597         (CHECK_N_PAGES): Likewise.
1599         [BZ #13550]
1600         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
1601         definitions.
1602         (CHECK_SIGSET_NULL_OK): Likewise.
1603         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
1604         <bp-checks.h>.
1605         (sigpending): Don't use CHECK_SIGSET.
1606         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
1607         <bp-checks.h>.
1608         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1609         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
1610         <bp-checks.h>.
1611         (do_sigsuspend): Don't use CHECK_SIGSET.
1612         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
1613         use CHECK_SIGSET.
1614         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
1615         (do_sigwait): Don't use CHECK_SIGSET.
1616         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
1617         use CHECK_SIGSET.
1618         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
1619         include <bp-checks.h>.
1620         (sigpending): Don't use CHECK_SIGSET.
1621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
1622         include <bp-checks.h>.
1623         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1624         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
1625         <bp-checks.h>.
1626         (sigpending): Don't use CHECK_SIGSET.
1627         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
1628         <bp-checks.h>.
1629         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
1631         [BZ #13550]
1632         * sysdeps/generic/bp-semctl.h: Remove file.
1633         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
1634         <bp-checks.h> and <bp-semctl.h>.
1635         (__old_semctl): Don't use CHECK_SEMCTL.
1636         (__new_semctl): Likewise.
1637         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
1638         and <bp-semctl.h>.
1639         (__old_semctl): Don't use CHECK_SEMCTL.
1640         (__new_semctl): Likewise.
1641         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
1642         <bp-checks.h> and <bp-semctl.h>.
1643         (__old_semctl): Don't use CHECK_SEMCTL.
1644         (__new_semctl): Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1646         <bp-checks.h> and <bp-semctl.h>.
1647         (semctl): Don't use CHECK_SEMCTL.
1649         [BZ #13550]
1650         * Makerules (elide-bp-thunks): Remove variable.
1651         (elide-routines.oS): Don't use $(elide-bp-thunks).
1652         (elide-routines.os): Likewise.
1653         (elide-routines.o): Likewise.
1654         (elide-routines.op): Likewise.
1655         (elide-routines.og): Likewise.
1656         (objects): Don't use $(bp-thunks).
1657         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1658         include.
1659         (common-generated): Do not add s-proto-bp.d.
1660         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1661         (int): Likewise.
1662         (typ): Likewise.
1663         Do not generate makefile rules for bounded-pointer thunks.
1664         * sysdeps/generic/bp-thunks.h: Remove file.
1665         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1666         * sysdeps/unix/s-proto-bp.S: Likewise.
1668         [BZ #15062]
1669         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1670         parts of result separately when argument is not close to line from
1671         -i to i and one part of argument is small.
1672         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1673         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1674         * math/libm-test.inc (cacos_test): Add more tests.
1675         (casin_test): Likewise.
1676         (casinh_test): Likewise.
1677         * sysdeps/i386/fpu/libm-test-ulps: Update.
1678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1680 2013-01-31  David S. Miller  <davem@davemloft.net>
1682         * po/de.po: Update from translation team.
1684 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
1686         * time/tzfile.c: Include stdint.h for SIZE_MAX.
1688 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
1690         * configure.in (_AC_PROG_CC_C89): New definition.
1691         * configure: Regenerate.
1693         * configure.in (AC_PROG_CPP): New definition.
1694         * configure: Regenerate.
1696 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1698         * debug/tst-backtrace.h: New file.
1699         * debug/tst-backtrace2.c: Include tst-backtrace.h.
1700         (ret): Remove variable.
1701         (x): Likewise.
1702         (FAIL): Remove macro.
1703         (NO_INLINE): Likewise.
1704         (fn1): Use match function instead of strstr.
1705         * debug/tst-backtrace3.c: Include tst-backtrace.h.
1706         (ret): Remove variable.
1707         (x): Likewise.
1708         (FAIL): Remove macro.
1709         (NO_INLINE): Likewise.
1710         (fn): Use match function instead of strstr.
1711         * debug/tst-backtrace4.c: Include tst-backtrace.h.
1712         (ret): Remove variable.
1713         (x): Likewise.
1714         (FAIL): Remove macro.
1715         (NO_INLINE): Likewise.
1716         (handle_signal): Use match function instead of strstr.
1717         * debug/tst-backtrace5.c: Include tst-backtrace.h.
1718         (ret): Remove variable.
1719         (x): Likewise.
1720         (FAIL): Remove macro.
1721         (NO_INLINE): Likewise.
1722         (handle_signal): Use match function instead of strstr.
1724 2013-01-23  Roland McGrath  <roland@hack.frob.com>
1726         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1728 2013-01-23  David S. Miller  <davem@davemloft.net>
1730         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1731         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1732         argument of CAS if possible.
1733         * sysdeps/sparc/sparc64/bits/atomic.h
1734         (__arch_compare_and_exchange_val_32_acq): Likewise.
1735         (__arch_compare_and_exchange_val_64_acq): Likewise.
1737 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
1739         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1740         * sysdeps/posix/ulimit.c: ... this.
1741         Include <limits.h>.
1742         * sysdeps/unix/bsd/ulimit.c: Remove file.
1744 2013-01-23  Adam Conrad  <adconrad@0c3.net>
1746         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1747         (LDFLAGS-tst-array5): Likewise.
1749 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
1751         [BZ #15036]
1752         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1753         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1754         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1757 2013-01-21  David S. Miller  <davem@davemloft.net>
1759         * sysdeps/sparc/backtrace.c: New file.
1760         * sysdeps/sparc/sparc32/backtrace.h: New file.
1761         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1762         * sysdeps/sparc/sparc64/backtrace.h: New file.
1763         * sysdeps/sparc/sparc64/backtrace.c: Delete.
1764         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1765         -funwind-tables.
1767 2013-01-21  Andreas Schwab  <schwab@suse.de>
1769         [BZ #15020]
1770         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1771         closed its stdout.
1773 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
1775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1776         "mpa2.h".
1777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1779 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
1780             Mark Mitchell  <mark@codesourcery.com>
1781             Tom de Vries  <tom@codesourcery.com>
1782             Paul Pluzhnikov  <ppluzhnikov@google.com>
1784         * debug/tst-backtrace2.c: New file.
1785         * debug/tst-backtrace3.c: Likewise.
1786         * debug/tst-backtrace4.c: Likewise.
1787         * debug/tst-backtrace5.c: Likewise.
1788         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1789         (CFLAGS-tst-backtrace3.c): Likewise.
1790         (CFLAGS-tst-backtrace4.c): Likewise.
1791         (CFLAGS-tst-backtrace5.c): Likewise.
1792         (LDFLAGS-tst-backtrace2): Likewise.
1793         (LDFLAGS-tst-backtrace3): Likewise.
1794         (LDFLAGS-tst-backtrace4): Likewise.
1795         (LDFLAGS-tst-backtrace5): Likewise.
1796         (tests): Add new tests tst-backtrace2, tst-backtrace3,
1797         tst-backtrace4 and tst-backtrace5.
1799 2013-01-18  Anton Blanchard  <anton@samba.org>
1800             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1802         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1803         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1804         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1805         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1807         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1808         "+r" and remove output regs list as redundant.  Add explicit inline
1809         asm to specify register of return val to work around compiler codegen
1810         bug.  Remove (int) cast on return value.  Add return type parameter to
1811         use in macro so that this macro does not truncate return value for
1812         64-bit values.
1813         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1814         pass to INTERNAL_VSYSCALL_NCS.
1815         (INLINE_VSYSCALL): Add 'long int' as return type to
1816         INTERNAL_VSYSCALL_NCS macro invocation.
1817         (INTERNAL_VSYSCALL): Add 'long int' as return type to
1818         INTERNAL_VSYSCALL_NCS macro invocation.
1819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1821 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1823         [BZ #14496]
1824         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1825         Fix application of SIMD FP exception mask.
1827         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1828         mp_no from a power of two.
1829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1830         __mpexp_twomm1.  Use __pow_mp.
1832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1833         multiplication.
1835 2013-01-17  David S. Miller  <davem@davemloft.net>
1837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1839 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1841         [BZ #15023]
1842         * include/complex.h: Condition contents on [!_COMPLEX_H].
1843         (__kernel_casinhf): New prototype.
1844         (__kernel_casinh): Likewise.
1845         (__kernel_casinhl): Likewise.
1846         * math/Makefile (libm_calls): Add k_casinh.
1847         * math/k_casinh.c: New file.
1848         * math/k_casinhf.c: Likewise.
1849         * math/k_casinhl.c: Likewise.
1850         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1851         finite nonzero arguments.
1852         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1853         finite nonzero arguments.
1854         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1855         finite nonzero arguments.
1856         * math/s_casinh.c: Do not include <float.h>.
1857         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1858         * math/s_casinhf.c: Do not include <float.h>.
1859         (__casinhf): Move code for finite nonzero arguments to
1860         k_casinhf.c.
1861         * math/s_casinhl.c: Do not include <float.h>.
1862         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1863         redefine.
1864         (__casinhl): Move code for finite nonzero arguments to
1865         k_casinhl.c.
1866         * math/libm-test.inc (cacos_test): Add more tests.
1867         * sysdeps/i386/fpu/libm-test-ulps: Update.
1868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1870 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
1872         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1873         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1874         [!HAVE_MREMAP]: Remove [defined linux] case.
1875         * malloc/arena.c: Do not include <malloc-sysdep.h>.
1877 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
1879         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1881 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
1883         * elf/elf.h (R_386_SIZE32): New relocation.
1884         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1885         R_386_SIZE32.
1886         (elf_machine_rela): Likewise.
1887         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1888         R_X86_64_SIZE64 and R_X86_64_SIZE32.
1890 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
1892         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1893         (FP_FAST_FMA): Do not define.
1894         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1895         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1896         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1897         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1898         !_SOFT_FLOAT]: Likewise.
1899         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1900         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1901         value.
1902         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1903         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1904         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1905         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1906         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1907         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1908         file.
1910 2013-01-16  Andreas Schwab  <schwab@suse.de>
1912         [BZ #14327]
1913         * include/stdlib.h (__mktemp): Add declaration.
1914         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1915         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1917 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1919         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1920         definitions.
1921         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1922         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1923         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1924         definitions here.
1925         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1926         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1927         definitions.
1928         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1929         and ONE.
1930         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1931         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1932         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1933         definitions.
1934         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1935         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1936         definitions.
1937         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1939         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1941 2013-01-15  David S. Miller  <davem@davemloft.net>
1943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1944         trunc{,f} to libm-sysdep_routes.
1945         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1947         file.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1950         file.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1952         file.
1953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1955         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1956         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1957         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1958         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1959         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1960         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1963         nearbyint{,f} to libm-sysdep_routes.
1964         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1966         New file.
1967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1968         file.
1969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1970         New file.
1971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1972         file.
1973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1975         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1976         file.
1977         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1978         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1979         file.
1980         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1981         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1982         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1984         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1985         libc_feholdexcept and libc_fesetenv.
1987 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
1989         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1991 2013-01-14  David S. Miller  <davem@davemloft.net>
1993         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1994         (SPARC_ASM_VIS2_IFUNC): Likewise.
1995         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1997         use of 'siam' instruction.
1998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1999         Likewise.
2000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2001         Likewise.
2002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2003         Likewise.
2004         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2005         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2009         file.
2010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2011         file.
2012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2013         file.
2014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2015         file.
2016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2021         new VIS2 routines.
2022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2025         Likewise.
2026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2029         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2031         routines to libm-sysdep_routines.
2032         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2035         fdim/fdimf to libm-sysdep_routines.
2036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2037         file.
2038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2040         file.
2041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2044         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2045         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2046         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2047         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2049 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2052         to optimize copies.
2054         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2059         local variable MPTWO.
2060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2061         Likewise.
2063 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2065         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2066         GLOB_NOESCAPE.
2068 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2070         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2072 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2074         * manual/pattern.texi (glob_t): Document gl_flags.
2075         (glob64_t): Likewise.
2077 2013-01-11  David S. Miller  <davem@davemloft.net>
2079         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2080         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2081         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2082         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2083         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2084         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2085         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2086         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2087         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2088         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2089         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2090         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2091         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2093         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2094         sparc V9 rather than using V8 code.
2095         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2096         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2098         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2099         Move to...
2100         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2101         Here.
2103 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2105         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2106         not in the main loop.
2107         * configure: Regenerated.
2109 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2111         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2112         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2113         to just #else.
2114         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2115         [!__GLIBC_HAVE_LONG_LONG] case.
2116         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2117         condition to just #else.
2118         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2119         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2120         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2121         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2122         unconditional.
2123         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2124         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2125         #elif condition to just #else.
2126         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2127         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2128         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2129         #elif condition to just #else.
2131 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2133         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2134         (EF_MIPS_ARCH_64): Fix value.
2135         (EF_MIPS_ARCH_32R2): New.
2136         (EF_MIPS_ARCH_64R2): New.
2138 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2140         * Makeconfig (+link-pie-before-libc): New.
2141         (+link-pie-after-libc): Likewise.
2142         (+link-pie-tests): Likewise.
2143         (+link-pie): Rewritten.
2144         (link-before-libc): Remove $(config-LDFLAGS).
2145         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2146         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2147         (config-LDFLAGS): Renamed to ...
2148         (rtld-LDFLAGS): This.
2149         (rtld-tests-LDFLAGS): New macro.
2150         (link-libc-rpath-link): Likewise.
2151         (link-libc-tests-rpath-link): Likewise.
2152         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2153         (link-libc): Prepand $(link-libc-rpath-link).
2154         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2155         (test-program-prefix): New macro.
2156         (test-via-rtld-prefix): Likewise.
2157         (test-program-cmd): Likewise.
2158         (host-test-program-cmd): Likewise.
2159         * Makefile ($(common-objpfx)testrun.sh): Replace
2160         $(run-program-prefix) with $(test-program-prefix).
2161         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2162         $(rtld-LDFLAGS).
2163         ($(common-objpfx)shlib.lds): Likewise.
2164         (build-module-helper): Likewise.
2165         ($(common-objpfx)format.lds): Likewise.
2166         * Rules (binaries-pie-tests): New.
2167         (binaries-pie-notests): Likewise.
2168         (binaries-pie): Rewritten.
2169         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2170         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2171         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2172         (make-test-out): Replace $(host-built-program-cmd) with
2173         $(host-test-program-cmd).
2174         * config.make.in (build-hardcoded-path-in-tests): New variable.
2175         * configure.in (--enable-hardcoded-path-in-tests): New configure
2176         option.
2177         (hardcoded_path_in_tests): New AC_SUBST.
2178         * configure: Regenerated.
2179         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2180         $(built-program-cmd) with $(test-program-cmd).
2181         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2182         (test_program_cmd): This.
2183         * elf/Makefile ($(objpfx)order.out): Run test with
2184         $(test-program-prefix).
2185         ($(objpfx)order2.out): Likewise.
2186         ($(objpfx)tst-initorder.out): Likewise.
2187         ($(objpfx)tst-initorder2.out): Likewise.
2188         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2189         $(test-program-cmd).
2190         ($(objpfx)tst-array1-static.out): Likewise.
2191         ($(objpfx)tst-array2.out): Likewise.
2192         ($(objpfx)tst-array3.out): Likewise.
2193         ($(objpfx)tst-array4.out): Likewise.
2194         ($(objpfx)tst-array5.out): Likewise.
2195         ($(objpfx)tst-array5-static.out): Likewise.
2196         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2197         $(test-program-cmd).
2198         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2199         $(run-program-prefix) with $(test-program-prefix).
2200         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2201         (test_program_prefix): This.
2202         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2203         $(run-program-prefix) with $(test-program-prefix).
2204         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2205         (test_program_prefix): This.
2206         * iconvdata/tst-tables.sh: Likewise.
2207         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2208         $(run-program-prefix) with $(test-program-prefix).
2209         ($(objpfx)tst-translit.out): Likewise.
2210         ($(objpfx)tst-gettext2.out): Likewise.
2211         ($(objpfx)tst-gettext4.out): Likewise.
2212         ($(objpfx)tst-gettext6.out): Likewise.
2213         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2214         (test_program_prefix): This.
2215         * intl/tst-gettext2.sh: Likewise.
2216         * intl/tst-gettext4.sh  Likewise.
2217         * intl/tst-gettext6.sh: Likewise.
2218         * intl/tst-translit.sh: Likewise.
2219         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2220         with $(test-program-cmd).
2221         * libio/Makefile ($(objpfx)test-freopen.out): Replace
2222         $(run-program-prefix) with $(test-program-prefix).
2223         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2224         (test_program_prefix): This.
2225         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2226         $(run-program-prefix) with $(test-program-prefix).
2227         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2228         (test_program_prefix): This.
2229         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2230         * posix/Makefile ($(objpfx)globtest.out): Replace
2231         $(run-via-rtld-prefix) and $(test-wrapper) with
2232         $(test-program-prefix) and $(test-via-rtld-prefix).
2233         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2234         $(test-program-prefix).
2235         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2236         $(host-test-program-cmd).
2237         (tst-spawn-ARGS): Likewise.
2238         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2239         $(test-program-prefix).
2240         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2241         (test_via_rtld_prefix): This.
2242         (test_wrapper): Renamed to ...
2243         (test_program_prefix): This.
2244         (run_program_prefix): Replaced by test_program_prefix.
2245         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2246         (test_program_prefix): This.
2247         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2248         with $(host-test-program-cmd).
2249         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2250         $(run-program-prefix) with $(test-program-prefix).
2251         ($(objpfx)tst-printf.out): Likewise.
2252         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2253         $(test-program-cmd).
2254         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2255         (test_program_prefix): This.
2256         * stdio-common/tst-unbputc.sh: Likewise.
2257         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2258         $(run-program-prefix) with $(test-program-prefix).
2259         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2260         (test_program_prefix): This.
2261         * string/Makefile ($(objpfx)tst-svc.out):  Replace
2262         $(built-program-cmd) with $(test-program-cmd).
2264 2013-01-11  Andreas Jaeger  <aj@suse.de>
2266         [BZ #15003]
2267         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2268         value. Sync with Linux 3.7.
2270 2013-01-10  David S. Miller  <davem@davemloft.net>
2272         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2276 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2278         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2279         never set.
2280         * configure: Regenerated.
2282 2013-01-10  David S. Miller  <davem@davemloft.net>
2284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2285         sparc V9 rather than using V8 code.
2286         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2287         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2289 2013-01-10  Roland McGrath  <roland@hack.frob.com>
2291         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2292         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2293         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2294         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2295         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2296         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2297         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2298         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2299         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2300         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2301         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2302         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2303         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2304         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2305         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2306         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2307         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2308         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2309         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2310         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2311         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2312         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2313         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2314         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2315         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2316         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2317         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2319 2013-01-10  David S. Miller  <davem@davemloft.net>
2321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2323 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2325         * posix/Makefile (tests-static): New variable.
2326         (tests): Add $(tests-static).
2327         (tst-exec-static-ARGS): New variable.
2328         (tst-spawn-static-ARGS): Likewise.
2329         * posix/tst-exec-static.c: New file.
2330         * posix/tst-spawn-static.c: Likewise.
2331         * posix/tst-exec.c: Support run directly.
2332         * posix/tst-spawn.c: Likewise.
2334 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
2336         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2337         long.
2338         * math/bits/mathcalls.h (llrint): Likewise.
2339         (llround): Likewise.
2340         * stdlib/stdlib.h (struct drand48_data): Likewise.
2341         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2342         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2343         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2344         Likewise.
2345         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2346         Likewise.
2347         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2348         (elf_greg_t): Likewise.
2349         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2350         (__jmp_buf): Likewise.
2351         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2352         definitions.
2353         (llrint): Likewise, for all definitions.
2354         (llrintl): Likewise.
2356         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2357         Remove [__GNUC__] condition.
2358         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2359         condition to just [__USE_ISOC99].
2360         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2362 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2364         [BZ #14200]
2365         * sysdeps/unix/sysv/linux/x86/bits/environments.h
2366         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2367         defined.
2368         (_POSIX_V6_ILP32_OFF32): Likewise.
2369         (_XBS5_ILP32_OFF32): Likewise.
2370         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2371         (__ILP32_OFFBIG_LDFLAGS): Likewise.
2373 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2375         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2378         doubles __mpexp_twomm1.  Adjust usage.
2379         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2380         Remove.
2382 2013-01-10  Andreas Schwab  <schwab@suse.de>
2384         [BZ #14964]
2385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2386         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2388 2013-01-09  David S. Miller  <davem@davemloft.net>
2390         [BZ #15003]
2391         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2392         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2393         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2394         TCP_FASTOPEN): Define.
2395         (tcp_repair_opt): New structure.
2396         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2397         enum values.
2398         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2399         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2400         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2401         (tcp_cookie_transactions): New structure.
2403 2013-01-09  Anton Blanchard  <anton@samba.org>
2405         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2406         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2407         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2408         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2410 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
2412         * include/features.h (__USE_ANSI): Remove.
2414 2013-01-09  Roland McGrath  <roland@hack.frob.com>
2416         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2418         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2420 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2422         * sysdeps/s390/fpu/libm-test-ulps: Update.
2424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2426         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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.
2440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2441         (__acr): Likewise.
2442         (__cpy): Likewise.
2443         (norm): Likewise.
2444         (denorm): Likewise.
2445         (__mp_dbl): Likewise.
2446         (__dbl_mp): Likewise.
2447         (add_magnitudes): Likewise.
2448         (sub_magnitudes): Likewise.
2449         (__add): Likewise.
2450         (__sub): Likewise.
2451         (__mul): Likewise.
2452         (__inv): Likewise.
2453         (__dvd): Likewise.
2454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
2455         (__acr): Likewise.
2456         (__cpy): Likewise.
2457         (norm): Likewise.
2458         (denorm): Likewise.
2459         (__mp_dbl): Likewise.
2460         (__dbl_mp): Likewise.
2461         (add_magnitudes): Likewise.
2462         (sub_magnitudes): Likewise.
2463         (__add): Likewise.
2464         (__sub): Likewise.
2465         (__mul): Likewise.
2466         (__inv): Likewise.
2467         (__dvd): Likewise.
2469 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
2471         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
2472         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
2473         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
2474         2 && __USE_EXTERN_INLINES]: Likewise.
2476 2013-01-08  Andreas Jaeger  <aj@suse.de>
2478         [BZ# 14985]
2479         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
2480         Remove.
2481         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2482         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
2484 2013-01-07  Anton Blanchard  <anton@samba.org>
2486         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
2487         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2488         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
2489         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2490         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2491         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2492         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2497         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2498         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2499         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2500         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2501         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2502         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2503         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2504         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2505         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2506         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2507         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
2508         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2509         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2510         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
2511         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2512         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2513         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
2515         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2516         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2518         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2519         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2520         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2521         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2524         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2526         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
2527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2530 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
2532         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
2533         (__MALLOC_PMT): Likewise.
2534         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
2535         [__GNUC__], only on [_LIBC].
2536         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2537         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
2538         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
2539         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
2540         forward declaration.
2541         (realloc_hook_ini): Likewise.
2542         (memalign_hook_ini): Likewise.
2543         (__libc_memalign): Do not use __MALLOC_PMT in variable
2544         declaration.
2545         (__libc_valloc): Likewise.
2546         (__libc_pvalloc): Likewise.
2547         (__libc_calloc): Likewise.
2548         (__posix_memalign): Likewise.
2550         [BZ #14996]
2551         * math/s_casinh.c: Include <float.h>.
2552         (__casinh): Do not do computation with squaring and square root
2553         for large arguments.
2554         * math/s_casinhf.c: Include <float.h>.
2555         (__casinhf): Do not do computation with squaring and square root
2556         for large arguments.
2557         * math/s_casinhl.c: Include <float.h>.
2558         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
2559         (__casinhl): Do not do computation with squaring and square root
2560         for large arguments.
2561         * math/libm-test.inc (casin_test): Add more tests.
2562         (casinh_test): Likewise.
2563         * sysdeps/i386/fpu/libm-test-ulps: Update.
2564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2568         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
2569         (__x86_64_raw_data_cache_size): Likewise.
2570         (__x86_64_data_cache_size_half): Likewise.
2571         (__x86_64_raw_data_cache_size_half): Likewise.
2572         (__x86_64_shared_cache_size): Likewise.
2573         (__x86_64_raw_shared_cache_size): Likewise.
2574         (__x86_64_shared_cache_size_half): Likewise.
2575         (__x86_64_raw_shared_cache_size_half): Likewise.
2576         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
2577         to ...
2578         (__x86_data_cache_size): This.
2579         (__x86_64_raw_data_cache_size): Renamed to ...
2580         (__x86_raw_data_cache_size): This.
2581         (__x86_64_data_cache_size_half): Renamed to ...
2582         (__x86_data_cache_size_half): This.
2583         (__x86_64_raw_data_cache_size_half): Renamed to ...
2584         (__x86_raw_data_cache_size_half): This.
2585         (__x86_64_shared_cache_size): Renamed to ...
2586         (__x86_shared_cache_size): This.
2587         (__x86_64_raw_shared_cache_size): Renamed to ...
2588         (__x86_raw_shared_cache_size): This.
2589         (__x86_64_shared_cache_size_half): Renamed to ...
2590         (__x86_shared_cache_size_half): This.
2591         (__x86_64_raw_shared_cache_size_half): Renamed to ...
2592         (__x86_raw_shared_cache_size_half): This.
2593         * sysdeps/x86_64/memcpy.S: Updated.
2594         * sysdeps/x86_64/memset.S: Likewise.
2595         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2596         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2597         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2599 2013-01-04  David S. Miller  <davem@davemloft.net>
2601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2603 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2605         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
2606         1 to avoid redefinition warning.
2607         (__USE_GNU): Don't define.
2608         (init_signaling_nan): Protoize.
2610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2612 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2614         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
2615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
2616         (__cpymn): Likewise.
2617         (norm): Remove commented code.
2618         (denorm): Likewise.
2619         (__mp_dbl): Likewise.
2620         (__inv): Likewise.
2621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
2622         (__cpymn): Likewise.
2623         (norm): Remove commented code.
2624         (denorm): Likewise.
2625         (__mp_dbl): Likewise.
2626         (__inv): Likewise.
2628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
2629         mp_no value for 1.0 and 2.0.
2630         (norm): Use RADIXI instead of radixi.d.
2631         (denorm): Likewise.
2632         (__mul): Use 0.0 instead of zero.d.
2633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
2634         mp_no value for 1.0 and 2.0.
2635         (norm): Use RADIXI instead of radixi.d.
2636         (denorm): Likewise.
2637         (__mul): Use 0.0 instead of zero.d.
2639 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
2641         [BZ #14994]
2642         * math/s_casinh.c (__casinh): Reduce finite argument to first
2643         quadrant then set signs of results at the end.
2644         * math/s_casinhf.c (__casinhf): Likewise.
2645         * math/s_casinhl.c (__casinhl): Likewise.
2646         * math/libm-test.inc (casin_test): Add more tests.
2647         (casinh_test): Likewise.
2648         * sysdeps/i386/fpu/libm-test-ulps: Update.
2649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2651 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2655         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2657         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2658         declarations.
2659         (denorm): Likewise.
2660         (__mp_dbl): Likewise.
2661         (__inv): Likewise.
2663         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2664         and adjust the header comment.
2666         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2667         variable name from declaration.
2669 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2672         Initialize COMMON_CPUID_INDEX_7 element.
2673         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2674         (CPUID_RTM): Likewise.
2675         (HAS_RTM): Likewise.
2676         (COMMON_CPUID_INDEX_7): New enum.
2678 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
2680         [BZ #14981]
2681         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2682         size is zero, record memory as freed.
2684 2013-01-03  Andreas Jaeger  <aj@suse.de>
2686         * po/ia.po: Add new Interlingua translation.
2688 2012-01-03  Allan McRae  <allan@archlinux.org>
2690         * locale/programs/localedef.c: Fix description of '--posix' flag.
2692 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
2694         * NEWS: Update dates in second copyright notice.
2695         * README: Update copyright dates in example.
2696         * manual/libc.texinfo: Update copyright dates.
2697         * scripts/test-installation.pl: Update copyright date in --version
2698         output.
2700         * hurd/ctty-input.c: Fix copyright notice formatting.
2701         * hurd/ctty-output.c: Likewise.
2702         * hurd/dtable.c: Likewise.
2703         * hurd/hurd-raise.c: Likewise.
2704         * hurd/hurdprio.c: Likewise.
2705         * hurd/msgportdemux.c: Likewise.
2706         * misc/sys/file.h: Likewise.
2707         * misc/sys/ioctl.h: Likewise.
2708         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2709         * sysdeps/mach/hurd/chdir.c: Likewise.
2710         * sysdeps/mach/hurd/fchdir.c: Likewise.
2711         * sysdeps/mach/hurd/rename.c: Likewise.
2712         * sysdeps/mach/hurd/rmdir.c: Likewise.
2713         * sysdeps/mach/hurd/seekdir.c: Likewise.
2714         * sysdeps/mach/hurd/setsid.c: Likewise.
2715         * sysdeps/posix/wait3.c: Likewise.
2717         * All files with FSF copyright notices: Update copyright dates
2718         using scripts/update-copyrights.
2719         * intl/plural.c: Regenerated.
2720         * locale/programs/charmap-kw.h: Likewise.
2721         * locale/programs/locfile-kw.h: Likewise.
2723 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2725         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2726         four values.
2728         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2729         calculation loop and add branch prediction.
2731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2732         check access beyond bounds of m1np.
2734         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2735         MPTWO.
2736         (__inv): Remove local variable MPTWO to use the global
2737         constant.
2738         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2739         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2740         variable MPTWO.
2741         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2742         MP3HALFS static const.
2744 2013-01-01  David S. Miller  <davem@davemloft.net>
2746         * po/ca.po: Update from translation team.
2748 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
2750         * scripts/update-copyrights: New file.
2751         * Makeconfig: Reformat copyright notice.
2752         * ctype/ctype.h: Likewise.
2753         * debug/swprintf_chk.c: Likewise.
2754         * elf/dl-cache.c: Likewise.
2755         * elf/dl-debug.c: Likewise.
2756         * elf/dl-object.c: Likewise.
2757         * grp/initgroups.c: Likewise.
2758         * hurd/Makefile: Likewise.
2759         * hurd/hurd/signal.h: Likewise.
2760         * hurd/hurdfault.c: Likewise.
2761         * hurd/hurdioctl.c: Likewise.
2762         * hurd/hurdlookup.c: Likewise.
2763         * hurd/intr-msg.c: Likewise.
2764         * iconv/gconv_open.c: Likewise.
2765         * libio/swprintf.c: Likewise.
2766         * locale/lc-ctype.c: Likewise.
2767         * locale/nl_langinfo.c: Likewise.
2768         * mach/Machrules: Likewise.
2769         * mach/Makefile: Likewise.
2770         * malloc/obstack.h: Likewise.
2771         * manual/Makefile: Likewise.
2772         * manual/tsort.awk: Likewise.
2773         * misc/bits/stab.def: Likewise.
2774         * nis/nis_print_group_entry.c: Likewise.
2775         * nis/nis_table.c: Likewise.
2776         * nis/nss_compat/compat-pwd.c: Likewise.
2777         * nis/nss_compat/compat-spwd.c: Likewise.
2778         * po/Makefile: Likewise.
2779         * posix/fnmatch.c: Likewise.
2780         * posix/regex.h: Likewise.
2781         * resolv/Makefile: Likewise.
2782         * resolv/nss_dns/dns-network.c: Likewise.
2783         * resolv/res_hconf.c: Likewise.
2784         * scripts/gen-sorted.awk: Likewise.
2785         * soft-fp/soft-fp.h: Likewise.
2786         * stdio-common/printf.h: Likewise.
2787         * stdlib/monetary.h: Likewise.
2788         * stdlib/random.c: Likewise.
2789         * stdlib/random_r.c: Likewise.
2790         * sysdeps/generic/Makefile: Likewise.
2791         * sysdeps/gnu/Makefile: Likewise.
2792         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2796         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2797         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2798         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2799         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2800         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2802         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2803         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2804         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2805         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2806         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2807         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2808         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2809         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2812         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2813         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2814         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2820         * sysdeps/mach/hurd/errnos.awk: Likewise.
2821         * sysdeps/mach/hurd/fork.c: Likewise.
2822         * sysdeps/mach/hurd/getcwd.c: Likewise.
2823         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2824         * sysdeps/mach/hurd/mmap.c: Likewise.
2825         * sysdeps/mach/hurd/utimes.c: Likewise.
2826         * sysdeps/mach/hurd/xmknod.c: Likewise.
2827         * sysdeps/posix/profil.c: Likewise.
2828         * sysdeps/posix/readdir_r.c: Likewise.
2829         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2830         * sysdeps/powerpc/bits/setjmp.h: Likewise.
2831         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2832         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2834         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2835         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2836         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2838         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2839         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2840         * sysdeps/pthread/lio_listio.c: Likewise.
2841         * sysdeps/sparc/dl-procinfo.h: Likewise.
2842         * sysdeps/unix/i386/sysdep.S: Likewise.
2843         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2844         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2845         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2846         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2848         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2849         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2850         * sysdeps/unix/sysv/linux/speed.c: Likewise.
2851         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2852         * sysdeps/wordsize-32/divdi3.c: Likewise.
2853         * time/sys/time.h: Likewise.
2854         * wcsmbs/Makefile: Likewise.
2856 2013-01-01  David S. Miller  <davem@davemloft.net>
2858         * po/fr.po: Update from translation team.
2860         * catgets/gencat.c: Update copyright year.
2861         * csu/version.c: Likewise.
2862         * debug/catchsegv.sh: Likewise.
2863         * debug/pcprofiledump.c: Likewise.
2864         * debug/xtrace.sh: Likewise.
2865         * elf/ldconfig.c: Likewise.
2866         * elf/ldd.bash.in: Likewise.
2867         * elf/pldd.c: Likewise.
2868         * elf/sotruss.ksh: Likewise.
2869         * elf/sprof.c: Likewise.
2870         * iconv/iconv_prog.c: Likewise.
2871         * iconv/iconvconfig.c: Likewise.
2872         * locale/programs/locale.c: Likewise.
2873         * locale/programs/localedef.c: Likewise.
2874         * login/programs/pt_chown.c: Likewise.
2875         * malloc/memusage.sh: Likewise.
2876         * malloc/memusagestat.c: Likewise.
2877         * malloc/mtrace.pl: Likewise.
2878         * nscd/nscd.c: Likewise.
2879         * nss/getent.c: Likewise.
2880         * nss/makedb.c: Likewise.
2881         * posix/getconf.c: Likewise.
2883 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2885         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2886         numbers.
2888 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
2890         * math/bits/mathcalls.h (modf): Use __nonnull.
2892 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2894         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2895         (split): Use macro CN instead of the bare value.
2896         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2897         could be used.
2898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2899         instead of the bare value.
2900         (power1): Likewise.
2902 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2905         __ATAN_TWOM.
2906         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2908         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2909         their values.
2910         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2911         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2912         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2913         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2915 2012-12-28  Andreas Jaeger  <aj@suse.de>
2917         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
2918         values are from Linux 3.7.
2920         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2921         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
2923 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2925         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
2926         TRUE case.
2928         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2929         (norm): Likewise.
2930         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2931         variables with preprocessor constants.
2932         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2933         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2934         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2936 2012-12-27  Bruno Haible  <bruno@clisp.org>
2938         [BZ #14317]
2939         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2940         only if needed.
2942 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2945         and use variable directly.
2946         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2948         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2949         MPONE.
2950         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2951         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2952         variable MPONE.
2953         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2955         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2956         include directive.  Remove local variable MPONE.
2957         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2958         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2961 2012-12-25  David S. Miller  <davem@davemloft.net>
2963         * version.h (RELEASE): Set to "development".
2964         (VERSION): Set to "2.17.90".
2965         * NEWS: Add 2.18 section.
2967 2012-12-21  David S. Miller  <davem@davemloft.net>
2969         * po/hr.po: Update from translation team.
2971 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2973         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2975 2012-12-19  Steve Ellcey  <sellcey@mips.com>
2977         * NEWS:  Mention new memcpy for MIPS.
2979 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2981         * manual/contrib.texi (Contributors): Spelling correction.
2983 2012-12-15  David S. Miller  <davem@davemloft.net>
2985         * po/ru.po: Update from translation team.
2987 2012-12-13  David S. Miller  <davem@davemloft.net>
2989         * NEWS: Mention IFUNC testsuite enhancements.
2991         * po/pl.po: Update from translation team.
2992         * po/bg.po: Likewise.
2994         * manual/contrib.texi (Contributors): Update entries for Hongjiu
2995         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
2997 2012-12-11  David S. Miller  <davem@davemloft.net>
2999         * po/sv.po: Update from translation team.
3001         * po/vi.po: Update from translation team.
3003         * po/cs.po: Update from translation team.
3005         * po/de.po: Update from translation team.
3006         * po/eo.po: Likewise.
3007         * po/nl.po: Likewise.
3009 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3011         [BZ #14246]
3012         * manual/argp.texi (Argp Helper Functions): Move node to follow
3013         Argp Parsing State.
3015         [BZ #14872]
3016         * manual/conf.texi (Limits on File System Capacity): Mention if
3017         terminating null is included in the max size.
3019 2012-12-10  Andreas Jaeger  <aj@suse.de>
3021         * po/cs.po: Update from translation team.
3023 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3025         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3026         void pointer and cast to uintptr_t.
3027         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3028         path.
3029         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3030         * sysdeps/s390/s390-64/memset.S: Likewise.
3032 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3034         [BZ #14833]
3035         * menual/message.texi (Message Translation): Fix typos.
3036         (Helper programs for gettext): Likewise.
3038 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3040         [BZ #14898]
3041         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3042         Change to -1.
3044 2012-12-07  David S. Miller  <davem@davemloft.net>
3046         * po/libc.pot: Update.
3048 2012-12-07  Richard Henderson  <rth@redhat.com>
3050         [BZ #10114]
3051         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3052         normal/normal case to before the switch.
3053         (_FP_DIV): Likewise.
3055 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3056             Mike Frysinger  <vapier@gentoo.org>
3058         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3059         check for __NR_fadvise64_64.
3061 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3063         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3064         0, not just to plain "0" as a statement.
3065         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3066         with cw.
3068 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3070         * NEWS: Use sourceware.org in Bugzilla URL.
3072 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3075         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3077         * stdio-common/tst-put-error.c (do_test): Add newline to the
3078         padded test to ensure flush.
3080 2012-12-05  Jeff Law  <law@redhat.com>
3082         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3084 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3086         * README: Don't refer to ports add-on as distributed separately.
3087         Mention AArch64 in list of systems supported in the ports add-on.
3089         * LICENSES: Add more non-FSF copyright and license notices.
3091         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3092         ((unused)).
3094         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3096         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3097         10000 as width of padded output.
3099 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3101         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3104         variable LX with __attribute__ ((unused)).
3105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3106         Likewise.
3107         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3109         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3110         with __attribute__ ((unused)).
3112 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3114         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3116 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3118         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3119         (CFLAGS-nldbl-acos.c): New variable.
3120         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3121         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3122         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3123         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3124         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3125         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3126         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3127         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3128         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3129         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3130         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3131         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3132         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3133         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3134         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3135         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3136         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3137         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3138         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3139         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3140         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3141         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3142         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3143         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3144         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3145         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3146         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3147         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3148         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3149         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3150         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3151         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3152         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3153         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3154         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3155         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3156         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3157         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3158         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3159         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3160         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3161         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3162         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3163         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3164         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3165         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3166         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3167         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3168         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3169         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3170         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3171         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3172         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3173         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3174         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3175         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3176         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3177         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3178         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3179         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3180         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3181         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3182         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3183         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3184         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3185         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3186         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3187         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3188         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3189         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3190         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3191         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3192         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3193         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3194         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3195         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3196         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3197         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3198         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3199         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3200         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3201         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3202         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3203         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3204         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3205         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3206         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3207         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3208         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3209         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3210         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3211         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3212         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3213         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3214         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3215         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3216         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3219         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3221         [BZ #14914]
3222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3223         whole low double instead of just low 47 bits when splitting values
3224         into two parts.
3226 2012-12-03  Allan McRae  <allan@archlinux.org>
3228         * manual/stdio.texi (Predefined Printf Handlers): Remove
3229         @hsep and @vsep usage.
3231 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
3233         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3234         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3236 2012-12-03  Jeff Law  <law@redhat.com>
3238         * time/sys/time.h (settimeofday): Do not mark TV argument
3239         as __nonnull.
3241 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
3243         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3244         when currently writing and seek to current position when not.
3245         * libio/Makefile (tests): Remove bug-fclose1.
3246         * libio/bug-fclose1.c: Delete.
3248 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
3250         * manual/arith.texi (feenableexcept): Fix typo.
3251         (fedisableexcept): Likewise.
3253 2012-11-30  Roland McGrath  <roland@hack.frob.com>
3255         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3256         second, differently-typed declaration, rather than a cast.
3258 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3260         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3261         * include/rpc/svc.h: ... here.
3263 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
3265         [BZ #13013]
3266         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3267         depending n and resplen2 to catch cases where answer
3268         equals answerp2.
3270 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
3272         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3273         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3275 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
3277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3279 2012-11-29  Roland McGrath  <roland@hack.frob.com>
3281         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3283 2012-11-28  Jeff Law  <law@redhat.com>
3285         [BZ #13761]
3286         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3287         dataset_temporary.  Track alloca usage into alloca_used.
3288         If dataset is large allocate and release it via malloc/free.
3290 2012-06-04  Florian Weimer  <fweimer@redhat.com>
3292         [BZ #14197]
3293         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3295 2012-11-28  David S. Miller  <davem@davemloft.net>
3297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #14803]
3302         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3303         of pi/2 rounded to nearest to 64 bits.
3304         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3305         nearest to 64 bits.
3306         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3307         bits.
3309 2012-11-28  Jeff Law <law@redhat.com>
3310             Martin Osvald <mosvald@redhat.com>
3312         [BZ #14889]
3313         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3314         * sunrpc/svc.c: Include time.h.
3315         (__svc_accept_failed): New function.
3316         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3317         any reason other than EINTR, call __svc_accept_failed.
3318         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3319         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3321 2012-11-28  Andreas Schwab  <schwab@suse.de>
3323         * scripts/abilist.awk: Also handle indirect functions in .opd
3324         section.
3326 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
3328         [BZ #13881]
3329         * sysdeps/x86/fpu/powl_helper.c: New file.
3330         * sysdeps/x86/fpu/Makefile: Likewise.
3331         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3332         (p3): New object.
3333         (__ieee754_powl): Use __powl_helper for finite arguments except
3334         integer exponents below 8.
3335         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3336         (p3): New object.
3337         (__ieee754_powl): Use __powl_helper for finite arguments except
3338         integer exponents below 8.
3339         * math/libm-test.inc (pow_test): Add more tests and enable some
3340         previously disabled tests.
3341         * sysdeps/i386/fpu/libm-test-ulps: Update.
3342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3344 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3345             Carlos O'Donell  <carlos_odonell@mentor.com>
3347         * nss/makedb.c (is_prime): Assert that input is odd and greater
3348         than 4.  Note that fact in a comment too.
3349         (next_prime): Add 4 to input.
3351 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3353         [BZ #11741]
3354         * libio/Makefile (tests): Add test case tst-fwrite-error.
3355         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3356         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3357         * libio/tst-fwrite-error.c: New test case.
3359 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
3361         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3362         before casting to void *.
3363         * include/libc-internal.h (__pointer_type): New macro.
3364         (__integer_if_pointer_type_sub): Likewise.
3365         (__integer_if_pointer_type): Likewise.
3366         (cast_to_integer): Likewise.
3367         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3368         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3369         before casting to atomic64_t.
3370         (atomic_exchange_acq): Likewise.
3371         (__arch_exchange_and_add_body): Likewise.
3372         (__arch_add_body): Likewise.
3373         (atomic_add_negative): Likewise.
3374         (atomic_add_zero): Likewise.
3376 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
3378         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3379         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3380         (add_fdes): Likewise.
3381         (linear_search_fdes): Likewise.
3382         (binary_search_unencoded_fdes): Likewise.
3384 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
3386         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3388 2012-11-24  Adam Conrad  <adconrad@0c3.net>
3390         * configure.in: Autodetect C++ header directories.
3391         * configure: Regenerated.
3393 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
3395         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3397 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
3399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3401 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
3403         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3404         LDBL_MANT_DIG == 106]: Disable some tests.
3405         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3406         Likewise.
3407         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3408         Likewise.
3410         [BZ #14871]
3411         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3412         input for small inputs.  Return +/- pi/2 for large inputs.
3413         * math/libm-test.inc (atan_test): Add more tests.
3415         * sysdeps/generic/unwind-dw2-fde-glibc.c
3416         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3417         __attribute__ ((unused)).
3419         [BZ #14645]
3420         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3421         x * y if x and y are nonzero and z is zero.
3423         [BZ #14811]
3424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3425         nonzero exponents with absolute value below 0x1p-117 to +/-
3426         0x1p-117.
3428         [BZ #14869]
3429         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3430         up arguments below 2**-450, not just those below 2**-500.
3431         * math/libm-test.inc (hypot_test): Add another test.
3433         [BZ #14868]
3434         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3435         Return a+b for ratio over 2**120, not 2**60.
3436         * math/libm-test.inc (hypot_test): Add another test.
3438         * math/libm-test.inc (clog_test): Use
3439         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3440         (clog10_test): Likewise.
3442         [BZ #6778]
3443         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3445 2012-11-22  Andreas Schwab  <schwab@suse.de>
3447         * sysdeps/i386/fpu/libm-test-ulps: Update.
3449 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
3451         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
3452         printf output with newline.
3454 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
3456         [BZ #14865]
3457         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
3458         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
3459         -z nodlopen, -z initfirst and -z execstack support.
3460         * configure: Regenerated.
3462         * elf/elf.h (DF_1_NODIRECT): New macro.
3463         (DF_1_IGNMULDEF): Likewise.
3464         (DF_1_NOKSYMS): Likewise.
3465         (DF_1_NOHDR): Likewise.
3466         (DF_1_EDITED): Likewise.
3467         (DF_1_NORELOC): Likewise.
3468         (DF_1_SYMINTPOSE): Likewise.
3469         (DF_1_GLOBAUDIT): Likewise.
3470         (DF_1_SINGLETON): Likewise.
3471         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
3472         DT_1_SUPPORTED_MASK bits.
3473         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
3475 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
3477         * sysdeps/unix/make-syscalls.sh: Document prefixes.
3479 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
3481         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
3482         macro.
3484         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
3485         (sendmmsg): Move declarations...
3486         * socket/sys/socket.h: ... here.
3487         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
3488         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
3489         include it from...
3490         * socket/recvmmsg.c: ... this new file.
3491         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
3492         (sendmmsg): Rename to __sendmmsg, create weak alias and make
3493         definition of __sendmmsg hidden.
3494         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3495         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
3496         Move ENOSYS stub into and include it from...
3497         * socket/sendmmsg.c: ... this new file.
3498         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
3499         (sysdep_routines): Move recvmmsg and sendmmsg...
3500         * socket/Makefile (routines): ... here.
3501         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
3502         (GLIBC_PRIVATE): Add __sendmmsg.
3503         * include/sys/socket.h (__sendmmsg): Add declarations.
3504         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
3505         sendmmsg.
3507 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
3509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
3510         variable I1 with __attribute__ ((unused)).
3511         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3513 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3515         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
3516         DUMMY variables with __attribute__ ((unused)).
3518         * bits/byteswap.h: Include <bits/types.h>.
3519         (__bswap_64): Use __uint64_t instead of unsigned long long int.
3521 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3523         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
3524         string_t.  Do not manually set errno.
3525         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
3526         length with __strnlen.  Make sure to both set errno and return it on
3527         failure.
3529 2012-11-19  David S. Miller  <davem@davemloft.net>
3531         With help from Joseph Myers.
3532         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
3533         very large arguments properly.
3534         * math/libm-test.inc (atan_test): New tests.
3535         (atan2_test): New tests.
3536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3539 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
3541         [BZ #14856]
3542         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
3543         Define to 3.
3545         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
3546         [POSIX] (EADDRNOTAVAIL): Likewise.
3547         [POSIX] (EAFNOSUPPORT): Likewise.
3548         [POSIX] (EALREADY): Likewise.
3549         [POSIX] (ECONNABORTED): Likewise.
3550         [POSIX] (ECONNREFUSED): Likewise.
3551         [POSIX] (ECONNRESET): Likewise.
3552         [POSIX] (EDESTADDRREQ): Likewise.
3553         [POSIX] (EDQUOT): Likewise.
3554         [POSIX] (EHOSTUNREACH): Likewise.
3555         [POSIX] (EIDRM): Likewise.
3556         [POSIX] (EISCONN): Likewise.
3557         [POSIX] (ELOOP): Likewise.
3558         [POSIX] (EMULTIHOP): Likewise.
3559         [POSIX] (ENETDOWN): Likewise.
3560         [POSIX] (ENETUNREACH): Likewise.
3561         [POSIX] (ENOBUFS): Likewise.
3562         [POSIX] (ENODATA): Likewise.
3563         [POSIX] (ENOLINK): Likewise.
3564         [POSIX] (ENOMSG): Likewise.
3565         [POSIX] (ENOPROTOOPT): Likewise.
3566         [POSIX] (ENOSR): Likewise.
3567         [POSIX] (ENOSTR): Likewise.
3568         [POSIX] (ENOTCONN): Likewise.
3569         [POSIX] (ENOTSOCK): Likewise.
3570         [POSIX] (EOPNOTSUPP): Likewise.
3571         [POSIX] (EOVERFLOW): Likewise.
3572         [POSIX] (EPROTO): Likewise.
3573         [POSIX] (EPROTONOSUPPORT): Likewise.
3574         [POSIX] (EPROTOTYPE): Likewise.
3575         [POSIX] (ESTALE): Likewise.
3576         [POSIX] (ETIME): Likewise.
3577         [POSIX] (ETXTBSY): Likewise.
3578         [POSIX] (EWOULDBLOCK): Likewise.
3579         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
3580         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
3581         [POSIX] (SEEK_CUR): Likewise.
3582         [POSIX] (SEEK_END): Likewise.
3583         [POSIX || UNIX98] (mode_t): Do not require.
3584         [POSIX] (off_t): Likewise.
3585         [POSIX] (pid_t): Likewise.
3586         [POSIX] (sys/stat.h): Do not allow header.
3587         [POSIX] (unistd.h): Likewise.
3588         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
3589         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
3590         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
3591         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
3592         require.
3593         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
3594         sigevent): Specify elements.
3595         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
3596         entry.
3597         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
3598         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
3600         * conform/data/cpio.h-data [POSIX]: Disable whole file.
3601         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
3602         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
3603         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
3604         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
3605         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
3606         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
3607         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
3608         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
3609         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
3610         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
3611         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
3612         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
3613         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
3614         Likewise.
3615         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
3616         Likewise.
3617         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
3618         Likewise.
3619         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
3620         Likewise.
3621         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
3622         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
3623         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
3624         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
3625         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
3626         Specify lower bound on value.
3627         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
3628         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
3629         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
3630         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
3631         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
3632         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
3633         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
3634         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
3635         value.
3636         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
3637         as optional.
3638         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
3639         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
3640         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
3641         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
3642         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
3643         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3644         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3645         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3646         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3647         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3648         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3649         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3650         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3651         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3652         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3653         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3654         entry.
3655         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3656         optional.
3657         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3658         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3659         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3660         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3661         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3662         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3663         Likewise.
3664         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3665         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3666         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3667         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3668         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
3669         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3670         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3671         as optional.
3672         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3673         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3674         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3675         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3676         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3677         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3678         specify as optional.
3679         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3680         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3681         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3682         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3683         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3684         [XPG3] (NL_LANGMAX): Likewise.
3685         [POSIX || XPG3] (NL_MSGMAX): Likewise.
3686         [POSIX || XPG3] (NL_NMAX): Likewise.
3687         [POSIX || XPG3] (NL_SETMAX): Likewise.
3688         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3689         [XPG3] (NZERO): Likewise.
3690         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3691         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3692         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3693         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3694         (REG_ERANGE): Expect.
3695         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3696         optional-constant.
3697         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3698         Use (void) in prototype.
3699         [POSIX] (*_t): Allow.
3700         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3701         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3702         (WRDE_BADVAL): Expect.
3704         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3705         expect.
3706         [XPG3 || XPG4] (O_RSYNC): Likewise.
3707         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3708         Likewise.
3709         [XPG3 || XPG4] (pthread_sigmask): Likewise.
3710         [XPG3 || XPG4] (sigqueue): Likewise.
3711         [XPG3 || XPG4] (sigtimedwait): Likewise.
3712         [XPG3 || XPG4] (sigwaitinfo): Likewise.
3713         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3714         [XPG3 || XPG4] (vsnprintf): Likewise.
3715         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3716         Likewise.
3717         [XPG3 || XPG4] (blksize_t): Likewise.
3718         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3719         Likewise.
3720         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3721         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3722         [XPG3 || XPG4] (struct itimerspec): Likewise.
3723         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3724         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3725         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3726         [XPG3 || XPG4] (clockid_t): Likewise.
3727         [XPG3 || XPG4] (timer_t): Likewise.
3728         [XPG3 || XPG4] (clock_getres): Likewise.
3729         [XPG3 || XPG4] (clock_gettime): Likewise.
3730         [XPG3 || XPG4] (clock_settime): Likewise.
3731         [XPG3 || XPG4] (nanosleep): Likewise.
3732         [XPG3 || XPG4] (timer_create): Likewise.
3733         [XPG3 || XPG4] (timer_delete): Likewise.
3734         [XPG3 || XPG4] (timer_gettime): Likewise.
3735         [XPG3 || XPG4] (timer_getoverrun): Likewise.
3736         [XPG3 || XPG4] (timer_settime): Likewise.
3737         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3738         [XPG3 || XPG4] (getlogin_r): Likewise.
3739         [XPG3 || XPG4] (pread): Likewise.
3740         [XPG3 || XPG4] (pthread_atfork): Likewise.
3741         [XPG3 || XPG4] (pwrite): Likewise.
3743         [BZ #14835]
3744         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3745         <bits/siginfo.h>.
3747 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
3749         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3750         finalizing MALLSTREAM.
3752         * sysdeps/mach/hurd/syncfs.c: New file.
3754 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3756         [BZ #14719]
3757         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3758         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3760         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3761         (_nss_dns_gethostbyname4_r): Likewise.
3762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3763         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3765 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
3767         [BZ #13763]
3768         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3770 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
3772         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3773         * elf/cache.c (print_entry): Print ",AArch64" for
3774         FLAG_AARCH64_LIB64
3776         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3777         * elf/cache.c (print_entry): Print ",hard-float" for
3778         FLAG_ARM_LIBHF.
3780 2012-11-18  David S. Miller  <davem@davemloft.net>
3782         With help from Joseph Myers.
3783         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3784         cutoff to 2**-13.
3785         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3786         cutoff to 2**-25.
3787         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3788         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3789         small.
3790         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3791         * math/libm-test.inc (y0_test): New tests.
3792         (y1_test): New tests.
3793         * sysdeps/i386/fpu/libm-test-ulps: Update.
3794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3797 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
3799         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3800         64-bit targets.
3801         * configure: Regenerated.
3803 2012-11-17  David S. Miller  <davem@davemloft.net>
3805         [BZ #14811]
3806         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3807         nonzero exponents with absolute value below 0x1p-128 to +/-
3808         0x1p-128.
3810 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
3812         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3814         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3816         * posix/getconf-speclist.c: New file.
3817         * posix/posix-envs.def: Likewise.
3818         * posix/confstr.c (START_ENV_GROUP): New macro.
3819         (END_ENV_GROUP): Likewise.
3820         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3821         (KNOWN_PRESENT_ENV_STRING): Likewise.
3822         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3823         (UNKNOWN_ENVIRONMENT): Likewise.
3824         (confstr): Include posix-envs.def instead of handling
3825         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3826         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3827         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3828         (END_ENV_GROUP): Likewise.
3829         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3830         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3831         (UNKNOWN_ENVIRONMENT): Likewise.
3832         (__sysconf): Include posix-envs.def instead of handling associated
3833         cases directly here.
3834         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3835         preprocessing getconf-speclist.c rather than running getconf or
3836         generating empty file.
3838 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
3840         * scripts/check-local-headers.sh: Ignore 'mach' headers.
3842 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
3844         [BZ #14672]
3845         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3847 2012-11-16  David S. Miller  <davem@davemloft.net>
3849         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3850         smaller than LDBL_EPSILON/2.0L, just return xm1.
3852 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
3854         * elf/tst-array1.c (init): Set constructor priority to 1000.
3855         (fini): Set destructor priority to 1000.
3856         * elf/tst-array2dep.c: Likewise.
3858 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3860         [BZ #11741]
3861         * libio/fileops.c (_IO_new_file_write): Correctly return error.
3862         (_IO_new_file_xsputn): Also return EOF if none of the input
3863         data was written when overflow failed.
3864         * libio/iopadn.c (_IO_padn): Likewise.
3865         * libio/iowpadn.c (_IO_wpadn): Likewise.
3866         * stdio-common/tst-put-error.c: Add copyright notice.
3867         (do_test): Add case for printing padded string.
3868         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3869         _IO_padn returned error.
3870         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3871         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3872         return EOF.
3874 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3876         * libio/libioP.h: Add comment note that the references to C++
3877         bits are now obsolete.
3879 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3881         * math/libm-test.inc (check_complex): Use asprintf.
3883 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
3885         * debug/pcprofiledump.c (print_version): Update copyright year.
3886         * malloc/memusagestat.c (print_version): Likewise.
3888 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3890         [BZ #14831]
3891         * elf/Makefile (tests): Add tst-audit8.
3892         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3893         ($(objpfx)tst-audit8.out): New target.
3894         (tst-audit8-ENV): New variable.
3895         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3896         audit if l_reloc_result is NULL.
3897         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3898         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3899         * elf/tst-audit8.c: New file.
3901 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3903         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3904         * misc/Makefile (CFLAGS-select.c): Define.
3905         * posix/Makefile (CFLAGS-pause.c): Define.
3907 2012-11-13  David S. Miller  <davem@davemloft.net>
3909         * crypt/Makefile: Move test targets after toplevel Rules
3910         inclusion.  Grab any necessary sysdep routines when linking.
3911         * crypt/md5.c (md5_process_block): Remove define, we will always
3912         name it __md5_process_block.
3913         (md5_finish_ctx): Update md5_process_block call.
3914         (md5_stream): Likewise.
3915         (md5_process_bytes): Likewise.
3916         (md5_process_block): Rename to __md5_process_block and move to ...
3917         * crypt/md5-block.c: ... here.
3918         * crypt/sha256.c (sha256_process_block): Move to ...
3919         * crypt/sha256-block.c: ... here.
3920         * crypt/sha512.c (sha512_process_block): Move to ...
3921         * crypt/sha512-block.c: ... here.
3922         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3923         path.
3924         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3925         * sysdeps/sparc/sparc64/multiarch/Makefile
3926         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3927         crypt subdir.
3928         (localedef-aux): Add md5 crypto assembler when in locale subdir.
3929         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3930         multiarch changes.
3931         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3932         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3933         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3934         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3935         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3936         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3937         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3938         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3939         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3940         file.
3941         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3942         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3943         file.
3944         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3946 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
3948         * timezone/tzselect.ksh: Update from tzcode git revision
3949         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3950         * timezone/zdump.c: Likewise.
3951         * timezone/zic.c: Likewise.
3952         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3953         in TZVERSION setting, not $(PKGVERSION).
3954         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
3955         REPORT_BUGS_TO settings.
3957         [BZ #14838]
3958         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3959         macro.
3961 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3963         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3964         detection to immediately after _FP_ROUND().
3965         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3966         bits are 0.
3968 2012-11-11  David S. Miller  <davem@davemloft.net>
3970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3971         inttypes.h
3972         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3973         __close rather than their public counterparts.
3975 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
3977         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3978         file.
3979         [UNIX98] (sem_timedwait): Do not expect.
3980         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3981         [XPG4 || UNIX98] (sockatmark): Do not expect.
3982         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3983         (clock_getcpuclockid): Do not expect.
3984         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3985         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3986         Do not expect.
3987         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3988         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3989         [UNIX98] (vwscanf): Likewise.
3990         [UNIX98] (vswscanf): Likewise.
3992 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
3994         * timezone/version.h: Remove file.
3995         * timezone/README: Do not refer to version.h.
3996         * timezone/Makefile ($(objpfx)zic.o): New dependency on
3997         $(objpfx)version.h.
3998         ($(objpfx)zdump.o): Likewise.
3999         ($(objpfx)version.h): New target.
4001         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4002         2012i.
4003         * timezone/README: Don't mention modification to tzselect.ksh.
4004         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4005         work on unmodified tzselect.ksh.  Substitute version numbers in
4006         tzselect.ksh.
4008         * Makefile (format-me): Remove.
4009         (INSTALL): Adjust indentation.  Use commands directly instead of
4010         using $(format-me).
4012         * aclocal.m4 (ACX_PKGVERSION): New macro.
4013         (ACX_BUGURL): Likewise.
4014         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4015         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4016         (REPORT_BUGS_TO): Likewise.
4017         * configure: Regenerated.
4018         * config.h.in (PKGVERSION): New macro.
4019         (REPORT_BUGS_TO): Likewise.
4020         * config.make.in (PKGVERSION): New variable.
4021         (PKGVERSION_TEXI): Likewise.
4022         (REPORT_BUGS_TO): Likewise.
4023         (REPORT_BUGS_TEXI): Likewise.
4024         * Makefile (format-me): Use -I$(common-objpfx)manual.
4025         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4026         ($(common-objpfx)manual/%): New target.
4027         (manual/%): Remove target.
4028         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4029         (print_version): Use PKGVERSION.
4030         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4031         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4032         and REPORT_BUGS_TO.
4033         ($(objpfx)xtrace): Likewise.
4034         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4035         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4036         (print_version): Use PKGVERSION.
4037         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4038         (do_version): Use PKGVERSION.
4039         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4040         REPORT_BUGS_TO.
4041         (common-ldd-rewrite): Likewise.
4042         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4043         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4044         (print_version): Use PKGVERSION.
4045         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4046         * elf/pldd.c (argp_program_bug_address): Remove variable.
4047         (more_help): New function.
4048         (argp): Use more_help.
4049         (print_version): Use PKGVERSION.
4050         * elf/sln.c (main): Use PKGVERSION.
4051         (usage): Use REPORT_BUGS_TO.
4052         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4053         (top level): Use PKGVERSION.
4054         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4055         (print_version): Use PKGVERSION.
4056         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4057         (print_version): Use PKGVERSION.
4058         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4059         (print_version): Use PKGVERSION.
4060         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4061         (print_version): Use PKGVERSION.
4062         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4063         (print_version): Use PKGVERSION.
4064         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4065         (print_version): Use PKGVERSION.
4066         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4067         and BUGURL.
4068         ($(objpfx)memusage): Likewise.
4069         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4070         (do_version): Use PKGVERSION.
4071         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4072         (print_version): Use PKGVERSION.
4073         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4074         ($PKGVERSION): New variable.
4075         ($REPORT_BUGS_TO): Likewise.
4076         (usage): Use $REPORT_BUGS_TO.
4077         (top level): Use $PKGVERSION.
4078         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4079         ($(objpfx)pkgvers.texi): New rule.
4080         ($(objpfx)stamp-pkgvers): Likewise.
4081         * manual/install.texi: Include pkgvers.texi.
4082         (--with-pkgversion): Document new configure option.
4083         (--with-bugurl): Likewise.
4084         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4085         than necessarily for this particular distribution.  Use
4086         REPORT_BUGS_TO for where to report bugs.
4087         * INSTALL: Regenerated.
4088         * manual/libc.texinfo: Include pkgvers.texi.
4089         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4090         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4091         (print_version): Use PKGVERSION.
4092         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4093         (print_version): Use PKGVERSION.
4094         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4095         (print_version): Use PKGVERSION.
4096         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4097         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4098         macro.
4099         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4100         (print_version): Use PKGVERSION.
4101         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4102         (print_version): Use PKGVERSION.
4103         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4104         and PKGVERSION.
4106         * timezone/checktab.awk: Update from tzcode 2012i.
4107         * timezone/ialloc.c: Likewise.
4108         * timezone/private.h: Likewise.
4109         * timezone/scheck.c: Likewise.
4110         * timezone/tzfile.h: Likewise.
4111         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4112         (TZVERSION): Hardcode tzcode version number.
4113         * timezone/zdump.c: Update from tzcode 2012i.
4114         * timezone/zic.c: Likewise.
4115         * timezone/version.h: New file.
4116         * timezone/README: Describe version.h.  Update upstream location.
4118         [BZ #14824]
4119         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4120         (mktemp): Enable declaration.
4121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4125         Likewise.
4126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4127         Likewise.
4128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4129         Likewise.
4130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4131         Likewise.
4132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4133         Likewise.
4134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4135         Likewise.
4137         [BZ #14821]
4138         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4139         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4140         for copies of such integer values.
4141         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4142         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4144 2012-11-09  Andreas Jaeger  <aj@suse.de>
4146         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4147         definitions and declarations that are provided by
4148         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4150 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4152         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4153         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4154         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4155         definition.
4157 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4159         * elf/elf.h: Update comment before AArch64 relocations.
4161 2012-11-07  David S. Miller  <davem@davemloft.net>
4163         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4164         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4165         (__start_context): Declare.
4166         (__makecontext_ret): Delete.
4167         (__makecontext): Hook up __start_context instead of
4168         __makecontext_ret.
4169         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4170         (sysdep_routines): Add __start_context when in stdlib.
4172 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4174         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4175         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4176         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4177         hardcoded "nm".
4178         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4179         (READELF): New variable.  Use it instead of hardcoded "readelf".
4181 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4183         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4184         * sysdeps/x86/Makefile: Here.
4185         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4186         * sysdeps/x86/tst-xmmymm.sh: This.
4188 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4190         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4191         expectations.
4192         [UNIX98] (pthread_barrier_t): Do not expect.
4193         [UNIX98] (pthread_barrierattr_t): Likewise.
4194         [UNIX98] (pthread_spinlock_t): Likewise.
4195         [UNIX98] (pthread_barrier_destroy): Likewise.
4196         [UNIX98] (pthread_barrier_init): Likewise.
4197         [UNIX98] (pthread_barrier_wait): Likewise.
4198         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4199         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4200         [UNIX98] (pthread_barrierattr_init): Likewise.
4201         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4202         [UNIX98] (pthread_getcpuclockid): Likewise.
4203         [UNIX98] (pthread_mutex_timedlock): Likewise.
4204         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4205         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4206         [UNIX98] (pthread_sigmask): Likewise.
4207         [UNIX98] (pthread_spin_destroy): Likewise.
4208         [UNIX98] (pthread_spin_init): Likewise.
4209         [UNIX98] (pthread_spin_lock): Likewise.
4210         [UNIX98] (pthread_spin_trylock): Likewise.
4211         [UNIX98] (pthread_spin_unlock): Likewise.
4212         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4213         Do not expect.
4214         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4215         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4216         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4217         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4218         [XPG3 || XPG4] (pthread_key_t): Likewise.
4219         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4220         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4221         [XPG3 || XPG4] (pthread_once_t): Likewise.
4222         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4223         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4224         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4225         [XPG3 || XPG4] (pthread_t): Likewise.
4227         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4228         not expect.
4229         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4231         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4232         Change function return type to int.
4234         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4235         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4236         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4237         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4238         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4239         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4240         [!POSIX] (posix_madvise): Likewise.
4241         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4242         && !UNIX98].
4243         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4244         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4245         (mode_t): Likewise.
4246         (posix_mem_offset): Likewise.
4247         (posix_typed_mem_get_info): Likewise.
4248         (posix_typed_mem_open): Likewise.
4250         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4251         Change condition to [XOPEN2K8].
4253         * conform/conformtest.pl: Preprocess allow-header data with -x c
4254         instead of from stdin.
4255         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4256         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4257         [C99-based standards] (cerfc): Likewise.
4258         [C99-based standards] (cexp2): Likewise.
4259         [C99-based standards] (cexpm1): Likewise.
4260         [C99-based standards] (clog10): Likewise.
4261         [C99-based standards] (clog1p): Likewise.
4262         [C99-based standards] (clog2): Likewise.
4263         [C99-based standards] (clgamma): Likewise.
4264         [C99-based standards] (ctgamma): Likewise.
4265         [C99-based standards] (cerff): Likewise.
4266         [C99-based standards] (cerfcf): Likewise.
4267         [C99-based standards] (cexp2f): Likewise.
4268         [C99-based standards] (cexpm1f): Likewise.
4269         [C99-based standards] (clog10f): Likewise.
4270         [C99-based standards] (clog1pf): Likewise.
4271         [C99-based standards] (clog2f): Likewise.
4272         [C99-based standards] (clgammaf): Likewise.
4273         [C99-based standards] (ctgammaf): Likewise.
4274         [C99-based standards] (cerfl): Likewise.
4275         [C99-based standards] (cerfcl): Likewise.
4276         [C99-based standards] (cexp2l): Likewise.
4277         [C99-based standards] (cexpm1l): Likewise.
4278         [C99-based standards] (clog10l): Likewise.
4279         [C99-based standards] (clog1pl): Likewise.
4280         [C99-based standards] (clog2l): Likewise.
4281         [C99-based standards] (clgammal): Likewise.
4282         [C99-based standards] (ctgammal): Likewise.
4283         * conform/data/inttypes.h-data [C99-based standards]: Include
4284         stdint.h-data.  Remove all expectations for stdint.h contents.
4285         [C99-based standards] (PRI*): Do not allow.
4286         [C99-based standards] (SCN*): Likewise.
4287         [C99-based standards] (*_t): Likewise.
4288         [C99-based-standards] (PRId8): Expect macro.
4289         [C99-based-standards] (PRIi8): Likewise.
4290         [C99-based-standards] (PRIo8): Likewise.
4291         [C99-based-standards] (PRIu8): Likewise.
4292         [C99-based-standards] (PRIx8): Likewise.
4293         [C99-based-standards] (PRIX8): Likewise.
4294         [C99-based-standards] (SCNd8): Likewise.
4295         [C99-based-standards] (SCNi8): Likewise.
4296         [C99-based-standards] (SCNo8): Likewise.
4297         [C99-based-standards] (SCNu8): Likewise.
4298         [C99-based-standards] (SCNx8): Likewise.
4299         [C99-based-standards] (PRIdLEAST8): Likewise.
4300         [C99-based-standards] (PRIiLEAST8): Likewise.
4301         [C99-based-standards] (PRIoLEAST8): Likewise.
4302         [C99-based-standards] (PRIuLEAST8): Likewise.
4303         [C99-based-standards] (PRIxLEAST8): Likewise.
4304         [C99-based-standards] (PRIXLEAST8): Likewise.
4305         [C99-based-standards] (SCNdLEAST8): Likewise.
4306         [C99-based-standards] (SCNiLEAST8): Likewise.
4307         [C99-based-standards] (SCNoLEAST8): Likewise.
4308         [C99-based-standards] (SCNuLEAST8): Likewise.
4309         [C99-based-standards] (SCNxLEAST8): Likewise.
4310         [C99-based-standards] (PRIdFAST8): Likewise.
4311         [C99-based-standards] (PRIiFAST8): Likewise.
4312         [C99-based-standards] (PRIoFAST8): Likewise.
4313         [C99-based-standards] (PRIuFAST8): Likewise.
4314         [C99-based-standards] (PRIxFAST8): Likewise.
4315         [C99-based-standards] (PRIXFAST8): Likewise.
4316         [C99-based-standards] (SCNdFAST8): Likewise.
4317         [C99-based-standards] (SCNiFAST8): Likewise.
4318         [C99-based-standards] (SCNoFAST8): Likewise.
4319         [C99-based-standards] (SCNuFAST8): Likewise.
4320         [C99-based-standards] (SCNxFAST8): Likewise.
4321         [C99-based-standards] (PRId16): Likewise.
4322         [C99-based-standards] (PRIi16): Likewise.
4323         [C99-based-standards] (PRIo16): Likewise.
4324         [C99-based-standards] (PRIu16): Likewise.
4325         [C99-based-standards] (PRIx16): Likewise.
4326         [C99-based-standards] (PRIX16): Likewise.
4327         [C99-based-standards] (SCNd16): Likewise.
4328         [C99-based-standards] (SCNi16): Likewise.
4329         [C99-based-standards] (SCNo16): Likewise.
4330         [C99-based-standards] (SCNu16): Likewise.
4331         [C99-based-standards] (SCNx16): Likewise.
4332         [C99-based-standards] (PRIdLEAST16): Likewise.
4333         [C99-based-standards] (PRIiLEAST16): Likewise.
4334         [C99-based-standards] (PRIoLEAST16): Likewise.
4335         [C99-based-standards] (PRIuLEAST16): Likewise.
4336         [C99-based-standards] (PRIxLEAST16): Likewise.
4337         [C99-based-standards] (PRIXLEAST16): Likewise.
4338         [C99-based-standards] (SCNdLEAST16): Likewise.
4339         [C99-based-standards] (SCNiLEAST16): Likewise.
4340         [C99-based-standards] (SCNoLEAST16): Likewise.
4341         [C99-based-standards] (SCNuLEAST16): Likewise.
4342         [C99-based-standards] (SCNxLEAST16): Likewise.
4343         [C99-based-standards] (PRIdFAST16): Likewise.
4344         [C99-based-standards] (PRIiFAST16): Likewise.
4345         [C99-based-standards] (PRIoFAST16): Likewise.
4346         [C99-based-standards] (PRIuFAST16): Likewise.
4347         [C99-based-standards] (PRIxFAST16): Likewise.
4348         [C99-based-standards] (PRIXFAST16): Likewise.
4349         [C99-based-standards] (SCNdFAST16): Likewise.
4350         [C99-based-standards] (SCNiFAST16): Likewise.
4351         [C99-based-standards] (SCNoFAST16): Likewise.
4352         [C99-based-standards] (SCNuFAST16): Likewise.
4353         [C99-based-standards] (SCNxFAST16): Likewise.
4354         [C99-based-standards] (PRId32): Likewise.
4355         [C99-based-standards] (PRIi32): Likewise.
4356         [C99-based-standards] (PRIo32): Likewise.
4357         [C99-based-standards] (PRIu32): Likewise.
4358         [C99-based-standards] (PRIx32): Likewise.
4359         [C99-based-standards] (PRIX32): Likewise.
4360         [C99-based-standards] (SCNd32): Likewise.
4361         [C99-based-standards] (SCNi32): Likewise.
4362         [C99-based-standards] (SCNo32): Likewise.
4363         [C99-based-standards] (SCNu32): Likewise.
4364         [C99-based-standards] (SCNx32): Likewise.
4365         [C99-based-standards] (PRIdLEAST32): Likewise.
4366         [C99-based-standards] (PRIiLEAST32): Likewise.
4367         [C99-based-standards] (PRIoLEAST32): Likewise.
4368         [C99-based-standards] (PRIuLEAST32): Likewise.
4369         [C99-based-standards] (PRIxLEAST32): Likewise.
4370         [C99-based-standards] (PRIXLEAST32): Likewise.
4371         [C99-based-standards] (SCNdLEAST32): Likewise.
4372         [C99-based-standards] (SCNiLEAST32): Likewise.
4373         [C99-based-standards] (SCNoLEAST32): Likewise.
4374         [C99-based-standards] (SCNuLEAST32): Likewise.
4375         [C99-based-standards] (SCNxLEAST32): Likewise.
4376         [C99-based-standards] (PRIdFAST32): Likewise.
4377         [C99-based-standards] (PRIiFAST32): Likewise.
4378         [C99-based-standards] (PRIoFAST32): Likewise.
4379         [C99-based-standards] (PRIuFAST32): Likewise.
4380         [C99-based-standards] (PRIxFAST32): Likewise.
4381         [C99-based-standards] (PRIXFAST32): Likewise.
4382         [C99-based-standards] (SCNdFAST32): Likewise.
4383         [C99-based-standards] (SCNiFAST32): Likewise.
4384         [C99-based-standards] (SCNoFAST32): Likewise.
4385         [C99-based-standards] (SCNuFAST32): Likewise.
4386         [C99-based-standards] (SCNxFAST32): Likewise.
4387         [C99-based-standards] (PRId64): Likewise.
4388         [C99-based-standards] (PRIi64): Likewise.
4389         [C99-based-standards] (PRIo64): Likewise.
4390         [C99-based-standards] (PRIu64): Likewise.
4391         [C99-based-standards] (PRIx64): Likewise.
4392         [C99-based-standards] (PRIX64): Likewise.
4393         [C99-based-standards] (SCNd64): Likewise.
4394         [C99-based-standards] (SCNi64): Likewise.
4395         [C99-based-standards] (SCNo64): Likewise.
4396         [C99-based-standards] (SCNu64): Likewise.
4397         [C99-based-standards] (SCNx64): Likewise.
4398         [C99-based-standards] (PRIdLEAST64): Likewise.
4399         [C99-based-standards] (PRIiLEAST64): Likewise.
4400         [C99-based-standards] (PRIoLEAST64): Likewise.
4401         [C99-based-standards] (PRIuLEAST64): Likewise.
4402         [C99-based-standards] (PRIxLEAST64): Likewise.
4403         [C99-based-standards] (PRIXLEAST64): Likewise.
4404         [C99-based-standards] (SCNdLEAST64): Likewise.
4405         [C99-based-standards] (SCNiLEAST64): Likewise.
4406         [C99-based-standards] (SCNoLEAST64): Likewise.
4407         [C99-based-standards] (SCNuLEAST64): Likewise.
4408         [C99-based-standards] (SCNxLEAST64): Likewise.
4409         [C99-based-standards] (PRIdFAST64): Likewise.
4410         [C99-based-standards] (PRIiFAST64): Likewise.
4411         [C99-based-standards] (PRIoFAST64): Likewise.
4412         [C99-based-standards] (PRIuFAST64): Likewise.
4413         [C99-based-standards] (PRIxFAST64): Likewise.
4414         [C99-based-standards] (PRIXFAST64): Likewise.
4415         [C99-based-standards] (SCNdFAST64): Likewise.
4416         [C99-based-standards] (SCNiFAST64): Likewise.
4417         [C99-based-standards] (SCNoFAST64): Likewise.
4418         [C99-based-standards] (SCNuFAST64): Likewise.
4419         [C99-based-standards] (SCNxFAST64): Likewise.
4420         [C99-based-standards] (PRIdMAX): Likewise.
4421         [C99-based-standards] (PRIiMAX): Likewise.
4422         [C99-based-standards] (PRIoMAX): Likewise.
4423         [C99-based-standards] (PRIuMAX): Likewise.
4424         [C99-based-standards] (PRIxMAX): Likewise.
4425         [C99-based-standards] (PRIXMAX): Likewise.
4426         [C99-based-standards] (SCNdMAX): Likewise.
4427         [C99-based-standards] (SCNiMAX): Likewise.
4428         [C99-based-standards] (SCNoMAX): Likewise.
4429         [C99-based-standards] (SCNuMAX): Likewise.
4430         [C99-based-standards] (SCNxMAX): Likewise.
4431         [C99-based-standards] (PRIdPTR): Likewise.
4432         [C99-based-standards] (PRIiPTR): Likewise.
4433         [C99-based-standards] (PRIoPTR): Likewise.
4434         [C99-based-standards] (PRIuPTR): Likewise.
4435         [C99-based-standards] (PRIxPTR): Likewise.
4436         [C99-based-standards] (PRIXPTR): Likewise.
4437         [C99-based-standards] (SCNdPTR): Likewise.
4438         [C99-based-standards] (SCNiPTR): Likewise.
4439         [C99-based-standards] (SCNoPTR): Likewise.
4440         [C99-based-standards] (SCNuPTR): Likewise.
4441         [C99-based-standards] (SCNxPTR): Likewise.
4442         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4443         allow.
4444         * conform/data/stdint.h-data: Update comments to clarify
4445         requirements.
4446         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
4447         type.
4448         [C99-based standards] (INT8_MAX): Likewise.
4449         [C99-based standards] (INT16_MIN): Likewise.
4450         [C99-based standards] (INT16_MAX): Likewise.
4451         [C99-based standards] (INT32_MIN): Likewise.
4452         [C99-based standards] (INT32_MAX): Likewise.
4453         [C99-based standards] (INT64_MIN): Likewise.
4454         [C99-based standards] (INT64_MAX): Likewise.
4455         [C99-based standards] (UINT8_MAX): Likewise.
4456         [C99-based standards] (UINT16_MAX): Likewise.
4457         [C99-based standards] (UINT32_MAX): Likewise.
4458         [C99-based standards] (UINT64_MAX): Likewise.
4459         [C99-based standards] (INT_LEAST8_MIN): Likewise.
4460         [C99-based standards] (INT_LEAST8_MAX): Likewise.
4461         [C99-based standards] (INT_LEAST16_MIN): Likewise.
4462         [C99-based standards] (INT_LEAST16_MAX): Likewise.
4463         [C99-based standards] (INT_LEAST32_MIN): Likewise.
4464         [C99-based standards] (INT_LEAST32_MAX): Likewise.
4465         [C99-based standards] (INT_LEAST64_MIN): Likewise.
4466         [C99-based standards] (INT_LEAST64_MAX): Likewise.
4467         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
4468         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
4469         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
4470         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
4471         [C99-based standards] (INT_FAST8_MIN): Likewise.
4472         [C99-based standards] (INT_FAST8_MAX): Likewise.
4473         [C99-based standards] (INT_FAST16_MIN): Likewise.
4474         [C99-based standards] (INT_FAST16_MAX): Likewise.
4475         [C99-based standards] (INT_FAST32_MIN): Likewise.
4476         [C99-based standards] (INT_FAST32_MAX): Likewise.
4477         [C99-based standards] (INT_FAST64_MIN): Likewise.
4478         [C99-based standards] (INT_FAST64_MAX): Likewise.
4479         [C99-based standards] (UINT_FAST8_MAX): Likewise.
4480         [C99-based standards] (UINT_FAST16_MAX): Likewise.
4481         [C99-based standards] (UINT_FAST32_MAX): Likewise.
4482         [C99-based standards] (UINT_FAST64_MAX): Likewise.
4483         [C99-based standards] (INTPTR_MIN): Likewise.
4484         [C99-based standards] (INTPTR_MAX): Likewise.
4485         [C99-based standards] (UINTPTR_MAX): Likewise.
4486         [C99-based standards] (INTMAX_MIN): Likewise.
4487         [C99-based standards] (INTMAX_MAX): Likewise.
4488         [C99-based standards] (UINTMAX_MAX): Likewise.
4489         [C99-based standards] (PTRDIFF_MIN): Likewise.
4490         [C99-based standards] (PTRDIFF_MAX): Likewise.
4491         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
4492         [C99-based standards] (SIZE_MAX): Likewise.
4493         [C99-based standards] (WCHAR_MAX): Likewise.
4494         [C99-based standards] (WINT_MAX): Likewise.
4495         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
4496         constraint on value.
4497         [C99-based standards] (WCHAR_MIN): Likewise.
4498         [C99-based standards] (WINT_MIN): Likewise.
4499         [C99-based standards] (*_t): Allow.
4500         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
4501         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
4502         Include math.h-data and complex.h-data.  Remove all expectations
4503         of math.h and complex.h contents.
4504         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
4505         at end of line.
4506         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
4507         (struct tm): Expect tag.
4508         [C99-based-standards] (wcstof): Expect function.
4509         [C99-based-standards] (wcstold): Likewise.
4510         [C99-based-standards] (wcstoll): Likewise.
4511         [C99-based-standards] (wcstoull): Likewise.
4512         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
4513         macro-int-constant.  Specify type.
4514         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
4515         constraint on value.
4516         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4517         Specify type.
4518         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
4519         Specify value.
4520         [ISO C standards]: Do not allow headers.
4521         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
4522         wcs[abcdefghijklmnopqrstuvwxyz]*.
4523         [ISO C standards] (*_t): Do not allow.
4524         * conform/data/wctype.h-data [C99-based standards] (iswblank):
4525         Expect function.
4526         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
4527         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
4528         Specify type.
4529         [ISO C standards]: Do not allow headers.
4530         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
4531         is[abcdefghijklmnopqrstuvwxyz]*.
4532         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
4533         to[abcdefghijklmnopqrstuvwxyz]*.
4534         [ISO C standards] (*_t): Do not allow.
4535         * conform/data/stdalign.h-data: New file.
4536         * conform/data/stdbool.h-data: Likewise.
4537         * conform/data/stdnoreturn.h-data: Likewise.
4539 2012-11-07  Roland McGrath  <roland@hack.frob.com>
4541         [BZ #14815]
4542         * manual/filesys.texi (Directory Entries): Typo fix.
4543         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
4545 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4547         * elf/elf.h (EM_AARCH64): New macro.
4548         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
4549         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
4550         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
4551         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
4552         (R_AARCH64_TLSDESC): Likewise.
4553         (NT_ARM_TLS): Likewise.
4554         (NT_ARM_HW_BREAK): Likewise.
4555         (NT_ARM_HW_WATCH): Likewise.
4557 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4559         [BZ #14811]
4560         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
4561         (__ieee754_powl): Saturate nonzero exponents with absolute value
4562         below 0x1p-79 to +/- 0x1p-79.
4563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
4564         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
4565         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
4566         nonzero exponents with absolute value below 0x1p-32 to +/-
4567         0x1p-32.
4568         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
4569         (__ieee754_powl): Saturate nonzero exponents with absolute value
4570         below 0x1p-79 to +/- 0x1p-79.
4571         * math/libm-test.inc (pow_test): Add more tests.
4573 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4575         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
4576         _dl_s390_cap_flags with kernel. Increase string length.
4577         (_dl_s390_platforms): Add z196 and zEC12.
4579 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4581         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
4582         Change XOPEN21K to XOPEN2K.
4584 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
4586         * string/memmove.c: Use memcpy when possible.
4588 2012-11-06  Andreas Jaeger  <aj@suse.de>
4590         * po/eo.po: Update from translation team.
4592 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
4594         [BZ #14793]
4595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
4596         exponent and small x and y exponents, scale x or y up.  Increase
4597         by 2 the exponent used in scaling up.
4598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4600         * math/libm-test.inc (fma_test): Add more tests.
4601         (fma_test_towardzero): Likewise.
4602         (fma_test_downward): Likewise.
4603         (fma_test_upward): Likewise.
4605 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
4607         [BZ #14805]
4608         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
4609         fenv_t *.
4611         [BZ #14801]
4612         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
4613         namespace for names of struct fields.
4614         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
4615         fenv_t fields.
4616         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4617         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
4619 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4621         [BZ #3665]
4622         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
4624 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4626         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
4627         PTR_DEMANGLE.
4629         [BZ #5246]
4630         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
4631         PTR_DEMANGLE.
4633 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
4635         [BZ #14797]
4636         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
4637         definitely overflow as x * y not x * y + z.
4638         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4639         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4640         * math/libm-test.inc (fma_test): Add more tests.
4641         (fma_test_towardzero): Likewise.
4642         (fma_test_downward): Likewise.
4643         (fma_test_upward): Likewise.
4645 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
4647         [BZ #157]
4649         * include/stub-tag.h: Remove file.
4650         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4651         '#include' of it.
4652         * manual/maint.texi (Porting): Don't reference it.
4653         * Makerules ($(objpfx)stubs): Likewise.
4654         * dirent/closedir.c: Don't include <stub-tag.h>.
4655         * dirent/dirfd.c: Likewise.
4656         * dirent/fdopendir.c: Likewise.
4657         * dirent/getdents.c: Likewise.
4658         * dirent/getdents64.c: Likewise.
4659         * dirent/opendir.c: Likewise.
4660         * dirent/readdir.c: Likewise.
4661         * dirent/readdir64.c: Likewise.
4662         * dirent/readdir64_r.c: Likewise.
4663         * dirent/readdir_r.c: Likewise.
4664         * dirent/rewinddir.c: Likewise.
4665         * dirent/seekdir.c: Likewise.
4666         * dirent/telldir.c: Likewise.
4667         * gmon/profil.c: Likewise.
4668         * grp/setgroups.c: Likewise.
4669         * inet/if_index.c: Likewise.
4670         * io/access.c: Likewise.
4671         * io/chdir.c: Likewise.
4672         * io/chmod.c: Likewise.
4673         * io/chown.c: Likewise.
4674         * io/close.c: Likewise.
4675         * io/dup.c: Likewise.
4676         * io/dup2.c: Likewise.
4677         * io/dup3.c: Likewise.
4678         * io/euidaccess.c: Likewise.
4679         * io/faccessat.c: Likewise.
4680         * io/fchdir.c: Likewise.
4681         * io/fchmod.c: Likewise.
4682         * io/fchmodat.c: Likewise.
4683         * io/fchown.c: Likewise.
4684         * io/fchownat.c: Likewise.
4685         * io/fcntl.c: Likewise.
4686         * io/flock.c: Likewise.
4687         * io/fstatfs.c: Likewise.
4688         * io/fstatfs64.c: Likewise.
4689         * io/fstatvfs.c: Likewise.
4690         * io/fstatvfs64.c: Likewise.
4691         * io/futimens.c: Likewise.
4692         * io/fxstat.c: Likewise.
4693         * io/fxstat64.c: Likewise.
4694         * io/fxstatat.c: Likewise.
4695         * io/fxstatat64.c: Likewise.
4696         * io/getcwd.c: Likewise.
4697         * io/isatty.c: Likewise.
4698         * io/lchmod.c: Likewise.
4699         * io/lchown.c: Likewise.
4700         * io/link.c: Likewise.
4701         * io/linkat.c: Likewise.
4702         * io/lseek.c: Likewise.
4703         * io/lseek64.c: Likewise.
4704         * io/lxstat64.c: Likewise.
4705         * io/mkdir.c: Likewise.
4706         * io/mkdirat.c: Likewise.
4707         * io/mkfifo.c: Likewise.
4708         * io/mkfifoat.c: Likewise.
4709         * io/open.c: Likewise.
4710         * io/open64.c: Likewise.
4711         * io/openat.c: Likewise.
4712         * io/openat64.c: Likewise.
4713         * io/pipe.c: Likewise.
4714         * io/pipe2.c: Likewise.
4715         * io/poll.c: Likewise.
4716         * io/posix_fadvise.c: Likewise.
4717         * io/posix_fadvise64.c: Likewise.
4718         * io/posix_fallocate.c: Likewise.
4719         * io/posix_fallocate64.c: Likewise.
4720         * io/read.c: Likewise.
4721         * io/readlink.c: Likewise.
4722         * io/readlinkat.c: Likewise.
4723         * io/rmdir.c: Likewise.
4724         * io/sendfile.c: Likewise.
4725         * io/sendfile64.c: Likewise.
4726         * io/statfs.c: Likewise.
4727         * io/statfs64.c: Likewise.
4728         * io/statvfs.c: Likewise.
4729         * io/statvfs64.c: Likewise.
4730         * io/symlink.c: Likewise.
4731         * io/symlinkat.c: Likewise.
4732         * io/ttyname.c: Likewise.
4733         * io/ttyname_r.c: Likewise.
4734         * io/umask.c: Likewise.
4735         * io/unlink.c: Likewise.
4736         * io/unlinkat.c: Likewise.
4737         * io/utime.c: Likewise.
4738         * io/utimensat.c: Likewise.
4739         * io/write.c: Likewise.
4740         * io/xmknod.c: Likewise.
4741         * io/xmknodat.c: Likewise.
4742         * io/xstat.c: Likewise.
4743         * io/xstat64.c: Likewise.
4744         * login/getpt.c: Likewise.
4745         * login/grantpt.c: Likewise.
4746         * login/unlockpt.c: Likewise.
4747         * math/e_acoshl.c: Likewise.
4748         * math/e_acosl.c: Likewise.
4749         * math/e_asinl.c: Likewise.
4750         * math/e_atan2l.c: Likewise.
4751         * math/e_atanhl.c: Likewise.
4752         * math/e_coshl.c: Likewise.
4753         * math/e_expl.c: Likewise.
4754         * math/e_fmodl.c: Likewise.
4755         * math/e_gammal_r.c: Likewise.
4756         * math/e_hypotl.c: Likewise.
4757         * math/e_j0l.c: Likewise.
4758         * math/e_j1l.c: Likewise.
4759         * math/e_jnl.c: Likewise.
4760         * math/e_lgammal_r.c: Likewise.
4761         * math/e_log10l.c: Likewise.
4762         * math/e_log2l.c: Likewise.
4763         * math/e_logl.c: Likewise.
4764         * math/e_powl.c: Likewise.
4765         * math/e_rem_pio2l.c: Likewise.
4766         * math/e_sinhl.c: Likewise.
4767         * math/e_sqrtl.c: Likewise.
4768         * math/fclrexcpt.c: Likewise.
4769         * math/fedisblxcpt.c: Likewise.
4770         * math/feenablxcpt.c: Likewise.
4771         * math/fegetenv.c: Likewise.
4772         * math/fegetexcept.c: Likewise.
4773         * math/fegetround.c: Likewise.
4774         * math/feholdexcpt.c: Likewise.
4775         * math/fesetenv.c: Likewise.
4776         * math/fesetround.c: Likewise.
4777         * math/feupdateenv.c: Likewise.
4778         * math/fgetexcptflg.c: Likewise.
4779         * math/fraiseexcpt.c: Likewise.
4780         * math/fsetexcptflg.c: Likewise.
4781         * math/ftestexcept.c: Likewise.
4782         * math/k_cosl.c: Likewise.
4783         * math/k_rem_pio2l.c: Likewise.
4784         * math/k_sinl.c: Likewise.
4785         * math/k_tanl.c: Likewise.
4786         * math/s_asinhl.c: Likewise.
4787         * math/s_atanl.c: Likewise.
4788         * math/s_cbrtl.c: Likewise.
4789         * math/s_erfl.c: Likewise.
4790         * math/s_expm1l.c: Likewise.
4791         * math/s_log1pl.c: Likewise.
4792         * math/s_tanhl.c: Likewise.
4793         * misc/acct.c: Likewise.
4794         * misc/brk.c: Likewise.
4795         * misc/chflags.c: Likewise.
4796         * misc/chroot.c: Likewise.
4797         * misc/fchflags.c: Likewise.
4798         * misc/fgetxattr.c: Likewise.
4799         * misc/flistxattr.c: Likewise.
4800         * misc/fremovexattr.c: Likewise.
4801         * misc/fsetxattr.c: Likewise.
4802         * misc/fsync.c: Likewise.
4803         * misc/ftruncate.c: Likewise.
4804         * misc/futimes.c: Likewise.
4805         * misc/futimesat.c: Likewise.
4806         * misc/getdomain.c: Likewise.
4807         * misc/getdtsz.c: Likewise.
4808         * misc/gethostid.c: Likewise.
4809         * misc/gethostname.c: Likewise.
4810         * misc/getloadavg.c: Likewise.
4811         * misc/getpagesize.c: Likewise.
4812         * misc/getsysstats.c: Likewise.
4813         * misc/getxattr.c: Likewise.
4814         * misc/gtty.c: Likewise.
4815         * misc/ioctl.c: Likewise.
4816         * misc/lgetxattr.c: Likewise.
4817         * misc/listxattr.c: Likewise.
4818         * misc/llistxattr.c: Likewise.
4819         * misc/lremovexattr.c: Likewise.
4820         * misc/lsetxattr.c: Likewise.
4821         * misc/lutimes.c: Likewise.
4822         * misc/madvise.c: Likewise.
4823         * misc/mincore.c: Likewise.
4824         * misc/mlock.c: Likewise.
4825         * misc/mlockall.c: Likewise.
4826         * misc/mmap.c: Likewise.
4827         * misc/mprotect.c: Likewise.
4828         * misc/msync.c: Likewise.
4829         * misc/munlock.c: Likewise.
4830         * misc/munlockall.c: Likewise.
4831         * misc/munmap.c: Likewise.
4832         * misc/preadv.c: Likewise.
4833         * misc/preadv64.c: Likewise.
4834         * misc/ptrace.c: Likewise.
4835         * misc/pwritev.c: Likewise.
4836         * misc/pwritev64.c: Likewise.
4837         * misc/readv.c: Likewise.
4838         * misc/reboot.c: Likewise.
4839         * misc/remap_file_pages.c: Likewise.
4840         * misc/removexattr.c: Likewise.
4841         * misc/revoke.c: Likewise.
4842         * misc/select.c: Likewise.
4843         * misc/setdomain.c: Likewise.
4844         * misc/setegid.c: Likewise.
4845         * misc/seteuid.c: Likewise.
4846         * misc/sethostid.c: Likewise.
4847         * misc/sethostname.c: Likewise.
4848         * misc/setregid.c: Likewise.
4849         * misc/setreuid.c: Likewise.
4850         * misc/setxattr.c: Likewise.
4851         * misc/sstk.c: Likewise.
4852         * misc/stty.c: Likewise.
4853         * misc/swapoff.c: Likewise.
4854         * misc/swapon.c: Likewise.
4855         * misc/sync.c: Likewise.
4856         * misc/syncfs.c: Likewise.
4857         * misc/syscall.c: Likewise.
4858         * misc/truncate.c: Likewise.
4859         * misc/ualarm.c: Likewise.
4860         * misc/usleep.c: Likewise.
4861         * misc/ustat.c: Likewise.
4862         * misc/utimes.c: Likewise.
4863         * misc/vhangup.c: Likewise.
4864         * misc/writev.c: Likewise.
4865         * posix/_exit.c: Likewise.
4866         * posix/alarm.c: Likewise.
4867         * posix/execve.c: Likewise.
4868         * posix/fexecve.c: Likewise.
4869         * posix/fork.c: Likewise.
4870         * posix/fpathconf.c: Likewise.
4871         * posix/getaddrinfo.c: Likewise.
4872         * posix/getegid.c: Likewise.
4873         * posix/geteuid.c: Likewise.
4874         * posix/getgid.c: Likewise.
4875         * posix/getgroups.c: Likewise.
4876         * posix/getlogin.c: Likewise.
4877         * posix/getlogin_r.c: Likewise.
4878         * posix/getpgid.c: Likewise.
4879         * posix/getpid.c: Likewise.
4880         * posix/getppid.c: Likewise.
4881         * posix/getresgid.c: Likewise.
4882         * posix/getresuid.c: Likewise.
4883         * posix/getsid.c: Likewise.
4884         * posix/getuid.c: Likewise.
4885         * posix/glob64.c: Likewise.
4886         * posix/nanosleep.c: Likewise.
4887         * posix/pathconf.c: Likewise.
4888         * posix/pause.c: Likewise.
4889         * posix/posix_madvise.c: Likewise.
4890         * posix/pread.c: Likewise.
4891         * posix/pread64.c: Likewise.
4892         * posix/pwrite.c: Likewise.
4893         * posix/pwrite64.c: Likewise.
4894         * posix/sched_getaffinity.c: Likewise.
4895         * posix/sched_getp.c: Likewise.
4896         * posix/sched_gets.c: Likewise.
4897         * posix/sched_primax.c: Likewise.
4898         * posix/sched_primin.c: Likewise.
4899         * posix/sched_rr_gi.c: Likewise.
4900         * posix/sched_setaffinity.c: Likewise.
4901         * posix/sched_setp.c: Likewise.
4902         * posix/sched_sets.c: Likewise.
4903         * posix/sched_yield.c: Likewise.
4904         * posix/setgid.c: Likewise.
4905         * posix/setlogin.c: Likewise.
4906         * posix/setpgid.c: Likewise.
4907         * posix/setresgid.c: Likewise.
4908         * posix/setresuid.c: Likewise.
4909         * posix/setsid.c: Likewise.
4910         * posix/setuid.c: Likewise.
4911         * posix/sleep.c: Likewise.
4912         * posix/spawni.c: Likewise.
4913         * posix/sysconf.c: Likewise.
4914         * posix/times.c: Likewise.
4915         * posix/wait.c: Likewise.
4916         * posix/wait3.c: Likewise.
4917         * posix/wait4.c: Likewise.
4918         * posix/waitpid.c: Likewise.
4919         * resolv/gai_sigqueue.c: Likewise.
4920         * resource/getpriority.c: Likewise.
4921         * resource/getrlimit.c: Likewise.
4922         * resource/getrusage.c: Likewise.
4923         * resource/nice.c: Likewise.
4924         * resource/setpriority.c: Likewise.
4925         * resource/setrlimit.c: Likewise.
4926         * resource/ulimit.c: Likewise.
4927         * rt/aio_cancel.c: Likewise.
4928         * rt/aio_fsync.c: Likewise.
4929         * rt/aio_read.c: Likewise.
4930         * rt/aio_sigqueue.c: Likewise.
4931         * rt/aio_suspend.c: Likewise.
4932         * rt/aio_write.c: Likewise.
4933         * rt/clock_getres.c: Likewise.
4934         * rt/clock_gettime.c: Likewise.
4935         * rt/clock_nanosleep.c: Likewise.
4936         * rt/clock_settime.c: Likewise.
4937         * rt/lio_listio.c: Likewise.
4938         * rt/mq_close.c: Likewise.
4939         * rt/mq_getattr.c: Likewise.
4940         * rt/mq_notify.c: Likewise.
4941         * rt/mq_open.c: Likewise.
4942         * rt/mq_receive.c: Likewise.
4943         * rt/mq_send.c: Likewise.
4944         * rt/mq_setattr.c: Likewise.
4945         * rt/mq_timedreceive.c: Likewise.
4946         * rt/mq_timedsend.c: Likewise.
4947         * rt/mq_unlink.c: Likewise.
4948         * rt/shm_open.c: Likewise.
4949         * rt/shm_unlink.c: Likewise.
4950         * rt/timer_create.c: Likewise.
4951         * rt/timer_delete.c: Likewise.
4952         * rt/timer_getoverr.c: Likewise.
4953         * rt/timer_gettime.c: Likewise.
4954         * rt/timer_settime.c: Likewise.
4955         * setjmp/__longjmp.c: Likewise.
4956         * setjmp/setjmp.c: Likewise.
4957         * signal/kill.c: Likewise.
4958         * signal/killpg.c: Likewise.
4959         * signal/raise.c: Likewise.
4960         * signal/sigaction.c: Likewise.
4961         * signal/sigaltstack.c: Likewise.
4962         * signal/sigblock.c: Likewise.
4963         * signal/sigignore.c: Likewise.
4964         * signal/sigintr.c: Likewise.
4965         * signal/signal.c: Likewise.
4966         * signal/sigpause.c: Likewise.
4967         * signal/sigpending.c: Likewise.
4968         * signal/sigqueue.c: Likewise.
4969         * signal/sigreturn.c: Likewise.
4970         * signal/sigset.c: Likewise.
4971         * signal/sigsetmask.c: Likewise.
4972         * signal/sigstack.c: Likewise.
4973         * signal/sigsuspend.c: Likewise.
4974         * signal/sigtimedwait.c: Likewise.
4975         * signal/sigvec.c: Likewise.
4976         * signal/sigwait.c: Likewise.
4977         * signal/sigwaitinfo.c: Likewise.
4978         * signal/sysv_signal.c: Likewise.
4979         * socket/accept.c: Likewise.
4980         * socket/accept4.c: Likewise.
4981         * socket/bind.c: Likewise.
4982         * socket/connect.c: Likewise.
4983         * socket/getpeername.c: Likewise.
4984         * socket/getsockname.c: Likewise.
4985         * socket/getsockopt.c: Likewise.
4986         * socket/isfdtype.c: Likewise.
4987         * socket/listen.c: Likewise.
4988         * socket/recv.c: Likewise.
4989         * socket/recvfrom.c: Likewise.
4990         * socket/recvmsg.c: Likewise.
4991         * socket/send.c: Likewise.
4992         * socket/sendmsg.c: Likewise.
4993         * socket/sendto.c: Likewise.
4994         * socket/setsockopt.c: Likewise.
4995         * socket/shutdown.c: Likewise.
4996         * socket/sockatmark.c: Likewise.
4997         * socket/socket.c: Likewise.
4998         * socket/socketpair.c: Likewise.
4999         * stdio-common/ctermid.c: Likewise.
5000         * stdio-common/cuserid.c: Likewise.
5001         * stdio-common/remove.c: Likewise.
5002         * stdio-common/rename.c: Likewise.
5003         * stdio-common/renameat.c: Likewise.
5004         * stdio-common/tempname.c: Likewise.
5005         * stdlib/getcontext.c: Likewise.
5006         * stdlib/makecontext.c: Likewise.
5007         * stdlib/setcontext.c: Likewise.
5008         * stdlib/swapcontext.c: Likewise.
5009         * stdlib/system.c: Likewise.
5010         * streams/fattach.c: Likewise.
5011         * streams/fdetach.c: Likewise.
5012         * streams/getmsg.c: Likewise.
5013         * streams/getpmsg.c: Likewise.
5014         * streams/putmsg.c: Likewise.
5015         * streams/putpmsg.c: Likewise.
5016         * sysdeps/unix/bsd/getpt.c: Likewise.
5017         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5018         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5019         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5021         Likewise.
5022         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5023         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5024         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5025         * sysvipc/msgctl.c: Likewise.
5026         * sysvipc/msgget.c: Likewise.
5027         * sysvipc/msgrcv.c: Likewise.
5028         * sysvipc/msgsnd.c: Likewise.
5029         * sysvipc/semctl.c: Likewise.
5030         * sysvipc/semget.c: Likewise.
5031         * sysvipc/semop.c: Likewise.
5032         * sysvipc/semtimedop.c: Likewise.
5033         * sysvipc/shmat.c: Likewise.
5034         * sysvipc/shmctl.c: Likewise.
5035         * sysvipc/shmdt.c: Likewise.
5036         * sysvipc/shmget.c: Likewise.
5037         * termios/tcdrain.c: Likewise.
5038         * termios/tcflow.c: Likewise.
5039         * termios/tcflush.c: Likewise.
5040         * termios/tcgetattr.c: Likewise.
5041         * termios/tcgetpgrp.c: Likewise.
5042         * termios/tcsendbrk.c: Likewise.
5043         * termios/tcsetattr.c: Likewise.
5044         * termios/tcsetpgrp.c: Likewise.
5045         * time/adjtime.c: Likewise.
5046         * time/clock.c: Likewise.
5047         * time/getitimer.c: Likewise.
5048         * time/gettimeofday.c: Likewise.
5049         * time/setitimer.c: Likewise.
5050         * time/settimeofday.c: Likewise.
5051         * time/stime.c: Likewise.
5052         * time/time.c: Likewise.
5054 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5056         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5057         /usr/old/bin.
5059         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5060         instead of spaces.
5061         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5063 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5065         [BZ #14796]
5066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5067         FE_TONEAREST before applying Dekker multiplication and Knuth
5068         addition.  Clear inexact exceptions and check for exact zero
5069         results afterwards.
5070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5073         * math/libm-test.inc (fma_test): Add more tests.
5074         (fma_test_towardzero): Likewise.
5075         (fma_test_downward): Likewise.
5076         (fma_test_upward): Likewise.
5077         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5078         function.
5079         (libc_fesetround): New macro.
5080         (libc_fesetroundf): Likewise.
5081         (libc_fesetroundl): Likewise.
5082         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5083         function.
5084         (libc_fesetround_387): Likewise.
5085         (libc_fesetroundf): New macro.
5086         (libc_fesetround): Likewise.
5087         (libc_fesetroundl): Likewise.
5088         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5089         function.
5090         (libc_fesetroundf): New macro.
5091         (libc_fesetround): Likewise.
5092         (libc_fesetroundl): Likewise.
5093         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5094         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5095         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5096         libm_hidden_ver.
5097         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5098         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5099         libm_hidden_def.
5100         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5101         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5102         libm_hidden_ver.
5103         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5104         libm_hidden_def.
5106         [BZ #3439]
5107         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5108         integer constant usable in #if and use that to give value to enum
5109         constant.
5110         (FE_DIVBYZERO): Likewise.
5111         (FE_UNDERFLOW): Likewise.
5112         (FE_OVERFLOW): Likewise.
5113         (FE_INVALID): Likewise.
5114         (FE_INVALID_SNAN): Likewise.
5115         (FE_INVALID_ISI): Likewise.
5116         (FE_INVALID_IDI): Likewise.
5117         (FE_INVALID_ZDZ): Likewise.
5118         (FE_INVALID_IMZ): Likewise.
5119         (FE_INVALID_COMPARE): Likewise.
5120         (FE_INVALID_SOFTWARE): Likewise.
5121         (FE_INVALID_SQRT): Likewise.
5122         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5123         (FE_TONEAREST): Likewise.
5124         (FE_TOWARDZERO): Likewise.
5125         (FE_UPWARD): Likewise.
5126         (FE_DOWNWARD): Likewise.
5127         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5128         (FE_DIVBYZERO): Likewise.
5129         (FE_OVERFLOW): Likewise.
5130         (FE_UNDERFLOW): Likewise.
5131         (FE_INEXACT): Likewise.
5132         (FE_TONEAREST): Likewise.
5133         (FE_DOWNWARD): Likewise.
5134         (FE_UPWARD): Likewise.
5135         (FE_TOWARDZERO): Likewise.
5136         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5137         (FE_UNDERFLOW): Likewise.
5138         (FE_OVERFLOW): Likewise.
5139         (FE_DIVBYZERO): Likewise.
5140         (FE_INVALID): Likewise.
5141         (FE_TONEAREST): Likewise.
5142         (FE_TOWARDZERO): Likewise.
5143         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5144         (FE_OVERFLOW): Likewise.
5145         (FE_UNDERFLOW): Likewise.
5146         (FE_DIVBYZERO): Likewise.
5147         (FE_INEXACT): Likewise.
5148         (FE_TONEAREST): Likewise.
5149         (FE_TOWARDZERO): Likewise.
5150         (FE_UPWARD): Likewise.
5151         (FE_DOWNWARD): Likewise.
5152         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5153         (FE_DIVBYZERO): Likewise.
5154         (FE_OVERFLOW): Likewise.
5155         (FE_UNDERFLOW): Likewise.
5156         (FE_INEXACT): Likewise.
5157         (FE_TONEAREST): Likewise.
5158         (FE_DOWNWARD): Likewise.
5159         (FE_UPWARD): Likewise.
5160         (FE_TOWARDZERO): Likewise.
5162 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5164         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5166 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5168         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5169         commands.  Quote $PWD.
5170         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5171         -x" by "export".
5172         (remove_newlines): Remove.
5174 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5176         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5177         * stdlib/stdlib.h (atof): Moved to ...
5178         * include/bits/stdlib-float.h: Here.  New file.
5179         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5180         * stdlib/bits/stdlib-float.h: New file.
5181         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5182         -mno-sse -mno-mmx.
5183         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5184         <xmmintrin.h>.
5186 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5188         * conform/conformtest.pl (@headers): Add fenv.h.
5189         * conform/data/fenv.h-data: New file.
5190         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5191         include of <math/fenv.h>.
5193         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5194         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5195         && !UNIX98].  Enables tests for XOPEN2K8.
5196         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5197         POSIX2008]: Likewise.
5199         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5200         (struct rusage): Do not expect type or its members.
5202         [BZ #3439]
5203         * math/math.h (FP_NAN): Define macro to integer constant usable in
5204         #if and use that to give value to enum constant.
5205         (FP_INFINITE): Likewise.
5206         (FP_ZERO): Likewise.
5207         (FP_SUBNORMAL): Likewise.
5208         (FP_NORMAL): Likewise.
5210 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5212         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5213         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5214         arguments.
5216 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5218         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5219         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5220         autoconf-time if not.
5221         * configure.in: Remove AC_PREREQ.
5223 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5225         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5226         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5227         of the internal implementation.
5229 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5231         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5232         except include of <misc/sys/syslog.h>.
5234 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5237         function returns with a NULL context exit with zero.
5239 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5241         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5243 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
5245         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5246         (run_program_cmd): This.
5247         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5248         (tst_langinfo): New variable.  Use it.
5250 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
5252         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5253         floating point opcodes.
5255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5257         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5258         variable.
5260         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5262         * sysdeps/mach/hurd/powerpc: Remove directory.
5263         * sysdeps/mach/powerpc: Likewise.
5265 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5267         * scripts/check-local-headers.sh: Ignore c++ headers.
5269 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5271         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5272         __libc_cleanup_region_start argument.
5274 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #14784]
5277         [BZ #14785]
5278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5279         x * y using scaling, not as x * y + z.
5280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5282         * math/libm-test.inc (fma_test): Add more tests.
5283         (fma_test_towardzero): Likewise.
5284         (fma_test_downward): Likewise.
5285         (fma_test_upward): Likewise.
5287 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
5289         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5291 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5293         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5294         New variable.
5296 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
5298         * rt/tst-shm.c (worker): Correct checking for mmap failure.
5300 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5303         Fix sort order.
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5305         Likewise.
5307 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5310         Fix the order of the list for glibc 2.17.
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5312         Likewise.
5314 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5318 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
5320         [BZ #14610]
5321         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5322         for low part of x being zero before using __atanl (y).
5323         * math/libm-test.inc (atan2_test): Add another test.
5325         * manual/install.texi (Configuring and compiling): Document
5326         general use of test-wrapper and test-wrapper-env.
5327         * INSTALL: Regenerated.
5329         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5330         (__fma): Do not extract and scale down low bits on after-rounding
5331         systems when result rounded to normal precision would have normal
5332         exponent.
5333         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5334         (__fmal): Do not extract and scale down low bits on after-rounding
5335         systems when result rounded to normal precision would have normal
5336         exponent.
5337         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5338         (__fmal): Do not extract and scale down low bits on after-rounding
5339         systems when result rounded to normal precision would have normal
5340         exponent.
5341         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5342         macro.
5343         (fma_test): Add more tests.
5344         (fma_test_towardzero): Likewise.
5345         (fma_test_downward): Likewise.
5346         (fma_test_upward): Likewise.
5348 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
5350         * sysdeps/i386/tininess.h: Renamed to ...
5351         * sysdeps/x86/tininess.h: This.
5352         * sysdeps/x86_64/tininess.h: Removed.
5354 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5356         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5357         input.  Use $(build-program-cmd).
5358         ($(objpfx)tst-array1-static.out): Likewise.
5359         ($(objpfx)tst-array2.out): Likewise.
5360         ($(objpfx)tst-array3.out): Likewise.
5361         ($(objpfx)tst-array4.out): Likewise.
5362         ($(objpfx)tst-array5.out): Likewise.
5363         ($(objpfx)tst-array5-static.out): Likewise.
5365 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
5367         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5368         if defined.
5370         * nss/nsswitch.h (nss_interface_function): Provide new
5371         macro for use with NSS functions.
5372         * grp/initgroups.c: Use new macro.
5373         * nss/getXXbyYY.c: Likewise.
5374         * nss/getXXbyYY_r.c: Likewise.
5375         * nss/getXXent.c: Likewise.
5376         * nss/getXXent_r.c: Likewise.
5377         * sysdeps/posix/getaddrinfo.c: Likewise.
5379 2012-10-30  Andreas Jaeger  <aj@suse.de>
5381         * po/ru.po: Update Russion translation from translation project.
5383 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
5385         [BZ #14152]
5386         [BZ #14783]
5387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5388         result and shift together with sticky bit instead of replicating
5389         round-to-nearest rounding.
5390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5392         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
5393         missing underflow exceptions.
5394         (fma_test_towardzero): Add more tests.
5395         (fma_test_downward): Likewise.
5396         (fma_test_upward): Likewise.
5398         [BZ #14047]
5399         * sysdeps/generic/tininess.h: New file.
5400         * sysdeps/i386/tininess.h: Likewise.
5401         * sysdeps/sh/tininess.h: Likewise.
5402         * sysdeps/x86_64/tininess.h: Likewise.
5403         * stdlib/tst-strtod-underflow.c: Likewise.
5404         * stdlib/tst-tininess.c: Likewise.
5405         * stdlib/strtod_l.c: Include <tininess.h>.
5406         (round_and_return): Do not set errno for exact underflow cases.
5407         Force an underflow exception when setting errno for underflow.
5408         Determine underflow based on rounding to normal precision if
5409         TININESS_AFTER_ROUNDING.
5410         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5411         ERANGE for exact underflow cases.
5412         * stdlib/Makefile (tests): Add tst-tininess and
5413         tst-strtod-underflow.
5414         ($(objpfx)tst-tininess): Use $(link-libm).
5415         ($(objpfx)tst-strtod-underflow): Likewise.
5417 2012-10-30  Andreas Jaeger  <aj@suse.de>
5419         [BZ#14767]
5420         * elf/Makefile (tests): Remove conditional for have-initfini-array
5421         since this is now always required and the variable does not exist
5422         anymore.
5423         (tests-static): Likewise.
5424         (modules-names): Likewise.
5426         * po/eo.po: Add Esperanto translation from translation project.
5428         * elf/tst-array1.c (fini_array): Make writeable so that it can be
5429         merged with constructor/destructor.
5430         (init_array): Likewise.
5431         * elf/tst-array2dep.c (fini_array): Likewise.
5432         (init_array): Likewise.
5434 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
5436         * manual/message.texi: Delete @cartouche tags.
5438 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
5440         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5441         EOPNOTSUPP.
5442         * sysdeps/mach/hurd/fsync.c: Likewise.
5444         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5445         [_POSIX_REALTIME_SIGNALS]: Change condition to
5446         [_POSIX_REALTIME_SIGNALS > 0].
5448 2012-10-27  Andreas Jaeger  <aj@suse.de>
5450         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
5451         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
5452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
5453         [__WORDSIZE != 64]: Likewise.
5455 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
5457         *  iconvdata/tst-table.sh: Remove ${SHELL}.
5458         *  iconvdata/tst-tables.sh: Likewise.
5460 2012-10-25  David S. Miller  <davem@davemloft.net>
5462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5463         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
5464         of strtoull.
5466         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
5467         ifunc-impl-list.c
5468         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5469         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
5470         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
5471         file.
5473 2012-10-25  Roland McGrath  <roland@hack.frob.com>
5475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5476         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
5477         __getdirentries.
5479 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5480             Jim Blandy  <jimb@codesourcery.com>
5482         * scripts/cross-test-ssh.sh: New file.
5483         * manual/install.texi (Configuring and compiling): Document use of
5484         cross-test-ssh.sh.
5485         * INSTALL: Regenerated.
5487 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
5489         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
5490         EOPNOTSUPP.
5492 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
5494         * Makeconfig (run-program-prefix): Fix comment.
5496 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5497             Jim Blandy  <jimb@codesourcery.com>
5499         * Makeconfig (test-wrapper): New variable,
5500         (test-wrapper-env): Likewise.
5501         [$(cross-compiling) = yes && $(test-wrapper) != ""]
5502         (run-built-tests): Define to yes.
5503         (run-program-prefix): Use $(test-wrapper).
5504         (built-program-cmd): Likewise.
5505         * Rules (make-test-out): Use $(test-wrapper-env) and
5506         $(host-built-program-cmd).
5507         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
5508         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
5509         tst-pathopt.sh.
5510         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
5511         $(test-wrapper-env) to tst-rtld-load-self.sh.
5512         ($(objpfx)order2.out): Use $(test-wrapper).
5513         ($(objpfx)tst-initorder.out): Likewise.
5514         ($(objpfx)tst-initorder2.out): Likewise.
5515         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
5516         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
5517         (test_wrapper_env): New variable.  Use it to run ld.so.
5518         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
5519         Use it to run ld.so.
5520         (test_wrapper_env): Likewise.
5521         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
5522         $(test-wrapper) to run-iconv-test.sh.
5523         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
5524         (ICONV): Use $test_wrapper.
5525         * posix/Makefile ($(objpfx)globtest.out): Pass
5526         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
5527         globtest.sh, not $(run-program-prefix).
5528         * posix/globtest.sh (run_via_rtld_prefix): New variable.
5529         (test_wrapper): Likewise.
5530         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
5531         set together with run_via_rtld_prefix.
5532         (run_program_prefix): Define in terms of test_wrapper and
5533         run_via_rtld_prefix.
5535 2012-10-24  Roland McGrath  <roland@hack.frob.com>
5537         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
5538         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
5539         Targets removed.
5541         [BZ #14743]
5542         * include/time.h: Remove librt_hidden_proto (clock_gettime).
5543         Declare __clock_getres, __clock_gettime, __clock_settime,
5544         __clock_nanosleep, and __clock_getcpuclockid.
5545         * rt/clock_gettime.c: Define __clock_gettime as an alias.
5546         Remove librt_hidden_def (clock_gettime).
5547         * sysdeps/unix/clock_gettime.c: Likewise.
5548         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
5549         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5550         * rt/clock_getres.c: Define __clock_getres as an alias.
5551         * sysdeps/posix/clock_getres.c: Likewise.
5552         * rt/clock_settime.c: Define __clock_settime as an alias.
5553         * sysdeps/unix/clock_settime.c: Likewise.
5554         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
5555         * sysdeps/unix/clock_nanosleep.c: Likewise.
5556         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5557         * rt/clock-compat.c: New file.
5558         * rt/Makefile (librt-routines): Add clock-compat and move
5559         $(clock-routines) to ...
5560         (routines): ... here, new variable.
5561         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
5562         Don't add get_clockfreq here.
5563         * rt/Versions (libc: GLIBC_2.17): New version set.
5564         Add clock_* symbols here.
5565         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
5566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
5567         (GLIBC_2.17): Add clock_* symbols.
5568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5570         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5572         Likewise.
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5574         Likewise.
5575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5579         * NEWS: Mention the move.
5581         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5582         Use __open, __read, __close rather than their public counterparts.
5583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5584         (__get_clockfreq_via_cpuinfo): Likewise.
5585         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
5586         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
5588         * config.h.in (HAVE_IFUNC): New #undef.
5589         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
5590         was successful.
5591         * configure: Regenerated.
5593 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5595         * configure.in: Move READELF check to start of file.
5596         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
5597         libc_cv_asm_gnu_indirect_function in the process.
5598         * configure: Regenerated.
5600 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
5602         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
5603         send the output to /dev/null.
5604         (libc_cv_cc_with_libunwind): Likewise.
5605         (libc_cv_as_noexecstack): Likewise.
5606         * configure: Regenerate.
5608 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
5610         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
5612         * posix/globtest.sh (TMPDIR): Do not set.
5613         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
5614         (testout): Likewise.
5616 2012-10-24  Andreas Jaeger  <aj@suse.de>
5618         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
5619         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
5620         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
5621         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
5622         posix_fadvise64, posix_fallocate64.
5624         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
5625         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
5626         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
5627         Likewise.
5628         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
5629         Likewise.
5630         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
5632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
5633         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
5634         <bits/fcntl-linux.h>.
5635         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
5637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
5638         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
5639         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
5640         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
5641         [__WORDSIZE != 64]: Likewise.
5643 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5645         * Makeconfig (run-built-tests): New variable.
5646         * Rules [$(cross-compiling) = yes]: Change condition to
5647         [$(run-built-tests) = no].
5648         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5649         to [$(run-built-tests) = yes].
5650         * elf/Makefile [$(cross-compiling) = no]: Likewise
5651         * grp/Makefile [$(cross-compiling) = no]: Likewise.
5652         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5653         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5654         * intl/Makefile [$(cross-compiling) = no]: Likewise.
5655         * io/Makefile [$(cross-compiling) = no]: Likewise.
5656         * libio/Makefile [$(cross-compiling) = no]: Likewise.
5657         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5658         * misc/Makefile [$(cross-compiling) = no]: Likewise.
5659         * posix/Makefile [$(cross-compiling) = no]: Likewise.
5660         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5661         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5662         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5663         * string/Makefile [$(cross-compiling) = no]: Likewise.
5665         * posix/Makefile ($(objpfx)globtest.out): Pass
5666         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5667         $(rtld-installed-name).
5668         * posix/globtest.sh (elf_objpfx): Remove variable.
5669         (rtld_installed_name): Likewise.
5670         (library_path): Likewise.
5671         (run_program_prefix): New variable.  Use for running globtest
5672         binary.
5674 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
5675             Joseph Myers  <joseph@codesourcery.com>
5677         * Makeconfig (host-built-program-cmd): New variable.
5678         * elf/Makefile (tst-stackguard1-ARGS): Use
5679         $(host-built-program-cmd).
5680         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5681         (tst-spawn-ARGS): Likewise.
5682         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5684 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
5685             Jim Blandy  <jimb@codesourcery.com>
5687         * Makeconfig (run-via-rtld-prefix): New variable.
5688         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5689         (built-program-cmd): Likewise.
5691 2012-10-22  Andreas Jaeger  <aj@suse.de>
5693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5694         __O_RSYNC if it exists, otherwise to O_SYNC.
5696 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
5697             Joseph Myers  <joseph@codesourcery.com>
5699         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5700         /dev/null.
5701         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5702         from /dev/null
5703         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5704         /dev/null.
5706 2012-10-22  Andreas Jaeger  <aj@suse.de>
5708         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5709         Define always.
5710         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5713         bits/fcntl-linux.h.
5715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5716         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5719         to __O_LARGEFILE.
5720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5721         to __O_LARGEFILE.
5723 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
5724             Joseph Myers  <joseph@codesourcery.com>
5726         * config.make.in (NM): New variable.
5728 2012-10-21  Andreas Jaeger  <aj@suse.de>
5730         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5731         definitions and declarations that are provided by
5732         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5734 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5736         [BZ #14683]
5737         * elf/Makefile (tests-static): Add tst-leaks1-static.
5738         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5739         ($(objpfx)tst-leaks1-static): New rule.
5740         ($(objpfx)tst-leaks1-static-mem): Likewise.
5741         (tst-leaks1-static-ENV): New macro.
5742         * elf/dl-open.c (dl_open_worker): Check the main application
5743         only if SHARED is defined.
5744         * elf/tst-leaks1-static.c: New file.
5746 2012-10-20  Andreas Jaeger  <aj@suse.de>
5748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5749         generic values for Linux.
5750         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5751         and declarations that are provided by <bits/fcntl-linux.h> and
5752         include <bits/fcntl-linux.h>.
5753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5756 2012-10-20  Roland McGrath  <roland@hack.frob.com>
5758         * io/fcntl.h: Move include of <bits/types.h> to the top and
5759         include it unconditionally.
5761 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
5763         * wcsmbs/Makefile (tests-ifunc): New variable.
5764         (tests): Add $(tests-ifunc).
5765         * wcsmbs/test-wcschr-ifunc.c: New file.
5766         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5767         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5768         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5769         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5770         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5772         * string/Makefile (tests-ifunc): New variable.
5773         (tests): Add $(tests-ifunc).
5774         * string/test-memccpy.c (TEST_NAME): New macro.
5775         * string/test-memchr.c (TEST_NAME): Likewise.
5776         * string/test-memcmp.c (TEST_NAME): Likewise.
5777         * string/test-memcpy.c (TEST_NAME): Likewise.
5778         * string/test-memmem.c (TEST_NAME): Likewise.
5779         * string/test-memmove.c (TEST_NAME): Likewise.
5780         * string/test-memset.c (TEST_NAME): Likewise.
5781         * string/test-rawmemchr.c (TEST_NAME): Likewise.
5782         * string/test-stpcpy.c (TEST_NAME): Likewise.
5783         * string/test-stpncpy.c (TEST_NAME): Likewise.
5784         * string/test-strcasecmp.c (TEST_NAME): Likewise.
5785         * string/test-strcasestr.c (TEST_NAME): Likewise.
5786         * string/test-strcat.c (TEST_NAME): Likewise.
5787         * string/test-strchr.c (TEST_NAME): Likewise.
5788         * string/test-strcmp.c(TEST_NAME): Likewise.
5789         * string/test-strcpy.c (TEST_NAME): Likewise.
5790         * string/test-strcspn.c (TEST_NAME): Likewise.
5791         * string/test-strlen.c (TEST_NAME): Likewise.
5792         * string/test-strncasecmp.c (TEST_NAME): Likewise.
5793         * string/test-strncmp.c (TEST_NAME): Likewise.
5794         * string/test-strncpy.c (TEST_NAME): Likewise.
5795         * string/test-strnlen.c (TEST_NAME): Likewise.
5796         * string/test-strpbrk.c (TEST_NAME): Likewise.
5797         * string/test-strrchr.c (TEST_NAME): Likewise.
5798         * string/test-strspn.c (TEST_NAME): Likewise.
5799         * string/test-strstr.c (TEST_NAME): Likewise.
5800         * string/test-bcopy-ifunc.c: New file.
5801         * string/test-bzero-ifunc.c: Likewise.
5802         * string/test-memccpy-ifunc.c: Likewise.
5803         * string/test-memchr-ifunc.c: Likewise.
5804         * string/test-memcmp-ifunc.c: Likewise.
5805         * string/test-memcpy-ifunc.c: Likewise.
5806         * string/test-memmem-ifunc.c: Likewise.
5807         * string/test-memmove-ifunc.c: Likewise.
5808         * string/test-mempcpy-ifunc.c: Likewise.
5809         * string/test-memset-ifunc.c: Likewise.
5810         * string/test-rawmemchr-ifunc.c: Likewise.
5811         * string/test-stpcpy-ifunc.c: Likewise.
5812         * string/test-stpncpy-ifunc.c: Likewise.
5813         * string/test-strcasecmp-ifunc.c: Likewise.
5814         * string/test-strcasestr-ifunc.c: Likewise.
5815         * string/test-strcat-ifunc.c: Likewise.
5816         * string/test-strchr-ifunc.c: Likewise.
5817         * string/test-strchrnul-ifunc.c: Likewise.
5818         * string/test-strcmp-ifunc.c: Likewise.
5819         * string/test-strcpy-ifunc.c: Likewise.
5820         * string/test-strcspn-ifunc.c: Likewise.
5821         * string/test-strlen-ifunc.c: Likewise.
5822         * string/test-strncasecmp-ifunc.c: Likewise.
5823         * string/test-strncat-ifunc.c: Likewise.
5824         * string/test-strncmp-ifunc.c: Likewise.
5825         * string/test-strncpy-ifunc.c: Likewise.
5826         * string/test-strnlen-ifunc.c: Likewise.
5827         * string/test-strpbrk-ifunc.c: Likewise.
5828         * string/test-strrchr-ifunc.c: Likewise.
5829         * string/test-strspn-ifunc.c: Likewise.
5830         * string/test-strstr-ifunc.c: Likewise.
5832         * debug/Makefile (tests-ifunc): New variable.
5833         (tests): Add $(tests-ifunc).
5834         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5835         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5836         * debug/test-stpcpy_chk-ifunc.c: New file.
5837         * debug/test-strcpy_chk-ifunc.c: Likewise.
5839 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5841         [BZ #13601]
5842         * elf/dl-load.c (open_verify): Retry read if the entire ELF
5843         header is not read in.
5845 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
5847         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
5848         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
5849         directly.  Pass built executable to script as
5850         $(built-program-cmd).
5851         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
5852         $testprogram without using LD_LIBRARY_PATH and $ldso.
5854         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5855         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5856         $(rtld-installed-name).
5857         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5858         (rtld_installed_name): Likewise.
5859         (library_path): Likewise.
5860         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
5861         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5862         $(run-program-prefix) to tst-tables.sh.
5863         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
5864         it to run tst-table-from and tst-table-to.
5865         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5866         Pass it to tst-table.sh.
5867         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5868         $(run-program-prefix) to tst-gettext.sh.
5869         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5870         tst-translit.sh.
5871         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5872         tst-gettext2.sh.
5873         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
5874         to run tst-gettext.
5875         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
5876         to run tst-gettext2.
5877         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
5878         to run tst-translit.
5879         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5880         $(run-program-prefix) to tst-mtrace.sh.
5881         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
5882         to run tst-mtrace.
5883         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5884         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5885         $(rtld-installed-name).
5886         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5887         (rtld_installed_name): Likewise.
5888         (run_program_prefix): New variable.  Use it to run wordexp-test.
5890         * Makeconfig (ARCH): Remove all definitions.
5891         (machine): Likewise.
5892         [ARCH]: Remove conditional code.
5893         [!objdir]: Give error.
5894         [!objdir] (objpfx): Remove.
5895         [!objdir] (common-objpfx): Likewise.
5896         [!objdir] (common-objdir): Likewise.
5897         * configure.in (config_makefile): Remove.  Hardcode Makefile in
5898         AC_CONFIG_FILES call.
5899         * configure: Regenerated.
5901         [BZ #13888]
5902         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5903         or TMPDIR.
5904         (testout): Likewise.
5906         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5907         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5908         $(rtld-installed-name).
5909         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5910         (rtld_installed_name): Likwise.
5911         (runit): Remove function.
5912         (run_getconf): New variable,  Use it for running getconf binary.
5914 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
5916         [BZ #14716]
5917         * string/test-memmem.c (check_result): New function.
5918         (do_one_test): Use it.
5919         (check1): New function.
5920         (test_main): Use it.
5922 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
5924         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5926 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
5928         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5929         (_G_LSEEK64): Likewise.
5930         (_G_MMAP64): Likewise.
5931         (_G_FSTAT64): Likewise.
5932         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5933         (_G_LSEEK64): Likewise.
5934         (_G_MMAP64): Likewise.
5935         (_G_FSTAT64): Likewise.
5936         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5937         unconditional.  Call __mmap64 directly.
5938         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5939         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
5940         __lseek64 directly.
5941         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5942         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
5943         __mmap64 directly.
5944         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5945         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5946         __lseek64 directly.
5947         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5948         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
5949         __lseek64 directly.
5950         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5951         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
5952         __lseek64 directly.
5953         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5954         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
5955         __fxstat64 directly.
5956         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5957         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5958         unconditional.
5959         (freopen64) [!_G_OPEN64]: Remove conditional code.
5960         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5961         unconditional.
5962         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5963         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5964         unconditional.
5965         (ftello64) [!_G_LSEEK64]: Remove conditional code.
5966         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5967         unconditional.
5968         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5969         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5970         unconditional.
5971         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5972         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5973         unconditional.
5974         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5975         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5976         unconditional.
5977         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5978         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5979         unconditional.
5980         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5982 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5984         [BZ #12140]
5985         * manual/memory.texi (Malloc Tunable Parameters): Add note
5986         about free list pointers overwriting some perturb bytes.
5987         Wording suggested by Roland McGrath.
5989 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
5991         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5992         (lgamma_test): Likewise.
5993         (tgamma_test): Likewise.
5995 2012-10-16  Florian Weimer  <fweimer@redhat.com>
5997         [BZ #14700]
5998         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5999         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6001 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6003         * NEWS: Mention BZ #14716.
6004         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6005         when removing AVAILABLE1_USES_J macro.
6007 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6009         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6010         (__bswap_64): __uint64_t for unsigned 64-bit int.
6012 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6014         * include/string.h (memmem): Declare libc hidden alias.
6015         * string/memmem.c (memmem): Define libc hidden alias.
6016         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6017         __read, __close instead of open, read, close.
6019 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6022         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6023         global and hidden.
6024         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6025         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6026         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6027         Likewise.
6028         (__rawmemchr_sse2): Likewise.
6029         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6030         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6031         (__strchr_sse2): Likewise.
6032         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6033         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6034         (__strcasecmp_sse2): Likewise.
6035         (__strncasecmp_sse2): Likewise.
6036         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6037         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6038         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6039         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6040         (__strrchr_sse2): Likewise.
6041         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6042         ifunc-impl-list.c.
6043         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6044         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6045         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6046         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6047         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6048         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6049         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6050         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6051         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6052         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6053         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6054         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6055         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6056         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6057         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6058         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6059         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6060         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6061         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6062         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6063         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6064         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6065         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6066         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6067         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6069         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6070         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6071         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6072         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6074         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6075         global and hidden.
6076         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6077         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6078         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6079         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6080         Likewise.
6081         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6082         Likewise.
6083         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6084         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6085         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6086         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6087         ifunc-impl-list.c.
6088         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6089         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6090         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6091         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6092         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6093         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6094         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6095         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6096         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6097         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6098         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6099         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6100         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6101         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6102         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6103         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6104         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6105         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6106         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6107         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6108         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6109         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6110         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6111         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6113         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6114         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6115         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6116         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6117         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6118         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6119         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6120         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6121         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6122         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6123         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6124         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6125         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6126         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6127         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6128         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6130         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6131         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6132         * include/ifunc-impl-list.h: New file.
6133         * misc/ifunc-impl-list.c: Likewise.
6134         * misc/Makefile (routines): Add ifunc-impl-list.
6135         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6136         * string/test-string.h: Include <ifunc-impl-list.h>.
6137         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6138         impl_array): New variables.
6139         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6140         are defined.
6141         (test_init): Call __libc_ifunc_impl_list to initialize
6142         func_list if TEST_IFUNC and TEST_NAME are defined.
6144         * string/Makefile (strop-tests): Add bcopy and bzero.
6145         * string/test-bcopy.c: New file.
6146         * string/test-bzero.c: Likewise.
6147         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6148         defined.
6149         * string/test-memset.c: Support bzero test if TEST_BZERO is
6150         defined.
6151         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6152         __libc_memmove.
6153         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6154         __libc_memset.
6155         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6156         of memset.
6158 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6160         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6161         * configure: Regenerated.
6163         * Makeconfig (+link-static-before-libc): Don't include
6164         $(link-static-libc).
6166         * libio/libio.h (_IO_pos_t): Remove.
6168 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6170         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6171         McGrath.
6173 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6175         * crypt/crypt-entry.c: Include fips-private.h.
6176         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6177         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6178         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6179         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6181 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6183         * crypt/crypt-private.h: Include stdbool.h.
6184         (_ufc_setup_salt_r): Return bool.
6185         * crypt/crypt-entry.c: Include errno.h.
6186         (__crypt_r): Return NULL with EINVAL for bad salt.
6187         * crypt/crypt_util.c (bad_for_salt): New.
6188         (_ufc_setup_salt_r): Check that salt is long enough and within
6189         the specified alphabet.
6190         * crypt/badsalttest.c: New file.
6191         * crypt/Makefile (tests): Add it.
6192         ($(objpfx)badsalttest): New.
6194 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6196         * NEWS: Add entry for BZ #14602.
6198 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6200         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6201         type-generic.
6202         * math/libm-test.inc: Update comment listing what functions and
6203         macros are tested.
6204         (isgreater_test): New function.
6205         (isgreaterequal_test): Likewise.
6206         (isless_test): Likewise.
6207         (islessequal_test): Likewise.
6208         (islessgreater_test): Likewise.
6209         (isunordered_test): Likewise.
6210         (main): Call the new functions.
6212 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6214         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6215         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6216         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6217         * sysdeps/i386/configure: Regenerated.
6218         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6219         * sysdeps/mach/configure: Regenerated.
6220         * sysdeps/mach/hurd/configure: Regenerated.
6221         * sysdeps/powerpc/configure: Regenerated.
6222         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6223         * sysdeps/powerpc/powerpc64/configure: Regenerated.
6224         * sysdeps/s390/s390-32/configure: Regenerated.
6225         * sysdeps/s390/s390-64/configure: Regenerated.
6226         * sysdeps/sh/configure: Regenerated.
6227         * sysdeps/sparc/configure: Regenerated.
6228         * sysdeps/unix/sysv/linux/configure: Regenerated.
6229         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6230         * sysdeps/x86_64/configure: Regenerated.
6232         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6233         defined.  Don't check if MAP is NULL.
6235 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6237         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6238         (_G_stat64): Likewise.
6239         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6240         (_G_stat64): Likewise.
6241         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6242         instead of struct _G_stat64.
6243         * libio/fileops.c (mmap_remap_check): Likewise.
6244         (decide_maybe_mmap): Likewise.
6245         (_IO_new_file_seekoff): Likewise.
6246         (_IO_file_stat): Likewise.
6247         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6248         _G_off64_t.
6249         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6250         instead of struct _G_stat64.
6251         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6253 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
6255         [BZ #14602]
6256         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6257         Replace with ...
6258         (CHECK_EOL): New macro.
6259         (two_way_short_needle): Check beginning of haystack for EOL.  Use
6260         CHECK_EOL.
6261         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6262         Replace with CHECK_EOL.
6263         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6264         Replace with CHECK_EOL.
6266 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
6268         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6269         type-generic.
6270         * math/libm-test.inc: Update comment listing what functions and
6271         macros are tested.
6272         (finite_test): New function.
6273         (isinf_test): Likewise.
6274         (isnan_test): Likewise.
6275         (fpclassify_test): Test subnormal input.
6276         (isfinite_test): Likewise.
6277         (isnormal_test): Likewise.
6278         (main): Call the new functions.
6280 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
6282         [BZ #14660]
6283         * Makerules (%.dynsym): Force C locale when running
6284         $(OBJDUMP) --dynamic-syms.
6286 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
6288         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6289         <stdint.h>.
6291 2012-10-06  David S. Miller  <davem@davemloft.net>
6293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6294         upper 32-bits of the length value in %o2 since we use branch-on-register
6295         tests which consider the entire 64-bit register.
6297 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
6299         * string/test-strstr.c (check2): Add a test for page boundary.
6301 2012-10-05  David S. Miller  <davem@davemloft.net>
6303         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6304         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6305         file.
6306         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6307         sysdep_routines.
6308         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6309         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6310         and bzero when HWCAP_SPARC_CRYPTO is present.
6312 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
6314         [BZ #14602]
6315         * string/test-strstr.c (check2): New function.
6316         (test_main): Call check2.
6318         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6319         and bug-strchr1.
6320         * string/bug-strcasestr1.c (do_test): Moved to ...
6321         * string/test-strcasestr.c (check1): Here.  New function.
6322         (do_one_test): Break out result checking code into ...
6323         (check_result): This.  New function.
6324         (do_one_test): Call check_result.
6325         (test_main): Call check1.
6326         * string/bug-strchr1.c (do_test): Moved to ...
6327         * string/test-strchr.c (check1): Here.  New function.
6328         (do_one_test): Break out result checking code into ...
6329         (check_result): This.  New function.
6330         (do_one_test): Call check_result.
6331         (test_main): Call check1.
6332         * string/bug-strstr1.c (main): Moved to ...
6333         * string/test-strstr.c (check1): Here.  New function.
6334         (do_one_test): Break out result checking code into ...
6335         (check_result): This.  New function.
6336         (do_one_test): Call check_result.
6337         (test_main): Call check1.
6338         * string/bug-strcasestr1.c: Removed.
6339         * string/bug-strchr1.c: Likewise.
6340         * string/bug-strstr1.c: Likewise.
6342         * elf/Makefile (dl-routines): Add hwcaps.
6343         * elf/dl-support.c (_dl_important_hwcaps): Removed.
6344         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6345         (_dl_important_hwcaps): Moved to ...
6346         * elf/dl-hwcaps.c: Here.  New file.
6347         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6349         [BZ #14557]
6350         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6351         if IS_IN_rtld isn't defined.
6353         * elf/dl-support.c (_dl_sysinfo_map): New.
6354         Include "get-dynamic-info.h" and "setup-vdso.h".
6355         (_dl_non_dynamic_init): Call setup_vdso.
6356         * elf/dynamic-link.h: Don't include <assert.h>.
6357         (elf_get_dynamic_info): Moved to ...
6358         * elf/get-dynamic-info.h: Here.  New file.
6359         * elf/dynamic-link.h: Include "get-dynamic-info.h".
6360         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6361         * elf/setup-vdso.h: Here.  New file.
6362         * elf/rtld.c: Include "setup-vdso.h".
6363         (dl_main): Call setup_vdso.
6365 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
6367         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6368         creal in comment listing functions tested.  List finite, isinf,
6369         isnan, isless, islessequal, isgreater, isgreaterequal,
6370         islessgreater, isunordered, lgamma_r and pow10 as functions and
6371         macros not tested.  Mention which functions not tested are aliases
6372         for other functions.  Fix typo.  Note that signs of NaNs are not
6373         tested.
6375         * scripts/config.guess: Update from config.git.
6376         * scripts/config.sub: Likewise.
6378 2012-10-04  Roland McGrath  <roland@hack.frob.com>
6380         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6381         * misc/madvise.c (madvise): Renamed to __madvise.
6382         Make madvise a weak alias.
6383         * include/sys/mman.h: Declare __madvise.
6384         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6385         * sysdeps/unix/syscalls.list
6386         (madvise): Make __madvise the strong name, and madvise a weak alias.
6387         * sysdeps/unix/sysv/linux/syscalls.list
6388         (madvise, mmap): Remove redundant entries.
6389         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6390         * malloc/malloc.c (mtrim): Likewise.
6391         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6393 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6395         * sysdeps/mach/hurd/dl-cache.c: File removed.
6396         * config.h.in (USE_LDCONFIG): New #undef.
6397         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6398         * configure: Regenerated.
6399         * elf/Makefile (dl-routines): Add dl-cache only under
6400         [$(use-ldconfig) = yes].
6401         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6402         cache on [USE_LDCONFIG].
6403         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6404         [USE_LDCONFIG].
6405         * elf/rtld.c (dl_main): Likewise.
6407 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
6409         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6410         _SC_LEVEL4_CACHE_LINESIZE.
6412 2012-10-03  Roland McGrath  <roland@hack.frob.com>
6414         * sysdeps/unix/bsd/confstr.h: File removed.
6416 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
6418         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6419         sys/sdt-config.h.
6421 2012-10-02  Roland McGrath  <roland@hack.frob.com>
6423         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6424         Make 'mapoff' field ElfW(Off) rather than off_t.
6426 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
6428         * nscd/Makefile: Remove nscd-cflags and all its users.
6429         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6430         (CFLAGS-nonlib): Add compiler flags for nscd modules.
6432         [BZ #10631]
6433         * malloc.c (malloc_printerr): Clarify error message.
6435 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
6437         [BZ #14648]
6438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6439         Set bit_FMA_Usable if FMA is supported.
6440         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6441         macro.
6442         (bit_FMA4_Usable): Updated.
6443         (index_FMA_Usable): New macro.
6444         (CPUID_FMA): Likewise
6445         (HAS_FMA): Defined with bit_FMA_Usable.
6447 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6449         * bits/types.h (__swblk_t): Type removed.
6450         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
6451         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
6452         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6453         (__SWBLK_T_TYPE): Likewise.
6454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6455         (__SWBLK_T_TYPE): Likewise.
6456         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6457         (__SWBLK_T_TYPE): Likewise.
6458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6459         (__SWBLK_T_TYPE): Likewise.
6461 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
6462             Honza Horak <hhorak@redhat.com>
6464         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
6465         (xdr_mapname): Use YPMAXMAP as maxsize.
6466         (xdr_peername): Use YPMAXPEER as maxsize.
6467         (xdr_keydat): Use YPAXRECORD as maxsize.
6468         (xdr_valdat): Use YPMAXRECORD as maxsize.
6470 2012-10-01  Roland McGrath  <roland@hack.frob.com>
6472         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
6474         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
6475         * csu/init-first.c: ... here.
6476         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
6477         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6478         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6479         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6480         * sysdeps/i386/init-first.c: File removed.
6481         * sysdeps/sh/init-first.c: File removed.
6483 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
6485         [BZ #14645]
6486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
6487         if x * y might underflow to zero and z is zero.
6488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6490         * math/libm-test.inc (min_subnorm_value): New variable.
6491         (fma_test): Add more tests.
6492         (fma_test_towardzero): Likewise.
6493         (fma_test_downward): Likewise
6494         (fma_test_upward): Likewise.
6495         (initialize): Set min_subnorm_value.
6497 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
6499         [BZ #14638]
6500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
6501         0 + 0.
6502         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
6503         mode for addition resulting in exact zero.
6504         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
6505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
6506         exact 0 + 0.
6507         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6509         * math/libm-test.inc (fma_test): Add more tests.
6510         (fma_test_towardzero): New function.
6511         (fma_test_downward): Likewise.
6512         (fma_test_upward): Likewise.
6513         (main): Call the new functions.
6515 2012-09-28  David S. Miller  <davem@davemloft.net>
6517         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
6519 2012-09-28  Roland McGrath  <roland@hack.frob.com>
6521         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
6522         instead of SIGALRM.
6524         * sysdeps/gnu/_G_config.h: Moved to ...
6525         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
6526         * sysdeps/mach/hurd/_G_config.h: Moved to ...
6527         * sysdeps/generic/_G_config.h: ... here.
6529         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
6531         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
6533         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
6534         Conditionalize target on [libnss_test1.so-version].
6536         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
6538         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
6539         (elfobjdir): Move out of conditionals.
6541         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
6542         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
6543         (__nss_lookup_function): Conditionalize label remove_from_tree on
6544         [!DO_STATIC_NSS || SHARED], matching its only use.
6546 2012-09-28  David S. Miller  <davem@davemloft.net>
6548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
6549         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
6550         file.
6551         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6552         sysdep_routines.
6553         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
6555         when HWCAP_SPARC_CRYPTO is present.
6557 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6559         * io/tst-mknodat.c: Create a FIFO instead of a socket.
6561 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
6563         [BZ #6530]
6564         * stdio-common/vfprintf.c (process_string_arg): Revert
6565         2000-07-22 change.
6567 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
6569         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
6570         for testcase.
6571         * stdio-common/tst-sprintf.c: Include <locale.h>
6572         (main): Test sprintf's handling of incomplete multibyte
6573         characters.
6575 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
6577         * elf/dl-runtime.c (VERSYMIDX): Removed.
6578         * elf/dl-version.c (VERSYMIDX): Likewise.
6579         * elf/do-rel.h (VERSYMIDX): Likewise.
6580         (VALIDX): Likewise.
6581         * elf/dynamic-link.h (VERSYMIDX): Likewise.
6582         * elf/rtld.c (VALIDX): Likewise.
6583         (ADDRIDX): Likewise.
6584         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
6585         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
6586         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
6587         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
6588         (VALIDX): Likewise.
6589         (ADDRIDX): Likewise.
6591 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6593         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
6595 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
6597         [BZ #11438]
6598         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
6599         to global scope.
6600         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
6601         addresses are in the same scope as 192.0.2/24.
6602         * posix/gai.conf: Document new scope table defaults.
6604 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606         [BZ #5298]
6607         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
6608         for ftell.  Compute offsets from write pointers instead.
6609         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6611 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6613         [BZ #14543]
6614         * libio/Makefile (tests): New test case tst-fseek.
6615         * libio/tst-fseek.c: New test case to verify that fseek/ftell
6616         combination works in wide mode.
6617         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
6618         state when the external buffer state changes.
6620 2012-09-27  David S. Miller  <davem@davemloft.net>
6622         [BZ #14376]
6623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
6624         pass reloc->r_addend in as the 'high' argument to
6625         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
6627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6629 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
6631         * rt/tst-aio2.c: Include <pthread.h>.
6632         * rt/tst-aio3.c: Likewise.
6634 2012-09-27  Steve Ellcey  <sellcey@mips.com>
6636         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
6638 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6640         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
6641         contents on [SHARED].
6643 2012-09-26  Marek Polacek  <polacek@redhat.com>
6645         [BZ #14530]
6646         [BZ #13741]
6647         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6648         for C++ and GCC <4.3 as well as for non GCC compilers.
6650 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6654 2012-09-25  Roland McGrath  <roland@hack.frob.com>
6656         * Makefile.in (all, install): Declare with .PHONY.
6657         Reported by Michael Hope <michael.hope@linaro.org>.
6659 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6661         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6662         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6663         system header.
6664         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6665         Likewise.
6666         (sydep_routines): Add the new and the internal functions.
6667         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6668         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6670         (GLIBC_2.17): Add the new function.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6672         (GLIBC_2.17): Likewise.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6674         (GLIBC_2.17): Likewise.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6676         (GLIBC_2.17): Likewise.
6677         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6679 2012-09-25  Alan Modra  <amodra@gmail.com>
6681         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6682         Add release barrier before setting once_control to say
6683         initialisation is done.  Add hints on lwarx.  Use macro in
6684         place of isync.
6685         (clear_once_control): Add release barrier.
6687 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #13629]
6690         * math/s_clog.c (__clog): Handle more values close to |z| = 1
6691         specially.
6692         * math/s_clog10.c (__clog10): Likewise.
6693         * math/s_clog10f.c (__clog10f): Likewise.
6694         * math/s_clog10l.c (__clog10l): Likewise.
6695         * math/s_clogf.c (__clogf): Likewise.
6696         * math/s_clogl.c (__clogl): Likewise.
6697         * math/Makefile (libm-calls): Add x2y2m1.
6698         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6699         (__x2y2m1): Likewise.
6700         (__x2y2m1l): Likewise.
6701         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6702         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6703         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6704         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6705         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6706         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6707         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6708         * sysdeps/i386/fpu/libm-test-ulps: Update.
6709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6711         [BZ #14621]
6712         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6713         int as type of variable DEPTH.
6714         (glob): Use size_t instead of int as type of variables NEWCOUNT
6715         and OLD_PATHC.
6717 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6719         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6720         Add s_sincosf-sse2.
6721         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6722         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6723         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6724         macros for using routine as __sincosf_ia32.
6725         Use macro for function declaration and weak_alias.
6726         * sysdeps/i386/fpu/libm-test-ulps: Update.
6728         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6731         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6732         subnormal argument.
6733         * math/s_cexpf.c (__cexpf): Likewise.
6734         * math/s_csinf.c (__csinf): Likewise.
6735         * math/s_csinhf.c (__csinhf): Likewise.
6736         * math/s_ctanf.c (__ctanf): Likewise.
6737         * math/s_ctanhf.c (__ctanhf): Likewise.
6738         * math/s_ccosh.c (__ccoshf): Likewise.
6739         * math/s_cexp.c (__cexpl): Likewise.
6740         * math/s_csin.c (__csin): Likewise.
6741         * math/s_csinh.c (__csinh): Likewise.
6742         * math/s_ctan.c (__ctan): Likewise.
6743         * math/s_ctanh.c (ctanh): Likewise.
6744         * math/s_ccoshl.c (__ccoshl): Likewise.
6745         * math/s_cexpl.c (__cexpl): Likewise.
6746         * math/s_csinl.c (__csinl): Likewise.
6747         * math/s_csinhl.c (__csinhl): Likewise.
6748         * math/s_ctanl.c (__ctanl): Likewise.
6749         * math/s_ctanhl.c (__ctanhl): Likewise.
6751 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
6753         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6754         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6755         (_IO_off_t): Define to __off_t, not _G_off_t.
6756         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6757         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6758         (_IO_wint_t): Define to wint_t, not _G_wint_t.
6759         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6760         type of __dummy and __dummy2 fields.
6761         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6762         (_G_ssize_t): Likewise.
6763         (_G_off_t): Likewise.
6764         (_G_pid_t): Likewise.
6765         (_G_uid_t): Likewise.
6766         (_G_wchar_t): Likewise.
6767         (_G_wint_t): Likewise.
6768         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6769         (_G_ssize_t): Likewise.
6770         (_G_off_t): Likewise.
6771         (_G_pid_t): Likewise.
6772         (_G_uid_t): Likewise.
6773         (_G_wchar_t): Likewise.
6774         (_G_wint_t): Likewise.
6775         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6776         (_G_ssize_t): Likewise.
6777         (_G_off_t): Likewise.
6778         (_G_pid_t): Likewise.
6779         (_G_uid_t): Likewise.
6780         (_G_wchar_t): Likewise.
6781         (_G_wint_t): Likewise.
6783 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6785         * malloc/arena.c: Include malloc-sysdep.h.
6786         (shrink_heap): Use check_may_shrink_heap to decide if madvise
6787         is sufficient to shrink the heap or an unmap is needed.
6788         * sysdeps/generic/malloc-sysdep.h: New file.  Define
6789         new function check_may_shrink_heap.
6790         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
6791         new function check_may_shrink_heap.
6793 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6795         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6796         comments.
6798 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
6800         * catgets/test-gencat.sh: Add "set -e".
6801         * elf/tst-pathopt.sh: Likewise.
6802         * grp/tst_fgetgrent.sh: Likewise.
6803         * iconvdata/run-iconv-test.sh: Likewise.
6804         * intl/tst-gettext.sh: Likewise.
6805         * intl/tst-gettext2.sh: Likewise.
6806         * intl/tst-gettext4.sh: Likewise.
6807         * intl/tst-gettext6.sh: Likewise.
6808         * intl/tst-translit.sh: Likewise.
6809         * io/ftwtest-sh: Likewise.
6810         * libio/test-freopen.sh: Likewise.
6811         * malloc/tst-mtrace.sh: Likewise.
6812         * posix/globtest.sh: Likewise.
6813         * posix/tst-getconf.sh: Likewise.
6814         * posix/wordexp-tst.sh: Likewise.
6815         * stdio-common/tst-printf.sh: Likewise.
6816         * stdio-common/tst-unbputc.sh: Likewise.
6817         * stdlib/tst-fmtmsg.sh: Likewise.
6818         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6819         * catgets/Makefile: Do not specify -e option when running
6820         testsuite shell scripts.
6821         * elf/Makefile: Likewise.
6822         * grp/Makefile: Likewise.
6823         * iconvdata/Makefile: Likewise.
6824         * intl/Makefile: Likewise.
6825         * io/Makefile: Likewise.
6826         * libio/Makefile: Likewise.
6827         * malloc/Makefile: Likewise.
6828         * posix/Makefile: Likewise.
6829         * stdio-common/Makefile: Likewise.
6830         * stdlib/Makefile: Likewise.
6831         * sysdeps/x86_64/Makefile: Likewise.
6833         * io/ftwtest-sh: Add copyright header.
6834         * posix/globtest.sh: Likewise.
6835         * posix/tst-getconf.sh: Likewise.
6836         * posix/wordexp-tst.sh: Likewise.
6837         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6839 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
6841         [BZ #13679]
6842         * Makeconfig (+link): Defined as $(+link-static) if
6843         $(build-shared) isn't yes.
6844         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6845         isn't yes.
6846         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6848         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6850         [BZ #14562]
6851         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6852         new chunk size with MALLOC_ALIGN_MASK.
6854 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
6856         [BZ #5044]
6857         * stdio-common/printf_fphex.c: Include <stdbool.h> and
6858         <rounding-mode.h>.
6859         (__printf_fphex): Determine rounding using get_rounding_mode and
6860         round_away.
6861         * stdio-common/tst-printf-round.c (struct hex_test): New
6862         structure.
6863         (hex_tests): New variable.
6864         (test_hex_in_one_mode): New function.
6865         (do_test): Also run tests for hex float output.
6867 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
6869         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6870         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6871         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6872         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6873         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6874         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6875         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6876         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6878 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
6880         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6881         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6882         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6883         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6885 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
6887         [BZ #14579]
6888         * elf/rtld.c (dl_main): Limit the check for self loading to normal
6889         mode only.
6890         * elf/tst-rtld-load-self.sh: New test.
6891         * elf/Makefile: Run it.
6893 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
6895         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6896         (tst-writev-ENV): Remove.
6897         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6899 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
6901         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6903 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
6905         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6906         unconditional.
6907         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6908         Likewise.
6909         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6910         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6911         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6912         Likewise.
6914 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6916         [BZ #14587]
6917         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6918         * config.make.in (have-cpp-asm-debuginfo): Removed.
6919         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6920         * configure: Regenerated.
6922 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
6924         [BZ #5044]
6925         * stdio-common/printf_fp.c: Include <stdbool.h> and
6926         <rounding-mode.h>.
6927         (___printf_fp): Determine rounding using get_rounding_mode and
6928         round_away.
6929         * stdio-common/tst-printf-round.c: New file.
6930         * stdio-common/Makefile (tests): Add tst-printf-round.
6931         (link-libm): New variable.
6932         ($(objpfx)tst-printf-round): Depend in $(link-libm).
6934 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
6936         [BZ #14576]
6937         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6938         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6939         Likewise.
6940         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6941         Likewise.
6943 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
6945         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6946         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6947         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6948         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6950 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #14518]
6953         * include/rounding-mode.h: New file.
6954         * sysdeps/generic/get-rounding-mode.h: Likewise.
6955         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6956         * stdlib/strtod_l.c: Include <rounding-mode.h>.
6957         (MAX_VALUE): New macro.
6958         (MIN_VALUE): Likewise.
6959         (overflow_value): New function.
6960         (underflow_value): Likewise.
6961         (round_and_return): Use overflow_value and underflow_value to
6962         determine return values in overflow and underflow cases.  Use
6963         round_away to determine rounding depending on rounding mode.
6964         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6965         determine return values in overflow and underflow cases.
6966         * stdlib/tst-strtod-round.c: Include <fenv.h>.
6967         (struct test_results): New structure.
6968         (struct test): Use struct test_results to store expected results
6969         for all rounding modes.
6970         (TEST): Include expected results for all rounding modes.
6971         (test_in_one_mode): New function.
6972         (do_test): Use test_in_one_mode to compute and check results.
6973         Check results for all rounding modes.
6974         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6975         $(link-libm).
6977 2012-12-09  Allan McRae  <allan@archlinux.org>
6979         * sysdeps/i386/fpu/libm-test-ulps: Update
6981 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
6983         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6984         (_G_int32_t): Likewise.
6985         (_G_uint16_t): Likewise.
6986         (_G_uint32_t): Likewise.
6987         (_G_HAVE_BOOL): Likewise.
6988         (_G_HAVE_ATEXIT): Likewise.
6989         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6990         (_G_HAVE_IO_FILE_OPEN): Likewise.
6991         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6992         (_G_int32_t): Likewise.
6993         (_G_uint16_t): Likewise.
6994         (_G_uint32_t): Likewise.
6995         (_G_HAVE_BOOL): Likewise.
6996         (_G_HAVE_ATEXIT): Likewise.
6997         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6998         (_G_HAVE_IO_FILE_OPEN): Likewise.
6999         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7000         (_G_int32_t): Likewise.
7001         (_G_uint16_t): Likewise.
7002         (_G_uint32_t): Likewise.
7003         (_G_HAVE_BOOL): Likewise.
7004         (_G_HAVE_ATEXIT): Likewise.
7005         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7006         (_G_HAVE_IO_FILE_OPEN): Likewise.
7008 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7010         * csu/libc-tls.c: Update copyright years.
7012 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7014         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7015         [!_G_USING_THUNKS]: Remove conditional code.
7016         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7017         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7019         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7020         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7021         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7022         (_G_VTABLE_LABEL_PREFIX): Likewise.
7023         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7024         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7025         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7026         (_G_VTABLE_LABEL_PREFIX): Likewise.
7027         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7028         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7029         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7030         (_G_VTABLE_LABEL_PREFIX): Likewise.
7031         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7033 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7035         * libio/Makefile: Include ../Makeconfig before tests.
7036         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7037         only if $(build-shared) is yes.
7039         * iconv/gconv_db.c: Update copyright years.
7041 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7043         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7044         unwind info if defined PIC. Fix special cases description.
7045         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7047         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7048         DP_HI_MASK entry.
7049         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7051 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7053         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7055         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7056         is NULL.
7058         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7059         (LDLIBS-tst-chk4): This.
7060         (LDFLAGS-tst-chk5): Renamed to ...
7061         (LDLIBS-tst-chk5): This.
7062         (LDFLAGS-tst-chk6): Renamed to ...
7063         (LDLIBS-tst-chk6): This.
7064         (LDFLAGS-tst-lfschk4): Renamed to ...
7065         (LDLIBS-tst-lfschk4): This.
7066         (LDFLAGS-tst-lfschk5): Renamed to ...
7067         (LDLIBS-tst-lfschk5): This.
7068         (LDFLAGS-tst-lfschk6): Renamed to ...
7069         (LDLIBS-tst-lfschk6): This.
7071         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7072         on $(common-objpfx)soversions.mk.
7074 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7076         [BZ #10014]
7077         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7078         example host name.
7080 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7082         * malloc/arena.c (arena_get_retry): New function that gets
7083         another arena for the caller to try its request on.
7084         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7085         current arena cannot fulfill the request.
7086         (__libc_memalign): Likewise.
7087         (__libc_memalign): Likewise.
7088         (__libc_pvalloc): Likewise.
7089         (__libc_calloc): Likewise.
7091 2012-09-05  John Tobey  <john.tobey@gmail.com>
7093         [BZ #13542]
7094         * manual/arith.texi (Operations on Complex): Fix description
7095         of carg branch cut.
7097 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7099         [BZ #10014]
7100         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7101         host name.
7103         [BZ #10038]
7104         * manual/memory.texi (Memory): Make order of menu items match
7105         order of sections.
7107 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7109         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7110         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7111         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7113 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7115         * csu/libc-tls.c (static_dtv): Renamed to ...
7116         (_dl_static_dtv): This.  Make it global.
7117         (_dl_initial_dtv): Removed.
7118         (__libc_setup_tls): Updated.
7119         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7120         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7121         DL_INITIAL_DTV.
7123 2012-09-06  Petr Machata  <pmachata@redhat.com>
7125         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7126         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7127         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7128         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7130 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7132         [BZ #14545]
7133         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7134         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7135         freeing dtv[-1].
7137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7139         [BZ #14544]
7140         * Makeconfig (link-static-before-libc): Replace $(+prector)
7141         with $(+prectorT).
7142         (link-static-after-libc): Replace $(+postctor) with
7143         $(+postctorT).
7144         (link-bounded): Replace $(+prector)/$(+postctor) with
7145         $(+prectorT)/$(+postctorT).
7146         (+prectorT): New macro.
7147         (+postctorT): Likewise.
7149 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7151         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7152         (round_str): Handle values above the maximum for IBM long double
7153         as inexact.
7154         * stdlib/tst-strtod-round.c (tests): Regenerated.
7156 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7158         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7159         assembler flag.
7160         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7161         zarch_nohighgprs around the zarch optimized routines.
7162         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7163         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7164         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7165         for zarch.
7167 2012-09-05  David S. Miller  <davem@davemloft.net>
7169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7171         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7172         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7173         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7174         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7175         entries.
7177 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7179         * malloc/arena.c: Fold copyright years.
7180         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7184         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7188         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7190 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7192         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7193         change internal state upon failure.
7195 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7197         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7198         * malloc/memusage.c (mmap): Likewise.
7199         (mmap64, mremap): Likewise.  Adjust name in comment.
7201 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203         * libio/fileops.c: Fix typos in comments.
7204         * libio/oldfileops.c: Likewise.
7205         * libio/wfileops.c: Likewise.
7207 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7209         [BZ #1349]
7210         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7211         (tst-malloc-usable-ENV): Set environment for test case.
7212         * malloc/hooks.c (malloc_check_get_size): New function to get
7213         requested size.
7214         * malloc/malloc.c (musable): Use malloc_check_get_size.
7215         * malloc/tst-malloc-usable.c: New test case.
7217 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7219         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7221 2012-09-05  Allan McRae  <allan@archlinux.org>
7223         [BZ #13966]
7224         * configure.in (CXX_SYSINCLUDES): Use compiler output to
7225         determine header location.
7226         * configure: Regenerated.
7228 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7230         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7231         float format.
7232         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
7233         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7234         format.
7235         (test): Regenerate.
7237 2012-09-04  David S. Miller  <davem@davemloft.net>
7239         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7240         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7241         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7243 2012-09-04  Florian Weimer  <fweimer@redhat.com>
7245         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7246         failures.
7248         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7250 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
7252         [BZ #9914]
7253         * libio/iogetdelim.c: Include <limits.h>.
7254         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7255         + len + 1 would overflow.
7257 2012-09-03  Andreas Jaeger  <aj@suse.de>
7259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7260         * sysdeps/i386/fpu/libm-test-ulps: Update.
7262 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7264         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7265         Add s_sinf-sse2, s_conf-sse2.
7267         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7268         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7269         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7270         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7272         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7273         for using routine as __sinf_ia32.
7274         Use macro for function declaration and weak_alias.
7275         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7276         for using routine as __cosf_ia32.
7277         Use macro for function declaration and weak_alias.
7279         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7280         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7282         * sysdeps/x86_64/fpu/s_sinf.S: New file.
7283         * sysdeps/x86_64/fpu/s_cosf.S: New file.
7284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7286         * math/libm-test.inc (cos_test): Add more test cases.
7287         (sin_test): Likewise.
7288         (sincos_test): Likewise.
7290 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7292         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7293         (IFUNC_RESOLVE): Make pointers to the specialized implementations
7294         hidden.
7295         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7297 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
7299         [BZ #14538]
7300         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7301         first element of the GOT.
7302         (elf_machine_load_address): Return the difference between
7303         the runtime address of _DYNAMIC and elf_machine_dynamic ().
7305 2012-09-01  Allan McRae  <allan@archlinux.org>
7307         [BZ #13412]
7308         * configure.in (AWK): Require gawk version 3.0 or later.
7309         * configure: Regenerated.
7311 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
7313         * sysdeps/unix/sysv/linux/kernel-features.h
7314         (__ASSUME_POSIX_CPU_TIMERS): Remove.
7315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7316         [__NR_clock_getres]: Make code unconditional.
7317         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7318         (clock_getcpuclockid): Remove code left unreachable by removal of
7319         conditionals.
7320         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7321         code unconditional.
7322         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7323         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7324         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7325         Make code unconditional.
7326         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7327         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7328         * sysdeps/unix/sysv/linux/clock_settime.c
7329         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7330         conditional code.
7331         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7332         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7334 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
7336         [BZ #14476]
7337         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7338         scripts/test-installation.pl.
7340         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7341         and $ld_so_version if it is set.
7343 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7345         [BZ #14516]
7346         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7347         failure if reading from procfs failed.
7348         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7350 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7352         * sysdeps/unix/sysv/linux/kernel-features.h
7353         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7354         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7355         Remove conditional code.
7356         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7357         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7358         Remove conditional code.
7359         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7360         * sysdeps/unix/sysv/linux/i386/fxstat.c
7361         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7362         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7363         * sysdeps/unix/sysv/linux/i386/fxstatat.c
7364         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7366         * sysdeps/unix/sysv/linux/i386/lxstat.c
7367         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7369         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7370         Remove conditional code.
7371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7372         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7373         Remove conditional code.
7374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7375         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7376         <kernel-features.h>.
7377         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7378         Remove.
7379         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7380         Remove conditional code.
7381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7382         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7383         Remove conditional.
7385 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
7387         [BZ #5400]
7388         * NEWS: Add fixed bug number.
7390 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
7392         [BZ #14519]
7393         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7394         underflowing exponent in case of negative sign.
7395         * stdlib/tst-strtod-round-data: Add more tests.
7396         * stdlib/tst-strtod-round.c (tests): Regenerated.
7398         [BZ #3479]
7399         * stdlib/strtod_l.c (NDIG): Remove.
7400         (HEXNDIG): Likewise.
7401         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7402         smallest representable value.
7403         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7404         lie within an exact representation of 1/2 ulp of the result.
7405         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7406         unconditionally.
7407         (TENS_P9_IDX): Define unconditionally.
7408         (TENS_P9_SIZE): Likewise.
7409         (TENS_P10_IDX): Likewise.
7410         (TENS_P10_SIZE): Likewise.
7411         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7412         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7413         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7414         entries for 10^2^13 and 10^2^14.
7415         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7416         (TENS_P13_IDX): Define.
7417         (TENS_P13_SIZE): Likewise.
7418         (TENS_P14_IDX): Likewise.
7419         (TENS_P14_SIZE): Likewise.
7420         (_fpioconst_pow10): Change array size to
7421         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
7422         unconditional.
7423         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7424         1024]: Add entries for 10^2^13 and 10^2^14.
7425         [LAST_POW10 > _LAST_POW10]: Remove #error.
7426         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7427         (_fpioconst_pow10): Change array size to
7428         FPIOCONST_POW10_ARRAY_SIZE.
7429         * stdlib/gen-fpioconst.c: New file.
7430         * stdlib/gen-tst-strtod-round.c: Likewise.
7431         * stdlib/tst-strtod-round-data: Likewise.
7432         * stdlib/tst-strtod-round.c: Likewise.
7433         * stdlib/Makefile (tests): Add tst-strtod-round.
7435         [BZ #14459]
7436         * stdlib/strtod_l.c: Include <stdint.h>.
7437         (NDEBUG): Do not define.
7438         (round_and_return): Change EXPONENT parameter to type intmax_t.
7439         Rearrange calculations to avoid internal overflow possibilities.
7440         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7441         Rearrange calculations to avoid internal overflow possibilities.
7442         Assert that number fits inside MPNSIZE limbs.
7443         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7444         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
7445         calculations and add assertions to avoid internal overflow
7446         possibilities.  Add casts to avoid signed/unsigned operations.
7447         * stdlib/tst-strtod-overflow.c: New file.
7448         * stdlib/Makefile (tests): Add tst-strtod-overflow.
7450 2012-08-25  Marek Polacek  <polacek@redhat.com>
7452         * time/time.h: Fix some typos in comments.
7454 2012-08-23  Roland McGrath  <roland@hack.frob.com>
7456         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
7457         * posix/tst-rfc3484-2.c: Likewise.
7458         * posix/tst-rfc3484-3.c: Likewise.
7460 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
7462         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
7463         (EF_ARM_ABI_FLOAT_HARD): Likewise.
7465 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
7467         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
7468         #include of fxstatat64.c.
7470 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7472         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
7473         * shadow/getspent_r.c: Likewise.
7474         * shadow/getspnam.c: Likewise.
7475         * shadow/getspnam_r.c: Likewise.
7476         * gshadow/getsgent.c: Likewise.
7477         * gshadow/getsgent_r.c: Likewise.
7478         * gshadow/getsgnam.c: Likewise.
7479         * gshadow/getsgnam_r.c: Likewise.
7480         * inet/getnetbyad.c: Likewise.
7481         * inet/getnetbyad_r.c: Likewise.
7482         * inet/getnetbynm.c: Likewise.
7483         * inet/getnetbynm_r.c: Likewise.
7484         * inet/getnetent.c: Likewise.
7485         * inet/getnetent_r.c: Likewise.
7486         * inet/getproto.c: Likewise.
7487         * inet/getproto_r.c: Likewise.
7488         * inet/getprtent.c: Likewise.
7489         * inet/getprtent_r.c: Likewise.
7490         * inet/getprtname.c: Likewise.
7491         * inet/getprtname_r.c: Likewise.
7492         * inet/getrpcbyname.c: Likewise.
7493         * inet/getrpcbyname_r.c: Likewise.
7494         * inet/getrpcbynumber.c: Likewise.
7495         * inet/getrpcbynumber_r.c: Likewise.
7496         * inet/getrpcent.c: Likewise.
7497         * inet/getrpcent_r.c: Likewise.
7498         * inet/getaliasent.c: Likewise.
7499         * inet/getaliasent_r.c: Likewise.
7500         * inet/getaliasname.c: Likewise.
7501         * inet/getaliasname_r.c: Likewise.
7502         * nscd/getgrgid_r.c: Likewise.
7503         * nscd/getgrnam_r.c: Likewise.
7504         * nscd/gethstbyad_r.c: Likewise.
7505         * nscd/gethstbynm3_r.c: Likewise.
7506         * nscd/getpwnam_r.c: Likewise.
7507         * nscd/getpwuid_r.c: Likewise.
7508         * nscd/getsrvbynm_r.c: Likewise.
7509         * nscd/getsrvbypt_r.c: Likewise.
7510         * nscd/gai.c: Likewise.
7512         * configure.in (build_nscd): New substituted variable, set
7513         by --disable-build-nscd and defaults to $use_nscd.
7514         * configure: Regenerated.
7515         * config.make.in (build-nscd): New substituted variable.
7516         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
7517         Change conditional to require [$(build-nscd) = yes] as well.
7518         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
7520         [BZ# 13696]
7521         * configure.in (use_nscd): New substituted variable, set by
7522         --disable-nscd.  If enabled, define USE_NSCD.
7523         * configure: Regenerated.
7524         * config.h.in: Add USE_NSCD.
7525         * config.make.in (use-nscd): New substituted variable.
7526         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
7527         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
7528         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
7529         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
7530         (CFLAGS-getgrnam_r.c): Likewise.
7531         (CFLAGS-initgroups.c): Likewise.
7532         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
7533         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
7534         Variables removed.
7535         * inet/getnetgrent_r.c
7536         (nscd_setnetgrent): New function, broken out of ...
7537         (setnetgrent): ... here.  Call it.
7538         (innetgr): Conditionalize nscd bits on [USE_NSCD].
7539         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
7540         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
7541         * nscd/Makefile (routines, aux): Move definitions after include of
7542         Makeconfig.  Conditionalize on [$(use-nscd) != no].
7543         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
7544         Conditionalize on [USE_NSCD].
7545         (is_nscd, nscd_init_cb): Likewise.
7546         (nss_load_library): Conditionalize init callback on [USE_NSCD].
7547         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
7548         * nss/nss_db/db-init.c: Likewise.
7549         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
7550         [USE_NSCD].
7551         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
7552         (make_request): Use it.
7553         (cache_valid_p): New function.
7554         (__check_pf): Use it.
7555         * NEWS: Add item for --disable-nscd.
7557 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
7559         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
7560         to support sed >= 4.2.1-20-ga9bf076.
7561         * configure: Regenerated.
7563 2012-08-22  Roland McGrath  <roland@hack.frob.com>
7565         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
7566         Conditionalize whole body on [IREL].
7568 2012-08-22  Jeff Law <law@redhat.com>
7570         [BZ #14505]
7571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
7572         if the family is PF_UNSPEC.
7574 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
7576         * Makerules (lib-version): Rename from V.
7577         (install-lib-nosubdir): Change V to lib-version.
7579 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
7581         [BZ #14252]
7582         * powerpc32/power6/wcschr.c: New file.
7583         * powerpc32/power6/wcscpy.c: New file.
7584         * powerpc32/power6/wcsrchr.c: New file.
7585         * powerpc64/power6/wcschr.c: New file.
7586         * powerpc64/power6/wcscpy.c: New file.
7587         * powerpc64/power6/wcsrchr.c: New file.
7589 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7591         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
7592         (two_way_short_needle): Use it.
7593         * string/strstr.c (AVAILABLE1_USES_J): Define.
7594         * string/strcasestr.c: Likewise.
7596         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
7597         array references.
7598         * string/strcasestr.c (TOLOWER): Make side-effect safe.
7600         [BZ #11607]
7601         * NEWS: Add an entry.
7602         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
7603         define their defaults.
7604         (two_way_short_needle): Detect end-of-string on-the-fly.
7605         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
7606         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
7607         * string/bug-strcasestr1.c: New test.
7608         * string/Makefile: Run it.
7610 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
7612         [BZ #11607]
7613         * string/str-two-way.h (two_way_short_needle): Optimize matching of
7614         the first character.
7616 2012-08-21  Roland McGrath  <roland@hack.frob.com>
7618         * csu/elf-init.c (__libc_csu_irel): Function removed.
7619         * csu/libc-start.c (apply_irel): New function.
7620         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
7622 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
7624         * sysdeps/unix/sysv/linux/kernel-features.h
7625         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
7626         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7627         <kernel-features.h>.
7628         [__NR_fadvise64_64]: Make code unconditional.
7629         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
7630         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7631         !__NR_fadvise64_64)]: Likewise.
7632         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
7633         !__NR_fadvise64_64))]: Likewise.
7634         [__NR_fadvise64]: Make code unconditional.
7635         [!__NR_fadvise64]: Remove conditional code.
7636         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
7637         <kernel-features.h>.
7638         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7639         unconditional.
7640         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7641         conditional code.
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
7643         not include <kernel-features.h>.
7644         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7645         unconditional.
7646         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7647         conditional code.
7648         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7649         include <kernel-features.h>.
7650         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7651         unconditional.
7652         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7653         conditional code.
7655 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7658         slight instruction rearrangements per scrollpipe analysis.
7659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7661 2012-08-20  Roland McGrath  <roland@hack.frob.com>
7663         * manual/syslog.texi (syslog; vsyslog, closelog):
7664         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7665         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7667         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7668         DSOCAPS to match condition on defining it.
7670 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
7672         * sysdeps/unix/sysv/linux/kernel-features.h
7673         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7675         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7676         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7678         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7679         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7681         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7682         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7684         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7685         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7687         * sysdeps/unix/sysv/linux/kernel-features.h
7688         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7689         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7690         unconditional.
7691         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7692         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7693         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7694         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7695         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7696         Make code unconditional.
7697         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7698         (__mmap64) [!__NR_mmap2]: Likewise.
7699         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7700         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7701         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7702         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7703         [__NR_mmap2]: Make code unconditional.
7704         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7705         (__mmap64) [!__NR_mmap2]: Likewise.
7707 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7709         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7711 2012-08-18  Andreas Jaeger  <aj@suse.de>
7713         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7715 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7717         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7718         * include/unistd.h (__have_sock_cloexec): Likewise.
7719         (__have_pipe2): Likewise.
7720         (__have_dup3): Likewise.
7722 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
7724         [BZ #9685]
7725         * include/unistd.h (__have_pipe2): Change define into an extern int.
7726         (__have_dup3): Likewise.
7727         * socket/have_sock_cloexec.c: Include fcntl.h.
7728         (__have_pipe2): New variable.
7729         (__have_dup3): Likewise.
7731 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
7733         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7735 2012-08-17  Marek Polacek  <polacek@redhat.com>
7737         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7738         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7740 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7742         * configure.in: Add AC_SUBST for sysheaders.
7743         * configure: Regenerated.
7744         * config.make.in (sysheaders): New substituted variable.
7746         * sysdeps/unix/mkfifo.c: Moved ...
7747         * sysdeps/posix/mkfifo.c: ... here.
7748         * sysdeps/unix/mkfifoat.c: Moved ...
7749         * sysdeps/posix/mkfifoat.c: ... here.
7751         * sysdeps/unix/utime.c: Moved ...
7752         * sysdeps/posix/utime.c: ... here.
7754         * sysdeps/unix/time.c: Moved ...
7755         * sysdeps/posix/time.c: ... here.
7756         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7757         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7759         * sysdeps/unix/nice.c: Moved ...
7760         * sysdeps/posix/nice.c: ... here.
7762         * sysdeps/unix/alarm.c: Moved ...
7763         * sysdeps/posix/alarm.c: ... here.
7765         * intl/Makefile ($(codeset_mo)): Depend on the input file.
7767 2012-08-17  Jeff Law <law@redhat.com>
7769         * intl/Makefile (codeset_mo): New variable.
7770         ($(codeset_mo)): New target.
7771         (tst-codeset.out): Depend on that.  Remove explicit rule.
7772         (tst-gettext3.out, tst-gettext5.out): Likewise.
7773         (LOCPATH-ENV, tst-codeset-ENV): New variables.
7774         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7775         * intl/tst-codeset.sh: Remove.
7776         * intl/tst-gettext3.sh: Likewise.
7777         * intl/tst-gettext5.sh: Likewise.
7779 2012-08-17  Roland McGrath  <roland@hack.frob.com>
7781         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
7782         * sysdeps/unix/syscalls.list: ... here.
7784         * sysdeps/posix/getaddrinfo.c
7785         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7786         (gaiconf_init, gaiconf_reload): Use them.
7787         [!_STATBUF_ST_NSEC]
7788         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7789         Define using time_t rather than struct timespec.
7791         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7792         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7793         Macros removed.
7794         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7795         [!NO_THREADS].
7796         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7797         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7798         Likewise.
7800         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7801         __libc_cleanup_push argument.
7803         * bits/param.h: New file.
7804         * misc/sys/param.h: New file.
7805         * include/sys/param.h: New file.
7806         * misc/Makefile (headers): Add bits/param.h.
7807         * sysdeps/generic/sys/param.h: File removed.
7808         * sysdeps/unix/sysv/linux/bits/param.h: New file.
7809         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7810         * sysdeps/mach/hurd/bits/param.h: New file.
7811         * sysdeps/mach/hurd/sys/param.h: File removed.
7813         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7814         last change.
7816         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7817         [_IO_MTSAFE_IO].
7818         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7819         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7820         New macros.
7822         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7823         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7824         rather than -D_IO_MTSAFE_IO conditionally.
7825         * stdio-common/Makefile (CPPFLAGS): Likewise.
7826         * wcsmbs/Makefile (CPPFLAGS): Likewise.
7827         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7828         Use $(libio-mtsafe).
7829         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7830         of -D_IO_MTSAFE_IO.
7831         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7832         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7833         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7834         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7835         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7836         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7837         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7838         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7839         (CFLAGS-fread_u_chk.c): Likewise.
7840         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7841         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7842         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7843         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7844         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7845         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7846         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7847         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7848         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7850         * libio/Makefile: Test [$(libc-reentrant) = yes]
7851         instead of [$(filter %REENTRANT, $(defines)) nonempty].
7853         * Makeconfig
7854         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7855         * sysdeps/pthread/configure: File removed.
7856         * sysdeps/pthread/Makeconfig: New file.
7857         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7858         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7860 2012-08-16  Gary Benson  <gbenson@redhat.com>
7862         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7863         unmapping the first object in a namespace.
7865 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7867         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7868         (__internal_setnetgrent): ... this.  Add internal_function to
7869         definition.  Add libc_hidden_def.
7870         (setnetgrent): Update caller.
7871         (internal_endnetgrent): Renamed to ...
7872         (__internal_endnetgrent): ... this.  Add internal_function to
7873         definition.  Add libc_hidden_def.
7874         (endnetgrent): Update caller.
7875         (internal_getnetgrent_r): Renamed to ...
7876         (__internal_getnetgrent_r): ... this.  Add internal_function to
7877         definition.  Add libc_hidden_def.
7878         (__getnetgrent_r): Update caller.
7879         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
7881 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7883         * stdlib/longlong.h: Update from GCC.
7885 2012-08-16  Roland McGrath  <roland@hack.frob.com>
7887         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7888         on _QL, which is set by umul_ppmm but never used.
7889         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7890         variables, which are set by GMP macros but never used.
7891         * stdio-common/_itowa.c (_itowa): Likewise.
7892         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7893         * stdlib/mod_1.c (mpn_mod_1): Likewise.
7895 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
7897         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7898         struct La_sh_regs is not constant.
7899         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7900         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7901         and struct La_sparc64_regs are not constant.
7903 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
7905         * sysdeps/unix/sysv/linux/kernel-features.h
7906         (__ASSUME_POSIX_TIMERS): Remove.
7907         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7908         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7909         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7910         Make code unconditional.
7911         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7912         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7913         Make code unconditional.
7914         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7915         * sysdeps/unix/sysv/linux/clock_nanosleep.c
7916         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7917         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7918         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7919         Make code unconditional.
7920         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7921         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7922         (__libc_missing_posix_timers): Remove.
7924 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7926         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7927         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7929         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7931         * elf/dl-sym.c: Include <stdlib.h>.
7933         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7934         constants, which avoids warnings in 32-bit builds.
7936         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7937         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7939         * misc/lseek.c: File moved to ...
7940         * io/lseek.c: ... here.
7942         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7944         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7945         shifting LEN more than 31 bits at once.
7947 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7949         [BZ #14195]
7950         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7951         segmentation fault for a case of two empty input strings.
7952         * string/test-strncasecmp.c (check1): Renamed to...
7953         (bz12205): ...this.
7954         (bz14195): Add new testcase for two empty input strings and N > 0.
7955         (test_main): Call new testcase, adapt for renamed function.
7957 2012-08-15  Andreas Jaeger  <aj@suse.de>
7959         [BZ #14090]
7960         * crypt/md5test2.c: New test, based on test supplied by Serge
7961         Belyshev <belyshev@depni.sinp.msu.ru>.
7962         * crypt/Makefile (xtests): Add md5test-giant..
7963         * crypt/Makefile ($(objpfx)md5test-giant): Add.
7965 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
7967         [BZ #14090]
7968         * crypt/md5.c (md5_process_block): Don't assume the buffer
7969         length is less than 2**32.
7970         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7971         length is less than 2**64.
7973 2012-08-15  Roland McGrath  <roland@hack.frob.com>
7975         * string/str-two-way.h: Include <sys/param.h>.
7976         (MAX): Macro removed.
7978         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7979         Move #define and #undef of memmove to just before and after
7980         including <string.h>.
7982         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7983         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7984         and after including <string.h>.  Move declarations of
7985         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7986         to before #include "string/memmove.c".
7988         * include/dirent.h: Declare __getdirentries.
7990         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7991         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7993 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
7995         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7996         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7997         * sysdeps/i386/configure: Regenerated.
7998         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7999         STABS_CURRENT_FILE, and STABS_FUN.
8000         (END): Remove call to STABS_FUN_END.
8001         (STABS_CURRENT_FILE1): Delete.
8002         (STABS_CURRENT_FILE): Likewise.
8003         (STABS_FUN): Likewise.
8004         (STABS_FUN_END): Likewise.
8005         (STABS_FUN2): Likewise.
8006         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8007         * sysdeps/x86_64/configure: Regenerated.
8009 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8011         * elf/dl-open.c: Include <atomic.h>.
8012         * elf/dl-lookup.c: Likewise.
8014 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8016         * sysdeps/unix/sysv/linux/kernel-features.h
8017         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8018         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8019         unconditionally.
8020         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8021         unconditionally.
8022         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8023         condition on __ASSUME_CLONE_THREAD_FLAGS.
8025 2012-08-14  Andreas Jaeger  <aj@suse.de>
8027         * sysdeps/i386/fpu/libm-test-ulps: Update.
8029 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8031         * include/atomic.h (atomic_exchange_and_add): Split into ...
8032         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8033         New atomic macros.
8035 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8039 2012-08-13  Jeff Law <law@redhat.com>
8041         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8042         null byte in the output string.
8044 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8046         * sysdeps/unix/sysv/linux/kernel-features.h
8047         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8048         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8049         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8050         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8051         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8052         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8053         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8055 2012-08-09  Jeff Law <law@redhat.com>
8057         [BZ #13939]
8058         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8059         When avoid_arena is set, don't retry in the that arena.  Pick the
8060         next one, whatever it might be.
8061         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8062         (arena_lock): Pass in new parameter to arena_get2.
8063         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8064         arena_get2.
8065         (__libc_malloc): Unify retrying after main arena failure with
8066         __libc_memalign version.
8067         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8069 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8071         [BZ #14166]
8072         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8073         to __redirect_strstr.
8074         (__strstr_sse42): Use typeof __redirect_strstr.
8075         (__strstr_ia32): Likewise.
8076         (__libc_strstr): New prototype.
8077         (strstr): Renamed to ...
8078         (__libc_strstr): This.
8079         (strstr): New strong alias of __libc_strstr.
8080         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8081         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8082         __redirect_time.
8083         Include <time.h>.
8084         (__libc_time): New prototype.
8085         (time_ifunc): Replace time with __libc_time.
8086         (time): New strong alias and hidden definition of __libc_time.
8087         (__GI_time): Remove strong alias.
8088         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8089         Include <stddef.h>.
8090         (memmove): Redefined to __redirect_memmove.
8091         (__memmove_sse2): Use typeof __redirect_memmove.
8092         (__memmove_ssse3): Likewise.
8093         (__memmove_ssse3_back): Likewise.
8094         (__libc_memmove): New prototype.
8095         (memmove): Renamed to ...
8096         (__libc_memmove): This.
8097         (memmove): New strong alias of __libc_memmove.
8099 2012-08-08  Mark Salter  <msalter@redhat.com>
8101         * elf/elf.h
8102         (R_MN10300_TLS_GD): Define.
8103         (R_MN10300_TLS_LD): Likewise.
8104         (R_MN10300_TLS_LDO): Likewise.
8105         (R_MN10300_TLS_GOTIE): Likewise.
8106         (R_MN10300_TLS_IE): Likewise.
8107         (R_MN10300_TLS_LE): Likewise.
8108         (R_MN10300_TLS_DTPMOD): Likewise.
8109         (R_MN10300_TLS_DTPOFF): Likewise.
8110         (R_MN10300_TLS_TPOFF): Likewise.
8111         (R_MN10300_SYM_DIFF): Likewise.
8112         (R_MN10300_ALIGN): Likewise.
8113         (R_MN10300_NUM): Update.
8115 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8118         Remove.
8120 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8122         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8124         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8125         sysdeps/unix -> sysdeps/posix move.
8126         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8128 2012-08-07      Allan McRae     <allan@archlinux.org>
8130         [BZ #14303]
8131         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8132         (SUNOS_CPP): Likewise.
8133         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8134         not found.
8135         (open_input): Call CPP using execvp.
8137 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8139         * sysdeps/unix/sysv/linux/kernel-features.h
8140         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8141         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8142         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8143         (__ASSUME_WAITID_SYSCALL): Likewise.
8144         * sysdeps/unix/sysv/linux/dl-execstack.c
8145         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8146         code unconditional.
8147         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8148         conditional code.
8149         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8150         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8151         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8152         code.
8153         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8154         unconditional.
8155         [__ASSUME_WAITID_SYSCALL]: Likewise.
8156         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8158 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8160         * sysdeps/unix/closedir.c: Renamed to ...
8161         * sysdeps/posix/closedir.c: ... here.
8162         * sysdeps/unix/dirfd.c: Renamed to ...
8163         * sysdeps/posix/dirfd.c: ... here.
8164         * sysdeps/unix/dirstream.h: Renamed to ...
8165         * sysdeps/posix/dirstream.h: ... here.
8166         * sysdeps/unix/fdopendir.c: Renamed to ...
8167         * sysdeps/posix/fdopendir.c: ... here.
8168         * sysdeps/unix/opendir.c: Renamed to ...
8169         * sysdeps/posix/opendir.c: ... here.
8170         * sysdeps/unix/readdir.c: Renamed to ...
8171         * sysdeps/posix/readdir.c: ... here.
8172         * sysdeps/unix/readdir_r.c: Renamed to ...
8173         * sysdeps/posix/readdir_r.c: ... here.
8174         * sysdeps/unix/rewinddir.c: Renamed to ...
8175         * sysdeps/posix/rewinddir.c: ... here.
8176         * sysdeps/unix/seekdir.c: Renamed to ...
8177         * sysdeps/posix/seekdir.c: ... here.
8178         * sysdeps/unix/telldir.c: Renamed to ...
8179         * sysdeps/posix/telldir.c: ... here.
8180         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8181         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8182         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8183         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8185         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8186         * bits/fcntl.h: ... here.
8188         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8189         not 0.
8190         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8191         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8192         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8193         (struct flock): Move l_start, l_len to the beginning.
8194         Use __pid_t for l_pid.
8195         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8196         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8197         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8198         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8199         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8200         [__USE_LARGEFILE64] (struct flock64): New type.
8201         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8203         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8204         * bits/dirent.h: ... here.
8206         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8207         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8209 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8211         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8212         Change from 2.6.0 to 2.6.16.
8213         * sysdeps/unix/sysv/linux/configure: Regenerated.
8214         * sysdeps/unix/sysv/linux/kernel-features.h
8215         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8216         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8217         version.
8218         (__ASSUME_UTIMES): Likewise.
8219         (__ASSUME_CLONE_STOPPED): Remove.
8220         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8221         architectures, not kernel version.
8222         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8223         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8224         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8225         (__ASSUME_WAITID_SYSCALL): Likewise.
8226         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8227         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8228         * README: State 2.6.16 as minimum Linux kernel version.  Do not
8229         refer to older versions.
8231 2012-08-06  Roland McGrath  <roland@hack.frob.com>
8233         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8234         Define alphasort64 as an alias.
8235         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8236         Define versionsort64 as an alias.
8237         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8238         Define scandir64 as an alias.
8239         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8240         Define scandirat64 as an alias.
8241         * dirent/alphasort64.c (alphasort64):
8242         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8243         * dirent/versionsort64.c: Likewise.
8244         * dirent/scandir64.c: Likewise.
8245         * dirent/scandirat64.c: Likewise.
8246         * sysdeps/wordsize-64/alphasort.c: File removed.
8247         * sysdeps/wordsize-64/alphasort64.c: File removed.
8248         * sysdeps/wordsize-64/scandir.c: File removed.
8249         * sysdeps/wordsize-64/scandir64.c: File removed.
8250         * sysdeps/wordsize-64/scandirat.c: File removed.
8251         * sysdeps/wordsize-64/scandirat64.c: File removed.
8252         * sysdeps/wordsize-64/versionsort.c: File removed.
8253         * sysdeps/wordsize-64/versionsort64.c: File removed.
8254         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8255         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8260         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8261         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8263         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8265         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8267         [defined __arch64__ || defined __sparcv9]
8268         (__INO_T_MATCHES_INO64_T): New macro.
8269         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8270         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8271         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8272         * sysdeps/unix/sysv/linux/bits/dirent.h
8273         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8274         (_DIRENT_MATCHES_DIRENT64): New macro.
8276         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8277         Define lockf64 as an alias.
8278         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8279         Define fseeko64 as an alias.
8280         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8281         Define ftello64 as an alias.
8282         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8283         Define _IO_fgetpos64 and fgetpos64 as aliases.
8284         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8285         Define _IO_fsetpos64 and fsetpos64 as aliases.
8286         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8287         Conditionalize body on this.
8288         * libio/fseeko64.c: Likewise.
8289         * libio/ftello64.c: Likewise.
8290         * libio/iofgetpos64.c: Likewise.
8291         * libio/iofsetpos64.c: Likewise.
8292         * sysdeps/wordsize-64/lockf.c: File removed.
8293         * sysdeps/wordsize-64/lockf64.c: File removed.
8294         * sysdeps/wordsize-64/fseeko.c: File removed.
8295         * sysdeps/wordsize-64/fseeko64.c: File removed.
8296         * sysdeps/wordsize-64/ftello.c: File removed.
8297         * sysdeps/wordsize-64/ftello64.c: File removed.
8298         * sysdeps/wordsize-64/iofgetpos.c: File removed.
8299         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8300         * sysdeps/wordsize-64/iofsetpos.c: File removed.
8301         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8304         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8305         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8306         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8307         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8308         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8309         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8310         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8311         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8313         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8314         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8315         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8316         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8317         [defined __arch64__ || defined __sparcv9]
8318         (__OFF_T_MATCHES_OFF64_T): New macro.
8319         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8320         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8321         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8322         (__OFF_T_MATCHES_OFF64_T): New macro.
8324 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8326         * stdlib/secure-getenv.c (__secure_getenv): Replace
8327         GLIBC_2_16 with GLIBC_2_17.
8329 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
8331         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8332         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8334 2012-08-03  David S. Miller  <davem@davemloft.net>
8336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8338 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8341         Remove.
8342         (__ASSUME_CORRECT_SI_PID): Likewise.
8343         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8344         (__ASSUME_TMPFS_NAME): Likewise.
8345         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8346         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8347         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8348         (HAVE_AUX_SECURE): Make definition unconditional.
8349         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8350         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8352 2012-08-03  Roland McGrath  <roland@hack.frob.com>
8354         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8355         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8356         * sysdeps/mach/hurd/eloop-threshold.h: New file.
8357         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8358         __eloop_threshold instead of SYMLOOP_MAX.
8360         * sysdeps/generic/eloop-threshold.h: New file.
8361         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8362         of MAXSYMLINKS.
8363         * elf/chroot_canon.c (chroot_canon): Likewise.
8365 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
8367         [BZ #13717]
8368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8369         Change to 2.6.0 everywhere.
8370         * sysdeps/unix/sysv/linux/configure: Regenerated.
8371         * sysdeps/unix/sysv/linux/kernel-features.h
8372         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8373         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8374         kernel versions.
8375         (__ASSUME_POSIX_TIMERS): Define unconditionally.
8376         (__ASSUME_FUTEX_REQUEUE): Remove.
8377         (__ASSUME_STATFS64): Define unconditionally.
8378         (__ASSUME_AT_SECURE): Likewise.
8379         (__ASSUME_CORRECT_SI_PID): Likewise.
8380         (__ASSUME_TGKILL): Define without depending on kernel version for
8381         i386.
8382         (__ASSUME_UTIMES): Likewise.
8383         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8384         kernel version.
8385         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8386         (__ASSUME_TMPFS_NAME): Likewise.
8387         * README: Update reference to Linux kernel versions.
8389 2012-08-02  Marek Polacek  <polacek@redhat.com>
8391         [BZ# 14150]
8392         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
8393         libc_cv_asm_type_prefix with %.
8394         * configure: Regenerated.
8395         * include/libc-symbols.h: Remove comment about
8396         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8397         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8398         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8399         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8400         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8401         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8402         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8403         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8404         * elf/tst-unique2mod1.c: Likewise.
8405         * elf/tst-unique1mod2.c: Likewise.
8406         * elf/tst-unique1mod1.c: Likewise.
8407         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8408         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8409         Replace ASM_TYPE_DIRECTIVE with .type.
8410         * sysdeps/s390/s390-64/sysdep.h: Likewise.
8411         * sysdeps/i386/sysdep.h: Likewise.
8412         * sysdeps/x86_64/sysdep.h: Likewise.
8413         * sysdeps/sh/sysdep.h: Likewise.
8414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8415         Do not define ASM_TYPE_DIRECTIVE.
8416         * sysdeps/powerpc/sysdep.h: Likewise.
8417         * sysdeps/powerpc/powerpc32/sysdep.h:
8418         Replace ASM_TYPE_DIRECTIVE with .type.
8419         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8420         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8421         * sysdeps/i386/fpu/e_powf.S: Likewise.
8422         * sysdeps/i386/fpu/e_expl.S: Likewise.
8423         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8424         * sysdeps/i386/fpu/e_acosh.S: Likewise.
8425         * sysdeps/i386/fpu/e_pow.S: Likewise.
8426         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8428         * sysdeps/i386/fpu/s_expm1.S: Likewise.
8429         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8430         * sysdeps/i386/fpu/e_log2.S: Likewise.
8431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
8432         * sysdeps/i386/fpu/e_scalb.S: Likewise.
8433         * sysdeps/i386/fpu/e_powl.S: Likewise.
8434         * sysdeps/i386/fpu/e_log10f.S: Likewise.
8435         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8436         * sysdeps/i386/fpu/e_logl.S: Likewise.
8437         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8438         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8439         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8440         * sysdeps/i386/fpu/e_log2f.S: Likewise.
8441         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8442         * sysdeps/i386/fpu/e_log.S: Likewise.
8443         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8444         * sysdeps/i386/fpu/e_logf.S: Likewise.
8445         * sysdeps/i386/fpu/e_log10l.S: Likewise.
8446         * sysdeps/i386/fpu/e_atanh.S: Likewise.
8447         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8448         * sysdeps/i386/fpu/e_log10.S: Likewise.
8449         * sysdeps/i386/fpu/s_frexp.S: Likewise.
8450         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8451         * sysdeps/i386/fpu/s_asinh.S: Likewise.
8452         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8453         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
8455         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8456         * sysdeps/i386/i686/strtok.S: Likewise.
8457         * sysdeps/i386/i386-mcount.S: Likewise.
8458         * sysdeps/i386/strtok.S: Likewise.
8459         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
8460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8461         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8462         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8463         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8465         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8466         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8467         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8468         * sysdeps/x86_64/_mcount.S: Likewise.
8469         * sysdeps/x86_64/strtok.S: Likewise.
8470         * sysdeps/sh/_mcount.S: Likewise.
8472 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8474         * libio/iofopen.c: Include <fcntl.h>.
8475         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
8476         (_IO_fopen64, fopen64): Define as aliases.
8477         * libio/iofopen64.c: Include <fcntl.h>.
8478         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8479         Conditionalize body on this.
8480         * sysdeps/wordsize-64/iofopen.c: File removed.
8481         * sysdeps/wordsize-64/iofopen64.c: File removed.
8483 2012-08-01  Marek Polacek  <polacek@redhat.com>
8485         * libc/Makeconfig: Use elf in place of binfmt-subdir.
8486         Use dlfcn directly instead of a variable.
8487         (binfmt-subdir): Do not define.
8488         (dlfcn): Likewise.
8490 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
8492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
8493         Remove all definitions.
8494         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
8495         <kernel-features.h>.
8496         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8497         (miss_F_GETOWN_EX): Remove all definitions.
8498         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
8499         macro definition.
8500         [!__ASSUME_FCNTL64]: Remove conditional code.
8501         [__ASSUME_FCNTL64]: Make code unconditional.
8502         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
8503         <kernel-features.h>.
8504         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
8505         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
8506         (lockf64) [__NR_fcntl64]: Make code unconditional.
8507         (lockf64) [__ASSUME_FCNTL64]: Likewise.
8509         * sysdeps/unix/sysv/linux/kernel-features.h
8510         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
8511         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
8512         Make code unconditional.
8513         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8514         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
8516         [__NR_vfork]: Make code unconditional.
8517         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8518         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
8520         [__NR_vfork]: Make code unconditional.
8521         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
8522         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
8524 2012-08-01  Roland McGrath  <roland@hack.frob.com>
8526         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
8527         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
8529         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8530         Define mkstemp64 as an alias.
8531         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8532         Define mkstemps64 as an alias.
8533         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8534         Define mkostemp64 as an alias.
8535         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
8536         Define mkostemps64 as an alias.
8537         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
8538         Conditionalize body on this.
8539         * misc/mkostemp64.c: Likewise.
8540         * misc/mkostemps64.c: Likewise.
8541         * misc/mkstemps64.c: Likewise.
8542         * sysdeps/wordsize-64/mkstemp64.c: File removed.
8543         * sysdeps/wordsize-64/mkostemp64.c: File removed.
8544         * sysdeps/wordsize-64/mkostemp.c: File removed.
8545         * sysdeps/wordsize-64/mkstemp.c: File removed.
8546         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
8547         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
8548         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
8549         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
8551         [BZ #14138]
8552         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
8553         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
8554         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
8555         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
8557         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
8558         compat_symbol macros from <shlib-compat.h> rather than the underlying
8559         default_symbol_version and symbol_version macros, so that DEFAULT
8560         lines in shlib-versions are respected.
8561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
8563 2012-08-01  Florian Weimer  <fweimer@redhat.com>
8565         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
8566         Declare with warn_unused_result.
8567         (setgid, setregid, setegid, setresgid): Likewise.
8568         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
8569         Likewise.
8570         * WUR-REPORT: Remove set*id functions.
8572 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
8574         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
8576 2012-07-31  Roland McGrath  <roland@hack.frob.com>
8578         * include/sys/socket.h (__libc_accept, __libc_accept4):
8579         Add attribute_hidden.
8580         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
8582         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
8583         use of PTR_MANGLE.
8584         * inet/getnetgrent_r.c (setup): Likewise.
8586         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
8588 2012-07-31  David S. Miller  <davem@davemloft.net>
8590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8592 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
8594         [BZ #13629]
8595         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
8596         value between 1.0 and 2.0 and smaller part has absolute value less
8597         than 1.0.
8598         * math/s_clog10.c (__clog10): Likewise.
8599         * math/s_clog10f.c (__clog10f): Likewise.
8600         * math/s_clog10l.c (__clog10l): Likewise.
8601         * math/s_clogf.c (__clogf): Likewise.
8602         * math/s_clogl.c (__clogl): Likewise.
8603         * math/libm-test.inc (clog_test): Add more tests.
8604         (clog10_test): Likewise.
8605         * sysdeps/i386/fpu/libm-test-ulps: Update.
8606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8608 2012-07-31  Florian Weimer  <fweimer@redhat.com>
8610         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
8611         Exit with zero in case no suitable GID is found, and write a
8612         message to standard error.
8614 2012-07-30  Roland McGrath  <roland@hack.frob.com>
8616         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
8617         rather than to 1.
8618         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
8619         (MAXPATHLEN): Removed.
8620         (NOGROUP, NODEV): New macros.
8621         (setbit, clrbit, isset, isclr): New macros.
8622         (howmany, roundup, powerof2): New macros.
8623         (DEV_BSIZE): New macro.
8625         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
8626         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
8628         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
8629         definition on [!__NO_LONG_DOUBLE_MATH].
8631         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
8632         PTR_MANGLE and PTR_DEMANGLE.
8634         * socket/accept4.c (accept4): Rename to __libc_accept4.
8635         Define accept4 as a weak alias.
8637         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
8638         on [_DIRENT_HAVE_D_TYPE].
8639         * io/ftw.c (ftw_dir): Likewise.
8641         * io/xmknod.c (__xmknod): Don't check PATH for being null.
8643         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8645         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8646         Use the BSD numbers rather than the arbitrary ones we had.
8647         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8648         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8649         (SIGXCPU, SIGXFSZ): New macros.
8650         (_NSIG): Now 32.
8652         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8653         initializer on [_LIBC_REENTRANT].
8655         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8656         definitions inside [_POSIX_MAPPED_FILES].
8658         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8660         * dirent/opendir.c: Include <fcntl.h>.
8662         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8663         (__libc_getspecific): Likewise.
8664         (__libc_key_create): Likewise.
8666         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8667         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8668         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8669         (tmpfile64): Define as alias.
8670         * sysdeps/wordsize-64/tmpfile.c: File removed.
8671         * sysdeps/wordsize-64/tmpfile64.c: File removed.
8672         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8673         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8675         * stdio-common/vfscanf.c: Include <stdbool.h>.
8676         * nss/makedb.c: Likewise.
8677         * stdio-common/_i18n_number.h: Likewise.
8678         * argp/argp-help.c: Likewise.
8679         * posix/wordexp.c: Likewise.
8680         * sysdeps/posix/spawni.c: Likewise.
8681         * nss/nss_files/files-initgroups.c: Likewise.
8682         * stdio-common/reg-modifier.c: Include <stdlib.h>.
8683         * nss/nss_files/files-initgroups.c: Likewise.
8684         * nss/nss_db/db-netgrp.c: Likewise.
8685         * nss/nss_db/db-initgroups.c: Likewise.
8686         * io/fchmodat.c: Include <sys/stat.h>.
8688         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8689         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8691         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8692         [HAVE_MMAP].
8694         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8695         Add multiple inclusion protection.
8697 2012-07-27  David S. Miller  <davem@davemloft.net>
8699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8701 2012-07-27  Gary Benson  <gbenson@redhat.com>
8703         [BZ #14298]
8704         * elf/rtld.c: Include <stap-probe.h>.
8705         (dl_main): Added static probes "init_start" and "init_complete".
8706         * elf/dl-load.c: Include <stap-probe.h>.
8707         (lose): Take new parameter "nsid".
8708         Added static probe "map_failed".
8709         (_dl_map_object_from_fd): Pass namespace id to lose.
8710         Added static probe "map_start".
8711         (open_verify): Pass namespace id to lose.
8712         * elf/dl-open.c: Include <stap-probe.h>.
8713         (dl_open_worker) Added static probes "map_complete", "reloc_start"
8714         and "reloc_complete".
8715         * elf/dl-close.c: Include <stap-probe.h>.
8716         (_dl_close_worker): Added static probes "unmap_start" and
8717         "unmap_complete".
8718         * elf/rtld-debugger-interface.txt: New file documenting the above.
8720 2012-07-26  Roland McGrath  <roland@hack.frob.com>
8722         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8723         rather than a string variable.
8724         * sunrpc/rpc_main.c (h_output): Likewise.
8725         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8727 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
8729         * inet/check_native.c: New file.
8731 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
8733         [BZ #13629]
8734         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8735         if larger part has absolute value 1.0.
8736         * math/s_clog10.c (__clog10): Likewise.
8737         * math/s_clog10f.c (__clog10f): Likewise.
8738         * math/s_clog10l.c (__clog10l): Likewise.
8739         * math/s_clogf.c (__clogf): Likewise.
8740         * math/s_clogl.c (__clogl): Likewise.
8741         * math/libm-test.inc (clog_test): Add more tests.
8742         (clog10_test): Likewise.
8743         * sysdeps/i386/fpu/libm-test-ulps: Update.
8744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8747         (pltexit): Likewise.
8748         (La_regs): Likewise.
8749         (La_retval): Likewise.
8750         (int_retval): Likewise.
8751         Update #error for removed macros to refer only to definitions in
8752         tst-audit.h.
8753         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8754         macro.
8755         (pltexit): Likewise.
8756         (La_regs): Likewise.
8757         (La_retval): Likewise.
8758         (int_retval): Likewise.
8759         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8760         macro.
8761         (pltexit): Likewise.
8762         (La_regs): Likewise.
8763         (La_retval): Likewise.
8764         (int_retval): Likewise.
8765         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8766         macro.
8767         (pltexit): Likewise.
8768         (La_regs): Likewise.
8769         (La_retval): Likewise.
8770         (int_retval): Likewise.
8771         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8772         macro.
8773         (pltexit): Likewise.
8774         (La_regs): Likewise.
8775         (La_retval): Likewise.
8776         (int_retval): Likewise.
8777         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8778         macro.
8779         (pltexit): Likewise.
8780         (La_regs): Likewise.
8781         (La_retval): Likewise.
8782         (int_retval): Likewise.
8783         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8784         macro.
8785         (pltexit): Likewise.
8786         (La_regs): Likewise.
8787         (La_retval): Likewise.
8788         (int_retval): Likewise.
8789         * sysdeps/generic/tst-audit.h: Update comment to refer only to
8790         macro definitions in tst-audit.h.
8791         * sysdeps/i386/tst-audit.h: New file.
8792         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8793         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8794         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8795         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8796         * sysdeps/sh/tst-audit.h: Likewise.
8797         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8798         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8799         * sysdeps/x86_64/tst-audit.h: Likewise.
8801 2012-07-26  Andreas Jaeger  <aj@suse.de>
8803         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8804         ptrace.
8806         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8807         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8808         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8809         PTRACE_O_MASK.
8810         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8811         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8814         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8815         value.
8817         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8818         _sigsys.
8819         (si_call_addr, si_syscall, si_arch): Define new macro.
8820         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8821         _sigsys.
8822         (si_call_addr, si_syscall, si_arch): Define new marcro.
8823         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8824         _sigsys.
8825         (si_call_addr, si_syscall, si_arch): Define new macro.
8826         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8827         _sigsys.
8828         (si_call_addr, si_syscall, si_arch): Define new macro.
8830 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8832         [BZ #13717]
8833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8834         Change to 2.4.21 where previously 2.4.1.
8835         * sysdeps/unix/sysv/linux/configure: Regenerated.
8836         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8837         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8838         Linux kernel version.
8839         (__ASSUME_STD_AUXV): Remove.
8840         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8841         kernel version.
8842         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8843         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8844         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8845         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8846         (__ASSUME_NETLINK_SUPPORT): Likewise.
8847         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8848         (__no_netlink_support): Remove conditional definition.
8849         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8850         Remove.
8851         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8852         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8853         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8854         (if_nameindex_ioctl): Remove.
8855         (if_nameindex_netlink): Do not handle __no_netlink_support.
8856         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8857         code.
8858         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8859         Remove conditional code.
8860         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8861         code.
8862         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8863         unconditional.
8864         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8865         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8866         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8867         Remove.
8868         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8869         [!__ASSUME_STD_AUXV]: Remove conditional code.
8870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8871         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8872         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8874         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8875         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8876         code.
8877         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8879         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8880         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8881         conditional code.
8882         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8884         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8885         code.
8886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8887         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8888         conditional code.
8889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8890         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8891         code unconditional.
8892         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8893         conditional code.
8894         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8895         unconditional.
8896         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8897         conditional code.
8898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8899         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8900         unconditional.
8901         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8902         conditional code.
8903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8904         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8905         code unconditional.
8906         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8907         conditional code.
8908         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8909         unconditional.
8910         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8911         conditional code.
8912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8913         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8914         code unconditional.
8915         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8916         conditional code.
8917         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8918         unconditional.
8919         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8920         conditional code.
8922 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
8924         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8925         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8926         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8927         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8928         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8929         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8930         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8931         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8932         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8933         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8934         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8935         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8936         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8937         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8938         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8939         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8940         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8941         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8942         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8944         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8945         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8946         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8948 2012-07-25  Florian Weimer  <fweimer@redhat.com>
8950         * Versions.def: Add GLIBC_2.17.
8951         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8952         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8953         Introduce __libc_secure_getenv.
8954         * stdlib/Versions (2.17): Add secure_getenv
8955         (GLIBC_PRIVATE): Add __libc_secure_getenv.
8956         * stdlib/secure-getenv.c: Rename __secure_getenv to
8957         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
8958         symbol __secure_getenv for GLIBC_2.0.
8959         * stdlib/tst-secure-getenv.c: New.
8960         * stdlib/Makefile (tests): Add testcase.
8961         * manual/startup.texi (Environment Access): Document
8962         secure_getenv.
8963         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8964         __libc_secure_getenv.
8965         * inet/ruserpass.c (ruserpass): Likewise.
8966         * malloc/mtrace.c (mtrace): Likewise.
8967         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
8968         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8969         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8970         * sysdeps/posix/tempname.c: Likewise.  Evaluate
8971         HAVE_SECURE_GETENV.
8972         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
8973         __secure_getenv to __libc_secure_getenv.
8974         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
8975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8976         Likewise.
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8978         Likewise.
8979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8981         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8987 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
8989         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8990         (struct La_i86_retval): Likewise.
8991         (struct La_x86_64_regs): Likewise.
8992         (struct La_x86_64_retval): Likewise.
8993         (struct La_x32_regs): Likewise.
8994         (struct La_x32_retval): Likewise.
8995         (struct La_ppc32_regs): Likewise.
8996         (struct La_ppc32_retval): Likewise.
8997         (struct La_ppc64_regs): Likewise.
8998         (struct La_ppc64_retval): Likewise.
8999         (struct La_sh_regs): Likewise.
9000         (struct La_sh_retval): Likewise.
9001         (struct La_s390_32_regs): Likewise.
9002         (struct La_s390_32_retval): Likewise.
9003         (struct La_s390_64_regs): Likewise.
9004         (struct La_s390_64_retval): Likewise.
9005         (struct La_sparc32_regs): Likewise.
9006         (struct La_sparc32_retval): Likewise.
9007         (struct La_sparc64_regs): Likewise.
9008         (struct La_sparc64_retval): Likewise.
9009         (struct audit_ifaces): Remove architecture-specific pltenter and
9010         pltexit members.
9011         * sysdeps/i386/ldsodefs.h: New file.
9012         * sysdeps/powerpc/ldsodefs.h: Likewise.
9013         * sysdeps/s390/ldsodefs.h: Likewise.
9014         * sysdeps/sh/ldsodefs.h: Likewise.
9015         * sysdeps/sparc/ldsodefs.h: Likewise.
9016         * sysdeps/x86_64/ldsodefs.h: Likewise.
9018 2012-07-25  Marek Polacek  <polacek@redhat.com>
9020         [BZ #6808]
9021         * math/libm-test.inc (yn_test): Add another test.
9022         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9023         to ERANGE when the result is +-Inf.
9024         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9025         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9026         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9027         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9029 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9031         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9032         equal to 0.
9033         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9034         clock_t.
9035         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9037 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9039         * configure.in <sysdeps resolving>: Correct printing
9040         Implies_before.
9041         * configure: Regenerate.
9043 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9045         * math/w_ilogb.c: Include <limits.h>.
9046         * math/w_ilogbl.c: Likewise.
9048 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9050         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9051         va_copy.  Document allowing for unavailable va_copy only as
9052         pre-C99 compatibility.
9053         * manual/string.texi (Copying and Concatenation): Use va_copy
9054         instead of __va_copy in concat example.
9056 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9058         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9059         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9060         it if not null.
9062         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9063         with O_NOLINK passed to __file_name_lookup.
9065         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9066         with O_NOLINK passed to __file_name_lookup.
9068         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9069         negative N or less than NGIDS.
9071         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9072         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9073         enough.  Use memcpy instead of strncpy.
9075 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9077         * elf/Makefile (check-data): Remove.
9078         (localplt.data): New vpath directive.
9079         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9080         instead of $(check-data).
9081         * scripts/data/localplt-generic.data: Move to ...
9082         * sysdeps/generic/localplt.data: ... here.
9083         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9084         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9085         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9087         ... here.
9088         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9090         ... here.
9091         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9093         ... here.
9094         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9096         ... here.
9097         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9099         ... here.
9100         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9102         ... here.
9104 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9106         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9107         PPC32 and PPC64 files.
9108         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9109         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9111 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9113         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9114         __makecontext_ret to ...
9115         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9116         ... here and call exit if uc_link is NULL.  New file.
9117         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9118         __makecontext_ret.S.
9119         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9120         __makecontext_ret to ...
9121         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9122         ... here and call exit if uc_link is NULL.  New file.
9123         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9124         __makecontext_ret.S.
9126 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9128         * elf/elf.h (R_390_IRELATIVE): New definition.
9129         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9130         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9131         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9132         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9133         (elf_machine_lazy_rel): Likewise.
9134         * sysdeps/s390/dl-irel.h: New file.
9135         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9136         * sysdeps/s390/s390-64/memset.S: New asm code.
9137         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9138         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9139         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9140         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9141         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9142         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9143         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9144         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9145         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9146         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9147         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9148         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9149         * sysdeps/s390/s390-32/memset.S: New asm code.
9150         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9152 2012-07-17  Marek Polacek  <polacek@redhat.com>
9154         [BZ #14349]
9155         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9156         * sysdeps/s390/s390-64/configure.in: Likewise.
9157         * sysdeps/sparc/configure.in: Likewise.
9158         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9159         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9160         * sysdeps/i386/configure.in: Likewise.
9161         * sysdeps/x86_64/configure.in: Likewise.
9162         * sysdeps/sh/configure.in: Likewise.
9163         * sysdeps/s390/s390-32/configure: Regenerated.
9164         * sysdeps/s390/s390-64/configure: Likewise.
9165         * sysdeps/x86_64/configure: Likewise.
9166         * sysdeps/sh/configure: Likewise.
9167         * sysdeps/powerpc/powerpc64/configure: Likewise.
9168         * sysdeps/powerpc/powerpc32/configure: Likewise.
9169         * sysdeps/sparc/configure: Likwise.
9170         * sysdeps/i386/configure: Likewise.
9172         * elf/dl-open.c: Comment fixes.
9174 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9176         * Makefile [CXX] (check-data): Remove.
9177         [CXX] (c++-types.data): New vpath directive.
9178         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9179         vpath.  Do not allow for C++ type data being missing.
9180         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9181         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9182         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9183         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9184         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9185         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9186         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9188         ... here.
9189         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9191         ... here.
9192         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9194         ... here.
9195         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9197         ... here.
9198         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9200         ... here.
9201         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9203         ... here.
9204         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9206         ... here.
9207         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9210         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9211         definitions to architecture-specific files.
9212         (TLS_IE): Likewise.
9213         (TLS_LD): Likewise.
9214         (TLS_GD): Likewise.
9215         * sysdeps/i386/tls-macros.h: New file.
9216         * sysdeps/powerpc/tls-macros.h: Likewise.
9217         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9218         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9219         * sysdeps/sh/tls-macros.h: Likewise.
9220         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9221         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9222         * sysdeps/x86_64/tls-macros.h: Likewise.
9224 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9226         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9227         zero value for regular exit case.
9229         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9230         (__start_context): Preserve zero value for regular exit case.
9232 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
9233             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9235         * manual/setjmp.texi (setcontext): Clarify normal process
9236         termination when uc_link is the null pointer.
9237         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9238         exit call.
9240 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
9242         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9243         preprocessor.  Test for each exception mask separately.
9245 2012-07-16  Andreas Jaeger  <aj@suse.de>
9247         * po/ru.po: Update from translation team.
9249 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
9251         * conform/data/string.h-data (NULL): Use macro-constant.  Require
9252         equal to 0.
9253         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9254         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9255         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9256         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9257         [ISO || ISO99 || ISO11] (*_t): Do not allow.
9259 2012-07-13  Andreas Jaeger  <aj@suse.de>
9261         * po/fr.po: Update from translation team.
9263 2012-07-12  Marek Polacek  <polacek@redhat.com>
9265         [BZ #14173]
9266         * math/libm-test.inc (yn_test): Add test for BZ #14173.
9267         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9268         loop condition.
9270 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
9272         [BZ #13717]
9273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9274         Change to 2.4.1 where previously 2.4.0.
9275         * sysdeps/unix/sysv/linux/configure: Regenerated.
9276         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9277         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9278         version.
9279         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9280         (__ASSUME_AT_CLKTCK): Remove.
9281         (__ASSUME_AT_PAGESIZE): Likewise.
9282         (__ASSUME_AT_XID): Likewise.
9283         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9284         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9285         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9286         unconditionally.
9287         (HAVE_AUX_PAGESIZE): Likewise.
9288         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9289         [__ASSUME_AT_CLKTCK]: Make code unconditional.
9290         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9292 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
9294         [BZ #14307]
9295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9296         the temporary buffer used to invoke __gethostbyname2_r,
9297         __gethostbyaddr_r and gethostbyname4_r to make room for struct
9298         host_data / struct gaih_addrtuple.
9299         * resolv/nss_dns/dns-host.c (global scope): Move definition of
9300         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9301         header file nss/nsswitch.h.
9302         * nss/nsswitch.h (global scope): Add definition of implementation
9303         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9304         resolv/nss_dns/dns-host.c).
9306 2012-07-11  Andreas Jaeger  <aj@suse.de>
9308         * po/fr.po: Update from translation team.
9310         * po/sv.po: Update from translation team
9311         * po/fr.po: Another update from translation team.
9313 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9315         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9316         for subnormals or multiply small sinh result by itself.
9317         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9320 2012-07-11  David S. Miller  <davem@davemloft.net>
9322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9324 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
9326         [BZ #14347]
9327         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9328         (INTERNAL_MARK): Shift it here.
9330 2012-07-10  Marek Polacek  <polacek@redhat.com>
9332         [BZ #14151]
9333         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
9334         libc_cv_asm_global_directive with .globl.
9335         * configure: Regenerated.
9336         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9337         with .globl.
9338         * sysdeps/i386/configure: Regenerated.
9339         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9340         with .globl.
9341         * sysdeps/x86_64/configure: Regenerated.
9342         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9343         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9344         * elf/tst-unique2mod2.c: Likewise.
9345         * elf/tst-unique2mod1.c: Likewise.
9346         * elf/tst-unique1mod2.c: Likewise.
9347         * elf/tst-unique1mod1.c: Likewise.
9348         * sysdeps/s390/s390-32/sysdep.h: Likewise.
9349         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9350         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9351         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9352         * sysdeps/mach/sysdep.h: Likewise.
9353         * sysdeps/i386/sysdep.h: Likewise.
9354         * sysdeps/i386/i386-mcount.S: Likewise.
9355         * sysdeps/x86_64/_mcount.S: Likewise.
9356         * sysdeps/x86_64/sysdep.h: Likewise.
9357         * sysdeps/sh/_mcount.S: Likewise.
9358         * sysdeps/sh/sysdep.h: Likewise.
9359         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9360         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9361         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9362         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9363         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9364         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9365         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9366         * locale/localeinfo.h: Likewise.
9367         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9368         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9370 2012-07-09  Roland McGrath  <roland@hack.frob.com>
9372         [BZ #14336]
9373         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9374         system".
9375         * manual/message.texi (The Uniforum approach): Likewise.
9376         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9377         (glibc iconv Implementation): Likewise.
9379 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
9381         [BZ #14337]
9382         * math/s_clog.c (__clog): Avoid scaling a value down where that
9383         could result in underflow.
9384         * math/s_clog10.c (__clog10): Likewise.
9385         * math/s_clog10f.c (__clog10f): Likewise.
9386         * math/s_clog10l.c (__clog10l): Likewise.
9387         * math/s_clogf.c (__clogf): Likewise.
9388         * math/s_clogl.c (__clogl): Likewise.
9389         * math/libm-test.inc (clog_test): Add more tests.
9390         (clog10_test): Likewise.
9391         * sysdeps/i386/fpu/libm-test-ulps: Update.
9392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9394 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
9396         [BZ #14283]
9397         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9398         by 7 not 8 to examine high bit of fractional part.
9400         [BZ #14042]
9401         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9402         for call to __mcount_internal.
9403         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9404         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9405         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9407 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
9409         [BZ #14154]
9410         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9411         approximation for values within 0x1p-13f of an odd multiple of
9412         pi/4.
9413         * math/libm-test.inc (tan_test): Do not allow spurious underflow
9414         exception.  Add more tests.
9415         * sysdeps/i386/fpu/libm-test-ulps: Update.
9417         [BZ #6778]
9418         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9419         inputs and return -1 for them.  Do not check for +Inf in case not
9420         reachable for +Inf.
9421         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9422         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9423         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9424         and return -1 for them.  Do not check for +Inf in case not
9425         reachable for +Inf.
9426         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9427         define.
9428         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9429         and return -1 for them.  Do not check for +Inf in case not
9430         reachable for +Inf.
9431         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
9432         spurious underflow.
9433         * sysdeps/i386/fpu/libm-test-ulps: Update.
9434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9436 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
9438         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9440 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
9442         [BZ #14157]
9443         [BZ #14331]
9444         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9445         could result in spurious underflow.  Scale down values above
9446         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9447         * math/s_csqrtf.c (__csqrtf): Likewise.
9448         * math/s_csqrtl.c (__csqrtl): Likewise.
9449         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
9450         spurious underflow.
9451         * sysdeps/i386/fpu/libm-test-ulps: Update.
9452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9454 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9456         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
9457         xopen-msg.sed.
9458         * catgets/xopen-msg.awk: New file.
9459         * catgets/xopen-msg.sed: Removed.
9461         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
9462         po2text.sed.
9463         * intl/po2test.awk: New file.
9464         * intl/po2test.sed: Removed.
9466 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
9468         [BZ #14328]
9469         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
9470         or multiply small sinh result by itself.
9471         * math/s_ctanf.c (__ctanf): Likewise.
9472         * math/s_ctanh.c (__ctanh): Likewise.
9473         * math/s_ctanhf.c (__ctanhf): Likewise.
9474         * math/s_ctanhl.c (__ctanhl): Likewise.
9475         * math/s_ctanl.c (__ctanl): Likewise.
9476         * math/libm-test.inc (ctan_test_tonearest): New function.
9477         (ctan_test_towardzero): Likewise.
9478         (ctan_test_downward): Likewise.
9479         (ctan_test_upward): Likewise.
9480         (ctanh_test_tonearest): Likewise.
9481         (ctanh_test_towardzero): Likewise.
9482         (ctanh_test_downward): Likewise.
9483         (ctanh_test_upward): Likewise.
9484         (main): Call these new functions.
9485         * sysdeps/i386/fpu/libm-test-ulps: Update.
9486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9488 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
9490         * .gitignore: Delete /ports entry.
9492 2012-07-03  Andreas Jaeger  <aj@suse.de>
9494         * po/bg.po: Update from translation team.
9495         * po/cs.po: Likewise.
9496         * po/de.po: Likewise.
9497         * po/hr.po: Likewise.
9498         * po/nl.pl: Likewise.
9499         * po/pl.po: Likewise.
9500         * po/vi.po: Likewise.
9502 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
9504         * Makeconfig [!+link] (+link-before-libc): New variable.
9505         [!+link] (+link-after-libc): Likewise.
9506         [!+link] (+link-tests): Likewise.
9507         [!+link] (+link): Define in terms of $(+link-before-libc) and
9508         $(+link-after-libc).
9509         [!+link-static] (+link-static-before-libc): New variable.
9510         [!+link-static] (+link-static-after-libc): Likewise.
9511         [!+link-static] (+link-static-tests): Likewise.
9512         [!+link-static] (+link-static): Define in terms of
9513         $(+link-static-before-libc) and $(+link-static-after-libc).
9514         [build-shared] (link-libc-before-gnulib): New variable.
9515         [build-shared] (link-libc-tests): Likewise.
9516         [build-shared] (link-libc): Define in terms of
9517         $(link-libc-before-gnulib).
9518         [!build-shared] (link-libc-tests): New variable.
9519         (link-libc-static-tests): New variable.
9520         [!gnulib] (gnulib-arch): New variable.
9521         [!gnulib] (gnulib-tests): Likewise.
9522         [!gnulib] (static-gnulib-arch): Likewise.
9523         [!gnulib] (static-gnulib-tests): Likewise.
9524         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
9525         Define with "=" instead of ":=".
9526         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
9527         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
9528         * Rules (binaries-all-notests): New variable.
9529         (binaries-all-tests): Likewise.
9530         (binaries-static-notests): Likewise.
9531         (binaries-static-tests): Likewise.
9532         (binaries-all): Define using $(binaries-all-notests) and
9533         $(binaries-all-tests).
9534         (binaries-static): Define using $(binaries-static-notests) and
9535         $(binaries-static-tests).
9536         (binaries-shared-tests): New variable.
9537         (binaries-shared-notests): Likewise.
9538         (binaries-shared): Remove variable.
9539         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
9540         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
9541         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
9542         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
9543         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
9544         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
9545         * elf/Makefile (sln-modules): New variable.
9546         (extra-objs): Add $(sln-modules:=.o).
9547         (ldconfig-modules): Add static-stubs.
9548         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
9549         * elf/static-stubs.c: New file.
9551         [BZ #14283]
9552         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
9553         by 7 not 8 to examine high bit of fractional part.  Use volatile
9554         variables when splitting into final array of floats if
9555         __FLT_EVAL_METHOD__ != 0.
9556         * math/libm-test.inc (cos_test): Add another test.
9557         (sin_test): Likewise.
9558         * sysdeps/i386/fpu/libm-test-ulps: Update.
9560         [BZ #14273]
9561         * math/libm-test.inc (cosh_test): Add more tests.
9563         * version.h (RELEASE): Set to "development".
9564         (VERSION): Set to "2.16.90".
9566 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
9568         * NEWS: Update copyright. Remove last-updated date.
9569         Mention math library bug fixes and timezone data changes.
9570         * README: Mention GNU/Hurd, x32, and HPPA support status.
9572 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
9574         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
9576 2012-06-27  Andreas Jaeger  <aj@suse.de>
9578         * manual/contrib.texi (Contributors): Add Samuel Thibault.
9580 2012-06-25  Andreas Jaeger  <aj@suse.de>
9582         * sysdeps/s390/fpu/libm-test-ulps: Update.
9584 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
9585             Thomas Schwinge  <thomas@codesourcery.com>
9587         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
9588         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
9589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
9590         fanotify_mark.
9592 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
9594         * sysdeps/mach/start.c: Remove file.
9595         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
9596         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
9597         * sysdeps/sh/init-first.c: Likewise.
9599         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
9600         registers for frame unwinding purposes, add CFI directives.
9601         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9602         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
9603         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
9604         Likewise.
9606         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
9607         __fortify_fail returning.
9608         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
9610         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
9611         sysdeps/sh/____longjmp_chk.S.
9612         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
9613         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
9614         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
9615         (gen-as-const-headers): Append sigaltstack-offsets.sym.
9617         * sysdeps/sh/abort-instr.h: New file.
9618         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
9619         process in case exit returns.
9621         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
9622         initialize the GOT register before use.
9624         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
9625         calculation of ARGC > 4.
9627         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
9628         meaningful names to some local labels.
9630 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
9631             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9633         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
9634         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
9635         (__arch_compare_and_exchange_val_16_acq): Likewise.
9636         (__arch_compare_and_exchange_val_32_acq): Likewise.
9637         (atomic_exchange_and_add): Fix gUSA sequence.
9638         (atomic_add): Likewise.
9639         (atomic_add_negative): Likewise.
9640         (atomic_add_zero): Likewise.
9641         (atomic_bit_test_set): Likewise.
9643 2012-06-22  Andreas Schwab  <schwab@redhat.com>
9645         [BZ #13579]
9646         * include/link.h (struct link_map): Add l_free_initfini.
9647         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9648         l_initfini.
9649         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9650         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9651         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9652         set.
9654 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
9656         * configure.in: Use AC_LANG_SOURCE.
9657         * configure: Regenerate.
9659 2012-06-22  Roland McGrath  <roland@hack.frob.com>
9661         * configure.in (libc_cv_localstatedir): New substituted variable.
9662         * configure: Regenerated.
9663         * config.make.in (localstatedir): New variable, substituted from
9664         libc_cv_localstatedir.
9665         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9666         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9667         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9668         * sysdeps/gnu/configure: Regenerated.
9670 2012-06-21  Jeff Law  <law@redhat.com>
9672         [BZ #14277]
9673         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9674         free.  Simplify list management for _LIBC case.
9676 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
9678         [BZ #14273]
9679         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9680         Clear sign bit of 64-bit integer value before comparing against
9681         overflow value.
9683         * sysdeps/mach/configure: Regenerated.
9685 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
9687         [BZ #14278]
9688         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9690 2012-06-21  Jeff Law  <law@redhat.com>
9692         [BZ #13882]
9693         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
9694         uint16_t for elements in the "seen" array to avoid char overflows.
9695         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9696         * elf/dl-open.c (dl_open_worker): Likewise.
9698 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
9700         * scripts/list-sources.sh: Scan PORTS for translations.
9701         * po/libc.pot: Regenerated.
9703 2012-06-21  Andreas Jaeger  <aj@suse.de>
9705         [BZ #12194]
9706         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9707         warning.
9708         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9709         * bits/byteswap-16.h (__bswap_16): Likewise.
9710         * bits/byteswap.h (__bswap_constant_16): Likewise.
9712 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
9714         [BZ #14117]
9715         * sysdeps/i386/fpu_control.h: Removed.
9716         * sysdeps/x86_64/fpu_control.h: Moved to ...
9717         * sysdeps/x86/fpu_control.h: Here.
9719         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9720         (_FPU_SETCW): Likewise.
9722 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
9724         [BZ #14117]
9725         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9726         * sysdeps/x86/fpu/bits/mathinline.h: This.
9727         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9729         [BZ #14050]
9730         [BZ #14117]
9731         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9732         functions if __x86_64__ is defined.
9734 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
9736         * string/endian.h: Add !__ASSEMBLER__ condition for including
9737         conversion interfaces.
9739 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
9741         [BZ #14241]
9742         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9743         of ABS(x) in calculating zero to negative powers other than odd
9744         integers.
9745         * math/libm-test.inc (pow_test): Add more tests.
9747 2012-06-15  Andreas Jaeger  <aj@suse.de>
9749         * manual/contrib.texi (Contributors): Update entry of Liubov
9750         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9751         Machado Filho.
9753 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
9755         * string/string.h: Add __wur to GNU version of strerror_r.
9757 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
9759         [BZ #14229]
9760         * string/Makefile (tests): Add tst-strtok_r.
9761         * string/tst-strtok_r.c: New file.
9762         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9763         RAX_LP/RDX_LP on SAVE_PTR.
9765 2012-06-14  Roland McGrath  <roland@hack.frob.com>
9767         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9769 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
9771         * libm_test.inc (csqrt_test): Allow more spurious underflow
9772         exceptions.
9773         (j0_test): Likewise.
9774         (j1_test): Likewise.
9775         (y0_test): Likewise.
9776         (y1_test): Likewise.
9778 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
9780         * po/Makefile (libc.pot): Use UTF-8 charset.
9782 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
9784         [BZ #14210]
9785         Suppress sign-conversion warning from FD_SET.
9786         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9787         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9788         not unsigned long int.
9789         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9791 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
9793         [BZ #14050]
9794         [BZ #14117]
9795         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9796         __extern_always_inline instead of __extern_inline.
9797         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9798         (__signbit): Likewise.
9799         (__signbitl): Support C++ namespace.
9800         (lrintf): New inline function.
9801         (lrint): Likewise.
9802         (llrintf): Likewise.
9803         (llrint): Likewise.
9804         (fmaxf): Likewise.
9805         (fmax): Likewise.
9806         (fminf): Likewise.
9807         (fmin): Likewise.
9808         (rint): Likewise.
9809         (rintf): Likewise.
9810         (ceil): Likewise.
9811         (ceilf): Likewise.
9812         (floor): Likewise.
9813         (floorf): Likewise.
9814         (nearbyint): Likewise.
9815         (nearbyintf): Likewise.
9817 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
9819         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9820         non-default versions.
9822 2012-06-11  Roland McGrath  <roland@hack.frob.com>
9824         [BZ #14218]
9825         * manual/argp.texi (Argp): Reword argp_parse description slightly.
9827 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
9829         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9830         (FE_UPWARD, FE_DOWNWARD): Don't define.
9831         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9832         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9835         reading it.
9836         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9837         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9839 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9841         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9842         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9843         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9844         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9846 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9848         [BZ #14117]
9849         * sysdeps/i386/fpu/bits/fenv.h: Removed.
9850         * sysdeps/i386/fpu/Implies: New file.
9851         * sysdeps/x86_64/fpu/Implies: Likewise.
9852         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9853         * sysdeps/x86/fpu/bits/fenv.h: This.
9855         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9856         __SSE_MATH__.
9858 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9860         [BZ #14134]
9861         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9862         character 0xffff that matches the last element of the
9863         conversion table.
9865 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9867         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9868         fmodl commit.
9870 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9872         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9873         values higher than 25.6283.
9875 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9878         subnormal exponent extraction and add some __builtin_expect.
9879         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9880         Fix for subnormal mantissa calculation.
9882 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
9884         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9885         cpu2 is -1 and errno is not ENOSYS.
9887 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
9889         [BZ #14117]
9890         * sysdeps/i386/i486/bits/string.h: Renamed to ...
9891         * sysdeps/x86/bits/string.h: This.
9892         * sysdeps/x86_64/bits/string.h: Removed.
9894         * sysdeps/i386/i486/bits/string.h: Define inline functions only
9895         if not compiling for x86-64, but compiling for >= i486.
9897         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9898         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9900         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9901         New macro from Linux kernel 3.4.0.
9902         (FP_XSTATE_MAGIC2): Likewise.
9903         (FP_XSTATE_MAGIC2_SIZE): Likewise.
9904         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9905         (struct _fpx_sw_bytes): New struct.
9906         (struct _xsave_hdr): Likewise.
9907         (struct _ymmh_state): Likewise.
9908         (struct _xstate): Likewise.
9910         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9911         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9912         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9913         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9914         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9915         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9917         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9918         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9919         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9920         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9921         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9922         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9924 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9926         [BZ #13743]
9927         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9928         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9929         (sysdep_headers): Include sys/platform/ppc.h.
9930         * sysdeps/powerpc/test-gettimebase.c: Test for
9931         __ppc_get_timebase() to catch future ISA opcode/insn changes.
9932         * manual/Makefile (appendices): Include platform.texi.
9933         * manual/contrib.texi (Contributors): Update @node pointers.
9934         * manual/maint.texi (Maintenance): Likewise.
9935         (Platform): New node.
9936         * manual/platform.texi: New file.  Document the new features.
9938 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9939             Jakub Jelinek  <jakub@redhat.com>
9941         [BZ #14188]
9942         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9943         where __builtin_expect is unavailable.
9945 2012-06-03  David S. Miller  <davem@davemloft.net>
9947         * stdlib/longlong.h: Updated from GCC.
9949 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
9951         [BZ #14042]
9952         * sysdeps/powerpc/powerpc32/mcount.c: New file.
9953         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9954         __mcount_internal.
9955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9956         (GLIBC_2.16): Likewise.
9958 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9960         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9962 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9965         (default-abi): New variable.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9967         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9968         variable.
9969         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9970         Likewise.
9971         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9972         Likewise.
9973         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9974         Likewise.
9976         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9977         definition.  Document in comment.
9979 2012-06-01  David S. Miller  <davem@davemloft.net>
9981         * stdlib/longlong.h: Updated from GCC.
9983 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
9985         [BZ #14117]
9986         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9987         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9988         sys/debugreg.h sys/io.h here.
9989         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9990         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9991         sys/io.h.
9992         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9993         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9994         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9995         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9996         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9997         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9999         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10000         Define only if __x86_64__ is defined.
10002 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10004         [BZ #14048]
10005         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10006         Use int64_t for variable i.
10007         * math/libm-test.inc (fmod_test): Add more tests.
10009         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10010         z computation is not scheduled after fetestexcept.
10011         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10012         Use math_force_eval instead of asm to ensure calculation scheduled
10013         before exception test.
10014         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10015         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10017 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10020         computation is not scheduled after fetestexcept.
10022 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10024         [BZ #14117]
10025         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10026         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10028 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10030         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10031         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10033 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10035         [BZ #14117]
10036         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10037         <bits/wordsize.h>.
10038         (__WCHAR_MIN): Support __WORDSIZE == 64.
10039         (__WCHAR_MAX): Likewise.
10041         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10042         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10044         [BZ #14183]
10045         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10046         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10048         [BZ #14117]
10049         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10052         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10053         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10055         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10056         Defined to 1 if __x86_64__ isn't defined.
10057         (_STAT_VER_LINUX_OLD): New.
10058         (st_atime): Remove duplicate.
10059         (st_mtime): Likewise.
10060         (st_ctime): Likewise.
10062 2012-05-31  David S. Miller  <davem@davemloft.net>
10064         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10065         entries.
10067 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10069         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10070         gen-libm-test.pl.
10072         [BZ #14132]
10073         * elf/dl-reloc.c: Include <_itoa.h>.
10074         (_dl_reloc_bad_type): Remove use of INTUSE.
10075         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10076         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10077         * stdio-common/psiginfo.c (psiginfo): Likewise.
10078         * stdio-common/psignal.c (psignal): Likewise.
10079         * string/strsignal.c (strsignal): Likewise.
10080         * include/signal.h (_sys_siglist): Declare hidden proto.
10081         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10082         INTVARDEF with libc_hidden_data_def.
10083         * stdio-common/itoa-udigits.c: Likewise.
10084         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10085         (_itoa_lower_digits_internal): Remove declaration.
10086         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10087         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10088         (_sys_sigabbrev_internal): Remove aliases.
10089         (_sys_siglist): Define hidden alias.
10091 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10094         bits/sysctl.h.
10096 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10098         [BZ #14117]
10099         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10100         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10102         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10103         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10104         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10105         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10106         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10107         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10109         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10110         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10111         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10114         with __addr.
10115         (insw): Likewise.
10116         (insl): Likewise.
10117         (outsb): Likewise.
10118         (outsw): Likewise.
10119         (outsl): Likewise.
10121         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10122         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10123         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10125         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10126         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10127         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10128         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10129         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10130         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10132         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10133         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10135         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10136         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10138         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10140         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10142         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10143         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10144         to ...
10145         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10147         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10148         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10149         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10151         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10152         for x86-64.
10153         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10155 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10157         * math/math.h (M_El): Use two more decimal places.
10158         (M_LOG2El): Likewise.
10159         (M_LOG10El): Likewise.
10160         (M_LN2l): Likewise.
10161         (M_LN10l): Likewise.
10162         (M_PIl): Likewise.
10163         (M_PI_2l): Likewise.
10164         (M_PI_4l): Likewise.
10165         (M_1_PIl): Likewise.
10166         (M_2_PIl): Likewise.
10167         (M_2_SQRTPIl): Likewise.
10168         (M_SQRT2l): Likewise.
10169         (M_SQRT1_2l): Likewise.
10171 2012-05-31  David S. Miller  <davem@davemloft.net>
10173         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10174         values between float registers.
10175         * sysdeps/sparc/sparc64/memset.S: Likewise.
10176         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10178 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10180         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10181         -D_FORTIFY_SOURCE=1.
10182         (CPPFLAGS-tst-longjmp_chk.c): Define.
10183         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10184         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10185         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10186         CFLAGS-tst-wchar-h.c.
10188 2012-05-31  Marek Polacek  <polacek@redhat.com>
10190         [BZ #14132]
10191         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10192         __endmntent_internal): Remove declaration.
10193         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10194         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10195         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10197 2012-05-30  David S. Miller  <davem@davemloft.net>
10199         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10200         (___Q_simulate_exceptions): Use real FP ops rather than writing
10201         into the %fsr.
10202         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10203         Likewise.
10205 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10207         [BZ #14117]
10208         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10209         * sysdeps/x86/bits/xtitypes.h: This.
10211         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10212         * sysdeps/x86/bits/wordsize.h: This.
10214         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10215         * sysdeps/x86/bits/huge_vall.h: This.
10217         * sysdeps/i386/bits/select.h: Removed.
10218         * sysdeps/x86_64/bits/select.h: Renamed to ...
10219         * sysdeps/x86/bits/select.h: This.
10221         * sysdeps/i386/bits/setjmp.h: Removed.
10222         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10223         * sysdeps/x86/bits/setjmp.h: This.
10225         * sysdeps/i386/bits/mathdef.h: Removed.
10226         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10227         * sysdeps/x86/bits/mathdef.h: This.
10229 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
10231         [BZ #14132]
10232         * include/sys/socket.h (__connect_internal)
10233         (__libc_sa_len_internal): Remove declaration.
10234         (__connect, __libc_sa_len): Declare hidden_proto.
10235         (SA_LEN): Remove use of INTUSE.
10236         * socket/connect.c: Add libc_hidden_def.
10237         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10238         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10239         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10240         alias.
10241         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10242         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10243         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10244         of adding _internal alias.
10246 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10248         [BZ #14117]
10249         * sysdeps/i386/bits/link.h: Removed.
10250         * sysdeps/i386/bits/linkmap.h: Likewise.
10251         * sysdeps/x86_64/bits/link.h: Renamed to ...
10252         * sysdeps/x86/bits/link.h: This.
10253         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10254         * sysdeps/x86/bits/linkmap.h: This.
10256         * sysdeps/i386/bits/endian.h: Removed.
10257         * sysdeps/x86_64/bits/endian.h: Renamed to ...
10258         * sysdeps/x86/bits/endian.h: This.
10260         * sysdeps/i386/bits/byteswap.h: Removed.
10261         * sysdeps/i386/bits/byteswap-16.h: Likewise.
10262         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10263         * sysdeps/x86/bits/byteswap.h: This.
10264         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10265         * sysdeps/x86/bits/byteswap-16.h: This.
10266         * sysdeps/i386/Implies: Add x86.
10267         * sysdeps/x86_64/Implies: Likewise.
10269 2012-05-30  David S. Miller  <davem@davemloft.net>
10271         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10272         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10273         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10274         (FP_TRAPPING_EXCEPTIONS): Define.
10275         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10276         (FP_TRAPPING_EXCEPTIONS): Define.
10277         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10278         subnormals only when inexact has been signalled or underflow
10279         exceptions are enabled.
10280         (_FP_PACK_CANONICAL): Likewise.
10282 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10284         [BZ #14183]
10285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10286         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10288 2012-05-30  Richard Henderson  <rth@twiddle.net>
10290         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10291         with #ifndef NOT_IN_libc.
10293         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
10294         marked to avoid plt entry.
10296 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10298         [BZ #14112]
10299         * Makeconfig (default-abi): New macro.
10300         (abi-includes): Likewise.
10301         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
10302         $(abi-$(default-abi)-lib-soname) for soname if defined.
10303         ($(common-objpfx)gnu/lib-names.stmp): Generate from
10304         abi-variants.
10305         * Makefile (installed-stubs): Likewise.
10306         * include/stubs-biarch.h: Removed.
10307         * scripts/lib-names.awk: Only handle one library at a time.
10308         * scripts/soversions.awk: Remove WORDSIZE support.
10309         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10310         entries.
10311         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10312         Removed.
10313         (syscall-list-default-condition): Likewise.
10314         (syscall-list-default-condition): Likewise.
10315         (syscall-list-includes): Likewise.
10316         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10317         syscall-list-* with abi-*.  Handle undefined abi-variants.
10318         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10319         * sysdeps/unix/sysv/linux/i386/Implies: New file.
10320         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10321         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10322         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10323         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10324         Removed.
10325         (syscall-list-32-options): Likewise.
10326         (syscall-list-32-condition): Likewise.
10327         (syscall-list-64-options): Likewise.
10328         (syscall-list-64-condition): Likewise.
10329         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10330         macro.
10331         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10332         Renamed to ...
10333         (abi-*): This.
10334         (abi-64-ld-soname): New macro.
10335         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10336         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10337         Renamed to ...
10338         (abi-*): This.
10339         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10340         * sysdeps/x86_64/x32/shlib-versions: Likewise.
10342 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
10344         * sysdeps/unix/sysv/linux/kernel-features.h
10345         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10346         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10347         include <kernel-features.h>.
10348         [!__NR_ftruncate64]: Remove conditional code.
10349         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10350         [__NR_ftruncate64]: Make code unconditional.
10351         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10352         * sysdeps/unix/sysv/linux/truncate64.c: Do not
10353         include <kernel-features.h>.
10354         [!__NR_ftruncate64]: Remove conditional code.
10355         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10356         [__NR_ftruncate64]: Make code unconditional.
10357         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10359         include <kernel-features.h>.
10360         [!__NR_ftruncate64]: Remove conditional code.
10361         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10362         [__NR_ftruncate64]: Make code unconditional.
10363         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10365         include <kernel-features.h>.
10366         [!__NR_ftruncate64]: Remove conditional code.
10367         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10368         [__NR_ftruncate64]: Make code unconditional.
10369         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10371         * configure.in (libc_cv_fpie): Weaken to a compile test using
10372         LIBC_TRY_CC_OPTION.
10373         * configure: Regenerated.
10375 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10381         Refreshed.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10388         Refreshed.
10390 2012-05-27  David S. Miller  <davem@davemloft.net>
10392         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10393         (___Q_zero): New.
10394         (__Q_simulate_exceptions): Return void.  Change to simulate
10395         exceptions by writing into the %fsr.
10396         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10397         (__Qp_handle_exceptions): Likewise.
10398         (numbers): Delete.
10399         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10400         __Qp_handle_exceptions.
10401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10402         __Qp_handle_exceptions.
10403         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10404         as unused and give dummy FP_RND_NEAREST initializer.
10405         (FP_INHIBIT_RESULTS): Define.
10406         (___Q_simulate_exceptions): Update declaration.
10407         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10408         formatting.
10409         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10410         as unused and give dummy FP_RND_NEAREST initializer.
10411         (__Qp_handle_exceptions): Update declaration.
10412         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10413         formatting.
10415 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
10417         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10418         the temporary FPU control word.
10419         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10420         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10421         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10422         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10423         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10424         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10425         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10426         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10427         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10428         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10429         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10431 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10433         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10434         fields.
10436 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
10438         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10439         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10440         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10441         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10444         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10445         Likewise.
10447 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
10449         * po/h.po: Update from translation team.
10451 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
10453         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
10455         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
10456         handling of denormals.
10457         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10458         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10459         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10460         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
10463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
10464         Likewise.
10466 2012-05-26  Marek Polacek  <polacek@redhat.com>
10468         [BZ #14152]
10469         * math/libm-test.inc (fma_test): Don't always expect underflow
10470         exception.
10472 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10474         [BZ #12416]
10475         * elf/tst-execstack.c: Include stackinfo.h.
10476         (do_test): Adjust test case to ensure that pthread_getattr_np
10477         behaviour remains the same after marking stack executable.
10479 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10481         * sysdeps/unix/sysv/linux/kernel-features.h
10482         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
10483         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
10484         kernel-features.h.
10485         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10486         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10487         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
10488         kernel-features.h.
10489         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
10490         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
10492 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
10494         * configure.in: Define the default includes to being none.
10495         * configure: Regenerated.
10497 2012-05-25  Roland McGrath  <roland@hack.frob.com>
10499         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
10500         * sysdeps/x86_64/setjmp.S: Likewise.
10501         * sysdeps/i386/bsd-setjmp.S: Likewise.
10502         * sysdeps/i386/bsd-_setjmp.S: Likewise.
10503         * sysdeps/i386/setjmp.S: Likewise.
10504         * sysdeps/i386/__longjmp.S: Likewise.
10505         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10506         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
10508         * include/stap-probe.h: New file.
10509         * configure.in: Handle --enable-systemtap.
10510         * configure: Regenerated.
10511         * config.h.in (USE_STAP_PROBE): New #undef.
10512         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
10513         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
10514         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10516 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
10518         [BZ #13717]
10519         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10520         to 2.4.0 where earlier.
10521         * sysdeps/unix/sysv/linux/configure: Regenerated.
10522         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10523         <kernel-features.h>.
10524         [__ASSUME_32BITUIDS]: Make code unconditional.
10525         [!__ASSUME_32BITUIDS]: Remove conditional code.
10526         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
10527         <kernel-features.h>.
10528         [__ASSUME_32BITUIDS]: Make code unconditional.
10529         [!__ASSUME_32BITUIDS]: Remove conditional code.
10530         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
10531         [__ASSUME_32BITUIDS]: Make code unconditional.
10532         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
10533         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
10546         <kernel-features.h>.
10547         [__ASSUME_32BITUIDS]: Make code unconditional.
10548         [!__ASSUME_32BITUIDS]: Remove conditional code.
10549         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10550         <kernel-features.h>.
10551         [__ASSUME_32BITUIDS]: Make code unconditional.
10552         [!__ASSUME_32BITUIDS]: Remove conditional code.
10553         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10554         <kernel-features.h>.
10555         [__ASSUME_32BITUIDS]: Make code unconditional.
10556         [!__ASSUME_32BITUIDS]: Remove conditional code.
10557         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
10558         <kernel-features.h>.
10559         [__ASSUME_32BITUIDS]: Make code unconditional.
10560         [!__ASSUME_32BITUIDS]: Remove conditional code.
10561         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10562         <kernel-features.h>.
10563         [__ASSUME_32BITUIDS]: Make code unconditional.
10564         [!__ASSUME_32BITUIDS]: Remove conditional code.
10565         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10566         <kernel-features.h>.
10567         [__ASSUME_32BITUIDS]: Make code unconditional.
10568         [!__ASSUME_32BITUIDS]: Remove conditional code.
10569         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
10570         <kernel-features.h>.
10571         [__ASSUME_32BITUIDS]: Make code unconditional.
10572         [!__ASSUME_32BITUIDS]: Remove conditional code.
10573         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
10574         <kernel-features.h>.
10575         [__NR_setresgid] (__setresgid): Do not declare.
10576         [__ASSUME_32BITUIDS]: Make code unconditional.
10577         [!__ASSUME_32BITUIDS]: Remove conditional code.
10578         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
10579         <kernel-features.h>.
10580         [__NR_setresuid] (__setresuid): Do not declare.
10581         [__ASSUME_32BITUIDS]: Make code unconditional.
10582         [!__ASSUME_32BITUIDS]: Remove conditional code.
10583         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
10596         <kernel-features.h>.
10597         [__ASSUME_32BITUIDS]: Make code unconditional.
10598         [!__ASSUME_32BITUIDS]: Remove conditional code.
10599         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
10600         <kernel-features.h>.
10601         [__ASSUME_32BITUIDS]: Make code unconditional.
10602         [!__ASSUME_32BITUIDS]: Remove conditional code.
10603         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
10604         <kernel-features.h>.
10605         [__ASSUME_32BITUIDS]: Make code unconditional.
10606         [!__ASSUME_32BITUIDS]: Remove conditional code.
10607         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
10608         <kernel-features.h>.
10609         [__ASSUME_32BITUIDS]: Make code unconditional.
10610         [!__ASSUME_32BITUIDS]: Remove conditional code.
10611         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
10612         <kernel-features.h>.
10613         [__ASSUME_32BITUIDS]: Make code unconditional.
10614         [!__ASSUME_32BITUIDS]: Remove conditional code.
10615         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
10616         <kernel-features.h>.
10617         [__ASSUME_32BITUIDS]: Make code unconditional.
10618         [!__ASSUME_32BITUIDS]: Remove conditional code.
10619         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10620         <kernel-features.h>.
10621         [__ASSUME_32BITUIDS]: Make code unconditional.
10622         [!__ASSUME_32BITUIDS]: Remove conditional code.
10623         * sysdeps/unix/sysv/linux/kernel-features.h
10624         (__ASSUME_SETRESUID_SYSCALL): Remove.
10625         (__ASSUME_SETRESGID_SYSCALL): Likewise.
10626         (__ASSUME_32BITUIDS): Likewise.
10627         (__ASSUME_LDT_WORKS): Likewise.
10628         (__ASSUME_O_DIRECTORY): Likewise.
10629         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
10630         architecture but not kernel version.
10631         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10632         (__ASSUME_MMAP2_SYSCALL): Likewise.
10633         (__ASSUME_STAT64_SYSCALL): Likewise.
10634         (__ASSUME_IPC64): Likewise.
10635         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
10636         <kernel-features.h>.
10637         [__ASSUME_32BITUIDS]: Make code unconditional.
10638         [!__ASSUME_32BITUIDS]: Remove conditional code.
10639         * sysdeps/unix/sysv/linux/opendir.c: Do not include
10640         <kernel-features.h>.
10641         [__ASSUME_O_DIRECTORY]: Make code unconditional.
10642         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
10643         132096]: Remove conditional code.
10644         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10645         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10646         <kernel-features.h>.
10647         [__ASSUME_32BITUIDS]: Make code unconditional.
10648         [!__ASSUME_32BITUIDS]: Remove conditional code.
10649         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10650         <kernel-features.h>.
10651         [__ASSUME_32BITUIDS]: Make code unconditional.
10652         [!__ASSUME_32BITUIDS]: Remove conditional code.
10653         * sysdeps/unix/sysv/linux/setegid.c: Do not include
10654         <kernel-features.h>.
10655         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10656         unconditional.
10657         (__setresgid): Do not declare.
10658         [__ASSUME_32BITUIDS]: Make code unconditional.
10659         [!__ASSUME_32BITUIDS]: Remove conditional code.
10660         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10661         <kernel-features.h>.
10662         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10663         unconditional.
10664         (__setresuid): Do not declare.
10665         [__ASSUME_32BITUIDS]: Make code unconditional.
10666         [!__ASSUME_32BITUIDS]: Remove conditional code.
10667         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10668         <kernel-features.h>.
10669         [__ASSUME_32BITUIDS]: Make code unconditional.
10670         [!__ASSUME_32BITUIDS]: Remove conditional code.
10671         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10672         <kernel-features.h>.
10673         [__ASSUME_32BITUIDS]: Make code unconditional.
10674         [!__ASSUME_32BITUIDS]: Remove conditional code.
10676 2012-05-25  Richard Henderson  <rth@twiddle.net>
10678         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10679         dl_hwcap to ifunc resolver.
10680         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10681         elf_ifunc_invoke.
10682         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10683         dl_hwcap to ifunc resolver.
10684         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10686 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10688         [BZ #14153]
10689         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10690         for |x| <= 2**-26, not 2**-57.
10691         * math/libm-test.inc (acos_test): Do not allow spurious underflow
10692         exception.
10694 2012-05-24  Jeff Law  <law@redhat.com>
10696         * stdio-common/Makefile (tests): Add bug25.
10697         * stdio-common/bug25.c: New test.
10699 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10701         [BZ #13576]
10702         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10703         multiple of MALLOC_ALIGNMENT in size.
10704         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10706 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
10708         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10709         Require >= 256.
10710         (FILENAME_MAX): Use macro-int-constant.
10711         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
10712         (_IOFBF): Use macro-int-constant.
10713         (_IOLBF): Likewise.
10714         (_IONBF): Likewise.
10715         (SEEK_CUR): Likewise.
10716         (SEEK_END): Likewise.
10717         (SEEK_SET): Likewise.
10718         (TMP_MAX): Likewise.
10719         (EOF): Use macro-int-constant.  Require < 0.
10720         (NULL): Use macro-constant.  Require == 0.
10721         (stdin): Require type to be FILE *.
10722         (stdout): Likewise.
10723         (stderr): Likewise.
10724         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10725         macro-int-constant.
10726         (EXIT_SUCCESS): Likewise.
10727         (NULL): Use macro-constant.  Require == 0.
10728         (RAND_MAX): Use macro-int-constant.
10729         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10730         [C99-based standards] (strtof): Require function.
10731         [C99-based standards] (strtold): Likewise.
10732         [C99-based standards] (strtoll): Likewise.
10733         [C99-based standards] (strtoull): Likewise.
10734         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10735         [ISO || ISO99 || ISO11] (limits.h): Likewise.
10736         [ISO || ISO99 || ISO11] (math.h): Likewise.
10737         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10738         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10741 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
10743         [BZ #14132]
10744         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10745         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10746         * intl/dgettext.c (DCGETTEXT): Likewise.
10747         * intl/gettext.c (DCGETTEXT): Likewise.
10748         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10749         * posix/regex_internal.h (gettext): Likewise.
10750         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10751         Remove declaration.
10752         * include/argz.h (__argz_count_internal)
10753         (__argz_stringify_internal): Remove declaration.
10754         (__argz_count, __argz_stringify): Declare hidden proto.
10755         * intl/dcgettext.c: Remove use of INTDEF.
10756         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10757         * string/argz-stringify.c: Likewise.
10758         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10759         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10760         Declare hidden proto.
10761         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10762         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10763         Declare hidden proto.
10764         * include/stdio.h (__asprintf_internal): Don't declare.
10765         (__asprintf): Don't define as macro.  Declare hidden proto.
10766         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10767         (__fsetlocking): Declare hidden proto.
10768         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10769         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10770         hidden proto.
10771         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10772         (_IO_setlinebuf): Remove use of INTUSE.
10773         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10774         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10775         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10776         Remove declaration.
10777         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10778         (_IO_do_flush): Remove use of INTUSE.
10779         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10780         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10781         (_IO_adjust_column, _IO_least_wmarker)
10782         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10783         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10784         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10785         (_IO_default_doallocate, _IO_wdefault_doallocate)
10786         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10787         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10788         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10789         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10790         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10791         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10792         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10793         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10794         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10795         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10796         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10797         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10798         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10799         proto.
10800         (_IO_flush_all_internal, _IO_adjust_column_internal)
10801         (_IO_default_uflow_internal, _IO_default_finish_internal)
10802         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10803         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10804         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10805         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10806         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10807         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10808         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10809         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10810         (_IO_file_close_internal, _IO_file_close_it_internal)
10811         (_IO_file_underflow_internal, _IO_file_overflow_internal)
10812         (_IO_file_init_internal, _IO_file_attach_internal)
10813         (_IO_file_fopen_internal, _IO_file_read_internal)
10814         (_IO_file_sync_internal, _IO_file_seek_internal)
10815         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10816         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10817         (_IO_str_underflow_internal, _IO_str_overflow_internal)
10818         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10819         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10820         (_IO_list_all_internal, _IO_link_in_internal)
10821         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10822         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10823         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10824         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10825         (_IO_do_write_internal, _IO_padn_internal)
10826         (_IO_getline_info_internal, _IO_getline_internal)
10827         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10828         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10829         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10830         (_IO_vfscanf_internal, _IO_vfprintf_internal)
10831         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10832         (_IO_init_internal, _IO_un_link_internal): Don't declare.
10833         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10834         with libc_hidden_ver, remove use of INTUSE.
10835         * libio/genops.c: Likewise.
10836         * libio/freopen.c: Likewise.
10837         * libio/freopen64.c: Likewise.
10838         * libio/iofclose.c: Likewise.
10839         * libio/iofdopen.c: Likewise.
10840         * libio/iofflush.c: Likewise.
10841         * libio/iofflush_u.c: Likewise.
10842         * libio/iofgets.c: Likewise.
10843         * libio/iofgets_u.c: Likewise.
10844         * libio/iofopen.c: Likewise.
10845         * libio/iofopncook.c: Likewise.
10846         * libio/iofread.c: Likewise.
10847         * libio/iofread_u.c: Likewise.
10848         * libio/ioftell.c: Likewise.
10849         * libio/iofwrite.c: Likewise.
10850         * libio/iogetline.c: Likewise.
10851         * libio/iogets.c: Likewise.
10852         * libio/iogetwline.c: Likewise.
10853         * libio/iopadn.c: Likewise.
10854         * libio/iopopen.c: Likewise.
10855         * libio/ioseekoff.c: Likewise.
10856         * libio/ioseekpos.c: Likewise.
10857         * libio/iosetbuffer.c: Likewise.
10858         * libio/iosetvbuf.c: Likewise.
10859         * libio/ioungetc.c: Likewise.
10860         * libio/ioungetwc.c: Likewise.
10861         * libio/iovdprintf.c: Likewise.
10862         * libio/iovsprintf.c: Likewise.
10863         * libio/iovsscanf.c: Likewise.
10864         * libio/memstream.c: Likewise.
10865         * libio/obprintf.c: Likewise.
10866         * libio/oldfileops.c: Likewise.
10867         * libio/oldiofclose.c: Likewise.
10868         * libio/oldiofdopen.c: Likewise.
10869         * libio/oldiofopen.c: Likewise.
10870         * libio/oldiopopen.c: Likewise.
10871         * libio/oldstdfiles.c: Likewise.
10872         * libio/putc.c: Likewise.
10873         * libio/setbuf.c: Likewise.
10874         * libio/setlinebuf.c: Likewise.
10875         * libio/stdfiles.c: Likewise.
10876         * libio/strops.c: Likewise.
10877         * libio/vasprintf.c: Likewise.
10878         * libio/vscanf.c: Likewise.
10879         * libio/vsnprintf.c: Likewise.
10880         * libio/vswprintf.c: Likewise.
10881         * libio/wfiledoalloc.c: Likewise.
10882         * libio/wfileops.c: Likewise.
10883         * libio/wgenops.c: Likewise.
10884         * libio/wmemstream.c: Likewise.
10885         * libio/wstrops.c: Likewise.
10886         * libio/__fpurge.c: Likewise.
10887         * libio/__fsetlocking.c: Likewise.
10888         * assert/assert.c: Likewise.
10889         * debug/fgets_chk.c: Likewise.
10890         * debug/fgets_u_chk.c: Likewise.
10891         * debug/fread_chk.c: Likewise.
10892         * debug/fread_u_chk.c: Likewise.
10893         * debug/gets_chk.c: Likewise.
10894         * debug/obprintf_chk.c: Likewise.
10895         * debug/vasprintf_chk.c: Likewise.
10896         * debug/vdprintf_chk.c: Likewise.
10897         * debug/vsnprintf_chk.c: Likewise.
10898         * debug/vsprintf_chk.c: Likewise.
10899         * malloc/mtrace.c: Likewise.
10900         * misc/error.c: Likewise.
10901         * misc/syslog.c: Likewise.
10902         * stdio-common/asprintf.c: Likewise.
10903         * stdio-common/fxprintf.c: Likewise.
10904         * stdio-common/getw.c: Likewise.
10905         * stdio-common/isoc99_fscanf.c: Likewise.
10906         * stdio-common/isoc99_scanf.c: Likewise.
10907         * stdio-common/isoc99_vfscanf.c: Likewise.
10908         * stdio-common/isoc99_vscanf.c: Likewise.
10909         * stdio-common/isoc99_vsscanf.c: Likewise.
10910         * stdio-common/printf-prs.c: Likewise.
10911         * stdio-common/printf_fp.c: Likewise.
10912         * stdio-common/printf_fphex.c: Likewise.
10913         * stdio-common/printf_size.c: Likewise.
10914         * stdio-common/putw.c: Likewise.
10915         * stdio-common/scanf.c: Likewise.
10916         * stdio-common/sprintf.c: Likewise.
10917         * stdio-common/tmpfile.c: Likewise.
10918         * stdio-common/vfprintf.c: Likewise.
10919         * stdio-common/vfscanf.c: Likewise.
10920         * stdlib/strfmon_l.c: Likewise.
10921         * sunrpc/openchild.c: Likewise.
10922         * sunrpc/xdr_stdio.c: Likewise.
10923         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10924         * sysdeps/mach/hurd/tmpfile.c: Likewise.
10926 2012-05-24  Roland McGrath  <roland@hack.frob.com>
10928         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10930         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10931         in the third column, to generate for the shared library an IFUNC
10932         that uses _dl_vdso_vsym.
10933         * Makerules (COMPILE.c, compile-stdin.c): New variables.
10934         * Makeconfig (object-suffixes-noshared): New variable.
10936         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10937         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10938         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10939         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10941         [BZ #14132]
10942         * include/sys/time.h (__gettimeofday): Remove macro.
10943         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10944         * time/gettimeofday.c (__gettimeofday): Remove #undef.
10945         Remove INTDEF.
10946         (__gettimeofday): Add libc_hidden_def.
10947         (gettimeofday): Add libc_hidden_weak.
10948         * sysdeps/mach/gettimeofday.c: Likewise.
10949         * sysdeps/posix/gettimeofday.c: Likewise.
10950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10951         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10953         (__gettimeofday_internal): Remove strong_alias.
10954         (__gettimeofday): Add libc_hidden_def.
10955         (gettimeofday): Add libc_hidden_weak.
10956         * sysdeps/unix/syscalls.list (gettimeofday):
10957         Remove __gettimeofday_internal alias.
10959 2012-05-24  Daniel Jacobowitz  <drow@false.org>
10960             H.J. Lu  <hongjiu.lu@intel.com>
10962         [BZ #12495]
10963         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10964         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10965         (largebin_index_32_big): New.
10966         (largebin_index): Use it for 16-byte alignment.
10967         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
10968         correction with front_misalign.
10970 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10974         Likewise.
10975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10976         Likewise.
10977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10978         Likewise.
10979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10980         Likewise.
10981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10982         Likewise.
10983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10984         Likewise.
10985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10986         Likewise.
10987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10988         Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10992         Likewise.
10993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10994         Likewise.
10995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10996         Likewise.
10998         * scripts/data/c++-types-x32-linux-gnu.data: New file.
10999         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11001 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11003         [BZ #10846]
11004         [BZ #14036]
11005         * math/libm-test.inc (exp_test): Add test from bug 14036.
11006         (pow_test): Add test from bug 10846.
11008         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11009         and other flags.
11010         (special_function): Do not include flags in test name.
11011         (parse_args): Likewise.
11012         * sysdeps/i386/fpu/libm-test-ulps: Update.
11013         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11014         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11015         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11018         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11019         exceptions.
11020         * math/libm-test.inc ("Philosophy"): Update comment about
11021         exception testing.
11022         (UNDERFLOW_EXCEPTION): New macro.
11023         (UNDERFLOW_EXCEPTION_OK): Likewise.
11024         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11025         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11026         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11027         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11028         (INVALID_EXCEPTION_OK): Update value.
11029         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11030         (OVERFLOW_EXCEPTION_OK): Likewise.
11031         (IGNORE_ZERO_INF_SIGN): Likewise.
11032         (test_exceptions): Handle underflow exceptions.
11033         (acos_test): Update for underflow exception expectations.
11034         (cexp_test): Likewise.
11035         (clog_test): Likewise.
11036         (clog10_test): Likewise.
11037         (csqrt_test): Likewise.
11038         (ctan_test): Likewise.
11039         (ctanh_test): Likewise.
11040         (exp_test): Likewise.
11041         (exp10_test): Likewise.
11042         (exp2_test): Likewise.
11043         (expm1_test): Likewise.
11044         (fma_test): Likewise.
11045         (j0_test): Likewise.
11046         (jn_test): Likewise.
11047         (nexttoward_test): Likewise.
11048         (pow_test): Likewise.
11049         (scalbn_test): Likewise.
11050         (scalbln_test): Likewise.
11051         (tan_test): Likewise.
11052         (y1_test): Likewise.
11053         * sysdeps/i386/fpu/libm-test-ulps: Update.
11054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11056 2012-05-23  David S. Miller  <davem@davemloft.net>
11058         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11059         (__libc_sigaction): Remove unused local variables.
11061 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11063         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11065 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11067         mktime: avoid signed integer overflow
11068         * time/mktime.c (__mktime_internal): Do not mishandle the case
11069         where diff == INT_MIN.
11071         mktime: simplify computation of average
11072         * time/mktime.c (ranged_convert): Use new time_t_avg function
11073         instead of rolling our own (probably-slower) code.
11075         mktime: do not assume signed right shift propagates sign bit
11076         * time/mktime.c (isdst_differ): New static function.
11077         (__mktime_internal): No need to normalize tm_isdst now.
11078         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11079         tm_isdst values.
11081         mktime: merge another wrapv change from gnulib
11082         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11083         from some compilers.
11085         mktime: remove incorrect attempt at unusual arithmetics
11086         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11087         The code didn't really work on such machines anyway.
11088         (TYPE_MINIMUM): Assume two's complement.
11089         (twos_complement_arithmetic): Verify that long_int and time_t
11090         are two's complement (or unsigned, in the latter case).
11092         mktime: check signed shifts on long_int and time_t, too
11093         * time/mktime.c (SHR): Check that shifts work as desired
11094         on the types long_int and time_t too, as SHR is used on
11095         such types.
11097         mktime: do not assume 'long' is wide enough
11098         * time/mktime.c (verify): Move decl up.
11099         (long_int): New type.
11100         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11101         to remove assumption in the code that 'long' is wide enough to
11102         store year values.  This assumption is not true on x32 and on
11103         some non-glibc platforms.
11105         mktime: merge wrapv change from gnulib
11106         * time/mktime.c (WRAPV): New macro.
11107         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11108         (guess_time_tm, __mktime_internal): Do not assume that signed
11109         integer overflow wraps around; modern compilers generate code
11110         where this assumption is no longer valid.
11112 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11114         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11115         Replace "jmp L(pseudo_end)" with "ret".
11116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11117         Likewise.
11119 2012-05-23  Andreas Jaeger  <aj@suse.de>
11121         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11122         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11124 2012-05-23  Andreas Jaeger  <aj@suse.de>
11125             Maximilian Attems  <max@stro.at>
11127         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11128         New macros.
11130 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11132         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11133         code so that pseudo_end is just ret and the stack pointer is
11134         correct also for static library in error case.
11136 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11138         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11139         move to syscalls.list.
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11145         * manual/install.texi (Running make install): Do not mention Linux
11146         kernel version for which pt_chown is not needed.
11147         (Linux): Do not mention problems with nscd with 2.0 kernels.
11148         * INSTALL: Regenerated.
11150 2012-05-23  Andreas Jaeger  <aj@suse.de>
11152         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11153         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11154         macro.
11155         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11156         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11157         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11158         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11159         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11160         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11161         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11162         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11163         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11164         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11165         * sysdeps/unix/sysv/linux/bits/in.h
11166         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11168 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11170         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11171         (PREPARE_VERSION): Just use assert instead, it will be elided
11172         under [NDEBUG] anyway.
11174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11176         * sysdeps/unix/sysv/linux/Makefile: Include
11177         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11178         (sysdep_routines): Remove sysctl.
11179         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11180         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11181         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11182         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11183         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11185 2012-05-22  Andreas Jaeger  <aj@suse.de>
11187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11188         that pseudo_end is just ret and the stack pointer is correct also
11189         for static library in error case.
11191 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11193         [BZ #14122]
11194         * nss/nsswitch.c (defconfig_entries): New variable.
11195         (__nss_database_lookup): Don't leak defconfig entries.
11196         (nss_parse_service_list): Don't leak on error paths.
11197         (free_database_entries): New function.
11198         (free_defconfig): New function.
11199         (free_mem): Move common code to free_database_entries.
11201 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11203         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11204         Add arch_prctl.
11205         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11207         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11208         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11209         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11210         New macro.
11211         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11212         (INTERNAL_SYSCALL_TYPES): Likewise.
11213         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11214         (LOAD_REGS_TYPES_[1-6]): Likewise.
11215         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11216         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11218 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11220         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11221         copysignl for GLIBC_2_0.
11222         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11223         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11225         logbl for GLIBC_2_0.
11226         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11227         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11229 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11231         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11232         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11234         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11235         Use "neg %eax".
11237         * time/mktime.c: Update copyright years.
11239 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11241         mktime: merge comment-quoting-style change from gnulib
11242         * time/mktime.c: Quote 'like this' in comments.
11243         The GNU coding standards suggest that we no longer quote `like this',
11244         as "`" and "'" are typically rendered asymmetrically nowadays.
11245         The typical gnulib style is to quote 'like this' when quoting
11246         code, and "like this" when quoting English.
11248         * time/mktime.c (compile-command): Add "-I.".
11250         mktime: merge mktime-internal.h change from gnulib
11251         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11253         mktime: merge time_r change from gnulib
11254         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11256         mktime: merge DEBUG change from gnulib
11257         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11258         case system <time.h> has a #define.
11260         mktime: merge <sys/types.h> change from gnulib
11261         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11262         since <time.t> is now guaranteed to define time_t.
11264         mktime: merge HAVE_CONFIG_H change from gnulib
11265         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11267 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11270         Use "neg %eax".
11272         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11273         __rlim_t cast.
11274         (struct rusage): Use anonymous union to pad each field to
11275         __syscall_slong_t.
11277 2012-05-21  David S. Miller  <davem@davemloft.net>
11279         * Makefules (o-iterator): Remove .s cases.
11280         (compile-command.s): Delete.
11281         (COMPILE.s): Delete.
11282         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11284 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
11286         * configure.in (libc_cv_predef_stack_protector): Only consider
11287         "foobar" and "__stack_chk_fail" lines in libc_undefs.
11288         * configure: Regenerated.
11290 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11293         New macro.  Use R*LP on int and pointer.
11294         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
11295         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11296         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
11297         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11299         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11300         [__WORDSIZE_TIME64_COMPAT32] instead of
11301         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11302         (struct utmp): Likewise.
11303         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11304         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11305         Renamed to ...
11306         (__WORDSIZE_TIME64_COMPAT32): This.
11307         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11308         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11309         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11310         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11311         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11312         (__WORDSIZE_TIME64_COMPAT32): New macro.
11314 2012-05-21  Andreas Jaeger  <aj@suse.de>
11316         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11317         only if [SHARED]. Add prototype for __wcschr_ia32.
11319 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11321         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11322         of %rbp unmolested in the jmp_buf while mangling the low bits.
11323         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11324         unmolested high bits of %rbp while demangling the low bits.
11325         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11327 2012-05-21  Andreas Jaeger  <aj@suse.de>
11329         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11330         * sunrpc/svc_simple.c: Use it for registerrpc.
11331         * sunrpc/xcrypt.c: Use it for passwd2des.
11333         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11335 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11337         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11338         Don't define if [__SYSCALL_WORDSIZE != 32].
11339         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11340         New macro.
11342 2012-05-21  Bruno Haible  <bruno@clisp.org>
11343             Andreas Jaeger  <aj@suse.de>
11345         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11346         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11347         inptr and inend for must_buffer_ch.
11348         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11349         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11350         * stdio-common/Makefile (tests): Remove bug15.
11351         (bug15-ENV): Remove macro.
11352         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11353         anymore.
11355 2012-05-19  Andreas Jaeger  <aj@suse.de>
11356             Roland McGrath  <roland@hack.frob.com>
11358         * manual/contrib.texi: Completely rewritten. It contains now an
11359         alphabetical list of contributors and their contributions.
11361 2012-05-21  Richard Henderson  <rth@twiddle.net>
11363         * misc/getauxval.c (__getauxval): Use unsigned long int.
11364         * misc/sys/auxv.h: Include <sys/cdefs.h>.
11365         (getauxval): Use unsigned long int.
11367 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
11369         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11371 2012-05-21  Roland McGrath  <roland@hack.frob.com>
11373         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11374         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11375         __alignof__ (long double).
11377 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11381 2012-05-20  Richard Henderson  <rth@twiddle.net>
11383         * misc/getauxval.c: New file.
11384         * misc/sys/auxv.h: New file.
11385         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11386         (routines): Add getauxval.
11387         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11388         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11389         * elf/dl-sysdep.c (_dl_auxv): Remove.
11390         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11391         * elf/dl-support.c (_dl_auxv): New variable.
11392         (_dl_aux_init): Initialize it.
11393         * manual/startup.texi (Auxiliary Vector): New node.
11394         * sysdeps/generic/bits/hwcap.h: New file.
11395         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11396         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
11397         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11398         * sysdeps/sparc/sysdep.h: ... here.  Include it.
11399         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11400         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
11401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11402         Update.
11403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11406         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11412 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11416 2012-05-19  David S. Miller  <davem@davemloft.net>
11418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11420 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11422         [BZ #14123]
11423         * math/s_ccosh.c: Include <float.h>
11424         (__ccosh): Avoid internal overflow calculating sinh and cosh
11425         values before multiplying by sin and cos values.
11426         * math/s_ccoshf.c: Likewise.
11427         * math/s_ccoshl.c: Likewise.
11428         * math/s_csin.c: Likewise.
11429         * math/s_csinf.c: Likewise.
11430         * math/s_csinl.c: Likewise.
11431         * math/s_csinh.c: Likewise.
11432         * math/s_csinhf.c: Likewise.
11433         * math/s_csinhl.c: Likewise.
11434         * math/libm-test.inc (ccos_test): Add more tests.
11435         (ccosh_test): Likewise.
11436         (csin_test): Likewise.
11437         (csinh_test): Likewise.
11438         * sysdeps/i386/fpu/libm-test-ulps: Update.
11439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11441 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11443         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11444         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11446         * sysdeps/x86_64/x32/_itoa.h: Add comment.
11448 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
11451         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
11452         * sysdeps/powerpc/soft-fp/Versions: Likewise.
11453         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
11454         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
11455         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
11456         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
11457         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
11458         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
11459         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
11460         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
11461         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
11462         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
11463         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
11464         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
11465         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
11466         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
11467         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
11468         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
11469         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
11470         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
11471         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
11472         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
11473         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
11474         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
11475         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
11476         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
11477         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
11478         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
11479         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
11480         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
11482 2012-05-18  Andreas Jaeger  <aj@suse.de>
11484         * csu/.gitignore: Delete.
11486 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11488         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
11489         (timex): Use __syscall_slong_t.
11491 2012-05-18  Andreas Jaeger  <aj@suse.de>
11492             Carlos O'Donell  <carlos_odonell@mentor.com>
11494         * manual/install.texi (Configuring and compiling): Update
11495         description about files modified in the source directory.
11496         * INSTALL: Regenerated.
11498 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11500         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
11501         value.  Use "or" to set return value to -1.
11502         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
11503         negate return value.
11505 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11507         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
11508         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
11509         failure if the compiler has Graphite support disabled.
11510         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
11511         Likewise.
11512         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
11513         CFLAGS-memmove.c): Likewise.
11514         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
11515         Likewise.
11517 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11519         * sysdeps/x86_64/x32/_itoa.h: New file.
11521         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
11522         getdents system call only if kernel and user dirents have the
11523         same d_ino and d_off.
11525         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11526         LLONG_MAX != LONG_MAX.
11527         (_itoa_word): Use _ITOA_WORD_TYPE on value.
11528         (_fitoa_word): Likewise.
11530         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
11531         years.
11532         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
11533         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
11534         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
11536         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
11537         include <bits/wordsize.h>.  Check __x86_64__ instead of
11538         __WORDSIZE.
11539         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
11540         if __x86_64__ is defined.  Use anonymous union on fpstate.
11542         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
11543         anonymous union.
11545 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
11547         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11548         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
11549         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
11550         Refer to _rtld_local_ro instead of _rtld_global_ro.
11551         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
11552         Likewise.
11553         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
11554         Likewise.
11555         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
11556         Likewise.
11557         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
11558         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
11559         of _rtld_global, and rtld_progname instead of _dl_argv[0].
11561         * sysdeps/powerpc/powerpc32/dl-machine.c
11562         (__elf_machine_runtime_setup) [PROF]: Don't reference
11563         _dl_prof_resolve.
11565 2012-05-18  Andreas Jaeger  <aj@suse.de>
11567         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
11568         function only available for GCCs before 3.4 since GCC 3.4
11569         introduced a builtin.
11570         (lrint): Likewise.
11571         (llrintf): Likewise.
11572         (llrint): Likewise.
11573         (fmaxf): Likewise.
11574         (fmax): Likewise.
11575         (fminf): Likewise.
11576         (fmin): Likewise.
11577         (rint): Likewise.
11578         (rintf): Likewise.
11579         (nearbyint): Likewise.
11580         (nearbyintf): Likewise.
11581         (ceil): Likewise.
11582         (ceilf): Likewise.
11583         (floor): Likewise.
11584         (floorf): Likewise.
11586 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11588         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
11589         on both fields and cast pointer to __syscall_ulong_t.
11591         * bits/types.h (__fsword_t): New type.
11592         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
11593         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
11594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11595         (__FSWORD_T_TYPE): Likewise.
11596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11597         (__FSWORD_T_TYPE): Likewise.
11598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11599         (__FSWORD_T_TYPE): Likewise.
11600         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
11601         (__FSWORD_T_TYPE): Likewise.
11602         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
11603         __SWORD_TYPE with __fsword_t.
11604         (statfs64): Likewise.
11606 2012-05-17  David S. Miller  <davem@davemloft.net>
11608         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
11610 2012-05-17  Andreas Jaeger  <aj@suse.de>
11612         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
11613         warning.
11615 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11617         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
11619 2012-05-17  Andreas Jaeger  <aj@suse.de>
11621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
11622         when it is used.
11624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11626         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
11628 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11630         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
11631         * sysdeps/x86_64/tst-mallocalign1.c: New file.
11633 2012-05-17  Andreas Jaeger  <aj@suse.de>
11634             Carlos O'Donell  <carlos_odonell@mentor.com>
11636         [BZ #14059]
11637         * sysdeps/x86_64/multiarch/init-arch.h
11638         (bit_YMM_Usable): Rename to...
11639         (bit_AVX_Usable): ... this.
11640         (bit_FMA4_Usable): New macro.
11641         (bit_XMM_state): New macro.
11642         (bit_YMM_state): New macro.
11643         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11644         [__ASSEMBLER__] (index_AVX_Usable): ... this.
11645         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11646         (CPUID_OSXSAVE): New macro.
11647         (CPUID_AVX): New macro.
11648         (CPUID_FMA4): New macro.
11649         (index_YMM_Usable): Rename to...
11650         (index_AVX_Usable): ... this.
11651         (HAS_AVX): Use HAS_ARCH_FEATURE.
11652         (HAS_FMA4): Likewise.
11653         (HAS_YMM_USABLE): Remove.
11654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11655         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11656         are present.
11657         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11658         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11659         * sysdeps/x86_64/multiarch/Makefile: Likewise.
11660         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11661         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11663 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
11665         * math/libm-test.c: Support platforms without multiple rounding modes.
11666         * math/bug-nextafter.c: Support platforms without FP exceptions.
11667         * math/bug-nexttoward.c: Likewise.
11668         * math/test-fenv.c: Likewise.
11669         * math/test-misc.c: Likewise.
11670         * stdlib/bug-getcontext.c: Likewise.
11672 2012-05-17  Andreas Jaeger  <aj@suse.de>
11674         * manual/examples/search.c (critter_cmp): Change signature to
11675         avoid warnings.
11676         * manual/string.texi (Collation Functions): Likewise.
11678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11680         * bits/types.h: Fold copyright years.
11681         * bits/typesizes.h: Likewise.
11682         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11686         * time/time.h: Likewise.
11688 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
11690         [BZ #208]
11691         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11692         in instead of returning them.  Return void.
11693         (__libc_mallinfo): Accumulate over all arenas.
11694         (__malloc_stats): Adjust for change in int_mallinfo interface.
11696 2012-05-16  Roland McGrath  <roland@hack.frob.com>
11698         [BZ #10375]
11699         * configure.in (NM): Add AC_CHECK_TOOL for it.
11700         (libc_extra_cflags): New substituted variable.
11701         Check for -fstack-protector being used implicitly.
11702         * configure: Regenerated.
11703         * config.make.in (config-extra-cflags): New variable,
11704         gets @libc_extra_cflags@.
11705         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11707         [BZ #10375]
11708         * configure.in: Check for _FORTIFY_SOURCE being predefined.
11709         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11710         * configure: Regenerated.
11711         * config.make.in (CPPUNDEFS): New substituted variable.
11712         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11713         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11714         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11718         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11719         (mq_attr): Use __syscall_slong_t.
11721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11724         Check __x86_64__ instead of __WORDSIZE.
11725         (_STAT_VER_LINUX): Likewise.
11726         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
11727         __syscall_ulong_t and __syscall_slong_t.
11728         (stat64): Likewise.
11730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11732         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11736         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11740         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11741         __syscall_ulong_t.
11743         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11744         include <bits/wordsize.h>.  Check __x86_64__ instead of
11745         __WORDSIZE.
11746         (greg_t): Use "__extension__ long long int" if __x86_64__ is
11747         defined.
11748         (mcontext_t): Replace "unsigned long" with "unsigned long long".
11750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11751         include <bits/wordsize.h>.  Check __x86_64__ instead of
11752         __WORDSIZE.
11753         (user_regs_struct): Use "__extension__ unsigned long long"
11754         instead of "unsigned long" if __x86_64__ is defined.
11755         (user): Likewise.  Pad after pointer field if __ILP32__ is
11756         defined.
11758 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
11760         * configure.in (makeinfo): Require version 4.5 or later.  Allow
11761         versions 5 to 9.
11762         * configure: Regenerated.
11763         * manual/install.texi (texinfo): Increase version requirement to
11764         4.5 or later.
11765         * INSTALL: Regenerated.
11767         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11771         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11773         * sysdeps/x86_64/x32/ffs.c: New file.
11775         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11776         __syscall_ulong_t.
11777         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11778         defined.  Use __syscall_ulong_t.
11779         (shminfo): Use __syscall_ulong_t.
11780         (shm_info): Likewise.
11782         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11783         __syscall_ulong_t.
11785         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11786         <bits/wordsize.h>.
11787         (msgqnum_t): Use __syscall_ulong_t.
11788         (msglen_t): Likewise.
11789         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
11790         __syscall_ulong_t.
11792         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11793         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11795         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11797         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11798         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11800         * sysvipc/sys/msg.h (msgbuf): Replace long int with
11801         __syscall_slong_t.
11803         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11804         include <bits/wordsize.h>.  Check __x86_64__ instead of
11805         __WORDSIZE.
11807         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11808         "unsigned long long int" if __x86_64__ is defined.
11809         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11812         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
11813         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11815         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11816         <stdint.h>.
11817         (GET_PC): Cast to uintptr_t first.
11818         (GET_FRAME): Likewise.
11819         (GET_STACK): Likewise.
11821         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11822         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11823         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11824         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11825         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11826         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11827         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11828         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11829         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11830         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11831         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11832         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11833         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11834         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11835         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11836         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11837         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11838         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11839         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11840         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11841         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11842         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11843         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11844         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11845         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11846         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11847         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11848         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11849         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11851 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
11853         * Makerules (+depfiles): Also collect depfiles from .oS in
11854         $(extra-objs).
11855         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11856         .oS, $(libnldbl-routines)).
11858         * Makerules (native-compile-mkdep-flags): Define.
11859         * sunrpc/Makefile (extra-objs): Add $(addprefix
11860         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11861         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11862         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
11863         calling $(make-target-directory).
11865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11867         * bits/types.h (__snseconds_t): Removed.
11868         * time/time.h (struct timespec): Replace __snseconds_t with
11869         __syscall_slong_t.
11870         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11871         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11872         Likewise.
11873         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11874         (__SNSECONDS_T_TYPE): Likewise.
11875         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11876         (__SNSECONDS_T_TYPE): Likewise.
11877         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11878         (__SNSECONDS_T_TYPE): Likewise.
11880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11882         * sysdeps/mach/hurd/bits/typesizes.h
11883         (__SYSCALL_SLONG_TYPE): New macro.
11884         (__SYSCALL_ULONG_TYPE): Likewise.
11886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11888         * bits/types.h (__syscall_slong_t): New type.
11889         (__syscall_ulong_t): Likewise.
11891         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11892         (__SYSCALL_ULONG_TYPE): Likewise.
11893         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11894         (__SYSCALL_SLONG_TYPE): Likewise.
11895         (__SYSCALL_ULONG_TYPE): Likewise.
11896         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11897         (__SYSCALL_SLONG_TYPE): Likewise.
11898         (__SYSCALL_ULONG_TYPE): Likewise.
11899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11900         (__SYSCALL_SLONG_TYPE): Likewise.
11901         (__SYSCALL_ULONG_TYPE): Likewise.
11903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11905         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11906         Add sigaltstack-offsets.sym.
11907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11908         <sigaltstack-offsets.h>.
11909         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
11910         longjmp_msg pointer.
11911         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
11912         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11913         signal stack.
11914         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11916 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
11918         * elf/stackguard-macros.h: Remove file.
11919         * sysdeps/generic/stackguard-macros.h: New file.
11920         * sysdeps/i386/stackguard-macros.h: Likewise.
11921         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11922         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11923         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11924         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11925         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11926         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11927         * sysdeps/x86_64/stackguard-macros.h: Likewise.
11928         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11929         <elf/stackguard-macros.h>.
11931         [BZ #14109]
11932         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11933         __aligned__ in attribute.
11934         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11935         (gregset_t): Likewise.
11937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11939         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11940         * sysdeps/x86_64/64/Implies-after: Here.  New file.
11941         * sysdeps/x86_64/x32/Implies-after: New file.
11943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11945         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11946         and access return value for _dl_profile_fixup.  Use R10_LP to
11947         load frame size.
11949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11951         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11955         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11956         * sysdeps/x86_64/x32/sysdep.h: New file.
11958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11960         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11961         * sysdeps/x86_64/setjmp.S: Likewise.
11963 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11965         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11966         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11967         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11968         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11969         remove unused global constant.
11971 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
11973         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11974         include of <not-cancel.h>.
11976 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11978         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11980 2012-05-15  Jeff Law  <law@redhat.com>
11981             Andreas Jaeger  <aj@suse.de>
11983         [BZ #13594]
11984         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11985         out from...
11986         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11987         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11988         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11989         code changing __hst_map_handle.map.
11991 2012-05-15  Roland McGrath  <roland@hack.frob.com>
11993         * configure.in (sysnames): Look for Implies-before and Implies-after
11994         files.
11995         * configure: Regenerated.
11997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
11999         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12000         8-byte data alignment with LP_SIZE alignment.
12002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12004         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12005         into R10_LP.
12007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12009         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12013         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12014         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12016         Likewise.
12017         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12021         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12022         (stackinfo_sub_sp): Likewise.
12024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12026         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12027         RAX_LP.
12029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12032         into R*_LP.
12034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12036         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12037         sizes into R*_LP.
12039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12041         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12045         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12046         into R11_LP and load __x86_64_shared_cache_size_half into
12047         R8_LP.
12049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12051         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12052         R8_LP.
12054 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12057         logb for POWER7.
12058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12059         logbf for POWER7.
12060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12061         logbl for POWER7.
12062         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12063         powerpc32/power7/fpu/s_logb.c via #include.
12064         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12065         powerpc32/power7/fpu/s_logbf.c via #include.
12066         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12067         powerpc32/power7/fpu/s_logbl.c via #include.
12069 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12071         * README.libm: Remove file.
12073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12075         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12076         count for x32.  Use R*_LP and omit operand-size suffix.
12078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12080         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12081         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12082         * sysdeps/x86_64/x32/shlib-versions: New file.
12084 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12086         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12087         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12088         Use _dl_fatal_printf instead.
12090 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12092         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12093         set if not set by the user.  Do not allow for being unset.
12094         * sysdeps/unix/sysv/linux/configure: Regenerated.
12096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12098         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12099         the `q' suffix from lea and replace .quad with ASM_ADDR.
12101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12104         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12105         instead of $17.
12106         (PTR_DEMANGLE): Likewise.
12108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12110         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12111         (LP_OP): Likewise.
12112         (ASM_ADDR): Likewise.
12113         (RAX_LP): Likewise.
12114         (RBP_LP): Likewise.
12115         (RBX_LP): Likewise.
12116         (RCX_LP): Likewise.
12117         (RDI_LP): Likewise.
12118         (RSI_LP): Likewise.
12119         (RSP_LP): Likewise.
12120         (R8_LP): Likewise.
12121         (R9_LP): Likewise.
12122         (R10_LP): Likewise.
12123         (R10_LP): Likewise.
12124         (R11_LP): Likewise.
12125         (R12_LP): Likewise.
12126         (R13_LP): Likewise.
12127         (R14_LP): Likewise.
12128         (R15_LP): Likewise.
12130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12132         * sysdeps/x86_64/x32/dl-machine.h: New file.
12134 2012-05-14  Andreas Jaeger  <aj@suse.de>
12136         * manual/Makefile (subdir): Remove export of subdir.
12137         (all): Remove target.
12138         (.PHONY): Remove all from list.
12139         (mkinstalldirs): Remove.
12140         (.PHONY): Remove installdirs from list.
12141         ($(inst_infodir)/libc.info): Use make-target-directory.
12142         (installdirs): Remove.
12143         (subdir_%): Remove.
12144         (glibc-targets): Remove.
12145         (lib): Remove.
12146         (stubs): Remove.
12147         ($(objpfx)stubs ../po/manual.pot): Remove.
12148         ($(objpfx)stamp%): Remove.
12149         (make-target-directory): Remove.
12150         (subdir_install): Remove.
12151         (routines): Remove.
12152         (aux): Remove.
12153         (sources): Remove.
12154         (objects): Remove.
12155         (headers): Remove.
12157         [BZ #13750]
12158         * manual/.gitignore: Remove, it's not needed anymore.
12159         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12160         all files in it.
12161         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12162         directory.
12163         (texis): Renamed to $(objpfx)texis.
12164         (texis-path): New, contains path to generated files.
12165         (chapters.%): Use texis-path for complete path, add extra argument
12166         libc-texinfo.sh.
12167         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12168         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12169         (summary,texi, stamp-summary): Use complete path of
12170         files. Generate files in build dir.
12171         (dir-add.texi): Build in build dir.
12172         (libm-err.texi,stamp-libm-err): Likewise.
12173         (version.texi, stamp-version): Likewise.
12174         (.%c.texi): Likewise.
12175         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12176         (mostlyclean): Remove target.
12177         (realclean): Remove target.
12178         (generated): Add new variable with contents from mostlyclean and
12179         realclean, remove entries duplicated in common-mostlyclean, add
12180         stamp-libm-err and stamp-version.
12181         (generated-dirs): Add libc directory.
12182         ($(inst_infodir)/libc.info): Install files from build dir.
12184         * manual/install.texi (Configuring and compiling): Adjust since
12185         the info files are not part of the tar ball anymore.
12187 2012-05-14  Andreas Jaeger  <aj@suse.de>
12189         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12190         variable.
12192 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12194         [BZ #13717]
12195         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12196         to 2.2.0 where earlier.
12197         * sysdeps/unix/sysv/linux/configure: Regenerated.
12198         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12199         Remove conditional code.
12200         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12201         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12202         Remove conditional code.
12203         [!__NR_lchown]: Likewise.
12204         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12205         [__NR_lchown]: Likewise.
12206         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12207         comment referencing __ASSUME_LCHOWN_SYSCALL.
12208         * sysdeps/unix/sysv/linux/i386/sigaction.c
12209         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12210         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12211         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12212         Remove conditional code.
12213         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12214         (__protocol_available): Remove #if 0 code.
12215         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12216         conditional code.
12217         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12218         * sysdeps/unix/sysv/linux/kernel-features.h
12219         (__ASSUME_GETCWD_SYSCALL): Don't define.
12220         (__ASSUME_REALTIME_SIGNALS): Likewise.
12221         (__ASSUME_PREAD_SYSCALL): Likewise.
12222         (__ASSUME_PWRITE_SYSCALL): Likewise.
12223         (__ASSUME_POLL_SYSCALL): Likewise.
12224         (__ASSUME_LCHOWN_SYSCALL): Likewise.
12225         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12226         non-SPARC.
12227         (__ASSUME_SIOCGIFNAME): Don't define.
12228         (__ASSUME_MSG_NOSIGNAL): Likewise.
12229         (__ASSUME_SENDFILE): Define unconditionally.
12230         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12231         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12232         conditional code.
12233         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12234         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12235         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12236         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12237         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12238         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12239         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12241         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12244         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12247         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12253         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12256         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12259         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12264         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12265         Remove conditional code.
12266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12267         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12268         Remove conditional code.
12269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12270         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12271         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12272         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12273         Remove conditional code.
12274         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12275         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12276         Remove conditional code.
12277         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12278         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12279         Remove conditional code.
12280         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12281         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12282         Remove conditional code.
12283         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12284         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12285         Remove conditional code.
12286         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12287         * sysdeps/unix/sysv/linux/sh/pwrite64.c
12288         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12290         * sysdeps/unix/sysv/linux/sigaction.c
12291         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12292         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12293         * sysdeps/unix/sysv/linux/sigpending.c
12294         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12295         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12296         * sysdeps/unix/sysv/linux/sigprocmask.c
12297         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12298         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12299         * sysdeps/unix/sysv/linux/sigsuspend.c
12300         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12301         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12302         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12303         (__libc_missing_rt_sigs): Remove.
12304         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12305         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12306         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12307         Remove conditional code.
12308         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12309         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12310         return 1.
12311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12312         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12313         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12314         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12316 2012-05-14  Andreas Jaeger  <aj@suse.de>
12318         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12319         it's not used in glibc.
12320         (__coshm1): Likewise.
12321         (__acosh1p): Likewise.
12322         (__sgn): Likewise.
12324         * manual/string.texi (Copying and Concatenation): Add missing
12325         variable in concat example.
12326         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12330         [BZ #14103]
12331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12332         __builtin_clzl with __builtin_clzll.
12334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12336         [BZ #14104]
12337         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12338         libc_freeres_ptr.
12340 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12342         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12343         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12344         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12345         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12347 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
12349         * NEWS: Update ia64 info.
12351 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
12353         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12354         used as bcopy.
12356 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
12358         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12359         * sysdeps/unix/syscalls.list (dup3): Likewise.
12360         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12361         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12363 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12365         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12366         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12368 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12370         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12371         thread pointer.
12372         (TLS_IE): Use mov/add instead of movq/addq to load thread
12373         pointer.
12374         (TLS_GD_PREFIX): New.
12375         (TLS_GD): Use it.
12377 2012-05-11  David S. Miller  <davem@davemloft.net>
12379         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12380         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12381         (_FPU_SETCW): Likewise.
12383 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12385         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12386         is 32-byte aligned.
12388 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
12390         [BZ #11837]
12391         * iconvdata/gb18030.c: Update tables.
12392         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
12393         characters specially.
12394         (BODY for TO_LOOP): Add encoding of missing ranges.
12396 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
12398         [BZ #13673]
12399         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12400         * sysdeps/mach/hurd/dup3.c: Likewise.
12401         * sysdeps/mach/hurd/readlinkat.c: Likewise.
12402         * sysdeps/powerpc/memmove.c:: Likewise.
12404 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12407         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12409 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12411         * elf/elf.h (R_X86_64_RELATIVE64): New.
12412         (R_X86_64_NUM): Updated.
12413         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12414         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
12415         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12416         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12417         tst-quad1pie tst-quad2pie
12418         (modules-names): Add tst-quadmod1 tst-quadmod2.
12419         ($(objpfx)tst-quad1): New dependency.
12420         ($(objpfx)tst-quad2): Likewise.
12421         ($(objpfx)tst-quad1pie): Likewise.
12422         ($(objpfx)tst-quad2pie): Likewise.
12423         * sysdeps/x86_64/tst-quad1.c: New file.
12424         * sysdeps/x86_64/tst-quad1pie.c: New file.
12425         * sysdeps/x86_64/tst-quad2.c: Likewise.
12426         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12427         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12428         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12429         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12430         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12434         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12435         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12436         * streams/stropts.h (t_scalar_t): Define type.
12438         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12439         (_PATH_PRESERVE): Set to "/var/lib".
12440         (_PATH_RWHODIR): Set to "/var/spool/rwho".
12442         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12443         instead of int.
12445         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12446         if __dir_mkfile succeeded.
12448         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12449         checking for _hurd_dtablesize.  Unlock it right after having
12450         finished _hurd_dtable allocation.
12452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12454         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
12455         * sysdeps/mach/hurd/configure: Regenerated.
12456         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
12457         special-casing to...
12458         * sysdeps/gnu/configure.in: ... this new file.
12459         * sysdeps/unix/sysv/linux/configure: Regenerated.
12460         * sysdeps/gnu/configure: New generated file.
12462         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
12463         for Linux: use nsec instead of usec, as well as:
12464         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
12465         members of type struct timespec.
12466         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
12467         New macros.
12468         (struct stat64): Likewise.
12469         (_STATBUF_ST_NSEC): New macro.
12470         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
12472         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12473         __strtoul_internal rather than strtoul.
12475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12477         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
12478         and reject them.
12480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12482         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
12483         which preserves existing values.
12484         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
12486 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12488         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
12489         TIMEOUT values.  Return EINVAL for NFDS values either negative or
12490         greater than FD_SETSIZE.
12492 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12494         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
12495         allocated, call __vm_protect to finish enabling the existing space, and
12496         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
12497         allocate the remainder.
12499 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12501         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
12502         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
12504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12506         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
12507         sysdeps/mach/hurd/readlink.c.
12509         * posix/tst-sysconf.c (posix_options): Only use
12510         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
12511         _POSIX_SYNCHRONIZED_IO when they are defined
12512         * sysdeps/mach/hurd/bits/posix_opt.h:
12513         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
12514         (_XOPEN_REALTIME): Undefine macro.
12515         (_XOPEN_REALTIME_THREADS): Undefine macro.
12516         (_XOPEN_SHM): Undefine macro.
12517         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
12518         macro to -1.
12519         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
12520         macro to -1.
12521         (_POSIX_ASYNC_IO): Undefine macro.
12522         (_POSIX_PRIORITIZED_IO): Undefine macro.
12523         (_POSIX_SPIN_LOCKS): Define macro to -1.
12525         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
12526         SA_NODEFER, SA_RESETHAND.
12527         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
12528         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
12529         F_DUPFD_CLOEXEC.
12531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12533         * elf/Makefile (pldd-modules): Define unconditionally.
12535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12537         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
12539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12541         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
12542         Return ENOENT when name is empty.
12543         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
12545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12547         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
12549         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
12551 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12553         Fix mlock in all cases except non-readable pages.
12554         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
12555         instead of VM_PROT_ALL as parameter to __vm_wire function.
12557         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
12558         (__mkdir): When path is `/', just fail with EEXIST.
12559         * sysdeps/mach/hurd/mkdirat.c: Likewise.
12561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12563         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
12564         <sys/uio.h> (for writev).
12565         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
12566         and <sys/param.h> (for MIN).
12568 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
12570         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
12571         REQUESTED_TIME.  Properly set the remaining time and return EINTR
12572         if interrupted.
12574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12576         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
12577         Depend on against $(link-rpcuserlibs).
12579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12581         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
12582         (__libc_stack_end): Do not use attribute_relro.
12583         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
12584         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
12585         to libthread-provided value.
12586         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
12587         attribute_relro.
12589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12591         [BZ #3748]
12592         * bits/libc-lock.h (__libc_once_get): New macro.
12593         * sysdeps/mach/bits/libc-lock.h: Likewise.
12594         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
12595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
12596         instead of using implementation details.
12598         * libio/fileops.c: Unconditionally include <kernel-features.h>.
12599         * libio/freopen.c: Likewise.
12600         * libio/freopen64.c: Likewise.
12601         * misc/syslog.c: Likewise.
12602         * nscd/connections.c: Likewise.
12603         * nscd/netgroupcache.c: Likewise.
12604         * sysdeps/posix/getcwd.c: Likewise.
12606 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12608         * math/w_ilogbf.c: Add #include <limits.h>.
12610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12612         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
12613         path instead of returning without unlocking.
12615         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
12616         immediate-write ioctls.
12617         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
12619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12621         * sysdeps/mach/hurd/i386/init-first.c (init): Use
12622         __builtin_frame_address instead of making assumptions about the
12623         location of the return address relative to DATA.  Force early load of
12624         the return address.
12625         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
12626         __builtin_frame_address.
12628         dup3 for GNU Hurd.
12629         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
12630         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
12631         implement dup3 and do some further code clean-ups.
12632         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
12633         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
12635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12637         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
12639         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
12640         HURD_CRITICAL_END around holding _hurd_dtable_lock.
12641         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
12642         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
12643         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12644         d->port.lock.
12646         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12647         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
12648         when handler == SIG_ERR, not when handler != SIG_ERR.
12650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12652         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12653         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12654         definitions.
12656         accept4 for GNU Hurd.
12657         * include/sys/socket.h (__libc_accept4): New prototype.
12658         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
12659         to implement __libc_accept4.
12660         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12661         __libc_accept4.
12662         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12664         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12665         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12666         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12667         signal-defines.sym.
12669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12671         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
12673 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
12675         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12676         assertion on O_CLOEXEC flag.
12677         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12678         * hurd/intern-fd.c: Likewise.
12679         * hurd/port2fd.c: Likewise.
12681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12683         [BZ #3906]
12684         * bits/in.h (IPV6_PKTINFO): Define new macro.
12685         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12687 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12689         [BZ #13954]
12690         [BZ #13955]
12691         [BZ #13956]
12692         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12694         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12695         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12697         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12698         * math/libm-test.inc (logb_test) : Additional logb tests.
12700 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
12701             Andreas Jaeger  <aj@suse.de>
12703         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12704         * configure: Regenerated.
12705         * config.h.in (LINK_OBSOLETE_RPC): New macro.
12706         * config.make.in (link-obsolete-rpc): New substituted variable.
12707         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12708         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12709         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12710         (shared-only-routines): Don't set it under [link-obsolete-rpc],
12711         so that libc.a contains the symbols.
12712         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12713         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12714         * sunrpc/auth_none.c: Likewise.
12715         * sunrpc/auth_unix.c: Likewise.
12716         * sunrpc/authdes_prot.c: Likewise.
12717         * sunrpc/authuxprot.c: Likewise.
12718         * sunrpc/clnt_gen.c: Likewise.
12719         * sunrpc/clnt_perr.c: Likewise.
12720         * sunrpc/clnt_raw.c: Likewise.
12721         * sunrpc/clnt_simp.c: Likewise.
12722         * sunrpc/clnt_tcp.c: Likewise.
12723         * sunrpc/clnt_udp.c: Likewise.
12724         * sunrpc/clnt_unix.c: Likewise.
12725         * sunrpc/des_crypt.c: Likewise.
12726         * sunrpc/des_soft.c: Likewise.
12727         * sunrpc/get_myaddr.c: Likewise.
12728         * sunrpc/key_call.c: Likewise.
12729         * sunrpc/key_prot.c: Likewise.
12730         * sunrpc/netname.c: Likewise.
12731         * sunrpc/pm_getmaps.c: Likewise.
12732         * sunrpc/pm_getport.c: Likewise.
12733         * sunrpc/pmap_clnt.c: Likewise.
12734         * sunrpc/pmap_prot.c: Likewise.
12735         * sunrpc/pmap_prot2.c: Likewise.
12736         * sunrpc/pmap_rmt.c: Likewise.
12737         * sunrpc/publickey.c: Likewise.
12738         * sunrpc/rpc_cmsg.c: Likewise.
12739         * sunrpc/rpc_common.c: Likewise.
12740         * sunrpc/rpc_dtable.c: Likewise.
12741         * sunrpc/rpc_prot.c: Likewise.
12742         * sunrpc/rpc_thread.c: Likewise.
12743         * sunrpc/rtime.c: Likewise.
12744         * sunrpc/svc.c: Likewise.
12745         * sunrpc/svc_auth.c: Likewise.
12746         * sunrpc/svc_raw.c: Likewise.
12747         * sunrpc/svc_run.c: Likewise.
12748         * sunrpc/svc_tcp.c: Likewise.
12749         * sunrpc/svc_udp.c: Likewise.
12750         * sunrpc/svc_unix.c: Likewise.
12751         * sunrpc/svcauth_des.c: Likewise.
12752         * sunrpc/xcrypt.c: Likewise.
12753         * sunrpc/xdr.c: Likewise.
12754         * sunrpc/xdr_array.c: Likewise.
12755         * sunrpc/xdr_float.c: Likewise.
12756         * sunrpc/xdr_intXX_t.c: Likewise.
12757         * sunrpc/xdr_mem.c: Likewise.
12758         * sunrpc/xdr_rec.c: Likewise.
12759         * sunrpc/xdr_ref.c: Likewise.
12760         * sunrpc/xdr_sizeof.c: Likewise.
12761         * sunrpc/xdr_stdio.c: Likewise.
12763 2012-05-10  Roland McGrath  <roland@hack.frob.com>
12765         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12766         change.  Update copyright years.
12768 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12770         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12772 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
12773             Joseph Myers  <joseph@codesourcery.com>
12774             Paul Pluzhnikov  <ppluzhnikov@google.com>
12776         [BZ #14012]
12777         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12778         requiring rpcgen.
12779         [cross-compiling] (extra-libs): Likewise.
12780         [cross-compiling] (extra-libs-others): Likewise.
12781         [cross-compiling] (librpcsvc-routines): Likewise.
12782         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12783         [cross-compiling] (omit-deps): Likewise.
12784         (sunrpc-CPPFLAGS): New variable.
12785         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12786         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12787         (cross-rpcgen-objs): New variable.
12788         (extra-objs): Append $(cross-rpcgen-objs).
12789         ($(cross-rpcgen-objs)): New rule.
12790         ($(objpfx)cross-rpcgen): Likewise.
12791         (rpcgen-cmd): Define to use $(built-program-file).  Expand
12792         comment.
12793         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12794         ($(objpfx)x%.stmp): Likewise.
12795         * sunrpc/proto.h [IS_IN_build] (_): Define.
12796         [IS_IN_build] (_libc_intl_domainname): Likewise.
12798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
12800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12801         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12802         and R_X86_64_TPOFF64.
12804 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
12806         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12807         sysdeps/unix/sysv/syscalls.list.
12808         (stime): Likewise.
12809         (utime): Likewise.
12810         * sysdeps/unix/sysv/syscalls.list: Remove file.
12812 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
12814         [BZ #3440]
12815         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12816         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12817         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12818         (__LC_IDENTIFICATION): Make these macros useful in #if
12819         expressions, as required by C99.
12821 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
12823         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12824         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
12825         after this.
12827 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
12829         * stdlib/longlong.h: Updated from GCC.
12831 2012-05-09  Andreas Jaeger  <aj@suse.de>
12833         * nscd/nscd.c (run_modes): Make named enum, reorder so that
12834         default is first entry.
12835         (run_mode): Set type.
12836         (main): Remove informal message about syslog.
12837         (options): Fix typo.
12839         [BZ #14053]
12840         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
12841         to asm.
12842         (lrint): Likewise.
12843         (llrintf): Likewise.
12844         (llrint): Likewise.
12845         (rint): Likewise.
12846         (rintf): Likewise.
12847         (nearbyint): Likewise.
12848         (nearbyintf): Likewise.
12850 2012-05-09  Andreas Jaeger  <aj@suse.de>
12851             Pedro Alves  <palves@redhat.com>
12853         * nscd/nscd.c (run_mode): Use enum.
12854         (main): Cleanup coding style issue.
12856 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
12857             Andreas Jaeger  <aj@suse.de>
12859         * nscd/nscd.c (go_background): Replaced with...
12860         (run_mode): ... this.
12861         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
12862         (options): Add -F --foreground.
12863         (main): Implement it.
12864         (parse_opt): Parse it.
12866 2012-05-09  Andreas Jaeger  <aj@suse.de>
12868         [BZ #14083]
12869         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12870         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12871         -Wconversion warning.
12872         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12873         Likewise.
12875 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
12877         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
12878         == 0.
12879         (LC_ALL): Use macro-int-constant.
12880         (LC_COLLATE): Likewise.
12881         (LC_CTYPE): Likewise.
12882         (LC_MESSAGES): Likewise.
12883         (LC_MONETARY): Likewise.
12884         (LC_NUMERIC): Likewise.
12885         (LC_TIME): Likewise.
12886         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12887         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12888         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12889         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12890         Specify type.
12891         [C99-based standards] (float_t): Expect type.
12892         [C99-based standards] (double_t): Expect type.
12893         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
12894         type.
12895         [C99-based standards] (HUGE_VALL): Likewise.
12896         [C99-based standards] (INFINITY): Likewise.
12897         [C99-based standards] (NAN): Likewise.
12898         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12899         [C99-based standards] (FP_NAN): Likewise.
12900         [C99-based standards] (FP_NORMAL): Likewise.
12901         [C99-based standards] (FP_SUBNORMAL): Likewise.
12902         [C99-based standards] (FP_ZERO): Likewise.
12903         [C99-based standards] (FP_FAST_FMA): Use
12904         optional-macro-int-constant.  Specify type.  Require == 1.
12905         [C99-based standards] (FP_FAST_FMAF): Likewise.
12906         [C99-based standards] (FP_FAST_FMAL): Likewise.
12907         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12908         [C99-based standards] (FP_ILOGBNAN): Likewise.
12909         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12910         Specify type.
12911         [C99-based standards] (MATH_ERREXCEPT): Likewise.
12912         [C99-based standards] (math_errhandling): Specify type.
12913         [ISO99 || ISO11] (signgam): Do not allow.
12914         [non-C99-based standards] (copysignf): Do not allow.
12915         [non-C99-based standards] (exp2f): Likewise.
12916         [non-C99-based standards] (log2f): Likewise.
12917         [non-C99-based standards] (modff): Allow.
12918         [non-C99-based standards] (erff): Do not allow.
12919         [non-C99-based standards] (erfcf): Likewise.
12920         [non-C99-based standards] (gammaf): Likewise.
12921         [non-C99-based standards] (hypotf): Likewise.
12922         [non-C99-based standards] (j0f): Likewise.
12923         [non-C99-based standards] (j1f): Likewise.
12924         [non-C99-based standards] (jnf): Likewise.
12925         [non-C99-based standards] (lgammaf): Likewise.
12926         [non-C99-based standards] (tgammaf): Likewise.
12927         [non-C99-based standards] (y0f): Likewise.
12928         [non-C99-based standards] (y1f): Likewise.
12929         [non-C99-based standards] (ynf): Likewise.
12930         [non-C99-based standards] (isnanf): Likewise.
12931         [non-C99-based standards] (acoshf): Likewise.
12932         [non-C99-based standards] (asinhf): Likewise.
12933         [non-C99-based standards] (atanhf): Likewise.
12934         [non-C99-based standards] (cbrtf): Likewise.
12935         [non-C99-based standards] (expm1f): Likewise.
12936         [non-C99-based standards] (ilogbf): Likewise.
12937         [non-C99-based standards] (log1pf): Likewise.
12938         [non-C99-based standards] (logbf): Likewise.
12939         [non-C99-based standards] (nextafterf): Likewise.
12940         [non-C99-based standards] (remainderf): Likewise.
12941         [non-C99-based standards] (rintf): Likewise.
12942         [non-C99-based standards] (scalbf): Likewise.
12943         [non-C99-based standards] (copysignl): Likewise.
12944         [non-C99-based standards] (exp2l): Likewise.
12945         [non-C99-based standards] (log2l): Likewise.
12946         [non-C99-based standards] (modfl): Allow.
12947         [non-C99-based standards] (erfl): Do not allow.
12948         [non-C99-based standards] (erfcl): Likewise.
12949         [non-C99-based standards] (gammal): Likewise.
12950         [non-C99-based standards] (hypotl): Likewise.
12951         [non-C99-based standards] (j0l): Likewise.
12952         [non-C99-based standards] (j1l): Likewise.
12953         [non-C99-based standards] (jnl): Likewise.
12954         [non-C99-based standards] (lgammal): Likewise.
12955         [non-C99-based standards] (tgammal): Likewise.
12956         [non-C99-based standards] (y0l): Likewise.
12957         [non-C99-based standards] (y1l): Likewise.
12958         [non-C99-based standards] (ynl): Likewise.
12959         [non-C99-based standards] (isnanl): Likewise.
12960         [non-C99-based standards] (acoshl): Likewise.
12961         [non-C99-based standards] (asinhl): Likewise.
12962         [non-C99-based standards] (atanhl): Likewise.
12963         [non-C99-based standards] (cbrtl): Likewise.
12964         [non-C99-based standards] (expm1l): Likewise.
12965         [non-C99-based standards] (ilogbl): Likewise.
12966         [non-C99-based standards] (log1pl): Likewise.
12967         [non-C99-based standards] (logbl): Likewise.
12968         [non-C99-based standards] (nextafterl): Likewise.
12969         [non-C99-based standards] (remainderl): Likewise.
12970         [non-C99-based standards] (rintl): Likewise.
12971         [non-C99-based standards] (scalbl): Likewise.
12972         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12973         [non-C99-based standards] (FP_*): Do not allow.
12974         [C99-based standards] (FP_*): Change to
12975         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12976         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12977         allow.
12978         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12979         (SIG_ERR): Likewise.
12980         [X/Open-based standards] (SIG_HOLD): Likewise.
12981         (SIG_IGN): Likewise.
12982         (SIGABRT): Use macro-int-constant.  Specify type.  Require
12983         positive value.
12984         (SIGFPE): Likewise.
12985         (SIGILL): Likewise.
12986         (SIGINT): Likewise.
12987         (SIGSEGV): Likewise.
12988         (SIGTER): Likewise.
12989         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12990         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12991         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12992         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12993         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12994         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12995         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12996         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12997         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12998         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12999         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13000         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13001         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13002         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13003         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13004         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13005         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13006         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13007         [X/Open-based standards] (SIGTRAP): Likewise.
13008         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13009         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13010         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13011         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13012         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13013         allow.
13015 2012-05-08  Ian Wienand  <ianw@vmware.com>
13017         [BZ #14080]
13018         * time/tzset.c (__tzset_parse_tz): Update default rules for
13019         daylight time changes in the Energy Policy Act of 2005.
13021 2012-05-09  Andreas Jaeger  <aj@suse.de>
13023         [BZ #13983]
13024         * elf/ldconfig.c (parse_conf): Change string to make clear that
13025         ldconfig only issued a warning if ld.so.conf does not exist.
13027 2012-05-08  David S. Miller  <davem@davemloft.net>
13029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13030         movxtod instead of popping the value on the stack.
13032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13034 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13036         * config.h.in: Add HAVE_ARM_PCS_VFP.
13038 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13040         [BZ #13979]
13041         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13042         checking but the checks are disabled for any reason.
13044 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13046         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13047         and ELF64_R_TYPE with ELFW(R_TYPE).
13049 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13051         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13052         (ulimit): Likewise.
13054         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13055         (settimeofday): Likewise.
13057 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13059         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13060         a struct th_u2 inside the union, and move tu_block/tu_code into
13061         a new th_u3 union of tu_block/tu_code inside of that.  Move
13062         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13063         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13064         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13065         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13066         (th_stuff): Change to th_u1.tu_stuff.
13067         (th_data): Define.
13068         (th_msg): Change to th_u1.th_u2.tu_data.
13070 2012-05-07  David S. Miller  <davem@davemloft.net>
13072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13074         [BZ #14074]
13075         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13076         (SETUP_PIC_REG): Use it.
13077         (SETUP_PIC_REG_LEAF): Use it.
13079 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13081         [BZ #13885]
13082         [BZ #13923]
13083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13084         USE_AS_EXPM1L.
13085         (EXPL_FINITE): Likewise.
13086         (FLDLOG): Likewise.
13087         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13088         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13089         e_expl.S.
13090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13091         USE_AS_EXPM1L.
13092         (EXPL_FINITE): Likewise.
13093         (FLDLOG): Likewise.
13094         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13095         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13096         e_expl.S.
13097         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13098         test of -max_value argument for long double.
13099         * sysdeps/i386/fpu/libm-test-ulps: Update.
13100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13102 2012-05-06  David S. Miller  <davem@davemloft.net>
13104         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13105         quad soft-float symbols whose references which are compiler
13106         generated.
13107         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13109 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13111         [BZ #13884]
13112         [BZ #13914]
13113         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13114         USE_AS_EXP10L.
13115         (EXPL_FINITE): Likewise.
13116         (FLDLOG): Likewise.
13117         (c0): Likewise.
13118         (c1): Likewise.
13119         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13120         Adjust comments for base varying.
13121         (__expl_finite): Change alias to EXPL_FINITE.
13122         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13123         e_expl.S.
13124         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13125         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13127         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13128         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13129         USE_AS_EXP10L.
13130         (EXPL_FINITE): Likewise.
13131         (FLDLOG): Likewise.
13132         (c0): Likewise.
13133         (c1): Likewise.
13134         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13135         Adjust comments for base varying.
13136         (__expl_finite): Change alias to EXPL_FINITE.
13137         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13138         tests for bugs.
13139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13141         [BZ #14064]
13142         * math/libm-test.inc (check_float_internal): Correct ulp
13143         calculation for subnormal expected results.
13145 2012-05-06  Andreas Jaeger  <aj@suse.de>
13147         * Makeconfig (+math-flags): New, set to -frounding-math.
13148         (+cflags): Add +math-flags so that all of glibc gets compiled with
13149         it.
13151         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13153 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13155         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13156         Disable one test.
13158         [BZ #13787]
13159         [BZ #13922]
13160         [BZ #14036]
13161         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13162         (__ieee754_expl): Allow for and saturate large arguments.
13163         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13164         (u_threshold): Likewise.
13165         (__exp): Call __ieee754_exp before checking for overflow and
13166         underflow.
13167         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13168         (u_threshold): Likewise.
13169         (__expf): Call __ieee754_expf before checking for overflow and
13170         underflow.
13171         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13172         (u_threshold): Likewise.
13173         (__expl): Call __ieee754_expl before checking for overflow and
13174         underflow.
13175         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13176         (__ieee754_expl): Allow for and saturate large arguments.
13177         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13178         missing overflow exception on overflow.
13179         (expm1_test): Do not allow missing overflow exception on overflow.
13181         * sysdeps/i386/fpu/e_expl.c: Move to ...
13182         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13183         rather than using inline asm.
13184         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13185         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13186         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13188         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13189         (nice): Likewise.
13190         (poll): Likewise.
13191         (signal): Likewise.
13192         (time): Likewise.
13193         (times): Likewise.
13195 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13197         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13198         sysdeps/unix/common/syscalls.list.
13199         (fchmod): Likewise.
13200         (fchown): Likewise.
13201         (ftruncate): Likewise.
13202         (getrusage): Likewise.
13203         (gettimeofday): Likewise.
13204         (setpgid): Likewise.
13205         (setregid): Likewise.
13206         (setreuid): Likewise.
13207         (sigaction): Likewise.
13208         (truncate): Likewise.
13209         (vhangup): Likewise.
13210         * sysdeps/unix/common/syscalls.list: Remove file.
13211         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13212         * sysdeps/unix/sysv/linux/Implies: Likewise.
13214 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13216         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13218         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13219         Moved to ...
13220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13221         Here.
13222         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13223         to ...
13224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13225         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13226         to ...
13227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13228         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13229         to ...
13230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13231         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13232         to ...
13233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13234         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13235         to ...
13236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13237         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13238         to ...
13239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13240         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13241         to ...
13242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13243         Here.
13244         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13245         to ...
13246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13247         Here.
13248         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13249         to ...
13250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13251         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13252         Moved to ...
13253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13254         Here.
13255         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13256         to ...
13257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13259 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13261         * sysdeps/unix/common/bits/dirent.h: Remove file.
13262         * sysdeps/unix/common/bits/fcntl.h: Likewise.
13264         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13265         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13266         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13267         * sysdeps/unix/bsd/isatty.c: Likewise.
13268         * sysdeps/unix/bsd/tcdrain.c: Likewise.
13269         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13270         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13272 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13274         [BZ #13563]
13275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13276         long double comparison inaccuracies.
13277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13280 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
13282         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13285 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13287         [BZ #14049]
13288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13289         nonzero digits before rounding a hex value.
13290         * stdlib/tst-strtod.c (tests): Add another test.
13292 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13294         * sysdeps/s390/fpu/libm-test-ulps: Update.
13296 2012-05-03  Andreas Jaeger  <aj@suse.de>
13298         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13299         does not get optimized out.
13300         (malloc_opt_barrier): New.
13302 2012-05-03  Andreas Jaeger  <aj@suse.de>
13303             Roland McGrath  <roland@hack.frob.com>
13305         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
13306         intermediate file deletion.
13307         (generated): Add .symlist files.
13309 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
13311         [BZ #13775]
13312         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13313         Redirect under this condition.
13314         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13315         [__USE_GNU] (__dprintf_chk): Not under this condition.
13316         [__USE_GNU] (__vdprintf_chk): Likewise.
13317         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13318         under this condition.
13319         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13320         [__USE_XOPEN2K8] (dprintf): Define under this condition.
13321         [__USE_XOPEN2K8] (vdprintf): Likewise.
13322         [__USE_GNU] (__dprintf_chk): Not under this condition.
13323         [__USE_GNU] (__vdprintf_chk): Likewise.
13324         [__USE_GNU] (dprintf): Likewise.
13325         [__USE_GNU] (vdprintf): Likewise.
13327 2012-05-03  Roland McGrath  <roland@hack.frob.com>
13329         * elf/Makefile (common-generated): Set this instead of generated for
13330         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
13331         $(all-built-dso)-derived lists.
13333 2012-05-03  Andreas Jaeger  <aj@suse.de>
13335         * sysdeps/i386/fpu/libm-test-ulps: Update.
13337         * FAQ: Removed.
13338         * FAQ.in: Likewise.
13339         * scripts/gen-FAQ.pl: Likewise.
13340         * manual/install.texi (Installation): Point to online location of
13341         FAQ.
13342         * Makefile (files-for-dist): Remove FAQ.
13343         (FAQ): Remove.
13345 2012-05-02  Allan McRae  <allan@archlinux.org>
13347         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13348         (LDFLAGS-reldepmod5.so): Likewise.
13349         (LDFLAGS-reldep6mod1.so): Likewise.
13350         (LDFLAGS-reldep6mod4.so): Likewise.
13351         (LDFLAGS-reldep8mod3.so): Likewise.
13352         (LDFLAGS-unload4mod1.so): Likewise.
13353         (LDFLAGS-unload4mod2.so): Likewise.
13354         (LDFLAGS-tst-initorder): Likewise.
13355         (LDFLAGS-tst-initordera2.so): Likewise.
13356         (LDFLAGS-tst-initordera3.so): Likewise.
13357         (LDFLAGS-tst-initordera4.so): Likewise.
13358         (LDFLAGS-tst-initorderb2.so): Likewise.
13359         (LDFLAGS-noload): Likewise.
13360         (LDFLAGS-next): Likewise.
13361         (LDFLAGS-order2mod1.so): Likewise.
13362         (LDFLAGS-order2mod2.so): Likewise.
13363         (LDFLAGS-tst-initorder2): Likewise.
13364         (LDFLAGS-tst-initorder2a.so): Likewise.
13365         (LDFLAGS-tst-initorder2b.so): Likewise.
13366         (LDFLAGS-tst-initorder2c.so): Likewise.
13367         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13369 2012-05-02  David S. Miller  <davem@davemloft.net>
13371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13373 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13375         [BZ #14055]
13376         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13378 2012-05-02  Andreas Jaeger  <aj@suse.de>
13380         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13381         since we manipulate rounding mode.
13382         (CPPFLAGS-test-idouble.c): Likewise.
13383         (CPPFLAGS-test-ifloat.c): Likewise.
13384         (CFLAGS-test-ldouble.c): Likewise.
13385         (CFLAGS-test-double.c): Likewise.
13386         (CFLAGS-test-float.c): Likewise.
13387         (CFLAGS-test-misc.c): Likewise.
13388         (CFLAGS-test-test-fenv.c): Likewise.
13390 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392         [BZ #2550]
13393         [BZ #2570]
13394         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13395         comparisons to determine direction to adjust input.
13397 2012-05-01  Roland McGrath  <roland@hack.frob.com>
13399         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13400         output to the target.
13402         * scripts/localplt.awk: New file.
13403         * elf/Makefile ($(objpfx)check-localplt): Target removed.
13404         (check-localplt-CFLAGS): Variable removed.
13405         ($(all-built-dso:=.jmprel)): New static pattern rule.
13406         (generated): Add those targets.
13407         (localplt-built-dso): New variable.
13408         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13410         * elf/check-localplt.c: File removed.
13412         * scripts/check-execstack.awk: New file.
13413         * elf/Makefile ($(objpfx)check-execstack): Target removed.
13414         (check-execstack-CFLAGS): Variable removed.
13415         ($(objpfx)check-execstack.h): Target removed.
13416         ($(objpfx)execstack-default): New target.
13417         (generated): Add that instead of check-execstack.h.
13418         ($(all-built-dso:=.phdr)): New static pattern rule.
13419         (generated): Add those targets.
13420         * elf/check-execstack.c: File removed.
13422         * scripts/check-textrel.awk: New file.
13423         * elf/Makefile ($(objpfx)check-textrel): Target removed.
13424         (check-textrel-CFLAGS): Variable removed.
13425         (all-built-dso): Use := to define.o
13426         ($(all-built-dso:=.dyn)): New static pattern rule.
13427         (generated): Add those targets.
13428         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13429         * config.make.in (READELF): New substituted variable.
13430         * elf/check-textrel.c: File removed.
13432 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13434         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13435         allow.
13436         * conform/data/ctype.h-data [C99-based standards] (isblank):
13437         Expect function.
13438         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13439         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13441         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13442         Specify type.  Require positive value.
13443         (EILSEQ): Likewise.
13444         (ERANGE): Likewise.
13445         [ISO || POSIX] (EILSEQ): Do not expect.
13446         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13447         Specify type.  Require positive value.
13448         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13449         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
13450         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
13451         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
13452         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
13453         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
13454         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
13455         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
13456         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
13457         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
13458         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
13459         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
13460         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
13461         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
13462         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
13463         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
13464         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
13465         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
13466         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
13467         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
13468         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
13469         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
13470         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
13471         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
13472         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
13473         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
13474         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
13475         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
13476         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
13477         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
13478         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
13479         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
13480         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
13481         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
13482         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
13483         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
13484         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
13485         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
13486         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
13487         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
13488         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
13489         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
13490         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
13491         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
13492         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
13493         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
13494         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
13495         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
13496         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
13497         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
13498         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
13499         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
13500         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
13501         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
13502         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
13503         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
13504         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
13505         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
13506         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
13507         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
13508         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
13509         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
13510         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
13511         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
13512         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
13513         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
13514         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
13515         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
13516         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
13517         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
13518         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
13519         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
13520         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
13521         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
13522         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
13523         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
13524         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
13525         Require >= 2.
13526         (FLT_ROUNDS): Expect as macro, not constant.
13527         (FLT_MANT_DIG): Use macro-int-constant.
13528         (DBL_MANT_DIG): Likewise.
13529         (LDBL_MANT_DIG): Likewise.
13530         (FLT_DIG): Likewise.
13531         (DBL_DIG): Likewise.
13532         (LDBL_DIG): Likewise.
13533         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
13534         (DBL_MIN_EXP): Likewise.
13535         (LDBL_MIN_EXP): Likewise.
13536         (FLT_MAX_EXP): Use macro-int-constant.
13537         (DBL_MAX_EXP): Likewise.
13538         (LDBL_MAX_EXP): Likewise.
13539         (FLT_MAX_10_EXP): Likewise.
13540         (DBL_MAX_10_EXP): Likewise.
13541         (LDBL_MAX_10_EXP): Likewise.
13542         (FLT_MAX): Use macro-constant.
13543         (DBL_MAX): Likewise.
13544         (LDBL_MAX): Likewise.
13545         (FLT_EPSILON): Use macro-constant.  Give upper bound.
13546         (DBL_EPSILON): Likewise.
13547         (LDBL_EPSILON): Likewise.
13548         (FLT_MIN): Likewise.
13549         (DBL_MIN): Likewise.
13550         (LDBL_MIN): Likewise.
13551         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
13552         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
13553         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
13554         [ISO11] (FLT_HAS_SUBNORM): Likewise.
13555         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
13556         [ISO11] (DBL_DECIMAL_DIG): Likewise.
13557         [ISO11] (FLT_DECIMAL_DIG): Likewise.
13558         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
13559         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
13560         [ISO11] (FLT_TRUE_MIN): Likewise.
13561         [ISO11] (LDBL_TRUE_MIN): Likewise.
13562         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13563         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
13564         (SCHAR_MIN): Use macro-int-constant.  Specify type.
13565         (SCHAR_MAX): Likewise.
13566         (UCHAR_MAX): Likewise.
13567         (CHAR_MIN): Likewise.
13568         (CHAR_MAX): Likewise.
13569         (MB_LEN_MAX): Use macro-int-constant.
13570         (SHRT_MIN): Use macro-int-constant.  Specify type.
13571         (SHRT_MAX): Likewise.
13572         (USHRT_MAX): Likewise.
13573         (INT_MAX): Likewise.
13574         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
13575         bound negative.
13576         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13577         bound with "U".
13578         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13579         bound with "L".
13580         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
13581         bound negative.  Suffix upper bound with "L".
13582         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
13583         bound with "UL".
13584         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
13585         Specify type.
13586         [C99-based standards] (LLONG_MAX): Likewise.
13587         [C99-based standards] (ULLONG_MAX): Likewise.
13588         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
13589         == 0.
13590         [ISO11] (max_align_t): Require type.
13591         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13593         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
13594         from $CFLAGS, without defining away __attribute__ calls.
13595         (checknamespace): Use $CFLAGS_namespace.
13597         * conform/conformtest.pl (@keywords): Only include C99 keywords
13598         for standards based on C99 or C11.
13600         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
13601         Disable tests.
13602         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
13603         UNIX98]: Likewise.
13605         * conform/conformtest.pl: Handle "macro-int-constant" and test for
13606         usability of symbols in #if.
13608         * conform/conformtest.pl: If macro or constant types start
13609         "promoted:", expect the symbol to be of the following type
13610         promoted by the integer promotions.
13612         * conform/conformtest.pl: Parse all "constant" and "macro" lines
13613         in one place.  Also handle "macro-constant".
13615         * conform/conformtest.pl: Only accept expected macro values with
13616         "==".  Parse all "macro" lines in one place.
13617         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
13619         * conform/conformtest.pl: Handle braced types on "constant" lines
13620         instead of handling "typed-constant".
13621         * conform/data/signal.h-data: Use "constant" instead of
13622         "typed-constant".
13624         * conform/conformtest.pl: Handle "optional-" at start of lines in
13625         one place rather than duplicating several cases.  Handle each
13626         format of "macro" line with initial "optional-".
13628         * conform/conformtest.pl: Only accept expected constant or
13629         optional-constant values with "==".  Parse all "constant" lines in
13630         one place.  Parse all "optional-constant" lines in one place.
13631         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
13632         * conform/data/fmtmsg.h-data: Likewise.
13633         * conform/data/netinet/in.h-data: Likewise.
13634         * conform/data/tar.h-data: Likewise.
13635         * conform/data/limits.h-data: Use "==" form on "constant" and
13636         "optional-constant" lines.
13638         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
13639         Use -std=c99 for XOPEN2K.
13640         (@knownproblems): Remove.
13641         (newtoken): Don't check %isknown.
13643         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13644         Do not expect macro.
13645         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13646         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13647         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13648         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13649         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13650         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13651         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13652         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13653         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13654         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13655         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13656         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13657         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13658         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13659         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13660         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13661         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13662         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13663         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13664         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13665         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13666         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13667         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13668         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13669         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13670         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13671         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13672         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13673         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13674         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13675         [XPG3] (acosh): Likewise.
13676         [XPG3] (asinh): Likewise.
13677         [XPG3] (atanh): Likewise.
13678         [XPG3] (cbrt): Likewise.
13679         [XPG3] (expm1): Likewise.
13680         [XPG3] (ilogb): Likewise.
13681         [XPG3] (log1p): Likewise.
13682         [XPG3] (logb): Likewise.
13683         [XPG3] (nextafter): Likewise.
13684         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13685         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13686         [XPG3] (remainder): Likewise.
13687         [XPG3] (rint): Likewise.
13688         [XPG3 || XPG4 || UNIX98] (round): Likewise.
13689         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13690         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13691         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13692         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13693         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13694         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13695         [UNIX98 || XOPEN2K] (scalb): Expect.
13696         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13697         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13698         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13699         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13700         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13701         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13702         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13703         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13704         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13705         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13706         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13707         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13708         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13709         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13710         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13711         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13712         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13713         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13714         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13715         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13716         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13717         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13718         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13719         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13720         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13721         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13722         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13723         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13724         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13725         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13726         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13727         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13728         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13729         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13730         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13731         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13732         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13733         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13734         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13735         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13736         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13737         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13738         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13739         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13740         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13741         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13742         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13743         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13744         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13745         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13746         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13747         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13748         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13749         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13750         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13751         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13752         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13753         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13754         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13755         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13756         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13757         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13758         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13759         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13760         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13761         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13762         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13763         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13764         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13765         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13766         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13767         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13768         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13769         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13770         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13771         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13772         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13773         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13774         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13775         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13776         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13777         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13778         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13779         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13780         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13781         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13782         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13783         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13784         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13785         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13786         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13787         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13788         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13789         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13790         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13791         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13792         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13793         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13794         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13795         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13796         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13797         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13798         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13799         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13800         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13801         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13802         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13803         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13804         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13805         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13806         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13807         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13808         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13809         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13810         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13811         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13812         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13813         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13814         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13815         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13816         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13817         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13818         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13819         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13820         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13821         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13822         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13823         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13824         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13825         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13826         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13827         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13828         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13829         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13830         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13831         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13832         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13834         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13835         _XOPEN_SOURCE_EXTENDED for XPG4.
13837         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13839         * Makeconfig (localtime): Remove variable.
13840         (inst_localtime-file): Likewise.
13842 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13845         Update.
13846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13847         Update.
13848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13849         Update.
13850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13851         Update.
13852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13853         Update.
13854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13855         Update.
13856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13857         Update.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13859         Update.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13861         Update.
13863 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
13865         [BZ #2550]
13866         [BZ #2570]
13867         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13868         comparisons to determine direction to adjust input.
13869         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13870         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13871         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13872         Likewise.
13873         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13874         Likewise.
13875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13876         Likewise.
13877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13878         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13879         Likewise.
13880         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13881         Likewise.
13882         * math/libm-test.inc (nexttoward_test): Add more tests.
13884 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13886         [BZ #14040]
13887         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13888         in version GLIBC_2.1, not GLIBC_2.0.
13889         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13890         Likewise.
13892 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
13894         [BZ #13942]
13895         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13896         (1 - x) * (1 + x).
13897         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13898         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13899         * math/libm-test.inc (acos_test): Add more tests.
13900         (asin_test): Likewise.
13901         * sysdeps/i386/fpu/libm-test-ulps: Update.
13902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13904         [BZ #14034]
13905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13906         of square root.
13907         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13908         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13909         * math/libm-test.inc (acos_test_tonearest): New function.
13910         (acos_test_towardzero): Likewise.
13911         (acos_test_downward): Likewise.
13912         (acos_test_upward): Likewise.
13913         (asin_test_tonearest): Likewise.
13914         (asin_test_towardzero): Likewise.
13915         (asin_test_downward): Likewise.
13916         (asin_test_upward): Likewise.
13917         (main): Call the new functions.
13918         * sysdeps/i386/fpu/libm-test-ulps: Update.
13919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13921         [BZ #13884]
13922         [BZ #13924]
13923         * math/e_exp10.c: Include <float.h>.
13924         (__ieee754_exp10): Handle underflow here rather than multiplying
13925         large negative argument by M_LN10.
13926         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13927         of __ieee754_expf.
13928         * math/e_exp10l.c: Include <float.h>.
13929         (__ieee754_exp10l): Handle underflow here rather than multiplying
13930         large negative argument by M_LN10l.
13931         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
13932         spurious overflow exception on underflow.
13934 2012-04-29  Marek Polacek  <polacek@redhat.com>
13936         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13937         (__fortify_function): New macro.
13938         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13939         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13940         __extern_always_inline.
13941         * libio/bits/stdio2.h: Likewise.
13942         * libio/bits/stdio.h: Likewise.
13943         * string/string.h: Likewise.
13944         * string/bits/string3.h: Likewise.
13945         * include/stdio.h: Likewise.
13946         * stdlib/bits/stdlib.h: Likewise.
13947         * stdlib/stdlib.h: Likewise.
13948         * rt/bits/mqueue2.h: Likewise.
13949         * rt/mqueue.h: Likewise.
13950         * posix/bits/unistd.h: Likewise.
13951         * posix/unistd.h: Likewise.
13952         * io/bits/poll2.h: Likewise.
13953         * io/bits/fcntl2.h: Likewise.
13954         * io/fcntl.h: Likewise.
13955         * io/sys/poll.h: Likewise.
13956         * misc/bits/syslog.h: Likewise.
13957         * misc/bits/syslog-ldbl.h: Likewise.
13958         * misc/sys/syslog.h: Likewise.
13959         * socket/bits/socket2.h: Likewise.
13960         * socket/sys/socket.h: Likewise.
13961         * debug/tst-chk1.c: Likewise.
13962         * wcsmbs/bits/wchar2.h: Likewise.
13963         * wcsmbs/bits/wchar-ldbl.h: Likewise.
13964         * wcsmbs/wchar.h: Likewise.
13966 2012-04-29  Andreas Jaeger  <aj@suse.de>
13968         * Makerules (tests): Remove enable-check-abi protection.
13969         (check-abi-warn): Remove.
13970         (check-abi-%): Remove check-abi-warn usage.
13972         * configure.in: Remove check-abi configure option.
13973         * configure: Regenerated.
13974         * config.make.in (enable-check-abi): Remove.
13976 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
13978         [BZ #14033]
13979         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13980         double functions to double *_finite functions.
13982         [BZ #13941]
13983         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13984         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13985         LDBL_MIN_EXP.
13986         * stdio-common/Makefile (tests): Add tst-sprintf3.
13987         * stdio-common/tst-sprintf3.c: New file.
13989         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13990         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13992 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
13994         * conform/conformtest.pl: Remove duplicate typed-constant
13995         handling.
13997 2012-04-28  David S. Miller  <davem@davemloft.net>
13999         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14000         (check-abi-%): Remove AWK script prerequisite and explicit
14001         abilist directory.
14002         (check-abi): Rewrite to just diff the symlist with the abilist.
14003         (config-tls, config-abi-config): Delete, no longer used.
14004         (update-abi-%): Remove AWK script and explicit abilist directory.
14005         (update-abi): Rewrite to simply compare and conditionally copy the
14006         symlist and the sysdep abilist file.  Remove update-abi-config
14007         checks.
14008         * abilist/ld.abilist: Remove.
14009         * abilist/libBrokenLocale.abilist: Remove.
14010         * abilist/libanl.abilist: Remove.
14011         * abilist/libcrypt.abilist: Remove.
14012         * abilist/libdl.abilist: Remove.
14013         * abilist/librt.abilist: Remove.
14014         * abilist/libthread_db.abilist: Remove.
14015         * abilist/libutil.abilist: Remove.
14016         * scripts/extract-abilist.awk: Remove.
14017         * scripts/merge-abilist.awk: Remove.
14018         * sysdeps/generic/libcidn.abilist: New file.
14019         * sysdeps/generic/libnss_compat.abilist: New file.
14020         * sysdeps/generic/libnss_db.abilist: New file.
14021         * sysdeps/generic/libnss_dns.abilist: New file.
14022         * sysdeps/generic/libnss_files.abilist: New file.
14023         * sysdeps/generic/libnss_hesiod.abilist: New file.
14024         * sysdeps/generic/libnss_nis.abilist: New file.
14025         * sysdeps/generic/libnss_nisplus.abilist: New file.
14026         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14027         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14028         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14029         file.
14030         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14031         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14032         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14033         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14034         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14035         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14036         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14037         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14038         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14039         file.
14040         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14041         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14042         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14043         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14044         file.
14045         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14046         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14047         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14048         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14049         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14050         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14051         file.
14052         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14053         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14054         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14055         file.
14056         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14058         New file.
14059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14060         New file.
14061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14062         New file.
14063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14064         New file.
14065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14066         New file.
14067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14068         New file.
14069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14070         New file.
14071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14072         New file.
14073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14074         New file.
14075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14076         New file.
14077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14078         New file.
14079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14080         New file.
14081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14082         New file.
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14084         file.
14085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14086         New file.
14087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14088         New file.
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14090         file.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14092         New file.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14094         New file.
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14096         file.
14097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14098         New file.
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14100         New file.
14101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14102         New file.
14103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14104         New file.
14105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14106         New file.
14107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14108         New file.
14109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14111         file.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14113         New file.
14114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14115         file.
14116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14117         file.
14118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14119         file.
14120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14121         file.
14122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14123         file.
14124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14125         New file.
14126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14127         file.
14128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14129         file.
14130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14131         New file.
14132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14133         file.
14134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14136         file.
14137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14138         New file.
14139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14140         file.
14141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14142         file.
14143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14144         file.
14145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14146         file.
14147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14148         file.
14149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14150         New file.
14151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14152         file.
14153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14154         file.
14155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14156         New file.
14157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14158         file.
14159         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14160         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14161         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14162         file.
14163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14164         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14165         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14166         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14167         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14168         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14169         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14170         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14171         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14172         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14175         file.
14176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14177         New file.
14178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14179         file.
14180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14181         file.
14182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14183         file.
14184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14185         file.
14186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14187         file.
14188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14189         New file.
14190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14191         New file.
14192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14193         file.
14194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14195         New file.
14196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14197         file.
14198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14200         file.
14201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14202         New file.
14203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14204         file.
14205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14206         file.
14207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14208         file.
14209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14210         file.
14211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14212         file.
14213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14214         New file.
14215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14216         New file.
14217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14218         file.
14219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14220         New file.
14221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14222         file.
14224 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14226         * conform/conformtest.pl: Fix typo in handling typed-constant from
14227         allow-header.
14229 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14231         * README: Cut down references to pre-2.6 Linux kernels and
14232         Linuxthreads.  Update lists of configurations in libc and ports
14233         and sort alphabetically.  Say "or newer" with Linux kernel version
14234         requirements.
14236         * config.h.in [IS_IN_build]: Allow compiling without optimization.
14238 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14240         [BZ #887]
14241         * math/libm-test.inc (logb_test_downward): New test to expose
14242         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14243         rounding mode.
14245 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
14247         [BZ #14027]
14248         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14249         to be done.
14250         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14251         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14253 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
14255         * sysdeps/unix/i386/brk.S: Remove file.
14256         * sysdeps/unix/i386/dl-brk.S: Likewise.
14257         * sysdeps/unix/i386/pipe.S: Likewise.
14258         * sysdeps/unix/i386/sigreturn.S: Likewise.
14259         * sysdeps/unix/i386/syscall.S: Likewise.
14260         * sysdeps/unix/i386/vfork.S: Likewise.
14261         * sysdeps/unix/i386/wait.S: Likewise.
14263         * sysdeps/unix/common/tcsendbrk.c: Move to ...
14264         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14266         * configure.in (arm*-none*): Do not allow without
14267         --enable-hacker-mode.
14268         (netbsd*): Remove case setting base_os.
14269         (386bsd*): Likewise.
14270         (freebsd*): Likewise.
14271         (bsdi*): Likewise.
14272         (osf*): Likewise.
14273         (sunos*): Likewise.
14274         (ultrix*): Likewise.
14275         (newsos*): Likewise.
14276         (dynix*): Likewise.
14277         (*bsd*): Likewise.
14278         (sysv*): Likewise.
14279         (isc*): Likewise.
14280         (esix*): Likewise.
14281         (sco*): Likewise.
14282         (minix*): Likewise.
14283         (irix4*): Likewise.
14284         (irix6*): Likewise.
14285         (solaris[2-9]*): Likewise.
14286         (none): Likewise.
14287         * configure: Regenerated.
14289 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14291         [BZ #11521]
14292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14293         overflow or cancellation in calculating denominator.
14294         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14296         down expression to avoid unexpected rounding in newer GCCs.
14297         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14299 2012-04-26  David S. Miller  <davem@davemloft.net>
14301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14302         long-double compat symbols.
14303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14317 2012-04-25  David S. Miller  <davem@davemloft.net>
14319         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14320         HWCAP_* values only after the memory barriers have been defined.
14321         (atomic_full_barrier): Define.
14322         (atomic_read_barrier): Define.
14323         (atomic_write_barrier): Define.
14325 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14327         * shlib-versions: Add libgcc_s version information.
14328         * sysdeps/generic/libgcc_s.h: Remove.
14329         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14330         libgcc_s.h.
14331         * sysdeps/gnu/unwind-resume.c: Likewise.
14332         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14334 2012-04-25  David S. Miller  <davem@davemloft.net>
14336         * sysdeps/unix/sparc/brk.S: Delete.
14337         * sysdeps/unix/sparc/dl-brk.S: Delete.
14338         * sysdeps/unix/sparc/pipe.S: Delete.
14339         * sysdeps/unix/sparc/sysdep.S: Delete.
14340         * sysdeps/unix/sparc/sysdep.h: Delete.
14341         * sysdeps/unix/sparc/vfork.S: Delete.
14342         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14343         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14344         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14345         ret_ERRVAL, r0, r1, MOVE): Define.
14346         (JUMPTARGET): Remove.
14347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14348         sysdeps/unix/sparc/sysdep.h
14349         (ENTRY, END): Remove.
14350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14352 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
14354         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14355         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14356         -DIS_IN_build.
14358         * timezone/README: Update upstream location and email address for
14359         tzcode and tzdata.
14360         * timezone/zdump.c: Update from tzcode 2012b.
14361         * timezone/zic.c: Likewise.
14363         * configure.in (libc_cv_as_needed): Remove test.
14364         * configure: Regenerated.
14365         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14366         conditional definition.
14367         [$(have-as-needed) != yes] (no-as-needed): Likewise.
14368         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14369         * config.make.in (have-as-needed): Remove variable.
14371 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14372             Paul Pluzhnikov  <ppluzhnikov@google.com>
14374         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14375         strings correctly.
14377 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14379         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14380         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14381         * sysdeps/sh/strlen.S: Likewise.
14383 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14385         * sysdeps/unix/fork.S: Remove file.
14386         * sysdeps/unix/i386/fork.S: Likewise.
14387         * sysdeps/unix/sparc/fork.S: Likewise.
14389         * sysdeps/unix/system.c: Remove file.
14390         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14392         * sysdeps/unix/getegid.S: Remove file.
14393         * sysdeps/unix/geteuid.S: Likewise.
14395 2012-04-24  Roland McGrath  <roland@hack.frob.com>
14397         * scripts/check-localplt.awk: New file.
14398         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14399         of diff.
14400         * scripts/data/localplt-generic.data: Add a comment.
14402         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14403         NODE when __dir_mkfile failed.
14404         * sysdeps/mach/hurd/symlinkat.c: Likewise.
14405         Reported by Ludovic Courtès <ludo@gnu.org>.
14407 2012-04-24  Andreas Jaeger  <aj@suse.de>
14409         * Makerules (common-clean): Also remove gen-as-const-headers
14410         files.
14412 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14414         * Makerules (native-compile): Do not change working directory for
14415         build.  Use $(OUTPUT_OPTION) in command.
14416         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14418 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14420         [BZ #13886]
14421         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14422         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14423         * math/libm-test.inc (floor_test): Add more tests.
14424         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14426 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
14428         * sysdeps/unix/getdents.c: Remove file.
14429         * sysdeps/unix/sysv/getdents.c: Likewise.
14430         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14432         * sysdeps/unix/syscalls.list (madvise): Add syscall from
14433         sysdeps/unix/mman/syscalls.list.
14434         (mmap): Likewise.
14435         (mprotect): Likewise.
14436         (msync): Likewise.
14437         (munmap): Likewise.
14438         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14439         * sysdeps/unix/mman/syscalls.list: Remove.
14440         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14442         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14443         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14444         * configure: Regenerated.
14445         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14446         $(libgcc_s_suffix).
14447         * config.make.in (libgcc_s_suffix): Remove variable.
14449 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
14451         * sysdeps/unix/sysv/gethostname.c: Move to ...
14452         * sysdeps/posix/gethostname.c: ... here.
14454         * sysdeps/unix/execve.S: Remove file.
14456         * sysdeps/unix/_exit.S: Remove file.
14458 2012-04-23  Andreas Jaeger  <aj@suse.de>
14460         [BZ #13739]
14461         * manual/Makefile: Remove make dist support, there's no
14462         need for a stand-alone documentation tar ball.
14463         (TEXI2DVI): Define always, it's not in Makeconfig.
14464         (dist): Removed.
14465         (tar-it): Removed.
14466         (edition): Removed.
14467         (glibc-doc-$(edition).tar): Removed
14468         (%.Z): Removed.
14469         (%.gz): Removed.
14470         (%.uu): Removed.
14471         (ETAGS): Remove, it's in Makeconfig.
14472         (move-if-change): Remove, it's in Makeconfig.
14474 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
14476         [BZ #13970]
14477         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
14478         (strtod, strtof, strtold, strtol, strtoul, strtoq)
14479         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
14480         (strtod_l, strtof_l, strtold_l): Remove __wur.
14481         It is not necessarily an error to ignore strtol's return value.
14482         One can reliably look at the stored endptr to decide whether
14483         the number had valid syntax.
14485 2012-04-21  Andreas Jaeger  <aj@suse.de>
14487         [BZ #13739]
14488         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
14490 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
14492         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
14493         * sysdeps/unix/sysv/Versions: Remove file.
14495 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
14497         [BZ #13927]
14498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14500 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
14502         [BZ #7064]
14503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
14504         version from __vm86.
14506 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
14508         * sysdeps/unix/common/lxstat.c: Remove file.
14509         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
14511         * sysdeps/unix/sysv/Makefile: Remove file.
14513         * sysdeps/unix/sysv/direct.h: Remove file.
14515         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
14516         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
14517         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
14518         * sysdeps/unix/sysv/bits/signum.h: Likewise.
14519         * sysdeps/unix/sysv/bits/stat.h: Likewise.
14520         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
14521         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
14523         * sysdeps/unix/sysv/setrlimit.c: Remove file.
14525         * sysdeps/unix/xmknod.c: Remove file.
14526         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
14528         * sysdeps/unix/sysv/settimeofday.c: Remove file.
14530         * sysdeps/unix/sysv/i386/time.S: Remove file.
14532         * sysdeps/unix/fxstat.c: Remove file.
14533         * sysdeps/unix/xstat.c: Likewise.
14534         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
14536         * sysdeps/unix/sysv/sigaction.c: Remove file.
14538         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
14539         (sysdep_headers): Remove variable.
14540         [termio.h not in sysdep_headers] (generated): Likewise.
14541         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
14542         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
14543         * sysdeps/unix/sysv/tcdrain.c: Likewise.
14544         * sysdeps/unix/sysv/tcflow.c: Likewise.
14545         * sysdeps/unix/sysv/tcflush.c: Likewise.
14546         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
14547         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
14548         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
14549         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
14550         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
14552         * sysdeps/unix/siglist.c: Remove file.
14554         * sysdeps/unix/getppid.S: Remove file.
14556         * sysdeps/unix/mkdir.c: Remove file.
14557         * sysdeps/unix/rmdir.c: Likewise.
14559 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
14561         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
14562         ERR_MAX value.
14563         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
14564         errlist-compat value.
14566 2012-04-18  David S. Miller  <davem@davemloft.net>
14568         * sysdeps/generic/memcopy.h (reg_char): Delete.
14569         * debug/strcat_chk.c: Use char, not reg_char.
14570         * debug/strcpy_chk.c: Likewise.
14571         * debug/strncat_chk.c: Likewise.
14572         * debug/strncpy_chk.c: Likewise.
14573         * string/memchr.c: Likewise.
14574         * string/memrchr.c: Likewise.
14575         * string/rawmemchr.c: Likewise.
14576         * string/strcat.c: Likewise.
14577         * string/strchr.c: Likewise.
14578         * string/strchrnul.c: Likewise.
14579         * string/strcmp.c: Likewise.
14580         * string/strcpy.c: Likewise.
14581         * string/strncat.c: Likewise.
14582         * string/strncmp.c: Likewise.
14583         * string/strncpy.c: Likewise.
14585 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14587         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
14588         __builtin_memcopy is called when src and dest ranges are known to not
14589         overlap.
14591 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14593         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
14594         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
14595         fwd_align_merge macro call.
14596         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
14597         bwd_align_merge macro call.
14598         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14600 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
14602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
14603         bwd_align_merge macros.
14604         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
14605         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
14606         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14608 2012-04-18  David S. Miller  <davem@davemloft.net>
14610         * sysdeps/sparc/sparc64/memcopy.h: Delete.
14612 2012-04-18  Andreas Jaeger  <aj@suse.de>
14614         [BZ# 6794]
14615         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
14616         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
14617         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14619         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
14620         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
14621         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14623         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
14624         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
14625         Adjust for changed ldbl-128 files.
14627         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
14628         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
14629         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
14631 2012-04-17  David S. Miller  <davem@davemloft.net>
14633         * sysdeps/sparc/sparc32/memcopy.h: Delete.
14635 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
14637         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
14638         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
14639         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
14640         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
14641         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14642         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
14644 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14646         [BZ #6794]
14647         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14648         * math/libm-test.inc: Add ilogb errno and exception tests.
14649         * math/w_ilogb.c: New file: ilogb wrapper.
14650         * math/w_ilogbf.c: New file: ilogbf wrapper.
14651         * math/w_ilogbl.c: New file: ilogbl wrapper.
14652         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14653         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14654         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14655         exception being thrown with 0.0 as argument.
14656         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14657         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14658         exception being thrown with 0.0 as argument.
14659         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14660         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14661         exception being thrown with 0.0 as argument.
14662         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14663         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14664         exception being thrown with 0.0 as argument.
14665         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14666         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
14667         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
14668         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14670         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14671         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14672         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14673         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14675 2012-04-17  Petr Baudis  <pasky@ucw.cz>
14677         * include/sys/uio.h: Change __vector to __iovec to avoid clash
14678         with altivec.
14680 2012-04-16  Marek Polacek  <polacek@redhat.com>
14682         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14684 2012-04-16  Marek Polacek  <polacek@redhat.com>
14686         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14687         operands of fdivp instruction.
14689 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14691         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14692         * elf/tst-auditmod3b.c: Likewise.
14693         * elf/tst-auditmod4b.c: Likewise.
14694         * elf/tst-auditmod5b.c: Likewise.
14695         * elf/tst-auditmod6b.c: Likewise.
14696         * elf/tst-auditmod6c.c: Likewise.
14697         * elf/tst-auditmod7b.c: Likewise.
14698         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14699         * sysdeps/x86_64/preconfigure.in: Likewise.
14700         * sysdeps/x86_64/preconfigure: Regenerated.
14702 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
14704         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14705         __ILP32__.
14707 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
14709         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14710         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14712 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
14714         [BZ #13973]
14715         * locale/iso-639.def: Fix gl language name. Spotted by
14716         Yaron Shahrabani.
14718 2012-04-12  Roland McGrath  <roland@hack.frob.com>
14720         [BZ #2074]
14721         * libio/libio.h (__io_write_fn): Update comment.
14723 2012-04-12  Petr Baudis  <pasky@ucw.cz>
14725         [BZ #2074]
14726         * stdio.texi (Hook Functions): The user provided writer function
14727         is not allowed to return -1.
14729 2012-04-11  David S. Miller  <davem@davemloft.net>
14731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14733 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
14735         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14736         Add a leading slash to rtkaio.
14738 2012-04-11  Jim Meyering  <meyering@redhat.com>
14740         [BZ #11959]
14741         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14742         It is not necessarily an error to ignore fwrite's return
14743         value.  One can reliably use ferror to test for errors after
14744         the fact.
14746 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14748         * bits/types.h (__snseconds_t): New type.
14749         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14751         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14752         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14753         (__SNSECONDS_T_TYPE): Likewise.
14754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14755         (__SNSECONDS_T_TYPE): Likewise.
14756         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14757         (__SNSECONDS_T_TYPE): Likewise.
14759 2012-04-10  Andreas Jaeger  <aj@suse.de>
14761         [BZ #2636]
14762         * manual/time.texi (Processor Time): Return type of times is
14763         elapsed real time since an arbitrary point in the past.
14764         (CPU Time): Move CLK_TCK from here...
14765         (Processor Time): ...to here.  Correct description.
14766         * manual/conf.texi (Constants for Sysconf): Correct description of
14767         _SC_CLK_TCK.
14769 2012-04-10  David S. Miller  <davem@davemloft.net>
14771         [BZ #13967]
14772         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14773         where the is a gap between DT_REL(A) and DT_JMPREL.
14775 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
14777         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14778         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14779         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14781 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14783         * elf/dl-support.c (_dl_inhibit_cache): New variable.
14784         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14785         (dl_main): Handle --inhibit-cache.
14786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14787         _dl_inhibit_cache.
14788         * elf/dl-load.c (_dl_map_object): Use it.
14789         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14791 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14793         [BZ #13872]
14794         * sysdeps/i386/fpu/e_powl.S (p78): New object.
14795         (__ieee754_powl): Saturate large exponents rather than testing for
14796         overflow of y*log2(x).
14797         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14798         * math/libm-test.inc (pow_test): Do not permit spurious overflow
14799         exceptions.
14801         [BZ #11521]
14802         * math/s_ctan.c: Include <float.h>.
14803         (__ctan): Avoid internal overflow or cancellation in calculating
14804         denominator.
14805         * math/s_ctanf.c: Likewise.
14806         * math/s_ctanl.c: Likewise.
14807         * math/s_ctanh.c: Likewise.
14808         * math/s_ctanhf.c: Likewise.
14809         * math/s_ctanhl.c: Likewise.
14810         * math/libm-test.inc (ctan_test): Add more tests.
14811         (ctanh_test): Likewise.
14812         * sysdeps/i386/fpu/libm-test-ulps: Update.
14813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14815 2012-04-09  Andreas Jaeger  <aj@suse.de>
14817         [BZ #6894]
14818         * manual/filesys.texi (Directory Entries): Mention that d_namlen
14819         is an optional BSD extension.
14821         [BZ #10254]
14822         * manual/stdio.texi (Opening Streams): Document additional fopen
14823         parameters.
14825 2012-04-09  Roland McGrath  <roland@hack.frob.com>
14827         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14828         %eax without telling the compiler.
14830 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
14832         [BZ # 13963]
14833         * manual/install.texi: Use sourceware.org.
14835 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
14837         [BZ #13873]
14838         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14839         (__ieee754_pow): Generate overflow and underflow using huge*huge
14840         and tiny*tiny rather than just returning constant infinity or zero
14841         for large exponents.
14842         * math/libm-test.inc (pow_test): Require overflow exceptions for
14843         applicable cases of large exponents.
14845         [BZ #706]
14846         * sysdeps/i386/fpu/e_pow.S (p10): New object.
14847         (__ieee754_pow): Use iterative multiplication algorithm only for
14848         integer exponents with absolute value below 1024.  Check for odd
14849         integer exponents when using algorithm for real exponents.
14850         * math/libm-test.inc (pow_test): Add more tests.
14851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14853 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
14855         [BZ #13705]
14856         * math/libm-test.inc (exp_test): Do not allow overflow exception
14857         on underflow test.
14859 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
14861         [BZ #13705]
14862         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14863         instead of __kernel_standard_f.
14865 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
14867         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14868         * sysdeps/x86_64/memset_chk.S: Likewise.
14870 2012-04-08  Andreas Jaeger  <aj@suse.de>
14872         [BZ #10153]
14873         * manual/startup.texi (Environment Access): Describe return value
14874         for putenv and setenv.
14876         [BZ #6895]
14877         * manual/filesys.texi (Directory Entries): Add description for
14878         DT_LNK.
14880         [BZ #6890]
14881         * manual/filesys.texi (Directory Entries): Clarify that it's file
14882         system not operating system in the description of DT_UNKNOWN.
14884         [BZ #6578]
14885         * manual/syslog.texi (closelog): Fix reference, it's openlog.
14887 2012-04-08  Stephen Compall  <s11@member.fsf.org>
14889         [BZ #6649]
14890         * manual/llio.texi (Opening and Closing Files): Add cross
14891         reference to explain mode argument.
14893 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
14895         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14896         * sysdeps/x86_64/memset_chk.S: Likewise.
14898 2012-04-07  David S. Miller  <davem@davemloft.net>
14900         * elf/elf.h (R_SPARC_WDISP10): Define.
14901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14902         R_SPARC_SIZE32.
14903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14904         R_SPARC_SIZE64 and R_SPARC_H34.
14906 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
14908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14909         conditions and remove no longer applicable assertion.
14911 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14913         * bits/byteswap.h: Include <features.h>.
14914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14917 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
14919         * bits/byteswap.h (__bswap_16): Removed.
14920         Include <bits/byteswap-16.h> to get __bswap_16.
14921         * sysdeps/i386/bits/byteswap.h: Likewise.
14922         * sysdeps/s390/bits/byteswap.h: Likewise.
14923         * sysdeps/x86_64/bits/byteswap.h: Likewise.
14924         * bits/byteswap-16.h: New file.
14925         * sysdeps/i386/bits/byteswap-16.h: Likewise.
14926         * sysdeps/s390/bits/byteswap-16.h: Likewise.
14927         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14928         * string/Makefile (headers): Add bits/byteswap-16.h.
14930 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14932         [BZ #13895]
14933         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14934         extra indirection.
14935         * nss/Makefile (tests-static, tests): Add tst-nss-static.
14936         * nss/tst-nss-static.c: New.
14938 2012-04-06  Robert Millan  <rmh@gnu.org>
14940         [BZ #6486]
14941         * manual/llio.texi (File Position Primitive): lseek
14942         refers to WHENCE when it really means OFFSET.
14944 2012-04-06  Andreas Jaeger  <aj@suse.de>
14946         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14947         strncmp declarations.
14949         * abilist/libc.abilist: Add __poll and __ppoll.
14951 2012-04-05  David S. Miller  <davem@davemloft.net>
14953         * scripts/check-local-headers.sh: Accept a host triplet in the
14954         path matched by the exclude regexp.
14956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14957         definition.
14958         * sysdeps/powerpc/powerpc32/dl-machine.h
14959         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14960         * sysdeps/s390/s390-32/dl-machine.h
14961         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14962         * sysdeps/sparc/sparc32/dl-machine.h
14963         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14964         * sysdeps/sparc/sparc64/dl-machine.h
14965         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14967         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14968         lazy binding.
14969         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
14970         undefined symbol errors.
14972         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
14973         DT_NEEDED entries.
14975 2012-04-05  Michael Matz  <matz@suse.de>
14977         [BZ #13592]
14978         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14980 2012-04-05  Andreas Jaeger  <aj@suse.de>
14982         [BZ #13908]
14983         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14984         comment.
14986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14988         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14989         which ROUND is no valid rounding mode.
14991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14994         read again.
14995         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14997 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
14999         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15000         an exception using FPU order intentionally.
15002 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15004         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15005         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15006         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15007         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15009 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15011         [BZ #12340]
15012         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15013         EINVAL when BUFLEN is too smal.
15015 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15017         [BZ #13553]
15018         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15019         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15021 2012-04-03  Andreas Jaeger  <aj@suse.de>
15023         [BZ #13938]
15024         * manual/setjmp.texi (System V contexts): Fix sentence.
15026         [BZ #13926]
15027         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15028         New macro for this case.
15029         [!__GNUC__] (__bswap_64): New inline function for this case.
15030         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15031         * bits/byteswap.h: Likewise.
15032         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15033         ull, guard with __GLIBC_HAVE_LONG_LONG.
15035         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15036         __GLIBC_HAVE_LONG_LONG.
15038         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15039         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15041 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15043         [BZ #13691]
15044         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15045         inptr and inend, rather than using last_ch.
15047 2012-04-02  David S. Miller  <davem@davemloft.net>
15049         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15050         * stdio-common/printf-parse.h (read_int): Change return type to
15051         'int', return -1 on INT_MAX overflow.
15052         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15053         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15054         overflows INT_MAX.  Check for overflow of in-format-string precision
15055         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15056         SIZE_MAX not INT_MAX for integer overflow test.
15057         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15058         skip the construct in the format string but do not record anything.
15059         * stdio-common/bug22.c: Adjust to test both width/prevision
15060         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15061         explicitly for proper errno values.
15063 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15065         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15066         CHAR_MAX.
15067         * string/test-strcmp.c [! WIDE]: Likewise.
15068         * time/tst-mktime2.c: Likewise for INT_MAX.
15069         * string/test-string.h: #include <sys/param.h> for MIN.
15071         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15072         * sysdeps/i386/init-first.c (init): Likewise.
15073         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15074         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15075         * sysdeps/sh/init-first.c (init): Likewise.
15077 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15079         * po/ru.po: Update from translation team.
15080         * po/vi.po: Likewise.
15082 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15084         * resolv/nss_dns/dns-host.c: Merge copyright years.
15086 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15089         Optimize memcpy with prefetch if
15090         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15091         src, dst pointers have unequal 16 byte alignments.
15093 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15095         [BZ #13928]
15096         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15097         from a CNAME entry and return the minimum ttl for the query.
15098         (gaih_getanswer_slice): Likewise.
15100 2012-03-30  Jeff Law  <law@redhat.com>
15102         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15103         due to long keys.
15104         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15105         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15107         * resolv/nss_dns/dns-host.c: Update copyright year.
15109 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15111         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15112         requests to save a system call.  Fix check that all bytes are sent.
15114         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15115         comments for sendmmsg.
15117 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15119         [BZ #13691]
15120         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15121         with only 1 character between 0x0041 and 0x01b0.
15122         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15123         * wcsmbs/tst-mbsnrtowcs.c: New file.
15125 2012-03-29  David S. Miller  <davem@davemloft.net>
15127         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15128         small copies by hand.
15130 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132         [BZ #13761]
15133         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15134         _nss_compat_initgroups_dyn): Fall back to malloc/free
15135         for large group memberships.
15137 2012-03-28  David S. Miller  <davem@davemloft.net>
15139         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15140         that branches into memcpy.
15141         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15144         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15146         bits.
15147         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15148         implementation too.
15149         * sysdeps/sparc/mempcpy.S: New file.
15151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15152         the IFUNC routine in the libc case.
15153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15155         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15156         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15157         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15158         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15159         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15160         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15161         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15162         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15164         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15165         loop to 256 bytes instead of 64 bytes and fix test signedness.
15167         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15168         * sysdeps/sparc/sparc32/Makefile: rather than here...
15169         * sysdeps/sparc/sparc64/Makefile: and here.
15171 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15173         * malloc/mallocbug.c: Avoid warnings about unused variables.
15175 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15177         [BZ #13760]
15178         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15179         in the right place. Discard and retry query if response is
15180         larger than input buffer size.
15182 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15184         [BZ #369]
15185         [BZ #2678]
15186         [BZ #3866]
15187         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15188         x for large integer exponent.
15189         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15190         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15191         sign of result as needed afterwards.
15192         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15193         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15194         result for underflowing pow the same as for overflow.
15195         (__kernel_standard_l): Handle powl overflow and underflow here
15196         rather than calling __kernel_standard.
15197         * math/libm-test.inc (pow_test): Add more tests.
15199         [BZ #3868]
15200         [BZ #13879]
15201         [BZ #13910]
15202         [BZ #13911]
15203         [BZ #13912]
15204         [BZ #13913]
15205         [BZ #13915]
15206         [BZ #13916]
15207         [BZ #13917]
15208         [BZ #13918]
15209         [BZ #13919]
15210         [BZ #13920]
15211         [BZ #13921]
15212         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15213         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15214         (__kernel_standard_l): New function.
15215         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15216         __kernel_standard.
15217         * math/w_acosl.c (__acosl): Likewise.
15218         * math/w_asinl.c (__asinl): Likewise.
15219         * math/w_atan2l.c (__atan2l): Likewise.
15220         * math/w_atanhl.c (__atanhl): Likewise.
15221         * math/w_coshl.c (__coshl): Likewise.
15222         * math/w_exp10l.c (__exp10l): Likewise.
15223         * math/w_exp2l.c (__exp2l): Likewise.
15224         * math/w_fmodl.c (__fmodl): Likewise.
15225         * math/w_hypotl.c (__hypotl): Likewise.
15226         * math/w_j0l.c (__j0l, __y0l): Likewise.
15227         * math/w_j1l.c (__j1l, __y1l): Likewise.
15228         * math/w_jnl.c (__jnl, __ynl): Likewise.
15229         * math/w_lgammal.c (__lgammal): Likewise.
15230         * math/w_log10l.c (__log10l): Likewise.
15231         * math/w_log2l.c (__log2l): Likewise.
15232         * math/w_logl.c (__logl): Likewise.
15233         * math/w_powl.c (__powl): Likewise.
15234         * math/w_remainderl.c (__remainderl): Likewise.
15235         * math/w_scalbl.c (sysv_scalbl): Likewise.
15236         * math/w_sinhl.c (__sinhl): Likewise.
15237         * math/w_sqrtl.c (__sqrtl): Likewise.
15238         * math/w_tgammal.c (__tgammal): Likewise.
15239         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15240         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15241         * math/libm-test.inc (acos_test): Add more tests.
15242         (acosh_test): Likewise.
15243         (asin_test): Likewise.
15244         (atanh_test): Likewise.
15245         (exp_test): Likewise.
15246         (exp10_test): Likewise.
15247         (exp2_test): Likewise.
15248         (expm1_test): Likewise.
15249         (lgamma_test): Likewise.
15250         (log_test): Likewise.
15251         (log10_test): Likewise.
15252         (log1p_test): Likewise.
15253         (log2_test): Likewise.
15254         (pow_test): Do not allow some spurious overflow exceptions.
15255         (sqrt_test): Add more tests.
15256         (tgamma_test): Likewise.
15257         (y0_test): Likewise.
15258         (y1_test): Likewise.
15259         (yn_test): Likewise.
15261 2012-03-27  Anton Blanchard  <anton@samba.org>
15263         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15264         MAP_HUGETLB.
15265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15266         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15269 2012-03-27  David S. Miller  <davem@davemloft.net>
15271         * conform/Makefile: Run run-conformtest.sh using $(BASH).
15273         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15274         have-as-vis3 check.
15276 2012-03-27  Andreas Jaeger  <aj@suse.de>
15278         * sysdeps/x86_64/elf/configure.in: Moved to ...
15279         * sysdeps/x86_64/configure.in: ... here.
15280         * sysdeps/x86_64/elf/start.S: Moved to ...
15281         * sysdeps/x86_64/start.S: ... here.
15282         * sysdeps/x86_64/elf/configure: Delete.
15284         * sysdeps/x86_64/configure.in: Merge contents from
15285         sysdeps/i386/configure.in (without i686 check).
15287         * sysdeps/i386/elf/Versions: Merge into ...
15288         * sysdeps/i386/Versions: ... this.
15289         * sysdeps/i386/elf/Versions: Delete file.
15290         * sysdeps/i386/elf/start.S: Moved to ...
15291         * sysdeps/i386/start.S: ...here.
15292         * sysdeps/i386/elf/configure.in: Merge into...
15293         * sysdeps/i386/configure.in: ...here.
15294         * sysdeps/i386/elf/configure.in: Delete file.
15295         * sysdeps/i386/elf/configure: Delete file.
15297         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15298         * debug/backtracesyms.c: ... here.
15299         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15300         * debug/backtracesymsfd.c: ... here.
15301         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15302         * sysdeps/generic/ifunc-sel.h: ... here.
15304         * sysdeps/unix/i386/start.c: Delete file.
15305         * sysdeps/unix/sparc/start.c: Delete file.
15306         * sysdeps/unix/start.c: Delete file.
15308         * sysdeps/sh/elf/configure.in: Moved to ...
15309         * sysdeps/sh/configure.in: ... here.
15310         * sysdeps/sh/elf/start.S: Moved to ...
15311         * sysdeps/sh/start.S: ... here.
15312         * sysdeps/sh/elf/configure: Delete file.
15314         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15315         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15316         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15317         * sysdeps/powerpc/powerpc64/entry.h: ... here.
15318         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15319         * sysdeps/powerpc/powerpc64/start.S: here.
15320         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15321         * sysdeps/powerpc/powerpc64/Makefile: ... this.
15322         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15323         * sysdeps/powerpc/powerpc64/configure.in: ... this.
15324         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15326         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15327         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15328         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15329         * sysdeps/powerpc/powerpc32/start.S: ... here.
15330         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15331         * sysdeps/powerpc/powerpc32/configure.in: ... this.
15332         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15334         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15335         * sysdeps/powerpc/ifunc-sel.h: ... here.
15336         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15337         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15339         * sysdeps/sparc/elf/configure.in: Moved to ...
15340         * sysdeps/sparc/configure.in: ... here.
15341         * sysdeps/sparc/elf/configure: Delete file.
15342         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15343         * sysdeps/sparc/sparc32/start.S: ... here.
15344         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15345         * sysdeps/sparc/sparc64/start.S: ... here.
15346         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15347         * sysdeps/sparc/sparc32/Makefile: ... this.
15348         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15349         * sysdeps/sparc/sparc64/Makefile: ... this.
15351         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15352         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15353         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15354         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15355         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15356         * sysdeps/s390/s390-32/setjmp.S: ... here.
15357         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15358         * sysdeps/s390/s390-32/configure.in: ... here.
15359         * sysdeps/s390/s390-32/elf/configure: Delete file.
15360         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15361         * sysdeps/s390/s390-32/start.S: ... here.
15363         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15364         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15365         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15366         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15367         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15368         * sysdeps/s390/s390-64/setjmp.S: ... here.
15369         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15370         * sysdeps/s390/s390-64/configure.in: ... here
15371         * sysdeps/s390/s390-64/elf/configure: Delete file.
15372         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15373         * sysdeps/s390/s390-64/start.S: ... here.
15374         * sysdeps/s390/s390-64/elf/configure: Delete.
15376         * configure.in: Remove support for elf directories in sysdeps.
15378         * configure: Regenerated.
15379         * sysdeps/i386/configure: Regenerated.
15380         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15381         * sysdeps/powerpc/powerpc64/configure: Regenerated.
15382         * sysdeps/s390/s390-32/configure: Regenerated.
15383         * sysdeps/s390/s390-64/configure: Regenerated.
15384         * sysdeps/sh/configure: Regenerated.
15385         * sysdeps/sparc/configure: Regenerated.
15386         * sysdeps/x86_64/configure: Regenerated.
15388 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
15390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15393         denormal result into account.
15395 2012-03-25  Roland McGrath  <roland@hack.frob.com>
15397         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15398         Reported by Allan McRae <allan@archlinux.org>.
15400 2012-03-23  Jeff Law  <law@redhat.com>
15402         * nss/getnssent.c (__nss_getent): Fix typo.
15404 2012-03-23  David S. Miller  <davem@davemloft.net>
15406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15408 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
15410         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15411         to pad to uint64_t for each field.
15412         (dl_tls_index): Replace unsigned long with uint64_t.
15414 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
15415         Paul Pluzhnikov  <ppluzhnikov@google.com>
15417         [BZ #6528]
15418         * grp/Makefile (otherlibs): Don't set it.
15419         * inet/Makefile (otherlibs): Likewise.
15420         * login/Makefile (otherlibs): Likewise.
15421         * nscd/Makefile (otherlibs): Likewise.
15422         * posix/Makefile (otherlibs): Likewise.
15423         * pwd/Makefile (otherlibs): Likewise.
15424         * rt/Makefile (otherlibs): Likewise.
15425         * sunrpc/Makefile (otherlibs): Likewise.
15426         * nss/Makefile (otherlibs): Likewise.
15427         Add libnss_files to routines and static-only-routines.
15428         ($(objpfx)getent): Remove rule.
15429         * resolv/Makefile: Add libnss_dns and libresolv to routines and
15430         static-only-routines.
15432 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15434         [BZ #13892]
15435         * math/s_cexp.c: Include <float.h>.
15436         (__cexp): Handle exp result overflowing not necessarily
15437         overflowing both real and imaginary parts of result.
15438         * math/s_cexpf.c: Likewise.
15439         * math/s_cexpl.c: Likewise.
15440         * math/libm-test.inc (cexp_test): Add more tests.
15441         * sysdeps/i386/fpu/libm-test-ulps: Update.
15442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15446         * include/link.h (ELFW): New macro.
15447         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15448         Replace ELF64_R_TYPE with ELFW(R_TYPE).
15450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15452         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
15453         with uint64_t.
15455 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15457         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
15458         declaration.
15459         (struct La_x32_retval): Likewise.
15461 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15463         * sysdeps/x86_64/preconfigure.in: New file.
15464         * sysdeps/x86_64/preconfigure: New generated file.
15466 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
15468         [BZ #13824]
15469         * math/e_exp2l.c: Include <float.h>.
15470         (__ieee754_exp2l): Handle overflow and underflow cases
15471         separately.  Only pass fractional part of argument to
15472         __ieee754_expl.
15473         * math/libm-test.inc (exp2_test): Add more tests.
15475         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
15476         negating x to take absolute value.
15477         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15478         Likewise.
15479         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15480         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15481         Likewise.
15482         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
15483         computing low part if x was negated.
15484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15486 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15488         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
15489         la_x32_gnu_pltexit.
15490         (pltexit): Cast int_retval to ptrdiff_t.
15491         * elf/tst-auditmod3b.c: Likewise.
15492         * elf/tst-auditmod4b.c: Likewise.
15493         * elf/tst-auditmod5b.c: Likewise.
15494         * elf/tst-auditmod6b.c: Likewise.
15495         * elf/tst-auditmod6c.c: Likewise.
15496         * elf/tst-auditmod7b.c: Likewise.
15498         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
15499         and x32_gnu_pltexit.
15501         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
15502         __ELF_NATIVE_CLASS.
15503         (La_x32_regs): New macro.
15504         (La_x32_retval): Likewise.
15505         (la_x32_gnu_pltenter): New function prototype.
15506         (la_x32_gnu_pltexit): Likewise.
15508 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
15510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
15511         exponent.
15513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15515         * configure.in (libc_cv_cc_nofma): Check for option to disable
15516         generation of FMA instructions.
15517         * configure: Regenerate.
15518         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
15519         * sysdeps/ieee754/dbl-64/Makefile: New file.
15520         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15521         Remove brandred-fma4.
15522         (CFLAGS-brandred-fma4.c): Remove.
15523         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
15524         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
15525         define.
15526         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
15527         define.
15529 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15531         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
15532         LLONG_MAX != LONG_MAX.
15533         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15534         (_fitoa_word): Likewise.
15535         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
15536         LLONG_MAX != LONG_MAX.
15537         * stdio-common/_itowa.h: Include <_itoa.h>.
15538         (_itowa_word): Use _ITOA_WORD_TYPE on value.
15539         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
15540         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
15541         only if not defined.
15542         (_ITOA_WORD_TYPE): Likewise.
15543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
15544         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
15546 2012-03-21  David S. Miller  <davem@davemloft.net>
15548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15550 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15552         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
15553         of x86_64 when setting libc_cv_slibdir, libdir and
15554         libc_cv_localedir.
15555         * sysdeps/unix/sysv/linux/configure: Regenerated.
15557 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15559         * manual/lang.texi (Old Varargs): Remove section.
15560         (How Variadic): Update menu.
15561         (va_start): Do not mention varargs.h.
15563 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15564             Joseph Myers  <joseph@codesourcery.com>
15566         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
15567         link test.
15568         * configure: Regenerated.
15570 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15572         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
15573         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
15574         conformtest.pl
15576 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15578         * NOTES: Remove.
15579         * Makefile (files-for-dist): Remove NOTES.
15580         (NOTES): Remove rule.
15581         * README: Don't refer to NOTES.
15582         * manual/creature.texi: Don't include macros.texi.
15583         * manual/intro.texi (creature.texi): Remove comment referring to
15584         NOTES.
15586         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
15587         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
15588         * configure: Regenerated.
15589         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
15590         LIBC_TRY_CC_OPTION.
15591         (libc_cv_as_i686): Likewise.
15592         (libc_cv_cc_avx): Likewise.
15593         (libc_cv_cc_sse2avx): Likewise.
15594         (libc_cv_cc_fma4): Likewise.
15595         (libc_cv_cc_novzeroupper): Likewise.
15596         * sysdeps/i386/configure: Regenerated.
15598         [BZ #13883]
15599         * sysdeps/i386/fpu/s_cexp.S: Remove.
15600         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15601         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15602         * math/libm-test.inc (cexp_test): Add more tests.
15603         * sysdeps/i386/fpu/libm-test-ulps: Update.
15604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15606 2012-03-21  Allan McRae  <allan@archlinux.org>
15608         * timezone/Makefile: Do not install iso3166.tab and zone.tab
15610 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
15612         [BZ #13871]
15613         * math/w_exp2.c: Do not include <float.h>.
15614         (o_threshold, u_threshold): Remove.
15615         (__exp2): Calculate result before checking finiteness and calling
15616         __kernel_standard.
15617         * math/w_exp2f.c: Likewise.
15618         * math/w_exp2l.c: Likewise.
15619         * math/libm-test.inc (exp2_test): Require overflow exception for
15620         1e6 input.
15622         [BZ #3866]
15623         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
15624         range of signed 64-bit integers before using fistpll.  Remove
15625         checks for whether integers fit in mantissa bits.
15626         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
15627         the range of signed 32-bit integers before using fistpl.  Remove
15628         checks for whether integers fit in mantissa bits.
15629         * sysdeps/i386/fpu/e_powl.S (p64): New object.
15630         (__ieee754_powl): Test for y outside the range of signed 64-bit
15631         integers before using fistpll.  Reduce 64-bit values to 63-bit
15632         ones as needed.
15633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
15634         divide-by-zero is raised for zero to large negative powers.
15635         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
15636         (__ieee754_powl): Test for y outside the range of signed 64-bit
15637         integers before using fistpll.  Reduce 64-bit values to 63-bit
15638         ones as needed.
15639         * math/libm-test.inc (pow_test): Add more tests.
15641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15643         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15644         <stdio-common/_itoa.h>.
15645         * debug/segfault.c: Likewise.
15646         * elf/dl-cache.c: Likewise.
15647         * elf/dl-minimal.c: Likewise.
15648         * elf/dl-misc.c: Likewise.
15649         * elf/dl-sysdep.c: Likewise.
15650         * elf/dl-version.c: Likewise.
15651         * elf/rtld.c: Likewise.
15652         * hurd/hurdsock.c: Likewise.
15653         * hurd/lookup-retry.c: Likewise.
15654         * malloc/malloc.c: Likewise.
15655         * malloc/mtrace.c: Likewise.
15656         * nscd/nscd_getgr_r.c: Likewise.
15657         * nscd/nscd_getpw_r.c: Likewise.
15658         * nscd/nscd_getserv_r.c: Likewise.
15659         * posix/getopt_init.c: Likewise.
15660         * posix/wordexp.c: Likewise.
15661         * stdio-common/_itoa.c: Likewise.
15662         * stdio-common/printf_fphex.c: Likewise.
15663         * stdio-common/vfprintf.c: Likewise.
15664         * string/_strerror.c: Likewise.
15665         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15666         * sysdeps/i386/i686/hp-timing.h: Likewise.
15667         * sysdeps/mach/_strerror.c: Likewise.
15668         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15669         * sysdeps/mach/hurd/sethostid.c: Likewise.
15670         * sysdeps/mach/hurd/xmknodat.c: Likewise.
15671         * sysdeps/mach/xpg-strerror.c: Likewise.
15672         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15673         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15674         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15675         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15676         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15677         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15679         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15680         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15681         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15682         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15683         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15684         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15685         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15686         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15687         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15688         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15689         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15690         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15691         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15692         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15694         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15696         * stdio-common/_itoa.h: Moved to ...
15697         * sysdeps/generic/_itoa.h: Here.
15699         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15701         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15702         instead of "_itoa.h" and "_itowa.h".
15703         * stdio-common/vfprintf.: Likewise.
15705 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15707         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15708         <bits/wordsize.h>.
15709         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15710         (__signbit): Likwise.
15711         (llrintf): Likwise.
15712         (llrint): Likwise.
15714 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
15716         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15717         __WORDSIZE != 64.
15719 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
15721         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15722         OVERFLOW_EXCEPTION_OK.
15723         * math/libm-test.inc ("Philosophy"): Update comment about
15724         exception testing.
15725         (OVERFLOW_EXCEPTION): Define.
15726         (OVERFLOW_EXCEPTION_OK): Likewise.
15727         (INVALID_EXCEPTION_OK): Renumber.
15728         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15729         (IGNORE_ZERO_INF_SIGN): Likewise.
15730         (test_exceptions): Handle FE_OVERFLOW.
15731         (exp10_test): Expect overflow exceptions.
15732         (exp2_test): Likewise.
15733         (expm1_test): Likewise.
15734         (nextafter_test): Likewise.
15735         (pow_test): Likewise.
15736         (scalbn_test): Likewise.
15737         (scalbln_test): Likewise.
15739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15741         * sysdeps/x86_64/bits/atomic.h
15742         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15743         64bit integer.
15744         (atomic_exchange_acq): Likewise.
15745         (__arch_exchange_and_add_body): Likewise.
15746         (__arch_add_body): Likewise.
15747         (atomic_add_negative): Likewise.
15748         (atomic_add_zero): Likewise.
15750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15752         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
15753         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15757         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15758         Check __x86_64__ instead of __WORDSIZE.
15760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15762         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15764 2012-03-19  David S. Miller  <davem@davemloft.net>
15766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15768         * sysdeps/sparc/fpu/fenv_private.h: New file.
15769         * sysdeps/sparc/fpu/math_private.h: Use it.
15770         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15771         Remove.
15772         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15773         (libc_feholdexcept_setroundl): Remove.
15774         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15775         Remove.
15776         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15777         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15779 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15781         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15782         int64_t instead of long int.
15783         (INSERT_WORDS64): Likwise.
15785 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
15787         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15788         _Unwind_GetCFA return to _Unwind_Ptr first.
15790 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
15792         [BZ #13629]
15793         * math/s_clog.c: Include <float.h>.
15794         (__clog): Scale large or subnormal inputs.
15795         * math/s_clogf.c: Likewise.
15796         * math/s_clogl.c: Likewise.
15797         * math/s_clog10.c: Include <float.h>.
15798         (M_LOG10_2): Define.
15799         (__clog10): Scale large or subnormal inputs.
15800         * math/s_clog10f.c: Likewise.
15801         * math/s_clog10l.c: Likewise.
15802         * math/libm-test.inc (clog_test): Add more tests.
15803         (clog10_test): Likewise.
15804         * sysdeps/i386/fpu/libm-test-ulps: Update.
15805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15807         [BZ #11451]
15808         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15809         x and y.
15810         * math/libm-test.inc (atan2_test): Add another test.
15812         * Makerules (common-objdir-compile): Remove.
15813         * sysdeps/unix/Makefile (config-generated): Do not add
15814         $(unix-generated) to variable.
15815         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15816         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15817         Remove rule.
15818         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15819         Likewise.
15820         [generic bits/local_lim.h] (before-compile): Do not append to
15821         variable.
15822         [generic bits/local_lim.h] (common-generated): Likewise.
15823         [generic sys/param.h] (before-compile): Do not append to variable.
15824         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15825         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15826         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15827         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15828         include.
15829         [generic sys/param.h] (sys/param.h-includes): Remove variable.
15830         [generic sys/param.h] (sys/param.h-includes): Remove rule.
15831         [generic sys/param.h] ($(addprefix
15832         $(common-objpfx),$(sys/param.h-includes))): Likewise.
15833         [generic sys/param.h] (common-generated): Do not append to
15834         variable.
15835         [generic sys/param.h] (sysdep_headers): Likewise.
15836         [generic bits/errno.h] (before-compile): Do not append to
15837         variable.
15838         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15839         rule.
15840         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15841         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15842         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15843         [generic bits/errno.h] (common-generated): Do not append to
15844         variable.
15845         [generic bits/ioctls.h] (before-compile): Do not append to
15846         variable.
15847         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15848         rule.
15849         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15850         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15851         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15852         rule.
15853         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15854         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15855         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15856         [generic bits/ioctls.h] (common-generated): Do not append to
15857         variable.
15858         [generic sys/syscall.h] (syscall.h): Remove variable.
15859         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15860         rule.
15861         [generic sys/syscall.h] (before-compile): Do not append to
15862         variable.
15863         [generic sys/syscall.h] (common-generated): Likewise.
15864         * sysdeps/unix/errnos-tmpl.c: Remove file.
15865         * sysdeps/unix/errnos.awk: Likewise.
15866         * sysdeps/unix/ioctls-tmpl.c: Likewise.
15867         * sysdeps/unix/ioctls.awk: Likewise.
15868         * sysdeps/unix/mk-local_lim.c: Likewise.
15869         * sysdeps/unix/snarf-ioctls: Likewise.
15871 2012-03-19  Richard Henderson  <rth@twiddle.net>
15873         * sysdeps/i386/fpu/fenv_private.h: New file.
15874         * sysdeps/i386/fpu/math_private.h: Use it.
15875         (math_opt_barrier, math_force_eval): Remove.
15876         (libc_feholdexcept_setround_53bit): Remove.
15877         (libc_feupdateenv_53bit): Remove.
15878         * sysdeps/x86_64/fpu/math_private.h: Likewise.
15879         (math_opt_barrier, math_force_eval): Remove.
15880         (libc_feholdexcept): Remove.
15881         (libc_feholdexcept_setround): Remove.
15882         (libc_fetestexcept, libc_fesetenv): Remove.
15883         (libc_feupdateenv_test): Remove.
15884         (libc_feupdateenv, libc_feholdsetround): Remove.
15885         (libc_feresetround): Remove.
15887         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15888         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15890         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15891         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15892         (libc_feupdateenv_testl): New.
15893         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15894         (libc_feupdateenv_testf): New.
15895         (libc_feupdateenv): Use libc_feupdateenv_test.
15896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15897         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15899         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15900         (libc_feholdsetroundf, libc_feholdsetroundl): New.
15901         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15902         (libc_feresetround_noex): New.
15903         (libc_feresetround_noexf): New.
15904         (libc_feresetround_noexl): New.
15905         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15906         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15907         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15908         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15909         SET_RESTORE_ROUND.
15910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15911         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15912         (__cos): Likewise.
15913         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15914         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15915         SET_RESTORE_ROUND_NOEX.
15916         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15917         SET_RESTORE_ROUND_NOEXF.
15918         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15919         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15920         (libc_feholdsetroundf): New.
15921         (libc_feresetround, libc_feresetroundf): New.
15923         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15924         (libc_feholdexcept_setround_53bit): Convert from macro to function.
15925         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
15927         * sysdeps/generic/math_private.h: Include <fenv.h>.
15928         (default_libc_feholdexcept): New.
15929         (default_libc_feholdexcept_setround): New.
15930         (default_libc_fesetenv, default_libc_feupdateenv): New.
15931         (libc_feholdexcept): Only define if undefined.
15932         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15933         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15934         (libc_feholdexcept_setroundl): Likewise.
15935         (libc_feholdexcept_setround_53bit): Likewise.
15936         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15937         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15938         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15939         (libc_feupdateenv_53bit): Likewise.
15940         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15941         (libc_feholdexcept): Convert from macro to inline function.
15942         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15943         (libc_fesetenv, libc_feupdateenv): Likewise.
15945         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15946         not previously defined.
15947         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15948         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15949         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15950         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15951         * sysdeps/ieee754/flt-32/math_private.h: New file.
15952         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15953         math_private.h below SET_FLOAT_WORD.
15954         (__isnan, __isinf_ns, __finite): Remove.
15955         (__isnanf, __isinf_nsf, __finitef): Remove.
15957 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
15959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15961 2012-03-17  David S. Miller  <davem@davemloft.net>
15963         [BZ #6471]
15964         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15965         for 2.16.
15967 2012-03-16  David S. Miller  <davem@davemloft.net>
15969         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15970         warnings.
15972         [BZ #6471]
15973         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15974         properly.
15975         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15976         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15977         sysdep_routines when subdir is sysvipc.
15978         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15979         __getshmlba helper.
15981         * sysdeps/sparc/fpu/libm-test/ulps: Update.
15983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15985         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15986         [__LP64__].
15988 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15990         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15991         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15992         (__lround): Renamed to ...
15993         (__llround): This.  Replace long int with long long int.
15994         Define lround functions as aliases of llround functions.
15995         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15997 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15999         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16000         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16001         adresses to uintptr_t.  Replace "long int" and "unsigned long
16002         int" with "greg_t" on va_arg.
16004 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16006         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16007         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16009         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16010         Move e_machine check before EI_CLASS check.  Handle x32
16011         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16012         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16013         SKIP_EM_IA_64 and include
16014         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16016         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16017         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16018         (add_system_dir): New macro.
16020         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16021         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16023 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16025         [BZ #2551]
16026         [BZ #2552]
16027         [BZ #2553]
16028         [BZ #2554]
16029         [BZ #2562]
16030         [BZ #2563]
16031         [BZ #2565]
16032         [BZ #2566]
16033         [BZ #2576]
16034         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16035         (y0): Likewise.
16036         * math/w_j0f.c (j0f): Likewise.
16037         (y0f): Likewise.
16038         * math/w_j0l.c (__j0l): Likewise.
16039         (__y0l): Likewise.
16040         * math/w_j1.c (j1): Likewise.
16041         (y1): Likewise.
16042         * math/w_j1f.c (j1f): Likewise.
16043         (y1f): Likewise.
16044         * math/w_j1l.c (__j1l): Likewise.
16045         (__y1l): Likewise.
16046         * math/w_jn.c (jn): Likewise.
16047         (yn): Likewise.
16048         * math/w_jnf.c (jnf): Likewise.
16049         (ynf): Likewise.
16050         * math/w_jnl.c (__jnl): Likewise.
16051         (__ynl): Likewise.
16052         * math/libm-test.inc (j0_test): Add more tests.
16053         (j1_test): Likewise.
16054         (jn_test): Likewise.  Add trailing semicolon to existing test.
16055         (y0_test): Likewise.
16056         (y1_test): Likewise.
16057         * sysdeps/i386/fpu/libm-test-ulps: Update.
16058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16060         [BZ #13851]
16061         [BZ #13854]
16062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16063         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16064         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16065         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16066         (__tanl): Set errno for infinite argument.
16067         * sysdeps/i386/fpu/mptan.c: Remove.
16068         * sysdeps/i386/fpu/s_tan.S: Likewise.
16069         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16070         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16071         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16072         * math/libm-test.inc (tan_test): Add more tests and enable more
16073         tests for double and long double.
16074         * sysdeps/i386/fpu/libm-test-ulps: Update.
16075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16079         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16080         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16082 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16084         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16085         * configure.in: Use it for both main tree and add-ons.
16086         * configure: Regenerated.
16088 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16090         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16092 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16094         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16095         in comment.
16097         [BZ #13851]
16098         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16099         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16100         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16101         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16102         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16103         infinite argument.
16104         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16106         != 0 for prec == 2.
16107         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16108         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16109         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16110         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16111         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16112         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16113         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16114         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16115         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16116         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16117         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16118         * math/libm-test.inc (cos_test): Add more tests and enable more
16119         tests for long double.
16120         (sin_test): Likewise.
16121         (sincos_test): Likewise.
16122         * sysdeps/i386/fpu/libm-test-ulps: Update.
16123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125 2012-03-16  David S. Miller  <davem@davemloft.net>
16127         * sysdeps/sparc/fpu/math_private.h: New file.
16129 2012-03-15  David S. Miller  <davem@davemloft.net>
16131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16132         file.
16133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16135         file.
16136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16142         sysdep routines.
16143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16145         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16146         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16148         * sysdeps/sparc/sparc-ifunc.h: New file.
16149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16150         sparc-ifunc.h
16151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16153         Likewise.
16154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16155         Likewise.
16156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16160         Likewise.
16161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16166         Likewise.
16167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16168         Likewise.
16169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16175         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16187         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16189         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16191         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16194 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16196         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16197         scaling.
16198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16200 2012-03-15  Andreas Jaeger  <aj@suse.de>
16202         [BZ #13852]
16203         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16204         ieee754/flt-32 implementation for sin, cos and sincos.
16205         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16206         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16207         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16208         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16209         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16210         ieee754/flt-32 implementation for tan.
16212         * math/libm-test.inc (cos_test): Enable some large input tests for
16213         float as well
16214         (sin_test): Likewise.
16215         (sincos_test): Likewise.
16216         (tan_test): Add tests for large input.
16218         * sysdeps/i386/fpu/libm-test-ulps: Update.
16220 2012-03-15  Andreas Jaeger  <aj@suse.de>
16222         [BZ #13658]
16223         * math/libm-test.inc (cos_test): Add more test cases.
16224         (sin_test): Likewise.
16225         (sincos_test): Likewise.
16227 2012-03-15  Andreas Jaeger  <aj@suse.de>
16229         [BZ #13837]
16230         * math/libm-test.inc (cos_test): Add a test case for large input
16231         value.
16232         (sin_test): Likewise.
16233         (sincos_test): Likewise.
16235 2012-03-15  Andreas Jaeger  <aj@suse.de>,
16236         Joseph Myers  <joseph@codesourcery.com>
16238         [BZ #13658]
16239         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
16240         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16241         * sysdeps/i386/fpu/branred.c: Likewise.
16242         * sysdeps/i386/fpu/dosincos.c: Likewise.
16243         * sysdeps/i386/fpu/mpa.c: Likewise.
16244         * sysdeps/i386/fpu/s_cos.S: Likewise.
16245         * sysdeps/i386/fpu/s_sin.S: Likewise.
16246         * sysdeps/i386/fpu/s_sincos.S: Likewise.
16247         * sysdeps/i386/fpu/sincos32.c: Likewise.
16249         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16250         Define.
16251         (libc_feupdateenv_53bit): Define.
16252         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16253         Define.
16254         (libc_feupdateenv_53bit): Define.
16256         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16257         53 bit (without extend i386 double precision).
16259         * math/libm-test.inc (sincos_test): Add tests for large input.
16260         (sin): Likewise.
16261         (cos): Likewise.
16263         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16265 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16269 2012-03-15  David S. Miller  <davem@davemloft.net>
16271         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16272         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16273         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16274         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
16286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16287         file.
16288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
16289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16290         file.
16291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
16292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16293         file.
16294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
16295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16296         file.
16297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16298         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16299         fmin/fmax sysdep routines.
16300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16302 2012-03-14  David S. Miller  <davem@davemloft.net>
16304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16308         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16309         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16327         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16329         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16330         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16331         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
16332         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16333         routines.
16334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16335         file.
16336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
16337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16338         file.
16339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
16340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16341         file.
16342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
16343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16344         file.
16345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
16346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16347         file.
16348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
16349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16350         file.
16351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16352         file.
16353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16354         file.
16355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16356         file.
16357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16358         New file.
16359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16360         file.
16361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16362         file.
16363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
16364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16365         file.
16366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
16367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16368         file.
16369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
16370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16371         file.
16372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
16373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16374         VIS3 routines.
16376         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16377         New file.
16379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16381         * sysdeps/sparc/configure.in: New file.
16382         * sysdeps/sparc/configure: Generate.
16383         * configure.in (libc_cv_sparc_as_vis3): Substitute.
16384         * configure: Regenerate.
16385         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16386         * config.make.in (have-as-vis3): New.
16387         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16388         available use -Av9d instead of -Av9a.
16389         * sysdeps/sparc/sparc64/Makefile: Likewise.
16390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
16391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16392         New file.
16393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16394         file.
16395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16396         New file.
16397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16398         file.
16399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16400         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16401         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16402         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16405         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16406         fzeros/fnegs to load 0x80000000 into a float register instead of
16407         using the stack.
16408         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16410 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16413         bits/syscall.h.
16414         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16415         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16416         ($(inst_includedir)/bits/syscall.h): Remove rule.
16417         ($(objpfx)bits/syscall.d): Include instead of
16418         $(objpfx)syscall-list.d.
16419         (generated): Change syscall-list.h and syscall-list.d to
16420         bits/syscall.h and bits/syscall.d.
16422 2012-03-14  Roland McGrath  <roland@hack.frob.com>
16424         [BZ #13846]
16425         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16427 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #13841]
16430         * math/s_csqrt.c: Include <float.h>.
16431         (__csqrt): Scale large or subnormal inputs.
16432         * math/s_csqrtf.c: Likewise.
16433         * math/s_csqrtl.c: Likewise.
16434         * math/libm-test.inc (csqrt_test): Add more tests.
16435         * sysdeps/i386/fpu/libm-test-ulps: Update.
16436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16438         [BZ #13840]
16439         * math/libm-test.inc (hypot_test): Add more tests.
16441 2012-03-13  David S. Miller  <davem@davemloft.net>
16443         [BZ #13840]
16444         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16445         double-precision for the calculation instead of scaling.
16447 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
16449         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
16450         manipulate bits before adding and subtracting TWO52[sx].
16451         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
16452         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
16453         Likewise.
16454         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
16456 2012-03-13  David S. Miller  <davem@davemloft.net>
16458         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
16459         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
16460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
16461         rtld-global-offsets.h
16462         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16464         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
16465         large parameters.
16467         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
16469         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
16470         'err' in the ifdef scope in which it is actually used.
16472         * nss/nss_db/db-init.c: Include string.h
16474 2012-03-12  David S. Miller  <davem@davemloft.net>
16476         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16477         masking out of the most significant byte of random value used.
16478         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16479         Fix coding style in previous change.
16481         * sysdeps/unix/sysv/linux/kernel-features.h
16482         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
16483         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
16484         expression.
16485         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
16486         later.
16488 2012-03-11  David S. Miller  <davem@davemloft.net>
16490         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16491         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
16492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
16493         for 'resultvar' otherwise things get truncated on 64-bit.
16495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16496         Fix masking out of the most significant byte of random value used.
16498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16500 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
16502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16504 2012-03-09  David S. Miller  <davem@davemloft.net>
16506         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
16507         variables with appropriate CPP guards.
16508         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
16509         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
16510         on resulting framesize and the management of the outregs buffer for pltexit.
16511         Preserve floating point return values across _dl_call_pltexit call.
16512         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
16513         framesize and the management of the outregs buffer for pltexit.
16514         Preserve floating point return values across _dl_call_pltexit
16515         call.
16516         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
16517         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
16518         (print_exit): Fix format string for return register value.
16520 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
16522         * sunrpc/Makefile (others): Add rpcgen.
16523         ($(objpfx)rpcgen): Remove special build rule and dependency on
16524         libc.
16525         * sunrpc/rpcgen.c: New file.
16527 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
16529         [BZ #13673]
16530         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
16531         * stdio-common/bug-vfprintf-nargs.c: Likewise.
16532         * sysdeps/i386/crti.S: Likewise.
16533         * sysdeps/i386/crtn.S: Likewise.
16534         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
16535         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
16536         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
16537         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
16538         * sysdeps/sh/crti.S: Likewise.
16539         * sysdeps/sh/crtn.S: Likewise.
16540         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16542         [BZ #13673]
16543         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
16544         with URL.
16545         * locale/programs/locfile-kw.gperf: Likewise.
16546         * locale/programs/charmap-kw.h: Regenerated.
16547         * locale/programs/locfile-kw.h: Likewise.
16549         [BZ #13673]
16550         * intl/plural.y: Replace FSF snail mail address with URL.
16551         * intl/plural.c: Regenerated.
16553 2012-03-09  Richard Henderson  <rth@twiddle.net>
16555         * include/math_private.h: Remove file.
16556         * math/math_private.h: Move file ...
16557         * sysdeps/generic/math_private.h: ... here.
16559         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
16560         * sysdeps/powerpc/fpu/math_private.h: Likewise.
16561         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16563         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
16564         and <math_private.h>.
16565         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16566         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16567         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16568         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16569         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16570         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
16571         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16572         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16573         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16574         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16577         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16578         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16579         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16580         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16581         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16582         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16583         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16584         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16586         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16587         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16589         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16590         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16591         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16592         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16594         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16597         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16598         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16599         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16600         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16601         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16602         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16603         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16604         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16605         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
16606         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16607         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16608         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16609         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16611         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
16612         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16613         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16614         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16615         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16616         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
16617         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16620         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16621         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16622         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16623         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16624         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
16625         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16626         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16628         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16629         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
16630         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16631         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16632         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16633         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
16634         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
16635         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16636         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16638         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16639         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
16640         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
16642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16644         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16645         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16646         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16647         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16648         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16649         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16652         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16653         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16654         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16655         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16656         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16657         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16658         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16659         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16660         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16661         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16662         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16663         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16665         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16666         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16667         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16668         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16669         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16670         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16671         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16672         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16673         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16674         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16675         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16676         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16677         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16678         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16679         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16680         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16681         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16682         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16683         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16684         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16685         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16686         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16687         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16688         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16689         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16690         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16691         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16692         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16693         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16694         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16695         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16696         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16697         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16698         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16699         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16700         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16701         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16702         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16703         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16704         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16705         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16706         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16707         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16708         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16709         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16710         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16711         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16712         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16713         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16714         * sysdeps/ieee754/k_standard.c: Likewise.
16715         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16716         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16717         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16718         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16719         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16720         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16721         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16722         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16723         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16724         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16725         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16727         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16728         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16729         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16730         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16734         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16735         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16746         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16747         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16748         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16750         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16751         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16752         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16753         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16755         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16756         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16758         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16759         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16760         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16761         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16763         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16764         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16765         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16766         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16767         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16768         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16769         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16770         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16771         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16772         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16773         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16774         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16775         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16776         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16777         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16778         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16779         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16781         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16782         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16783         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16788         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16789         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16790         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16794         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16795         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16797         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16799         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16801         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16802         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16803         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16804         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16805         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16806         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16807         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16808         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16809         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16810         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16811         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16812         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16813         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16814         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16816         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16818         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16819         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16820         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16821         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16822         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16823         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16824         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16825         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16826         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16829         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16830         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16831         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16832         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16833         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16834         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16835         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16836         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16837         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16838         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16839         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16840         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16841         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16842         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16843         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16844         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16845         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16846         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16847         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16848         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16849         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16850         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16851         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16852         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16853         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16854         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16855         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16856         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16857         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16858         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16859         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16860         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16861         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16862         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16863         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16864         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16865         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16866         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16867         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16868         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16869         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16870         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16871         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16872         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16873         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16874         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16875         * sysdeps/ieee754/s_lib_version.c: Likewise.
16876         * sysdeps/ieee754/s_matherr.c: Likewise.
16877         * sysdeps/ieee754/s_signgam.c: Likewise.
16878         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16879         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16880         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16881         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16882         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16883         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16884         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16885         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16886         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16887         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16888         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16889         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16890         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16891         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16892         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16893         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16894         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16895         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16896         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16900 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16902         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16903         * sunrpc/rpc_main.c: Likewise.
16904         * sunrpc/rpc_svcout.c: Likewise.
16906 2012-03-09  David S. Miller  <davem@davemloft.net>
16908         * include/math_private.h: New file.
16910 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
16912         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16913         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16914         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16915         from <bits/socket_type.h>.
16916         (enum __socket_type): Don't define here.
16917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16919         bits/socket_type.h.
16921         [BZ #13566]
16922         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16923         checking __USE_GNU.
16925         * Makerules ($(inst_includedir)/%.h): New rule.
16926         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16927         (install-others): Remove variable setting.
16928         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16930 2012-03-08  Richard Henderson  <rth@twiddle.net>
16932         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16933         from macro to inline function; merge with the
16934         !__LIBC_INTERNAL_MATH_INLINES version.
16935         (__ieee754_sqrtf): Likewise.
16937         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16938         to inline function.
16939         (__rintf, __floor, __floorf): Likewise.
16941         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16942         macro to inline function.
16943         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16945         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16946         not <math/math_private.h>.
16948 2012-03-08  David S. Miller  <davem@davemloft.net>
16950         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16951         copyright year.
16952         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16954 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
16956         * resolv/gai_misc.c (handle_requests): Fix struct timespec
16957         normalization.
16958         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16959         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16961 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
16963         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
16964         be defined individually, they must be defined as a block.  Define
16965         S for printing a string instead of hidint the different by using a
16966         macro for adding the 'l'.
16967         * stdio-common/tst-fphex-wide.c: Adjust.
16969 2012-03-07  Marek Polacek  <polacek@redhat.com>
16971         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16973 2012-03-08  Marek Polacek  <polacek@redhat.com>
16975         [BZ #13806]
16976         * stdio-common/Makefile (tests): Add tst-fphex-wide.
16977         * stdio-common/tst-fphex.c: Define a few macros to make the
16978         test reusable.  Use them.
16979         * stdio-common/tst-fphex-wide.c: New file.
16981 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #6911]
16984         * manual/macros.texi (gnusystems): New macro.
16985         (nongnusystems): Likewise.
16986         (gnulinuxhurdsystems): Likewise.
16987         (gnuhurdsystems): Likewise..
16988         (gnulinuxsystems): Likewise.
16989         * manual/charset.texi: Use new macros or @theglibc{} to refer to
16990         variants of the GNU system, not "GNU system".
16991         * manual/conf.texi: Likewise.
16992         * manual/errno.texi: Likewise.  Update example of errno macro
16993         expansion.
16994         * manual/filesys.texi: Likewise.
16995         (getumask): Document as specific to GNU/Hurd.
16996         * manual/install.texi: Likewise.  Reword some references to
16997         GNU/Linux.
16998         * manual/intro.texi: Likewise.
16999         * manual/io.texi: Likewise.
17000         (File Name Portability): Detail which constraints are inapplicable
17001         to all GNU systems and which are only inapplicable to GNU/Hurd.
17002         * manual/job.texi: Likewise.
17003         * manual/llio.texi: Likewise.
17004         (O_NOCTTY): Document as present on GNU/Linux.
17005         * manual/maint.texi: Likewise.
17006         * manual/memory.texi: Likewise.
17007         * manual/pattern.texi: Likewise.
17008         * manual/pipe.texi: Likewise.
17009         * manual/process.texi: Likewise.
17010         * manual/resource.texi: Likewise.
17011         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17012         child on GNU/Hurd.
17013         * manual/setjmp.texi: Likewise.
17014         * manual/signal.texi: Likewise.
17015         * manual/startup.texi: Likewise.
17016         * manual/stdio.texi: Likewise.
17017         * manual/terminal.texi: Likewise.
17018         (ONLCR): Document as POSIX.
17019         (OXTABS): Document availability on GNU/Linux as XTABS.
17020         (ONOEOT): Document availability separately from other bits.
17021         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17022         * manual/time.texi: Likewise.
17023         * manual/users.texi: Likewise.
17024         * INSTALL: Regenerated.
17025         * sysdeps/gnu/errlist.c: Regenerated.
17027         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17028         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17029         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17030         puts.
17031         * configure: Regenerated.
17033 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17035         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17036         default includes instead of AC_HEADER_CHECK.
17037         * sysdeps/i386/configure: Regenerated.
17039         [BZ #10716]
17040         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17041         * math/s_cacoshf.c (__cacoshf): Likewise.
17042         * math/s_cacoshl.c (__cacoshl): Likewise.
17043         * math/s_casinh.c (__casinh): Set signs of result from argument.
17044         * math/s_casinhf.c (__casinhf): Likewise.
17045         * math/s_casinhl.c (__casinhl): Likewise.
17046         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17047         (casinh_test): Add more tests.
17048         * sysdeps/i386/fpu/libm-test-ulps: Update.
17049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17051 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17053         * po/zh_TW.po: Update from translation team.
17055         * login/Makefile (distribute): Remove variable.
17056         * catgets/Makefile: Likewise.
17057         * mach/Makefile: Likewise.
17058         * malloc/Makefile: Likewise.
17059         * misc/Makefile: Likewise.
17060         * iconv/Makefile: Likewise.
17061         * nscd/Makefile: Likewise.
17062         * hurd/Makefile: Likewise.
17063         * manual/Makefile: Likewise.
17064         * locale/Makefile: Likewise.
17065         * intl/Makefile: Likewise.
17066         * conform/Makefile: Likewise.
17067         * nss/Makefile: Likewise.
17068         * time/Makefile: Likewise.
17069         * soft-fp/Makefile: Likewise.
17070         * dirent/Makefile: Likewise.
17071         * gmon/Makefile: Likewise.
17072         * po/Makefile: Likewise.
17073         * rt/Makefile: Likewise.
17074         * socket/Makefile: Likewise.
17075         * math/Makefile: Likewise.
17076         * signal/Makefile: Likewise.
17077         * debug/Makefile: Likewise.
17078         * elf/Makefile: Likewise.
17079         * timezone/Makefile: Likewise.
17080         * stdlib/Makefile: Likewise.
17081         * iconvdata/Makefile: Likewise.
17082         * sunrpc/Makefile: Likewise.
17083         * io/Makefile: Likewise.
17084         * argp/Makefile: Likewise.
17085         * inet/Makefile: Likewise.
17086         * hesiod/Makefile: Likewise.
17087         * grp/Makefile: Likewise.
17088         * csu/Makefile: Likewise.
17089         * wctype/Makefile: Likewise.
17090         * crypt/Makefile: Likewise.
17091         * libio/Makefile: Likewise.
17092         * string/Makefile: Likewise.
17093         * nis/Makefile: Likewise.
17094         * resolv/Makefile: Likewise.
17095         * stdio-common/Makefile: Likewise.
17096         * wcsmbs/Makefile: Likewise.
17097         * dlfcn/Makefile: Likewise.
17098         * posix/Makefile: Likewise.
17100         [BZ #6959]
17101         * timezone/Makefile: Don't install timezone files, just the programs
17102         and scripts.
17104 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17106         * nss/databases.def: Add missing gshadow entry.
17108         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17110 2012-03-06  Marek Polacek  <polacek@redhat.com>
17112         [BZ #13726]
17113         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17114         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17115         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17116         * stdio-common/tst-long-dbl-fphex.c: New file.
17118 2012-03-06  David S. Miller  <davem@davemloft.net>
17120         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17121         (set_obp_int): New function.
17122         (get_obp_int): New function.
17123         (__get_clockfreq_via_dev_openprom): Likewise.
17124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17125         Avoid unused variable warnings on 'val' and use builtin_expect.
17126         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17127         __builtin_expect.
17128         (INLINE_CLONE_SYSCALL): Likewise.
17130 2012-03-05  David S. Miller  <davem@davemloft.net>
17132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17134 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17138         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17139         only for |x| >= 40.
17140         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17142 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17145         Replace gettimeofday with __vdso_gettimeofday.
17147         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17148         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17149         __vdso_clock_gettime and __vdso_getcpu.
17151         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17152         time with __vdso_time.
17154 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17156         * manual/lang.texi (size_t): Note types to which size_t may be
17157         equivalent with the GNU C Library, but do not describe when
17158         differences between them are significant.
17160 2012-03-05  Andreas Jaeger  <aj@suse.de>
17162         * sysdeps/i386/fpu/libm-test-ulps: Update.
17164 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17166         [BZ #3976]
17167         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17168         (__ieee754_pow): Save and restore rounding mode and use
17169         round-to-nearest for main computations.
17170         * math/libm-test.inc (pow_test_tonearest): New function.
17171         (pow_test_towardzero): Likewise.
17172         (pow_test_downward): Likewise.
17173         (pow_test_upward): Likewise.
17174         (main): Call the new functions.
17175         * sysdeps/i386/fpu/libm-test-ulps: Update.
17176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17178         [BZ #3976]
17179         * math/libm-test.inc (cosh_test_tonearest): New function.
17180         (cosh_test_towardzero): Likewise.
17181         (cosh_test_downward): Likewise.
17182         (cosh_test_upward): Likewise.
17183         (sinh_test_tonearest): Likewise.
17184         (sinh_test_towardzero): Likewise.
17185         (sinh_test_downward): Likewise.
17186         (sinh_test_upward): Likewise.
17187         (main): Call the new functions.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17193         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17194         default stack guard is set in last bytes.
17195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17197 2012-03-05  Kees Cook  <keescook@chromium.org>
17199         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17201         [BZ #13656]
17202         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17203         possibly allocate from heap instead of stack.
17204         * stdio-common/bug-vfprintf-nargs.c: New file.
17205         * stdio-common/Makefile (tests): Add nargs overflow test.
17207 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17211 2012-03-03  Marek Polacek  <polacek@redhat.com>
17213         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17214         * math/math_private.h: Likewise.
17215         * stdlib/tst-strtod.c: Likewise.
17216         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17217         * sysdeps/x86_64/bits/atomic.h: Likewise.
17219 2012-03-02  David S. Miller  <davem@davemloft.net>
17221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17225         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17226         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17227         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17228         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17230 2012-03-02  Roland McGrath  <roland@hack.frob.com>
17232         [BZ #13792]
17233         * manual/examples/README: New file, says the example source files
17234         can be used under GPL>=2.
17235         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17236         line containing just "*/".
17237         * manual/examples/add.c: Add copyright header (GPL>=2).
17238         * manual/examples/argp-ex1.c: Likewise.
17239         * manual/examples/argp-ex2.c: Likewise.
17240         * manual/examples/argp-ex3.c: Likewise.
17241         * manual/examples/argp-ex4.c: Likewise.
17242         * manual/examples/atexit.c: Likewise.
17243         * manual/examples/db.c: Likewise.
17244         * manual/examples/dir.c: Likewise.
17245         * manual/examples/dir2.c: Likewise.
17246         * manual/examples/execinfo.c: Likewise.
17247         * manual/examples/filecli.c: Likewise.
17248         * manual/examples/filesrv.c: Likewise.
17249         * manual/examples/fmtmsgexpl.c: Likewise.
17250         * manual/examples/genpass.c: Likewise.
17251         * manual/examples/inetcli.c: Likewise.
17252         * manual/examples/inetsrv.c: Likewise.
17253         * manual/examples/isockad.c: Likewise.
17254         * manual/examples/longopt.c: Likewise.
17255         * manual/examples/memopen.c: Likewise.
17256         * manual/examples/memstrm.c: Likewise.
17257         * manual/examples/mkfsock.c: Likewise.
17258         * manual/examples/mkisock.c: Likewise.
17259         * manual/examples/mygetpass.c: Likewise.
17260         * manual/examples/pipe.c: Likewise.
17261         * manual/examples/popen.c: Likewise.
17262         * manual/examples/rprintf.c: Likewise.
17263         * manual/examples/search.c: Likewise.
17264         * manual/examples/select.c: Likewise.
17265         * manual/examples/setjmp.c: Likewise.
17266         * manual/examples/sigh1.c: Likewise.
17267         * manual/examples/sigusr.c: Likewise.
17268         * manual/examples/stpcpy.c: Likewise.
17269         * manual/examples/strdupa.c: Likewise.
17270         * manual/examples/strftim.c: Likewise.
17271         * manual/examples/strncat.c: Likewise.
17272         * manual/examples/subopt.c: Likewise.
17273         * manual/examples/swapcontext.c: Likewise.
17274         * manual/examples/termios.c: Likewise.
17275         * manual/examples/testopt.c: Likewise.
17276         * manual/examples/testpass.c: Likewise.
17277         * manual/examples/timeval_subtract.c: Likewise.
17279         [BZ #13792]
17280         * manual/time.texi (Elapsed Time): Move timeval_subtract example
17281         function to ...
17282         * manual/timeval_subtract.c.texi: ... here, new file.
17284 2012-03-02  David S. Miller  <davem@davemloft.net>
17286         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17288 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
17290         [BZ #3976]
17291         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17292         (__sin): Save and restore rounding mode and use round-to-nearest
17293         for all computations.
17294         (__cos): Save and restore rounding mode and use round-to-nearest
17295         for all computations.
17296         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17297         <fenv.h>.
17298         (tan): Save and restore rounding mode and use round-to-nearest for
17299         all computations.
17300         * math/libm-test.inc (cos_test_tonearest): New function.
17301         (cos_test_towardzero): Likewise.
17302         (cos_test_downward): Likewise.
17303         (cos_test_upward): Likewise.
17304         (sin_test_tonearest): Likewise.
17305         (sin_test_towardzero): Likewise.
17306         (sin_test_downward): Likewise.
17307         (sin_test_upward): Likewise.
17308         (tan_test_tonearest): Likewise.
17309         (tan_test_towardzero): Likewise.
17310         (tan_test_downward): Likewise.
17311         (tan_test_upward): Likewise.
17312         (main): Call the new functions.
17313         * sysdeps/i386/fpu/libm-test-ulps: Update.
17314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17316         [BZ #10135]
17317         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17318         small n, then large n, before computing and testing k+n.
17319         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17321         Likewise.
17322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17323         Likewise.
17324         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17325         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17326         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17327         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17328         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17329         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17331         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17332         * math/libm-test.inc (scalbn_test): Add more tests.
17333         (scalbln_test): Likewise.
17335         * manual/filesys.texi (mode_t): Describe constraints on size and
17336         signedness, not exact equivalence to a particular type.
17337         (ino_t): Likewise.
17338         (ino64_t): Likewise.
17339         (dev_t): Likewise.
17340         (nlink_t): Likewise.
17341         (blkcnt_t): Likewise.
17342         (blkcnt64_t): Likewise.
17343         * manual/llio.texi (off_t): Likewise.
17345         [BZ #3976]
17346         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17347         (__ieee754_exp): Save and restore rounding mode and use
17348         round-to-nearest for all computations.
17349         * math/libm-test.inc (exp_test_tonearest): New function.
17350         (exp_test_towardzero): Likewise.
17351         (exp_test_downward): Likewise.
17352         (exp_test_upward): Likewise.
17353         (main): Call the new functions.
17354         * sysdeps/i386/fpu/libm-test-ulps: Update.
17355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17357 2012-03-01  Chris Demetriou  <cgd@google.com>
17359         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17360         have predictable order.
17362 2012-03-01  David S. Miller  <davem@davemloft.net>
17364         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17366         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17367         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17368         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17369         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17371         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17372         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17373         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17375         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17376         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17377         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17378         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17379         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17383         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17384         * sysdeps/sparc/fpu/libm-test-ulps: to here.
17385         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17387         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17388         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17389         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17390         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17391         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17392         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17393         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17394         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17395         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17396         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17397         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17398         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17400         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17401         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17403         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17404         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17405         * sysdeps/sparc/elf/configure: Regenerated.
17407 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
17409         * configure.in (AS, LD): Require binutils 2.20 or later.
17410         * configure: Regenerated.
17411         * manual/install.texi (Tools for Compilation): Give binutils 2.20
17412         as required minimum version.
17413         * INSTALL: Regenerated.
17415         [BZ #2541]
17416         [BZ #4108]
17417         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17418         before squaring exponent.
17419         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17420         bottom long double and 27 bits of top long double before squaring
17421         exponent.
17422         * math/libm-test.inc (erfc_test): Add more tests.
17423         * sysdeps/i386/fpu/libm-test-ulps: Update.
17424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427 2012-03-01  Kai Tietz  <ktietz@redhat.com>
17429         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17430         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17431         containing bit-fields.
17432         * soft-fp/extended.h (_FP_UNION_E): Likewise.
17433         * soft-fp/single.h (_FP_UNION_S): Likewise.
17434         * soft-fp/double.h (_FP_UNION_D): Likewise.
17436 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17438         [BZ #13786]
17439         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17440         not include ../strcmp.S.
17441         [USE_AS_STRNCASECMP_L]: Likewise.
17442         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17443         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17444         * sysdeps/i386/i686/multiarch/strncase_l-c.c
17445         (__strncasecmp_l_ia32): Define as alias to
17446         __strncasecmp_l_nonascii.
17448         [BZ #5794]
17449         * math/libm-test.inc (expm1_test): Add test for bug 5794.
17450         * sysdeps/i386/fpu/libm-test-ulps: Update.
17451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17453         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
17454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17456 2012-02-29  Jeff Law  <law@redhat.com>
17458         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
17459         out of bounds read.
17461 2012-02-29  Marek Polacek  <polacek@redhat.com>
17463         [BZ #13706]
17464         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
17465         * elf/Makefile: Add rules to run tst-unused-dep.out.
17467 2012-02-28  David S. Miller  <davem@davemloft.net>
17469         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
17470         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
17471         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
17472         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
17473         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
17474         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
17476 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
17478         * math/libm-test.inc (llround_test): Move one test from
17479         lround_test.  Use TEST_f_L in moved test.
17480         (lround_test): Move misplaced test to llround_test.  Add testcase
17481         from bug 2561.
17483 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
17485         * sysdeps/x86_64/fpu/e_expf.S: New file.
17486         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
17488 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
17490         [BZ #13637]
17491         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
17492         of remain_len that may cause incomplete multi-byte character and
17493         false match.
17494         * posix/bug-regex33.c: New file.
17495         * posix/Makefile (tests): Add bug-regex33.
17497 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
17499         * manual/macros.texi: New file.
17500         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
17501         * manual/libc.texinfo: Include macros.texi.
17502         * manual/creatute.texi: Likewise.
17503         * manual/install.texi: Likewise.
17504         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
17505         @glibcadj{} in references to the GNU C Library.
17506         * manual/charset.texi: Likewise.
17507         * manual/conf.texi: Likewise.
17508         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
17509         when not using those macros.
17510         * manual/creature.texi: Likewise.
17511         * manual/crypt.texi: Likewise.
17512         * manual/errno.texi: Likewise.
17513         * manual/filesys.texi: Likewise.
17514         * manual/header.texi: Likewise.
17515         * manual/install.texi: Likewise.
17516         * manual/intro.texi: Likewise.
17517         * manual/io.texi: Likewise.
17518         * manual/job.texi: Likewise.
17519         * manual/lang.texi: Likewise.
17520         * manual/libc.texiinfo: Likewise.
17521         * manual/llio.texi: Likewise.
17522         * manual/locale.texi: Likewise.
17523         * manual/maint.texi: Likewise.
17524         * manual/math.texi: Likewise.
17525         * manual/memory.texi: Likewise.
17526         * manual/message.texi: Likewise.
17527         * manual/nss.texi: Likewise.
17528         * manual/pattern.texi: Likewise.
17529         * manual/process.texi: Likewise.
17530         * manual/resource.texi: Likewise.
17531         * manual/search.texi: Likewise.
17532         * manual/setjmp.texi: Likewise.
17533         * manual/signal.texi: Likewise.
17534         * manual/socket.texi: Likewise.
17535         * manual/startup.texi: Likewise.
17536         * manual/stdio.texi: Likewise.
17537         * manual/string.texi: Likewise.
17538         * manual/sysinfo.texi: Likewise.
17539         * manual/syslog.texi: Likewise.
17540         * manual/terminal.texi: Likewise.
17541         * manual/time.texi: Likewise.
17542         * manual/users.texi: Likewise.
17543         * INSTALL: Regenerated.
17544         * NOTES: Regenerated.
17545         * sysdeps/gnu/errlist.c: Regenerated.
17547 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
17549         * include/dirent.h: Include <dirstream.h> before
17550         <dirent/dirent.h>.
17552 2012-02-28  David S. Miller  <davem@davemloft.net>
17554         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
17555         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
17556         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
17557         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
17559 2012-02-27  David S. Miller  <davem@davemloft.net>
17561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
17562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
17563         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
17564         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
17566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
17567         frame pointer instead of stack pointer relative arg slot.
17568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17569         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17570         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17572 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
17574         [BZ #3992]
17575         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
17577 2012-02-27  David S. Miller  <davem@davemloft.net>
17579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
17580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
17583         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17584         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17585         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
17586         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
17588 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17590         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
17591         later.  Allow versions 5-9.
17592         * configure: Regenerated.
17593         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
17594         required minimum version and 4.6 as recommended version.  Do not
17595         mention bugs in GCC 2.7 and 2.8.
17596         * INSTALL: Regenerated.
17598 2012-02-27  David S. Miller  <davem@davemloft.net>
17600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
17601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
17602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
17603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
17604         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
17605         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
17606         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
17607         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
17609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
17610         manipulate bits before adding and subtracting TWO112[sx].
17611         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17613 2012-02-27  Roland McGrath  <roland@hack.frob.com>
17615         [BZ #13775]
17616         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
17617         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
17618         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
17619         being in POSIX, because they are in 1003.1-2008.
17621         * rt/tst-aio.c: Include <fcntl.h>.
17622         * rt/tst-aio7.c: Likewise.
17623         * rt/tst-aio64.c: Likewise.
17625         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
17627 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
17629         * manual/install.texi (--with-headers): Describe headers as
17630         interface headers, not private headers.
17631         (Specific advice for GNU/Linux systems): Describe use of headers
17632         from "make headers_install", not private headers from older
17633         kernels.
17634         * INSTALL: Regenerated.
17635         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
17636         Change to 2.6.19.
17637         * sysdeps/unix/sysv/linux/configure: Regenerated.
17639         * manual/llio.texi (fclean): Remove documentation.
17641         * manual/Makefile (libc-texi-generated): New variable.  Include
17642         version.texi.
17643         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17644         $(libc-texi-generated), not duplicated list of files.
17645         (version.texi, stamp-version): New rules.
17646         (realclean): Remove $(libc-texi-generated), not individual files
17647         from that list.  Do not remove dir-add.texinfo.
17648         * manual/libc.texinfo: Comment out uses of edition numbers and
17649         references to printed manual.  Remove last-updated dates.
17650         (EDITION): Comment out.
17651         (ISBN): Likewise.
17652         (VERSION, UPDATED): Remove.
17653         (version.texi): Include.
17655 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
17657         * sysdeps/posix/spawni.c: Include <signal.h>.
17658         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17659         * sysdeps/pthread/aio_fsync.c: Likewise.
17661 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
17663         * conform/Makefile (tests): Run only when not cross-compiling and
17664         when fast-check is not defined.
17666         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17667         * conform/data/limits.h-data: Fixes for POSIX2008.
17668         * conform/run-conformtest.sh: Run all tests.
17669         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17670         headers.
17671         * include/bits/dlfcn.h: Likewise.
17672         * include/langinfo.h: Likewise.
17673         * include/monetary.h: Likewise.
17674         * include/sys/poll.h: Likewise.
17676         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17677         for __USE_GNU.
17678         * posix/spawn.h: Define __need_sigset_t.
17679         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17680         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17681         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
17682         to get sigevent_t only.
17683         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17684         only for __USE_GNU.
17685         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17686         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17687         process_vm_writev only for __USE_GNU.
17688         * termios/termios.h: Declare tcgetsid also for POSIX2008.
17690         * conform/Makefile: For now ignore errors from run-conformtest.
17691         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
17692         POSIX to avoid namespace pollution.  Don't prepend headers.
17693         * conform/data/aio.h-data: Fixes for POSIX testing.
17694         * conform/data/fcntl.h-data: Likewise.
17695         * conform/data/glob.h-data: Likewise.
17696         * conform/data/grp.h-data: Likewise.
17697         * conform/data/pthread.h-data: Likewise.
17698         * conform/data/pwd.h-data: Likewise.
17699         * conform/data/signal.h-data: Likewise.
17700         * conform/data/spawn.h-data: Likewise.
17701         * conform/data/stdio.h-data: Likewise.
17702         * conform/data/stdlib.h-data: Likewise.
17703         * conform/data/stropts.h-data: Likewise.
17704         * conform/data/sys/mman.h-data: Likewise.
17705         * conform/data/sys/stat.h-data: Likewise.
17706         * conform/data/sys/types.h-data: Likewise.
17707         * conform/data/sys/wait.h-data: Likewise.
17708         * conform/data/time.h-data: Likewise.
17709         * conform/data/unistd.h-data: Likewise.
17710         * conform/data/utime.h-data: Likewise.
17712         * io/sys/stat.h: fchmod was always in POSIX.
17713         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17714         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17715         * rt/aio.h: Define __need_timespec before including <time.h>.
17716         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17717         struct.  Add forward declaration of pthread_attr_t and use it in
17718         sigevent.
17719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17721         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17722         always remove CLK_TCK definition.
17724 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
17726         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17728 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
17730         * conform/run-conformtest.sh: New file.
17731         * conform/Makefile: Run run-conformtest for tests.
17732         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
17733         support.
17735         * conform/data/uchar.h-data: New file.
17736         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17737         * conform/data/arpa/inet.h-data: Likewise.
17738         * conform/data/assert.h-data: Likewise.
17739         * conform/data/complex.h-data: Likewise.
17740         * conform/data/cpio.h-data: Likewise.
17741         * conform/data/ctype.h-data: Likewise.
17742         * conform/data/dirent.h-data: Likewise.
17743         * conform/data/dlfcn.h-data: Likewise.
17744         * conform/data/errno.h-data: Likewise.
17745         * conform/data/fcntl.h-data: Likewise.
17746         * conform/data/float.h-data: Likewise.
17747         * conform/data/fmtmsg.h-data: Likewise.
17748         * conform/data/fnmatch.h-data: Likewise.
17749         * conform/data/ftw.h-data: Likewise.
17750         * conform/data/glob.h-data: Likewise.
17751         * conform/data/grp.h-data: Likewise.
17752         * conform/data/iconv.h-data: Likewise.
17753         * conform/data/inttypes.h-data: Likewise.
17754         * conform/data/langinfo.h-data: Likewise.
17755         * conform/data/libgen.h-data: Likewise.
17756         * conform/data/limits.h-data: Likewise.
17757         * conform/data/locale.h-data: Likewise.
17758         * conform/data/math.h-data: Likewise.
17759         * conform/data/monetary.h-data: Likewise.
17760         * conform/data/mqueue.h-data: Likewise.
17761         * conform/data/ndbm.h-data: Likewise.
17762         * conform/data/net/if.h-data: Likewise.
17763         * conform/data/netdb.h-data: Likewise.
17764         * conform/data/netinet/in.h-data: Likewise.
17765         * conform/data/nl_types.h-data: Likewise.
17766         * conform/data/poll.h-data: Likewise.
17767         * conform/data/pthread.h-data: Likewise.
17768         * conform/data/pwd.h-data: Likewise.
17769         * conform/data/regex.h-data: Likewise.
17770         * conform/data/sched.h-data: Likewise.
17771         * conform/data/search.h-data: Likewise.
17772         * conform/data/semaphore.h-data: Likewise.
17773         * conform/data/setjmp.h-data: Likewise.
17774         * conform/data/signal.h-data: Likewise.
17775         * conform/data/spawn.h-data: Likewise.
17776         * conform/data/stdarg.h-data: Likewise.
17777         * conform/data/stdio.h-data: Likewise.
17778         * conform/data/stdlib.h-data: Likewise.
17779         * conform/data/string.h-data: Likewise.
17780         * conform/data/strings.h-data: Likewise.
17781         * conform/data/stropts.h-data: Likewise.
17782         * conform/data/sys/ipc.h-data: Likewise.
17783         * conform/data/sys/mman.h-data: Likewise.
17784         * conform/data/sys/msg.h-data: Likewise.
17785         * conform/data/sys/resource.h-data: Likewise.
17786         * conform/data/sys/select.h-data: Likewise.
17787         * conform/data/sys/sem.h-data: Likewise.
17788         * conform/data/sys/shm.h-data: Likewise.
17789         * conform/data/sys/socket.h-data: Likewise.
17790         * conform/data/sys/stat.h-data: Likewise.
17791         * conform/data/sys/statvfs.h-data: Likewise.
17792         * conform/data/sys/time.h-data: Likewise.
17793         * conform/data/sys/timeb.h-data: Likewise.
17794         * conform/data/sys/times.h-data: Likewise.
17795         * conform/data/sys/types.h-data: Likewise.
17796         * conform/data/sys/uio.h-data: Likewise.
17797         * conform/data/sys/un.h-data: Likewise.
17798         * conform/data/sys/utsname.h-data: Likewise.
17799         * conform/data/sys/wait.h-data: Likewise.
17800         * conform/data/syslog.h-data: Likewise.
17801         * conform/data/tar.h-data: Likewise.
17802         * conform/data/termios.h-data: Likewise.
17803         * conform/data/utime.h-data: Likewise.
17804         * conform/data/utmpx.h-data: Likewise.
17805         * conform/data/varargs.h-data: Likewise.
17806         * conform/data/wchar.h-data: Likewise.
17807         * conform/data/wctype.h-data: Likewise.
17808         * conform/data/wordexp.h-data: Likewise.
17810         * include/stropts.h: New file.
17811         * include/uchar.h: New file.
17812         * include/aio.h: Changes to allow conformtest.pl to use the headers.
17813         * include/assert.h: Likewise.
17814         * include/ctype.h: Likewise.
17815         * include/dirent.h: Likewise.
17816         * include/dlfcn.h: Likewise.
17817         * include/fcntl.h: Likewise.
17818         * include/fnmatch.h: Likewise.
17819         * include/glob.h: Likewise.
17820         * include/grp.h: Likewise.
17821         * include/libio.h: Likewise.
17822         * include/locale.h: Likewise.
17823         * include/math.h: Likewise.
17824         * include/net/if.h: Likewise.
17825         * include/netdb.h: Likewise.
17826         * include/netinet/in.h: Likewise.
17827         * include/pthread.h: Likewise.
17828         * include/pwd.h: Likewise.
17829         * include/regex.h: Likewise.
17830         * include/sched.h: Likewise.
17831         * include/search.h: Likewise.
17832         * include/setjmp.h: Likewise.
17833         * include/signal.h: Likewise.
17834         * include/stdio.h: Likewise.
17835         * include/stdlib.h: Likewise.
17836         * include/string.h: Likewise.
17837         * include/sys/cdefs.h: Likewise.
17838         * include/sys/mman.h: Likewise.
17839         * include/sys/msg.h: Likewise.
17840         * include/sys/resource.h: Likewise.
17841         * include/sys/select.h: Likewise.
17842         * include/sys/socket.h: Likewise.
17843         * include/sys/stat.h: Likewise.
17844         * include/sys/statvfs.h: Likewise.
17845         * include/sys/time.h: Likewise.
17846         * include/sys/times.h: Likewise.
17847         * include/sys/uio.h: Likewise.
17848         * include/sys/utsname.h: Likewise.
17849         * include/sys/wait.h: Likewise.
17850         * include/termios.h: Likewise.
17851         * include/time.h: Likewise.
17852         * include/ulimit.h: Likewise.
17853         * include/unistd.h: Likewise.
17854         * include/utime.h: Likewise.
17855         * include/wchar.h: Likewise.
17856         * include/wctype.h: Likewise.
17857         * include/wordexp.h: Likewise.
17859         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17861         * time/time.h: TIME_UTC must be a macro.
17862         Make timespec_get available for ISO C11 only as well.
17864 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
17866         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17867         Reported by Peng Haitao <penght@cn.fujitsu.com>.
17869 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17871         * configure.in: Use -o not -a in test for unsupported multi-arch.
17873 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17875         * manual/texinfo.tex: Update to version 2012-01-19.16.
17877 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
17879         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17881 2012-02-24  Roland McGrath  <roland@hack.frob.com>
17883         [BZ #13738]
17884         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17885         * manual/fdl-1.3.texi: New file.
17886         * manual/fdl-1.1.texi: File removed.
17888         [BZ #13738]
17889         * manual/libc.texinfo (FDL_VERSION): New @set.
17890         Use it for mention of FDL in cover text.
17891         (Documentation License): Use it in @include file name.
17893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17894             Roland McGrath  <roland@hack.frob.com>
17896         [BZ #5461]
17897         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17898         not LONG_LONG_MAX and LONG_LONG_MIN.
17899         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17900         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
17901         name.
17902         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17904 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17906         [BZ #2547]
17907         [BZ #11365]
17908         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17909         manipulate bits before adding and subtracting TWO23[sx].
17910         * math/libm-test.inc (nearbyint_test): Add more tests.
17912 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17914         [BZ #2548]
17915         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17916         bits before adding and subtracting TWO23[sx].
17917         * math/libm-test.inc (rint_test): Add more tests.
17918         (rint_test_tonearest): Likewise.
17919         (rint_test_towardzero): Likewise.
17920         (rint_test_downward): Likewise.
17921         (rint_test_upward: Likewise.
17923 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #10110]
17926         * include/stdc-predef.h: New file.  Extracted from features.h.
17927         * include/features.h: Include stdc-predef.h.
17928         * Makefile (headers): Add stdc-predef.h.
17929         * CONFORMANCE (Compiler limitations): Update.
17931 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
17933         * manual/libc.texinfo (VERSION, UPDATED): Revert.
17935 2012-02-21  David S. Miller  <davem@davemloft.net>
17937         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17938         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17940 2012-02-20  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17943         using a normal save/restore sequence, rather than allocating a
17944         dummy stack frame just to store a frame pointer and restore.
17945         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17947 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17949         * manual/install.texi: Fix stray word in line-wrapped comment.
17951 2012-02-20  David S. Miller  <davem@davemloft.net>
17953         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17954         both binutils and gcc support GOTDATA.
17956         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17957         "rd %pc" in the PIC register setup sequences.
17959         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17960         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17961         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17962         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17963         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17965         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17966         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17968         (SYSCALL_ERROR_HANDLER): Likewise.
17969         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17970         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17972         (SYSCALL_ERROR_HANDLER): Likewise.
17974         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17975         (HAVE_GCC_GOTDATA): New.
17976         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17977         relocation support in both binutils and gcc.
17978         * sysdeps/sparc/elf/configure: Regenerate.
17980         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17981         * sysdeps/sparc/sparc32/elf/configure: Delete.
17982         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17983         * sysdeps/sparc/sparc64/elf/configure: Delete.
17984         * sysdeps/sparc/elf/configure.in: New file.
17985         * sysdeps/sparc/elf/configure: Generate.
17987         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17988         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17989         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17990         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17991         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17993 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
17995         * manual/install.texi: Do not mention specific glibc version
17996         numbers.
17997         * manual/libc.texinfo (VERSION, UPDATED): Update.
17998         (@copying): Use @copyright{} and range of years.
18000 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18002         [BZ #13695]
18003         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18004         [crti.S not in sysdirs] (generated): Do not append.
18005         [crti.S not in sysdirs] (omit-deps): Likewise.
18006         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18007         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18008         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18009         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18010         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18011         Likewise.
18012         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18013         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18014         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18015         * csu/defs.awk: Remove file.
18016         * sysdeps/generic/initfini.c: Likewise.
18017         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18018         variable.
18019         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18020         Likewise.
18022 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18024         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18025         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18026         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18027         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18028         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18029         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18030         <bits/epoll.h>.
18031         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18032         (__EPOLL_PACKED): Define to empty if not defined by
18033         <bits/epoll.h>.
18034         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18036         bits/epoll.h.
18038 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18040         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18041         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18042         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18043         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18044         <bits/timerfd.h>.
18045         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18047         bits/timerfd.h.
18049 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18051         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18052         in C locale.
18053         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18054         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18055         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18060         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18061         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18063 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18065         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18066         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18067         defined.
18068         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18069         Likewise.
18070         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18071         entry for 2.16.
18073 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18075         * math/w_acos.c: Use non-signaling floating-point comparisons.
18076         * math/w_acosf.c: Likewise.
18077         * math/w_acosh.c: Likewise.
18078         * math/w_acoshf.c: Likewise.
18079         * math/w_acoshl.c: Likewise.
18080         * math/w_acosl.c: Likewise.
18081         * math/w_asin.c: Likewise.
18082         * math/w_asinf.c: Likewise.
18083         * math/w_asinl.c: Likewise.
18084         * math/w_atanh.c: Likewise.
18085         * math/w_atanhf.c: Likewise.
18086         * math/w_atanhl.c: Likewise.
18087         * math/w_exp2.c: Likewise.
18088         * math/w_exp2f.c: Likewise.
18089         * math/w_exp2l.c: Likewise.
18090         * math/w_j0.c: Likewise.
18091         * math/w_j0f.c: Likewise.
18092         * math/w_j0l.c: Likewise.
18093         * math/w_j1.c: Likewise.
18094         * math/w_j1f.c: Likewise.
18095         * math/w_j1l.c: Likewise.
18096         * math/w_jn.c: Likewise.
18097         * math/w_jnf.c: Likewise.
18098         * math/w_log.c: Likewise.
18099         * math/w_log10.c: Likewise.
18100         * math/w_log10f.c: Likewise.
18101         * math/w_log10l.c: Likewise.
18102         * math/w_log2.c: Likewise.
18103         * math/w_log2f.c: Likewise.
18104         * math/w_log2l.c: Likewise.
18105         * math/w_logf.c: Likewise.
18106         * math/w_logl.c: Likewise.
18107         * math/w_sqrt.c: Likewise.
18108         * math/w_sqrtf.c: Likewise.
18109         * math/w_sqrtl.c: Likewise.
18110         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18111         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18112         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18113         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18114         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18116 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18118         [BZ #9739]
18119         * manual/string.texi (strnlen): Use correct parameter name in
18120         equivalent expression.
18122 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18124         [BZ #11174]
18125         * manual/users.texi (seteuid): Consistently use neweuid for
18126         argument name.
18128 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18130         [BZ #13704]
18131         * manual/nss.texi (Services in the NSS configuration): Correct
18132         list of services in example configuration file.
18134 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18136         [BZ #11322]
18137         * manual/arith.texi: Remove statements about negative zero
18138         behaving identically to zero.
18140 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18142         [BZ #5993]
18143         * manual/install.texi: Do not document upgrading from libc5.
18145 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18147         [BZ #4596]
18148         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18150 2012-02-18  David S. Miller  <davem@davemloft.net>
18152         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18153         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18154         %o7 across the call.
18155         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18156         instead.
18157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18158         SETUP_PIC_REG_LEAF.
18159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18160         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18161         * sysdeps/sparc/crtn.S: Likewise.
18163 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18165         * aout/Makefile: Remove.
18167 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18169         [BZ #13058]
18170         * manual/examples/argp-ex1.c (main): Format definition in GNU
18171         style.
18172         * manual/examples/argp-ex2.c (main): Likewise.
18173         * manual/examples/argp-ex3.c (main): Likewise.
18174         * manual/examples/argp-ex4.c (main): Likewise.
18175         * manual/examples/longopt.c (main): Use new-style prototype
18176         definition.
18177         * manual/examples/strncat.c (main): Specify return type and use
18178         (void) for arguments.
18179         * manual/examples/subopt.c (main): Use char **argv argument.
18181 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18183         [BZ #5077]
18184         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18185         rounding modes.
18187 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18189         [BZ #6907]
18190         * manual/string.texi (strchr): Change when strchrnul is
18191         recommended.
18193 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18195         [BZ #174]
18196         * manual/locale.texi (setlocale): Document LOCPATH.
18198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18200         [BZ #10210]
18201         * manual/process.texi (execle): Move @dots{} before last argument.
18203 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18205         [BZ #12047]
18206         * manual/charset.texi (Generic Charset Conversion): Fix typo
18207         (LC_TYPE -> LC_CTYPE).
18209 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18211         [BZ #5805]
18212         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18213         (scalbnf): Likewise.
18214         (scalbnl): Likewise.
18215         (scalbln): Likewise.
18216         (scalblnf): Likewise.
18217         (scalblnl): Likewise.
18218         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18219         (vwarnx): Likewise.
18220         (verr): Likewise.
18221         (verrx): Likewise.
18222         * manual/filesys.texi (telldir): Use braces around return type.
18223         * manual/llio.texi (mmap): Add space after comma.
18224         (mmap64): Likewise.
18225         * manual/math.texi (jn): Use @var{} on parameter names.
18226         (jnf): Likewise.
18227         (jnl): Likewise.
18228         (yn): Likewise.
18229         (ynf): Likewise.
18230         (ynl): Likewise.
18231         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18232         line.
18233         * manual/resource.texi (ulimit): Use @dots{} instead of literal
18234         "...".
18235         (sched_get_priority_min): Remove semicolon on @deftypefun line.
18236         (sched_get_priority_max): Likewise.
18237         * manual/signal.texi (sigvec): Add space after comma.
18238         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18239         names.
18240         (if_indextoname): Likewise.
18241         (if_freenameindex): Likewise.
18242         (sendto): Use ',' instead of '.' in prototype.
18243         * manual/startup.texi (syscall): Use @dots{} instead of literal
18244         "...".
18245         * manual/stdio.texi (__fpending): Separate initial words of
18246         paragraph from @deftypefun line.
18247         * manual/syslog.texi (syslog): Use @dots{} instead of literal
18248         "...".
18249         (vsyslog): Use @var{} on parameter names.
18250         * manual/terminal.texi (stty): Use @var{} on parameter names.
18251         * manual/users.texi (getutmp): Use @var{} on parameter names.
18252         (getutmpx): Likewise.
18254 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18256         [BZ #6884]
18257         * manual/stdio.texi (fopen): Fix typos in description of
18258         ",ccs=STRING".
18260 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
18262         [BZ #4026]
18263         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18264         get clock_id definition.
18266 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
18268         [BZ #4822]
18269         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18270         (madvise): Cast every argument to void on its own.
18272 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18274         [BZ #9902]
18275         * manual/startup.texi (Exit Status): Fix typo.
18277 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18279         [BZ #10140]
18280         * manual/examples/argp-ex1.c: Include <stdlib.h>.
18281         * manual/examples/argp-ex2.c: Likewise.
18282         * manual/examples/argp-ex3.c: Likewise.
18284 2012-02-16  Richard Henderson  <rth@redhat.com>
18286         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18287         * sysdeps/s390/s390-32/initfini.c: Remove.
18288         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18289         * sysdeps/s390/s390-64/initfini.c: Remove.
18291 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18293         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18294         compiler output for sysdeps/generic/initfini.c.
18295         * sysdeps/sh/elf/initfini.c: Remove file.
18297 2012-02-16  David S. Miller  <davem@davemloft.net>
18299         [BZ #11494]
18300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18302         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18303         * sysdeps/sparc/crti.S: New file.
18304         * sysdeps/sparc/crtn.S: New file.
18305         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18306         * sysdeps/sparc/sparc64/Makefile: Likewise.
18308 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
18310         [BZ #3335]
18311         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18313 2012-02-15  Roland McGrath  <roland@hack.frob.com>
18315         [BZ #4822]
18316         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18318         * mach/devstream.c (cookie_io_functions_t): Macro removed.
18319         (write, read, close): Likewise.
18320         Patch by Aurelien Jarno <aurelien@aurel32.net>.
18322 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
18324         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18325         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18326         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18327         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18328         <bits/signalfd.h>.
18329         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18331         bits/signalfd.h.
18333 2012-02-14  Marek Polacek  <polacek@redhat.com>
18335         * sysdeps/x86_64/crti.S: New file.
18336         * sysdeps/x86_64/crtn.S: New file.
18337         * sysdeps/x86_64/elf/initfini.c: Remove file.
18339 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18341         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18342         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18343         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18344         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18345         <bits/inotify.h>.
18346         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18348         bits/inotify.h.
18350 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
18352         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18353         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18354         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18355         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18356         <bits/eventfd.h>.
18357         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18359         bits/eventfd.h.
18361 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
18363         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18364         __feraiseexcept instead of feraiseexcept.
18366         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18367         nanosleep invocations.
18368         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18369         strings, and add error checking for a nanosleep invocations.
18371 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
18373         Replace FSF snail mail address with URLs, as per GNU coding standards.
18374         Most of the snail mail addresses were wrong anyway, and omitting
18375         them makes the source code easier to maintain.  Almost all of the
18376         changes are to license notices and to locale LC_IDENTIFICATION
18377         addresses, except for this one:
18378         * manual/libc.texinfo: In "Published by", give the FSF's URL,
18379         not its snail mail address.
18381 2012-02-09  Richard Henderson  <rth@twiddle.net>
18383         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18384         of kernel-features.h.
18386         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18388 2012-02-08  Marek Polacek  <polacek@redhat.com>
18390         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18391         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18392         * sysdeps/gnu/_G_config.h: Likewise.
18393         * sysdeps/generic/_G_config.h: Likewise.
18395 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
18397         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18398         tests.
18399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18401         * sysdeps/powerpc/powerpc32/crti.S: New file.
18402         * sysdeps/powerpc/powerpc32/crtn.S: New file.
18403         * sysdeps/powerpc/powerpc64/crti.S: New file.
18404         * sysdeps/powerpc/powerpc64/crtn.S: New file.
18406         * Makeconfig (have-initfini): Don't set.
18407         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18408         * configure.in (nopic_initfini): Don't substitute.
18409         * config.h.in (HAVE_INITFINI): Don't #undef.
18410         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18411         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18413 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
18415         Support crti.S and crtn.S provided directly by architectures.
18416         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18417         [crti.S in sysdirs] (omit-deps): Likewise.
18418         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18419         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18420         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18421         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18422         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18423         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18424         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18425         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18426         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18427         compiler output for sysdeps/generic/initfini.c.
18428         * sysdeps/i386/elf/Makefile: Remove file.
18429         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18431 2012-02-07  Marek Polacek  <polacek@redhat.com>
18433         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18434         * sysdeps/gnu/_G_config.h: Likewise.
18435         * sysdeps/mach/hurd/_G_config.h: Likewise.
18437 2012-02-07  Marek Polacek  <polacek@redhat.com>
18439         * math/Makefile (tests): Add tst-CMPLX2.
18440         * math/tst-CMPLX2.c: New file.
18442 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
18444         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18446         * math/libm-test.inc (jn_test): Add missing L suffix.
18448 2012-02-06  Marek Polacek  <polacek@redhat.com>
18450         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
18451         * sysdeps/i386/fpu/e_powf.S: Likewise.
18452         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18453         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18454         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18455         * sysdeps/i386/fpu/e_pow.S: Likewise.
18456         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18457         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18458         * sysdeps/i386/fpu/s_expm1.S: Likewise.
18459         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18460         * sysdeps/i386/fpu/e_log2.S: Likewise.
18461         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18462         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18463         * sysdeps/i386/fpu/e_powl.S: Likewise.
18464         * sysdeps/i386/fpu/s_log1p.S: Likewise.
18465         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18466         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18467         * sysdeps/i386/fpu/e_logl.S: Likewise.
18468         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18469         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
18470         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18471         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18472         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18473         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18474         * sysdeps/i386/fpu/e_log.S: Likewise.
18475         * sysdeps/i386/fpu/s_cexp.S: Likewise.
18476         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18477         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
18478         * sysdeps/i386/fpu/e_logf.S: Likewise.
18479         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18480         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18481         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
18482         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18483         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18484         * sysdeps/i386/fpu/e_log10.S: Likewise.
18485         * sysdeps/i386/fpu/s_frexp.S: Likewise.
18486         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18487         * sysdeps/i386/fpu/s_asinh.S: Likewise.
18488         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18489         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18490         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18491         * sysdeps/i386/asm-syntax.h: Likewise.
18492         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18493         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18494         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18495         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
18496         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
18497         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18498         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18499         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18500         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18501         * sysdeps/powerpc/sysdep.h: Likewise.
18502         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18503         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18505 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18507         [BZ #411]
18508         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
18510 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
18512         * sysdeps/i386/sysdep.h: Include <features.h>.
18513         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
18514         version.
18516 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
18518         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
18519         Define.
18520         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
18521         LOAD_PIC_REG_STR.
18523 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18525         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
18526         (SETUP_PIC_REG): Use GET_PC_THUNK.
18527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
18528         macro.
18530 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18532         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18533         for non-PIC compilation.
18534         (SETUP_PIC_REG): Add .p2align directive.
18535         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
18536         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18537         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18538         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18540         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18541         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18542         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18543         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18544         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18545         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18546         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18547         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18548         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18549         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18550         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18551         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18552         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18553         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18554         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18555         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18556         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18557         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18558         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18561         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18562         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18563         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18564         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18565         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18566         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18567         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18568         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18569         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18570         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18571         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18572         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18573         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18574         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18575         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18577 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
18579         * math/tst-CMPLX.c: Include <stdio.h>.
18581 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
18583         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
18584         float.
18585         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18586         * sysdeps/sparc/bits/mathdef.h: Likewise.
18588 2012-01-31  Marek Polacek  <polacek@redhat.com>
18590         * libio/libio.h: Don't define _PARAMS.
18591         * locale/programs/config.h: Don't define PARAMS.
18592         * stdlib/strtol_l.c: Likewise.
18593         (__strtol_l): Remove PARAMS from the prototype.
18595 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
18597         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
18598         names.  Just use the correct names.  Remove unnecessary wrapper
18599         functions.
18600         * malloc/arena.c: Likewise.
18601         * malloc/hooks.c: Likewise.
18603         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
18604         ARENA_TEST says not to.  Simplify test for creation of a new arena.
18605         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
18607 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
18609         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
18610         into tail calls.
18611         (update_get_addr): New function.
18612         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
18613         GET_ADDR_MODULE parameter.
18615 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18617         * crypt/cert.c: Remove __STDC__ conditionals.
18618         * crypt/crypt-entry.c: Likewise.
18619         * crypt/crypt_util.c: Likewise.
18620         * libio/filedoalloc.c: Likewise.
18621         * libio/fileops.c: Likewise.
18622         * libio/genops.c: Likewise.
18623         * libio/iofclose.c: Likewise.
18624         * libio/iofdopen.c: Likewise.
18625         * libio/iofopen.c: Likewise.
18626         * libio/iofopen64.c: Likewise.
18627         * libio/iogetdelim.c: Likewise.
18628         * libio/iopopen.c: Likewise.
18629         * libio/obprintf.c: Likewise.
18630         * libio/oldfileops.c: Likewise.
18631         * libio/oldiofclose.c: Likewise.
18632         * libio/oldiofdopen.c: Likewise.
18633         * libio/oldiofopen.c: Likewise.
18634         * libio/oldiopopen.c: Likewise.
18635         * libio/wfiledoalloc.c: Likewise.
18636         * libio/wgenops.c: Likewise.
18637         * locale/programs/xmalloc.c: Likewise.
18638         * misc/syslog.c: Likewise.
18639         * stdio-common/xbug.c: Likewise.
18640         * string/memchr.c: Likewise.
18641         * string/memcmp.c: Likewise.
18642         * string/memrchr.c: Likewise.
18643         * string/rawmemchr.c: Likewise.
18644         * sysdeps/posix/getcwd.c: Likewise.
18645         * time/strftime_l.c: Likewise.
18647 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
18649         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
18650         * config.make.in (config-cflags-sse2avx): Define.
18651         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18652         Fix typo.
18654 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
18656         * scripts/config.guess: Update from upstream config git repository.
18657         * scripts/config.sub: Likewise.
18659 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
18661         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18662         (EM_NUM): Update.
18663         (R_TILEPRO_*, R_TILEGX_*): New macros.
18665         * scripts/firstversions.awk: Fix bug in version range handling.
18667         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18669         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18671         * include/sys/epoll.h: New file.
18672         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18673         libc_hidden_def.
18675 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
18677         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18678         Avoid unnecessary __WORDSIZE == 64 test.
18679         (fmaxf): Use VEX format if possible.
18680         (fmax): Likewise.
18681         (fminf): Likewise.
18682         (fmin): Likewise.
18684         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18685         * math/math_private.h: Remove libc_fegetround* and
18686         libc_fesetround*.
18687         * sysdeps/i386/configure.in: Check for -msse2avx.
18688         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18689         also if SSE2AVX is defined.
18690         Remove libc_fegetround* and libc_fesetround*.
18691         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18692         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
18693         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18694         of HAS_YMM_USABLE.
18695         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18696         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18697         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18698         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18699         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18701         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18703 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18705         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18706         size is not set.
18707         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18709 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
18711         [BZ #13618]
18712         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18713         relocation.
18714         * Makeconfig (libm): Define.
18715         * elf/Makefile: Add rules to build and run tst-relsort1.
18716         * elf/tst-relsort1.c: New file.
18717         * elf/tst-relsort1mod1.c: New file.
18718         * elf/tst-relsort1mod2.c: New file.
18720 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
18722         * math/s_ldexp.c: Remove __STDC__ conditionals.
18723         * math/s_ldexpf.c: Likewise.
18724         * math/s_ldexpl.c: Likewise.
18725         * math/s_nextafter.c: Likewise.
18726         * math/s_nexttowardf.c: Likewise.
18727         * math/s_significand.c: Likewise.
18728         * math/s_significandf.c: Likewise.
18729         * math/s_significandl.c: Likewise.
18730         * math/w_jnl.c: Likewise.
18731         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18732         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18733         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18734         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18735         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18736         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18737         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18738         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18739         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18743         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18744         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18745         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18746         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18747         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18748         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18750         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18751         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18752         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18753         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18754         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18755         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18756         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18757         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18758         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18759         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18760         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18761         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18762         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18763         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18764         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18765         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18766         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18767         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18768         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18769         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18770         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18771         * sysdeps/ieee754/k_standard.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18776         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18777         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18804         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18807         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18808         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18809         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18810         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18812         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18815         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18820         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18821         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18823         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18825         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18826         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18827         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18828         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18829         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18830         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18832         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18833         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18834         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18836         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18837         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18838         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18839         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18840         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18841         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18842         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18843         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18844         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18846         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18847         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18848         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18849         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18850         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18851         * sysdeps/ieee754/s_matherr.c: Likewise.
18852         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18853         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18855         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18857 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18859         * crypt/md5.h: Remove __STDC__ conditionals.
18860         * libio/libioP.h: Likewise.
18861         * locale/programs/config.h: Likewise.
18862         * sysdeps/generic/sysdep.h: Likewise.
18863         * sysdeps/i386/asm-syntax.h: Likewise.
18864         * sysdeps/s390/asm-syntax.h: Likewise.
18865         * sysdeps/unix/sysdep.h: Likewise.
18866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18869 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
18871         * libio/libio.h: Remove __STDC__ conditionals.
18872         * malloc/obstack.h: Likewise.
18873         * math/complex.h: Likewise.
18874         * math/math.h: Likewise.
18875         * sysdeps/generic/_G_config.h: Likewise.
18876         * sysdeps/gnu/_G_config.h: Likewise.
18877         * sysdeps/mach/hurd/_G_config.h: Likewise.
18878         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18879         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18880         * sysdeps/sparc/bits/mathdef.h: Likewise.
18882 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
18884         [BZ #13583]
18885         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
18886         Clean up HAS_* macros.
18887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
18888         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18889         possible.
18890         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18891         HAS_AVX.
18892         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18893         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18894         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18895         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18896         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18898 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
18900         * elf/tst-unique3.cc (gets): Remove declaration.
18901         * elf/tst-unique3lib.cc (gets): Likewise.
18902         * elf/tst-unique3lib2.cc (gets): Likewise.
18903         * elf/tst-unique4.cc (gets): Likewise.
18905 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
18907         * include/stdio.h: Add C++ protection.  Add gets declarations and
18908         definitions.
18909         * debug/tst-chk1.c: Don't declare gets here.
18910         * stdio-common/tst-gets.c: Likewise.
18912 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18914         * posix/glob: Remove directory.
18916 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
18918         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18920 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
18922         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18923         of the non-standard EPFNOSUPPORT.
18925 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18927         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18928         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18929         ANYWHERE set to 1 only on KERN_NO_SPACE error.
18931 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
18933         * wcsmbs/uchar.h: Test __STDC_VERSION__.
18935 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
18937         * nscd/aicache.c (addhstaiX): Do not cache negative results of
18938         transient errors.
18939         * nscd/grpcache.c (cache_addgr): Likewise.
18940         * nscd/hstcache.c (cache_addhst): Likewise.
18941         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18942         * nscd/pwdcache.c (cache_addpw): Likewise.
18943         * nscd/servicescache.c (cache_addserv): Likewise.
18945 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
18947         * malloc/malloc.c: Various cleanups.
18948         * malloc/hooks.c: Likewise.
18950         * stdlib/Makefile (tests): Add bug-fmtmsg1.
18951         * stdlib/bug-fmtmsg1.c: New file.
18953         * stdlib/fmtmsg.c (init): Add missing unlock.
18954         Patch by Peng Haitao <penght@cn.fujitsu.com>.
18956 2012-01-12  Marek Polacek  <polacek@redhat.com>
18958         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18959         and _GNU_SOURCE.
18961 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
18963         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18964         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18965         macro to ensure uniqueness of label name.
18966         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18967         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18969 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
18971         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18973         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18974         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18975         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18976         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18978 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
18980         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18982         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18983         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18984         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18986         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18988         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
18989         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18990         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
18993         * math/bits/math-finite.h: Add ldexp support.
18995 2012-01-10  Marek Polacek  <polacek@redhat.com>
18997         * locale/programs/localedef.h (show_archive_content): Add noreturn
18998         attribute.
19000 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19002         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19004 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19006         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19008         * io/Makefile (headers): Add bits/poll2.h.
19010 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19013         typo #include statement.
19015 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19017         * include/sys/cdefs.h: Define __attribute_alloc_size.
19018         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19019         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19020         * elf/pldd.c: Likewise.
19021         * iconv/iconv_charmap.c: Likewise.
19022         * iconv/iconvconfig.c: Likewise.
19023         * iconv/strtab.c: Likewise.
19024         * locale/programs/locale.c: Likewise.
19025         * locale/programs/localedef.h: Likewise.
19026         * locale/programs/simple-hash.c: Likewise.
19027         * nscd/nscd.h: Likewise.
19028         * nss/makedb.c: Likewise.
19029         * sysdeps/generic/ldconfig.h: Likewise.
19030         * locale/programs/localedef.c: Remove xmalloc prototype.
19031         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19033 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19035         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19036         appropriate.
19038 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19040         * math/Makefile (tests): Add tst-CMPLX.
19041         * math/tst-CMPLX.c: New file.
19043         * math/complex.h (CMPLXL): Fix typo.
19045         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19046         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19047         GLIBC_2.16.
19048         * debug/tst-chk1.c: Add poll and ppoll tests.
19049         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19050         * include/sys/poll.h: Add hidden proto for ppoll.
19051         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19052         * sysdeps/mach/hurd/ppoll.c: Likewise.
19053         * io/ppoll.c: Likewise.
19054         * debug/poll_chk.c: New file.
19055         * debug/ppoll_chk.c: New file.
19056         * include/bits/poll2.h: New file.
19057         * io/bits/poll2.h: New file.
19059         [BZ #1350]
19060         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19062         * configure.in: static is always set to yes.  Remove.
19063         * config.make.in: Don't set build-static.
19064         * Makeconfig: Remove use of build-static.
19065         * dlfcn/Makefile: Likewise.
19066         * elf/Makefile: Likewise.
19067         * math/Makefile: Likewise.
19068         * misc/Makefile: Likewise.
19069         * nptl/Makefile: Likewise.
19070         * sysdeps/mach/hurd/Makefile: Likewise.
19072         * configure.in: PWD_P is not used anymore.
19073         * config.make.in: Remove PWD_P entry.
19075         * configure.in: Remove last remnants of RANLIB.
19076         No need to check for signed size_t anymore.
19077         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19078         and IA-64.
19079         Remove __builtin_expect test because we require at least gcc 3.4.
19080         * aclocal.m4: Likewise.
19082         * wcsmbs/mbrtoc16.c: Implement using towc function.
19083         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19084         * wcsmbs/wcsmbsload.c: Likewise.
19085         * iconv/gconv_simple.c: Likewise.
19086         * iconv/gconv_int.h: Likewise.
19087         * iconv/gconv_builtin.h: Likewise.
19088         * iconv/iconv_prog.c: Remove CHAR16 handling.
19090         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19092         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19094         * configure.in: Remove --with-elf and --enable-bounded options.
19095         Dont set base_machine for ia64.  More non-ELF conditions removed.
19096         Remove testing and setting of leading underscore information.
19097         * config.make.in (build-bounded): Set to no.
19098         * config.h.in: Remove NO_UNDERSCORES entry.
19099         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19100         them.
19101         * csu/start.c: Remove !NO_UNDERSCORE code.
19102         * locale/localeinfo.h: Likewise.
19103         * sysdeps/generic/machine-gmon.h: Likewise.
19104         * sysdeps/generic/sysdep.h: Likewise.
19105         * sysdeps/i386/sysdep.h: Likewise.
19106         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19107         * sysdeps/mach/sysdep.h: Likewise.
19108         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19109         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19110         * sysdeps/sh/sysdep.h: Likewise.
19111         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19112         * sysdeps/unix/i386/sysdep.S: Likewise.
19113         * sysdeps/unix/sparc/start.c: Likewise.
19114         * sysdeps/unix/sparc/sysdep.S: Likewise.
19115         * sysdeps/unix/sparc/sysdep.h: Likewise.
19116         * sysdeps/unix/start.c: Likewise.
19117         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19118         * sysdeps/x86_64/sysdep.h: Likewise.
19120 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19122         [BZ #13553]
19123         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19124         for non-gcc.
19125         * argp/argp-fmtstream.h: Use const instead __const.
19126         * argp/argp.h: Likewise.
19127         * assert/assert.h: Likewise.
19128         * bits/fenv.h: Likewise.
19129         * bits/sched.h: Likewise.
19130         * bits/sigset.h: Likewise.
19131         * bits/sigthread.h: Likewise.
19132         * catgets/nl_types.h: Likewise.
19133         * conform/data/pthread.h-data: Likewise.
19134         * crypt/crypt-private.h: Likewise.
19135         * crypt/crypt.h: Likewise.
19136         * crypt/crypt_util.c: Likewise.
19137         * ctype/ctype.h: Likewise.
19138         * debug/execinfo.h: Likewise.
19139         * debug/mbsnrtowcs_chk.c: Likewise.
19140         * debug/mbsrtowcs_chk.c: Likewise.
19141         * debug/wcsnrtombs_chk.c: Likewise.
19142         * debug/wcsrtombs_chk.c: Likewise.
19143         * debug/wcstombs_chk.c: Likewise.
19144         * dirent/dirent.h: Likewise.
19145         * dlfcn/dlfcn.h: Likewise.
19146         * elf/neededtest4.c: Likewise.
19147         * grp/grp.h: Likewise.
19148         * gshadow/gshadow.h: Likewise.
19149         * iconv/gconv.h: Likewise.
19150         * iconv/gconv_int.h: Likewise.
19151         * iconv/gconv_simple.c: Likewise.
19152         * iconv/iconv.h: Likewise.
19153         * iconv/loop.c: Likewise.
19154         * iconv/skeleton.c: Likewise.
19155         * include/aio.h: Likewise.
19156         * include/aliases.h: Likewise.
19157         * include/argz.h: Likewise.
19158         * include/arpa/inet.h: Likewise.
19159         * include/assert.h: Likewise.
19160         * include/dirent.h: Likewise.
19161         * include/dlfcn.h: Likewise.
19162         * include/execinfo.h: Likewise.
19163         * include/fcntl.h: Likewise.
19164         * include/fenv.h: Likewise.
19165         * include/glob.h: Likewise.
19166         * include/grp.h: Likewise.
19167         * include/libintl.h: Likewise.
19168         * include/mntent.h: Likewise.
19169         * include/netdb.h: Likewise.
19170         * include/pwd.h: Likewise.
19171         * include/rpc/netdb.h: Likewise.
19172         * include/sched.h: Likewise.
19173         * include/search.h: Likewise.
19174         * include/shadow.h: Likewise.
19175         * include/signal.h: Likewise.
19176         * include/stdio.h: Likewise.
19177         * include/stdlib.h: Likewise.
19178         * include/string.h: Likewise.
19179         * include/sys/socket.h: Likewise.
19180         * include/sys/stat.h: Likewise.
19181         * include/sys/statfs.h: Likewise.
19182         * include/sys/statvfs.h: Likewise.
19183         * include/sys/syslog.h: Likewise.
19184         * include/sys/time.h: Likewise.
19185         * include/sys/uio.h: Likewise.
19186         * include/time.h: Likewise.
19187         * include/unistd.h: Likewise.
19188         * include/utmp.h: Likewise.
19189         * include/wchar.h: Likewise.
19190         * include/wctype.h: Likewise.
19191         * inet/aliases.h: Likewise.
19192         * inet/arpa/inet.h: Likewise.
19193         * inet/netinet/ether.h: Likewise.
19194         * inet/netinet/in.h: Likewise.
19195         * intl/libintl.h: Likewise.
19196         * io/bits/fcntl2.h: Likewise.
19197         * io/fcntl.h: Likewise.
19198         * io/ftw.h: Likewise.
19199         * io/sys/poll.h: Likewise.
19200         * io/sys/stat.h: Likewise.
19201         * io/sys/statfs.h: Likewise.
19202         * io/sys/statvfs.h: Likewise.
19203         * io/utime.h: Likewise.
19204         * libio/bits/stdio.h: Likewise.
19205         * libio/bits/stdio2.h: Likewise.
19206         * libio/libio.h: Likewise.
19207         * libio/libioP.h: Likewise.
19208         * libio/stdio.h: Likewise.
19209         * locale/lc-ctype.c: Likewise.
19210         * locale/locale.h: Likewise.
19211         * login/utmp.h: Likewise.
19212         * malloc/arena.c: Likewise.
19213         * malloc/malloc.c: Likewise.
19214         * malloc/malloc.h: Likewise.
19215         * malloc/mcheck.c: Likewise.
19216         * malloc/mtrace.c: Likewise.
19217         * math/bits/mathcalls.h: Likewise.
19218         * math/fenv.h: Likewise.
19219         * math/math_private.h: Likewise.
19220         * misc/bits/error.h: Likewise.
19221         * misc/bits/syslog.h: Likewise.
19222         * misc/err.h: Likewise.
19223         * misc/error.h: Likewise.
19224         * misc/fstab.h: Likewise.
19225         * misc/mntent.h: Likewise.
19226         * misc/regexp.h: Likewise.
19227         * misc/search.h: Likewise.
19228         * misc/sgtty.h: Likewise.
19229         * misc/sys/mman.h: Likewise.
19230         * misc/sys/syslog.h: Likewise.
19231         * misc/sys/uio.h: Likewise.
19232         * misc/sys/xattr.h: Likewise.
19233         * misc/ttyent.h: Likewise.
19234         * nis/rpcsvc/ypclnt.h: Likewise.
19235         * nss/nss.h: Likewise.
19236         * posix/bits/unistd.h: Likewise.
19237         * posix/fnmatch.h: Likewise.
19238         * posix/glob.h: Likewise.
19239         * posix/sched.h: Likewise.
19240         * posix/spawn.h: Likewise.
19241         * posix/sys/wait.h: Likewise.
19242         * posix/unistd.h: Likewise.
19243         * posix/wordexp.h: Likewise.
19244         * pwd/pwd.h: Likewise.
19245         * resolv/netdb.h: Likewise.
19246         * resource/sys/resource.h: Likewise.
19247         * rt/aio.h: Likewise.
19248         * rt/bits/mqueue2.h: Likewise.
19249         * rt/mqueue.h: Likewise.
19250         * shadow/shadow.h: Likewise.
19251         * signal/signal.h: Likewise.
19252         * socket/send.c: Likewise.
19253         * socket/sendto.c: Likewise.
19254         * socket/sys/socket.h: Likewise.
19255         * stdio-common/printf.h: Likewise.
19256         * stdlib/bits/stdlib.h: Likewise.
19257         * stdlib/fmtmsg.h: Likewise.
19258         * stdlib/monetary.h: Likewise.
19259         * stdlib/stdlib.h: Likewise.
19260         * stdlib/ucontext.h: Likewise.
19261         * streams/stropts.h: Likewise.
19262         * string/argz.h: Likewise.
19263         * string/bits/string2.h: Likewise.
19264         * string/string.h: Likewise.
19265         * string/strings.h: Likewise.
19266         * sunrpc/rpc/auth.h: Likewise.
19267         * sunrpc/rpc/auth_des.h: Likewise.
19268         * sunrpc/rpc/clnt.h: Likewise.
19269         * sunrpc/rpc/netdb.h: Likewise.
19270         * sunrpc/rpc/pmap_clnt.h: Likewise.
19271         * sunrpc/rpc/xdr.h: Likewise.
19272         * sysdeps/generic/inttypes.h: Likewise.
19273         * sysdeps/generic/net/if.h: Likewise.
19274         * sysdeps/generic/sys/swap.h: Likewise.
19275         * sysdeps/gnu/net/if.h: Likewise.
19276         * sysdeps/gnu/utmpx.h: Likewise.
19277         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19278         * sysdeps/i386/i486/bits/string.h: Likewise.
19279         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19280         * sysdeps/s390/bits/string.h: Likewise.
19281         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19282         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19283         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19284         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19285         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19286         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19287         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19288         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19289         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19290         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19291         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19292         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19293         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19294         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19295         * sysdeps/unix/sysv/linux/readv.c: Likewise.
19296         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19297         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19298         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19301         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19302         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19303         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19304         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19305         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19306         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19307         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19308         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19309         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19310         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19311         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19312         * sysvipc/sys/ipc.h: Likewise.
19313         * sysvipc/sys/msg.h: Likewise.
19314         * sysvipc/sys/sem.h: Likewise.
19315         * sysvipc/sys/shm.h: Likewise.
19316         * termios/termios.h: Likewise.
19317         * time/sys/time.h: Likewise.
19318         * time/time.h: Likewise.
19319         * wcsmbs/bits/wchar2.h: Likewise.
19320         * wcsmbs/uchar.h: Likewise.
19321         * wcsmbs/wchar.h: Likewise.
19322         * wctype/wctype.h: Likewise.
19324         [BZ #13551]
19325         * Makeconfig: Remove all but ELF support including AIX support.
19326         * Makerules: Likewise.
19327         * config.h.in: Likewise.
19328         * config.make.in: Likewise.
19329         * configure: Likewise.
19330         * configure.in: Likewise.
19331         * csu/Makefile: Likewise.
19332         * csu/version.c: Likewise.
19333         * debug/Makefile: Likewise.
19334         * dlfcn/Makefile: Likewise.
19335         * elf/Makefile: Likewise.
19336         * extra-lib.mk: Likewise.
19337         * iconv/Makefile: Likewise.
19338         * include/libc-symbols.h: Likewise.
19339         * include/shlib-compat.h: Likewise.
19340         * resolv/Makefile: Likewise.
19341         * resolv/res_libc.c: Likewise.
19342         * rt/Makefile: Likewise.
19343         * sysdeps/i386/asm-syntax.h: Likewise.
19344         * sysdeps/i386/sysdep.h: Likewise.
19345         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19346         * sysdeps/mach/sysdep.h: Likewise.
19347         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19348         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19349         * sysdeps/s390/asm-syntax.h: Likewise.
19350         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19351         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19352         * sysdeps/sh/sysdep.h: Likewise.
19353         * sysdeps/unix/sparc/sysdep.h: Likewise.
19354         * sysdeps/wordsize-32/divdi3.c: Likewise.
19355         * sysdeps/x86_64/sysdep.h: Likewise.
19357         * argp/Versions: Remove _argp_unlock_xxx.
19359         [BZ #13559]
19360         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
19361         * abilist/libBrokenLocale.abilist: Likewise.
19362         * abilist/libanl.abilist: Likewise.
19363         * abilist/libc.abilist: Likewise.
19364         * abilist/libcrypt.abilist: Likewise.
19365         * abilist/libdl.abilist: Likewise.
19366         * abilist/libm.abilist: Likewise.
19367         * abilist/libnsl.abilist: Likewise.
19368         * abilist/libpthread.abilist: Likewise.
19369         * abilist/libresolv.abilist: Likewise.
19370         * abilist/librt.abilist: Likewise.
19371         * abilist/libthread_db.abilist: Likewise.
19372         * abilist/libutil.abilist: Likewise.
19373         * abilist/libnss_db.abilist: New file.
19375         * scripts/abilist.awk: Add support for indirect functions.
19377         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19379         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19381         * shlib-versions: Remove entries for ports architectures.
19383         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
19384         files in ports.
19385         * elf/stackguard-macros.h: Remove support for IA-64.
19386         * elf/tst-auditmod1.c: Likewise.
19387         * sysdeps/generic/ldsodefs.h: Likewise.
19389         * sysdeps/unix/sysv/linux/configure.in: Ports should define
19390         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19391         configure files.
19393         [BZ #13552]
19394         * configure.in: Remove --enable-omitfp support.
19395         * FAQ.in: Adjust.
19396         * config.make.in: Likewise.
19397         * Makeconfig: Likewise.
19398         * manual/install.texi: Likewise.
19400         In case anyone cares, the IA-64 architecture could move to ports.
19401         * sysdeps/ia64/*: Removed.
19402         * sysdeps/unix/sysv/linux/ia64/*: Removed.
19403         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
19405         [BZ #13555]
19406         * configure.in: Remove entries for unsupported architectures.
19408         [BZ #13533]
19409         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19410         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
19411         routines.
19412         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19413         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19414         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
19415         fall back to using wcrtomb.
19416         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19417         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
19418         renaming.
19419         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19420         * wcsmbs/tst-c16c32-1.c: New file.
19422         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19423         local variable.
19425         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19427         * elf/tst-unique3.cc: Add explicit declaration of gets.
19428         * elf/tst-unique3lib.cc: Likewise.
19429         * elf/tst-unique3lib2.cc: Likewise.
19430         * elf/tst-unique4.cc: Likewise.
19432         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19434 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
19436         [BZ #13566]
19437         * assert/assert.h (static_assert): Don't define for C++.
19438         * libio/stdio.h (gets): Do declare for C++ <= C++11.
19439         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19441 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
19443         * iconv/loop.c (single loop): Fix assertion in storing of
19444         remaining bytes.
19446         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19448 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
19450         * posix/getconf.c: Update copyright year.
19451         * nss/getent.c: Likewise.
19452         * nss/makedb.c: Likewise.
19453         * iconv/iconvconfig.c: Likewise.
19454         * iconv/iconv_prog.c: Likewise.
19455         * elf/ldconfig.c: Likewise.
19456         * elf/pldd.c: Likewise.
19457         * elf/sotruss.ksh: Likewise.
19458         * catgets/gencat.c: Likewise.
19459         * csu/version.c: Likewise.
19460         * elf/ldd.bash.in: Likewise.
19461         * elf/sprof.c (print_version): Likewise.
19462         * locale/programs/locale.c: Likewise.
19463         * locale/programs/localedef.c: Likewise.
19464         * login/programs/pt_chown.c: Likewise.
19465         * nscd/nscd.c (print_version): Likewise.
19466         * debug/xtrace.sh: Likewise.
19467         * malloc/memusage.sh: Likewise.
19468         * malloc/mtrace.pl: Likewise.
19469         * debug/catchsegv.sh: Likewise.
19471 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
19473         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
19474         pure attribute.
19476 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
19478         [BZ #13533]
19479         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
19480         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
19481         transformations.
19482         * iconv/gconv_int.h: Likewise.
19483         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
19484         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
19485         from libc for GLIBC_2.16.
19486         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
19487         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
19488         * wcsmbs/uchar.h: Really define mbstate_t.
19489         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
19490         * wcsmbs/c16rtomb.c: New file.
19491         * wcsmbs/mbrtoc16.c: New file.
19492         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
19493         for C/POSIX locale.
19494         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
19495         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
19497         * wcsmbs/wchar.h: Add missing __restrict.
19499 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19501         [BZ #13532]
19502         * time/Makefile (routines): Add timespec_get.
19503         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
19504         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
19505         timespec for ISO C11.
19506         * time/timespec_get.c: New file.
19507         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
19508         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
19510         [BZ #13531]
19511         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
19512         * stdlib/stdlib.h: Declare aligned_alloc.
19513         * Versions.def: Add GLIBC_2.16 for libc.
19514         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
19516         [BZ 13527]
19517         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
19518         ISO C11.
19520         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
19521         code.
19523         [BZ #13528]
19524         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
19526         [BZ #13529]
19527         * assert/assert.h (static_assert): Define.
19529         * version.h: Update for 2.16 development version.
19531         [BZ #13526]
19532         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
19533         _ISOC11_SOURCE.
19535         * version.h (RELEASE): Bump for 2.15 release.
19536         * include/features.h (__GLIBC_MINOR__): Bump to 15.
19538         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
19539         Patch by Marek Polacek <mpolacek@redhat.com>.
19541         * bits/byteswap.h: Protect long long constants with __extension__.
19542         * sysdeps/i386/bits/byteswap.h: Likewise.
19543         * sysdeps/ia64/bits/byteswap.h: Likewise.
19544         * sysdeps/s390/bits/byteswap.h: Likewise.
19545         * sysdeps/x86_64/bits/byteswap.h: Likewise.
19547 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19549         [BZ #13540]
19550         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
19551         destination buffer.
19552         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19554 2011-12-23  Marek Polacek  <polacek@redhat.com>
19556         * elf/dl-addr.c (determine_info): Add inline keyword.
19557         * elf/tst-auditmod4b.c (check_avx): Likewise.
19558         * elf/tst-auditmod6b.c (check_avx): Likewise.
19559         * elf/tst-auditmod6c.c (check_avx): Likewise.
19560         * elf/tst-auditmod7b.c (check_avx): Likewise.
19562 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
19564         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
19565         !__SSE_MATH__.
19567 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19569         [BZ #13540]
19570         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
19571         processing for last bytes.
19573 2011-08-06  Bruno Haible  <bruno@clisp.org>
19575         [BZ #13061]
19576         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
19577         U+0385, not to U+1FEE.
19579         [BZ #13062]
19580         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
19581         entry for U+00A5 U+0301.
19583 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19585         [BZ #13166]
19586         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
19587         buffer for the output is too small.
19589         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
19590         optimization.
19592         [BZ #13185]
19593         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
19594         SSE flags if possible.
19596 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19598         [BZ #13540]
19599         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
19600         processing for last bytes.
19602 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
19604         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
19605         (syscall-list-default-options, syscall-list-default-condition)
19606         (syscall-list-includes): Define.
19607         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
19608         list of ABIs and options and #if conditions for each ABI.  Do not
19609         handle common syscalls between ABIs specially.
19610         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
19611         Remove.
19612         (syscall-list-variants, syscall-list-32bit-options)
19613         (syscall-list-32bit-condition, syscall-list-64bit-options)
19614         (syscall-list-64bit-condition): Define.
19615         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
19616         (syscall-list-variants, syscall-list-32bit-options)
19617         (syscall-list-32bit-condition, syscall-list-64bit-options)
19618         (syscall-list-64bit-condition): Define.
19619         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
19620         Remove.
19621         (syscall-list-variants, syscall-list-32bit-options)
19622         (syscall-list-32bit-condition, syscall-list-64bit-options)
19623         (syscall-list-64bit-condition): Define.
19624         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
19625         Remove.
19626         (syscall-list-variants, syscall-list-32bit-options)
19627         (syscall-list-32bit-condition, syscall-list-64bit-options)
19628         (syscall-list-64bit-condition): Define.
19630 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
19632         * locale/iso-639.def: Add brx entry.
19634         [BZ #13328]
19635         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
19636         Proposed by Mariusz_Cukr <marcukr@op.pl>.
19638         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
19639         __feraiseexcept_renamed.
19641 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19643         [BZ #13538]
19644         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19645         EPOLLET with unsigned values.
19646         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19647         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19649         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19650         to large cancellation.
19651         * math/s_cacoshf.c: Likewise.
19652         * math/s_cacoshl.c: Likewise.
19654 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
19656         [BZ #13305]
19657         [BZ #12786]
19658         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19659         * math/s_cacoshf.c: Likewise.
19660         * math/s_cacoshl.c: Likewise.
19662 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
19664         [BZ #13439]
19665         * iconv/gconv.h: Define __GCONV_SWAP.
19666         * iconvdata/unicode.c: The swap bit must be stored in __flags.
19667         * iconvdata/utf-16.c: Likewise.
19668         * iconvdata/utf-32.c: Likewise.
19670 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19672         [BZ #13524]
19673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19674         numerator after shifting it by one limb.
19676 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
19678         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19679         under [__USE_EXTERN_INLINES].
19681 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19683         [BZ #13446]
19684         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19686 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19688         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19689         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19690         optimized code.
19691         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19692         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19693         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19694         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19695         for strncasecmp/strncasecmp_l compilation.
19696         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19697         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19699 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
19701         [BZ #13484]
19702         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19703         of __asm__.
19705 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
19707         [BZ #13506]
19708         * time/tzfile.c (__tzfile_read): Check values from file header.
19710 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19712         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19713         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19714         * powerpc/powerpc32/dl-start.S: Likewise.
19715         * powerpc/powerpc32/elf/start.S: Likewise.
19716         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19717         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19718         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19719         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19720         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19721         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19722         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19723         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19724         * powerpc/powerpc32/fpu/s_round.S: Likewise.
19725         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19726         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19727         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19728         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19729         * powerpc/powerpc32/memset.S: Likewise.
19730         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19731         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19732         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19733         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19734         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19735         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19736         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19737         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19738         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19739         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19740         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19741         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19742         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19744 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19746         * math/libm-test.inc: Added more nearbyint tests.
19747         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19748         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19749         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19750         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19752 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
19754         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19755         FD_CLOEXEC.
19757 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19759         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19760         Add wcscpy-ssse3 wcscpy-c.
19761         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19762         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19763         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19764         * sysdeps/x86_64/wcschr.S: New file.
19765         * sysdeps/x86_64/wcsrchr.S: New file.
19766         * string/test-strcmp.c: Remove checking of wcscmp function for
19767         wrong alignments.
19768         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19769         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19770         wcsrchr-sse2 wcsrchr-c.
19771         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19772         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19773         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19774         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19775         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19776         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19777         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19778         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19779         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19780         * wcsmbc/wcschr.c (WCSCHR): New macro.
19782 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19784         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19785         * wcsmbs/test-wcsrchr.c: New file.
19786         * string/test-strrchr.c: Add wcsrchr support.
19787         (WIDE): New macro.
19788         * wcsmbs/test-wcscpy.c: New file.
19789         * string/test-strcpy.c: Add wcscpy support.
19790         (WIDE): New macro.
19792 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
19794         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19795         the inner loop.
19797 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
19799         [BZ #13472]
19800         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19802 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
19804         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
19805         Minor optimizations.
19807         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19808         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19809         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19811 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
19813         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19814         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19815         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19816         for gcc to avoid warnings.
19817         * inet/Makefile (tests): Add tst-checks.
19818         * inet/tst-checks.c: New file.
19820         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19821         warning.
19823         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19824         __wmemcmp_sse2.
19826         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19827         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19829         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19831 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
19833         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19834         problem.
19836         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19838 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
19840         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19841         conditional on GCC version.
19842         (__arch_compare_and_exchange_val_8_acq)
19843         (__arch_compare_and_exchange_val_16_acq)
19844         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19845         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19846         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19848 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
19850         * sysdeps/sh/backtrace.c: New file.
19852 2011-12-02  Andreas Schwab  <schwab@redhat.com>
19854         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
19855         parenthesis.
19857 2011-12-01  Andreas Schwab  <schwab@redhat.com>
19859         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19860         falling back to utime.
19862 2011-11-30  Andreas Schwab  <schwab@redhat.com>
19864         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19865         expectations for float.
19867 2011-11-29  Andreas Schwab  <schwab@redhat.com>
19869         * locale/weight.h (findidx): Add parameter len.
19870         * locale/weightwc.h (findidx): Likewise.
19871         * posix/fnmatch_loop.c (FCT): Adjust caller.
19872         * posix/regcomp.c (build_equiv_class): Likewise.
19873         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19874         * posix/regexec.c (check_node_accept_bytes): Likewise.
19875         * string/strcoll_l.c (STRCOLL): Likewise.
19876         * string/strxfrm_l.c (STRXFRM): Likewise.
19878 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
19880         * Makefile.in: Remove CVSOPT handling.
19881         * configure.in: Remove use of AC_REVISION.
19882         * iconvdata/Makefile (distribute): No need to filter out CVS.
19883         * scripts/list-sources.sh: Remove CVS, subversion and monotone
19884         handling.
19886 2011-11-16  Andreas Schwab  <schwab@redhat.com>
19888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19889         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19890         [USE_AS_STRNCASECMP_L]: Likewise.
19891         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19892         NO_TLS_DIRECT_SEG_REFS.
19893         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19894         Fix argument offsets for non-PIC.
19895         [USE_AS_STRNCASECMP_L]: Likewise.
19896         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19897         NO_TLS_DIRECT_SEG_REFS.
19899 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19901         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
19902         O_CLOEXEC.
19903         * locale/loadlocale.c (_nl_load_locale): Likewise.
19905 2011-11-15  Andreas Schwab  <schwab@redhat.com>
19907         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19908         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19909         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19910         (SYSCALL_GETTIME): Set errno on error.
19912         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19913         count references to noai6ai_cached.
19915 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
19917         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19919         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19920         FD_CLOEXEC for /proc/self/maps.
19922         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19923         FD_CLOEXEC for /proc/meminfo.
19925         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19926         gai.conf.
19928         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
19929         FD_CLOEXEC for given file.
19931         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19933         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19934         FD_CLOEXEC for /etc/hosts.
19935         (_gethtent): Likewise.
19937         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19939         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19940         cancellation and set FD_CLOEXEC for /etc/netgroup.
19942         * nss/nss_files/files-key.c (search): Don't allow cancellation when
19943         reading /etc/publickey.
19945         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19946         allow cancellation when reading /etc/group.
19948         * nss/nss_files/files-alias.c (internal_setent): Don't allow
19949         cancellation.
19950         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
19952         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19953         when using data file.
19955         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19957         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19958         (write_nis_obj): Use "c" and "e" in fopen.
19960         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19962         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19964         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19966         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19968         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19969         locale.alias.
19971         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19973         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19975         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19977         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19978         file parsing and set FD_CLOEXEC.
19980 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19982         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19984 2011-11-14  Andreas Schwab  <schwab@redhat.com>
19986         * malloc/arena.c (arena_get2): Don't call reused_arena when
19987         _int_new_arena failed.
19989 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
19991         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19992         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19993         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19994         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19995         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19996         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19997         to compile strcasecmp and strncasecmp.
19998         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19999         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20001         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20003 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20005         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20006         locale-defines.sym to gen-as-const-headers.
20007         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20008         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20010         to compile strcasecmp and strncasecmp.
20011         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20012         strcasecmp_l and strncasecmp_l.
20013         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20014         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20015         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20016         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20017         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20018         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20019         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20020         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20021         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20022         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20023         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20025 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20027         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20028         result of SYSDEP_GETTIME_CPU to retval.
20029         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20030         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20032         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20033         variable.
20035         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20036         mantissa words.
20037         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20039         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20040         from unused variable.
20042         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20043         DWARF definitions.
20044         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20045         for assembling.
20047         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20048         over namespaces.
20050         * sunrpc/rpc_prot.c (rejected): Fix case value.
20052         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20053         unsigned long long int to avoid warnings in shift.
20055         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20056         of use of trans.
20057         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20058         variable tmp.
20060         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20061         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20062         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20064         * nis/nis_table.c (nis_list): Use variable of correct type for
20065         result of __follow_path call.
20067 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20069         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20070         of math functions ceil, trunc, floor, round, and sqrt, when
20071         avaliable on the platform.
20072         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20073         name clash.
20074         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20075         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20076         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20078 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20080         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20081         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20083 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20085         * include/unistd.h: Fix __readlink return type.
20086         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20088 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20090         * stdlib/ucontext.h: Undo last change for makecontext.
20092 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20094         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20096         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20097         * setjmp/setjmp.h: Mark functions as non-leaf.
20098         * setjmp/bits/setjmp2.h: Likewise.
20099         * stdlib/ucontext.h: Likewise.
20101 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20103         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20104         (reused_arena): Don't check arena limit.
20105         (arena_get2): Atomically check arena limit.
20107 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20109         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20110         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20112         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20113         instructions.
20115 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20117         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20118         handler when locking.
20120         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20121         Fix size of allocated buffer.
20123 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20125         [BZ #10103]
20126         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20127         declarations for long double functions.
20128         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20130         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20132 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20134         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20135         installed.
20137         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20138         is disabled.
20140 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20142         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20144 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20146         * include/alloca.h (stackinfo_alloca_round): Define.
20147         (extend_alloca): Use it.
20148         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20149         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20150         here.
20152         * scripts/check-local-headers.sh: Ignore libaudit.h.
20154         * nscd/Makefile (extra-objs): Make recursively expanded.
20156 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20158         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20159         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20161         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20162         * posix/tst-rfc3484-2.c: Likewise.
20163         * posix/tst-rfc3484-3.c: Likewise.
20165         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20166         process_vm_writev.
20167         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20168         process_vm_writev.
20169         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20170         process_vm_writev from libc using GLIBC_2.15 version.
20172         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20174 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20176         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20177         stack usage.
20179 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20181         [BZ #13367]
20182         * nss/getent.c (initgroups_keys): Show error message in case no group
20183         names are given.
20185         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20186         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20187         __bump_nl_timestamp.
20188         * nscd/connections (nscd_init): When host database is served open
20189         netlink socket and request notification about configuration changes.
20190         (main_loop_poll): Track netlink file descriptor and bump timestamp
20191         in case data becomes available.
20192         (main_loop_epoll): Likewise.
20193         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20194         (database_pers_head): Add extra_data fileds.
20195         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20196         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20197         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20198         Adjust caller.
20199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20200         in6ai data, call __free_in6ai.
20201         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20202         Add -DHAVE_NETLINK.
20203         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20204         interface information.  Reuse previous data if netlink timestamp
20205         is not changed.
20206         (__bump_nl_timestamp): New function.
20207         (__free_in6ai): New function.
20209 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20211         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20212         close_not_cancel_no_status here.
20213         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20215 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20217         [BZ #13276]
20218         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20219         return value.
20221         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
20222         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20223         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20225 2011-07-03  Andreas Jaeger  <aj@suse.de>
20227         [BZ #10709]
20228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20229         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20230         * math/libm-test.inc (sin_test): Add test case.
20232 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20234         [BZ #13337]
20235         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20236         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20238         * elf/chroot_canon.c (chroot_canon): Cleanups.
20240         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20242         [BZ #13335]
20243         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20244         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20246         * string/test-strchr.c: Make usable for strchrnul testing.
20247         * string/test-strchrnul.c: New file.
20248         * string/Makefile (strop-tests): Add strchrnul.
20250         * po/it.po: Update from translation team.
20251         * po/es.po: Likewise.
20253 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
20255         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20256         the three constants needed as parameters.  Drop the others.
20257         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20258         __m128i_strloadu_tolower.
20259         Create and initialize variable zero and use it in all the places
20260         where _mm_setzero_si128 was used.
20262         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20263         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20264         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20265         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20266         anymore.
20267         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20268         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20269         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20270         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20271         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20272         __mpranred, __mptan.
20273         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20274         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20275         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20276         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20277         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20278         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20280         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20281         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20283 2011-10-28  Andreas Schwab  <schwab@redhat.com>
20285         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20286         redefine if SHARED.
20287         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20290         wide char related routines to wcsmbs subdir.
20292 2011-10-27  Andreas Schwab  <schwab@redhat.com>
20294         [BZ #13344]
20295         * misc/sys/cdefs.h (__THROWNL): Define.
20296         * posix/unistd.h: Use __THREADNL instead of __THREAD
20297         for memory synchronization functions.
20299 2011-10-26  Roland McGrath  <roland@hack.frob.com>
20301         [BZ #13349]
20302         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20303         doesn't exist.
20304         * manual/stdio.texi (Obstack Streams): Node removed.
20306 2011-10-26  Andreas Schwab  <schwab@redhat.com>
20308         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20309         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20310         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20312         * math/math_private.h (math_force_eval): Allow non-addressable
20313         arguments.
20314         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20316 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20318         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20319         file is not needed.
20321         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20322         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20323         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20324         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20325         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20326         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20327         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20328         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20329         Add AVX variants.
20330         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20331         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20332         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20333         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20334         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20335         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20336         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20337         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20338         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20339         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20340         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20341         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20342         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20343         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20344         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20345         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20346         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20347         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20348         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20350         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20351         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
20353         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20354         place.  Use VEX encoding when compiling for AVX.
20356 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20358         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20359         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20361         * string/test-strchr.c (do_test): Don't generate NUL bytes.
20363 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20365         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
20366         useless if() expression.
20367         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20368         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20369         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20370         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20371         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20372         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20373         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20374         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20375         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20376         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20377         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20378         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20379         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20380         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20381         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20382         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20384         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20385         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20387         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20389 2011-10-25  Andreas Schwab  <schwab@redhat.com>
20391         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20392         condition.
20393         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20395 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
20397         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20398         .text section.  Avoid duplicate constants.
20399         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20401         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20402         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20403         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20407         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20408         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20409         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20410         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20411         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20412         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20413         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20415         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20416         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20417         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20421         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20422         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20423         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20424         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20425         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20426         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20427         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20428         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20429         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20430         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20431         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20432         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20433         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20434         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20435         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20436         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20437         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20438         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20439         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20440         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20441         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20442         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20443         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20445 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
20447         * sysdeps/x86_64/dla.h: Move to ...
20448         * sysdeps/x86_64/fpu/dla.h: ...here.
20449         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
20450         situations.  Use __builtin_fma only for gcc 4.6 and up.
20452         * config.make.in: Add have-mfma4 entry.
20453         * configure.in: Substitute libc_cv_cc_fma4.
20454         * math/Makefile (dbl-only-routines): Add sincostab.
20455         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
20456         Use __sincostab not sincos.
20457         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
20458         name is a macro.
20459         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20462         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
20463         using __copysign.
20464         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
20465         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
20466         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
20467         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
20468         and __inv.
20469         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
20470         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
20471         __copysign.
20472         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
20473         define aliases when function name is a macro.
20474         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
20475         sysdeps/ieee754/dbl-64/sincos.tbl.
20476         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
20477         fma4-enabled routines.
20478         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
20479         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
20480         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
20481         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
20482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
20483         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
20484         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
20485         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
20486         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
20487         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
20488         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
20489         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
20490         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
20491         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
20492         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
20493         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
20494         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
20495         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
20496         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
20497         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
20498         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
20499         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
20500         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
20501         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
20502         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
20503         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
20504         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
20505         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
20506         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
20507         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
20509         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
20510         rename.
20511         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20513         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20516         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20517         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20518         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20520 2011-10-24  Andreas Schwab  <schwab@redhat.com>
20522         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
20524 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
20528         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
20529         prediction.
20530         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
20532         * string/strnlen.c: Don't define STRNLEN, reverse logic.
20533         Remove unused variable magic_bits.
20534         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
20536         * string/strnlen.c: Define and use STRNLEN macro.
20537         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
20538         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
20539         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
20540         * wcsmbs/wcslen.c: Define and use WCSLEN.
20541         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
20542         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
20543         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
20544         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
20545         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
20546         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
20547         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20549 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20551         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20552         strnlen-sse2-no-bsf.
20553         Rename strlen-no-bsf to strlen-sse2-no-bsf.
20554         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
20555         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
20556         Add strnlen support.
20557         (USE_AS_STRNLEN): New macro.
20558         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
20559         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
20560         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
20561         * sysdeps/x86_64/wcslen.S: New file.
20563 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
20565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20566         XMM-moves are used for copying on small sizes.
20568 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20570         * wcsmbs/Makefile (strop-tests): Add wcschr.
20571         * wcsmbs/test-wcschr.c: New file.
20572         * string/test-strchr.c: Update.
20573         Add wcschr support.
20574         (WIDE): New macro.
20576 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20578         * wcsmbs/Makefile (strop-tests): Add wcslen.
20579         * wcsmbs/test-wcslen.c: New file.
20580         * string/test-strlen.c: Update.
20581         Add wcslen support.
20582         (WIDE): New macro.
20584 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20586         * po/it.po: Update from translation team.
20588 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20590         * sysdeps/x86_64/wcscmp.S: Update.
20591         Fix wrong comparison semantics.
20592         wcscmp shall use signed comparison not unsigned.
20593         Don't use substraction to avoid overflow bug.
20594         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20595         * wcsmbc/wcscmp.c: Likewise.
20596         * string/test-strcmp.c: Likewise.
20597         Add new tests to check cases with negative values.
20599 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
20601         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
20602         * sysdeps/x86_64/dla.h: ...here.  New file.
20603         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
20604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20606         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20607         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20608         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20610         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20611         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20613 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
20615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
20616         __ynl_finite aliases.
20618 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20622         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
20623         define DLA_FMA.
20624         [DLA_FMA] (EMULV): Use DLA_FMA.
20625         [DLA_FMA] (MUL12): Use EMULV.
20626         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
20627         that are not needed.
20628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20629         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20633         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20634         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20636 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
20638         * math/s_nan.c: Undef __nan.
20639         * math/s_nanf.c: Undef __nanf.
20640         * math/s_nanl.c: Undef __nanl.
20641         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
20642         "math_private.h".
20644 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
20646         * math/s_catan.c: Add branch predictions.
20647         * math/s_catanf.c: Likewise.
20648         * math/s_catanh.c: Likewise.
20649         * math/s_catanhf.c: Likewise.
20650         * math/s_catanhl.c: Likewise.
20651         * math/s_catanl.c: Likewise.
20652         * math/s_cexp.c: Likewise.
20653         * math/s_cexpf.c: Likewise.
20654         * math/s_cexpl.c: Likewise.
20655         * math/s_clog.c: Likewise.
20656         * math/s_clog10.c: Likewise.
20657         * math/s_clog10f.c: Likewise.
20658         * math/s_clog10l.c: Likewise.
20659         * math/s_clogf.c: Likewise.
20660         * math/s_clogl.c: Likewise.
20661         * math/s_csqrt.c: Likewise.
20662         * math/s_csqrtf.c: Likewise.
20663         * math/s_csqrtl.c: Likewise.
20664         * math/s_ctanf.c: Likewise.
20665         * math/s_ctanh.c: Likewise.
20666         * math/s_ctanhf.c: Likewise.
20667         * math/s_ctanhl.c: Likewise.
20668         * math/s_ctanl.c: Likewise.
20670         * math/math_private.h: Define __nan, __nanf, __nanl.
20671         * math/s_cacosh.c: Include <math_private.h>.
20672         * math/s_cacoshl.c: Likewise.
20673         * math/s_casinh.c: Likewise.
20674         * math/s_casinhf.c: Likewise.
20675         * math/s_casinhl.c: Likewise.
20676         * math/s_ccos.c: Rely entire on ccosh.
20677         * math/s_ccosf.c: Rely entire on ccoshf.
20678         * math/s_ccosl.c: Rely entirely on ccoshl.
20679         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
20680         Remove tests for FE_INVALID.
20681         * math/s_ccoshf.c: Likewise.
20682         * math/s_ccoshl.c: Likewise.
20683         * math/s_csin.c: Likewise.
20684         * math/s_csinf.c: Likewise.
20685         * math/s_csinh.c Likewise.
20686         * math/s_csinhf.c: Likewise.
20687         * math/s_csinhl.c: Likewise.
20688         * math/s_csinl.c: Likewise.
20689         * math/s_ctan.c: Likewise.
20690         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20691         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20692         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20694 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
20696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20697         compilation problems.
20699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20700         __builtin_expect.
20702 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
20704         * sysdeps/i386/configure.in: Test for -mfma4 option.
20705         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20706         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20707         COMMON_CPUID_INDEX_80000001.
20708         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20709         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20710         use it if FMA3 is not supported.
20711         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20713         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20714         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20716 2011-10-20  Andreas Schwab  <schwab@redhat.com>
20718         [BZ #12892]
20719         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20720         it would create a cycle with a link time dependency.
20722 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
20724         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20725         instruction.
20726         * string/Makefile (strop-tests): Add rawmemchr.
20727         * string/test-rawmemchr.c: New file.
20729         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20730         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
20731         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
20732         when compiling str{,n}casecmp and when AVX is available.  Hook up
20733         new optimized code in initializers.
20735 2011-10-19  Andreas Schwab  <schwab@redhat.com>
20737         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20738         __feraiseexcept instead of feraiseexcept.
20740 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
20742         * math/math_private.h: Define defaults for libc_fetestexcept and
20743         libc_feupdateenv.
20744         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20745         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20746         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20747         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20748         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20749         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20750         libc_fetestexcept and libc_feupdateenv.
20752         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20753         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20754         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20755         * sysdeps/x86_64/fpu/math_private.h: Define special version of
20756         libc_feholdexcept_setround.
20758         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20759         Add s_nearbyint-c and s_nearbyintf-c.
20760         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20761         nearbyintf inlines.
20762         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20763         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20764         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20765         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20767         * math/math_private.h: Define defaults for libc_fegetround,
20768         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20769         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20770         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20771         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20772         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20773         standard functions.
20774         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20775         Remove comments and hacks for old compiler versions.
20776         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20777         libc_fegetround, libc_fesetround, libc_feholdexcept, and
20778         libc_feholdexceptl.
20780 2011-10-18  Andreas Schwab  <schwab@redhat.com>
20782         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
20783         (__feraiseexcept_renamed): Add __NTH.
20784         (feraiseexcept): Add __NTH.  Rename local variables to fix
20785         namespace violations.
20787 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
20789         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20791         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20793         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20794         recently added interfaces.
20795         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20797         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20798         about macro parameter expansion.
20800         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20801         __NO_MATH_INLINES is defined.  Cleanups.
20803         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20804         and __floorf is target has SSE4.1.
20805         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20806         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20807         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20808         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20810         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20811         name.
20812         (floorf): Likewise.
20814         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20816 2011-10-17  Andreas Schwab  <schwab@redhat.com>
20818         * misc/sys/cdefs.h: Fix last change.
20820         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20821         database lookup.
20823 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
20825         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20827         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20828         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20829         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20830         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20832         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20833         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20834         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20835         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20836         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20837         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20838         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20839         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20840         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20841         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20842         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20843         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20844         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20845         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20846         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20847         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20848         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20850         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20851         ceil, ceilf, floor, floorf.
20853         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20854         Perform IRELATIVE relocations last.
20856         * elf/do-rel.h: Add another parameter nrelative, replacing the
20857         local variable with the same name.  Change name of the function
20858         to end in Rel or Rela (uppercase).
20859         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20860         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
20861         elf_dynamic_do_##reloc function.
20863 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20865         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20866         is sufficient, at least on modern CPUs.
20868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20870         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20871         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20873         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20874         __expl_finite.
20875         * math/bits/math-finite.h: Add entries for exp.
20876         * math/e_expl.c: Add __*_finite alias.
20877         * sysdeps/i386/fpu/e_exp.S: Likewise.
20878         * sysdeps/i386/fpu/e_expf.S: Likewise.
20879         * sysdeps/i386/fpu/e_expl.c: Likewise.
20880         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20881         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20882         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20884         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20885         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20886         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20888         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20889         is sufficient, at least on modern CPUs.
20891         * ctype/ctype-info.c (__ctype_init): Define.
20892         * include/ctype.h (__ctype_init): Declare.
20893         (__ctype_b_loc): The variable is always initialized.
20894         (__ctype_toupper_loc): Likewise.
20895         (__ctype_tolower_loc): Likewise.
20896         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20897         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20899 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
20901         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20903         * configure.in: Also look in $cxxmachine/include for C++ system
20904         headers.
20906 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20908         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20909         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20910         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20911         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
20912         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20913         (USE_AS_WMEMCMP): New macro.
20914         Fixing indents.
20915         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20916         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20917         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20918         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20919         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20920         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20921         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20922         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20923         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20924         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20925         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20926         (USE_AS_WMEMCMP): New macro.
20927         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20928         * sysdeps/string/test-memcmp.c: Update.
20929         Fix simple_wmemcmp.
20930         Add new tests.
20931         * wcsmbs/wmemcmp.c: Update.
20932         (WMEMCMP): New macro.
20933         Fix overflow bug.
20935 2011-10-12  Andreas Jaeger  <aj@suse.de>
20937         [BZ #13268]
20938         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20940 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
20942         * libio/iofwide.c (do_length): Avoid warning.
20944         * ctype/ctype.h (__isctype_f): Add missing __THROW.
20946 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
20948         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20950         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20951         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20952         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20953         * sysdeps/i386/i686/fpu/e_log.S: New file.
20954         * sysdeps/i386/i686/fpu/e_logf.S: New file.
20955         * sysdeps/i386/i686/fpu/e_logl.S: New file.
20957         * ctype/ctype.h: Add support for inlined isXXX functions when
20958         compiling C++ code.
20960 2011-10-14  Andreas Schwab  <schwab@redhat.com>
20962         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20964         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20966 2011-10-13  Roland McGrath  <roland@hack.frob.com>
20968         [BZ #13291]
20969         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20971 2011-10-13  Andreas Schwab  <schwab@redhat.com>
20973         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20974         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20975         feraiseexcept.
20977         * sysdeps/x86_64/memrchr.S: Check for zero size.
20979         * string/stratcliff.c: Add memrchr tests.
20981 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20984         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20985         rawmemchr-sse2 rawmemchr-sse2-bsf.
20986         * sysdeps/i386/i686/multiarch/memchr.S: New file.
20987         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20988         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20989         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20990         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20991         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20992         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20993         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20994         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20995         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20996         * string/memrchr.c (MEMRCHR): New macro.
20998 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21000         Add integration with gcc's -ffinite-math-only and optimize wrapper
21001         functions in libm.
21002         * Versions.def: Define GLIBC_2.15 version for libm.
21003         * math/Makefile (headers): Add bits/math-finite.h.
21004         * math/bits/math-finite.h: New file.
21005         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21006         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21007         * math/e_acoshl.c: Add __*_finite alias.
21008         * math/e_acosl.c: Likewise.
21009         * math/e_asinl.c: Likewise.
21010         * math/e_atan2l.c: Likewise.
21011         * math/e_atanhl.c: Likewise.
21012         * math/e_coshl.c: Likewise.
21013         * math/e_exp10.c: Likewise.
21014         * math/e_exp10f.c: Likewise.
21015         * math/e_exp10l.c: Likewise.
21016         * math/e_exp2l.c: Likewise.
21017         * math/e_fmodl.c: Likewise.
21018         * math/e_gammal_r.c: Likewise.
21019         * math/e_hypotl.c: Likewise.
21020         * math/e_j0l.c: Likewise.
21021         * math/e_j1l.c: Likewise.
21022         * math/e_jnl.c: Likewise.
21023         * math/e_lgammal_r.c: Likewise.
21024         * math/e_log10l.c: Likewise.
21025         * math/e_log2l.c: Likewise.
21026         * math/e_logl.c: Likewise.
21027         * math/e_powl.c: Likewise.
21028         * math/e_sinhl.c: Likewise.
21029         * math/e_sqrtl.c: Likewise.
21030         * math/e_scalb.c: Completely rewritten and optimized.
21031         * math/e_scalbf.c: Likewise.
21032         * math/e_scalbl.c: Likewise.
21033         * math/w_acos.c: Likewise.
21034         * math/w_acosf.c: Likewise.
21035         * math/w_acosl.c: Likewise.
21036         * math/w_acosh.c: Likewise.
21037         * math/w_acoshf.c: Likewise.
21038         * math/w_acoshl.c: Likewise.
21039         * math/w_asin.c: Likewise.
21040         * math/w_asinf.c: Likewise.
21041         * math/w_asinl.c: Likewise.
21042         * math/w_atan2.c: Likewise.
21043         * math/w_atan2f.c: Likewise.
21044         * math/w_atan2l.c: Likewise.
21045         * math/w_atanh.c: Likewise.
21046         * math/w_atanhf.c: Likewise.
21047         * math/w_atanhl.c: Likewise.
21048         * math/w_exp10.c: Likewise.
21049         * math/w_exp10f.c: Likewise.
21050         * math/w_exp10l.c: Likewise.
21051         * math/w_fmod.c: Likewise.
21052         * math/w_fmodf.c: Likewise.
21053         * math/w_fmodl.c: Likewise.
21054         * math/w_j0.c: Likewise.
21055         * math/w_j0f.c: Likewise.
21056         * math/w_j0l.c: Likewise.
21057         * math/w_j1.c: Likewise.
21058         * math/w_j1f.c: Likewise.
21059         * math/w_j1l.c: Likewise.
21060         * math/w_jn.c: Likewise.
21061         * math/w_jnf.c: Likewise.
21062         * math/w_log.c: Likewise.
21063         * math/w_logf.c: Likewise.
21064         * math/w_logl.c: Likewise.
21065         * math/w_log10.c: Likewise.
21066         * math/w_log10f.c: Likewise.
21067         * math/w_log10l.c: Likewise.
21068         * math/w_log2.c: Likewise.
21069         * math/w_log2f.c: Likewise.
21070         * math/w_log2l.c: Likewise.
21071         * math/w_pow.c: Likewise.
21072         * math/w_powf.c: Likewise.
21073         * math/w_powl.c: Likewise.
21074         * math/w_remainder.c: Likewise.
21075         * math/w_remainderf.c: Likewise.
21076         * math/w_remainderl.c: Likewise.
21077         * math/w_scalb.c: Likewise.
21078         * math/w_scalbf.c: Likewise.
21079         * math/w_scalbl.c: Likewise.
21080         * math/w_sqrt.c: Likewise.
21081         * math/w_sqrtf.c: Likewise.
21082         * math/w_sqrtl.c: Likewise.
21083         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21084         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21085         used.
21086         * math/math_private.h: Declare __kernel_standard_f.
21087         * math/w_cosh.c: Remove cruft and optimize a bit.
21088         * math/w_coshf.c: Likewise.
21089         * math/w_coshl.c: Likewise.
21090         * math/w_exp2.c: Likewise.
21091         * math/w_exp2f.c: Likewise.
21092         * math/w_exp2l.c: Likewise.
21093         * math/w_hypot.c: Likewise.
21094         * math/w_hypotf.c: Likewise.
21095         * math/w_hypotl.c: Likewise.
21096         * math/w_lgamma.c: Likewise.
21097         * math/w_lgamma_r.c: Likewise.
21098         * math/w_lgammaf.c: Likewise.
21099         * math/w_lgammaf_r.c: Likewise.
21100         * math/w_lgammal.c: Likewise.
21101         * math/w_lgammal_r.c: Likewise.
21102         * math/w_sinh.c: Likewise.
21103         * math/w_sinhf.c: Likewise.
21104         * math/w_sinhl.c: Likewise.
21105         * math/w_tgamma.c: Likewise.
21106         * math/w_tgammaf.c: Likewise.
21107         * math/w_tgammal.c: Likewise.
21108         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21109         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21110         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21111         Minor optimizations.  Pretty printing.  Remove cruft.
21112         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21113         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21114         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21115         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21116         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21117         * sysdeps/i386/fpu/e_asin.S: Likewise.
21118         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21119         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21120         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21121         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21122         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21123         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21124         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21125         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21126         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21127         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21128         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21129         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21130         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21131         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21132         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21133         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21134         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21135         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21136         * sysdeps/i386/fpu/e_log.S: Likewise.
21137         * sysdeps/i386/fpu/e_log10.S: Likewise.
21138         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21139         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21140         * sysdeps/i386/fpu/e_log2.S: Likewise.
21141         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21142         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21143         * sysdeps/i386/fpu/e_logf.S: Likewise.
21144         * sysdeps/i386/fpu/e_logl.S: Likewise.
21145         * sysdeps/i386/fpu/e_pow.S: Likewise.
21146         * sysdeps/i386/fpu/e_powf.S: Likewise.
21147         * sysdeps/i386/fpu/e_powl.S: Likewise.
21148         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21149         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21150         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21151         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21152         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21153         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21154         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21155         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21156         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21157         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21160         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21161         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21162         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21163         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21164         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21165         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21166         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21167         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21170         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21171         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21173         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21174         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21175         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21177         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21178         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21179         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21180         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21181         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21182         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21183         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21184         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21185         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21186         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21187         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21188         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21189         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21190         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21191         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21192         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21193         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21194         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21195         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21196         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21197         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21198         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21199         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21200         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21201         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21202         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21203         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21204         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21205         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21206         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21207         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21208         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21209         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21210         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21211         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21212         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21213         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21214         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21215         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21216         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21217         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21221         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21225         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21226         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21227         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21228         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21229         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21231         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21232         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21233         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21234         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21235         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21236         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21238         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21239         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21240         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21241         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21242         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21243         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21244         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21245         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21246         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21247         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21248         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21250         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21251         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21252         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21253         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21254         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21255         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21256         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21257         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21258         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21259         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21260         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21261         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21262         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21263         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21264         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21265         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21266         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21267         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
21268         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21269         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21270         (__isnanf): Likewise.
21271         (__isinf_ns): Likewise.
21272         (__isinf_nsf): Likewise.
21273         (__finite): Likewise.
21274         (__finitef): Likewise.
21275         (__ieee754_sqrt): Define as macro.
21276         (__ieee754_sqrtf): Define as macro.
21277         (__ieee754_sqrtl): Define as macro.
21278         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21279         inlined copy.
21280         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21281         __FINITE_MATH_ONLY__ consistent.
21282         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21284 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
21286         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21287         of rawmemchr.
21289         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21291 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
21293         * po/ja.po: Update from translation team.
21295 2011-10-08  Roland McGrath  <roland@hack.frob.com>
21297         * locale/programs/locarchive.c (prepare_address_space): New function.
21298         (create_archive, enlarge_archive, open_archive): Use it.
21300         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21301         inside [SHARED], where it is used.
21303         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21305         * nss/getent.c (netgroup_keys): Remove unused variable.
21306         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21308 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
21310         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21311         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21313         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21314         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21315         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21316         * math/Makefile (libm-calls): Add s_isinf_ns.
21317         * math/divtc3.c: Use __isinf_nsl instead of isinf.
21318         * math/multc3.c: Likewise.
21319         * math/s_casin.c: Likewise.
21320         * math/s_casinf.c: Likewise.
21321         * math/s_casinl.c: Likewise.
21322         * math/s_ccos.c: Likewise.
21323         * math/s_ccosf.c: Likewise.
21324         * math/s_ccosl.c: Likewise.
21325         * math/s_ctan.c: Likewise.
21326         * math/s_ctanf.c: Likewise.
21327         * math/s_ctanh.c: Likewise.
21328         * math/s_ctanhf.c: Likewise.
21329         * math/s_ctanhl.c: Likewise.
21330         * math/s_ctanl.c: Likewise.
21331         * math/w_fmod.c: Likewise.
21332         * math/w_fmodf.c: Likewise.
21333         * math/w_fmodl.c: Likewise.
21334         * math/w_remainder.c: Likewise.
21335         * math/w_remainderf.c: Likewise.
21336         * math/w_remainderl.c: Likewise.
21337         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21338         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21339         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21340         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21341         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21342         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21343         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21344         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21346         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21347         of the number.
21348         * stdio-common/printf_fphex.c: Likewise.
21349         * stdio-common/printf_size.c: Likewise.
21351         * math/e_exp10.c: Include math_private.h using <...> not "...".
21352         * math/e_exp10f.c: Likewise.
21353         * math/e_exp10l.c: Likewise.
21354         * math/e_exp2l.c: Likewise.
21355         * math/e_j0l.c: Likewise.
21356         * math/e_j1l.c: Likewise.
21357         * math/e_jnl.c: Likewise.
21358         * math/e_lgammal_r.c: Likewise.
21359         * math/e_rem_pio2l.c: Likewise.
21360         * math/e_scalb.c: Likewise.
21361         * math/e_scalbf.c: Likewise.
21362         * math/e_scalbl.c: Likewise.
21363         * math/k_cosl.c: Likewise.
21364         * math/k_sinl.c: Likewise.
21365         * math/k_tanl.c: Likewise.
21366         * math/s_cacoshf.c: Likewise.
21367         * math/s_catan.c: Likewise.
21368         * math/s_catanf.c: Likewise.
21369         * math/s_catanh.c: Likewise.
21370         * math/s_catanhf.c: Likewise.
21371         * math/s_catanhl.c: Likewise.
21372         * math/s_catanl.c: Likewise.
21373         * math/s_ccosh.c: Likewise.
21374         * math/s_ccoshf.c: Likewise.
21375         * math/s_ccoshl.c: Likewise.
21376         * math/s_cexp.c: Likewise.
21377         * math/s_cexpf.c: Likewise.
21378         * math/s_cexpl.c: Likewise.
21379         * math/s_clog.c: Likewise.
21380         * math/s_clog10.c: Likewise.
21381         * math/s_clog10f.c: Likewise.
21382         * math/s_clog10l.c: Likewise.
21383         * math/s_clogf.c: Likewise.
21384         * math/s_clogl.c: Likewise.
21385         * math/s_csin.c: Likewise.
21386         * math/s_csinf.c: Likewise.
21387         * math/s_csinh.c: Likewise.
21388         * math/s_csinhf.c: Likewise.
21389         * math/s_csinhl.c: Likewise.
21390         * math/s_csinl.c: Likewise.
21391         * math/s_csqrt.c: Likewise.
21392         * math/s_csqrtf.c: Likewise.
21393         * math/s_csqrtl.c: Likewise.
21394         * math/s_ctan.c: Likewise.
21395         * math/s_ctanf.c: Likewise.
21396         * math/s_ctanh.c: Likewise.
21397         * math/s_ctanhf.c: Likewise.
21398         * math/s_ctanhl.c: Likewise.
21399         * math/s_ctanl.c: Likewise.
21400         * math/s_ldexp.c: Likewise.
21401         * math/s_ldexpf.c: Likewise.
21402         * math/s_ldexpl.c: Likewise.
21403         * math/s_significand.c: Likewise.
21404         * math/s_significandf.c: Likewise.
21405         * math/s_significandl.c: Likewise.
21406         * math/w_acos.c: Likewise.
21407         * math/w_acosf.c: Likewise.
21408         * math/w_acosh.c: Likewise.
21409         * math/w_acoshf.c: Likewise.
21410         * math/w_acoshl.c: Likewise.
21411         * math/w_acosl.c: Likewise.
21412         * math/w_asin.c: Likewise.
21413         * math/w_asinf.c: Likewise.
21414         * math/w_asinl.c: Likewise.
21415         * math/w_atan2.c: Likewise.
21416         * math/w_atan2f.c: Likewise.
21417         * math/w_atan2l.c: Likewise.
21418         * math/w_atanh.c: Likewise.
21419         * math/w_atanhf.c: Likewise.
21420         * math/w_atanhl.c: Likewise.
21421         * math/w_cosh.c: Likewise.
21422         * math/w_coshf.c: Likewise.
21423         * math/w_coshl.c: Likewise.
21424         * math/w_dremf.c: Likewise.
21425         * math/w_exp10.c: Likewise.
21426         * math/w_exp10f.c: Likewise.
21427         * math/w_exp10l.c: Likewise.
21428         * math/w_exp2.c: Likewise.
21429         * math/w_exp2f.c: Likewise.
21430         * math/w_fmod.c: Likewise.
21431         * math/w_fmodf.c: Likewise.
21432         * math/w_fmodl.c: Likewise.
21433         * math/w_hypot.c: Likewise.
21434         * math/w_hypotf.c: Likewise.
21435         * math/w_hypotl.c: Likewise.
21436         * math/w_j0.c: Likewise.
21437         * math/w_j0f.c: Likewise.
21438         * math/w_j0l.c: Likewise.
21439         * math/w_j1.c: Likewise.
21440         * math/w_j1f.c: Likewise.
21441         * math/w_j1l.c: Likewise.
21442         * math/w_jn.c: Likewise.
21443         * math/w_jnf.c: Likewise.
21444         * math/w_jnl.c: Likewise.
21445         * math/w_lgamma.c: Likewise.
21446         * math/w_lgamma_r.c: Likewise.
21447         * math/w_lgammaf.c: Likewise.
21448         * math/w_lgammaf_r.c: Likewise.
21449         * math/w_lgammal.c: Likewise.
21450         * math/w_lgammal_r.c: Likewise.
21451         * math/w_log.c: Likewise.
21452         * math/w_log10.c: Likewise.
21453         * math/w_log10f.c: Likewise.
21454         * math/w_log10l.c: Likewise.
21455         * math/w_log2.c: Likewise.
21456         * math/w_log2f.c: Likewise.
21457         * math/w_log2l.c: Likewise.
21458         * math/w_logf.c: Likewise.
21459         * math/w_logl.c: Likewise.
21460         * math/w_pow.c: Likewise.
21461         * math/w_powf.c: Likewise.
21462         * math/w_powl.c: Likewise.
21463         * math/w_remainder.c: Likewise.
21464         * math/w_remainderf.c: Likewise.
21465         * math/w_remainderl.c: Likewise.
21466         * math/w_scalb.c: Likewise.
21467         * math/w_scalbf.c: Likewise.
21468         * math/w_scalbl.c: Likewise.
21469         * math/w_sinh.c: Likewise.
21470         * math/w_sinhf.c: Likewise.
21471         * math/w_sinhl.c: Likewise.
21472         * math/w_sqrt.c: Likewise.
21473         * math/w_sqrtf.c: Likewise.
21474         * math/w_sqrtl.c: Likewise.
21475         * math/w_tgamma.c: Likewise.
21476         * math/w_tgammaf.c: Likewise.
21477         * math/w_tgammal.c: Likewise.
21479         * po/ja.po: Update from translation team.
21481 2011-09-29  Andreas Jaeger  <aj@suse.de>
21483         [BZ #13179]
21484         * sunrpc/netname.c (netname2host): Fix logic.
21486         [BZ #6779]
21487         [BZ #6783]
21488         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
21489         correctly.
21490         * math/w_remainder.c (__remainder): Likewise.
21491         * math/w_remainderf.c (__remainderf): Likewise.
21492         * math/libm-test.inc (remainder_test): Add test cases.
21494 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21496         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
21497         sdiv_qrnnd.
21499 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21501         * string/test-memcmp.c: Avoid unncessary #defines.
21502         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21504 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21506         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
21507         Use new sse2 version for core i3 - i7 as it's faster
21508         than sse42 version.
21509         (bit_Prefer_PMINUB_for_stringop): New.
21510         * sysdeps/x86_64/rawmemchr.S: Update.
21511         Replace with faster SSE2 version.
21512         * sysdeps/x86_64/memrchr.S: New file.
21513         * sysdeps/x86_64/memchr.S: Update.
21514         Replace with faster SSE2 version.
21516 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
21518         * elf/dl-load.c (lose): Add cast to avoid warning.
21520 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
21522         * po/ca.po: Update from translation team.
21524         * inet/getnetgrent_r.c: Hook up nscd.
21525         * nscd/Makefile (routines): Add nscd_netgroup.
21526         (nscd-modules): Add netgroupcache.
21527         (CFLAGS-netgroupcache.c): Define.
21528         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
21529         (cache_search): Add const to second parameter.
21530         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
21531         INNETGR.
21532         (dbs): Add netgrdb entry.
21533         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
21534         (verify_persistent_db): Handle netgrdb.
21535         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
21536         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
21537         GETFDNETGR.
21538         (netgroup_response_header): Define.
21539         (innetgroup_response_header): Define.
21540         (datahead): Add netgroup_response_header and innetgroup_response_header
21541         elements.
21542         * nscd/nscd.conf: Add entries for netgroup cache.
21543         * nscd/nscd.h (dbtype): Add netgrdb.
21544         (_PATH_NSCD_NETGROUP_DB): Define.
21545         (netgroup_iov_disabled): Declare.
21546         (xmalloc, xcalloc, xrealloc): Move declarations here.
21547         (cache_search): Adjust prototype.
21548         Add netgroup-related prototypes.
21549         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
21550         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
21551         (__nscd_innetgr): Declare.
21552         * nscd/selinux.c (perms): Use access_vector_t as element type and
21553         add netgroup-related initializers.
21554         * nscd/netgroupcache.c: New file.
21555         * nscd/nscd_netgroup.c: New file.
21556         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
21557         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
21558         For four parameters use innetgr.
21559         * nss/nss_files/files-init.c: Add definition and callback for netgr.
21560         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
21561         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
21562         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
21564         * nscd/connections.c (register_traced_file): Don't register file
21565         for disabled databases.
21567 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
21569         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
21571         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
21572         from tree and freeing node.
21574 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
21576         * nss/nsswitch.c (__nss_database_lookup): Handle
21577         nss_parse_service_list out of memory case.
21579 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
21581         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
21582         out of memory case.
21584 2011-10-04  Andreas Schwab  <schwab@redhat.com>
21586         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
21587         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
21588         pass it down.
21589         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
21590         elf_machine_rela, elf_machine_lazy_rel.
21591         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
21592         (ELF_DYNAMIC_DO_REL): Likewise.
21593         (ELF_DYNAMIC_DO_RELA): Likewise.
21594         (ELF_DYNAMIC_RELOCATE): Likewise.
21595         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
21596         to ELF_DYNAMIC_DO_REL.
21597         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
21598         (dl_main): In trace mode always set __RTLD_NOIFUNC.
21599         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
21600         elf_machine_rela.
21601         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
21602         skip_ifunc, don't call ifunc function if non-zero.
21603         (elf_machine_rela): Likewise.
21604         (elf_machine_lazy_rel): Likewise.
21605         (elf_machine_lazy_rela): Likewise.
21606         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
21607         (elf_machine_lazy_rel): Likewise.
21608         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
21609         Likewise.
21610         (elf_machine_lazy_rel): Likewise.
21611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21612         Likewise.
21613         (elf_machine_lazy_rel): Likewise.
21614         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
21615         (elf_machine_lazy_rel): Likewise.
21616         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
21617         (elf_machine_lazy_rel): Likewise.
21618         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21619         (elf_machine_lazy_rel): Likewise.
21620         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
21621         (elf_machine_lazy_rel): Likewise.
21622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
21623         (elf_machine_lazy_rel): Likewise.
21624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21625         (elf_machine_lazy_rel): Likewise.
21627 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
21629         * nss/nss_files/files-init.c (_nss_files_init): Use static
21630         initialization for all the *_traced_file variables.
21632 2011-09-28  Andreas Schwab  <schwab@redhat.com>
21634         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21636 2011-09-27  Roland McGrath  <roland@hack.frob.com>
21638         [BZ #13226]
21639         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
21641 2011-09-27  Andreas Schwab  <schwab@redhat.com>
21643         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21644         Reread the line before reparsing it.
21646 2011-09-26  Andreas Schwab  <schwab@redhat.com>
21648         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21650 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
21651             Maxim Kuvyrkov  <maxim@codesourcery.com>
21652             Joseph Myers  <joseph@codesourcery.com>
21654         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21655         if needed for __stack_chk_guard.
21657 2011-09-19  Roland McGrath  <roland@hack.frob.com>
21659         * sysdeps/posix/spawni.c (script_execute): Always define it.
21660         It will be optimized away if unused.
21661         (maybe_script_execute): New function.
21662         (__spawni): Call it.
21664         * Makerules: Don't include tls.make.
21665         (config-tls): Always set to thread.
21666         * tls.make.c: File removed.
21668 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
21670         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21671         * config.make.in (CPPFLAGS-config): New substituted variable.
21673 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21675         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21677         [BZ #13192]
21678         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21679         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21681 2011-09-15  Roland McGrath  <roland@hack.frob.com>
21683         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21684         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21686         (CALL_FAIL): Likewise.
21687         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21688         (CALL_FAIL): Macro removed.
21689         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21691 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
21693         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21694         for __FINITE_MATH_ONLY__ == 1.
21696 2011-09-15  Andreas Schwab  <schwab@redhat.com>
21698         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21699         __ieee754_sqrt instead of sqrt.
21700         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21701         __ieee754_sqrtf instead of sqrtf.
21702         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21703         __floorf instead of floorf.
21704         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21705         __floorf, __truncf instead of floorf, truncf.
21707 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
21709         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21711         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21712         __extern_always_inline.
21713         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21714         32-bit.
21716 2011-09-14  Andreas Schwab  <schwab@redhat.com>
21718         * elf/rtld.c (dl_main): Also relocate in dependency order when
21719         doing symbol dependency testing.
21721 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
21723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21724         Always define `refsym'.
21726 2011-09-13  Andreas Schwab  <schwab@redhat.com>
21728         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21729         (__FD_ELT): Renamed from __FDELT.
21730         * misc/bits/select2.h (__FD_ELT): Likewise.
21731         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21732         __FD_MASK instead of __FDELT, __FDMASK.
21733         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21734         Likewise.
21735         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21736         Likewise.
21738         * elf/Makefile (gen-ldd): Fix pattern.
21740         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21741         (init_tls): Likewise.
21743 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
21745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21747 2011-09-12  Andreas Schwab  <schwab@redhat.com>
21749         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21750         `struct cmsghdr *' instead of `void *'.
21751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21752         Likewise.
21754 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
21756         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21757         if non-absolute.
21758         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21759         ldd_rewrite_script.
21761 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
21763         * configure.in: Remove --with-tls option.
21764         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21765         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21766         out in case it is missing.
21767         * sysdeps/ia64/elf/configure.in: Likewise.
21768         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21769         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21770         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21771         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21772         * sysdeps/sh/elf/configure.in: Likewise.
21773         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21774         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21775         * sysdeps/x86_64/elf/configure.in: Likewise.
21776         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21777         * sysdeps/mach/hurd/tls.h: Likewise.
21779         [BZ #13067]
21780         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21782         [BZ #13090]
21783         * configure.in: Fix use of AC_INIT.
21785         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21787 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
21789         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21790         __set_errno.
21791         * malloc/hooks.c: Likewise.
21793         [BZ #11929]
21794         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
21795         variables statically.
21796         (narenas): Initialize.
21797         (list_lock): Initialize.
21798         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
21799         initializtion of main_arena and list_lock.  Small cleanups.
21800         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21801         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
21802         Add initializers to main_arena and mp_.
21803         (malloc_state): Remove pagesize member.  Change all users to use
21804         GLRO(dl_pagesize).
21806         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21807         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
21808         is always initialized.
21810         * malloc/malloc.c: Removed unused configurations and dead code.
21811         * malloc/arena.c: Likewise.
21812         * malloc/hooks.c: Likewise.
21813         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
21815         * include/tls.h: Removed.  USE___THREAD must always be defined.
21816         * bits/libc-tsd.h: Don't handle !USE___THREAD.
21817         * elf/dl-libc.c: Likewise.
21818         * elf/dl-tsd.c: Likewise.
21819         * include/errno.h: Likewise.
21820         * include/netdb.h: Likewise.
21821         * include/resolv.h: Likewise.
21822         * inet/herrno-loc.c: Likewise.
21823         * inet/herrno.c: Likewise.
21824         * malloc/arena.c: Likewise.
21825         * malloc/hooks.c: Likewise.
21826         * malloc/malloc.c: Likewise.
21827         * resolv/res-state.c: Likewise.
21828         * resolv/res_libc.c: Likewise.
21829         * sysdeps/i386/dl-machine.h: Likewise.
21830         * sysdeps/ia64/dl-machine.h: Likewise.
21831         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21832         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21833         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21834         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21835         * sysdeps/sh/dl-machine.h: Likewise.
21836         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21837         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21838         * sysdeps/unix/i386/sysdep.S: Likewise.
21839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21840         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21841         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21845         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21846         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21849         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21850         * sysdeps/x86_64/dl-machine.h: Likewise.
21851         * tls.make.c: Likewise.
21853         * configure.in: Remove --with-__thread option.  Make tests for
21854         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21855         tls_model attribute fail if no support is available.  Remove
21856         USE_IN_LIBIO.
21857         * Makeconfig: Adjust for dropped configure option.  All features are
21858         now mandatory.
21859         * Makerules: Likewise.
21860         * Versions.def: Likewise.
21861         * argp/argp-fmtstream.c: Likewise.
21862         * argp/argp-fmtstream.h: Likewise.
21863         * argp/argp-help.c: Likewise.
21864         * assert/assert.c: Likewise.
21865         * config.h.in: Likewise.
21866         * config.make.in: Likewise.
21867         * configure: Likewise.
21868         * configure.in: Likewise.
21869         * csu/Versions: Likewise.
21870         * csu/init.c: Likewise.
21871         * elf/tst-audit2.c: Likewise.
21872         * elf/tst-tls10.c: Likewise.
21873         * elf/tst-tls10.h: Likewise.
21874         * elf/tst-tls11.c: Likewise.
21875         * elf/tst-tls12.c: Likewise.
21876         * elf/tst-tls14.c: Likewise.
21877         * elf/tst-tlsmod11.c: Likewise.
21878         * elf/tst-tlsmod12.c: Likewise.
21879         * elf/tst-tlsmod13.c: Likewise.
21880         * elf/tst-tlsmod13a.c: Likewise.
21881         * elf/tst-tlsmod14a.c: Likewise.
21882         * elf/tst-tlsmod15b.c: Likewise.
21883         * elf/tst-tlsmod16a.c: Likewise.
21884         * elf/tst-tlsmod16b.c: Likewise.
21885         * elf/tst-tlsmod7.c: Likewise.
21886         * elf/tst-tlsmod8.c: Likewise.
21887         * elf/tst-tlsmod9.c: Likewise.
21888         * gmon/gmon.c: Likewise.
21889         * grp/fgetgrent_r.c: Likewise.
21890         * grp/putgrent.c: Likewise.
21891         * hurd/fopenport.c: Likewise.
21892         * include/libc-symbols.h: Likewise.
21893         * include/tls.h: Likewise.
21894         * intl/gettextP.h: Likewise.
21895         * intl/loadinfo.h: Likewise.
21896         * locale/global-locale.c: Likewise.
21897         * locale/localeinfo.h: Likewise.
21898         * mach/devstream.c: Likewise.
21899         * malloc/arena.c: Likewise.
21900         * malloc/set-freeres.c: Likewise.
21901         * misc/err.c: Likewise.
21902         * misc/getttyent.c: Likewise.
21903         * misc/mntent_r.c: Likewise.
21904         * posix/getopt.c: Likewise.
21905         * posix/wordexp.c: Likewise.
21906         * pwd/fgetpwent_r.c: Likewise.
21907         * resolv/Versions: Likewise.
21908         * resolv/res_hconf.c: Likewise.
21909         * shadow/fgetspent_r.c: Likewise.
21910         * shadow/putspent.c: Likewise.
21911         * stdio-common/printf_fphex.c: Likewise.
21912         * stdio-common/tmpfile.c: Likewise.
21913         * stdlib/abort.c: Likewise.
21914         * stdlib/fmtmsg.c: Likewise.
21915         * sunrpc/auth_unix.c: Likewise.
21916         * sunrpc/clnt_perr.c: Likewise.
21917         * sunrpc/clnt_tcp.c: Likewise.
21918         * sunrpc/clnt_udp.c: Likewise.
21919         * sunrpc/clnt_unix.c: Likewise.
21920         * sunrpc/openchild.c: Likewise.
21921         * sunrpc/svc_simple.c: Likewise.
21922         * sunrpc/svc_tcp.c: Likewise.
21923         * sunrpc/svc_udp.c: Likewise.
21924         * sunrpc/svc_unix.c: Likewise.
21925         * sunrpc/xdr.c: Likewise.
21926         * sunrpc/xdr_array.c: Likewise.
21927         * sunrpc/xdr_rec.c: Likewise.
21928         * sunrpc/xdr_ref.c: Likewise.
21929         * sunrpc/xdr_stdio.c: Likewise.
21931 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21933         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21935 2011-07-03  Andreas Jaeger  <aj@suse.de>
21937         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21938         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21939         regenerate with gen-libm-tests.pl.
21941 2010-05-12  Petr Baudis  <pasky@suse.cz>
21943         [BZ #11589]
21944         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21945         around j0() zero points by switching to j1().
21946         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21947         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21949         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21953         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21954         instead of 0.
21955         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
21956         instead of 0.
21957         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21958         Patch in part by Pavel Roskin <proski@gnu.org>.
21960         [BZ #13138]
21961         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21962         realloc.
21963         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
21964         Free memory block if necessary.
21966         [BZ #12847]
21967         * libio/genops.c (INTDEF): For string streams the _lock pointer can
21968         be NULL.  Don't lock in this case.
21970 2011-09-09  Roland McGrath  <roland@hack.frob.com>
21972         * elf/elf.h (ELFOSABI_GNU): New macro.
21973         (ELFOSABI_LINUX): Define to that.
21975 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
21977         * string/strncat.c (strncat): Undef the symbol in case it has been
21978         defined in bits/string.h.
21980 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
21982         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21984         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
21985         link map.
21987 2011-08-17  Andreas Jaeger  <aj@suse.de>
21989         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21991 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21992             Ian Lance Taylor  <iant@google.com>
21994         * math/libm-test.inc (lround_test): New testcase.
21995         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21997 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
21999         * Makefile: Remove support for automatic cvs check-ins.
22000         * Makerules: Likewise.
22001         * config.make.in: Likewise.
22002         * configure.in: Likewise.
22003         * intl/Makefile: Likewise.
22004         * locale/Makefile: Likewise.
22005         * po/Makefile: Likewise.
22006         * posix/Makefile: Likewise.
22007         * sysdeps/gnu/Makefile: Likewise.
22008         * sysdeps/mach/hurd/Makefile: Likewise.
22009         * sysdeps/sparc/sparc32/Makefile: Likewise.
22011         [BZ #13118]
22012         * posix/Makefile (bug-regex32-ENV): Define.
22013         Patch by John Stanley <jpsinthemix@verizon.net>.
22015         * misc/Makefile (headers): Add bits/select2.h.
22016         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22017         * misc/bits/select2.h: New file.
22018         * include/bits/select2.h: New file.
22019         * debug/Makefile (routines): Add fdelt_chk.
22020         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22021         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22022         FD_ISSET.
22023         * debug/fdelt_chk.c: New file.
22025         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22026         * wcsmbs/test-wmemcmp.c: Likewise.
22027         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22028         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22030 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22032         * string/Makefile (strop-tests): Add memcmp.
22033         * string/test-wmemcmp.c: New file.
22034         * string/test-memcmp.c: Add wmemcmp support.
22036 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22038         [BZ #13153]
22039         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22040         2011-07-19 change.
22042         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22043         garbage value in a __mach_port_mod_refs call in the cases of the
22044         task-self and thread-self ports.
22046 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22048         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22050 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22052         * elf/dl-load.c (lose): Check for non-null L.
22054 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22056         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22058         * elf/dl-libc.c (dlerror_run): Pass back error code from
22059         dl_catch_error.
22061         [BZ #13123]
22062         * elf/dl-load.c (lose): Free l_origin if it is valid.
22064         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22065         names.
22066         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22067         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22068         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22069         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22070         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22071         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22073 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22075         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22076         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22077         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22078         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22079         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22080         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22081         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22082         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22083         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22084         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22086 2011-08-15  Alan Modra  <amodra@gmail.com>
22088         [BZ #13092]
22089         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22090         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22091         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22092         ppc_mcount to static-only-routines.
22093         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22094         __mcount_internal.
22095         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22096         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22098 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22100         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22101         for finite and infinity parameters.
22103 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22105         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22106         and add nop instructions for throughput optimization.
22107         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22109 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22112         aligned copy for power7 with vector-scalar instructions.
22113         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22115 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22118         AVX check.
22120 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22122         [BZ #13144]
22123         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22124         last change.
22126 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22128         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22129         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22130         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22132         clock_gettime.
22134 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22136         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22137         Forgot to demangle the pointer.
22139         * sysdeps/i386/sysdep.h: Define atom_text_section.
22140         * sysdeps/x86_64/sysdep.h: Likewise.
22141         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22142         section with atom_text_section.
22143         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22144         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22145         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22146         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22147         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22149         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22150         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22151         already be defined.  Change to take two parameters and don't assign
22152         result to variable.  Adjust all users.
22153         Define INTERNAL_GETTIME if not already defined.
22154         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22155         call.
22156         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22157         HAVE_CLOCK_GETTIME_VSYSCALL.
22158         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22160         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22161         gettimeofday vsyscall, just use time.
22163 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22165         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22166         <errno.h>.
22168 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22170         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22171         syscall on x86-64.
22172         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22173         syscall.
22174         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22175         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22176         syscall if possible.
22178 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22180         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22181         e_ident.  Don't pass to find_mapsXX.
22182         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22184 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22187         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22188         * sysdeps/x86_64/multiarch/strchr.S: Update.
22189         Check bit_slow_BSF bit.
22190         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22191         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22192         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22194 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22196         [BZ #13134]
22197         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22198         before glibc 2.15.
22199         (tryshell): Define.
22200         (__spawni): Change last parameter to be flag.  Test
22201         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22202         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22203         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22204         * posix/spawni.c: Likewise.
22205         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22206         * posix/spawnp.c: Likewise.  Change normal version to use
22207         SPAWN_XFLAGS_USE_PATH.
22208         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22209         SPAWN_XFLAGS_TRY_SHELL.
22211         [BZ #13150]
22212         * posix/glob.h: Remove gcc 1.x support.
22214         [BZ #13068]
22215         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22217 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22219         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22220         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22221         strrchr-sse2-bsf
22222         * sysdeps/i386/i686/multiarch/strchr.S: New file.
22223         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22224         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22225         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22226         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22227         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22229 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22231         * sysdeps/x86_64/wcscmp.S: New file.
22233         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22234         wcscmp-c wcscmp-sse2
22235         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22236         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22237         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22238         * wcsmbs/wcscmp.c: Allow renaming.
22240 2011-09-05  David S. Miller  <davem@davemloft.net>
22242         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22243         stack slot, rather than the struct return pointer slot.
22244         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22245         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22247         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22249 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22251         * po/ja.po: Update from translation team.
22253         [BZ #13144]
22254         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22255         kernel in 64-bit binaries.
22257 2011-09-01  David S. Miller  <davem@davemloft.net>
22259         * elf/elf.h (HWCAP_SPARC_*): Move to..
22260         * sysdeps/sparc/sysdep.h: this new file and add new values.
22261         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22262         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22263         _DL_HWCAP_COUNT to 24.
22264         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22265         entries.
22266         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22267         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22268         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22269         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22270         instead of magic constants.
22271         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22273 2011-08-31  David S. Miller  <davem@davemloft.net>
22275         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22277         Reimplement to do errno handling inline.
22278         (SYSCALL_ERROR_HANDLER): New macro.
22279         (__SYSCALL_STRING): Do not do errno handling in asm.
22280         (__CLONE_SYSCALL_STRING): Delete.
22281         (__INTERNAL_SYSCALL_STRING): Delete.
22282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22283         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22284         (PSEUDO): Reimplement to do errno handling inline.
22285         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22286         (SYSCALL_ERROR_HANDLER): New macro.
22287         (__SYSCALL_STRING): Do not do errno handling in asm.
22288         (__CLONE_SYSCALL_STRING): Delete.
22289         (__INTERNAL_SYSCALL_STRING): Delete.
22290         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22291         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22292         i386.
22293         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22294         (inline_syscall*): Add 'err' argument.
22295         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22296         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22297         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22298         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22300         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22301         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22303 2011-08-30  Andreas Schwab  <schwab@redhat.com>
22305         * elf/rtld.c (dl_main): Relocate objects in dependency order.
22307 2011-08-29  Jiri Olsa <jolsa@redhat.com>
22309         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22310         directive.
22312 2011-08-24  David S. Miller  <davem@davemloft.net>
22314         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22316 2011-08-24  Andreas Schwab  <schwab@redhat.com>
22318         * elf/Makefile: Add rules to build and run unload8 test.
22319         * elf/unload8.c: New file.
22320         * elf/unload8mod1.c: New file.
22321         * elf/unload8mod1x.c: New file.
22322         * elf/unload8mod2.c: New file.
22323         * elf/unload8mod3.c: New file.
22325         * elf/dl-close.c (_dl_close_worker): Reset private search list if
22326         it wasn't used.
22328 2011-08-23  David S. Miller  <davem@davemloft.net>
22330         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22331         subtract stack bias.
22332         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22333         %sp not %fp in calculations.
22334         (_JMPBUF_UNWINDS_ADJ): Likewise.
22336         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22337         (aio_suspend): Call it to force an exception region around the
22338         AIO_MISC_WAIT() invocation.
22340 2011-08-23  Andreas Schwab  <schwab@redhat.com>
22342         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22343         backslash.
22345 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
22347         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22348         protection macro.
22349         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22350         and <dl-machine.h>.
22351         (Elf64_FuncDesc): Remove.
22353 2011-08-22  David S. Miller  <davem@davemloft.net>
22355         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22356         sigaltstack check, add missing cfi directives.
22357         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22358         missing cfi directives, and sigaltstack handling.
22360 2011-08-16  Andreas Schwab  <schwab@redhat.com>
22362         [BZ #11724]
22363         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22364         object is seen twice.
22365         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22367         * elf/Makefile (distribute): Add tst-initorder2.c.
22368         (tests): Add tst-initorder2.
22369         (modules-names): Add tst-initorder2a tst-initorder2b
22370         tst-initorder2c tst-initorder2d.  Add rules to build them.
22371         ($(objpfx)tst-initorder2.out): New rule.
22372         * elf/tst-initorder2.c: New file.
22373         * elf/tst-initorder2.exp: New file.
22375 2011-08-22  Andreas Schwab  <schwab@redhat.com>
22377         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22379         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22380         dependencies back to end of function.
22382         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22383         $(elfobjdir)/ld.so.
22385 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
22387         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22388         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22390         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22391         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22392         of __vdso_gettimeofday.
22393         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22394         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
22395         attribute_hidden.
22396         (_libc_vdso_platform_setup): Remove initialization of
22397         __vdso_gettimeofday and __vdso_time.
22399 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22401         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22402         and fgetc_unlocked.
22403         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22404         getc_unlocked.
22406         * elf/dl-open.c (add_to_global): Report additions to the global scope
22407         for LD_DEBUG=scopes.
22408         (dl_open_worker): Also print scope of newly loaded dependencies.
22409         (_dl_show_scope): Indicate if there is no scope.
22411         [BZ #13114]
22412         * stdio-common/Makefile (tests): Add bug24.
22413         * stdio-common/bug24.c: New file.
22415 2011-08-19  Andreas Jaeger  <aj@suse.de>
22417         [BZ #13114]
22418         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22419         non-existant file when using close-on-exec mode.
22421 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
22423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22424         the very first instruction.
22426         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22427         the CFI state in the end.
22428         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22429         inclusion of dl-trampoline.h.
22430         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22432 2011-08-19  Andreas Schwab  <schwab@redhat.com>
22434         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22435         expectations for long double.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22438         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22440 2011-08-14  David S. Miller  <davem@davemloft.net>
22442         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22443         artificual limit depends upon the system page size.
22445 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22447         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22448         * resolv/Makefile: Define CFLAGS-libresolv.
22450 2011-08-17  Andreas Schwab  <schwab@redhat.com>
22452         * nss/makedb.c (compute_tables): Make variables used in nested
22453         function static.
22455 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
22457         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
22458         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
22459         if buffer was too small.
22461         * elf/pldd.c (main): Attach to all threads in the process.
22462         Rewrite /proc handling to use *at functions.
22464 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
22466         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
22467         specifies first scope to show.
22468         (dl_open_worker): Update callers.  Move printing scope of new
22469         object to before the relocation.
22470         * elf/rtld.c (dl_main): Update _dl_show_scope call.
22471         * sysdeps/generic/ldsodefs.h: Update declaration.
22473         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
22474         string for the scope number.
22476 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
22478         * nscd/servicescache.c (cache_addserv): Make sure written is always
22479         initialized.
22481 2011-08-14  Roland McGrath  <roland@hack.frob.com>
22483         * sysdeps/i386/i486/bits/atomic.h
22484         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
22485         statement expression, so as to suppress "set but not used" warning.
22486         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
22488         * string/strncat.c (STRNCAT): Use prototype definition.
22490         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
22491         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
22492         -Iprograms here.
22493         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
22494         (localedef-modules): Add localedef.
22495         (locale-modules): Add locale.
22497         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
22498         * elf/rtld.c (dl_main): Invert order of assignment in last change,
22499         to avoid a warning.
22501 2011-08-14  David S. Miller  <davem@davemloft.net>
22503         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
22504         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
22506 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
22508         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
22509         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
22510         * elf/rtld.c (dl_main): Set l_name of vDSO.
22511         Call _dl_show_scope when DL_DEBUG_SCOPES.
22512         (process_dl_debug): Recognize scopes flag and also set it for all.
22513         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
22514         Declare _dl_show_scope.
22516         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
22517         (do_dlopen): Pass caller_dlopen to dl_open.
22518         (__libc_dlopen_mode): Initialize caller_dlopen.
22520         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
22521         of libc.  Make tolower call locale-independent.  Optimize a bit by
22522         using isdigit instead of isalnum.
22523         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
22525 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
22527         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
22528         was a dependency or dynamically loaded.
22530 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
22532         * intl/l10nflist.c: Allow architecture-specific pop function.
22533         * sysdeps/x86_64/l10nflist.c: New file.
22535         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
22536         classification.
22538 2011-08-10  Andreas Schwab  <schwab@redhat.com>
22540         * include/dirent.h: Add libc_hidden_proto for scandirat and
22541         scandirat64.  Don't declare __scandirat64.
22542         * dirent/scandirat.c: Add libc_hidden_def.
22543         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
22544         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
22546 2011-08-10  David S. Miller  <davem@davemloft.net>
22548         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
22549         enum.
22550         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22551         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22552         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22554 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
22556         * Versions.def [libc]: Add GLIBC_2.15.
22557         * dirent/Makefile (routines): Add scandirat and scandirat64.
22558         * dirent/Versions [libc]: Export scandirat and scandirat64 for
22559         GLIBC_2.15.
22560         * dirent/dirent.h: Declare scandirat and scandirat64.
22561         * dirent/scandirat.c: New file.
22562         * dirent/scandirat64.c: New file.
22563         * sysdeps/wordsize-64/scandirat.c: New file.
22564         * sysdeps/wordsize-64/scandirat64.c: New file.
22565         * dirent/opendir.c: Define opendirat.
22566         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
22567         using scandirat.
22568         * dirent/scandir64.c: Adjust for scandir.c change.
22569         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
22570         __scandirat64, and __scandir_cancel_handler.
22571         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
22572         additional parameter and use openat instead of open (outside of ld.so).
22573         Add new __opendir as wrapper around __opendirat.
22574         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
22575         here without requiring old scandirat implementation.
22577 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
22579         * dirent/scandir.c (cancel_handler): Renamed to
22580         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
22581         defined.  Adjust users.
22582         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
22583         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
22585 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
22587         * string/test-string.h (IMPL): Use __STRING to expand name and then
22588         stringify it.
22590         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
22591         of cleanups.
22593 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22595         * string/Makefile: Update.
22596         (strop-tests): Append strncat.
22597         * string/test-wcscmp.c: New file.
22598         New comprehensive test for wcscmp.
22599         * string/test-strcmp.c: Update.
22600         (WIDE): New define.
22602 2011-07-22  Andreas Schwab  <schwab@redhat.com>
22604         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
22605         line.
22607 2011-07-26  Andreas Schwab  <schwab@redhat.com>
22609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22610         encoding to ACE if AI_IDN.
22612 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
22614         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
22615         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
22617 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
22620         Fix overflow bug in strncat.
22621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22623         * string/test-strncat.c: Update.
22624         Add new tests for checking overflow bugs.
22626 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22628         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22629         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
22630         * sysdeps/i386/i686/multiarch/strcat.S: New file.
22631         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
22632         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
22633         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
22634         * sysdeps/i386/i686/multiarch/strncat.S: New file.
22635         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
22636         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
22638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
22639         (USE_AS_STRCAT): Define.
22640         Add strcat and strncat support.
22641         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22643 2011-07-25  Andreas Schwab  <schwab@redhat.com>
22645         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22646         __n bigger than INT_MAX+1.
22647         (__strncmp_g): Likewise.
22649 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
22651         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22652         * libio/stido.h: Likewise.
22654         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22655         (AF_NFC): Define.
22656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22657         (AF_NFC): Define.
22659         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22660         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22661         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22662         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22663         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22665         [BZ #13021]
22666         * scripts/test-installation.pl: Don't expect libnss_test1 to be
22667         installed.
22669         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22670         typo.
22671         (_dl_x86_64_save_sse): Likewise.
22673 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
22675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22676         OSXSAVE.
22677         (_dl_x86_64_save_sse): Likewise.
22679         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22681         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22683 2011-07-21  Andreas Schwab  <schwab@redhat.com>
22685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22686         change.
22687         (_dl_x86_64_save_sse): Use correct AVX check.
22689 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22691         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22692         bug in strncpy/strncat.
22693         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22695 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
22697         * string/tester.c (test_strcat): Add tests for different alignments
22698         of source and destination.
22699         (test_strncat): Likewise.
22701 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22703         [BZ #12852]
22704         * posix/glob.c (glob): Check passed in values before using them in
22705         expressions to avoid some overflows.
22706         (glob_in_dir): Likewise.
22708         [BZ #13007]
22709         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22710         check for AVX enablement so that we don't crash with old kernels and
22711         new hardware.
22712         * elf/tst-audit4.c: Add same checks here.
22713         * elf/tst-audit6.c: Likewise.
22715         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
22717 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
22719         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22721 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
22723         * po/cs.po: Update from translation team.
22724         * po/bg.po: Likewise.
22726 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
22728         * misc/sys/cdefs.h: Add support for const attribute.
22729         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22730         to gnu_dev_{major,minor,makedev} functions.
22732 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
22734         * intl/dcigettext.c (get_output_charset): Add missing bracket.
22736 2011-07-20  Andreas Schwab  <schwab@redhat.com>
22738         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22739         strlen results.
22741 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22744         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22745         register in order to avoid conflicts with the soft frame pointer
22746         being held in r11 when necessary.
22747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22748         (INTERNAL_VSYSCALL_NCS): Likewise.
22750 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
22752         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22753         * elf/dl-fini.c (_dl_fini): Adjust caller.
22754         * elf/dl-close.c (_dl_close_worker): Likewise.
22755         * sysdeps/generic/ldsodefs.h: Adjust declaration.
22757 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22759         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22760         "aux_cache->nlibs < 0".
22762         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22763         in the reload-count case.
22765 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22768         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22769         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22770         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22771         * sysdeps/x86_64/multiarch/strcat.S: New file.
22772         * sysdeps/x86_64/multiarch/strncat.S: New file.
22773         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22774         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22775         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22776         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22777         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22778         (USE_AS_STRCAT): Define.
22779         Add strcat and strncat support.
22780         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22781         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22782         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22783         * string/strncat.c: Update.
22784         (USE_AS_STRNCAT): Define.
22785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22786         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22787         and i7.
22788         * sysdeps/x86_64/multiarch/init-arch.h
22789         (bit_Prefer_PMINUB_for_stringop): New.
22790         (index_Prefer_PMINUB_for_stringop): Likewise.
22791         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22792         bit_Prefer_PMINUB_for_stringop.
22794 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22796         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22797         buffer64.
22798         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22799         of casting of buffer.
22800         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22801         buffer32 and buffer64.
22802         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22803         writes instead of casting of buffer.
22804         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22805         buffer32.
22806         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22807         casting of buffer.
22809 2011-07-19  Andreas Schwab  <schwab@redhat.com>
22811         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22813 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
22815         * nscd/nscd.c (termination_handler): Don't do anything for a database
22816         if it has not yet been initialized.
22818 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22820         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22822 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
22824         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22826 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
22828         * po/nl.po: Update from translation team.
22829         * po/sv.po: Likewise.
22831 2011-07-16  Roland McGrath  <roland@hack.frob.com>
22833         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22834         now disallowed by GCC.
22836         * configure.in (use-default-link): Default to yes if a test -shared
22837         link meets our qualifications.
22838         * configure: Regenerated.
22840         * config.make.in (output-format): New variable.
22841         * configure.in: Check for ld --print-output-format support.
22842         * configure: Regenerated.
22843         * Makerules ($(common-objpfx)format.lds)
22844         [$(output-format) != unknown]: Just use $(output-format),
22845         instead of the linker-script munging.
22847 2011-07-14  Roland McGrath  <roland@hack.frob.com>
22849         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22850         of $(common-objpfx)shlib.lds.
22851         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22853         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22854         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22856         * configure.in (-z relro check): Adjust test code to add a large
22857         writable data section after it.
22858         * configure: Regenerated.
22860 2011-07-11  Roland McGrath  <roland@hack.frob.com>
22862         * configure.in (-z relro check): Fix test code to make the variable
22863         truly const.
22864         * configure: Regenerated.
22866 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
22868         * nscd/nscd.h (struct traced_file): Define.
22869         (struct database_dyn): Remove inotify_descr, reset_res, and filename
22870         elements.  Add traced_files.
22871         (inotify_fd): Declare.
22872         (register_traced_file): Declare.
22873         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22874         (inotify_fd): Export.
22875         (resolv_conf_descr): Remove.
22876         (nscd_init): Move inotify descriptor creation to main.
22877         Don't register files for notification here.
22878         (register_traced_file): New function.
22879         (invalidate_cache): Don't use reset_res to determine whether to call
22880         res_init, go through the list of registered files.
22881         (main_loop_poll): The inotify descriptors are now stored in the
22882         structures for the traced files.
22883         (main_loop_epoll): Likewise
22884         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
22885         to __nss_disable_nscd.
22886         * nscd/cache.c (prune_cache): There is no single inotify descriptor
22887         for a database anymore.  Check the records for all the registered
22888         files instead.
22889         * nss/Makefile (libnss_files-routines): Add files-init.
22890         (libnss_db-routines): Add db-init.
22891         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22892         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22893         * nss/nss_db/db-init.c: New file.
22894         * nss/nss_files/files-init.c: New file.
22895         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
22896         __nss_lookup_function.
22897         (__nss_lookup_function): Call nss_load_library.
22898         (nss_load_all_libraries): New function.
22899         (__nss_disable_nscd): Take parameter with callback function for files
22900         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
22901         used for the cached services.
22902         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22903         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22904         options for features to all the files in nscd.
22906         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22908 2011-07-10  Roland McGrath  <roland@hack.frob.com>
22910         * csu/elf-init.c (__libc_csu_init): Comment typo.
22912 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
22914         * po/pl.po: Update from translation team.
22915         * po/ja.po: Likewise.
22916         * po/ru.po: Likewise.
22917         * po/ko.po: Likewise.
22918         * po/fr.po: Likewise.
22920 2011-07-09  Roland McGrath  <roland@hack.frob.com>
22922         * configure.in (.ctors/.dtors header and trailer check):
22923         Use an empirical test on a built program.
22924         * configure: Regenerated.
22926         * configure.in (-z relro check): Use an empirical test on a built DSO.
22927         Detect, but do not require, on ia64.
22928         * configure: Regenerated.
22930         * configure.in (READELF): Find it with AC_CHECK_TOOL.
22931         Update tests that use readelf to use $READELF instead.
22932         * configure: Regenerated.
22934 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
22936         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22937         if the result is not used.
22939 2011-07-05  Andreas Jaeger  <aj@suse.de>
22941         [BZ#9696]
22942         * stdlib/tst-strtod.c: Add testcase.
22944 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
22946         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
22947         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
22948         The latter has a higher limit.  Take additional parameter to pass to
22949         the new function.
22950         (__pathconf): Pass file to __statfs_link_max.
22951         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22952         __statfs_link_max.
22953         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22954         __statfs_link_max.
22956         [BZ #12868]
22957         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22958         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22959         Handle Lustre.
22960         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22961         (__statfs_filesize_max): Likewise.
22962         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22964 2011-07-05  Andreas Jaeger  <aj@suse.de>
22966         * resolv/res_comp.c (dn_skipname): Remove unused variable.
22968 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
22970         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22971         `status' variable.
22972         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22973         Likewise.
22975 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
22977         * Makefile (strop-tests): Add strncat.
22978         * string/test-strncat.c: New file.
22980 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
22982         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22984 2011-06-21  Andreas Jaeger  <aj@suse.de>
22986         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22987         Copy rule from iconvdata/Makefile.
22989 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
22991         [BZ #12922]
22992         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22993         but no long options are defined, just return 'W'.
22995 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
22997         [BZ #9696]
22998         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23000 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23002         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23003         netgroups to read.
23004         (innetgr): Likewise.
23006 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23008         * config.make.in (install_root): Default to $(DESTDIR).
23010 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23012         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23014 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23016         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23018         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23019         containing directory rather than embedding absolute directory names.
23021         * scripts/check-local-headers.sh: Rewritten using awk.
23022         Match by word, not by line.  Print error messages for matches.
23023         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23025         * Makerules [shlib-lds-flags empty]:
23026         ($(common-objpfx)libc_pic.opts): New target.
23027         ($(common-objpfx)libc_pic.os.clean): New target.
23028         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23030         * config.make.in (OBJCOPY): New variable.
23031         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23032         * configure: Regenerated.
23034         * config.make.in (use-default-link): New variable.
23035         * configure.in (use_default_link): Grok --with-default-link to set it.
23036         * configure: Regenerated.
23037         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23038         (shlib-lds, shlib-lds-flags): Define to empty.
23040         * Makerules (shlib-lds): New variable.
23041         (shlib-lds-flags): New variable.
23042         (build-shlib, build-moduile, build-module-asneeded): Use it.
23043         ($(common-objpfx)libc.so): Use $(shlib-lds).
23044         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23045         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23047         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23048         DT_FLAGS/DT_FLAGS_1 with zero flags.
23050         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23051         linker script munging.
23053 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23055         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23056         as 128-bit value.
23057         * crypt/sha512.c (sha512_process_block): Perform total addition using
23058         128-bit if possible.
23059         (__sha512_finish_ctx): Likewise.
23060         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23061         as 64-bit value.
23062         * crypt/sha256.c (SWAP64): Define.
23063         (sha256_process_block): Perform total addition using 64-bit if
23064         possible.
23065         (__sha256_finish_ctx): Likewise.
23067 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23069         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23071         * nscd/hstcache.c (cache_addhst): Likewise.
23072         * nscd/grpcache.c (cache_addgr): Likewise.
23073         * nscd/aicache.c (addhstaiX): Likewise
23074         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23076 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23078         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23079         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23080         * nscd/hstcache.c (cache_addhst): Likewise.
23081         * nscd/grpcache.c (cache_addgr): Likewise.
23082         * nscd/aicache.c (addhstaiX): Likewise
23084 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23086         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23087         domain only when needed.
23089 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23092         is always restored.
23094 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23096         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23097         are re-adding the entry.
23098         * nscd/servicescache.c (cache_addserv): Likewise.
23100 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23102         * sysdeps/generic/dl-irel.h: fix protection against multiple
23103         inclusions.
23104         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23106 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23108         [BZ #12935]
23109         * malloc/memusage.sh: Fix quoting in message.
23110         * debug/xtrace.sh: Likewise.
23112         * configure.in: Remove support for --experimental-malloc option, make
23113         it the default.
23114         * config.make.in: Likewise.
23115         * malloc/Makefile: Likewise.
23117 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23119         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23120         two-byte characters.
23122 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23124         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23125         AC_CACHE_CHECK invocation.
23126         * configure: Regenerated.
23128         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23130 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23132         [BZ #12350]
23133         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23134         bit from old_res_options.
23136         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23138         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23139         value type for setfct.
23141 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23144         __gettimeofday instead of gettimeofday.
23146 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23148         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23150 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23152         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23154         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23155         info.
23157 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23160         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23161         strcpy-sse2-unaligned strncpy-sse2-unaligned
23162         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23163         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23164         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23165         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23166         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23167         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23168         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23169         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23170         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23171         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23172         (STRCPY): Support SSE2 and SSSE3 versions.
23174 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23176         [BZ #12874]
23177         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23178         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23179         kernels which artificially limit size of requests.
23181 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23184         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23185         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23186         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23187         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23188         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23189         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23190         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23191         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23192         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23193         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23194         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23195         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23196         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23197         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23199         Enable unaligned load optimization for Intel Core i3, i5 and i7
23200         processors.
23201         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23202         Define.
23203         (index_Fast_Unaligned_Load): Define.
23204         (HAS_FAST_UNALIGNED_LOAD): Define.
23206 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23208         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23210 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23212         [BZ #12907]
23213         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23214         until it is clear that the information is realy needed.
23215         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23217 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23221 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23224         /sys/devices/system/cpu/online if it is usable.
23226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23227         reading the information from the /proc filesystem to once a second.
23229 2011-06-21  Andreas Jaeger  <aj@suse.de>
23231         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23232         NULL after inclusion of kernel headers.
23234 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
23236         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23237         calls to internal_setent.
23239         [BZ #12885]
23240         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23241         addresses using gethostbyname4_r ignore IPv4 addresses.
23243         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23244         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
23246         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23248 2011-06-20  David S. Miller  <davem@davemloft.net>
23250         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23251         inclusions.
23252         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23254         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23255         (elf_irel): Use it.
23256         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23257         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23258         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23259         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23260         * sysdeps/x86_64/dl-irel.h: Likewise.
23262         * elf/dl-runtime.c: Use elf_ifunc_invoke.
23263         * elf/dl-sym.c: Likewise.
23265 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23267         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
23268         need to dereference resplen2.
23270 2011-06-14  Andreas Schwab  <schwab@redhat.com>
23272         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23274 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
23276         * Makeconfig: Define vardbdir and inst_vardbdir.
23277         * nss/Makefile: Add rules to install db-Makefile.
23279         * nss/nss_db/db-XXX.c: Cleanup.
23281         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23282         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23283         GLIBC_PRIVATE.
23284         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23285         * nss/makedb.c: Implement -g option to specify that value strings
23286         are generated and should not be added to table iterated over for
23287         get*ent calls.
23288         * nss/nss_db/db-initgroups.c: New file.
23290         * nss/getent.c: Add support for initgroups lookups through getgrouplist
23291         interface.
23293         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23294         (internal_getgrouplist): Adjust to name change.
23295         Update use_initgroups_entry if this is not the first call.
23296         * nss/databases.def: Add initgroups entry.
23298         * nss/makedb.c (compute_tables): Check result of multiple hash table
23299         sizes to minimize maximum chain length.
23301 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
23303         * Versions.def: Add entry for libnss_db.
23304         * shlib-versions: Likewise.
23305         * nss/Makefile: Add rules to build libnss_db.
23306         * nss/Versions: Add libnss_db information.  Organize libnss_files
23307         entries better.
23308         * nss/db-Makefile: Add gshadow support.  Change rules for the new
23309         makedb progra.  Some minor improvements to generate smaller files.
23310         * nss/nss_db/nss_db.h: Move NSS database header data structures to
23311         here from...
23312         * nss/makedb.c: ...here.
23313         Improve database format to be smaller and require less memory at
23314         runtime.
23315         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
23316         db anymore.
23317         * nss/nss_db/db-netgrp.c: Likewise.
23318         * nss/nss_db/db-open.c: Likewise.
23319         * nss/nss_files/flies-XXX.x: Adjust comments.
23320         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23321         * nss/nss_files/files-grp.c: Likewise.
23322         * nss/nss_files/files-hosts.c: Likewise.
23323         * nss/nss_files/files-network.c: Likewise.
23324         * nss/nss_files/files-proto.c: Likewise.
23325         * nss/nss_files/files-pwd.c: Likewise.
23326         * nss/nss_files/files-rpc.c: Likewise.
23327         * nss/nss_files/files-service.c: Likewise.
23328         * nss/nss_files/files-sgrp.c: Likewise.
23329         * nss/nss_files/files-spwd.c: Likewise.
23330         * nss/nss_db/db-alias.c: Removed.
23331         * nss/nss_db/dummy-db.h: Removed.
23333 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
23335         * nss/makedb.c: Rewritten to not use database library.
23336         * nss/Makefile: Update to build new makedb program.
23338 2011-06-14  Andreas Jaeger  <aj@suse.de>
23340         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23341         memset declaration.
23343 2011-06-10  Andreas Schwab  <schwab@redhat.com>
23345         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23346         tmpbuf.
23348 2011-06-10  Roland McGrath  <roland@hack.frob.com>
23350         * Makerules (shlib.lds): Fail if the linker script comes out empty.
23351         * elf/Makefile ($(objpfx)ld.so): Likewise.
23353         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23354         Don't list ld.so twice in dependencies.
23356         * posix/bug-regex31.c: Include <stdlib.h>.
23358         * nscd/hstcache.c (cache_addhst): Remove unused variable.
23360         * nis/nss_compat/compat-spwd.c
23361         (getspent_next_nss_netgr): Remove unused variable.
23362         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23364         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23365         nonmembers" output to use the right array.
23367         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23369         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23371         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23372         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23373         * catgets/gencat.c (read_input_file): Likewise.
23374         * locale/programs/locarchive.c (enlarge_archive): Likewise.
23376         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23377         variable definition inside #if's controlling its use.
23379         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23381         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23383         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23385         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23386         unreachable code.
23388         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23390         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23391         * configure: Regenerated.
23393         * Makerules: Revert last change.
23394         * elf/Makefile: Likewise.
23396 2011-06-09  Roland McGrath  <roland@hack.frob.com>
23398         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23399         * elf/Makefile ($(objpfx)librtld.os): Likewise.
23400         (reloc-link): Likewise.
23402 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
23404         * elf/Makefile: Add rules to build pldd.
23405         * elf/pldd.c: New file.
23406         * elf/pldd-xx.c: New file.
23408 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
23410         * version.h: Update for 2.15 development version.
23412 2011-06-07  David S. Miller  <davem@davemloft.net>
23414         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23415         ifuncs.
23416         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23417         elf_machine_lazy_rel): Likewise.
23418         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23419         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23420         elf_machine_lazy_rel): Likewise.
23421         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23422         dl_hwcap via passed in argument.
23423         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23424         Likewise.
23426 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23428         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
23430 2011-06-06  Roland McGrath  <roland@hack.frob.com>
23432         [BZ #12849]
23433         * manual/fdl-1.1.texi: New file, verbatim from:
23434         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23435         * manual/lgpl-2.1.texi: New file, verbatim from:
23436         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23437         * manual/Makefile (licenses): New variable, list those new file names.
23438         (texis): Use it.
23439         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23441         * manual/fdl.texi: File removed.
23442         * manual/lesser.texi: File removed.
23443         * manual/libc.texinfo (Copying, Documentation License):
23444         Use new @include file names, put @appendix directive before @include.
23446 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
23448         [BZ #12841]
23449         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
23450         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
23451         (mq_open): Add __NTH.
23453 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
23455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23456         Assume Intel Core i3/i5/i7 processor if AVX is available.
23458 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23460         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23461         typo.
23463 2011-05-31  Andreas Schwab  <schwab@redhat.com>
23465         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
23466         memory.  Use alloca_account.  Fix memory leak when retrying.
23468 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
23470         * version.h (RELEASE): Bump for 2.14 release.
23471         * include/features.h (__GLIBC_MINOR__): Bump to 14.
23473         * config.make.in (RANLIB): Remove entry.
23475 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
23477         * po/Makefile (po-sed-cmd): Add ksh to extensions.
23478         (libc.pot): Work around missing support for .ksh extension in xgettext.
23480         [BZ #12684]
23481         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
23482         if both request failed.
23483         (send_dg): In case of server errors clear resplen or *resplen2.
23485         [BZ #12454]
23486         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
23487         when there are multiple maps.
23488         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
23489         (_dl_fini): Remove test here.
23491         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
23493 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
23495         [BZ #12350]
23496         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
23497         bit from old_res_options.
23498         (gaih_inet): Likewise.
23500         [BZ #11099]
23501         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
23502         as signed.
23504         * resolv/res_init.c (res_setoptions): Make the code more compact.
23506         [BZ #11558]
23507         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
23508         set RES_USEVC.
23510         [BZ #11634]
23511         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
23513         * malloc/malloc.h: Mark malloc hook variables as deprecated.
23515         [BZ #11781]
23516         * malloc/malloc.h: Declare malloc hook variables as volatile.
23518         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
23519         in last patch.
23521         [BZ #11799]
23522         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
23523         raise in the comment.
23524         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23525         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23526         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
23528 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
23530         [BZ #12811]
23531         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
23532         grow the buffers more if it already has to be sufficient.
23533         (build_wcs_upper_buffer): Likewise.
23534         * posix/regexec.c (check_matching): Likewise.
23535         (clean_state_log_if_needed): Likewise.
23536         (extend_buffers): Don't enlarge buffers beyond size of the input
23537         buffer.
23538         Patches mostly by Emil Wojak <emil@wojak.eu>.
23539         * posix/bug-regex32.c: New file.
23540         * posix/Makefile (tests): Add bug-regex32.
23542         * locale/findlocale.c (_nl_find_locale): Return right away if
23543         _nl_explode_name failed.
23544         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
23546         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
23548         * debug/xtrace.sh: Unify messages.
23549         * malloc/memusage.sh: Likewise.
23551         [BZ #12813]
23552         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
23553         time symbol from vDSO.  Substitute with vsyscall if not available.
23554         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
23555         __vdso_time.
23557         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
23558         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
23559         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
23560         Add sendmmsg and internal_sendmmsg.
23561         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
23562         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
23563         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
23565         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
23566         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
23567         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
23569 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
23571         [BZ #12813]
23572         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
23573         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
23574         available.
23575         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
23576         __vdso_getcpu.
23578         [BZ #12814]
23579         * iconvdata/Makefile (tests): Add bug-iconv9.
23580         * iconvdata/bug-iconv9.c: New file.
23582 2011-05-27  Andreas Schwab  <schwab@redhat.com>
23584         [BZ #12814]
23585         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
23587 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
23589         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23590         (struct user_regs_struct): Change intcs field back to cs.
23592 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
23594         * po/ja.po: Update from translation team.
23596 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
23598         [BZ #12795]
23599         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
23600         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
23602 2011-05-20  Andreas Schwab  <schwab@redhat.com>
23604         * stdlib/longlong.h: Update from GCC.
23606 2011-05-23  Andreas Schwab  <schwab@redhat.com>
23608         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
23609         parameter name.
23610         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
23611         Add parameter name.
23612         (__sysconf): Pass it down.
23614 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
23616         [BZ #12671]
23617         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
23618         some situations.
23619         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23620         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
23621         add in in __libc_use_alloca calls.  Adjust callers.
23622         (glob): Use malloc in some situations.
23624         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
23625         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
23626         pltexit.
23628 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
23630         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
23631         and CLOCK_BOOTTIME_ALARM.
23633         [BZ #12782]
23634         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
23635         is returned.
23637         * string/_strerror.c (__strerror_r): Print negative errors as signed
23638         numbers.
23640         [BZ #12777]
23641         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
23642         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
23643         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23645         * configure.in: Fix typo in redirection and correct removal of test
23646         files in two cases.
23648         [BZ #12788]
23649         * locale/setlocale.c (new_composite_name): Fix test to check for
23650         identical name of all categories.
23652         [BZ #12792]
23653         * libio/filedoalloc.c (local_isatty): New function.
23654         (_IO_file_doallocate): Use local_isatty.
23655         * stdio-common/perror.c (perror): In case a new stream is used
23656         forward the stream error.
23657         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23658         error flag.
23660 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
23662         [BZ #11869]
23663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23664         alloca.
23665         * include/alloca.h (extend_alloca_account): Define.
23667         [BZ #11857]
23668         * posix/regex.h: Fix comments with documentation of user-accessible
23669         fields after compilation and describe correct free'ing of pattern
23670         after re_compile_pattern.
23671         Patch by Reuben Thomas <rrt@sc3d.org>.
23673 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
23675         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23676         and -mno-altivec to prevent the compiler from using Altivec and/or
23677         VSX instructions when the corresponding registers are not available.
23679 2011-05-19  Andreas Schwab  <schwab@redhat.com>
23681         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23683 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
23685         * libio/freopen.c (freopen): Use __dup2, not dup2.
23686         * libio/freopen64.c (freopen64): Likewise.
23688 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23690         [BZ #12775]
23691         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23692         * math/Makefile (tests): Add test-powl.
23693         (CFLAGS-test-powl.c): Define.
23694         * math/test-powl.c: New file.
23696 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23698         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23700 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
23702         [BZ #11837]
23703         * iconvdata/gb18030.c: Update to GB18020-2005.
23705 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
23707         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23708         RE_SYNTAX_POSIX_AWK): Update to match recent development.
23709         Patch by Aharon Robbins <arnold@skeeve.com>.
23711         [BZ #11892]
23712         * stdlib/putenv.c (putenv): Don't always create copy of the variable
23713         on the stack.
23715         [BZ #11895]
23716         * misc/pselect.c (__pselect): Handle timeout value errors hidden
23717         through underflows.
23719         [BZ #12766]
23720         * misc/error.c (error_at_line): Ensure file_name and old_file_name
23721         point to strings before performing equality test for error_one_per_line
23722         mode.
23724         [BZ #11697]
23725         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23727         [BZ #11820]
23728         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23729         (struct user_fpregs_struct): Avoid __uint*_t types.
23731         [BZ #6420]
23732         * malloc/mtrace.c (tr_where): Add additional parameter to point to
23733         symbol info.  Use it instead of calling _dl_addr locally.
23734         (lock_and_info): New function.
23735         (tr_freehook): Call lock_and_info and pass symbol info as additional
23736         parameter to tr_where.
23737         (tr_mallochook): Likewise.
23738         (tr_reallochook): Likewise.
23739         (tr_memalignhook): Likewise.
23741         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
23742         used and couldn't be at all thread-safe.
23744 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
23746         * libio/freopen.c (freopen): Don't close old file descriptor
23747         before the new one is opened.  Instead dup the new file descriptor
23748         to the old one after the new stream is created.
23749         * libio/freopen64.c (freopen64): Likewise.
23750         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23751         * libio/fileops.c (_IO_new_file_close_it): Handle new
23752         _IO_FLAGS2_NOCLOSE flag.
23753         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23754         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23755         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23756         _IO_FLAGS2_NOCLOSE flag.
23757         * include/unistd.h: Add hidden_proto for dup3.
23758         Define __have_dup3.
23759         * io/dup3.c: Define hidden symbol.
23760         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23762         [BZ #7101]
23763         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23764         when an incomplete long option is used.
23765         * posix/tst-getopt_long1.c: New file.
23766         * posix/Makefile (tests): Add tst-getopt_long1.
23768         [BZ #10138]
23769         * scripts/config.guess: Update from autoconf-2.68.
23770         * scripts/config.sub: Likewise.
23772         [BZ #10157]
23773         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23774         tests into ...
23775         (has_cpuclock): ...this.  New function.
23776         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23777         macro here based on has_cpuclock code.
23779         [BZ #10149]
23780         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23781         First byte (not low byte) is now always NUL.
23782         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23784         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23785         Use non-cancelable interfaces.
23787         [BZ #9809]
23788         * locale/iso-639.def: Add entry for Sorani.
23790         [BZ #11901]
23791         * include/stdlib.h: Move include protection to the right place.
23792         Define abort_msg_s.  Declare __abort_msg with it.
23793         * stdlib/abort.c (__abort_msg): Adjust type.
23794         * assert/assert.c (__assert_fail_base): New function.  Majority
23795         of code from __assert_fail.  Allocate memory for __abort_msg with
23796         mmap.
23797         (__assert_fail): Now call __assert_fail_base.
23798         * assert/assert-perr.c: Remove bulk of implementation.  Use
23799         __assert_fail_base.
23800         * include/assert.hL Declare __assert_fail_base.
23801         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23802         mmap.
23803         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23805 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
23807         [BZ #11952]
23808         [BZ #12453]
23809         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23810         until all modules are registered in the DTV.
23811         * elf/Makefile: Add rules to build and run tst-tls19.
23812         * elf/tst-tls19.c: New file.
23813         * elf/tst-tls19mod1.c: New file.
23814         * elf/tst-tls19mod2.c: New file.
23815         * elf/tst-tls19mod3.c: New file.
23816         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23818         [BZ #12083]
23819         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23820         correctly.
23822         [BZ #12601]
23823         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23824         two-byte sequence errors.
23825         * iconvdata/Makefile (tests): Add bug-iconv8.
23826         * iconvdata/bug-iconv8.c: New file.
23828         [BZ #12626]
23829         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23830         buf2 definition.
23832         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23834         [BZ #12432]
23835         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23836         (dummy_getcfa): New function.
23837         (init): Get _Unwind_GetCFA address, use dummy if not found.
23838         (backtrace_helper): In recursion check, also check whether CFA changes.
23839         (__backtrace): Completely initialize arg.
23841         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
23842         storing incomplete byte sequence in state object.  Avoid testing for
23843         guaranteed too small input if we know there is enough data available.
23845 2011-05-11  Andreas Schwab  <schwab@redhat.com>
23847         * Makeconfig (+link-pie): Indent.
23848         * Rules (binaries-pie): Define if $(have-fpie) and
23849         $(build-shared).
23850         (binaries-shared): Also filter out $(binaries-pie).
23851         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23852         * nscd/Makefile (others-pie): Add nscd.
23853         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23854         ($(objpfx)nscd): Remove command override.
23855         * login/Makefile (others-pie): Add pt_chown.
23856         ($(objpfx)pt_chown): Remove command override.
23857         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23858         remove command overrides.
23860 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
23862         * libio/tst_putwc.c: Fix error messages.
23864         [BZ #12724]
23865         * libio/fileops.c (_IO_new_file_close_it): Always flush when
23866         currently writing and seek to current position when not.
23867         * libio/Makefile (tests): Add bug-fclose1.
23868         * libio/bug-fclose1.c: New file.
23870 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
23872         [BZ #12511]
23873         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23874         don't set DF_1_NODELETE here.
23875         (do_lookup_x): When entering new entry test for copy relocation
23876         and if necessary set DF_1_NODELETE flag.
23877         * elf/tst-unique4.cc: New file.
23878         * elf/tst-unique4.h: New file.
23879         * elf/tst-unique4lib.cc: New file.
23880         * elf/Makefile: Add rules to build and run tst-unique4.
23881         Patch by Piotr Bury <pbury@goahead.com>.
23883 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
23885         [BZ #12052]
23886         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23888         [BZ #12625]
23889         * misc/mntent_r.c (addmntent): Flush the stream after the output
23891         [BZ #12393]
23892         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23893         (is_trusted_path_normalize): Skip initial colon.  Append slash
23894         to empty buffer.  Duplicate is_trusted_path code but allow
23895         constructed patch to be prefix.
23896         (is_dst): Allow $ORIGIN followed by /.
23897         (_dl_dst_substitute): Correct clearing of check_for_trusted.
23898         Correct testing of result of is_trusted_path_normalize
23899         (decompose_rpath): Fix warning.
23901 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
23903         [BZ #11257]
23904         * grp/initgroups.c (internal_getgrouplist): When we found the service
23905         list through the initgroups entry in nsswitch.conf do not always
23906         continue on a successful lookup.  Don't always use the
23907         __nss_group_database value if it is set.
23908         * nss/nsswitch.conf (initgroups): Change action for successful db
23909         lookup to continue for compatibility.
23911 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
23913         [BZ #11532]
23914         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23915         and CP774 modules.
23916         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23917         and CP774 modules.
23918         * iconvdata/tst-tables.sh: Likewise.
23919         * iconvdata/cp770.c: New file.
23920         * iconvdata/cp771.c: New file.
23921         * iconvdata/cp772.c: New file.
23922         * iconvdata/cp773.c: New file.
23923         * iconvdata/cp774.c: New file.
23924         * iconvdata/testdata/CP770: New file.
23925         * iconvdata/testdata/CP770..UTF8: New file.
23926         * iconvdata/testdata/CP771: New file.
23927         * iconvdata/testdata/CP771..UTF8: New file.
23928         * iconvdata/testdata/CP772: New file.
23929         * iconvdata/testdata/CP772..UTF8: New file.
23930         * iconvdata/testdata/CP773: New file.
23931         * iconvdata/testdata/CP773..UTF8: New file.
23932         * iconvdata/testdata/CP774: New file.
23933         * iconvdata/testdata/CP774..UTF8: New file.
23935         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23936         END CHARMAP line.
23937         * iconvdata/gen-8bit-gap.sh: Likewise.
23938         * iconvdata/gen-8bit.sh: Likewise.
23940         * locale/iso-639.def: Add ary entry.
23942         [BZ #11258]
23943         * locale/C-translit.h.in: Add U20A1 transliteration.
23945         [BZ #12178]
23946         * locale/iso-639.def: Add wae entry.
23947         Patch by Kevin Bortis <bortis@translate-wae.ch>.
23949         [BZ #12545]
23950         * locale/programs/localedef.c (construct_output_path): Use ssize_t
23951         for n.
23953         [BZ #12711]
23954         * locale/C-translit.h.in: Add entry for U20B9.
23955         Patch by pravin.d.s@gmail.com.
23957 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
23959         [BZ #12713]
23960         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23961         ENAMETOOLONG use generic getcwd.
23962         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
23963         in rtld.  Use *stat64.
23964         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
23965         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
23966         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
23967         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23968         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23969         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23970         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23971         __fstatat64 macros.
23972         * include/dirent.h: Add libc_hidden_proto for rewinddir.
23973         * dirent/rewinddir.c: Add libc_hidden_def.
23974         * sysdeps/mach/hurd/rewinddir.c: Likewise.
23975         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
23977         * include/dirent.h (__alloc_dir): Add flags parameter.
23978         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23979         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23980         __alloc_dir.
23981         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
23982         from fdopendir if O_CLOEXEC is already set.
23984 2011-03-15  Alan Modra  <amodra@gmail.com>
23986         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23987         l_tls_firstbyte_offset non-zero.  Save padding offset in
23988         l_tls_firstbyte_offset for later use.
23989         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23990         freeing static tls block.
23992 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
23994         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23995         where #ifdef was intended.  The intent is to prevent ARG_MAX from
23996         being defined by the kernel headers.
23998 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24000         [BZ #12734]
24001         * resolv/resolv.h: Define RES_NOTLDQUERY.
24002         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24003         no-tld-query and set RES_NOTLDQUERY.
24004         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24005         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24006         modern BIND to search name as TLD unless forbidden.
24008 2011-05-07  Petr Baudis  <pasky@suse.cz>
24009             Ulrich Drepper  <drepper@gmail.com>
24011         [BZ #12393]
24012         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24013         (is_trusted_path): ...to here.
24014         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24015         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24016         using is_trusted_path_normalize() in setuid scripts.
24018 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24020         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24021         __BEGIN/__END_DECLS.
24023 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24025         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24026         NSS_STATUS_NOTFOUND if no record was found.
24028 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24030         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24031         (headers-not-in-tirpc): Remove rpc/netdb.h
24032         * resolv/netdb.h: Revert last change.
24034 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24036         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24037         circular dependency between libgcc.a and libc.a.
24039 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24041         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24042         * nis/Makefile: Don't install rpcsvc/*.
24043         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24044         instead of <rpc/types.h>.
24045         (MAXHOSTNAMELEN): Define.
24047 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24049         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24051 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24053         [BZ #12714]
24054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24055         gethostbyname4_r when IPv6 results are possible.
24057 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24059         [BZ #12723]
24060         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24061         _PC_PIPE_BUF handling.
24063 2011-04-30  Bruno Haible  <bruno@clisp.org>
24065         [BZ #12717]
24066         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24067         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24068         to 'int'.
24069         * inet/getnameinfo.c (getnameinfo): Likewise.
24071 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24073         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24074         to groups setting in database lookup.
24075         * nss/nsswitch.conf: Add initgroups entry.
24077 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24079         [BZ #12685]
24080         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24081         mode string.
24082         Patch by Eric Blake <eblake@redhat.com>.
24084 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24086         * sunrpc/Makefile (need-export-routines): Add svc_run.
24087         (routines): Remove svc_run.
24088         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24089         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24090         * sunrpc/svc_run.c (svc_run): Likewise.
24091         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24093 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24095         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24096         problem in reallocation in last patch.
24098 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24100         * sunrpc/Makefile: Move inclusion of Rules.
24102 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24104         * nss/nss_files/files-initgroups.c: New file.
24105         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24106         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24107         _nss_files_initgroups_dyn.
24109 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24111         * elf/elf.h (R_ARM_IRELATIVE): Define.
24113 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24115         * po/ru.po: Update from translation team.
24117 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24119         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24120         dependencies.
24122 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24124         [BZ #12653]
24125         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24126         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24127         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24129         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24131 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24133         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24134         differing bytes.
24135         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24136         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24139 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24141         [BZ #12420]
24142         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24143         storing it.
24144         * stdlib/bug-getcontext.c: New file.
24145         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24147 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24149         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24150         instructions into .machine "z9-109".
24151         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24152         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24154 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24156         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24157         between environment variables and auxiliary vector.
24159 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24161         * Makefile: Add rules to build linkobj/libc.so.
24162         * include/libc-symbols.h: Define libc_hidden_nolink.
24163         * include/rpc/auth.h: Mark functions which are to be hidden.
24164         * include/rpc/auth_des.h: Likewise.
24165         * include/rpc/auth_unix.h: Likewise.
24166         * include/rpc/clnt.h: Likewise.
24167         * include/rpc/des_crypt.h: Likewise.
24168         * include/rpc/key_prot.h: Likewise.
24169         * include/rpc/pmap_clnt.h: Likewise.
24170         * include/rpc/pmap_prot.h: Likewise.
24171         * include/rpc/pmap_rmt.h: Likewise.
24172         * include/rpc/rpc_msg.h: Likewise.
24173         * include/rpc/svc.h: Likewise.
24174         * include/rpc/svc_auth.h: Likewise.
24175         * include/rpc/xdr.h: Likewise.
24176         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24177         * nss/Makefile: Likewise.
24178         * sunrpc/Makefile: Don't install headers.  Build library with normal
24179         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24180         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24181         for the compat linking library.  Remove use of INTDEF/INTUSE.
24182         * sunrpc/auth_none.c: Likewise.
24183         * sunrpc/auth_unix.c: Likewise.
24184         * sunrpc/authdes_prot.c: Likewise.
24185         * sunrpc/authuxprot.c: Likewise.
24186         * sunrpc/clnt_gen.c: Likewise.
24187         * sunrpc/clnt_perr.c: Likewise.
24188         * sunrpc/clnt_raw.c: Likewise.
24189         * sunrpc/clnt_simp.c: Likewise.
24190         * sunrpc/clnt_tcp.c: Likewise.
24191         * sunrpc/clnt_udp.c: Likewise.
24192         * sunrpc/clnt_unix.c: Likewise.
24193         * sunrpc/des_crypt.c: Likewise.
24194         * sunrpc/des_soft.c: Likewise.
24195         * sunrpc/get_myaddr.c: Likewise.
24196         * sunrpc/key_call.c: Likewise.
24197         * sunrpc/key_prot.c: Likewise.
24198         * sunrpc/netname.c: Likewise.
24199         * sunrpc/pm_getmaps.c: Likewise.
24200         * sunrpc/pm_getport.c: Likewise.
24201         * sunrpc/pmap_clnt.c: Likewise.
24202         * sunrpc/pmap_prot.c: Likewise.
24203         * sunrpc/pmap_prot2.c: Likewise.
24204         * sunrpc/pmap_rmt.c: Likewise.
24205         * sunrpc/publickey.c: Likewise.
24206         * sunrpc/rpc_cmsg.c: Likewise.
24207         * sunrpc/rpc_common.c: Likewise.
24208         * sunrpc/rpc_dtable.c: Likewise.
24209         * sunrpc/rpc_prot.c: Likewise.
24210         * sunrpc/rpc_thread.c: Likewise.
24211         * sunrpc/rtime.c: Likewise.
24212         * sunrpc/svc.c: Likewise.
24213         * sunrpc/svc_auth.c: Likewise.
24214         * sunrpc/svc_authux.c: Likewise.
24215         * sunrpc/svc_raw.c: Likewise.
24216         * sunrpc/svc_run.c: Likewise.
24217         * sunrpc/svc_simple.c: Likewise.
24218         * sunrpc/svc_tcp.c: Likewise.
24219         * sunrpc/svc_udp.c: Likewise.
24220         * sunrpc/svc_unix.c: Likewise.
24221         * sunrpc/svcauth_des.c: Likewise.
24222         * sunrpc/xcrypt.c: Likewise.
24223         * sunrpc/xdr.c: Likewise.
24224         * sunrpc/xdr_array.c: Likewise.
24225         * sunrpc/xdr_float.c: Likewise.
24226         * sunrpc/xdr_intXX_t.c: Likewise.
24227         * sunrpc/xdr_mem.c: Likewise.
24228         * sunrpc/xdr_rec.c: Likewise.
24229         * sunrpc/xdr_ref.c: Likewise.
24230         * sunrpc/xdr_sizeof.c: Likewise.
24231         * sunrpc/xdr_stdio.c: Likewise.
24233 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
24235         [BZ #12650]
24236         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24237         * sysdeps/ia64/dl-tls.h: Likewise.
24238         * sysdeps/powerpc/dl-tls.h: Likewise.
24239         * sysdeps/s390/dl-tls.h: Likewise.
24240         * sysdeps/sh/dl-tls.h: Likewise.
24241         * sysdeps/sparc/dl-tls.h: Likewise.
24242         * sysdeps/x86_64/dl-tls.h: Likewise.
24243         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24245 2011-03-14  Andreas Schwab  <schwab@redhat.com>
24247         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24248         rpath element also skip the following colon.
24249         (expand_dynamic_string_token): Add is_path parameter and pass
24250         down to DL_DST_REQUIRED and _dl_dst_substitute.
24251         (decompose_rpath): Call expand_dynamic_string_token with
24252         non-zero is_path.  Ignore empty rpaths.
24253         (_dl_map_object_from_fd): Call expand_dynamic_string_token
24254         with zero is_path.
24256 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
24258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24259         Make cancelable.
24261 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
24263         [BZ #12655]
24264         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24265         Patch by Filipe David Manana <fdmanana@apache.org>.
24267 2011-04-07  Andreas Schwab  <schwab@redhat.com>
24269         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24270         Maintain aligned stack.
24271         (CHECK_RSP): Remove unused macro.
24273 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
24275         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24276         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24278 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
24280         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24282         * include/features.h: Mention __USE_XOPEN2K8 in comment.
24284 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
24286         [BZ #12518]
24287         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24288         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24289         * sysdeps/x86_64/memmove.c: New file.
24290         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24291         (memcpy): Renamed to ...
24292         (__new_memcpy): This.
24293         (memcpy): Provide GLIBC_2_14 memcpy.
24294         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24295         (memcpy): Provide GLIBC_2_2_5 memcpy.
24297 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24299         [BZ #12631]
24300         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24302 2011-03-30  Andreas Schwab  <schwab@redhat.com>
24304         * misc/syncfs.c: New file.
24305         * misc/Makefile (routines): Add syncfs.
24306         * posix/unistd.h: Declare syncfs.
24307         * sysdeps/unix/syscalls.list: Add syncfs.
24309 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24311         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24312         open_by_handle_at.
24313         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24316         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24318         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24319         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24321 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24325         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24326         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24327         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24328         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24329         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24331         * io/Makefile: Compile fallocate.c, fallocate64.c, and
24332         sync_file_range.c with -fexceptions.
24333         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24334         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24335         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24336         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24337         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24338         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24339         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
24340         sync_file_range as cancellation point
24341         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
24342         now a wrapper around __call_sync_file_range with cancellation handling.
24343         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24344         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
24345         function name to __call_sync_file_range.
24346         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24347         Add call_sync_file_range.
24349 2011-04-01  Andreas Schwab  <schwab@redhat.com>
24351         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24352         bits/timex.h.
24354 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
24356         * iconv/iconv.h: Fix typo in comment.
24357         * io/fcntl.h: Likewise.
24358         * libio/stdio.h: Likewise.
24359         * posix/spawn.h: Likewise.
24360         * posix/unistd.h: Likewise.
24361         * stdlib/stdlib.h: Likewise.
24362         * time/time.h: Likewise.
24363         * wcsmbs/wchar.h: Likewise.
24365         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24366         open_by_handle): Add.
24367         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24368         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
24369         Augment a few comments.
24370         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24372         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24374         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24375         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24376         open_by_handle.
24378         * io/fcntl.h (AT_EMPTY_PATH): Define.
24380 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
24382         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24383         * sysdeps/unix/sysv/linux/bits/time.h: New file.
24384         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24385         to...
24386         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
24387         * Versions.def: Add GLIBC_2.14.
24388         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24389         Export.
24391 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
24393         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24394         round counter.
24395         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24397 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24399         [BZ #12597]
24400         * string/test-strncmp.c (do_page_test): New function.
24401         (check2): Likewise.
24402         (test_main): Call check2.
24403         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24405 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
24407         [BZ #12587]
24408         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24409         Handle cache information in CPU leaf 4.
24410         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24412 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
24414         [BZ #12583]
24415         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24416         character representation.
24417         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24419 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
24421         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24422         END(__isnan) to END(__isnanf) to match function entry point/label
24423         EALIGN(__isnanf,...).
24425 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
24427         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24429 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
24431         [BZ #12510]
24432         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24433         copy from the symbol referenced in the relocation to initialize the
24434         used variable.
24435         Patch by Piotr Bury <pbury@goahead.com>.
24436         * elf/Makefile: Add rules to build and tst-unique3.
24437         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24438         * elf/tst-unique3.cc: New file.
24439         * elf/tst-unique3.h: New file.
24440         * elf/tst-unique3lib.cc: New file.
24441         * elf/tst-unique3lib2.cc: New file.
24443         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24445 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
24447         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24448         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
24449         to _start.
24451 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
24453         * elf/dl-load.c (_dl_map_object): If we are looking for the first
24454         to-be-loaded object along a path to loader is ld.so.
24456 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24457             Ulrich Drepper  <drepper@gmail.com>
24459         * sysdeps/x86_64/memset.S: After aligning destination, code
24460         branches to different locations depending on the value of
24461         misalignment, when multiarch is enabled. Fix this.
24463 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
24465         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
24466         Set _x86_64_preferred_memory_instruction for AMD processsors.
24467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24468         Set bit_Prefer_SSE_for_memop for AMD processors.
24470 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
24472         * libio/fmemopen.c (fmemopen): Optimize a bit.
24474 2011-03-03  Andreas Schwab  <schwab@redhat.com>
24476         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
24478 2011-03-03  Roland McGrath  <roland@redhat.com>
24480         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
24482 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
24484         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
24485         __bzero_ultra1 instead of __memset_ultra1.
24487 2011-02-23  Andreas Schwab  <schwab@redhat.com>
24488             Ulrich Drepper  <drepper@gmail.com>
24490         [BZ #12509]
24491         * include/link.h (struct link_map): Add l_orig_initfini.
24492         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
24493         returning unsuccessfully.
24494         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
24495         close of a file loaded at startup, restore the original l_initfini
24496         list.
24497         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
24498         list, store the pointer.
24499         * elf/Makefile ($(objpfx)noload-mem): New rule.
24500         (noload-ENV): Define.
24501         (tests): Add $(objpfx)noload-mem.
24502         * elf/noload.c: Include <memcheck.h>.
24503         (main): Call mtrace.  Close all opened handles.
24505 2011-02-17  Andreas Schwab  <schwab@redhat.com>
24507         [BZ #12454]
24508         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
24509         dependencies are missing.
24511 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24513         Fix __if_freereq crash: Unlike the generic version which uses free,
24514         Hurd needs munmap.
24515         * sysdeps/mach/hurd/ifreq.h: New file.
24517 2011-01-27  Petr Baudis  <pasky@suse.cz>
24518             Ulrich Drepper  <drepper@gmail.com>
24520         [BZ 12445]#
24521         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
24522         to extend_alloca().
24523         * stdio-common/bug23.c: New file.
24524         * stdio-common/Makefile (tests): Add bug23.
24526 2010-09-28  Andreas Schwab  <schwab@redhat.com>
24527             Ulrich Drepper  <drepper@gmail.com>
24529         [BZ #12489]
24530         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
24531         before performing relro protection.  At old place add assertion
24532         to make sure nothing changed.
24534 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
24535             Glauber de Oliveira Costa  <glommer@gmail.com>
24537         * elf/elf.h: Add new ARM TLS relocs.
24539 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24542         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
24543         cast from r3.
24544         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
24545         'tests' variable.
24546         * sysdeps/wordsize-64/tst-writev.c: New file.
24548 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
24550         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
24551         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
24552         insns in _dl_start to prevent a TOC reference before relocs are
24553         resolved.
24555 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
24557         [BZ #12469]
24558         * Makeconfig: Remove RANLIB definition.
24559         * Makerules: Don't use RANLIB.
24560         * aclocal.m4: Remove ranlib test.
24561         * configure.in: No need to check for ranlib.
24562         * elf/rtld-Rules: Don't use RANLIB.
24564 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24566         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
24567         protection macro.
24568         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
24569         inclusion protection macro.
24571         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
24572         SIGRTMIN and SIGRTMAX and print information in that case only when
24573         SIGRTMIN is defined.
24575 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
24577         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
24578         arginfo fn returning -1.
24580         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
24581         and thousands string is zero terminated.
24583 2011-02-03  Andreas Schwab  <schwab@redhat.com>
24585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
24586         sysdeps/unix/sysv/linux/bits/socket.h.
24588 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24590         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
24591         (__CPU_COUNT): Remove old macros.
24592         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
24593         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
24594         (__CPU_ALLOC, __CPU_FREE): Add macros.
24595         (__sched_cpualloc, __sched_cpufree): Add declarations.
24597 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
24599         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
24600         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
24601         * nscd/aicache.c (addhstaiX): Return timeout of added value.
24602         (readdhstai): Return value of addhstaiX call.
24603         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
24604         (addgrbyX): Return value returned by cache_addgr.
24605         (readdgrbyname): Return value returned by addgrbyX.
24606         (readdgrbygid): Likewise.
24607         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
24608         (addpwbyX): Return value returned by cache_addpw.
24609         (readdpwbyname): Return value returned by addhstbyX.
24610         (readdpwbyuid): Likewise.
24611         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
24612         (addservbyX): Return value returned by cache_addserv.
24613         (readdservbyname): Return value returned by addservbyX:
24614         (readdservbyport): Likewise.
24615         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
24616         (addhstbyX): Return value returned by cache_addhst.
24617         (readdhstbyname): Return value returned by addhstbyX.
24618         (readdhstbyaddr): Likewise.
24619         (readdhstbynamev6): Likewise.
24620         (readdhstbyaddrv6): Likewise.
24621         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
24622         (readdinitgroups): Return value returned by addinitgroupsX.
24623         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
24624         (prune_cache): Keep track of timeout value of re-added entries.
24625         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
24626         * nscd/nscd.h: Adjust prototypes of readd* functions.
24628 2011-02-04  Roland McGrath  <roland@redhat.com>
24630         * nis/nis_server.c (nis_servstate): Use the right name for 0.
24631         (nis_stats): Likewise.
24632         * nis/nis_modify.c (nis_modify): Likewise.
24633         * nis/nis_remove.c (nis_remove): Likewise.
24634         * nis/nis_add.c (nis_add): Likewise.
24636         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
24638         * posix/fnmatch_loop.c: Add some consts.
24640         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
24642 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
24644         [BZ #12460]
24645         * config.make.in (config-cflags-novzeroupper): Define.
24646         * configure.in: Substitute libc_cv_cc_novzeroupper.
24647         * elf/Makefile (AVX-CFLAGS): Define.
24648         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24649         (CFLAGS-tst-auditmod4a.c): Likewise.
24650         (CFLAGS-tst-auditmod4b.c): Likewise.
24651         (CFLAGS-tst-auditmod6b.c): Likewise.
24652         (CFLAGS-tst-auditmod6c.c): Likewise.
24653         (CFLAGS-tst-auditmod7b.c): Likewise.
24654         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24656 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
24658         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24659         function to the callback.
24660         Patch partly by Jiri Olsa <jolsa@redhat.com>.
24662 2011-02-02  Andreas Schwab  <schwab@redhat.com>
24664         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24665         of errno.
24667 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
24669         [BZ #11724]
24670         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24671         of constructors.
24672         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24673         of destructors.
24674         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24676         [BZ #11724]
24677         * elf/Makefile: Add rules to build and run new test.
24678         * elf/tst-initorder.c: New file.
24679         * elf/tst-initorder.exp: New file.
24680         * elf/tst-initordera1.c: New file.
24681         * elf/tst-initordera2.c: New file.
24682         * elf/tst-initordera3.c: New file.
24683         * elf/tst-initordera4.c: New file.
24684         * elf/tst-initorderb1.c: New file.
24685         * elf/tst-initorderb2.c: New file.
24686         * elf/tst-order-a1.c: New file.
24687         * elf/tst-order-a2.c: New file.
24688         * elf/tst-order-a3.c: New file.
24689         * elf/tst-order-a4.c: New file.
24690         * elf/tst-order-b1.c: New file.
24691         * elf/tst-order-b2.c: New file.
24692         * elf/tst-order-main.c: New file.
24693         New test case by George Gensure <werkt0@gmail.com>.
24695 2010-10-01  Andreas Schwab  <schwab@redhat.com>
24697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24698         decoding ACE if AI_CANONIDN.
24700 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
24702         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24704 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
24706         * version.h (RELEASE): Bump for 2.13 release.
24707         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24709         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24711         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24712         MADV_NOHUGEPAGE.
24713         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24714         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24715         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24716         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24717         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24718         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24720         * posix/getconf.c: Update copyright year.
24721         * catgets/gencat.c: Likewise.
24722         * csu/version.c: Likewise.
24723         * debug/catchsegv.sh: Likewise.
24724         * debug/xtrace.sh: Likewise.
24725         * elf/ldconfig.c: Likewise.
24726         * elf/ldd.bash.in: Likewise.
24727         * elf/sprof.c (print_version): Likewise.
24728         * iconv/iconv_prog.c: Likewise.
24729         * iconv/iconvconfig.c: Likewise.
24730         * locale/programs/locale.c: Likewise.
24731         * locale/programs/localedef.c: Likewise.
24732         * malloc/memusage.sh: Likewise.
24733         * malloc/mtrace.pl: Likewise.
24734         * nscd/nscd.c (print_version): Likewise.
24735         * nss/getent.c: Likewise.
24737         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24738         PF_CAIF, and PF_ALG.
24739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24741 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
24743         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24744         (modules-names): Use them.
24745         (ifunc-test-modules, ifunc-pie-tests): Define.
24746         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24747         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24748         (test-extras): Likewise.
24749         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24750         $(compile-command.c).
24751         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24752         (all-built-dso): Define.
24753         (check-textrel.out, check-execstack.out): Depend on it.
24755         * configure.in: Don't override --enable-multi-arch.
24757 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
24759         [BZ #6812]
24760         * nscd/hstcache.c (tryagain): Define.
24761         (cache_addhst): Return tryagain not notfound for temporary errors.
24762         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24763         failed.
24765 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
24767         [BZ #10563]
24768         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24769         to make the syscall.
24770         * sysdeps/unix/sysv/linux/setgroups.c: New file.
24772         [BZ #12378]
24773         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24774         and fall back to matching as normal character if the string ends before
24775         the matching ']' is found.  This is what POSIX requires.
24776         * posix/testfnm.c: Adjust test result.
24777         * posix/globtest.sh: Adjust test result.  Add new test.
24778         * posix/tst-fnmatch.input: Likewise.
24779         * posix/tst-fnmatch2.c: Add new test.
24781 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
24783         * elf/Makefile (check-execstack): Revert last change.  Depend on
24784         check-execstack.h.
24785         (check-execstack.h): New target.
24786         (generated): Add check-execstack.h.
24787         * elf/check-execstack.c: Include "check-execstack.h".
24788         (main): Revert last change.
24789         (handle_file): Return zero if GNU_STACK is absent and
24790         DEFAULT_STACK_PERMS doesn't include PF_X.
24792 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
24794         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24795         in child fails because the descriptor is already closed.
24796         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24797         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24798         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
24800         [BZ #12397]
24801         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24802         syscall.
24804         [BZ #10484]
24805         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24806         temporary buffer used to handle multi lookups locally.
24807         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
24809 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24811         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24812         loader is ld.so.
24814 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
24816         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24817         alignment for SSE2.
24819 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
24821         [BZ #12394]
24822         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24823         characters.  When rounding increased number of integer digits recompute
24824         number of groups.
24825         * stdio-common/tst-grouping.c: New file.
24826         * stdio-common/Makefile: Add rules to build and run tst-grouping.
24828 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
24830         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24831         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
24833         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24834         void.
24835         * bits/select.h: Likewise.
24837 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
24839         * po/ja.po: Update from translation team.
24841 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
24843         [BZ #11155]
24844         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24845         implementation just like for lxstat, fxstatat, et al.
24847 2010-12-27  Jim Meyering  <meyering@redhat.com>
24849         [BZ #12348]
24850         * posix/regexec.c (build_trtable): Return failure indication upon
24851         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
24853 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
24855         [BZ #12201]
24856         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24857         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24858         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24859         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24861         [BZ #12207]
24862         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24864         [BZ #12204]
24865         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24866         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24868 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24870         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24871         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24872         script has SORT_BY_INIT_PRIORITY.
24873         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24874         NO_CTORS_DTORS_SECTIONS is defined.
24875         * elf/soinit.c: Likewise.
24876         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24877         NO_CTORS_DTORS_SECTIONS is defined.
24878         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24879         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24880         * sysdeps/sh/init-first.c: Likewise.
24881         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24883 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
24885         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24886         always use the slow path.
24888 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
24890         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24891         similar rule which adds the sysdep directories to the header search in
24892         order to pick up the correct platform stackinfo.h.
24893         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24894         perform test if it is, otherwise return successfully without testing.
24895         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24896         DEFAULT_STACK_PERMS define in stackinfo.h.
24897         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24898         defined in stackinfo.h.
24899         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24900         DEFAULT_STACK_PERMS defined in stackinfo.h.
24901         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24902         * sysdeps/ia64/stackinfo.h: Likewise.
24903         * sysdeps/s390/stackinfo.h: Likewise.
24904         * sysdeps/sh/stackinfo.h: Likewise.
24905         * sysdeps/sparc/stackinfo.h: Likewise.
24906         * sysdeps/x86_64/stackinfo.h: Likewise.
24907         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24908         PF_X for powerpc64.  Retain PF_X for powerpc32.
24910 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
24912         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24913         accurately.
24914         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24915         GETDENTS_64BIT_ALIGNED.
24917 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
24919         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
24921 2010-12-10  Andreas Schwab  <schwab@redhat.com>
24923         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24924         _GNU_SOURCE.
24926         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24927         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24928         Remove __restrict.
24929         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24930         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24932 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
24934         [BZ #11655]
24935         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24936         are initialized.
24938 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
24940         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24942 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
24944         * po/it.po: Update from translation team.
24946 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24948         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24949         unused codes.
24951 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
24953         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24955 2010-11-24  Andreas Schwab  <schwab@redhat.com>
24957         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24958         specially.
24959         (gaih_getanswer_slice): Likewise.
24961 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
24963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24965 2010-05-31  Petr Baudis  <pasky@suse.cz>
24967         [BZ #11149]
24968         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24969         silently even in the chroot mode.
24971 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
24973         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24974         last patch a bit.  Pretty printing
24976 2010-05-31  Petr Baudis <pasky@suse.cz>
24978         [BZ #10085]
24979         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24980         initialization of skip_initgroups_dyn.
24982 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
24984         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24985         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24987 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
24989         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24991 2010-11-11  Andreas Schwab  <schwab@redhat.com>
24993         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24994         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24995         (tst-fnmatch-ENV): Set MALLOC_TRACE.
24996         ($(objpfx)tst-fnmatch-mem): New rule.
24997         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24998         * posix/tst-fnmatch.c (main): Call mtrace.
25000 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25003         Support Intel processor model 6 and model 0x2c.
25005 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25007         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25008           signed comparison.
25010 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25012         [BZ #12205]
25013         * string/test-strncasecmp.c (check_result): New function.
25014         (do_one_test): Use it.
25015         (check1): New function.
25016         (test_main): Use it.
25017         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25018         Support strcasecmp and strncasecmp.
25020 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25022         [BZ #12194]
25023         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25024         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25026 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25028         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25029         IFUNC support.
25030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25031         memset-x86-64.
25032         * sysdeps/x86_64/multiarch/bzero.S: New file.
25033         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25034         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25035         * sysdeps/x86_64/multiarch/memset.S: New file.
25036         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25038         Set bit_Prefer_SSE_for_memop for Intel processors.
25039         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25040         Define.
25041         (index_Prefer_SSE_for_memop): Define.
25042         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25044 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25046         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25047         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25049 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25051         [BZ #12191]
25052         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25053         (__x86_64_raw_data_cache_size_half): Likewise.
25054         (__x86_64_raw_shared_cache_size): Likewise.
25055         (__x86_64_raw_shared_cache_size_half): Likewise.
25057         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25058         (__x86_64_raw_data_cache_size_half): Likewise.
25059         (__x86_64_raw_shared_cache_size): Likewise.
25060         (__x86_64_raw_shared_cache_size_half): Likewise.
25061         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25062         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25063         and __x86_64_raw_shared_cache_size_half.  Round
25064         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25065         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25066         to multiple of 256 bytes.
25068 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25070         [BZ #12167]
25071         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25072         of inacessible symlinks.  Verify result of symlink before returning it.
25073         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25074         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25076 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25078         * math/math.h (isinf): Fix typo in comment.
25080 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25082         * po/da.po: Update from translation team.
25084 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25086         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25087         is added to the list.
25089 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25090             Ulrich Drepper  <drepper@gmail.com>
25092         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25093         the global list here.  Move code to...
25094         (_dl_add_to_namespace_list): ...here.  New function.
25095         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25096         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25097         * elf/dl-load.c (lose): Don't remove the element from the list.
25098         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25099         (_dl_map_object): Likewise.
25101 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25103         [BZ #12159]
25104         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25105         into all bytes of SSE register.
25106         Patch by Richard Li <richardpku@gmail.com>.
25108 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25110         [BZ #12140]
25111         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25112         perturbing.
25114 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25116         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25117         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25118         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25119         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25121         submachine.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25124 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25126         * include/dlfcn.h (__RTLD_SECURE): Define.
25127         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25128         mode & __RTLD_SECURE instead.
25129         (open_path): Rename preloaded parameter to secure.
25130         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25131         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25132         * elf/dl-deps.c (openaux): Likewise.
25133         * elf/rtld.c (struct map_args): Remove is_preloaded.
25134         (map_doit): Don't use it.
25135         (dl_main): Likewise.
25136         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25137         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25139 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25141         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25142         (sysd-rules-targets): Remove duplicates.
25143         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25144         rtld-%.$o dependency.
25146 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25148         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25149         _dl_map_object do it.
25151 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25153         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25154         fast fma builtins, define the macros in the C99 standard.
25155         (FP_FAST_FMAF): Likewise.
25156         (FP_FAST_FMAL): Likewise.
25157         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25159         * bits/mathdef.h: Update copyright year.
25160         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25162 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25164         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25165         builtins, define the macros in the C99 standard.
25166         (FP_FAST_FMAF): Likewise.
25167         (FP_FAST_FMAL): Likewise.
25168         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25169         multiply/add.
25170         (FP_FAST_FMAF): Likewise.
25172 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25174         [BZ #3268]
25175         * math/libm-test.inc (fma_test): Some new testcases.
25176         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25177         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25178         y and infinite z.  Do multiplication by C already in long double.
25179         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25181         y and infinite z.  Do bitwise or of inexact bit into u.d.
25182         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25183         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25184         * sysdeps/i386/fpu/s_fma.S: Removed.
25185         * sysdeps/i386/fpu/s_fmal.S: Removed.
25187 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25189         [BZ #3268]
25190         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25192         computation is not scheduled after fetestexcept.  Fix value
25193         of minimum denormal long double.
25195 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25197         [BZ #3268]
25198         * math/libm-test.inc (fma_test): Add some more tests.
25199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25200         correctly.
25202 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25204         * scripts/data/localplt-s390-linux-gnu.data: New file.
25205         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25207 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25209         [BZ #3268]
25210         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25211         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25212         instead of dbl-64.
25213         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25214         inlines.
25215         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25217         if one of x and y is very large and the other is subnormal.
25218         * sysdeps/s390/fpu/s_fmaf.c: New file.
25219         * sysdeps/s390/fpu/s_fma.c: New file.
25220         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25221         * sysdeps/powerpc/fpu/s_fma.S: New file.
25222         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25223         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25224         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25226 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
25228         [BZ #3268]
25229         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25230         fma tests.
25231         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25232         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25233         * sysdeps/i386/i686/multiarch/s_fma.c: Include
25234         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25235         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25236         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25237         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25239 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
25241         [BZ #12078]
25242         * posix/regcomp.c (parse_branch): One more memory leak plugged.
25243         * posix/bug-regex31.input: Add test case.
25245 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25247         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25248         * posix/bug-regex31.input: New file.
25250         [BZ #12078]
25251         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25252         (parse_sub_exp): Fix last change, use postorder.
25254         * posix/bug-regex31.c: New file.
25255         * posix/Makefile: Add rules to build and run bug-regex31.
25257         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25259         [BZ #12078]
25260         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25262         [BZ #12108]
25263         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25264         to have entries in sys_siglist.
25266         [BZ #12093]
25267         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25268         be NULL.
25270 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
25272         [BZ #3268]
25273         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25274         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25275         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25276         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25277         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25278         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25279         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25280         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25281         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25282         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25283         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25284         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25285         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25286         * math/ftestexcept.c (fetestexcept): Likewise.
25287         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25288         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25289         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25290         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25291         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25292         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25293         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25295 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
25297         [BZ #12107]
25298         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25299         newline.
25301 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
25303         * string/bug-strstr1.c: New file.
25304         * string/Makefile: Add rules to build and run bug-strstr1.
25306 2010-10-05  Eric Blake  <eblake@redhat.com>
25308         [BZ #12092]
25309         * string/str-two-way.h (two_way_long_needle): Always clear memory
25310         when skipping input due to the shift table.
25312 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
25314         [BZ #12005]
25315         * malloc/mcheck.c: Handle large requests.
25317         [BZ #12077]
25318         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25319         for strncmp and strncasecmp.
25320         * string/stratcliff.c: Add tests for strcmp and strncmp.
25321         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25323 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25325         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25326         __set_fpscr.
25328 2010-09-30  Andreas Jaeger  <aj@suse.de>
25330         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25331         (CGROUP_SUPER_MAGIC): Define.
25332         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25333         Handle btrfs and cgroup file systems.
25334         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25335         Likewise.
25337 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
25339         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25340         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25342 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25344         [BZ #12067]
25345         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25346         trying to locate the ELF header.
25348 2010-09-27  Andreas Schwab  <schwab@redhat.com>
25350         [BZ #11611]
25351         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25352         Mask out sign-bit copies when constructing f_fsid.
25354 2010-09-24  Petr Baudis <pasky@suse.cz>
25356         * debug/stack_chk_fail_local.c: Add missing licence exception.
25357         * debug/warning-nop.c: Likewise.
25359 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
25361         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25362         implementing getdents64 using getdents syscall, set d_type if
25363         __ASSUME_GETDENTS32_D_TYPE.
25365 2010-09-16  Andreas Schwab  <schwab@redhat.com>
25367         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25368         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25370 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
25372         [BZ #12037]
25373         * posix/unistd.h: Undo change of feature selection for ftruncate from
25374         2010-01-11.
25376 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
25378         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
25379         detection.
25381 2010-09-20  Andreas Schwab  <schwab@redhat.com>
25383         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25384         fanotify_mark.
25385         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25387 2010-09-14  Andreas Schwab  <schwab@redhat.com>
25389         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25390         variables after CHECK_SP call.
25391         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25393 2010-09-13  Andreas Schwab  <schwab@redhat.com>
25394             Ulrich Drepper  <drepper@redhat.com>
25396         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25397         re-relocationg ld.so.
25398         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25399         _dl_init_paths call.
25400         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
25401         here anymore.
25403 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
25405         * resolv/res_init.c (__res_vinit): Count the default server we added.
25407 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
25408             Ulrich Drepper  <drepper@redhat.com>
25410         [BZ #11968]
25411         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25412         (____longjmp_chk): Use %ebx for saving value across system call.
25413         Add unwind info.
25415 2010-09-06  Andreas Schwab  <schwab@redhat.com>
25417         * manual/Makefile: Don't mix pattern rules with normal rules.
25419 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25421         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25422         operation.
25423         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25424         * libio/iofopncook.c (_IO_cookie_init): Likewise.
25425         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25426         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25427         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25428         Likewise.
25430 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
25432         [BZ #11979]
25433         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25434         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25436 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
25438         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25439         * sysdeps/x86_64/addmul_1.S: Likewise.
25440         * sysdeps/x86_64/lshift.S: Likewise.
25441         * sysdeps/x86_64/mul_1.S: Likewise.
25442         * sysdeps/x86_64/rshift.S: Likewise.
25443         * sysdeps/x86_64/sub_n.S: Likewise.
25444         * sysdeps/x86_64/submul_1.S: Likewise.
25446 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25448         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25449         Define __sched_param instead of SCHED_* and sched_param when
25450         <bits/sched.h> is included with __need_schedparam defined.
25451         * bits/sched.h [__need_schedparam]
25452         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
25453         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25454         (__defined_schedparam): Define to 1.
25455         (__sched_param): New structure, identical to sched_param.
25456         (__need_schedparam): Undefine.
25458 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
25460         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
25461         (epoll_create1): Declare.
25463         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
25465 2010-08-31  Andreas Schwab  <schwab@redhat.com>
25467         [BZ #7066]
25468         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
25469         shifting retval into place.
25471 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
25473         * nis/rpcsvc/nis.h: Update copyright notice.
25474         * nis/rpcsvc/nis.x: Likewise.
25475         * nis/rpcsvc/nis_callback.h: Likewise.
25476         * nis/rpcsvc/nis_callback.x: Likewise.
25477         * nis/rpcsvc/nis_object.x: Likewise.
25478         * nis/rpcsvc/nis_tags.h: Likewise.
25479         * nis/rpcsvc/yp.h: Likewise.
25480         * nis/rpcsvc/yp.x: Likewise.
25481         * nis/rpcsvc/ypupd.h: Likewise.
25482         * nis/yp_xdr.c: Likewise.
25483         * nis/ypupdate_xdr.c: Likewise.
25485         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
25486         mainly the body of pmap_getport.  Add parameters to specify timeouts.
25487         (pmap_getport): Use __libc_rpc_getport.
25488         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
25489         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
25490         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
25492 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
25494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
25495         fanotify_mark.
25497 2010-08-27  Roland McGrath  <roland@redhat.com>
25499         * sysdeps/i386/i686/multiarch/Makefile
25500         (CFLAGS-varshift.c): New variable.
25502 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
25504         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
25505         * sysdeps/i386/i686/multiarch/varshift.c: New file.
25507         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
25509         * sysdeps/x86_64/strlen.S: Minimal code improvement.
25511 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25513         * sysdeps/x86_64/strlen.S: Unroll the loop.
25514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25515         strlen-sse2 strlen-sse2-bsf.
25516         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
25517         __strlen_no_bsf if bit_Slow_BSF is set.
25518         (__strlen_sse42): Removed.
25519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
25520         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
25522 2010-08-25  Roland McGrath  <roland@redhat.com>
25524         * sysdeps/x86_64/multiarch/varshift.S: File removed.
25525         * sysdeps/x86_64/multiarch/varshift.c: New file.
25526         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
25527         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
25528         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25529         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25531 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25534         strlen-sse2 strlen-sse2-bsf.
25535         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
25536         __strlen_sse2_bsf if bit_Slow_BSF is unset.
25537         (__strlen_sse2): Removed.
25538         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
25539         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
25540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25541         bit_Slow_BSF for Atom.
25542         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
25543         (index_Slow_BSF): Define.
25544         (HAS_SLOW_BSF): Define.
25546 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
25548         [BZ #10851]
25549         * resolv/res_init.c (__res_vinit): When no server address at all
25550         is given default to loopback.
25552 2010-08-24  Roland McGrath  <roland@redhat.com>
25554         * configure.in: Remove config-name.h generation.
25555         * configure: Regenerated.
25556         * config-name.in: File removed.
25557         * scripts/config-uname.sh: New file.
25558         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
25559         ($(objdir)config-name.h): New target.
25561         * sunrpc/rpc_parse.h: Avoid nested comment.
25563 2010-08-24  Richard Henderson  <rth@redhat.com>
25564             Ulrich Drepper  <drepper@redhat.com>
25565             H.J. Lu  <hongjiu.lu@intel.com>
25567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
25568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
25569         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
25570         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
25571         _mm_alignr_epi8 with _mm_loadu_si128.
25572         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
25573         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
25574         (__m128i_shift_right): Removed.
25575         * sysdeps/i386/i686/multiarch/varshift.h: New file.
25576         * sysdeps/i386/i686/multiarch/varshift.S: New file.
25577         * sysdeps/x86_64/multiarch/varshift.h: New file.
25578         * sysdeps/x86_64/multiarch/varshift.S: New file.
25580 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
25582         * configure.in: Move assembler checks to before sysdep dir checking.
25584 2010-08-20  Petr Baudis  <pasky@suse.cz>
25586         * LICENSES: Sync the sunrpc license.
25588 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
25590         * sunrpc/auth_des.c: Update copyright notice once again.
25591         * sunrpc/auth_none.c: Likewise.
25592         * sunrpc/auth_unix.c: Likewise.
25593         * sunrpc/authdes_prot.c: Likewise.
25594         * sunrpc/authuxprot.c: Likewise.
25595         * sunrpc/bindrsvprt.c: Likewise.
25596         * sunrpc/clnt_gen.c: Likewise.
25597         * sunrpc/clnt_perr.c: Likewise.
25598         * sunrpc/clnt_raw.c: Likewise.
25599         * sunrpc/clnt_simp.c: Likewise.
25600         * sunrpc/clnt_tcp.c: Likewise.
25601         * sunrpc/clnt_udp.c: Likewise.
25602         * sunrpc/clnt_unix.c: Likewise.
25603         * sunrpc/des_crypt.c: Likewise.
25604         * sunrpc/des_soft.c: Likewise.
25605         * sunrpc/get_myaddr.c: Likewise.
25606         * sunrpc/getrpcport.c: Likewise.
25607         * sunrpc/key_call.c: Likewise.
25608         * sunrpc/key_prot.c: Likewise.
25609         * sunrpc/openchild.c: Likewise.
25610         * sunrpc/pm_getmaps.c: Likewise.
25611         * sunrpc/pm_getport.c: Likewise.
25612         * sunrpc/pmap_clnt.c: Likewise.
25613         * sunrpc/pmap_prot.c: Likewise.
25614         * sunrpc/pmap_prot2.c: Likewise.
25615         * sunrpc/pmap_rmt.c: Likewise.
25616         * sunrpc/rpc/auth.h: Likewise.
25617         * sunrpc/rpc/auth_unix.h: Likewise.
25618         * sunrpc/rpc/clnt.h: Likewise.
25619         * sunrpc/rpc/des_crypt.h: Likewise.
25620         * sunrpc/rpc/key_prot.h: Likewise.
25621         * sunrpc/rpc/netdb.h: Likewise.
25622         * sunrpc/rpc/pmap_clnt.h: Likewise.
25623         * sunrpc/rpc/pmap_prot.h: Likewise.
25624         * sunrpc/rpc/pmap_rmt.h: Likewise.
25625         * sunrpc/rpc/rpc.h: Likewise.
25626         * sunrpc/rpc/rpc_des.h: Likewise.
25627         * sunrpc/rpc/rpc_msg.h: Likewise.
25628         * sunrpc/rpc/svc.h: Likewise.
25629         * sunrpc/rpc/svc_auth.h: Likewise.
25630         * sunrpc/rpc/types.h: Likewise.
25631         * sunrpc/rpc/xdr.h: Likewise.
25632         * sunrpc/rpc_clntout.c: Likewise.
25633         * sunrpc/rpc_cmsg.c: Likewise.
25634         * sunrpc/rpc_common.c: Likewise.
25635         * sunrpc/rpc_cout.c: Likewise.
25636         * sunrpc/rpc_dtable.c: Likewise.
25637         * sunrpc/rpc_hout.c: Likewise.
25638         * sunrpc/rpc_main.c: Likewise.
25639         * sunrpc/rpc_parse.c: Likewise.
25640         * sunrpc/rpc_parse.h: Likewise.
25641         * sunrpc/rpc_prot.c: Likewise.
25642         * sunrpc/rpc_sample.c: Likewise.
25643         * sunrpc/rpc_scan.c: Likewise.
25644         * sunrpc/rpc_scan.h: Likewise.
25645         * sunrpc/rpc_svcout.c: Likewise.
25646         * sunrpc/rpc_tblout.c: Likewise.
25647         * sunrpc/rpc_util.c: Likewise.
25648         * sunrpc/rpc_util.h: Likewise.
25649         * sunrpc/rpcinfo.c: Likewise.
25650         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25651         * sunrpc/rpcsvc/key_prot.x: Likewise.
25652         * sunrpc/rpcsvc/klm_prot.x: Likewise.
25653         * sunrpc/rpcsvc/mount.x: Likewise.
25654         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25655         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25656         * sunrpc/rpcsvc/rex.x: Likewise.
25657         * sunrpc/rpcsvc/rstat.x: Likewise.
25658         * sunrpc/rpcsvc/rusers.x: Likewise.
25659         * sunrpc/rpcsvc/sm_inter.x: Likewise.
25660         * sunrpc/rpcsvc/spray.x: Likewise.
25661         * sunrpc/rpcsvc/yppasswd.x: Likewise.
25662         * sunrpc/rtime.c: Likewise.
25663         * sunrpc/svc.c: Likewise.
25664         * sunrpc/svc_auth.c: Likewise.
25665         * sunrpc/svc_authux.c: Likewise.
25666         * sunrpc/svc_raw.c: Likewise.
25667         * sunrpc/svc_run.c: Likewise.
25668         * sunrpc/svc_simple.c: Likewise.
25669         * sunrpc/svc_tcp.c: Likewise.
25670         * sunrpc/svc_udp.c: Likewise.
25671         * sunrpc/svc_unix.c: Likewise.
25672         * sunrpc/svcauth_des.c: Likewise.
25673         * sunrpc/xcrypt.c: Likewise.
25674         * sunrpc/xdr.c: Likewise.
25675         * sunrpc/xdr_array.c: Likewise.
25676         * sunrpc/xdr_float.c: Likewise.
25677         * sunrpc/xdr_mem.c: Likewise.
25678         * sunrpc/xdr_rec.c: Likewise.
25679         * sunrpc/xdr_ref.c: Likewise.
25680         * sunrpc/xdr_sizeof.c: Likewise.
25681         * sunrpc/xdr_stdio.c: Likewise.
25683         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25684         handling.
25686 2010-08-19  Andreas Schwab  <schwab@redhat.com>
25688         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25690 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
25692         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25693         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25694         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25695         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25696         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25697         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25698         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25699         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25700         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25701         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25702         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25703         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25704         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25705         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25707 2010-07-26  Anton Blanchard  <anton@samba.org>
25709         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25710         * malloc/arena.c (heap_trim): Likewise.
25712 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
25714         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25715         here.  Not...
25716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25717         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25719 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25721         * sysdeps/i386/elf/Makefile: New file.
25723 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25725         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25726         from fanotify_init.
25727         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25730 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
25732         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25733         of strncasecmp_l.
25734         * sysdeps/multiarch/strcmp.S: Likewise.
25736 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
25738         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25739         strncase_l-nonascii.
25740         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25741         Add strncase_l-ssse3.
25742         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25743         * sysdeps/x86_64/strcmp.S: Likewise.
25744         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25745         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25746         * sysdeps/x86_64/strncase.S: New file.
25747         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25748         * sysdeps/x86_64/strncase_l.S: New file.
25749         * string/Makefile (strop-tests): Add strncasecmp.
25750         * string/test-strncasecmp.c: New file.
25752         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25753         warning.
25755         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25756         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25758 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25760         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25762 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
25764         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25765         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25766         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25768 2010-05-01  Alan Modra  <amodra@gmail.com>
25770         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25771         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25772         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25773         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25774         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25775         tidying.  Don't tail-call __sigjmp_save for static lib.
25776         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25777         save location.
25778         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25779         (CALL_MCOUNT): Add eh info, and nop after bl.
25780         (TAIL_CALL_SYSCALL_ERROR): New macro.
25781         (PSEUDO_RET): Use it.
25782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25783         Correct save location of integer regs and cr.
25784         (_dl_profile_resolve): Correct cr save location.  Delete nops
25785         after bl when SHARED.  Reduce cfi size a little by better
25786         placement of cfi directives.
25787         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25788         make a stack frame.  Instead use parm save area as a temp.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25790         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25792         Don't make a stack frame for parent, use parm save area.
25793         Increase child stack frame to 112 bytes.  Don't save unused reg,
25794         and adjust reg usage.  Set up cfi on error recovery and
25795         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25797         (__makecontext): Add dummy nop after jump to exit.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25799         Use correct parm save area and cr save, reduce stack frame.
25800         Correct cfi for possible PSEUDO_RET frame setup.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25802         Branch to local label emitted by PSEUDO_RET rather than
25803         __syscall_error.
25805 2010-08-12  Andreas Schwab  <schwab@redhat.com>
25807         [BZ #11904]
25808         * locale/programs/locale.c (print_assignment): New function.
25809         (show_locale_vars): Use it.
25811 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
25813         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25814         field.
25815         (struct statfs64): Likewise.
25816         (_STATFS_F_FLAGS): Define.
25817         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25818         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25819         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25820         (ST_VALID): Define locally.
25821         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25822         __statvfs_getflags, use the provided value.
25823         * sysdeps/unix/sysv/linux/kernel-features.h: Define
25824         __ASSUME_STATFS_F_FLAGS.
25826         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25828         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25829         Add sys/fanotify.h.
25830         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25831         fanotify_mask for GLIBC_2.13.
25832         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25833         fanotify_init and fanotify_mark.
25834         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25835         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25837         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25838         Add prlimit.
25839         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25840         prlimit64 for GLIBC_2.13.
25841         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25842         prlimit64.
25843         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25844         syscall.
25845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25846         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25847         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25848         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25849         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
25850         add prlimit alias.
25851         * sysdeps/unix/sysv/linux/prlimit.c: New file.
25853         [BZ #11903]
25854         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25855         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25857         * nss/Makefile: Add rules to build and run tst-nss-test1.
25858         * shlib-versions: Add entry for libnss_test1.
25859         * nss/nss_test1.c: New file.
25860         * nss/tst-nss-test1.c: New file.
25862         * nss/nsswitch.c (__nss_database_custom): Define new variable.
25863         (__nss_configure_lookup): Set appropriate entry in
25864         __nss_configure_lookup to true.
25865         * nss/nsswitch.h: Define enum with indeces of databases in
25866         databases and __nss_database_custom arrays.  Declare
25867         __nss_database_custom.
25868         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25869         to avoid using nscd when custom rules are installed.
25870         * nss/getXXbyYY_r.c: Likewise.
25871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25873         * nss/nss_files/files-parse.c: Whitespace fixes.
25875 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
25877         [BZ #11883]
25878         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25879         * posix/fnmatch_loop.c: Likewise.
25881 2010-07-17  Andi Kleen  <ak@linux.intel.com>
25883         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25884         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25885         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25886         * Versions.def [GLIBC_2.13]: Add.
25888 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
25890         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25891         Also fail if tpwd after pwuid call is NULL.
25893 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25895         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25896         when converting to ms.
25898 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25900         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25901         EOPNOTSUPP errors with ENOTTY.
25902         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25903         EOPNOTSUPP errors with ENOTTY.
25905 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
25907         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25908         Add strcasecmp_l-ssse3.
25909         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25910         strcasecmp.
25911         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25912         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25913         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25915 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
25917         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25919         * string/Makefile (strop-tests): Add strcasecmp.
25920         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25921         strcasecmp_l-nonascii.
25922         (gen-as-const-headers): Add locale-defines.sym.
25923         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25924         * sysdeps/x86_64/strcasecmp.S: New file.
25925         * sysdeps/x86_64/strcasecmp_l.S: New file.
25926         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25927         * sysdeps/x86_64/locale-defines.sym: New file.
25928         * string/test-strcasecmp.c: New file.
25930         * string/test-strcasestr.c: Test both ends of the range of characters.
25931         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25933 2010-07-29  Roland McGrath  <roland@redhat.com>
25935         [BZ #11856]
25936         * manual/locale.texi (Yes-or-No Questions): Fix example code.
25938 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
25940         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25941         for ld.so.
25943 2010-07-27  Andreas Schwab  <schwab@redhat.com>
25945         * manual/memory.texi (Malloc Tunable Parameters): Document
25946         M_PERTURB.
25948 2010-07-26  Roland McGrath  <roland@redhat.com>
25950         [BZ #11840]
25951         * configure.in (-fgnu89-inline check): Set and substitute
25952         gnu89_inline, not libc_cv_gnu89_inline.
25953         * configure: Regenerated.
25954         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25956 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
25958         * string/test-strnlen.c: New file.
25959         * string/Makefile (strop-tests): Add strnlen.
25960         * string/tester.c (test_strnlen): Add a few more test cases.
25961         * string/tst-strlen.c: Better error reporting.
25963         * sysdeps/x86_64/strnlen.S: New file.
25965 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
25967         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25968         lower-latency instructions.
25970 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
25972         * string/test-strcasestr.c: New file.
25973         * string/test-strstr.c: New file.
25974         * string/Makefile (strop-tests): Add strstr and strcasestr.
25975         * string/str-two-way.h: Don't undefine MAX.
25976         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25978 2010-07-21  Andreas Schwab  <schwab@redhat.com>
25980         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25981         strcasestr-nonascii.
25982         (CFLAGS-strcasestr-nonascii.c): Define.
25983         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25984         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25985         Remove unused attribute.
25987 2010-07-20  Roland McGrath  <roland@redhat.com>
25989         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25990         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
25991         ld.so.cache was broken.  With it, there is no way to disable dsocaps
25992         like LD_HWCAP_MASK can disable hwcaps.
25994 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
25996         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25998 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26000         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26001         call in strcasestr.
26002         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26003         __strcasestr_sse42_nonascii.
26004         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26005         strcasestr-nonascii.c.
26006         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26008 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26010         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26011         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26012         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26013         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26015 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26017         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26018         fcntl.
26020 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26022         [BZ #11577]
26023         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26024         dl_signal_cerror.
26026 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26028         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26029         _PC_PIPE_BUF using F_GETPIPE_SZ.
26031 2010-07-05  Roland McGrath  <roland@redhat.com>
26033         * manual/arith.texi (Rounding Functions): Fix rint description
26034         implicit in round description.
26036 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26038         * elf/Makefile: Fix linking for a few tests to make recent linker
26039         happy.
26041 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26043         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26044         $(common-objpfx)libc_nonshared.a.
26046 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26048         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26049         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26050         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26051         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26052         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26053         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26054         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26055         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26070         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26071         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26072         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26073         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26074         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26075         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26076         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26077         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26078         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26079         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26080         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26081         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26097 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26099         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26100         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26101         * string/memmove.c (memmove): Renamed to ...
26102         (MEMMOVE): ...this.  Default to memmove.
26103         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26104         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26105         (END_CHK): Define.
26106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26107         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26108         mempcpy-ssse3-back memmove-ssse3-back.
26109         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26110         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26111         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26112         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26113         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26114         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26115         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26116         * sysdeps/x86_64/multiarch/memmove.c: New file.
26117         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26118         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26119         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26120         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26121         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26122         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26123         Define.
26124         (index_Fast_Copy_Backward): Define.
26125         (HAS_ARCH_FEATURE): Define.
26126         (HAS_FAST_REP_STRING): Define.
26127         (HAS_FAST_COPY_BACKWARD): Define.
26129 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26131         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26132         Restore proper fallback handling.
26134 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26136         [BZ #11701]
26137         * posix/group_member.c (__group_member): Correct checking loop.
26139         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26140         OOM in getpwuid_r correctly.  Return error number when the caller
26141         should return, otherwise -1.
26142         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26143         call returning > 0 value.
26144         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26146 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26148         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26149         libc_nonshared.a from targets in modules-names.
26151 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26153         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26154         requires it.
26156 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26158         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26159         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26160         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26161         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26163 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26165         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26167 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26169         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26170         and F_GETPIPE_SZ.
26171         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26176         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26178 2010-06-14  Roland McGrath  <roland@redhat.com>
26180         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26182 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26184         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26185         __REDIRECT followed by __THROW.
26186         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26187         * posix/getopt.h (getopt): Likewise.
26189 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26191         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26192         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26193         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26194         in AT_FLAGS.
26195         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26196         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26198 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26200         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26202 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26204         [BZ #11640]
26205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26206         Properly check family and model.
26208 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26210         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26212 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26214         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26216 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26218         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26219         symbol reference.
26221 2010-05-19  Andreas Schwab  <schwab@redhat.com>
26223         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26224         symbol reference.
26226 2010-05-21  Andreas Schwab  <schwab@redhat.com>
26228         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26229         and internal_recvmmsg.
26230         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26231         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26232         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26233         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26235         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26236         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26237         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26239 2010-05-20  Andreas Schwab  <schwab@redhat.com>
26241         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26243 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
26245         POWER7 optimizations.
26246         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26247         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26249 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
26251         * version.h: Update for 2.13 development version.
26253 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
26255         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26256         exceptions.  Return 0.
26258 2010-05-07  Roland McGrath  <roland@redhat.com>
26260         * elf/ldconfig.c (main): Add a const.
26262 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
26264         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26265         (args_options): Add no-idn option.
26266         (ahosts_keys_int): Add idn_flags to ai_flags.
26267         (parse_option): Handle 'i' option to clear idn_flags.
26269         * malloc/malloc.c (_int_free): Possible race in the most recently
26270         added check.  Only act on the data if no current modification
26271         happened.
26273 See ChangeLog.17 for earlier changes.