Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.
[glibc.git] / ChangeLog
blobf37d84ea88333844d1712c132fcabfdc3b742749
1 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
3         [BZ #16074]
4         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5         MAP_FAILED on error.
7 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9         [BZ #16072]
10         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11         heap for large requests.
13 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15         [BZ #9954]
16         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17         result if the result has no associated interface.
18         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19         interface for all 127.X.Y.Z addresses.
21 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23         * locale/iso-639.def: Add Ligurian (lij)
25 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27         [BZ #15825]
28         * sunrpc/rpc_main.c: Document rpcgen -5.
30 2013-10-19  Michael Stahl  <mstahl@redhat.com>
32         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36         [BZ #10278]
37         * posix/glob.c: Match only directories when trailing slash is present.
38         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39         (main): Add testcase.
41 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43         [BZ #15670]
44         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
49         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50         AUTH_DES and cindex for FIPS 140-2.
51         (DES Encryption): Add cindex FIPS 46-3.
53         * locale/locarchive.h (struct locarhandle): Add fname.
54         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55         if an optional argument was specified to --list-archive,
56         otherwise NULL.
57         * locale/programs/locarchive.c (show_archive_content): Take new
58         argument fname and pass it via ah.fname to open_archive.
59         * locale/programs/localedef.h: Update decl.
60         (open_archive): If AH->fname is non-null, open that file
61         rather than the default file name, and don't ignore ENOENT.
62         (create_archive): Set AH.fname to NULL.
63         (delete_locales_from_archive): Likewise.
64         (add_locales_to_archive): Likewise.
65         * locale/programs/locfile.c (write_all_categories): Likewise.
67 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
68             Aldy Hernandez  <aldyh@redhat.com>
70         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
71         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
72         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
73         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
74         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
75         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
76         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
77         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
78         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
79         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
80         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
81         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
82         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
83         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
84         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
85         Likewise.
86         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
87         Likewise.
88         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
89         Likewise.
90         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
91         Likewise.
92         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
93         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
94         Likewise.
95         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
96         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
97         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
98         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
99         Likewise.
100         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
101         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
102         * sysdeps/powerpc/preconfigure: Likewise.
103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
104         Likewise.
105         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
106         Replace contents of file by #include of <fenv_libc.h>.
107         * sysdeps/powerpc/soft-fp/sfp-machine.h
108         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
109         and <sys/prctl.h>.
110         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
123         Allow copysignl PLT reference to be missing.
125 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
126             Joseph Myers  <joseph@codesourcery.com
128         [BZ #15948]
129         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
130         single character.
131         (add_to_tablewc): Assert sequence of wide characters is nonempty.
133 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
135         * elf/tst-tls-dlinfo.c: Don't include tls.h.
136         * elf/tst-tls1.c: Likewise.
137         * elf/tst-tls10.h: Likewise.
138         * elf/tst-tls14.c: Likewise.
139         * elf/tst-tls2.c: Likewise.
140         * elf/tst-tls3.c: Likewise.
141         * elf/tst-tls4.c: Likewise.
142         * elf/tst-tls5.c: Likewise.
143         * elf/tst-tls6.c: Likewise.
144         * elf/tst-tls7.c: Likewise.
145         * elf/tst-tls8.c: Likewise.
146         * elf/tst-tls9.c: Likewise.
147         * elf/tst-tlsmod1.c: Likewise.
148         * elf/tst-tlsmod13.c: Likewise.
149         * elf/tst-tlsmod13a.c: Likewise.
150         * elf/tst-tlsmod14a.c: Likewise.
151         * elf/tst-tlsmod16a.c: Likewise.
152         * elf/tst-tlsmod16b.c: Likewise.
153         * elf/tst-tlsmod2.c: Likewise.
154         * elf/tst-tlsmod3.c: Likewise.
155         * elf/tst-tlsmod4.c: Likewise.
156         * elf/tst-tlsmod5.c: Likewise.
157         * elf/tst-tlsmod6.c: Likewise.
159 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
161         [BZ #12486]
162         * malloc/malloc.c: remove checks for statistics.
164 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
166         [BZ #15277]
167         * inet/inet_net.c (inet_network): Detect additional invalid strings.
168         * inet/tst-network.c: Add testcase.
170 2013-10-17  Andreas Schwab  <schwab@suse.de>
172         [BZ #15218]
173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
174         to determine canonical name.
176 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
178         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
179         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
181         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
184         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
186         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
187         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
188         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
189         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
190         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
191         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
196         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
201         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
202         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
203         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
204         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
205         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
206         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
207         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
208         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
209         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
210         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
212         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
213         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
214         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
215         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
216         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
217         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
218         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
219         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
220         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
221         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
222         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
223         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
224         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
225         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
226         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
227         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
228         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
229         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
230         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
231         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
233         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
234         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
235         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
237 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
239         [BZ #16041]
240         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
241         make result into a quiet NaN.
243 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
245         * soft-fp/adddf3.c: Fix horizontal whitespace.
246         * soft-fp/addsf3.c: Likewise.
247         * soft-fp/addtf3.c: Likewise.
248         * soft-fp/divdf3.c: Likewise.
249         * soft-fp/divsf3.c: Likewise.
250         * soft-fp/divtf3.c: Likewise.
251         * soft-fp/double.h: Likewise.
252         * soft-fp/eqdf2.c: Likewise.
253         * soft-fp/eqsf2.c: Likewise.
254         * soft-fp/eqtf2.c: Likewise.
255         * soft-fp/extenddftf2.c: Likewise.
256         * soft-fp/extended.h: Likewise.
257         * soft-fp/extendsfdf2.c: Likewise.
258         * soft-fp/extendsftf2.c: Likewise.
259         * soft-fp/extendxftf2.c: Likewise.
260         * soft-fp/fixdfdi.c: Likewise.
261         * soft-fp/fixdfsi.c: Likewise.
262         * soft-fp/fixdfti.c: Likewise.
263         * soft-fp/fixsfdi.c: Likewise.
264         * soft-fp/fixsfsi.c: Likewise.
265         * soft-fp/fixsfti.c: Likewise.
266         * soft-fp/fixtfdi.c: Likewise.
267         * soft-fp/fixtfsi.c: Likewise.
268         * soft-fp/fixtfti.c: Likewise.
269         * soft-fp/fixunsdfdi.c: Likewise.
270         * soft-fp/fixunsdfsi.c: Likewise.
271         * soft-fp/fixunsdfti.c: Likewise.
272         * soft-fp/fixunssfdi.c: Likewise.
273         * soft-fp/fixunssfsi.c: Likewise.
274         * soft-fp/fixunssfti.c: Likewise.
275         * soft-fp/fixunstfdi.c: Likewise.
276         * soft-fp/fixunstfsi.c: Likewise.
277         * soft-fp/fixunstfti.c: Likewise.
278         * soft-fp/floatdidf.c: Likewise.
279         * soft-fp/floatdisf.c: Likewise.
280         * soft-fp/floatditf.c: Likewise.
281         * soft-fp/floatsidf.c: Likewise.
282         * soft-fp/floatsisf.c: Likewise.
283         * soft-fp/floatsitf.c: Likewise.
284         * soft-fp/floattidf.c: Likewise.
285         * soft-fp/floattisf.c: Likewise.
286         * soft-fp/floattitf.c: Likewise.
287         * soft-fp/floatundidf.c: Likewise.
288         * soft-fp/floatundisf.c: Likewise.
289         * soft-fp/floatunditf.c: Likewise.
290         * soft-fp/floatunsidf.c: Likewise.
291         * soft-fp/floatunsisf.c: Likewise.
292         * soft-fp/floatunsitf.c: Likewise.
293         * soft-fp/floatuntidf.c: Likewise.
294         * soft-fp/floatuntisf.c: Likewise.
295         * soft-fp/floatuntitf.c: Likewise.
296         * soft-fp/fmadf4.c: Likewise.
297         * soft-fp/fmasf4.c: Likewise.
298         * soft-fp/fmatf4.c: Likewise.
299         * soft-fp/gedf2.c: Likewise.
300         * soft-fp/gesf2.c: Likewise.
301         * soft-fp/getf2.c: Likewise.
302         * soft-fp/ledf2.c: Likewise.
303         * soft-fp/lesf2.c: Likewise.
304         * soft-fp/letf2.c: Likewise.
305         * soft-fp/muldf3.c: Likewise.
306         * soft-fp/mulsf3.c: Likewise.
307         * soft-fp/multf3.c: Likewise.
308         * soft-fp/negdf2.c: Likewise.
309         * soft-fp/negsf2.c: Likewise.
310         * soft-fp/negtf2.c: Likewise.
311         * soft-fp/op-1.h: Likewise.
312         * soft-fp/op-2.h: Likewise.
313         * soft-fp/op-4.h: Likewise.
314         * soft-fp/op-8.h: Likewise.
315         * soft-fp/op-common.h: Likewise.
316         * soft-fp/quad.h: Likewise.
317         * soft-fp/single.h: Likewise.
318         * soft-fp/soft-fp.h: Likewise.
319         * soft-fp/sqrtdf2.c: Likewise.
320         * soft-fp/sqrtsf2.c: Likewise.
321         * soft-fp/sqrttf2.c: Likewise.
322         * soft-fp/subdf3.c: Likewise.
323         * soft-fp/subsf3.c: Likewise.
324         * soft-fp/subtf3.c: Likewise.
325         * soft-fp/truncdfsf2.c: Likewise.
326         * soft-fp/trunctfdf2.c: Likewise.
327         * soft-fp/trunctfsf2.c: Likewise.
328         * soft-fp/trunctfxf2.c: Likewise.
329         * soft-fp/unorddf2.c: Likewise.
330         * soft-fp/unordsf2.c: Likewise.
331         * soft-fp/unordtf2.c: Likewise.
333 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
335         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
336         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
338 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
340         * elf/dl-libc.c: Clear initfini list after freeing.
342 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
344         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
345         * soft-fp/addsf3.c: Likewise.
346         * soft-fp/addtf3.c: Likewise.
347         * soft-fp/divdf3.c: Likewise.
348         * soft-fp/divsf3.c: Likewise.
349         * soft-fp/divtf3.c: Likewise.
350         * soft-fp/double.h: Likewise.
351         * soft-fp/eqdf2.c: Likewise.
352         * soft-fp/eqsf2.c: Likewise.
353         * soft-fp/eqtf2.c: Likewise.
354         * soft-fp/extenddftf2.c: Likewise.
355         * soft-fp/extended.h: Likewise.
356         * soft-fp/extendsfdf2.c: Likewise.
357         * soft-fp/extendsftf2.c: Likewise.
358         * soft-fp/extendxftf2.c: Likewise.
359         * soft-fp/fixdfdi.c: Likewise.
360         * soft-fp/fixdfsi.c: Likewise.
361         * soft-fp/fixdfti.c: Likewise.
362         * soft-fp/fixsfdi.c: Likewise.
363         * soft-fp/fixsfsi.c: Likewise.
364         * soft-fp/fixsfti.c: Likewise.
365         * soft-fp/fixtfdi.c: Likewise.
366         * soft-fp/fixtfsi.c: Likewise.
367         * soft-fp/fixtfti.c: Likewise.
368         * soft-fp/fixunsdfdi.c: Likewise.
369         * soft-fp/fixunsdfsi.c: Likewise.
370         * soft-fp/fixunsdfti.c: Likewise.
371         * soft-fp/fixunssfdi.c: Likewise.
372         * soft-fp/fixunssfsi.c: Likewise.
373         * soft-fp/fixunssfti.c: Likewise.
374         * soft-fp/fixunstfdi.c: Likewise.
375         * soft-fp/fixunstfsi.c: Likewise.
376         * soft-fp/fixunstfti.c: Likewise.
377         * soft-fp/floatdidf.c: Likewise.
378         * soft-fp/floatdisf.c: Likewise.
379         * soft-fp/floatditf.c: Likewise.
380         * soft-fp/floatsidf.c: Likewise.
381         * soft-fp/floatsisf.c: Likewise.
382         * soft-fp/floatsitf.c: Likewise.
383         * soft-fp/floattidf.c: Likewise.
384         * soft-fp/floattisf.c: Likewise.
385         * soft-fp/floattitf.c: Likewise.
386         * soft-fp/floatundidf.c: Likewise.
387         * soft-fp/floatundisf.c: Likewise.
388         * soft-fp/floatunsidf.c: Likewise.
389         * soft-fp/floatunsisf.c: Likewise.
390         * soft-fp/floatuntidf.c: Likewise.
391         * soft-fp/floatuntisf.c: Likewise.
392         * soft-fp/floatuntitf.c: Likewise.
393         * soft-fp/fmadf4.c: Likewise.
394         * soft-fp/fmasf4.c: Likewise.
395         * soft-fp/fmatf4.c: Likewise.
396         * soft-fp/gedf2.c: Likewise.
397         * soft-fp/gesf2.c: Likewise.
398         * soft-fp/getf2.c: Likewise.
399         * soft-fp/ledf2.c: Likewise.
400         * soft-fp/lesf2.c: Likewise.
401         * soft-fp/letf2.c: Likewise.
402         * soft-fp/muldf3.c: Likewise.
403         * soft-fp/mulsf3.c: Likewise.
404         * soft-fp/multf3.c: Likewise.
405         * soft-fp/negdf2.c: Likewise.
406         * soft-fp/negsf2.c: Likewise.
407         * soft-fp/negtf2.c: Likewise.
408         * soft-fp/op-1.h: Likewise.
409         * soft-fp/op-2.h: Likewise.
410         * soft-fp/op-4.h: Likewise.
411         * soft-fp/op-8.h: Likewise.
412         * soft-fp/op-common.h: Likewise.
413         * soft-fp/quad.h: Likewise.
414         * soft-fp/single.h: Likewise.
415         * soft-fp/soft-fp.h: Likewise.
416         * soft-fp/sqrtdf2.c: Likewise.
417         * soft-fp/sqrtsf2.c: Likewise.
418         * soft-fp/sqrttf2.c: Likewise.
419         * soft-fp/subdf3.c: Likewise.
420         * soft-fp/subsf3.c: Likewise.
421         * soft-fp/subtf3.c: Likewise.
422         * soft-fp/truncdfsf2.c: Likewise.
423         * soft-fp/trunctfdf2.c: Likewise.
424         * soft-fp/trunctfsf2.c: Likewise.
425         * soft-fp/trunctfxf2.c: Likewise.
426         * soft-fp/unorddf2.c: Likewise.
427         * soft-fp/unordsf2.c: Likewise.
428         * soft-fp/unordtf2.c: Likewise.
430 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
432         [BZ #15672]
433         * misc/error.c (error_tail): Fix possible buffer overflow.
435 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
437         [BZ #13028]
438         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
439         address.
441 2013-10-14  P. J. McDermott  <pj@pehjota.net>
443         [BZ #832]
444         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
445         testing pipefail option.
447 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
449         * soft-fp/double.h: Indent preprocessor directives inside #if.
450         * soft-fp/extended.h: Likewise.
451         * soft-fp/op-2.h: Likewise.
452         * soft-fp/op-4.h: Likewise.
453         * soft-fp/op-common.h: Likewise.
454         * soft-fp/quad.h: Likewise.
455         * soft-fp/single.h: Likewise.
456         * soft-fp/soft-fp.h: Likewise.
458 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
460         * iconv/iconv_prog.c: Fix typos.
461         * stdio-common/psiginfo-data.h: Likewise.
463 2013-10-12   Reuben Thomas <rrt@sc3d.org>
465         [BZ #15764]
466         * locale/setlocale.c: Fix typo.
468 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
470         [BZ #16036]
471         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
472         signaling NaN arguments.
473         * soft-fp/unordsf2.c (__unordsf2): Likewise.
474         * soft-fp/unordtf2.c (__unordtf2): Likewise.
476         [BZ #14910]
477         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
478         unordered operands.
479         * soft-fp/gesf2.c (__gesf2): Likewise.
480         * soft-fp/getf2.c (__getf2): Likewise.
481         * soft-fp/ledf2.c (__ledf2): Likewise.
482         * soft-fp/lesf2.c (__lesf2): Likewise.
483         * soft-fp/letf2.c (__letf2): Likewise.
485         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
486         * soft-fp/eqsf2.c (__eqsf2): Likewise.
487         * soft-fp/eqtf2.c (__eqtf2): Likewise.
488         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
489         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
490         * soft-fp/fixdfti.c (__fixdfti): Likewise.
491         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
492         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
493         * soft-fp/fixsfti.c (__fixsfti): Likewise.
494         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
495         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
496         * soft-fp/fixtfti.c (__fixtfti): Likewise.
497         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
498         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
499         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
500         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
501         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
502         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
503         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
504         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
505         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
506         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
507         * soft-fp/floatdisf.c (__floatdisf): Likewise.
508         * soft-fp/floatsisf.c (__floatsisf): Likewise.
509         * soft-fp/floattidf.c (__floattidf): Likewise.
510         * soft-fp/floattisf.c (__floattisf): Likewise.
511         * soft-fp/floattitf.c (__floattitf): Likewise.
512         * soft-fp/floatundidf.c (__floatundidf): Likewise.
513         * soft-fp/floatundisf.c (__floatundisf): Likewise.
514         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
515         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
516         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
517         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
518         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
519         * soft-fp/gesf2.c (__gesf2): Likewise.
520         * soft-fp/getf2.c (__getf2): Likewise.
521         * soft-fp/ledf2.c (__ledf2): Likewise.
522         * soft-fp/lesf2.c (__lesf2): Likewise.
523         * soft-fp/letf2.c (__letf2): Likewise.
525         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
526         Undefine and redefine.
527         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
528         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
529         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
530         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
531         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
532         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
533         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
534         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
535         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
536         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
537         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
538         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
539         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
540         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
541         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
543         [BZ #16032]
544         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
545         without decrementing exponent if mantissa >= that for the
546         denominator, not >.
547         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
548         denominator, not >.  Decrement exponent in < case instead of
549         incrementing in >= case.
550         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
551         without decrementing exponent if mantissa >= that for the
552         denominator, not >.
554         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
555         computing saturated result for unsigned overflow.
557 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
558             Jeff Law  <law@redhat.com>
560         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
561         (atan2Mp): Add systemtap probe marker.
562         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
563         (__ieee754_log): Add systemtap probe marker.
564         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
565         (atanMp): Add systemtap probe marker.
566         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
567         (tanMp): Add systemtap probe marker.
568         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
569         (__slowexp): Add systemtap probe marker.
570         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
571         (__slowpow): Add systemtap probe marker.
572         * manual/probes.texi: Document probes.
574 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
576         [BZ #15362]
577         * libio/fileops.c (_IO_new_file_write): Return count of bytes
578         written.
579         (_IO_new_file_xsputn): Don't return EOF if nothing has been
580         written.
581         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
582         written to buffer but not flushed.
583         * libio/iofwrite_u.c:  Likewise.
584         * libio/iopadn.c:  Return bytes returned even if EOF was
585         encountered.
586         * libio/iowpadn.c:  Likewise.
587         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
588         if _IO_padn does not write the whole buffer.
589         [!COMPILE_WPRINTF] (PAD): Likewise.
591 2013-10-10  David S. Miller  <davem@davemloft.net>
593         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
594         directory block.
596 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
598         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
599         instead of FSF address.
600         * soft-fp/fixdfti.c: Likewise.
601         * soft-fp/fixsfti.c: Likewise.
602         * soft-fp/fixtfti.c: Likewise.
603         * soft-fp/fixunsdfti.c: Likewise.
604         * soft-fp/fixunssfti.c: Likewise.
605         * soft-fp/fixunstfti.c: Likewise.
606         * soft-fp/floattidf.c: Likewise.
607         * soft-fp/floattisf.c: Likewise.
608         * soft-fp/floattitf.c: Likewise.
609         * soft-fp/floatuntidf.c: Likewise.
610         * soft-fp/floatuntisf.c: Likewise.
611         * soft-fp/floatuntitf.c: Likewise.
612         * soft-fp/trunctfxf2.c: Likewise.
614         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
615         * soft-fp/fixdfti.c: Likewise.
616         * soft-fp/fixsfti.c: Likewise.
617         * soft-fp/fixtfti.c: Likewise.
618         * soft-fp/fixunsdfti.c: Likewise.
619         * soft-fp/fixunssfti.c: Likewise.
620         * soft-fp/fixunstfti.c: Likewise.
621         * soft-fp/floattidf.c: Likewise.
622         * soft-fp/floattisf.c: Likewise.
623         * soft-fp/floattitf.c: Likewise.
624         * soft-fp/floatuntidf.c: Likewise.
625         * soft-fp/floatuntisf.c: Likewise.
626         * soft-fp/floatuntitf.c: Likewise.
627         * soft-fp/trunctfxf2.c: Likewise.
629 2013-10-10  David S. Miller  <davem@davemloft.net>
631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
633 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
635         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
636         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
637         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
638         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
639         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
640         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
641         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
643         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
644         for NaNs before doing comparisons on argument.
645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
646         Likewise.
648 2013-10-10  Will Newton  <will.newton@linaro.org>
650         * malloc/hooks.c (memalign_check): Ensure the value of bytes
651         passed to _int_memalign does not overflow.
653 2013-10-10  Torvald Riegel  <triegel@redhat.com>
655         * scripts/bench.pl: Add include-sources directive.
656         * benchtests/README: Update documentation.
658 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
660         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
661         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
662         instead of FP_INIT_ROUNDMODE.
663         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
664         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
666         [BZ #16034]
667         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
668         copy class of input value.
669         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
670         not handle exceptions.
671         * soft-fp/negsf2.c (__negsf2): Likewise.
672         * soft-fp/negtf2.c (__negtf2): Likewise.
673         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
675 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
677         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
678         semicolon.  From Linux kernel.
680 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
682         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
684 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
686         [BZ #156]
687         * manual/socket.texi: Added statement about buffer
688         for gethostbyname2_r.
690 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
692         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
693         Use .p2align directive instead, throughout.
694         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
695         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
696         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
697         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
699         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
700         * sysdeps/x86_64/strchr.S: Likewise.
701         * sysdeps/x86_64/strrchr.S: Likewise.
703 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
705         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
707         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
709         * sysdeps/generic/math_private.h (__mpsin1): Remove
710         declaration.
711         (__mpcos1): Likewise.
712         (__mpsin): New argument __range_reduce.
713         (__mpcos): Likewise.
714         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
715         (slow): Use __mpsin and __mpcos.
716         (slow1): Likewise.
717         (slow2): Likewise.
718         (sloww): Likewise.
719         (sloww1): Likewise.
720         (sloww2): Likewise.
721         (bsloww): Likewise.
722         (bsloww1): Likewise.
723         (bsloww2): Likewise.
724         (cslow2): Likewise.
725         (csloww): Likewise.
726         (csloww1): Likewise.
727         (csloww2): Likewise.
728         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
729         range_reduce.  Merge in __mpsin1.
730         (__mpcos): Likewise.
731         (__mpsin1): Remove.
732         (__mpcos1): Likewise.
734 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
736         * locale/loadlocale.c (_nl_intern_locale_data): Use
737         LOCFILE_ALIGNED_P.
738         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
739         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
740         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
741         obstack data is appropriately aligned.
742         (obstack_int32_grow_fast): Likewise.
743         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
744         * locale/programs/locfile.c (add_locale_uint32): Likewise.
745         (add_locale_uint32_array): Likewise.
747 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
749         * benchtests/Makefile: Remove ARGLIST and RET variables.
750         ($(objpfx)bench-%.c): Pass only function name to the script.
751         * benchtests/README: Update documentation.
752         * benchtests/acos-inputs: Add new directives.
753         * benchtests/acosh-inputs: Likewise.
754         * benchtests/asin-inputs: Likewise.
755         * benchtests/asinh-inputs: Likewise.
756         * benchtests/atan-inputs: Likewise.
757         * benchtests/atanh-inputs: Likewise.
758         * benchtests/cos-inputs: Likewise.
759         * benchtests/cosh-inputs: Likewise.
760         * benchtests/exp-inputs: Likewise.
761         * benchtests/log-inputs: Likewise.
762         * benchtests/pow-inputs: Likewise.
763         * benchtests/rint-inputs: Likewise.
764         * benchtests/sin-inputs: Likewise.
765         * benchtests/sinh-inputs: Likewise.
766         * benchtests/tan-inputs: Likewise.
767         * benchtests/tanh-inputs: Likewise.
768         * scripts/bench.pl: Add support for new directives.
770 2013-10-07  Alan Modra  <amodra@gmail.com>
772         * README: Fix careless merge.
774 2013-10-05  Alan Modra  <amodra@gmail.com>
776         * NEWS: Mention powerpc64le support and bugs fixed.
777         * README: Both big-endian and little-endian powerpc64 supported.
779 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
781         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
782         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
783         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
784         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
786 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
788         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
789         match prototype.
791 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
793         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
794         Move -mhard-float appending from
795         ports/sysdeps/powerpc/powerpc32/Makefile.
796         [$(with-fp) = yes] (ASFLAGS): Likewise.
797         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
798         * sysdeps/powerpc/nofpu: Move directory from
799         ports/sysdeps/powerpc/nofpu.
800         * sysdeps/powerpc/soft-fp: Move directory from
801         ports/sysdeps/powerpc/soft-fp.
802         * sysdeps/powerpc/powerpc32/405: Move directory from
803         ports/sysdeps/powerpc/powerpc32/405.
804         * sysdeps/powerpc/powerpc32/440: Move directory from
805         ports/sysdeps/powerpc/powerpc32/440.
806         * sysdeps/powerpc/powerpc32/464: Move directory from
807         ports/sysdeps/powerpc/powerpc32/464.
808         * sysdeps/powerpc/powerpc32/476: Move directory from
809         ports/sysdeps/powerpc/powerpc32/476.
810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
811         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
813         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
815         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
817         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
819         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
820         * README: Update for powerpc-*-linux-gnu software floating point
821         support in libc.
823         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
824         case to powerpc/powerpc32*.
825         * sysdeps/unix/sysv/linux/configure: Regenerated.
827         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
828         (_FPU_MASK_OM): Define as 0x04.
829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
831         0x00c10080.
832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
833         0x0000003c.
834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
837         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
838         getcontext_e500.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
840         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
841         setcontext_e500.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
843         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
844         and setcontext_e500.
846 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
848         * locale/iso-3166.def: Update iso-1366.def and related occurrences
850 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
852         * manual/threads.texi (Default Thread Attributes): Fix typo.
854 2013-10-04  Will Newton  <will.newton@linaro.org>
856         * malloc/Makefile: Add tst-memalign.
857         * malloc/tst-memalign.c: New file.
859         * malloc/tst-posix_memalign.c: Add comments.
860         (do_test): Add comments and call free on all potentially
861         allocated pointers. Add space after cast.
863         * malloc/tst-pvalloc.c: Add comments.
864         (do_test): Add comments and call free on all potentially
865         allocated pointers. Remove duplicate check for NULL pointer.
866         Add space after cast.
868         * malloc/tst-valloc.c: Add comments.
869         (do_test): Add comments and call free on all potentially
870         allocated pointers. Remove duplicate check for NULL pointer.
871         Add space after cast.
873 2013-10-04  Alan Modra  <amodra@gmail.com>
875         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
876         Use stdint types in rather than __attribute__((mode())).
877         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
879 2013-10-04  Alan Modra  <amodra@gmail.com>
881         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
882         Correct handling of unaligned relocs for little-endian.
883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
885 2013-10-04  Alan Modra  <amodra@gmail.com>
887         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
888         * configure: Regenerate.
889         * nptl/shlib-versions: Powerpc*le starts at 2.18.
890         * shlib-versions: Likewise.
892 2013-10-04  Alan Modra  <amodra@gmail.com>
894         * string/tester.c (test_memrchr): Increment reported test cycle.
896 2013-10-04  Alan Modra  <amodra@gmail.com>
898         * string/test-memcpy.c (do_one_test): When reporting errors, print
899         string address and don't overrun end of string.
901 2013-10-04  Alan Modra  <amodra@gmail.com>
903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
904         insrdi.  Make better use of reg selection to speed exit slightly.
905         Schedule entry path a little better.  Remove useless "are we done"
906         checks on entry to main loop.  Handle wrapping around zero address.
907         Correct main loop count.  Handle single left-over word from main
908         loop inline rather than by using loop_small.  Remove extra word
909         case in loop_small caused by wrong loop count.  Add little-endian
910         support.
911         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
913         cache hint.
914         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
915         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
916         support.  Avoid rlwimi.
917         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
919 2013-10-04  Alan Modra  <amodra@gmail.com>
921         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
922         insrdi.  Formatting.
923         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
925         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
926         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
927         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
928         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
930 2013-10-04  Alan Modra  <amodra@gmail.com>
932         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
934         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
935         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
936         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
937         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
938         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
939         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
940         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
941         use of regs.  Use power7 mtocrf.  Tidy function tails.
943 2013-10-04  Alan Modra  <amodra@gmail.com>
945         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
946         Formatting.  Consistently use rXXX register defines or rN defines.
947         Use early exit labels that avoid restoring unused non-volatile regs.
948         Make cr field use more consistent with rWORDn compares.  Rename
949         regs used as shift registers for unaligned loop, using rN defines
950         for short lifetime/multiple use regs.
951         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
952         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
953         addi 1,1,64 to pop stack frame.  Simplify return value code.
954         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
956 2013-10-04  Alan Modra  <amodra@gmail.com>
958         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
959         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
960         rather than rlwimi.
961         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
962         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
963         little-endian support.  Correct typos.
964         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
965         rather than rlwimi.
966         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
967         in loop and entry code to keep "and." results.
968         (strchr): Add little-endian support.  Comment.  Move cntlzd
969         earlier in tail.
970         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
972 2013-10-04  Alan Modra  <amodra@gmail.com>
974         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
975         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
976         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
977         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
979 2013-10-04  Alan Modra  <amodra@gmail.com>
981         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
982         (rTMP): Define as r11.
983         (strcmp): Add little-endian support.  Optimise tail.
984         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
985         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
986         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
987         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
988         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
992 2013-10-04  Alan Modra  <amodra@gmail.com>
994         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
995         little-endian support.  Remove unnecessary "are we done" tests.
996         Handle "s" wrapping around zero and extremely large "size".
997         Correct main loop count.  Handle single left-over word from main
998         loop inline rather than by using small_loop.  Correct comments.
999         Delete "zero" tail, use "end_max" instead.
1000         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1002 2013-10-04  Alan Modra  <amodra@gmail.com>
1004         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1005         support.  Don't branch over align.
1006         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1007         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1008         support.  Rearrange tmp reg use to suit.  Comment.
1009         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1011 2013-10-04  Alan Modra  <amodra@gmail.com>
1013         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1015 2013-10-04  Alan Modra  <amodra@gmail.com>
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1018         conditional form of branch and link when obtaining pc.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1021 2013-10-04  Alan Modra  <amodra@gmail.com>
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1024         HIWORD/LOWORD.
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1028 2013-10-04  Alan Modra  <amodra@gmail.com>
1030         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1031         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1032         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1033         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1034         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1035         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1036         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1037         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1038         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1039         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1041 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1042             Alistair Popple <alistair@ozlabs.au.ibm.com>
1043             Alan Modra <amodra@gmail.com>
1045         [BZ #15723]
1046         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1047         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1048         _dl_hwcap access for little-endian.
1049         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1050         destroy vmx regs when saving unaligned.
1051         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1052         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1053         destroy vmx regs when saving unaligned.
1055 2013-10-04  Alan Modra  <amodra@gmail.com>
1057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1058         Don't use a union to pack hi/low value.
1060 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1062         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1063         for little-endian.
1064         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1065         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1066         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1067         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1068         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1070 2013-10-04  Alan Modra  <amodra@gmail.com>
1072         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1073         constants to usual value for .cst8 section, and remove redundant
1074         high address load.
1075         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1076         constant for 0x1p52.  Load little-endian words of double from
1077         correct stack offsets.
1079 2013-10-04  Alan Modra  <amodra@gmail.com>
1081         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1082         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1083         words of double from correct stack offsets.
1084         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1085         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1086         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1087         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1088         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1089         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1090         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1091         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1092         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1093         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1094         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1095         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1096         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1097         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1098         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1100         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1102 2013-10-04  Alan Modra  <amodra@gmail.com>
1104         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1105         64-bit int/double union.
1106         (_FPU_SETCW): Likewise.
1107         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1108         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1110 2013-10-04  Alan Modra  <amodra@gmail.com>
1112         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1113         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1115 2013-10-04  Alan Modra  <amodra@gmail.com>
1117         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1118         use vector int constants.
1119         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1121 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1123         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1124         array with long long.
1125         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1126         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1127         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1128         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1129         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1130         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1131         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1132         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1133         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1134         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1135         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1136         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1137         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1139 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1141         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1142         (__signbit): Likewise.  Correct for little-endian.
1143         (__signbitl): Call __signbit.
1144         (lrint): Correct for little-endian.
1145         (lrintf): Call lrint.
1147 2013-10-04  Alan Modra  <amodra@gmail.com>
1149         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1150         union 32-bit int array member with 64-bit int array.
1151         (t515, tm256): Double rather than long double.
1152         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1154 2013-10-04  Alan Modra  <amodra@gmail.com>
1156         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1157         Delete.
1158         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1160         version of math_ldbl.h.
1162 2013-10-04  Alan Modra  <amodra@gmail.com>
1164         [BZ #15734], [BZ #15735]
1165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1166         all uses of ieee875 long double macros and unions.  Simplify test
1167         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1168         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1169         normalize after ldbl_extract_mantissa, and don't add hidden bit
1170         already handled.  Don't treat low word of ieee854 mantissa like
1171         low word of IBM long double and mask off bit when testing for
1172         zero.
1173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1174         all uses of ieee875 long double macros and unions.  Simplify tests
1175         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1176         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1177         two1022, instead use their values.  Recognise that tests for large
1178         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1179         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1180         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1181         test for 0.0L and nan.  Correct negation.
1182         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1183         ieee875 long double macros and unions.  Correct output for large
1184         magnitude x.  Correct absolute value calculation.
1185         (__erfcl): Likewise.
1186         * math/libm-test.inc: Add tests for errors discovered in IBM long
1187         double versions of fmodl, remainderl, erfl and erfcl.
1189 2013-10-04  Alan Modra  <amodra@gmail.com>
1191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1192         all uses of ieee854 long double macros and unions.  Simplify tests
1193         for long doubles that are fully specified by the high double.
1194         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1195         Likewise.
1196         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1197         Remove dead code too.
1198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1199         (__ieee754_ynl): Likewise.
1200         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1203         Remove dead code too.
1204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1206         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1207         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1208         Simplify.
1209         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1210         Simplify.
1211         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1214         Comment on variable precision.
1215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1217         Likewise.
1218         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1222         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1224 2013-10-04  Alan Modra  <amodra@gmail.com>
1226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1227         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1228         all uses of ieee854 long double macros and unions.
1229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1231         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1232         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1233         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1234         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1235         Likewise.
1236         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1237         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1238         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1242         Simplify sign and nan test too.
1243         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1244         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1245         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1246         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1247         Likewise.
1248         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1249         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1250         Likewise.
1251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1252         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1253         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1254         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1255         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1258 2013-10-04  Alan Modra  <amodra@gmail.com>
1260         * stdio-common/printf_size.c (__printf_size): Don't use
1261         union ieee854_long_double in fpnum union.
1262         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1263         signbit macro to retrieve sign from long double.
1264         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1265         retrieve sign from long double.
1266         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1267         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1268         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1269         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1270         * math/test-misc.c (main): Don't use union ieee854_long_double.
1272 2013-10-04  Alan Modra  <amodra@gmail.com>
1274         [BZ #15680]
1275         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1276         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1277         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1278         calculation.  Remove unnecessary test for denormal exponent.
1279         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1280         Correct handling of denormals.  Avoid undefined shift behaviour.
1281         Correct normalisation of low mantissa when low double is denormal.
1282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1283         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1284         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1285         Correct normalisation of low mantissa.  Test for overflow of high
1286         mantissa and normalise.
1287         (ldbl_nearbyint): Use more readable constant for two52.
1288         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1289         (__mpn_construct_long_double): Fix test for overflow of high
1290         mantissa and correct normalisation.  Avoid undefined shift.
1292 2013-10-04  Alan Modra  <amodra@gmail.com>
1294         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1295         (union ibm_extended_long_double): Define as an array of ieee754_double.
1296         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1298         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1301         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1303         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1305         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1306         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1308 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1310         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1311         page size instead of calling getpagesize.
1313         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1314         (LOCFILE_ALIGN_MASK): Likewise.
1315         (LOCFILE_ALIGN_UP): Likewise.
1316         (LOCFILE_ALIGNED_P): Likewise.
1317         * locale/programs/ld-collate.c (collate_output): Use the new
1318         macros instead of __alignof__ (int32_t).
1319         * locale/weight.h (findidx): Likewise.
1321 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1323         [BZ #431]
1324         * manual/string.texi: Fix strncat and wcsncat.
1326 2013-10-03  Brooks Moses  <bmoses@google.com>
1328         [BZ #15915]
1329         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1330         * Makerules: ...here, and adjust associated comments.
1332 2013-10-02  Will Newton  <will.newton@linaro.org>
1334         * malloc/Makefile: Add tst-pvalloc.
1335         * malloc/tst-pvalloc.c: New file.
1337 2013-10-02  Will Newton  <will.newton@linaro.org>
1339         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1340         improve test coverage.
1342 2013-10-02  Will Newton  <will.newton@linaro.org>
1344         * malloc/Makefile: Add tst-posix_memalign.
1345         * malloc/tst-posix_memalign.c: New file.
1347 2013-10-01  Eric Blake  <eblake@redhat.com>
1349         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1350         Use __THROWNL rather than __THROW on static functions.
1352 2013-09-30  Petr Machata  <pmachata@redhat.com>
1354         * elf/elf.h (R_AARCH64_ABS16): New macro.
1355         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1356         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1357         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1358         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1359         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1360         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1361         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1362         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1363         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1364         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1365         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1366         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1367         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1368         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1369         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1370         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1371         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1372         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1373         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1374         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1375         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1376         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1377         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1378         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1379         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1380         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1381         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1382         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1383         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1384         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1385         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1386         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1387         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1388         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1389         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1390         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1391         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1392         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1393         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1394         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1395         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1396         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1397         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1398         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1399         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1400         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1401         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1402         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1403         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1404         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1405         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1406         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1407         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1408         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1409         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1410         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1411         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1412         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1413         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1414         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1415         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1416         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1417         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1418         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1419         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1420         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1421         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1422         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1423         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1424         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1425         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1426         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1427         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1428         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1429         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1430         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1431         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1432         (R_AARCH64_TLSDESC_LDR): Likewise.
1433         (R_AARCH64_TLSDESC_ADD): Likewise.
1434         (R_AARCH64_TLSDESC_CALL): Likewise.
1436 2013-09-30  Andreas Schwab  <schwab@suse.de>
1438         [BZ #15048]
1439         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1440         the nss database lookup.
1441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1444 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1446         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1448 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1450         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1451         ${Bash-specific parameter/pattern/string} parameter expansion.
1452         * sysdeps/unix/make-syscalls.sh: Likewise.
1454 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1456         * sysdeps/sh/stackguard-macros.h: New file.
1458 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1462         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1463         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1464         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1465         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1467 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1469         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1470         Fix thread ID register.
1472 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1474         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1475         [POSIX || UNIX98]: Require rather than permitting all symbols from
1476         <time.h>.
1477         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1478         element of struct sched_param.
1479         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1480         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1481         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1482         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1483         constant.
1485 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1487         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1488         argument calculation.
1490 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1492         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1493         Expect macro.
1494         [POSIX] (pthread_attr_t): Do not require type.
1495         [POSIX] (pthread_cond_t): Likewise.
1496         [POSIX] (pthread_condattr_t): Likewise.
1497         [POSIX] (pthread_key_t): Likewise.
1498         [POSIX] (pthread_mutex_t): Likewise.
1499         [POSIX] (pthread_mutexattr_t): Likewise.
1500         [POSIX] (pthread_once_t): Likewise.
1501         [POSIX] (pthread_t): Likewise.
1502         [POSIX-based standards] (pthread_atfork): Expect function.
1504 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1505             Richard Sandiford  <richard@codesourcery.com>
1507         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1508         (swap_endianness_p): New extern variable.
1509         (set_big_endian): New inline function.
1510         (maybe_swap_uint32): Likewise.
1511         (maybe_swap_uint32_array): Likewise.
1512         (maybe_swap_uint32_obstack): Likewise.
1513         * locale/programs/locfile.c: Include <stdbool.h>.
1514         (swap_endianness_p): New variable.
1515         (add_locale_uint32): Call maybe_swap_uint32.
1516         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1517         (write_locale_data): Call maybe_swap_uint32_array.
1518         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1519         maybe_swap_uint32.
1520         (obstack_int32_grow_fast): Likewise.
1521         (output_weightwc): Call maybe_swap_uint32_obstack.
1522         (collate_output): Likewise.
1523         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1524         (OPT_LITTLE_ENDIAN): Likewise.
1525         (options): Add --little-endian and --big-endian options.
1526         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1527         * locale/programs/locarchive.c: Include "locfile.h".
1528         (GET): New macro.
1529         (SET): Likewise.
1530         (INC): Likewise.
1531         (create_archive): Use the new macros to access fields of
1532         structures directly mapped from or written to locale archives.
1533         (oldlocrecentcmp): Likewise.
1534         (enlarge_archive): Likewise.
1535         (insert_name): Likewise.
1536         (add_alias): Likewise.
1537         (add_locale): Likewise.
1538         (delete_locales_from_archive): Likewise.
1539         (show_archive_content): Likewise.
1540         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1541         locale data.
1543 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1545         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1546         http://www.gnu.org/doc/freemanuals.texi.
1547         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1549 2013-09-24  Will Newton  <will.newton@linaro.org>
1551         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1552         macro.
1554 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1556         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1557         unsigned char.
1559 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1561         * manual/threads.texi (POSIX Threads): Fix a typo.
1563 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1565         [BZ #14547]
1566         * string/tst-strcoll-overflow.c: New test case.
1567         * string/Makefile (xtests): Add tst-strcoll-overflow.
1568         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1569         cache if string sizes may cause integer overflow.
1571         [BZ #14547]
1572         * string/strcoll_l.c (coll_seq): New members rule, idx,
1573         save_idx and back_us.
1574         (get_next_seq_nocache): New function.
1575         (do_compare_nocache): New function.
1576         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1577         when malloc fails.
1579 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1581         [BZ #15754]
1582         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1583         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1584         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1586         [BZ #15754]
1587         * elf/Makefile (tests): Add tst-ptrguard1.
1588         (tests-static): Add tst-ptrguard1-static.
1589         (tst-ptrguard1-ARGS): Define.
1590         (tst-ptrguard1-static-ARGS): Define.
1591         * elf/tst-ptrguard1.c: New file.
1592         * elf/tst-ptrguard1-static.c: New file.
1593         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1594         * sysdeps/i386/stackguard-macros.h: Likewise.
1595         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1596         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1597         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1598         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1599         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1600         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1602 2013-09-23  Hector Marco  <hecmargi@upv.es>
1603             Ismael Ripoll  <iripoll@disca.upv.es>
1604             Carlos O'Donell  <carlos@redhat.com>
1606         [BZ #15754]
1607         * sysdeps/generic/stackguard-macros.h: Define
1608         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1609         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1610         Define __pointer_chk_guard_local.
1611         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1612         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1614 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1616         [BZ #15859]
1617         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1619 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1621         * include/string.h (__ffs): Declare as hidden.
1622         * string/ffs.c (__ffs): Define as hidden.
1623         * sysdeps/i386/ffs.c (__ffs): Likewise.
1624         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1625         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1626         * sysdeps/s390/ffs.c (__ffs): Likewise.
1627         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1629 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1631         * NEWS: Mention malloc probes.
1633         * malloc/arena.c (new_heap): New memory_heap_new probe.
1634         (grow_heap): New memory_heap_more probe.
1635         (shrink_heap): New memory_heap_less probe.
1636         (heap_trim): New memory_heap_free probe.
1637         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1638         (systrim): New memory_sbrk_less probe.
1639         * manual/probes.texi: Document them.
1641         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1642         * manual/probes.texi: Document it.
1644         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1645         (__libc_realloc): Add memory_realloc_retry probe.
1646         (__libc_memalign): Add memory_memalign_retry probe.
1647         (__libc_valloc): Add memory_valloc_retry probe.
1648         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1649         (__libc_calloc): Add memory_calloc_retry probe.
1650         * manual/probes.texi: Document them.
1652         * malloc/arena.c (get_free_list): Add probe
1653         memory_arena_reuse_free_list.
1654         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1655         and memory_arena_reuse.
1656         (arena_get2) [!PER_THREAD]: Likewise.
1657         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1658         memory_arena_reuse_realloc.
1659         * manual/probes.texi: Document them.
1661         * malloc/malloc.c (__libc_free): Add
1662         memory_mallopt_free_dyn_thresholds probe.
1663         (__libc_mallopt): Add multiple memory_mallopt probes.
1664         * manual/probes.texi: Document them.
1666         * malloc/malloc.c: Include stap-probe.h.
1667         (__libc_mallopt): Add memory_mallopt probe.
1668         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1669         * manual/probes.texi: New.
1670         * manual/Makefile (chapters): Add probes.
1671         * manual/threads.texi: Set next node.
1673 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1675         [BZ #15963, #13985]
1676         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1677         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1678         Add `Chinese' to `nan' entry name.
1680 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1682         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1683         (POLYNOMIAL): Likewise.
1684         (TAYLOR_SINCOS): Likewise.
1685         (TAYLOR_SLOW): Likewise.
1686         (__sin): Use TAYLOR_SINCOS.
1687         (__cos): Likewise.
1688         (slow): Use TAYLOR_SLOW.
1689         (sloww): Likewise.
1690         (bsloww): Likewise.
1691         (csloww): Likewise.
1693 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1695         * stdlib/strtod_l.c: Fix buffer overrun.
1697 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1699         * benchtests/Makefile (bench): Add sincos.
1700         * benchtests/bench-sincos.c: New file.
1702         * math/libm-test.inc (cos_test_data): New test inputs.
1703         (sin_test_data): Likewise.
1705         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1706         macro.
1707         (__sin): Use it.
1708         (__cos): Likewise.
1709         (slow1): Likewise.
1710         (slow2): Likewise.
1711         (sloww1): Likewise.
1712         (sloww2): Likewise.
1713         (bsloww1): Likewise.
1714         (bsloww2): Likewise.
1715         (cslow2): Likewise.
1716         (csloww1): Likewise.
1717         (csloww2): Likewise.
1719         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1720         function.
1721         (__sin): Use it.
1722         (__cos): Likewise.
1724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1725         gotos.
1726         (__cos): Likewise.
1728 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1730         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1731         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1732         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1733         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1734         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1735         * elf/cache.c (print_entry): Handle the new cache flags.
1737 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1738             Aldy Hernandez  <aldyh@redhat.com>
1740         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1741         Change condition to [_SOFT_FLOAT].
1742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1754         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1757         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1758         declaration.
1760 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1762         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1763         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1764         (__longjmp): Use LOAD_GP to load saved GPRs.
1765         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1766         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1767         (__sigsetjmp): Use SAVE_GP to save GPRs.
1769         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1770         Do not append -msoft-float.
1771         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1773 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1775         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1777 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1779         [BZ #15966]
1780         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1781         (_FPU_GETCW): Use initial "__" on variable and field names but not
1782         on macro parameter name.
1783         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1784         parentheses around reference to macro parameter.
1786 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1788         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1789         prototype.
1790         (ctype_startup): Use uint32_t in cast and sizeof for
1791         ctype->charnames.
1793 2013-09-11  Jia Liu  <proljc@gmail.com>
1795         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1796         __daddr_t_defined.
1797         [__FreeBSD__]: Likewise.
1799 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1802         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1803         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1804         (strchr): Remove __strchr_sse42 ifunc selection.
1805         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1806         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1808 2013-09-11  Will Newton  <will.newton@linaro.org>
1810         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1811         parameter to RES. Remove hardcoded 1000 value.
1812         * benchtests/bench-skeleton.c (main): Pass RES parameter
1813         to TIMING_INIT and multiply result by 1000.
1815 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1819 2013-09-11  Andreas Schwab  <schwab@suse.de>
1821         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1822         if not defined.
1823         (O_TMPFILE) [__USE_GNU]: Define.
1824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1825         Define.
1827 2013-09-11  Will Newton  <will.newton@linaro.org>
1829         [BZ #15857]
1830         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1831         does not overflow.
1833 2013-09-11  Will Newton  <will.newton@linaro.org>
1835         [BZ #15856]
1836         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1837         does not overflow.
1839 2013-09-11  Will Newton  <will.newton@linaro.org>
1841         [BZ #15855]
1842         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1843         does not overflow.
1845 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1847         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1848         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1849         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1850         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1851         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1853 2013-09-10  Allan McRae  <allan@archlinux.org>
1855         [BZ #15748]
1856         * manual/arith.texi (Parsing of Floats): Clarify
1857         cross-reference.
1859         [BZ #15849]
1860         * manual/install.texi (Running make install): Mention
1861         --enable-pt-chown.
1862         * INSTALL: Regenerated.
1864 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1866         * csu/init-first.c (_init): Remove the !SHARED condition around
1867         FPU control word initialization.
1868         * elf/dl-support.c (_dl_fpu_control): New variable.
1869         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1870         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1871         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1872         * math/test-fpucw-static.c: New file.
1873         * math/test-fpucw-ieee.c: New file.
1874         * math/test-fpucw-ieee-static.c: New file.
1875         * math/Makefile (tests): Add `test-fpucw-ieee' and
1876         `$(tests-static)'.
1877         (tests-static): New variable.
1878         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1879         dependency to...
1880         [($(build-shared),yes)]
1881         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1882         ... this.
1883         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1884         New dependency.
1886 2013-09-09  Allan McRae  <allan@archlinux.org>
1888         [BZ #15939]
1889         * manual/string.texi (Collation Functions): Fix typo in
1890         strcoll example.
1891         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1893         [BZ #15893]
1894         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1896         [BZ #15892]
1897         * libio/memstream.c (open_memstream): Fix memory leak.
1898         * libio/wmemstream.c (open_wmemstream): Likewise.
1900         [BZ #15895]
1901         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1903 2013-09-09  Will Newton  <will.newton@linaro.org>
1905         * malloc/Makefile: Add tst-realloc to tests.
1906         * malloc/tst-realloc.c: New file.
1908 2013-09-09  Allan McRae  <allan@archlinux.org>
1910         [BZ #15844]
1911         * COPYING: Update from GNU website to fix FSF address.
1912         * COPYING.LIB: Likewise.
1914 2013-09-06  David S. Miller  <davem@davemloft.net>
1916         * po/zh_TW.po: Update Chinese (traditional) translation from
1917         translation project.
1919 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1920             Joseph Myers  <joseph@codesourcery.com>
1922         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1923         "localeinfo.h".
1924         (obstack_chunk_alloc): New macro.
1925         (obstack_chunk_free): Likewise.
1926         (record_offset): New function.
1927         (init_locale_data): Likewise.
1928         (align_locale_data): Likewise.
1929         (add_locale_empty): Likewise.
1930         (add_locale_raw_data): Likewise.
1931         (add_locale_raw_obstack): Likewise.
1932         (add_locale_string): Likewise.
1933         (add_locale_wstring): Likewise.
1934         (add_locale_uint32): Likewise.
1935         (add_locale_uint32_array): Likewise.
1936         (add_locale_char): Likewise.
1937         (start_locale_structure): Likewise.
1938         (end_locale_structure): Likewise.
1939         (start_locale_prelude): Likewise.
1940         (end_locale_prelude): Likewise.
1941         (write_locale_data): Take locale_file structure rather than an
1942         iovec.
1943         * locale/programs/locfile.h: Include "obstack.h".
1944         (struct locale_file): Change to store locale file contents instead
1945         of header.
1946         (init_locale_data): New prototype.
1947         (align_locale_data): Likewise.
1948         (add_locale_empty): Likewise.
1949         (add_locale_raw_data): Likewise.
1950         (add_locale_raw_obstack): Likewise.
1951         (add_locale_string): Likewise.
1952         (add_locale_wstring): Likewise.
1953         (add_locale_uint32): Likewise.
1954         (add_locale_uint32_array): Likewise.
1955         (add_locale_char): Likewise.
1956         (start_locale_structure): Likewise.
1957         (end_locale_structure): Likewise.
1958         (start_locale_prelude): Likewise.
1959         (end_locale_prelude): Likewise.
1960         (write_locale_data): Update prototype.
1961         * locale/programs/3level.h (struct TABLE): Remove result field.
1962         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1963         Use new locale_file interface.
1964         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1965         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1966         * locale/programs/ld-address.c (address_output): Use new
1967         locale_file interface.
1968         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1969         NO_ADD_LOCALE.
1970         (collate_finish): Don't call collseq_table_finalize.
1971         (collate_output): Use new locale_file interface.
1972         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1973         in file.
1974         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1975         (TABLE): Move defines earlier in file.
1976         (ELEMENT): Likewise.
1977         (DEFAULT): Likewise.
1978         (wctrans_table_add): Move macro and inline function earlier in
1979         file.
1980         (struct wctype_table): Move type earlier in file.
1981         (add_locale_wctype_table): New static prototype.
1982         (struct locale_ctype_t): Use logical types instead of struct iovec
1983         pointers for members.
1984         (ctype_output): Use new locale_file interface.
1985         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1986         new locale_file interface.
1987         (allocate_arrays): Update for use of new locale_file interface.
1988         * locale/programs/ld-identification.c (identification_output): Use
1989         new locale_file interface.
1990         * locale/programs/ld-measurement.c (measurement_output): Likewise.
1991         * locale/programs/ld-messages.c (messages_output): Likewise.
1992         * locale/programs/ld-monetary.c (monetary_output): Likewise.
1993         * locale/programs/ld-name.c (name_output): Likewise.
1994         * locale/programs/ld-numeric.c (numeric_output): Likewise.
1995         * locale/programs/ld-paper.c (paper_output): Likewise.
1996         * locale/programs/ld-telephone.c (telephone_output): Likewise.
1997         * locale/programs/ld-time.c (time_output): Likewise.
1999 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2001         * benchtests/Makefile: Add memrchr benchmark.
2002         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2003         benchmark as memrchr.
2004         * benchtests/bench-memrchr-ifunc.c: New file.
2005         * benchtests/bench-memrchr.c: New file.
2007 2013-09-06   Will Newton  <will.newton@linaro.org>
2009         * benchtests/Makefile (string-bench): Add memcpy.
2011 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2012             Cong Wang  <amwang@redhat.com>
2014         * sysdeps/unix/sysv/linux/bits/in.h
2015         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2016         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2017         before __USE_KERNEL_IPV6_DEFS uses.
2018         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2019         IPPROTO_BEETPH.
2020         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2021         sockaddr_in6, or ipv6_mreq.
2023 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2025         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2026         memory access for final bytes in some large inputs.
2027         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2029 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2031         * string/test-memrchr.c: New file.
2032         * string/test-memrchr-ifunc.c: New file.
2033         * string/Makefile: Add new memrchr testcase.
2035 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2037         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2038         fanotify_init returns EPERM.
2040 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2042         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2043         errors.
2044         (top level): Treat second token from macro or constant entries for
2045         allowed headers as allowed.
2046         * include/complex.h: Condition internal declarations on
2047         [!_ISOMAC].
2048         * include/fenv.h: Condition include of <stdbool.h> and internal
2049         declarations on [!_ISOMAC].
2051 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2053         [BZ #15923]
2054         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2056 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2058         * configure.in (--enable-versioning): Remove configure option.
2059         (libc_cv_asm_symver_directive): Remove configure test.
2060         (libc_cv_ld_version_script_option): Likewise.
2061         (VERSIONING): Remove variable and AC_SUBST.
2062         (DO_VERSIONING): Remove AC_DEFINE.
2063         * configure: Regenerated.
2064         * config.h.in (DO_VERSIONING): Remove macro.
2065         * Makerules [$(versioning) = yes]: Change conditionals to
2066         [$(build-shared) = yes].
2067         * config.make.in (versioning): Remove variable.
2068         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2069         [$(build-shared) = yes].
2070         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2071         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2072         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2073         [$(build-shared) = yes].
2074         * extra-lib.mk [$(versioning) = yes]: Likewise.
2075         * hurd/Makefile [$(versioning) = yes]: Likewise.
2076         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2077         [SHARED].
2078         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2079         [SHARED].
2080         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2081         [SHARED && !NO_HIDDEN].
2082         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2083         [SHARED].
2084         [SHARED && DO_VERSIONING]: Likewise..
2085         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2086         [$(build-shared) = yes].
2087         * manual/install.texi (--disable-versioning): Remove
2088         documentation.
2089         * INSTALL: Regenerated.
2090         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2091         to [SHARED].
2092         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2093         [$(build-shared) = yes].
2094         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2095         * sysdeps/i386/i686/multiarch/strstr-c.c
2096         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2097         [SHARED && !NO_HIDDEN].
2098         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2099         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2100         * sysdeps/powerpc/powerpc32/dl-machine.c
2101         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2102         * sysdeps/powerpc/powerpc32/sysdep.h
2103         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2104         to [SHARED && PIC && !NO_HIDDEN].
2105         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2106         conditional to [SHARED].
2108 2013-09-04   Will Newton  <will.newton@linaro.org>
2110         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2111         * benchtests/bench-string.h: Include bench-timing.h instead
2112         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2113         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2114         call to HP_TIMING_DIFF_INIT.
2115         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2116         instead of hp-timing.h macros.
2117         * benchtests/bench-memchr.c: Likewise.
2118         * benchtests/bench-memcmp.c: Likewise.
2119         * benchtests/bench-memcpy.c: Likewise.
2120         * benchtests/bench-memmem.c: Likewise.
2121         * benchtests/bench-memmove.c: Likewise.
2122         * benchtests/bench-memset.c: Likewise.
2123         * benchtests/bench-rawmemchr.c: Likewise.
2124         * benchtests/bench-strcasecmp.c: Likewise.
2125         * benchtests/bench-strcasestr.c: Likewise.
2126         * benchtests/bench-strcat.c: Likewise.
2127         * benchtests/bench-strchr.c: Likewise.
2128         * benchtests/bench-strcmp.c: Likewise.
2129         * benchtests/bench-strcpy.c: Likewise.
2130         * benchtests/bench-strcpy_chk.c: Likewise.
2131         * benchtests/bench-strlen.c: Likewise.
2132         * benchtests/bench-strncasecmp.c: Likewise.
2133         * benchtests/bench-strncat.c: Likewise.
2134         * benchtests/bench-strncmp.c: Likewise.
2135         * benchtests/bench-strncpy.c: Likewise.
2136         * benchtests/bench-strnlen.c: Likewise.
2137         * benchtests/bench-strpbrk.c: Likewise.
2138         * benchtests/bench-strrchr.c: Likewise.
2139         * benchtests/bench-strspn.c: Likewise.
2140         * benchtests/bench-strstr.c: Likewise.
2142 2013-09-04  Will Newton  <will.newton@linaro.org>
2144         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2146 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2148         [BZ #15427]
2149         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2150         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2151         * math/libm-test.inc (lgamma_test_data): Add more tests.
2152         * sysdeps/i386/fpu/libm-test-ulps: Update.
2153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2155 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2157         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2159         Add ifunc.
2160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2161         Add strcmp-sse2-unaligned
2162         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2164 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2166         * Versions.def (libc): Add GLIBC_2.19.
2168 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2170         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2171         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2173 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2175         [BZ #14155]
2176         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2177         intermediate calculations in recurrence.
2178         (__ieee754_ynf): Likewise.
2179         * math/libm-test.inc (jn_test_data): Do not allow spurious
2180         underflow exception.  Add more tests.
2181         (yn_test_data): Add more tests.
2182         * sysdeps/i386/fpu/libm-test-ulps: Update.
2183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2187         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2189 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2191         * csu/init-first.c: Fix then/than typos.
2192         * locale/programs/ld-collate.c: Likewise.
2193         * locale/programs/linereader.h: Likewise.
2194         * manual/charset.texi: Likewise.
2195         * manual/filesys.texi: Likewise.
2196         * manual/stdio.texi: Likewise.
2197         * manual/string.texi: Likewise.
2198         * stdlib/fmtmsg.c: Likewise.
2199         * sysdeps/i386/stpncpy.S: Likewise.
2200         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2201         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2202         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2203         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2205 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2207         * elf/dl-open.c: Fix typos.
2208         * iconvdata/gbbig5.c: Likewise.
2209         * iconvdata/iso-2022-jp.c: Likewise.
2210         * iconv/gconv_int.h: Likewise.
2211         * iconv/loop.c: Likewise.
2212         * nis/rpcsvc/nis.h: Likewise.
2213         * resolv/ns_name.c: Likewise.
2214         * stdio-common/vfscanf.c: Likewise.
2215         * streams/stropts.h: Likewise.
2216         * sunrpc/rpc_thread.c: Likewise.
2217         * sysdeps/i386/strpbrk.S: Likewise.
2218         * sysdeps/ieee754/k_standard.c: Likewise.
2219         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2220         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2221         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2222         * sysdeps/mach/hurd/profil.c: Likewise.
2223         * sysdeps/s390/dl-procinfo.h: Likewise.
2224         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2225         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2226         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2227         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2228         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2230 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2232         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2235 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2237         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2238         aix specific files.
2239         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2240         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2241         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2242         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2243         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2244         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2245         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2246         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2248 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2249             Roland McGrath  <roland@hack.frob.com>
2251         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2252         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2254 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2256         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2257         __executable_start symbol instead of _start.
2259 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2261         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2262         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2263         Move macros to...
2264         * sysdeps/gnu/ldsodefs.h: ... this new file.
2266         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2267         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2268         instead of ELFOSABI_LINUX.
2270         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2271         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2272         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2273         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2274         Likewise.
2275         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2276         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2277         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2278         Likewise.
2279         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2280         (ibm_extended_long_double): Add ieee_nan member.
2281         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2282         (do_test): New function.
2284         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2285         TEST_TRUNC.
2286         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2287         functions, renamed from truncdfsf_test, trunctfsf_test,
2288         trunctfdf_test.
2289         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2290         functions.
2291         (do_test): Run all these.
2293 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2295         * argp/argp-help.c: Fix typos.
2296         * argp/argp-parse.c: Likewise.
2297         * debug/backtracesyms.c: Likewise.
2298         * elf/elf.h: Likewise.
2299         * malloc/malloc.c: Likewise.
2300         * nis/nis_print.c: Likewise.
2301         * resolv/res_comp.c: Likewise.
2302         * stdlib/stdlib.h: Likewise.
2303         * sunrpc/clnt_tcp.c: Likewise.
2304         * sunrpc/clnt_udp.c: Likewise.
2305         * sunrpc/clnt_unix.c: Likewise.
2306         * sysdeps/unix/bsd/ptsname.c: Likewise.
2307         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2308         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2310         Likewise.
2311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2312         Likewise.
2313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2314         Likewise.
2315         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2317 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2319         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2322 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2324         [BZ #15897]
2325         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2326         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2327         ($(objpfx)bug-dl-leaf): New rule.
2328         ($(objpfx)bug-dl-leaf.so): Likewise.
2329         ($(objpfx)bug-dl-leaf.out): Likewise.
2330         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2331         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2332         * dlfcn/bug-dl-leaf.c: New test.
2333         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2334         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2335         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2336         (dlclose): Likewise.
2337         (dlmopen): Likewise.
2339 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2341         * include/netdb.h [!_ISOMAC]:
2342         Don't include <tls.h>.
2343         (h_errno, __libc_h_errno): Move declaration and macros out of
2344         [_LIBC_REENTRANT].
2346         * include/resolv.h [_RESOLV_H_]:
2347         Don't include <tls.h>.
2348         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2349         * resolv/res_libc.c: Don't include <tls.h>.
2350         (_res): Use __attribute__ ((nocommon)) in place of
2351         __attribute__ ((section (".bss"))).
2353         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2354         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2356         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2358         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2359         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2361         * resolv/res_mkquery.c: Include <sys/time.h>.
2363         * inet/ifreq.c: Moved to ...
2364         * sysdeps/unix/ifreq.c: ... here.
2365         * inet/ifreq.c: New file, true stub version.
2367         * socket/sa_len.c: New file.
2368         * socket/Makefile (aux): Add it.
2369         * sysdeps/unix/sysv/linux/Makefile
2370         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2371         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2372         and #include <socket/sa_len.c>.
2373         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2374         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2376         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2377         * bits/socket.h: ... here.
2379         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2380         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2381         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2383 2013-08-27  Andreas Schwab  <schwab@suse.de>
2385         [BZ #15736]
2386         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2387         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2388         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2389         * string/test-strcasecmp.c (test_main): Run tests in several
2390         locales.
2391         * string/test-strncasecmp.c (test_main): Likewise.
2393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2394         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2395         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2397         (__strncasecmp_ssse3) [PIC]: Likewise.
2399 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2401         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2403         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2404         instead of explicitly declaring xdecrypt.
2405         * nis/nss_nis/nis-publickey.c: Likewise.
2407 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2409         [BZ #15890]
2410         * nscd/aicache.c: Include res_hconf.h.
2411         (addhstaiX): Initialize res_hconf.
2413 2013-08-26  Andreas Schwab  <schwab@suse.de>
2415         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2416         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2418 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2420         * nscd/aicache.c (addhstaiX): Fix indentation.
2422 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2424         * configure.ac: Quote $build_pt_chown test.
2425         * configure: Regenerated.
2427 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2429         [BZ #15532]
2430         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2431         * math/s_cexpf.c (__cexpf): Likewise.
2432         * math/s_cexpl.c (__cexpl): Likewise.
2433         * math/libm-test.inc (cexp_test_data): Correct expected return
2434         value for NaN + i0.  Add another test.
2436 2013-08-22  David S. Miller  <davem@davemloft.net>
2438         * po/ca.po: Update Catalan translation from translation project.
2439         * po/uk.po: Add Ukrainian translations from translation project.
2441 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2443         [BZ #15797]
2444         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2445         is infinite, not alongside NaN test.
2446         * math/s_fdimf.c (__fdimf): Likewise.
2447         * math/s_fdiml.c (__fdiml): Likewise.
2448         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2449         errno is unchanged.
2451 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2453         * argp/argp-help.c: Fix typos.
2454         * crypt/speeds.c: Likewise.
2455         * csu/check_fds.c: Likewise.
2456         * elf/dl-load.c: Likewise.
2457         * elf/dl-open.c: Likewise.
2458         * elf/reldep3.c: Likewise.
2459         * elf/reldep.c: Likewise.
2460         * elf/sprof.c: Likewise.
2461         * iconv/iconv_charmap.c: Likewise.
2462         * iconv/skeleton.c: Likewise.
2463         * iconv/strtab.c: Likewise.
2464         * io/lockf64.c: Likewise.
2465         * libio/libioP.h: Likewise.
2466         * resolv/gai_notify.c: Likewise.
2467         * resolv/ns_name.c: Likewise.
2468         * resolv/ns_samedomain.c: Likewise.
2469         * resolv/res_send.c: Likewise.
2470         * stdlib/random.c: Likewise.
2471         * sunrpc/rpc/xdr.h: Likewise.
2472         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2473         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2474         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2475         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2476         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2477         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2479         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2480         * sysdeps/mach/hurd/check_fds.c: Likewise.
2481         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2482         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2484         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2485         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2486         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2487         * sysdeps/pthread/aio_notify.c: Likewise.
2488         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2489         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2490         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2491         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2492         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2494 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2496         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2497         version if bit_Slow_SSE4_2 is set.
2498         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2499         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2501 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2503         [BZ #15867]
2504         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2505         trampoline stack frame information.
2506         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2508         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2509         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2510         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2511         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2512         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2513         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2514         sa_flags value.
2515         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2516         interrupting a syscall and set with option SA_SIGINFO.
2518 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2520         [BZ #15531]
2521         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2522         argument is infinite.
2523         * math/s_cprojf.c (__cprojf): Likewise.
2524         * math/s_cprojl.c (__cprojl): Likewise.
2525         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2526         * math/libm-test.inc (cproj_test_data): Add more tests.
2528         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2530         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2531         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2532         size.  Use __ffs to determine corresponding shift.
2534 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2535             Roland McGrath  <roland@hack.frob.com>
2537         * Makefile (INSTALL): Remove trailing blank lines from output of
2538         makeinfo.
2540 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2542         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2543         Align 32 bit compat elf_greg to 8 bytes.
2545 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2547         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2549 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2551         * string/strcoll_l.c (coll_seq): New structure.
2552         (get_next_seq_cached): New function.
2553         (get_next_seq): New function.
2554         (do_compare): New function.
2555         (STRCOLL): Use GNU style definition.  Simplify implementation
2556         by using get_next_seq, get_next_seq_cached and do_compare.
2558 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2560         [BZ #14699]
2561         CVE-2013-4237
2562         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2563         member.
2564         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2565         member.
2566         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2567         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2568         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2569         conditional.
2570         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2571         GETDENTS_64BIT_ALIGNED.
2572         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2573         * manual/filesys.texi (Reading/Closing Directory): Document
2574         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2575         strongly.
2576         * manual/conf.texi (Limits for Files): Add portability note to
2577         NAME_MAX, PATH_MAX.
2578         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2580 2013-08-13  Andreas Schwab  <schwab@suse.de>
2582         [BZ #15749]
2583         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2584         of fabs.
2585         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2586         LDBL_MAX_EXP >= 16384]: Add tests for it.
2588 2013-08-12  David S. Miller  <davem@davemloft.net>
2590         * version.h (RELEASE): Set to "development".
2591         (VERSION): Set to "2.18.90".
2592         * NEWS: Add 2.19 section.
2594 2013-08-03  David S. Miller  <davem@davemloft.net>
2596         * po/ko.po: Update Korean translation from translation project.
2598 2013-08-01  David S. Miller  <davem@davemloft.net>
2600         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2601         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2602         Bilka.
2604 2013-07-30  David S. Miller  <davem@davemloft.net>
2606         * po/fr.po: Update French translation from translation project.
2608 2013-07-28  David S. Miller  <davem@davemloft.net>
2610         * po/cs.po: Update Czech translation from translation project.
2612         * po/sv.po: Update Swedish translation from translation project.
2614 2013-07-27  David S. Miller  <davem@davemloft.net>
2616         * po/eo.po: Update Esperanto translation from translation project.
2618         * po/vi.po: Update Vietnamese translation from translation project.
2620         * po/de.po: Update German translation from translation project.
2622 2013-07-26  David S. Miller  <davem@davemloft.net>
2624         * po/bg.po: Update Bulgarian translation from translation project.
2626         * po/nl.po: Update Dutch translation from translation project.
2627         * po/pl.po: Update Polish translation from translation project.
2628         * po/ru.po: Update Russian translation from translation project.
2630 2013-07-24  David S. Miller  <davem@davemloft.net>
2632         * po/libc.pot: Update.
2634 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2636         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2637         variable page size.
2638         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2639         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2640         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2642 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2644         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2646 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2647             Andreas Schwab  <schwab@suse.de>
2648             Roland McGrath  <roland@hack.frob.com>
2649             Joseph Myers  <joseph@codesourcery.com>
2650             Carlos O'Donell  <carlos@redhat.com>
2652         [BZ #15755]
2653         * config.h.in: Define HAVE_PT_CHOWN.
2654         * config.make.in (build-pt-chown): New variable.
2655         * configure.in (--enable-pt_chown): New configure option.
2656         * configure: Regenerate.
2657         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2658         build-pt-chown is enabled.
2659         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2660         pt_chown to fix pty ownership.
2661         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2662         CLOSE_ALL_FDS.
2663         * manual/install.texi (Configuring and compiling): Mention
2664         --enable-pt_chown. Add @findex for grantpt.
2665         * INSTALL: Regenerate.
2667 2013-07-20  David S. Miller  <davem@davemloft.net>
2669         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2670         difference between 32-bit and 64-bit.
2672 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2674         [BZ #15711]
2675         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2676         Avoid system header dependency with -ffreestanding.
2677         ($(objpfx)bits/syscall%d): Likewise.
2679 2013-07-13  David S. Miller  <davem@davemloft.net>
2681         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2682         underflows from atanl/atan2l due to bug 15319.
2683         (casinh_test_data): Likewise.
2685 2013-07-07  David S. Miller  <davem@davemloft.net>
2687         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2689 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2691         * sysdeps/i386/fpu/libm-test-ulps: Update.
2692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2694 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2696         * configure.in (--enable-lock-elision): Fix message text.
2697         * INSTALL: Regenerate.
2698         * configure: Regenerate.
2700 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2704 2013-07-03  Andreas Jaeger  <aj@suse.de>
2706         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2707         define.
2708         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2709         (ptrace_peeksiginfo_args): Add.
2710         (__ptrace_peeksiginfo_flags): Add.
2711         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2712         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2715 2013-07-03  Allan McRae  <allan@archlinux.org>
2717         * sysdeps/i386/fpu/libm-test-ulps: Update.
2719 2013-07-02  David S. Miller  <davem@davemloft.net>
2721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2723 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2727 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2729         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732 2013-07-02  Andi Kleen <ak@linux.intel.com>
2734         * config.h.in (ENABLE_LOCK_ELISION): Add.
2735         * configure.in (--enable-lock-elision): Add option.
2736         * manual/install.texi: Document --enable lock elision.
2737         * configure: Regenerate
2738         * INSTALL: Regenerate.
2740 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2742         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2743         SSE4.2 strcasecmp for libc.a.
2744         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2746 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2748         [BZ #13304]
2749         * soft-fp/op-common.h (_FP_FMA): New macro.
2750         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2751         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2752         (_FP_MUL_MEAT_1_imm): ... here.
2753         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2754         (_FP_MUL_MEAT_1_wide): ... here.
2755         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2756         (_FP_MUL_MEAT_1_hard): ... here.
2757         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2758         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2759         (_FP_MUL_MEAT_2_wide): ... here.
2760         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2761         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2762         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2763         (_FP_MUL_MEAT_2_gmp): ... here.
2764         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2765         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2766         (_FP_MUL_MEAT_4_wide): ... here.
2767         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2768         (_FP_MUL_MEAT_4_gmp): ... here.
2769         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2770         (_FP_WFRACBITS_DW_S): Likewise.
2771         (_FP_WFRACXBITS_DW_S): Likewise.
2772         (_FP_HIGHBIT_DW_S): Likewise.
2773         (FP_FMA_S): Likewise.
2774         (_FP_FRAC_HIGH_DW_S): Likewise.
2775         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2776         (_FP_WFRACBITS_DW_D): Likewise.
2777         (_FP_WFRACXBITS_DW_D): Likewise.
2778         (_FP_HIGHBIT_DW_D): Likewise.
2779         (FP_FMA_D): Likewise.
2780         (_FP_FRAC_HIGH_DW_D): Likewise.
2781         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2782         (_FP_WFRACBITS_DW_E): Likewise.
2783         (_FP_WFRACXBITS_DW_E): Likewise.
2784         (_FP_HIGHBIT_DW_E): Likewise.
2785         (FP_FMA_E): Likewise.
2786         (_FP_FRAC_HIGH_DW_E): Likewise.
2787         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2788         (_FP_WFRACBITS_DW_Q): Likewise.
2789         (_FP_WFRACXBITS_DW_Q): Likewise.
2790         (_FP_HIGHBIT_DW_Q): Likewise.
2791         (FP_FMA_Q): Likewise.
2792         (_FP_FRAC_HIGH_DW_Q): Likewise.
2793         * soft-fp/fmasf4.c: New file.
2794         * soft-fp/fmadf4.c: Likewise.
2795         * soft-fp/fmatf4.c: Likewise.
2797 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2800         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2801         Silvermont.
2802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2803         macro.
2804         (index_Slow_SSE4_2): Likewise.
2805         (index_Prefer_PMINUB_for_stringop): Likewise.
2806         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2807         bit_Slow_SSE4_2 is set.
2808         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2809         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2811 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2813         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2814         rtld_global._dl_hwcap2.
2815         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2816         POWER8.
2817         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2818         POWER8 feature descriptions defined in _dl_hwcap2.
2819         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2820         string handling for POWER8 feature bits.
2821         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2822         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2823         _dl_powerpc_cap_flags.
2824         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2825         * sysdeps/powerpc/rtld-global-offsets.sym
2826         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2827         _dl_hwcap2 in the rtld_global_ro structure.
2829 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2831         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2832         hardware capabilities in support of AT_HWCAP2.
2833         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2834         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2835         GLRO(dl_hwcap2).
2836         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2837         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2838         explicitly the unknown a_type display mechanism is used.
2839         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2840         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2841         struct member.
2842         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2843         to macro prototype for AT_HWCAP2 support.
2844         * sysdeps/i386/dl-procinfo.h: Likewise.
2845         * sysdeps/s390/dl-procinfo.h: Likewise.
2846         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2847         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2848         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2849         return -1 for unknown a_type display fallback.
2850         * sysdeps/sparc/dl-procinfo.h: Likewise.
2851         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2852         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2854 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2856         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2857         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2859 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2861         [BZ #12492]
2862         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2863         mprotect making __stack_prot writable.
2865 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2866             Joseph Myers  <joseph@codesourcery.com>
2868         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2869         as being properly aligned.
2871 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2873         * dlfcn/modstatic5.c: New file.
2874         * dlfcn/tststatic5.c: New file.
2875         * dlfcn/Makefile (tests): Add tststatic5.
2876         (tests-static): Likewise.
2877         (modules-names): Add modstatic5.
2878         (tststatic5-ENV): New variable.
2879         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2881         [BZ #15022]
2882         * elf/dl-support.c (_dl_main_map): New variable.
2883         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2884         (_dl_nns, _dl_load_adds): Set to 1.
2885         (_dl_initial_searchlist): Refer to _dl_main_map.
2886         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2887         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2888         call to _dl_get_origin.
2889         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2890         around call_map.
2891         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2892         * dlfcn/modstatic3.c: New file.
2893         * dlfcn/tststatic3.c: New file.
2894         * dlfcn/tststatic4.c: New file.
2895         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2896         (tests-static): Likewise.
2897         (modules-names): Add modstatic3.
2898         (tststatic3-ENV, tststatic4-ENV): New variables.
2899         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2900         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2902 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2904         * configure.in (CC): Require GCC version 4.4 or later.
2905         * configure: Regenerated.
2906         * manual/install.texi (Tools for Compilation): Update GCC version
2907         requirement.
2908         * INSTALL: Regenerated.
2910 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2912         [BZ #15674]
2913         * string/test-memcmp.c (check2): New.
2914         (main): Call check2.
2916         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2918 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2920         [BZ #15022]
2921         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2922         over to...
2923         (dl_open_worker) [!SHARED]: ... here.
2925 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2927         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2929 2013-06-25  Richard Henderson  <rth@redhat.com>
2931         * locale/programs/locarchive.c: Include <libc-internal.h>
2933 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2935         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2936         trailing whitespace removed.
2938 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2940         [BZ #10283]
2941         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2942         * locale/programs/locarchive.c: Include libc-mmap.h.
2943         (prepare_address_space): Take two new outputs (the mmap base and len).
2944         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2945         values.
2946         (create_archive): Declare new mmap base and len values for
2947         prepare_address_space, and store the result in ah.
2948         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2949         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2950         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2951         Declare new mmap base and len values for
2952         prepare_address_space, and store the result in new_ah.
2953         (open_archive): Declare new mmap base and len values for
2954         prepare_address_space, and store the result in ah.
2955         (close_archive): If ah->mmap_base is not NULL, use that and
2956         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2957         * sysdeps/generic/libc-mmap.h: New file.
2959 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2961         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2962         (ALIGN_UP): Likewise.
2963         (PTR_ALIGN_DOWN): Likewise.
2964         (PTR_ALIGN_UP): Likewise.
2966 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2968         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2969         entry mapped to PPC_PLATFORM_POWER8.
2970         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2971         POWER8.
2972         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2973         (_dl_string_platform): Add case for exporting platform position for
2974         POWER8.
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2976         search path to sysdeps/powerpc/powerpc32/power8 directory.
2977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2978         search path to sysdeps/powerpc/powerpc64/power8 directory.
2979         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2980         power7 directories.
2981         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2982         power7 directories.
2984 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2986         * INSTALL: Regenerate.
2988         * nscd/connections.c (nscd_init): Fix comment.
2990 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
2992         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2994         [BZ #15667]
2995         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2996         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2998 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3000         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3001         DL_DST_REQ_STATIC.
3002         (DL_DST_REQ_STATIC): Remove macro.
3004 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3006         [BZ #7006]
3007         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3008         with a shift of 0 bits.
3010 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3012         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3013         $(tststatic-ENV).
3015 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3017         [BZ #15655]
3018         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3020 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3022         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3023         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3024         accepts -fno-tree-loop-distribute-patterns.
3025         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3026         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3027         recursive call.
3028         * string/memset.c (memset): Likewise.
3029         * string/test-memmove.c (simple_memmove): Disable loop transformation
3030         to library calls.
3031         * string/test-memset.c (simple_memset): Likewise.
3032         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3033         * benchtests/bench-memset.c (simple_memset): Likewise.
3034         * configure: Regenerated.
3036 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3038         * math/test-misc.c (main): Ignore fesetround failure when failures
3039         of subsequent rounding tests would be ignored.
3041         [BZ #15654]
3042         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3043         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3044         * math/fegetenv.c (__fegetenv): Return 0.
3045         * math/fegetexcept.c (fegetexcept): Return 0.
3046         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3047         FE_TONEAREST.
3048         * math/feholdexcpt.c (feholdexcept): Return 0.
3049         * math/fesetenv.c (__fesetenv): Return 0.
3050         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3051         argument FE_TONEAREST.
3052         * math/feupdateenv.c (__feupdateenv): Return 0.
3053         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3055 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3057         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3058         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3059         ($(objpfx)rtld-%.os rules): Use them.
3061 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3063         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3064         fields.
3066 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3068         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3069         length of target pattern, then descending length of dependency pattern.
3070         * configure.in (AWK): Require gawk 3.1.2 or newer.
3071         * manual/install.texi (Tools for Compilation): Say that we do.
3072         * configure: Regenerated.
3074         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3075         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3076         * scripts/sysd-rules.awk: ... this new script.
3077         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3078         than a glob-style pattern.
3080 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3082         * math/test-misc.c (main): Do not treat incorrectly rounded
3083         conversions as failure unless ROUNDING_TESTS passes.
3085 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #15631]
3088         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3089         restore exception state around main square root computation, then
3090         check for inexactness explicitly.
3092         * math/libm-test.inc (fma_test_data): Add another test.
3094 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3096         * manual/threads.texi (Non-POSIX Extensions): New document
3097         node.  Document pthread_getattr_default_np and
3098         pthread_setattr_default_np.
3100         * Versions.def (libpthread): Add GLIBC_2.18.
3101         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3105         Likewise.
3106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3109         Likewise.
3110         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3111         Likewise.
3112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3113         Likewise.
3114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3115         Likewise.
3116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3117         Likewise.
3118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3119         Likewise.
3121 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3124         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3126 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3127             H.J. Lu  <hjl.tools@gmail.com>
3129         [BZ #15627]
3130         * sysdeps/x86_64/rtld-memset.c: Remove file.
3131         * sysdeps/x86_64/rtld-memset.S: New file.
3133 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3135         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3136         (test_in_one_mode): Take arguments for whether the rounding mode
3137         is supported for each floating-point type.
3138         (do_test): Pass new arguments to test_in_one_mode using
3139         ROUNDING_TESTS.
3141 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3143         * posix/tst-waitid.c (do_test): Distinguish different instances of
3144         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3145         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3146         before entering the kernel for waitpid.
3148 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3150         * NEWS: Fix note on clock function precision.  Text by Roland
3151         McGrath.
3153 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3155         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3156         it into place only when and if the sanity check passes.
3158 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3160         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3161         output for whether conversion result is exact.  Take argument
3162         indicating whether type is IBM long double.
3163         (round_for_all): Change need_exact field to ibm_ld.
3164         * stdlib/tst-strtod-round.c (struct exactness): New type.
3165         (struct test): Change bool ld_ok field to struct exactness exact.
3166         (TEST): Update all definitions for change to field.
3167         (tests): Regenerate array contents.
3168         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3169         field value.  Check for IBM long double here.
3170         (do_test): Update calls to test_in_one_mode.
3172 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3174         [BZ #12515]
3175         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3176         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3178 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3180         [BZ #15605]
3181         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3182         generated by the compiler on loop optimizations.
3183         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3184         general definitions.
3186 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3188         * math/bug-nextafter.c: Include <math-tests.h>.
3189         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3190         the relevant type.
3191         * math/bug-nexttoward.c: Include <math-tests.h>.
3192         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3193         the relevant type.
3194         * math/test-misc.c: Include <math-tests.h>.
3195         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3196         the relevant type.
3198 2013-06-12  Andreas Jaeger  <aj@suse.de>
3200         * po/ia.po: Update Interlingua translation from translation
3201         project.
3203 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3205         * include/fenv.h: Include stdbool.h.
3206         (struct rm_ctx): New structure.
3207         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3208         Define macro.
3209         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3210         (SET_RESTORE_ROUNDF): Likewise.
3211         (SET_RESTORE_ROUNDL): Likewise.
3212         (SET_RESTORE_ROUND_NOEX): Likewise.
3213         (SET_RESTORE_ROUND_NOEXF): Likewise.
3214         (SET_RESTORE_ROUND_NOEXL): Likewise.
3215         (SET_RESTORE_ROUND_53BIT): Likewise.
3216         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3217         (libc_feresetround_noexf_ctx): Likewise.
3218         (libc_feresetround_noexl_ctx): Likewise.
3219         (libc_feholdsetround_53bit_ctx): Likewise.
3220         (libc_feresetround_53bit_ctx): Likewise.
3221         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3222         (libc_feholdexcept_setround_sse_ctx): New function.
3223         (libc_fesetenv_sse_ctx): Likewise.
3224         (libc_feupdateenv_sse_ctx): Likewise.
3225         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3226         (libc_feholdexcept_setround_387_ctx): Likewise.
3227         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3228         (libc_feholdsetround_387_prec_ctx): Likewise.
3229         (libc_feholdsetround_387_ctx): Likewise.
3230         (libc_feholdsetround_387_53bit_ctx): Likewise.
3231         (libc_feholdsetround_sse_ctx): Likewise.
3232         (libc_feresetround_sse_ctx): Likewise.
3233         (libc_feresetround_387_ctx): Likewise.
3234         (libc_feupdateenv_387_ctx): Likewise.
3235         (libc_feholdexcept_setroundf_ctx): Define macro.
3236         (libc_fesetenvf_ctx): Likewise.
3237         (libc_feupdateenvf_ctx): Likewise.
3238         (libc_feholdsetroundf_ctx): Likewise.
3239         (libc_feresetroundf_ctx): Likewise.
3240         (libc_feholdexcept_setround_ctx): Likewise.
3241         (libc_fesetenv_ctx): Likewise.
3242         (libc_feupdateenv_ctx): Likewise.
3243         (libc_feholdsetround_ctx): Likewise.
3244         (libc_feresetround_ctx): Likewise.
3245         (libc_feholdexcept_setroundl_ctx): Likewise.
3246         (libc_feupdateenvl_ctx): Likewise.
3247         (libc_feholdsetroundl_ctx): Likewise.
3248         (libc_feresetroundl_ctx): Likewise.
3249         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3250         (libc_feresetround_53bit_ctx): Likewise.
3252 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3254         * locale/iso-639.def: Convert to UTF-8.
3256 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3258         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3259         (EXCEPTION_TESTS_double): Likewise.
3260         (EXCEPTION_TESTS_long_double): Likewise.
3261         (EXCEPTION_TESTS): Likewise.
3262         * math/libm-test.inc (test_exceptions): Only test exceptions if
3263         EXCEPTION_TESTS (FLOAT).
3265 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3267         * benchtests/Makefile (string-bench): Add strcpy_chk and
3268         stpcpy_chk.
3269         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3270         * benchtests/bench-stpcpy_chk.c: New file.
3271         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3272         * benchtests/bench-strcpy_chk.c: New file.
3273         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3274         code.
3275         (do_test): Likewise.
3277 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3279         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3280         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3281         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3282         with tabs where appropriate.
3283         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3284         dl-procinfo.h.
3285         [PPC_PLATFORM_PPC440]: Likewise.
3286         [PPC_PLATFORM_PPC464]: Likewise.
3287         [PPC_PLATFORM_PPC476]: Likewise.
3288         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3289         ppc464, and ppc476 platform strings merging from ports/
3290         dl-procinfo.h.
3292 2013-06-11  Andreas Schwab  <schwab@suse.de>
3294         [BZ #14991]
3295         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3296         (from_ucs4_idx): Regenerate.
3297         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3298         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3299         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3300         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3301         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3302         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3303         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3304         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3305         from FROM_LOOP and TO_LOOP specific macros.
3306         (BODY): Handle combining characters.
3307         * iconvdata/BIG5HKSCS.irreversible: Update.
3308         * iconvdata/BIG5HKSCS.precomposed: New file.
3309         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3310         characters.
3311         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3313 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3315         * include/sys/time.h: Fix indentation and add copyright header.
3317         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3318         (do_test): Likewise.
3319         * string/test-memchr.c (do_one_test): Likewise.
3320         (do_test): Likewise.
3321         * string/test-memcmp.c (do_one_test): Likewise.
3322         (do_test): Likewise.
3323         * string/test-memcpy.c (do_one_test): Likewise.
3324         (do_test): Likewise.
3325         * string/test-memmem.c (do_one_test): Likewise.
3326         (do_test): Likewise.
3327         (do_random_tests): Likewise.
3328         * string/test-memmove.c (do_one_test): Likewise.
3329         (do_test): Likewise.
3330         * string/test-memset.c (do_one_test): Likewise.
3331         (do_test): Likewise.
3332         * string/test-rawmemchr.c (do_one_test): Likewise.
3333         (do_test): Likewise.
3334         * string/test-strcasecmp.c (do_one_test): Likewise.
3335         (do_test): Likewise.
3336         * string/test-strcasestr.c (do_one_test): Likewise.
3337         (do_test): Likewise.
3338         * string/test-strcat.c (do_one_test): Likewise.
3339         (do_test): Likewise.
3340         * string/test-strchr.c (do_one_test): Likewise.
3341         (do_test): Likewise.
3342         * string/test-strcmp.c (do_one_test): Likewise.
3343         (do_test): Likewise.
3344         * string/test-strcpy.c (do_one_test): Likewise.
3345         (do_test): Likewise.
3346         * string/test-string.h: Likewise.
3347         (test_init): Likewise.
3348         * string/test-strlen.c (do_one_test): Likewise.
3349         (do_test): Likewise.
3350         * string/test-strncasecmp.c (do_one_test): Likewise.
3351         (do_test): Likewise.
3352         * string/test-strncat.c (do_one_test): Likewise.
3353         (do_test): Likewise.
3354         * string/test-strncmp.c (do_one_test): Likewise.
3355         (do_test_limit): Likewise.
3356         (do_test): Likewise.
3357         * string/test-strncpy.c (do_one_test): Likewise.
3358         (do_test): Likewise.
3359         * string/test-strnlen.c (do_one_test): Likewise.
3360         (do_test): Likewise.
3361         * string/test-strpbrk.c (do_one_test): Likewise.
3362         (do_test): Likewise.
3363         * string/test-strrchr.c (do_one_test): Likewise.
3364         (do_test): Likewise.
3365         * string/test-strspn.c (do_one_test): Likewise.
3366         (do_test): Likewise.
3367         * string/test-strstr.c (do_one_test): Likewise.
3368         (do_test): Likewise.
3370         * benchtests/Makefile (string-bench): Add string benchmarks.
3371         * benchtests/bench-bcopy-ifunc.c: New file.
3372         * benchtests/bench-bcopy.c: New file.
3373         * benchtests/bench-bzero-ifunc.c: New file.
3374         * benchtests/bench-bzero.c: New file.
3375         * benchtests/bench-memccpy-ifunc.c: New file.
3376         * benchtests/bench-memccpy.c: New file.
3377         * benchtests/bench-memchr-ifunc.c: New file.
3378         * benchtests/bench-memchr.c: New file.
3379         * benchtests/bench-memcmp-ifunc.c: New file.
3380         * benchtests/bench-memcmp.c: New file.
3381         * benchtests/bench-memmem-ifunc.c: New file.
3382         * benchtests/bench-memmem.c: New file.
3383         * benchtests/bench-memmove-ifunc.c: New file.
3384         * benchtests/bench-memmove.c: New file.
3385         * benchtests/bench-mempcpy-ifunc.c: New file.
3386         * benchtests/bench-mempcpy.c: New file.
3387         * benchtests/bench-memset-ifunc.c: New file.
3388         * benchtests/bench-memset.c: New file.
3389         * benchtests/bench-rawmemchr-ifunc.c: New file.
3390         * benchtests/bench-rawmemchr.c: New file.
3391         * benchtests/bench-stpcpy-ifunc.c: New file.
3392         * benchtests/bench-stpcpy.c: New file.
3393         * benchtests/bench-stpncpy-ifunc.c: New file.
3394         * benchtests/bench-stpncpy.c: New file.
3395         * benchtests/bench-strcasecmp-ifunc.c: New file.
3396         * benchtests/bench-strcasecmp.c: New file.
3397         * benchtests/bench-strcasestr-ifunc.c: New file.
3398         * benchtests/bench-strcasestr.c: New file.
3399         * benchtests/bench-strcat-ifunc.c: New file.
3400         * benchtests/bench-strcat.c: New file.
3401         * benchtests/bench-strchr-ifunc.c: New file.
3402         * benchtests/bench-strchr.c: New file.
3403         * benchtests/bench-strchrnul-ifunc.c: New file.
3404         * benchtests/bench-strchrnul.c: New file.
3405         * benchtests/bench-strcmp-ifunc.c: New file.
3406         * benchtests/bench-strcmp.c: New file.
3407         * benchtests/bench-strcpy-ifunc.c: New file.
3408         * benchtests/bench-strcpy.c: New file.
3409         * benchtests/bench-strcspn-ifunc.c: New file.
3410         * benchtests/bench-strcspn.c: New file.
3411         * benchtests/bench-strlen-ifunc.c: New file.
3412         * benchtests/bench-strlen.c: New file.
3413         * benchtests/bench-strncasecmp-ifunc.c: New file.
3414         * benchtests/bench-strncasecmp.c: New file.
3415         * benchtests/bench-strncat-ifunc.c: New file.
3416         * benchtests/bench-strncat.c: New file.
3417         * benchtests/bench-strncmp-ifunc.c: New file.
3418         * benchtests/bench-strncmp.c: New file.
3419         * benchtests/bench-strncpy-ifunc.c: New file.
3420         * benchtests/bench-strncpy.c: New file.
3421         * benchtests/bench-strnlen-ifunc.c: New file.
3422         * benchtests/bench-strnlen.c: New file.
3423         * benchtests/bench-strpbrk-ifunc.c: New file.
3424         * benchtests/bench-strpbrk.c: New file.
3425         * benchtests/bench-strrchr-ifunc.c: New file.
3426         * benchtests/bench-strrchr.c: New file.
3427         * benchtests/bench-strspn-ifunc.c: New file.
3428         * benchtests/bench-strspn.c: New file.
3429         * benchtests/bench-strstr-ifunc.c: New file.
3430         * benchtests/bench-strstr.c: New file.
3432         * benchtests/Makefile: Disable parallel execution of targets.
3433         (string-bench): Add memcpy.
3434         (benchset): New variable to store a list of benchmark sets.
3435         (bench-func): Renamed from bench.
3436         (bench-set): New target.
3437         (bench): Depend on bench-func and bench-set.
3438         * benchtests/README: Add section on benchmark sets.
3439         * benchtests/bench-memcpy-ifunc.c: New file.
3440         * benchtests/bench-memcpy.c: New file.
3441         * benchtests/bench-string.h: New file.
3443 2013-06-11  Andreas Schwab  <schwab@suse.de>
3445         [BZ #15577]
3446         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3447         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3448         values in the triple.
3449         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3450         terminator in the group key.
3452 2013-06-11  Andreas Jaeger  <aj@suse.de>
3454         * po/zh_TW.po: Update Chinese (traditional) translation from
3455         translation project.
3457 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3459         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3460         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3461         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3462         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3463         (clock_getcpuclockid): Likewise.
3464         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3465         Add weak_alias and libc_hidden_def.
3466         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3467         * rt/clock_gettime.c (clock_gettime): Rename to
3468         __clock_gettime.  Add weak_alias and libc_hidden_def.
3469         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3470         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3471         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3472         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3473         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3474         Likewise.
3475         * rt/clock_settime.c (clock_settime): Rename to
3476         __clock_settime.  Add weak_alias and libc_hidden_def.
3477         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3479 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3481         * mach/err_boot.sub: Remove trailing whitespace.
3482         * mach/err_ipc.sub: Likewise.
3483         * mach/err_mach.sub: Likewise.
3485         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3486         (ROUNDING_TESTS_double): Likewise.
3487         (ROUNDING_TESTS_long_double): Likewise.
3488         (ROUNDING_TESTS): Likewise.
3489         * math/libm-test.inc: Include <math-tests.h>.
3490         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3491         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3492         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3493         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3495 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3497         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3498         of assigning.
3500 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3502         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3503         otherwise empty TRANS lines.
3504         * sysdeps/gnu/errlist.c: Regenerated.
3506         * catgets/gencat.c (error_print): Use (void) in function
3507         definition.
3508         * crypt/crypt_util.c (__init_des): Likewise.
3509         * crypt/speeds.c (Stop): Likewise.
3510         (main): Likewise.
3511         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3512         * inet/ruserpass.c (token): Likewise.
3513         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3514         * intl/localealias.c (extend_alias_table): Likewise.
3515         * intl/plural-exp.c (init_germanic_plural): Likewise.
3516         * libio/fcloseall.c (__fcloseall): Likewise.
3517         * libio/genops.c (_IO_flush_all): Likewise.
3518         (_IO_flush_all_linebuffered): Likewise.
3519         (_IO_cleanup): Likewise.
3520         (_IO_iter_begin): Likewise.
3521         (_IO_iter_end): Likewise.
3522         (_IO_list_lock): Likewise.
3523         (_IO_list_unlock): Likewise.
3524         (_IO_list_resetlock): Likewise.
3525         * libio/getchar.c (getchar): Likewise.
3526         * libio/getchar_u.c (getchar_unlocked): Likewise.
3527         * libio/getwchar.c (getwchar): Likewise.
3528         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3529         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3530         * login/getpt.c (__getpt): Likewise.
3531         * login/tst-utmp.c (main): Likewise.
3532         * malloc/hooks.c (__malloc_check_init): Likewise.
3533         * malloc/malloc.c (__malloc_stats): Likewise.
3534         * malloc/mtrace.c (tr_break): Likewise.
3535         (mtrace): Likewise.
3536         (muntrace): Likewise.
3537         * misc/fstab.c (endfsent): Likewise.
3538         * misc/getclktck.c (__getclktck): Likewise.
3539         * misc/getdtsz.c (__getdtablesize): Likewise.
3540         * misc/gethostid.c (gethostid): Likewise.
3541         * misc/getpagesize.c (__getpagesize): Likewise.
3542         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3543         (__get_nprocs): Likewise.
3544         (__get_phys_pages): Likewise.
3545         (__get_avphys_pages): Likewise.
3546         * misc/getttyent.c (getttyent): Likewise.
3547         (setttyent): Likewise.
3548         (endttyent): Likewise.
3549         * misc/getusershell.c (getusershell): Likewise.
3550         (endusershell): Likewise.
3551         (setusershell): Likewise.
3552         (initshells): Likewise.
3553         * misc/hsearch.c (__hdestroy): Likewise.
3554         * misc/sync.c (sync): Likewise.
3555         * misc/syslog.c (closelog_internal): Likewise.
3556         (closelog): Likewise.
3557         * misc/ttyslot.c (ttyslot): Likewise.
3558         * misc/vhangup.c (vhangup): Likewise.
3559         * posix/fork.c (__fork): Likewise.
3560         * posix/getegid.c (__getegid): Likewise.
3561         * posix/geteuid.c (__geteuid): Likewise.
3562         * posix/getgid.c (__getgid): Likewise.
3563         * posix/getpid.c (__getpid): Likewise.
3564         * posix/getppid.c (__getppid): Likewise.
3565         * posix/getuid.c (__getuid): Likewise.
3566         * posix/pause.c (pause): Likewise.
3567         * posix/setpgrp.c (setpgrp): Likewise.
3568         * posix/setsid.c (__setsid): Likewise.
3569         * posix/test-vfork.c (noop): Likewise.
3570         * resolv/gethnamaddr.c (_endhtent): Likewise.
3571         (_gethtent): Likewise.
3572         (ht_endhostent): Likewise.
3573         (gethostent): Likewise.
3574         (dns_service): Likewise.
3575         * stdlib/drand48.c (drand48): Likewise.
3576         * stdlib/lrand48.c (lrand48): Likewise.
3577         * stdlib/mrand48.c (mrand48): Likewise.
3578         * stdlib/rand.c (rand): Likewise.
3579         * stdlib/random.c (__random): Likewise.
3580         * stdlib/setenv.c (clearenv): Likewise.
3581         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3582         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3583         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3584         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3585         (__get_nprocs): Likewise.
3586         (__get_phys_pages): Likewise.
3587         (__get_avphys_pages): Likewise.
3588         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3589         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3590         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3591         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3592         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3593         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3594         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3595         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3596         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3597         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3598         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3599         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3600         * sysdeps/posix/clock.c (clock): Likewise.
3601         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3602         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3603         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3604         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3605         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3606         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3607         (__get_nprocs_conf): Likewise.
3608         (__get_phys_pages): Likewise.
3609         (__get_avphys_pages): Likewise.
3610         * time/clock.c (clock): Likewise.
3611         * time/tzset.c (__tzname_max): Likewise.
3613 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3615         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3616         (__bswap_32): Do not use "register".
3617         * crypt/crypt.c (_ufc_doit_r): Likewise.
3618         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3619         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3620         * gmon/gmon.c (__monstartup): Likewise.
3621         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3622         * hurd/hurdmalloc.c (more_memory): Likewise.
3623         (malloc): Likewise.
3624         (free): Likewise.
3625         (realloc): Likewise.
3626         (malloc_fork_prepare): Likewise.
3627         (malloc_fork_parent): Likewise.
3628         (malloc_fork_child): Likewise.
3629         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3630         (_svcauth_des): Likewise.
3631         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3632         * inet/inet_net.c (inet_network): Likewise.
3633         * inet/inet_netof.c (inet_netof): Likewise.
3634         * inet/rcmd.c (__validuser2_sa): Likewise.
3635         * io/fts.c (fts_open): Likewise.
3636         (fts_load): Likewise.
3637         (fts_close): Likewise.
3638         (fts_read): Likewise.
3639         (fts_children): Likewise.
3640         (fts_build): Likewise.
3641         (fts_stat): Likewise.
3642         (fts_sort): Likewise.
3643         (fts_alloc): Likewise.
3644         (fts_lfree): Likewise.
3645         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3646         (_IO_file_xsgetn): Likewise.
3647         (_IO_file_xsgetn_mmap): Likewise.
3648         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3649         (_IO_cookie_write): Likewise.
3650         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3651         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3652         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3653         * malloc/obstack.c (_obstack_begin): Likewise.
3654         (_obstack_begin_1): Likewise.
3655         (_obstack_newchunk): Likewise.
3656         (_obstack_allocated_p): Likewise.
3657         (obstack_free): Likewise.
3658         (_obstack_memory_used): Likewise.
3659         * misc/getttyent.c (getttynam): Likewise.
3660         (getttyent): Likewise.
3661         (skip): Likewise.
3662         (value): Likewise.
3663         * misc/getusershell.c (initshells): Likewise.
3664         * misc/syslog.c (__vsyslog_chk): Likewise.
3665         * misc/ttyslot.c (ttyslot): Likewise.
3666         * nis/nis_hash.c (__nis_hash): Likewise.
3667         * posix/fnmatch_loop.c (FCT): Likewise.
3668         * posix/getconf.c (print_all): Likewise.
3669         (main): Likewise.
3670         * posix/getopt.c (exchange): Likewise.
3671         * posix/glob.c (globfree): Likewise.
3672         (prefix_array): Likewise.
3673         (__glob_pattern_type): Likewise.
3674         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3675         (NS_GET32): Likewise.
3676         (NS_PUT16): Likewise.
3677         (NS_PUT32): Likewise.
3678         * resolv/gethnamaddr.c (getanswer): Likewise.
3679         (gethostbyname2): Likewise.
3680         (gethostbyaddr): Likewise.
3681         (_gethtent): Likewise.
3682         (_gethtbyname2): Likewise.
3683         (_gethtbyaddr): Likewise.
3684         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3685         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3686         * resolv/res_init.c (__res_vinit): Likewise.
3687         (net_mask): Likewise.
3688         * resolv/res_mkquery.c (outchar): Likewise.
3689         (PRINT): Likewise.
3690         * stdio-common/printf_fp.c (outchar): Likewise.
3691         (PRINT): Likewise.
3692         * stdio-common/printf_fphex.c (outchar): Likewise.
3693         (PRINT): Likewise.
3694         * stdio-common/printf_size.c (outchar): Likewise.
3695         (PRINT): Likewise.
3696         * stdio-common/test_rdwr.c (main): Likewise.
3697         * stdio-common/tfformat.c (matches): Likewise.
3698         * stdio-common/vfprintf.c (outchar): Likewise.
3699         (printf_unknown): Likewise.
3700         (buffered_vfprintf): Likewise.
3701         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3702         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3703         (ReadFile): Likewise.
3704         * stdlib/qsort.c (SWAP): Likewise.
3705         (_quicksort): Likewise.
3706         * stdlib/setenv.c (__add_to_environ): Likewise.
3707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3708         * stdlib/strtol_l.c (__strtol_l): Likewise.
3709         * stdlib/tst-strtod.c (main): Likewise.
3710         * stdlib/tst-strtol.c (main): Likewise.
3711         * stdlib/tst-strtoll.c (main): Likewise.
3712         * string/bits/string2.h (__strcmp_cc): Likewise.
3713         (__strcmp_cg): Likewise.
3714         (__strcspn_c1): Likewise.
3715         (__strcspn_c2): Likewise.
3716         (__strcspn_c3): Likewise.
3717         (__strspn_c1): Likewise.
3718         (__strspn_c2): Likewise.
3719         (__strspn_c3): Likewise.
3720         (__strsep_1c): Likewise.
3721         (__strsep_2c): Likewise.
3722         (__strsep_3c): Likewise.
3723         * string/memccpy.c (__memccpy): Likewise.
3724         * string/stpcpy.c (__stpcpy): Likewise.
3725         * string/strcmp.c (strcmp): Likewise.
3726         * string/strrchr.c (strrchr): Likewise.
3727         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3728         Likewise.
3729         * sysdeps/mach/hurd/getcwd.c
3730         (_hurd_canonicalize_directory_name_internal): Likewise.
3731         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3732         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3733         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3734         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3735         Likewise, in both definitions.
3736         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3737         definitions.
3738         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3739         64] (__bswap_64): Likewise.
3740         * time/test_time.c (main): Likewise.
3741         * time/tzfile.c (__tzfile_read): Likewise.
3742         (__tzfile_compute): Likewise.
3743         * time/tzset.c (__tzset_parse_tz): Likewise.
3744         (tzset_internal): Likewise.
3745         (compute_change): Likewise.
3746         * wcsmbs/wcscat.c (__wcscat): Likewise.
3747         * wcsmbs/wcschr.c (wcschr): Likewise.
3748         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3749         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3750         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3751         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3752         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3753         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3754         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3755         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3756         * wcsmbs/wmemset.c (wmemset): Likewise.
3758 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3760         * scripts/config.guess: Update to version 2013-05-16.
3761         * scripts/config.sub: Update to version 2013-04-24.
3762         * scripts/install-sh: Update to version 2011-11-20.07.
3763         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3764         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3766 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3768         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3769         * elf/sln.c: Likewise.
3770         * hurd/hurd/ioctl.h: Likewise.
3771         * hurd/hurdmalloc.c: Likewise.
3772         * hurd/xattr.c: Likewise.
3773         * include/shlib-compat.h: Likewise.
3774         * inet/ruserpass.c: Likewise.
3775         * libio/iofgets_u.c: Likewise.
3776         * libio/iofgetws_u.c: Likewise.
3777         * locale/programs/ld-identification.c: Likewise.
3778         * locale/programs/ld-time.c: Likewise.
3779         * mach/msg-destroy.c: Likewise.
3780         * nss/nss_files/files-netgrp.c: Likewise.
3781         * resolv/res_data.c: Likewise.
3782         * soft-fp/op-1.h: Likewise.
3783         * soft-fp/op-2.h: Likewise.
3784         * soft-fp/op-4.h: Likewise.
3785         * soft-fp/op-common.h: Likewise.
3786         * stdio-common/printf_fphex.c: Likewise.
3787         * stdlib/strtod_l.c: Likewise.
3788         * sunrpc/rpc/clnt.h: Likewise.
3789         * sysdeps/generic/framestate.c: Likewise.
3790         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3791         * sysdeps/i386/bsd-setjmp.S: Likewise.
3792         * sysdeps/i386/__longjmp.S: Likewise.
3793         * sysdeps/i386/setjmp.S: Likewise.
3794         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3795         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3796         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3797         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3798         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3799         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3800         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3801         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3802         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3803         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3804         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3805         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3806         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3807         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3808         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3810         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3811         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3812         * sysdeps/ieee754/support.c: Likewise.
3813         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3814         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3815         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3816         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3817         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3818         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3819         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3820         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3821         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3822         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3823         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3824         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3825         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3826         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3827         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3828         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3829         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3832 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3834         * posix/transbug.c: Remove executable mode.
3836 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3838         * crypt/speeds.c: Remove trailing whitespace.
3839         * dlfcn/default.c: Likewise.
3840         * elf/ifuncdep2.c: Likewise.
3841         * elf/ifuncmain1.c: Likewise.
3842         * elf/ifuncmain1vis.c: Likewise.
3843         * elf/testobj.h: Likewise.
3844         * elf/tst-stackguard1.c: Likewise.
3845         * gmon/sys/gmon.h: Likewise.
3846         * hurd/hurdmsg.c: Likewise.
3847         * hurd/new-fd.c: Likewise.
3848         * hurd/ports-get.c: Likewise.
3849         * iconvdata/ibm1008_420.c: Likewise.
3850         * inet/tst-getni1.c: Likewise.
3851         * inet/tst-getni2.c: Likewise.
3852         * libio/ioungetc.c: Likewise.
3853         * libio/wfiledoalloc.c: Likewise.
3854         * manual/libm-err-tab.pl: Likewise.
3855         * math/w_dremf.c: Likewise.
3856         * misc/ftruncate.c: Likewise.
3857         * posix/bug-glob2.c: Likewise.
3858         * posix/tst-pcre.c: Likewise.
3859         * posix/wait4.c: Likewise.
3860         * resolv/README: Likewise.
3861         * resolv/res_debug.h: Likewise.
3862         * resolv/tst-inet_ntop.c: Likewise.
3863         * setjmp/bug269-setjmp.c: Likewise.
3864         * soft-fp/extended.h: Likewise.
3865         * soft-fp/op-1.h: Likewise.
3866         * soft-fp/op-2.h: Likewise.
3867         * soft-fp/op-4.h: Likewise.
3868         * soft-fp/op-8.h: Likewise.
3869         * soft-fp/testit.c: Likewise.
3870         * stdio-common/bug16.c: Likewise.
3871         * stdlib/random.c: Likewise.
3872         * sunrpc/rpcsvc/rquota.x: Likewise.
3873         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3874         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3875         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3876         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3877         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3878         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3879         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3880         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3881         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3882         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3883         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3884         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3885         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3886         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3887         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3888         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3889         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3890         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3891         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3892         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3893         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3894         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3895         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3900         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3902         * sysdeps/ieee754/s_lib_version.c: Likewise.
3903         * sysdeps/mach/hurd/check_fds.c: Likewise.
3904         * sysdeps/mach/hurd/getsockname.c: Likewise.
3905         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3906         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3907         * sysdeps/powerpc/bits/link.h: Likewise.
3908         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3909         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3910         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3911         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3912         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3913         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3914         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3915         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3916         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3917         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3918         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3919         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3920         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3921         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3922         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3923         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3924         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3926         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3927         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3928         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3929         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3930         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3931         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3932         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3933         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3934         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3935         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3936         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3937         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3938         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3940         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3941         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3942         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3943         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3944         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3945         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3946         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3947         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3948         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3949         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3950         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3951         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3952         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3953         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3954         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3955         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3956         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3957         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3958         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3959         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3960         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3961         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3962         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3963         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3964         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3965         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3966         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3967         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3968         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3969         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3970         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3971         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3972         * sysdeps/powerpc/sysdep.h: Likewise.
3973         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3974         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3975         * sysdeps/sh/dl-trampoline.S: Likewise.
3976         * sysdeps/sh/memset.S: Likewise.
3977         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3978         * sysdeps/sh/strlen.S: Likewise.
3979         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3980         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3981         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3982         * sysdeps/sparc/sparc32/rem.S: Likewise.
3983         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3984         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3985         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3986         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3987         * sysdeps/sparc/sparc32/urem.S: Likewise.
3988         * sysdeps/sparc/sparc64/add_n.S: Likewise.
3989         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3990         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3991         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3992         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3993         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3994         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3995         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3996         * sysdeps/unix/bsd/times.c: Likewise.
3997         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3998         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4002         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4003         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4004         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4006         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4007         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4008         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4009         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4010         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4011         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4012         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4013         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4014         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4015         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4016         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4017         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4018         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4019         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4020         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4021         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4022         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4023         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4024         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4025         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4026         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4027         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4028         * sysdeps/x86_64/strcspn.S: Likewise.
4030 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4032         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4033         generated file.  Regenerate properly from gen-translit.pl.
4034         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4035         locale/C-translit.h.
4037 2013-06-05  Andreas Schwab  <schwab@suse.de>
4039         [BZ #15100]
4040         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4041         week as 6 instead of -1.
4042         * time/tst-strptime.c (day_tests): Add test case.
4044 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046         * sysdeps/generic/math_private.h
4047         (libc_feholdexcept_setround_53bit): Replace with
4048         libc_feholdsetround_53bit.
4049         (libc_feupdateenv_53bit): Replace with
4050         libc_feresetround_53bit.
4051         (SET_RESTORE_ROUND_53BIT): Adjust.
4053 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4055         * string/test-strchrnul.c: Add copyright header.
4057         * posix/tst-getaddrinfo4.c: Increase test timeout.
4059 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4061         [BZ #15536]
4062         * math/libm-test.inc (MAX_EXP): Remove
4063         (MIN_EXP): Define.
4064         (ulp): Use MIN_EXP - MANT_DIG.
4065         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4067 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4069         * po/be.po: Revert last change.
4070         * po/zh_CN.po: Likewise.
4071         * po/header.pot: Likewise.
4073 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4075         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4076         link-libc-deps to empty as target-specific variable.
4077         * Makerules (link-libc-args): New variable.
4078         (libc-for-link): Likewise.
4079         (link-libc-deps): Likewise.
4080         (lib%.so): Depend on $(link-libc-deps).  Link with
4081         $(link-libc-args).
4082         (build-module): Link with $(link-libc-args).
4083         (build-module-asneeded): Likewise.
4084         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4085         list of objects.
4086         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4087         target-specific variable.
4088         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4089         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4090         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4091         libc.
4092         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4093         libc and ld.so.
4094         ($(objpfx)libpcprofile.so): Likewise.
4095         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4096         libc_nonshared.a.
4097         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4098         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4099         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4100         $(link-libc-deps).
4101         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4102         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4103         * login/Makefile ($(objpfx)libutil.so): Likewise.
4104         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4105         * math/Makefile ($(objpfx)libm.so): Likewise.
4106         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4107         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4108         variable instead of depending directly on libc.
4109         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4110         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4111         $(link-libc-deps).
4112         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4113         libc.
4114         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4115         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4116         ($(objpfx)libanl.so): Likewise.
4117         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4118         ld.so.
4119         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4120         $(link-libc-deps).
4121         * sysdeps/i386/fpu/Makefile: Remove file.
4122         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4123         ($(objpfx)libm.so): Remove dependency on ld.so.
4125 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4127         [BZ # 15553]
4128         * nis/yp_xdr.c (XDRMAXNAME): Define.
4129         (XDRMAXRECORD): Define.
4130         (xdr_domainname): Use XDRMAXNAME.
4131         (xdr_mapname): Likewise.
4132         (xdr_peername): Likewise.
4133         (xdr_keydat): Use XDRMAXRECORD.
4134         (xdr_valdat): Likewise.
4136 2013-05-30  Jeff Law  <law@redhat.com>
4138         [BZ #14256]
4139         * manual/errno.texi (ESTALE): Update to account for more than
4140         just NFS file systems.
4141         * sysdeps/gnu/errlist.c: Regenerated.
4143 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4145         [BZ #15465]
4146         * elf/Makefile (tests): Add tst-null-argv.
4147         (modules-names):  Add tst-null-argv-lib.
4148         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4149         (tst-null-argv-ENV): Set environment for tst-null-argv.
4150         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4151         (RTLD_PROGNAME): New macro.
4152         * elf/tst-null-argv.c: New test case.
4153         * elf/tst-null-argv-lib.c: Library for test case.
4154         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4155         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4156         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4157         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4158         * elf/dl-init.c (call_init): Likewise.
4159         (_dl_init): Likewise.
4160         * elf/dl-load.c (print_search_path): Likewise.
4161         (_dl_map_object): Likewise.
4162         * elf/dl-lookup.c (do_lookup_x): Likewise.
4163         (add_dependency): Likewise.
4164         (_dl_lookup_symbol_x): Likewise.
4165         (_dl_debug_bindings): Likewise.
4166         * elf/dl-open.c (_dl_show_scope): Likewise.
4167         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4168         * elf/dl-version.c (match_symbol): Likewise.
4169         (_dl_check_map_versions): Likewise.
4170         * elf/rtld.c (dl_main): Likewise.
4171         (print_unresolved): Use RTLD_PROGNAME.
4172         (print_missing_version): Likewise.
4173         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4174         (elf_machine_rela): Likewise.
4175         * sysdeps/powerpc/powerpc32/dl-machine.c
4176         (__process_machine_rela): Likewise.
4177         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4178         Likewise.
4179         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4180         Likewise.
4181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4182         Likewise.
4183         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4185         Likewise.
4186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4187         Likewise.
4188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4190 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4192         * po/be.po: Add descriptive title.
4193         * po/zh_CN.po: Likewise.
4194         * po/header.pot: Likewise.
4196 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4198         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4199         error message.
4200         (enlarge_archive): Likewise.
4202 2013-05-28  Ben North  <ben@redfrontdoor.org>
4204         * manual/arith.texi (frexp): It is the magnitude of the return
4205         value which lies in [0.5, 1), not the return value itself.
4207 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4211 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4213         * stdio-common/bug26.c (main): Correct fscanf template.
4215         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4216         declare _dl_skip_args.
4218         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4219         Don't declare.
4221         * manual/platform.texi: Add missing @end deftypefun.
4223 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #15529]
4226         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4227         bit of mantissa of 2^16382.
4228         * math/libm-test.inc (hypot_test_data): Add more tests.
4230         * math/libm-test.inc: Add drem and pow10 to list of tested
4231         functions.
4232         (pow10_test): New function.
4233         (drem_test): Likewise.
4234         (drem_test_tonearest): Likewise.
4235         (drem_test_towardzero): Likewise.
4236         (drem_test_downward): Likewise.
4237         (drem_test_upward): Likewise.
4238         (main): Call the new functions.
4240         * math/libm-test.inc (finite_test_data): Remove.
4241         (finite_test): Run tests from isfinite_test_data.
4242         (gamma_test_data): Remove.
4243         (gamma_test): Run tests from lgamma_test_data.
4244         * sysdeps/i386/fpu/libm-test-ulps: Update.
4245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4247 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4249         * manual/platform.texi: Add PowerPC PPR function set documentation.
4250         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4251         implementation.
4253 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4255         * math/libm-test.inc (MAX_EXP): Define.
4256         (ULPDIFF): Define.
4257         (ulp): New function.
4258         (check_float_internal): Use ULPDIFF.
4259         (cpow_test): Disable failing test.
4260         (check_ulp): Test ulp() implemetnation.
4261         (main): Call check_ulp before starting tests.
4263 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4265         * math/gen-libm-test.pl (generate_testfile): Do not handle
4266         START_DATA and END_DATA.
4267         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4268         END_DATA.
4269         (acos_tonearest_test_data): Likewise.
4270         (acos_towardzero_test_data): Likewise.
4271         (acos_downward_test_data): Likewise.
4272         (acos_upward_test_data): Likewise.
4273         (acosh_test_data): Likewise.
4274         (asin_test_data): Likewise.
4275         (asin_tonearest_test_data): Likewise.
4276         (asin_towardzero_test_data): Likewise.
4277         (asin_downward_test_data): Likewise.
4278         (asin_upward_test_data): Likewise.
4279         (asinh_test_data): Likewise.
4280         (atan_test_data): Likewise.
4281         (atanh_test_data): Likewise.
4282         (atan2_test_data): Likewise.
4283         (cabs_test_data): Likewise.
4284         (cacos_test_data): Likewise.
4285         (cacosh_test_data): Likewise.
4286         (carg_test_data): Likewise.
4287         (casin_test_data): Likewise.
4288         (casinh_test_data): Likewise.
4289         (catan_test_data): Likewise.
4290         (catanh_test_data): Likewise.
4291         (cbrt_test_data): Likewise.
4292         (ccos_test_data): Likewise.
4293         (ccosh_test_data): Likewise.
4294         (ceil_test_data): Likewise.
4295         (cexp_test_data): Likewise.
4296         (cimag_test_data): Likewise.
4297         (clog_test_data): Likewise.
4298         (clog10_test_data): Likewise.
4299         (conj_test_data): Likewise.
4300         (copysign_test_data): Likewise.
4301         (cos_test_data): Likewise.
4302         (cos_tonearest_test_data): Likewise.
4303         (cos_towardzero_test_data): Likewise.
4304         (cos_downward_test_data): Likewise.
4305         (cos_upward_test_data): Likewise.
4306         (cosh_test_data): Likewise.
4307         (cosh_tonearest_test_data): Likewise.
4308         (cosh_towardzero_test_data): Likewise.
4309         (cosh_downward_test_data): Likewise.
4310         (cosh_upward_test_data): Likewise.
4311         (cpow_test_data): Likewise.
4312         (cproj_test_data): Likewise.
4313         (creal_test_data): Likewise.
4314         (csin_test_data): Likewise.
4315         (csinh_test_data): Likewise.
4316         (csqrt_test_data): Likewise.
4317         (ctan_test_data): Likewise.
4318         (ctan_tonearest_test_data): Likewise.
4319         (ctan_towardzero_test_data): Likewise.
4320         (ctan_downward_test_data): Likewise.
4321         (ctan_upward_test_data): Likewise.
4322         (ctanh_test_data): Likewise.
4323         (ctanh_tonearest_test_data): Likewise.
4324         (ctanh_towardzero_test_data): Likewise.
4325         (ctanh_downward_test_data): Likewise.
4326         (ctanh_upward_test_data): Likewise.
4327         (erf_test_data): Likewise.
4328         (erfc_test_data): Likewise.
4329         (exp_test_data): Likewise.
4330         (exp_tonearest_test_data): Likewise.
4331         (exp_towardzero_test_data): Likewise.
4332         (exp_downward_test_data): Likewise.
4333         (exp_upward_test_data): Likewise.
4334         (exp10_test_data): Likewise.
4335         (exp2_test_data): Likewise.
4336         (expm1_test_data): Likewise.
4337         (fabs_test_data): Likewise.
4338         (fdim_test_data): Likewise.
4339         (finite_test_data): Likewise.
4340         (floor_test_data): Likewise.
4341         (fma_test_data): Likewise.
4342         (fma_towardzero_test_data): Likewise.
4343         (fma_downward_test_data): Likewise.
4344         (fma_upward_test_data): Likewise.
4345         (fmax_test_data): Likewise.
4346         (fmin_test_data): Likewise.
4347         (fmod_test_data): Likewise.
4348         (fpclassify_test_data): Likewise.
4349         (frexp_test_data): Likewise.
4350         (gamma_test_data): Likewise.
4351         (hypot_test_data): Likewise.
4352         (ilogb_test_data): Likewise.
4353         (isfinite_test_data): Likewise.
4354         (isgreater_test_data): Likewise.
4355         (isgreaterequal_test_data): Likewise.
4356         (isinf_test_data): Likewise.
4357         (isless_test_data): Likewise.
4358         (islessequal_test_data): Likewise.
4359         (islessgreater_test_data): Likewise.
4360         (isnan_test_data): Likewise.
4361         (isnormal_test_data): Likewise.
4362         (issignaling_test_data): Likewise.
4363         (isunordered_test_data): Likewise.
4364         (j0_test_data): Likewise.
4365         (j1_test_data): Likewise.
4366         (jn_test_data): Likewise.
4367         (ldexp_test_data): Likewise.
4368         (lgamma_test_data): Likewise.
4369         (lrint_test_data): Likewise.
4370         (lrint_tonearest_test_data): Likewise.
4371         (lrint_towardzero_test_data): Likewise.
4372         (lrint_downward_test_data): Likewise.
4373         (lrint_upward_test_data): Likewise.
4374         (llrint_test_data): Likewise.
4375         (llrint_tonearest_test_data): Likewise.
4376         (llrint_towardzero_test_data): Likewise.
4377         (llrint_downward_test_data): Likewise.
4378         (llrint_upward_test_data): Likewise.
4379         (log_test_data): Likewise.
4380         (log10_test_data): Likewise.
4381         (log1p_test_data): Likewise.
4382         (log2_test_data): Likewise.
4383         (logb_test_data): Likewise.
4384         (logb_downward_test_data): Likewise.
4385         (lround_test_data): Likewise.
4386         (llround_test_data): Likewise.
4387         (modf_test_data): Likewise.
4388         (nearbyint_test_data): Likewise.
4389         (nextafter_test_data): Likewise.
4390         (nexttoward_test_data): Likewise.
4391         (pow_test_data): Likewise.
4392         (pow_tonearest_test_data): Likewise.
4393         (pow_towardzero_test_data): Likewise.
4394         (pow_downward_test_data): Likewise.
4395         (pow_upward_test_data): Likewise.
4396         (remainder_test_data): Likewise.
4397         (remainder_tonearest_test_data): Likewise.
4398         (remainder_towardzero_test_data): Likewise.
4399         (remainder_downward_test_data): Likewise.
4400         (remainder_upward_test_data): Likewise.
4401         (remquo_test_data): Likewise.
4402         (rint_test_data): Likewise.
4403         (rint_tonearest_test_data): Likewise.
4404         (rint_towardzero_test_data): Likewise.
4405         (rint_downward_test_data): Likewise.
4406         (rint_upward_test_data): Likewise.
4407         (round_test_data): Likewise.
4408         (scalb_test_data): Likewise.
4409         (scalbn_test_data): Likewise.
4410         (scalbln_test_data): Likewise.
4411         (signbit_test_data): Likewise.
4412         (sin_test_data): Likewise.
4413         (sin_tonearest_test_data): Likewise.
4414         (sin_towardzero_test_data): Likewise.
4415         (sin_downward_test_data): Likewise.
4416         (sin_upward_test_data): Likewise.
4417         (sincos_test_data): Likewise.
4418         (sinh_test_data): Likewise.
4419         (sinh_tonearest_test_data): Likewise.
4420         (sinh_towardzero_test_data): Likewise.
4421         (sinh_downward_test_data): Likewise.
4422         (sinh_upward_test_data): Likewise.
4423         (sqrt_test_data): Likewise.
4424         (tan_test_data): Likewise.
4425         (tan_tonearest_test_data): Likewise.
4426         (tan_towardzero_test_data): Likewise.
4427         (tan_downward_test_data): Likewise.
4428         (tan_upward_test_data): Likewise.
4429         (tanh_test_data): Likewise.
4430         (tgamma_test_data): Likewise.
4431         (trunc_test_data): Likewise.
4432         (y0_test_data): Likewise.
4433         (y1_test_data): Likewise.
4434         (yn_test_data): Likewise.
4435         (significand_test_data): Likewise.
4437         * math/gen-libm-test.pl (@functions): Remove variable.
4438         (generate_testfile): Don't handle START and END lines.
4439         * math/libm-test.inc (START): New macro.
4440         (END): Likewise.
4441         (END_COMPLEX): Likewise.
4442         (acos_test): Use END macro without arguments.
4443         (acos_test_tonearest): Likewise.
4444         (acos_test_towardzero): Likewise.
4445         (acos_test_downward): Likewise.
4446         (acos_test_upward): Likewise.
4447         (acosh_test): Likewise.
4448         (asin_test): Likewise.
4449         (asin_test_tonearest): Likewise.
4450         (asin_test_towardzero): Likewise.
4451         (asin_test_downward): Likewise.
4452         (asin_test_upward): Likewise.
4453         (asinh_test): Likewise.
4454         (atan_test): Likewise.
4455         (atanh_test): Likewise.
4456         (atan2_test): Likewise.
4457         (cabs_test): Likewise.
4458         (cacos_test): Use END_COMPLEX macro without arguments.
4459         (cacosh_test): Likewise.
4460         (carg_test): Use END macro without arguments.
4461         (casin_test): Use END_COMPLEX macro without arguments.
4462         (casinh_test): Likewise.
4463         (catan_test): Likewise.
4464         (catanh_test): Likewise.
4465         (cbrt_test): Use END macro without arguments.
4466         (ccos_test): Use END_COMPLEX macro without arguments.
4467         (ccosh_test): Likewise.
4468         (ceil_test): Use END macro without arguments.
4469         (cexp_test): Use END_COMPLEX macro without arguments.
4470         (cimag_test): Use END macro without arguments.
4471         (clog_test): Use END_COMPLEX macro without arguments.
4472         (clog10_test): Likewise.
4473         (conj_test): Likewise.
4474         (copysign_test): Use END macro without arguments.
4475         (cos_test): Likewise.
4476         (cos_test_tonearest): Likewise.
4477         (cos_test_towardzero): Likewise.
4478         (cos_test_downward): Likewise.
4479         (cos_test_upward): Likewise.
4480         (cosh_test): Likewise.
4481         (cosh_test_tonearest): Likewise.
4482         (cosh_test_towardzero): Likewise.
4483         (cosh_test_downward): Likewise.
4484         (cosh_test_upward): Likewise.
4485         (cpow_test): Use END_COMPLEX macro without arguments.
4486         (cproj_test): Likewise.
4487         (creal_test): Use END macro without arguments.
4488         (csin_test): Use END_COMPLEX macro without arguments.
4489         (csinh_test): Likewise.
4490         (csqrt_test): Likewise.
4491         (ctan_test): Likewise.
4492         (ctan_test_tonearest): Likewise.
4493         (ctan_test_towardzero): Likewise.
4494         (ctan_test_downward): Likewise.
4495         (ctan_test_upward): Likewise.
4496         (ctanh_test): Likewise.
4497         (ctanh_test_tonearest): Likewise.
4498         (ctanh_test_towardzero): Likewise.
4499         (ctanh_test_downward): Likewise.
4500         (ctanh_test_upward): Likewise.
4501         (erf_test): Use END macro without arguments.
4502         (erfc_test): Likewise.
4503         (exp_test): Likewise.
4504         (exp_test_tonearest): Likewise.
4505         (exp_test_towardzero): Likewise.
4506         (exp_test_downward): Likewise.
4507         (exp_test_upward): Likewise.
4508         (exp10_test): Likewise.
4509         (exp2_test): Likewise.
4510         (expm1_test): Likewise.
4511         (fabs_test): Likewise.
4512         (fdim_test): Likewise.
4513         (finite_test): Likewise.
4514         (floor_test): Likewise.
4515         (fma_test): Likewise.
4516         (fma_test_towardzero): Likewise.
4517         (fma_test_downward): Likewise.
4518         (fma_test_upward): Likewise.
4519         (fmax_test): Likewise.
4520         (fmin_test): Likewise.
4521         (fmod_test): Likewise.
4522         (fpclassify_test): Likewise.
4523         (frexp_test): Likewise.
4524         (gamma_test): Likewise.
4525         (hypot_test): Likewise.
4526         (ilogb_test): Likewise.
4527         (isfinite_test): Likewise.
4528         (isgreater_test): Likewise.
4529         (isgreaterequal_test): Likewise.
4530         (isinf_test): Likewise.
4531         (isless_test): Likewise.
4532         (islessequal_test): Likewise.
4533         (islessgreater_test): Likewise.
4534         (isnan_test): Likewise.
4535         (isnormal_test): Likewise.
4536         (issignaling_test): Likewise.
4537         (isunordered_test): Likewise.
4538         (j0_test): Likewise.
4539         (j1_test): Likewise.
4540         (jn_test): Likewise.
4541         (ldexp_test): Likewise.
4542         (lgamma_test): Likewise.
4543         (lrint_test): Likewise.
4544         (lrint_test_tonearest): Likewise.
4545         (lrint_test_towardzero): Likewise.
4546         (lrint_test_downward): Likewise.
4547         (lrint_test_upward): Likewise.
4548         (llrint_test): Likewise.
4549         (llrint_test_tonearest): Likewise.
4550         (llrint_test_towardzero): Likewise.
4551         (llrint_test_downward): Likewise.
4552         (llrint_test_upward): Likewise.
4553         (log_test): Likewise.
4554         (log10_test): Likewise.
4555         (log1p_test): Likewise.
4556         (log2_test): Likewise.
4557         (logb_test): Likewise.
4558         (logb_test_downward): Likewise.
4559         (lround_test): Likewise.
4560         (llround_test): Likewise.
4561         (modf_test): Likewise.
4562         (nearbyint_test): Likewise.
4563         (nextafter_test): Likewise.
4564         (nexttoward_test): Likewise.
4565         (pow_test): Likewise.
4566         (pow_test_tonearest): Likewise.
4567         (pow_test_towardzero): Likewise.
4568         (pow_test_downward): Likewise.
4569         (pow_test_upward): Likewise.
4570         (remainder_test): Likewise.
4571         (remainder_test_tonearest): Likewise.
4572         (remainder_test_towardzero): Likewise.
4573         (remainder_test_downward): Likewise.
4574         (remainder_test_upward): Likewise.
4575         (remquo_test): Likewise.
4576         (rint_test): Likewise.
4577         (rint_test_tonearest): Likewise.
4578         (rint_test_towardzero): Likewise.
4579         (rint_test_downward): Likewise.
4580         (rint_test_upward): Likewise.
4581         (round_test): Likewise.
4582         (scalb_test): Likewise.
4583         (scalbn_test): Likewise.
4584         (scalbln_test): Likewise.
4585         (signbit_test): Likewise.
4586         (sin_test): Likewise.
4587         (sin_test_tonearest): Likewise.
4588         (sin_test_towardzero): Likewise.
4589         (sin_test_downward): Likewise.
4590         (sin_test_upward): Likewise.
4591         (sincos_test): Likewise.
4592         (sinh_test): Likewise.
4593         (sinh_test_tonearest): Likewise.
4594         (sinh_test_towardzero): Likewise.
4595         (sinh_test_downward): Likewise.
4596         (sinh_test_upward): Likewise.
4597         (sqrt_test): Likewise.
4598         (tan_test): Likewise.
4599         (tan_test_tonearest): Likewise.
4600         (tan_test_towardzero): Likewise.
4601         (tan_test_downward): Likewise.
4602         (tan_test_upward): Likewise.
4603         (tanh_test): Likewise.
4604         (tgamma_test): Likewise.
4605         (trunc_test): Likewise.
4606         (y0_test): Likewise.
4607         (y1_test): Likewise.
4608         (yn_test): Likewise.
4609         (significand_test): Likewise.
4611 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4613         [BZ #15381]
4614         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4616 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4618         [BZ #14894]
4619         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4620         __ppc_mdoio and __ppc_mdoom.
4621         * manual/platform.texi: Document new functions __ppc_yield,
4622         __ppc_mdoio and __ppc_mdoom.
4624 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4626         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4627         (main): Mention "tls" pseudo-hwcap is legacy.
4628         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4630 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4632         * math/gen-libm-test.pl (parse_args): Output only string of
4633         arguments as text for test name, not full call or descriptions of
4634         tests for extra outputs.
4635         (generate_testfile): Do not pass function name to parse_args.
4636         Generate this_func variable from START.
4637         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4638         field to arg_str.
4639         (struct test_ff_f_data): Likewise.
4640         (test_ff_f_data_nexttoward): Likewise.
4641         (struct test_fi_f_data): Likewise.
4642         (struct test_fl_f_data): Likewise.
4643         (struct test_if_f_data): Likewise.
4644         (struct test_fff_f_data): Likewise.
4645         (struct test_c_f_data): Likewise.
4646         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4647         (struct test_fF_f1_data): Likewise.
4648         (struct test_ffI_f1_data): Likewise.
4649         (struct test_c_c_data): Rename test_name field to arg_str.
4650         (struct test_cc_c_data): Likewise.
4651         (struct test_f_i_data): Likewise.
4652         (struct test_ff_i_data): Likewise.
4653         (struct test_f_l_data): Likewise.
4654         (struct test_f_L_data): Likewise.
4655         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4656         and extra2_name.
4657         (COMMON_TEST_SETUP): New macro.
4658         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4659         (COMMON_TEST_CLEANUP): Likewise.
4660         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4661         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4662         macros.
4663         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4664         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4665         macros.
4666         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4667         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4668         cleanup macros.
4669         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4670         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4671         macros.
4672         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4673         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4674         macros.
4675         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4676         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4677         cleanup macros.
4678         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4679         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4680         cleanup macros.
4681         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4682         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4683         cleanup macros.
4684         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4685         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4686         macros.
4687         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4688         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4689         macros.
4690         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4691         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4692         macros.
4693         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4694         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4695         cleanup macros.
4696         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4697         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4698         cleanup macros.
4699         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4700         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4701         macros.
4702         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4703         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4704         cleanup macros.
4705         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4706         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4707         macros.
4708         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4709         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4710         macros.
4711         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4712         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4713         cleanup macros.
4714         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4716 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4718         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4719         to _sifields.sigfault.
4720         (si_addr_lsb): Define new macro.
4721         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4722         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4723         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4725 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4727         [BZ #15441]
4728         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4729         returns -1.
4730         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4731         null return -1.
4732         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4733         loading the domain.
4735 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4737         * math/gen-libm-test.pl (parse_args): Do not include expected
4738         result in test name.
4739         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4740         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4741         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4742         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4743         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4748         * benchtests/Makefile: Sort function entries.
4750         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4751         tanh, asinh, acosh, atanh.
4752         * benchtests/acos-inputs: New file.
4753         * benchtests/acosh-inputs: New file.
4754         * benchtests/asin-inputs: New file.
4755         * benchtests/asinh-inputs: New file.
4756         * benchtests/atanh-inputs: New file.
4757         * benchtests/cosh-inputs: New file.
4758         * benchtests/log-inputs: New file.
4759         * benchtests/sinh-inputs: New file.
4760         * benchtests/tanh-inputs: New file.
4762 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4764         [BZ #15339]
4765         * posix/tst-getaddrinfo4.c: New test.
4766         * posix/Makefile (tests): Add it.
4768 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4770         [BZ #15339]
4771         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4772         when no services were used.
4773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4774         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4776 2013-05-21  Andreas Schwab  <schwab@suse.de>
4778         [BZ #15014]
4779         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4780         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4781         successful.
4782         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4783         redundant variable declarations and reallocation of buffer when
4784         parsing as IPv6 address.  Always set NSS status when called from
4785         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4786         buffer too small.  Correct computation of needed size.
4787         * nss/Makefile (tests): Add test-digits-dots.
4788         * nss/test-digits-dots.c: New test.
4790 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4792         * benchtests/Makefile: Remove instructions for adding
4793         benchmark tests.
4794         * benchtests/README: New file to explain how to execute and
4795         enhance the benchmark tests.
4797 2013-05-21  Andreas Schwab  <schwab@suse.de>
4799         [BZ #15493]
4800         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4801         * setjmp/tst-sigsetjmp.c: New test.
4803 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4805         * sysdeps/x86_64/memset.S (memset): New implementation.
4806         (__bzero): Likewise.
4807         (__memset_tail): New function.
4809 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4811         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4812         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4813         __memcpy_sse2_unaligned ifunc selection.
4814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4815         Add memcpy-sse2-unaligned.S.
4816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4817         Add: __memcpy_sse2_unaligned.
4819 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4821         [BZ #15490]
4822         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4823         math_force_eval before restoring floating-point envrionment.
4824         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4825         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4826         Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4828         <math_private.h>.
4829         (__nearbyintl): Use math_force_eval before restoring
4830         floating-point environment.
4831         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4833         * math/gen-libm-test.pl (special_functions): Remove.
4834         (parse_args): Don't handle TEST_extra.  Handle functions with no
4835         return value.
4836         * math/libm-test.inc (struct test_sincos_data): Replace with
4837         struct test_fFF_11_data.
4838         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4839         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4840         (sincos_test_data): Change element type to struct
4841         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4842         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4843         RUN_TEST_LOOP_sincos.
4844         * math/README.libm-test: Don't mention special handling of
4845         individual functions.
4846         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4847         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4848         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4849         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4850         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853         * math/gen-libm-test.pl (get_variable): Remove function.
4854         (parse_args): Don't show pointer parameters to call in test
4855         names.  Use "extra output N" in test names for extra outputs
4856         rather than naming variables.
4858 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4860         [BZ #15488]
4861         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4862         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4863         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4864         double tests.
4865         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4866         disable.
4867         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4868         check_long_double.
4870         * math/gen-libm-test.pl (@tests): Remove variable.
4871         ($count): Likewise.
4872         (new_test): Remove function.
4873         (show_exceptions): New function.
4874         (special_functions): Use show_exceptions instead of new_test.
4875         (parse_args): Likewise.
4876         (generate_testfile): Pass only function name in generated call to
4877         print_max_error or print_complex_max_error.
4878         (get_ulps): Do not handle complex tests specially.
4879         (output_test): Rename to ...
4880         (get_all_ulps_for_test): ... this.  Return a string rather than
4881         printing to a file.  Require ulps to be present.
4882         (output_ulps): Generate arrays rather than #defines.
4883         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4884         (struct ulp_data): New type.
4885         (BUILD_COMPLEX_ULP): Remove macro.
4886         (compare_ulp_data): New function.
4887         (find_ulps): Likewise.
4888         (find_test_ulps): Likewise.
4889         (find_function_ulps): Likewise.
4890         (find_complex_function_ulps): Likewise.
4891         (print_max_error): Determine allowed ulps using
4892         find_function_ulps.
4893         (print_complex_max_error): Determine allowed ulps using
4894         find_complex_function_ulps.
4895         (check_float_internal): Determine max ulps using find_test_ulps.
4896         (check_float): Do not take max_ulp parameter.  Update call to
4897         check_float_internal.
4898         (check_complex): Likewise.
4899         (check_int): Do not take max_ulp parameter.
4900         (check_long): Likewise.
4901         (check_bool): Likewise.
4902         (check_longlong): Likewise.
4903         (struct test_f_f_data): Remove max_ulp field.
4904         (struct test_ff_f_data): Likewise.
4905         (struct test_ff_f_data_nexttoward): Likewise.
4906         (struct test_fi_f_data): Likewise.
4907         (struct test_fl_f_data): Likewise.
4908         (struct test_if_f_data): Likewise.
4909         (struct test_fff_f_data): Likewise.
4910         (struct test_c_f_data): Likewise.
4911         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4912         (struct test_fF_f1_data): Likewise.
4913         (struct test_ffI_f1_data): Likewise.
4914         (struct test_c_c_data): Remove max_ulp field.
4915         (struct test_cc_c_data): Likewise.
4916         (struct test_f_i_data): Likewise.
4917         (struct test_ff_i_data): Likewise.
4918         (struct test_f_l_data): Likewise.
4919         (struct test_f_L_data): Likewise.
4920         (struct test_sincos_data): Likewise.
4921         (RUN_TEST_f_f): Do not handle ulps.
4922         (RUN_TEST_LOOP_f_f): Likewise.
4923         (RUN_TEST_2_f): Likewise.
4924         (RUN_TEST_LOOP_2_f): Likewise.
4925         (RUN_TEST_fff_f): Likewise.
4926         (RUN_TEST_LOOP_fff_f): Likewise.
4927         (RUN_TEST_c_f): Likewise.
4928         (RUN_TEST_LOOP_c_f): Likewise.
4929         (RUN_TEST_f_f1): Likewise.
4930         (RUN_TEST_LOOP_f_f1): Likewise.
4931         (RUN_TEST_fF_f1): Likewise.
4932         (RUN_TEST_LOOP_fF_f1): Likewise.
4933         (RUN_TEST_fI_f1): Likewise.
4934         (RUN_TEST_LOOP_fI_f1): Likewise.
4935         (RUN_TEST_ffI_f1): Likewise.
4936         (RUN_TEST_LOOP_ffI_f1): Likewise.
4937         (RUN_TEST_c_c): Likewise.
4938         (RUN_TEST_LOOP_c_c): Likewise.
4939         (RUN_TEST_cc_c): Likewise.
4940         (RUN_TEST_LOOP_cc_c): Likewise.
4941         (RUN_TEST_f_i): Likewise.
4942         (RUN_TEST_LOOP_f_i): Likewise.
4943         (RUN_TEST_f_i_tg): Likewise.
4944         (RUN_TEST_LOOP_f_i_tg): Likewise.
4945         (RUN_TEST_ff_i_tg): Likewise.
4946         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4947         (RUN_TEST_f_b): Likewise.
4948         (RUN_TEST_LOOP_f_b): Likewise.
4949         (RUN_TEST_f_b_tg): Likewise.
4950         (RUN_TEST_LOOP_f_b_tg): Likewise.
4951         (RUN_TEST_f_l): Likewise.
4952         (RUN_TEST_LOOP_f_l): Likewise.
4953         (RUN_TEST_f_L): Likewise.
4954         (RUN_TEST_LOOP_f_L): Likewise.
4955         (RUN_TEST_sincos): Likewise.
4956         (RUN_TEST_LOOP_sincos): Likewise.
4958 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4960         [BZ #15480]
4961         [BZ #15485]
4962         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4963         main case of finite arguments, set rounding mode to FE_TONEAREST
4964         and discard exceptions.
4965         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4966         exceptions.
4967         (remainder_tonearest_test_data): New variable.
4968         (remainder_test_tonearest): New function.
4969         (remainder_towardzero_test_data): New variable.
4970         (remainder_test_towardzero): New function.
4971         (remainder_downward_test_data): New variable.
4972         (remainder_test_downward): New function.
4973         (remainder_upward_test_data): New variable.
4974         (remainder_test_upward): New function.
4975         (main): Call the new test functions.
4977         * math/libm-test.inc (struct test_f_f1_data): Remove field
4978         extra_init.
4979         (struct test_fF_f1_data): Likewise.
4980         (struct test_ffI_f1_data): Likewise.
4981         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4982         based on value of EXTRA_EXPECTED.
4983         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4984         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4985         EXTRA_VAR based on value of EXTRA_EXPECTED.
4986         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4987         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4988         EXTRA_VAR based on value of EXTRA_EXPECTED.
4989         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4990         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
4991         EXTRA_VAR based on value of EXTRA_EXPECTED.
4992         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4993         * math/gen-libm-test.pl (parse_args): Don't output initializers
4994         for extra output values.
4996         * math/libm-test.inc (check_int): Expect result to be exactly
4997         equal to expected value and do not handle ulps.
4998         (check_long): Likewise.
4999         (check_longlong): Likewise.
5001         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5002         exceptions.
5003         (cimag_test_data): Likewise.
5004         (conj_test_data): Likewise.
5005         (copysign_test_data): Likewise.
5006         (cproj_test_data): Likewise.
5007         (creal_test_data): Likewise.
5008         (fabs_test_data): Likewise.
5009         (fdim_test_data): Likewise.
5010         (finite_test_data): Likewise.
5011         (floor_test_data): Likewise.
5012         (fmax_test_data): Likewise.
5013         (fmin_test_data): Likewise.
5014         (fmod_test_data): Likewise.
5015         (fpclassify_test_data): Likewise.
5016         (frexp_test_data): Likewise.
5017         (ilogb_test_data): Likewise.
5018         (isfinite_test_data): Likewise.
5019         (isgreater_test_data): Likewise.
5020         (isgreaterequal_test_data): Likewise.
5021         (isinf_test_data): Likewise.
5022         (isless_test_data): Likewise.
5023         (islessequal_test_data): Likewise.
5024         (islessgreater_test_data): Likewise.
5025         (isnan_test_data): Likewise.
5026         (isnormal_test_data): Likewise.
5027         (issignaling_test_data): Likewise.
5028         (isunordered_test_data): Likewise.
5029         (ldexp_test_data): Likewise.
5030         (lrint_test_data): Likewise.
5031         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5032         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5033         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5034         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5035         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5036         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5037         test input.
5038         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5039         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5040         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5041         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5042         that test input.
5043         (lrint_downward_test_data): Test for "inexact" exceptions.
5044         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5045         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5046         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5047         test input.
5048         (lrint_upward_test_data): Test for "inexact" exceptions.
5049         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5050         test input.
5051         (llrint_test_data): Test for "inexact" exceptions.
5052         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5053         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5054         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5055         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5056         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5057         (llrint_downward_test_data): Test for "inexact" exceptions.
5058         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5059         (llrint_upward_test_data): Test for "inexact" exceptions.
5060         (logb_test_data): Likewise.
5061         (logb_downward_test_data): Likewise.
5062         (nextafter_test_data): Likewise.
5063         (nexttoward_test_data): Likewise.
5064         (remainder_test_data): Likewise.
5065         (remquo_test_data): Likewise.
5066         (scalbn_test_data): Likewise.
5067         (scalbln_test_data): Likewise.
5068         (signbit_test_data): Likewise.
5069         (sqrt_test_data): Likewise.
5070         (significand_test_data): Likewise.
5072 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5074         [BZ #15424]
5075         * benchtests/bench-modf.c (struct args): Mark arg0 as
5076         volatile.
5077         * scripts/bench.pl: Mark members of struct args as volatile.
5079 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5081         [BZ # 15497]
5082         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5083         negative infinity on POWER6 or lower.
5084         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5086 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5088         [BZ #15442]
5089         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5090         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5091         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5092         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5093         (_FP_SETQNAN): New macro.
5094         (_FP_SETQNAN_SEMIRAW): Likewise.
5095         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5096         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5097         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5098         (FP_EXTEND): Use _FP_FRAC_SNANP.
5099         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5100         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5101         into account.
5102         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5103         New macro.
5104         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5105         Likewise.
5107 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5109         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5110         with DIVIDE_BY_ZERO_EXCEPTION.
5111         (gamma_test_data): Likewise.
5112         (lgamma_test_data): Likewise.
5113         (log_test_data): Likewise.
5114         (log10_test_data): Likewise.
5115         (log2_test_data): Likewise.
5116         (tgamma_test_data): Likewise.
5118         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5119         (acos_test_tonearest): Likewise.
5120         (acos_test_towardzero): Likewise.
5121         (acos_test_downward): Likewise.
5122         (acos_test_upward): Likewise.
5123         (acosh_test): Likewise.
5124         (asin_test): Likewise.
5125         (asin_test_tonearest): Likewise.
5126         (asin_test_towardzero): Likewise.
5127         (asin_test_downward): Likewise.
5128         (asin_test_upward): Likewise.
5129         (asinh_test): Likewise.
5130         (atan_test): Likewise.
5131         (atanh_test): Likewise.
5132         (atan2_test): Likewise.
5133         (cabs_test): Likewise.
5134         (cacos_test): Likewise.
5135         (cacosh_test): Likewise.
5136         (casin_test): Likewise.
5137         (casinh_test): Likewise.
5138         (catan_test): Likewise.
5139         (catanh_test): Likewise.
5140         (cbrt_test): Likewise.
5141         (ccos_test): Likewise.
5142         (ccosh_test): Likewise.
5143         (cexp_test): Likewise.
5144         (clog_test): Likewise.
5145         (clog10_test): Likewise.
5146         (cos_test): Likewise.
5147         (cos_test_tonearest): Likewise.
5148         (cos_test_towardzero): Likewise.
5149         (cos_test_downward): Likewise.
5150         (cos_test_upward): Likewise.
5151         (cosh_test): Likewise.
5152         (cosh_test_tonearest): Likewise.
5153         (cosh_test_towardzero): Likewise.
5154         (cosh_test_downward): Likewise.
5155         (cosh_test_upward): Likewise.
5156         (cpow_test): Likewise.
5157         (csin_test): Likewise.
5158         (csinh_test): Likewise.
5159         (csqrt_test): Likewise.
5160         (ctan_test): Likewise.
5161         (ctan_test_tonearest): Likewise.
5162         (ctan_test_towardzero): Likewise.
5163         (ctan_test_downward): Likewise.
5164         (ctan_test_upward): Likewise.
5165         (ctanh_test): Likewise.
5166         (ctanh_test_tonearest): Likewise.
5167         (ctanh_test_towardzero): Likewise.
5168         (ctanh_test_downward): Likewise.
5169         (ctanh_test_upward): Likewise.
5170         (erf_test): Likewise.
5171         (erfc_test): Likewise.
5172         (exp_test): Likewise.
5173         (exp_test_tonearest): Likewise.
5174         (exp_test_towardzero): Likewise.
5175         (exp_test_downward): Likewise.
5176         (exp_test_upward): Likewise.
5177         (exp10_test): Likewise.
5178         (exp2_test): Likewise.
5179         (expm1_test): Likewise.
5180         (fmod_test): Likewise.
5181         (gamma_test): Likewise.
5182         (hypot_test): Likewise.
5183         (j0_test): Likewise.
5184         (j1_test): Likewise.
5185         (jn_test): Likewise.
5186         (lgamma_test): Likewise.
5187         (log_test): Likewise.
5188         (log10_test): Likewise.
5189         (log1p_test): Likewise.
5190         (log2_test): Likewise.
5191         (logb_test_downward): Likewise.
5192         (pow_test): Likewise.
5193         (pow_test_tonearest): Likewise.
5194         (pow_test_towardzero): Likewise.
5195         (pow_test_downward): Likewise.
5196         (pow_test_upward): Likewise.
5197         (remainder_test): Likewise.
5198         (remquo_test): Likewise.
5199         (sin_test): Likewise.
5200         (sin_test_tonearest): Likewise.
5201         (sin_test_towardzero): Likewise.
5202         (sin_test_downward): Likewise.
5203         (sin_test_upward): Likewise.
5204         (sincos_test): Likewise.
5205         (sinh_test): Likewise.
5206         (sinh_test_tonearest): Likewise.
5207         (sinh_test_towardzero): Likewise.
5208         (sinh_test_downward): Likewise.
5209         (sinh_test_upward): Likewise.
5210         (sqrt_test): Likewise.
5211         (tan_test): Likewise.
5212         (tan_test_tonearest): Likewise.
5213         (tan_test_towardzero): Likewise.
5214         (tan_test_downward): Likewise.
5215         (tan_test_upward): Likewise.
5216         (tanh_test): Likewise.
5217         (tgamma_test): Likewise.
5218         (y0_test): Likewise.
5219         (y1_test): Likewise.
5220         (yn_test): Likewise.
5222         * math/gen-libm-test.pl (adjust_arg): Remove function.
5223         (special_function): Remove argument $in_func.  Only handle
5224         generating output for tables of tests, not inside functions.
5225         (parse_args): Likewise.
5226         (generate_testfile): Remove variable $in_func.  Update call to
5227         parse_args.
5228         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5229         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5230         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5231         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5232         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5233         (MAX_VALUE_INIT): Rename macro to max_value.
5234         (MIN_VALUE_INIT): Rename macro to min_value.
5235         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5236         (plus_zero): Remove variable.
5237         (minus_zero): Likewise.
5238         (plus_infty): Likewise.
5239         (minus_infty): Likewise.
5240         (qnan_value): Likewise.
5241         (max_value): Likewise.
5242         (min_value): Likewise.
5243         (min_subnorm_value): Likewise.
5245 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5247         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5248         uint64_t or uint32_t usage.
5249         * crypt/sha256-block.c: Likewise.
5250         * crypt/sha256-crypt.c: Likewise.
5251         * crypt/sha256.c: Likewise.
5252         * crypt/sha512-block.c: Likewise.
5253         * crypt/sha512-crypt.c: Likewise.
5254         * crypt/sha512.c: Likewise.
5255         * debug/backtrace-tst.c: Likewise.
5256         * debug/pcprofiledump.c: Likewise.
5257         * elf/cache.c: Likewise.
5258         * elf/dl-cache.c: Likewise.
5259         * elf/dl-misc.c: Likewise.
5260         * elf/dl-profile.c: Likewise.
5261         * elf/dl-support.c: Likewise.
5262         * elf/ldconfig.c: Likewise.
5263         * elf/sprof.c: Likewise.
5264         * iconv/dummy-repertoire.c: Likewise.
5265         * iconv/iconv_charmap.c: Likewise.
5266         * iconv/skeleton.c: Likewise.
5267         * iconvdata/8bit-generic.c: Likewise.
5268         * iconvdata/cp737.h: Likewise.
5269         * iconvdata/cp775.h: Likewise.
5270         * iconvdata/ibm1008.h: Likewise.
5271         * iconvdata/ibm1025.h: Likewise.
5272         * iconvdata/ibm1046.h: Likewise.
5273         * iconvdata/ibm1097.h: Likewise.
5274         * iconvdata/ibm1112.h: Likewise.
5275         * iconvdata/ibm1122.h: Likewise.
5276         * iconvdata/ibm1123.h: Likewise.
5277         * iconvdata/ibm1124.h: Likewise.
5278         * iconvdata/ibm1129.h: Likewise.
5279         * iconvdata/ibm1130.h: Likewise.
5280         * iconvdata/ibm1132.h: Likewise.
5281         * iconvdata/ibm1133.h: Likewise.
5282         * iconvdata/ibm1137.h: Likewise.
5283         * iconvdata/ibm1140.h: Likewise.
5284         * iconvdata/ibm1141.h: Likewise.
5285         * iconvdata/ibm1142.h: Likewise.
5286         * iconvdata/ibm1143.h: Likewise.
5287         * iconvdata/ibm1144.h: Likewise.
5288         * iconvdata/ibm1145.h: Likewise.
5289         * iconvdata/ibm1146.h: Likewise.
5290         * iconvdata/ibm1147.h: Likewise.
5291         * iconvdata/ibm1148.h: Likewise.
5292         * iconvdata/ibm1149.h: Likewise.
5293         * iconvdata/ibm1153.h: Likewise.
5294         * iconvdata/ibm1154.h: Likewise.
5295         * iconvdata/ibm1155.h: Likewise.
5296         * iconvdata/ibm1156.h: Likewise.
5297         * iconvdata/ibm1157.h: Likewise.
5298         * iconvdata/ibm1158.h: Likewise.
5299         * iconvdata/ibm1160.h: Likewise.
5300         * iconvdata/ibm1161.h: Likewise.
5301         * iconvdata/ibm1162.h: Likewise.
5302         * iconvdata/ibm1163.h: Likewise.
5303         * iconvdata/ibm1164.h: Likewise.
5304         * iconvdata/ibm1166.h: Likewise.
5305         * iconvdata/ibm1167.h: Likewise.
5306         * iconvdata/ibm12712.h: Likewise.
5307         * iconvdata/ibm1390.h: Likewise.
5308         * iconvdata/ibm1399.h: Likewise.
5309         * iconvdata/ibm16804.h: Likewise.
5310         * iconvdata/ibm4517.h: Likewise.
5311         * iconvdata/ibm4899.h: Likewise.
5312         * iconvdata/ibm4909.h: Likewise.
5313         * iconvdata/ibm4971.h: Likewise.
5314         * iconvdata/ibm5347.h: Likewise.
5315         * iconvdata/ibm803.h: Likewise.
5316         * iconvdata/ibm856.h: Likewise.
5317         * iconvdata/ibm901.h: Likewise.
5318         * iconvdata/ibm902.h: Likewise.
5319         * iconvdata/ibm9030.h: Likewise.
5320         * iconvdata/ibm9066.h: Likewise.
5321         * iconvdata/ibm921.h: Likewise.
5322         * iconvdata/ibm922.h: Likewise.
5323         * iconvdata/ibm9448.h: Likewise.
5324         * iconvdata/isiri-3342.h: Likewise.
5325         * iconvdata/jis0201.h: Likewise.
5326         * include/link.h: Likewise.
5327         * include/netdb.h: Likewise.
5328         * inet/check_native.c: Likewise.
5329         * inet/check_pf.c: Likewise.
5330         * inet/getipv4sourcefilter.c: Likewise.
5331         * inet/getnameinfo.c: Likewise.
5332         * inet/getsourcefilter.c: Likewise.
5333         * inet/htonl.c: Likewise.
5334         * inet/setipv4sourcefilter.c: Likewise.
5335         * inet/setsourcefilter.c: Likewise.
5336         * inet/test-inet6_opt.c: Likewise.
5337         * inet/tst-network.c: Likewise.
5338         * locale/C-collate.c: Likewise.
5339         * locale/C-ctype.c: Likewise.
5340         * locale/C-time.c: Likewise.
5341         * locale/C-translit.h: Likewise.
5342         * locale/loadarchive.c: Likewise.
5343         * locale/programs/3level.h: Likewise.
5344         * locale/programs/charmap.c: Likewise.
5345         * locale/programs/charmap.h: Likewise.
5346         * locale/programs/ld-address.c: Likewise.
5347         * locale/programs/ld-collate.c: Likewise.
5348         * locale/programs/ld-ctype.c: Likewise.
5349         * locale/programs/ld-identification.c: Likewise.
5350         * locale/programs/ld-measurement.c: Likewise.
5351         * locale/programs/ld-messages.c: Likewise.
5352         * locale/programs/ld-monetary.c: Likewise.
5353         * locale/programs/ld-name.c: Likewise.
5354         * locale/programs/ld-numeric.c: Likewise.
5355         * locale/programs/ld-paper.c: Likewise.
5356         * locale/programs/ld-telephone.c: Likewise.
5357         * locale/programs/ld-time.c: Likewise.
5358         * locale/programs/linereader.c: Likewise.
5359         * locale/programs/locale.c: Likewise.
5360         * locale/programs/locarchive.c: Likewise.
5361         * locale/programs/locfile.h: Likewise.
5362         * locale/programs/repertoire.c: Likewise.
5363         * locale/programs/simple-hash.c: Likewise.
5364         * locale/programs/simple-hash.h: Likewise.
5365         * malloc/memusage.c: Likewise.
5366         * malloc/memusagestat.c: Likewise.
5367         * nis/nis_defaults.c: Likewise.
5368         * nis/nis_hash.c: Likewise.
5369         * nis/nis_print.c: Likewise.
5370         * nis/nis_xdr.c: Likewise.
5371         * nscd/connections.c: Likewise.
5372         * nscd/hstcache.c: Likewise.
5373         * nscd/nscd_gethst_r.c: Likewise.
5374         * nscd/nscd_getserv_r.c: Likewise.
5375         * nscd/nscd_helper.c: Likewise.
5376         * nscd/servicescache.c: Likewise.
5377         * nss/makedb.c: Likewise.
5378         * nss/nss_db/db-XXX.c: Likewise.
5379         * nss/nss_db/db-initgroups.c: Likewise.
5380         * nss/nss_db/db-netgrp.c: Likewise.
5381         * nss/nss_files/files-network.c: Likewise.
5382         * nss/nss_files/files-parse.c: Likewise.
5383         * posix/bug-regex5.c: Likewise.
5384         * posix/fnmatch_loop.c: Likewise.
5385         * posix/regcomp.c: Likewise.
5386         * posix/regexec.c: Likewise.
5387         * posix/tst-rfc3484-2.c: Likewise.
5388         * posix/tst-rfc3484-3.c: Likewise.
5389         * posix/tst-rfc3484.c: Likewise.
5390         * resolv/nss_dns/dns-canon.c: Likewise.
5391         * resolv/nss_dns/dns-network.c: Likewise.
5392         * resolv/res_init.c: Likewise.
5393         * resolv/res_mkquery.c: Likewise.
5394         * resolv/tst-aton.c: Likewise.
5395         * stdlib/cxa_atexit.c: Likewise.
5396         * stdlib/cxa_finalize.c: Likewise.
5397         * stdlib/gen-fpioconst.c: Likewise.
5398         * stdlib/strtol_l.c: Likewise.
5399         * string/tst-endian.c: Likewise.
5400         * sunrpc/auth_des.c: Likewise.
5401         * sunrpc/clnt_udp.c: Likewise.
5402         * sunrpc/rtime.c: Likewise.
5403         * sunrpc/svcauth_des.c: Likewise.
5404         * sunrpc/xdr.c: Likewise.
5405         * sunrpc/xdr_intXX_t.c: Likewise.
5406         * sunrpc/xdr_rec.c: Likewise.
5407         * sysdeps/generic/ldconfig.h: Likewise.
5408         * sysdeps/generic/ldsodefs.h: Likewise.
5409         * sysdeps/generic/memusage.h: Likewise.
5410         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5411         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5412         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5413         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5414         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5416         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5417         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5418         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5419         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5420         * sysdeps/posix/getaddrinfo.c: Likewise.
5421         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5422         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5423         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5424         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5425         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5426         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5427         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5428         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5429         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5430         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5431         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5432         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5433         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5434         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5435         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5436         * sysdeps/x86_64/dl-tls.h: Likewise.
5437         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5438         * time/alt_digit.c: Likewise.
5439         * time/era.c: Likewise.
5440         * wcsmbs/tst-c16c32-1.c: Likewise.
5442 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5444         * math/libm-test.inc (struct test_sincos_data): New type.
5445         (RUN_TEST_LOOP_sincos): New macro.
5446         (sincos_test_data): New variable.
5447         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5449 2013-05-16  Richard Henderson  <rth@redhat.com>
5451         * math/atest-exp2.c (LIMB64): New macro.
5452         (CONSTSZ): New macro.
5453         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5454         (hexdig): Move ...
5455         (print_mpn_fp): ... to function scope.
5456         (read_mpn_hex): Remove.
5457         (get_log2): Remove.
5458         (exp2_mpn): Use mp_log2.
5459         (main): Use mp_exp1.
5461 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5463         * math/libm-test.inc: Remove comment about not testing "inexact"
5464         exceptions.
5465         (INEXACT_EXCEPTION): New macro.
5466         (NO_INEXACT_EXCEPTION): Likewise.
5467         (INVALID_EXCEPTION_OK): Update value.
5468         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5469         (OVERFLOW_EXCEPTION_OK): Likewise.
5470         (UNDERFLOW_EXCEPTION_OK): Likewise.
5471         (IGNORE_ZERO_INF_SIGN): Likewise.
5472         (ERRNO_UNCHANGED): Likewise.
5473         (ERRNO_EDOM): Likewise.
5474         (ERRNO_ERANGE): Likewise.
5475         (test_exceptions): Handle testing "inexact" exceptions.
5476         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5477         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5478         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5479         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5480         INEXACT_EXCEPTION.
5481         (rint_towardzero_test_data): Likewise.
5482         (rint_downward_test_data): Likewise.
5483         (rint_upward_test_data): Likewise.
5485         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5486         with OVERFLOW_EXCEPTION.
5487         (exp10_test_data): Likewise.
5488         (exp2_test_data): Likewise.
5489         (expm1_test_data): Likewise.
5490         (lgamma_test_data): Likewise.
5491         (pow_test_data): Likewise.
5492         (tgamma_test_data): Likewise.
5493         (yn_test_data): Remove duplicate test of overflow.
5495         * math/libm-test.inc (struct test_cc_c_data): New type.
5496         (RUN_TEST_LOOP_cc_c): New macro.
5497         (cpow_test_data): New variable.
5498         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5500         * math/libm-test.inc (struct test_f_L_data): New type.
5501         (RUN_TEST_LOOP_f_L): New macro.
5502         (llrint_test_data): New variable.
5503         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5504         (llrint_tonearest_test_data): New variable.
5505         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5506         (llrint_towardzero_test_data): New variable.
5507         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5508         (llrint_downward_test_data): New variable.
5509         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5510         (llrint_upward_test_data): New variable.
5511         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5512         (llround_test_data): New variable.
5513         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5515 2013-05-13  Peter Collingbourne  <pcc@google.com>
5517         * math/atest-exp2.c (get_log2): Remove const attribute.
5519 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5521         * math/libm-test.inc (struct test_f_l_data): New type.
5522         (RUN_TEST_LOOP_f_l): New macro.
5523         (lrint_test_data): New variable.
5524         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5525         (lrint_tonearest_test_data): New variable.
5526         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5527         (lrint_towardzero_test_data): New variable.
5528         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5529         (lrint_downward_test_data): New variable.
5530         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5531         (lrint_upward_test_data): New variable.
5532         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5533         (lround_test_data): New variable.
5534         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5536 2013-05-15  Peter Collingbourne  <pcc@google.com>
5538         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5539         (EXTRACT_WORDS64) Use where appropriate.
5540         (INSERT_WORDS64) Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5543         constraints with x constraints.
5544         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5546         * malloc/obstack.c (_obstack_compat): Add initializer.
5548 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5551         si_trapno and add si_addr_lsb to _sifields.sigfault.
5552         (si_trapno): Remove macro.
5553         (si_addr_lsb): Define new macro.
5554         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5556 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5558         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5559         instead of TEST_f_l.
5560         (llrint_test_tonearest): Likewise.
5561         (llrint_test_towardzero): Likewise.
5562         (llrint_test_downward): Likewise.
5563         (llrint_test_upward): Likewise.
5564         (llround_test): Likewise.
5566         * math/libm-test.inc (struct test_f_i_data): Add comment.
5567         (RUN_TEST_LOOP_f_b): New macro.
5568         (RUN_TEST_LOOP_f_b_tg): Likewise.
5569         (finite_test_data): New variable.
5570         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5571         (isfinite_test_data): New variable.
5572         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5573         (isinf_test_data): New variable.
5574         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5575         (isnan_test_data): New variable.
5576         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5577         (isnormal_test_data): New variable.
5578         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5579         (issignaling_test_data): New variable.
5580         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5581         (signbit_test_data): New variable.
5582         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5584         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5585         with INVALID_EXCEPTION.
5586         (acosh_test_data): Likewise.
5587         (asin_test_data): Likewise.
5588         (atanh_test_data): Likewise.
5589         (fmod_test_data): Likewise.
5590         (log_test_data): Likewise.
5591         (log10_test_data): Likewise.
5592         (log2_test_data): Likewise.
5593         (pow_test_data): Likewise.
5594         (sqrt_test_data): Likewise.
5595         (y0_test_data): Likewise.
5596         (y1_test_data): Likewise.
5597         (yn_test_data): Likewise.
5599         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5600         function contents.
5602         * math/libm-test.inc (struct test_ff_i_data): New type.
5603         (RUN_TEST_LOOP_ff_i_tg): New macro.
5604         (isgreater_test_data): New variable.
5605         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5606         (isgreaterequal_test_data): New variable.
5607         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5608         (isless_test_data): New variable.
5609         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5610         (islessequal_test_data): New variable.
5611         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5612         (islessgreater_test_data): New variable.
5613         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5614         (isunordered_test_data): New variable.
5615         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5617 2013-05-14  David S. Miller  <davem@davemloft.net>
5619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5621 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5623         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5625         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5626         extra_test to int.
5627         (struct test_f_i_data): Change type of max_ulp to int.
5629         * math/libm-test.inc (test_ffI_f1_data): New type.
5630         (RUN_TEST_LOOP_ffI_f1): New macro.
5631         (remquo_test_data): New variable.
5632         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5634         * setjmp/tst-setjmp-fp.c: New file.
5635         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5636         (link-libm): New variable.
5637         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5639         * math/libm-test.inc (struct test_f_i_data): New type.
5640         (RUN_TEST_LOOP_f_i): New macro.
5641         (RUN_TEST_LOOP_f_i_tg): Likewise.
5642         (fpclassify_test_data): New variable.
5643         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5644         (ilogb_test_data): New variable.
5645         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5647         * math/libm-test.inc (scalbln_test): Correct function name in END
5648         call.
5650         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5651         (RUN_TEST_LOOP_fI_f1): New macro.
5652         (frexp_test_data): New variable.
5653         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5655         * math/libm-test.inc (struct test_fF_f1_data): New type.
5656         (RUN_TEST_LOOP_fF_f1): New macro.
5657         (modf_test_data): New variable.
5658         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5660         * math/libm-test.inc (struct test_f_f1_data): New type.
5661         (RUN_TEST_LOOP_f_f1): New macro.
5662         (gamma_test_data): New variable.
5663         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5664         (lgamma_test_data): New variable.
5665         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5667 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5669         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5670         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5671         (main): Comment "tls" pseudo-hwcap.
5673 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5675         * math/libm-test.inc (struct test_fl_f_data): New type.
5676         (RUN_TEST_LOOP_fl_f): New variable.
5677         (scalbln_test_data): New variable.
5678         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5680         * math/libm-test.inc (struct test_fi_f_data): New type.
5681         (RUN_TEST_LOOP_fi_f): New macro.
5682         (ldexp_test_data): New variable.
5683         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5684         (scalbn_test_data): New variable.
5685         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5687         * math/libm-test.inc (struct test_c_f_data): New type.
5688         (RUN_TEST_LOOP_c_f): New macro.
5689         (cabs_test_data): New variable.
5690         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5691         (carg_test_data): New variable.
5692         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5693         (cimag_test_data): New variable.
5694         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5695         (creal_test_data): New variable.
5696         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5698         * math/libm-test.inc (struct test_if_f_data): New type.
5699         (RUN_TEST_LOOP_if_f): New macro.
5700         (jn_test_data): New variable.
5701         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5702         (yn_test_data): New variable.
5703         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5705         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5707 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5709         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5710         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5712 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5714         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5715         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5716         (bench-deps): Add bench-timing.h.
5717         * benchtests-bench-skeleton.c: Include bench-timing.h.
5718         (main): Use TIMING_* macros instead of clock_gettime.
5719         * benchtests/bench-timing.h: New file.
5721         [BZ #14582]
5722         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5723         Renamed from _LIB_VERSION.
5724         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5726 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5728         * math/libm-test.inc (struct test_fff_f_data): New type.
5729         (RUN_TEST_LOOP_fff_f): New macro.
5730         (fma_test_data): New variable.
5731         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5732         (fma_towardzero_test_data): New variable.
5733         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5734         (fma_downward_test_data): New variable.
5735         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5736         (fma_upward_test_data): New variable.
5737         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5739         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5740         (struct test_c_c_data): New type.
5741         (RUN_TEST_LOOP_c_c): New macro.
5742         (cacos_test_data): New variable.
5743         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5744         (cacosh_test_data): New variable.
5745         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5746         (casin_test_data): New variable.
5747         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5748         (casinh_test_data): New variable.
5749         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5750         (catan_test_data): New variable.
5751         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5752         (catanh_test_data): New variable.
5753         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5754         (ccos_test_data): New variable.
5755         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5756         (ccosh_test_data): New variable.
5757         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5758         (cexp_test_data): New variable.
5759         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5760         (clog_test_data): New variable.
5761         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5762         (clog10_test_data): New variable.
5763         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5764         (conj_test_data): New variable.
5765         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5766         (cproj_test_data): New variable.
5767         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5768         (csin_test_data): New variable.
5769         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5770         (csinh_test_data): New variable.
5771         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5772         (csqrt_test_data): New variable.
5773         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5774         (ctan_test_data): New variable.
5775         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5776         (ctan_tonearest_test_data): New variable.
5777         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5778         (ctan_towardzero_test_data): New variable.
5779         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5780         (ctan_downward_test_data): New variable.
5781         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5782         (ctan_upward_test_data): New variable.
5783         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5784         (ctanh_test_data): New variable.
5785         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5786         (ctanh_tonearest_test_data): New variable.
5787         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5788         (ctanh_towardzero_test_data): New variable.
5789         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5790         (ctanh_downward_test_data): New variable.
5791         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5792         (ctanh_upward_test_data): New variable.
5793         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5794         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5795         of BUILD_COMPLEX.
5797         * math/libm-test.inc (struct test_ff_f_data): New type.
5798         (struct test_ff_f_data_nexttoward): Likewise.
5799         (RUN_TEST_LOOP_2_f): New macro.
5800         (RUN_TEST_LOOP_ff_f): Likewise.
5801         (atan2_test_data): New variable.
5802         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5803         (copysign_test_data): New variable.
5804         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5805         (fdim_test_data): New variable.
5806         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5807         (fmax_test_data): New variable.
5808         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5809         (fmin_test_data): New variable.
5810         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5811         (fmod_test_data): New variable.
5812         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5813         (hypot_test_data): New variable.
5814         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5815         (nextafter_test_data): New variable.
5816         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5817         (nexttoward_test_data): New variable.
5818         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5819         (pow_test_data): New variable.
5820         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5821         (pow_tonearest_test_data): New variable.
5822         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5823         (pow_towardzero_test_data): New variable.
5824         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5825         (pow_downward_test_data): New variable.
5826         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5827         (pow_upward_test_data): New variable.
5828         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5829         (remainder_test_data): New variable.
5830         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5831         (scalb_test_data): New variable.
5832         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5833         * sysdeps/i386/fpu/libm-test-ulps: Update.
5835 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5837         * math/libm-test.inc (fma_test): Use max_value instead of local
5838         variable fltmax.
5839         (nextafter_test): Likewise.
5841         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5842         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5843         (acos_downward_test_data): New variable.
5844         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5845         (acos_upward_test_data): New variable.
5846         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5847         (acosh_test_data): New variable.
5848         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5849         (asin_test_data): New variable.
5850         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5851         (asin_tonearest_test_data): New variable.
5852         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5853         (asin_towardzero_test_data): New variable.
5854         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5855         (asin_downward_test_data): New variable.
5856         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5857         (asin_upward_test_data): New variable.
5858         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5859         (asinh_test_data): New variable.
5860         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5861         (atan_test_data): New variable.
5862         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5863         (atanh_test_data): New variable.
5864         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5865         (cbrt_test_data): New variable.
5866         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5867         (ceil_test_data): New variable.
5868         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5869         (cos_test_data): New variable.
5870         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5871         (cos_tonearest_test_data): New variable.
5872         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5873         (cos_towardzero_test_data): New variable.
5874         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5875         (cos_downward_test_data): New variable.
5876         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5877         (cos_upward_test_data): New variable.
5878         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5879         (cosh_test_data): New variable.
5880         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5881         (cosh_tonearest_test_data): New variable.
5882         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5883         (cosh_towardzero_test_data): New variable.
5884         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5885         (cosh_downward_test_data): New variable.
5886         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5887         (cosh_upward_test_data): New variable.
5888         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5889         (erf_test_data): New variable.
5890         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5891         (erfc_test_data): New variable.
5892         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5893         (exp_test_data): New variable.
5894         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5895         (exp_tonearest_test_data): New variable.
5896         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5897         (exp_towardzero_test_data): New variable.
5898         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5899         (exp_downward_test_data): New variable.
5900         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5901         (exp_upward_test_data): New variable.
5902         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5903         (exp10_test_data): New variable.
5904         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5905         (exp2_test_data): New variable.
5906         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5907         (expm1_test_data): New variable.
5908         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5909         (fabs_test_data): New variable.
5910         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5911         (floor_test_data): New variable.
5912         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5913         (j0_test_data): New variable.
5914         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5915         (j1_test_data): New variable.
5916         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5917         (log_test_data): New variable.
5918         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5919         (log10_test_data): New variable.
5920         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5921         (log1p_test_data): New variable.
5922         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5923         (log2_test_data): New variable.
5924         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5925         (logb_test_data): New variable.
5926         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5927         (logb_downward_test_data): New variable.
5928         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5929         (nearbyint_test_data): New variable.
5930         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5931         (rint_test_data): New variable.
5932         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5933         (rint_tonearest_test_data): New variable.
5934         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5935         (rint_towardzero_test_data): New variable.
5936         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5937         (rint_downward_test_data): New variable.
5938         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5939         (rint_upward_test_data): New variable.
5940         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5941         (round_test_data): New variable.
5942         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5943         (sin_test_data): New variable.
5944         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5945         (sin_tonearest_test_data): New variable.
5946         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5947         (sin_towardzero_test_data): New variable.
5948         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5949         (sin_downward_test_data): New variable.
5950         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5951         (sin_upward_test_data): New variable.
5952         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5953         (sinh_test_data): New variable.
5954         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5955         (sinh_tonearest_test_data): New variable.
5956         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5957         (sinh_towardzero_test_data): New variable.
5958         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5959         (sinh_downward_test_data): New variable.
5960         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5961         (sinh_upward_test_data): New variable.
5962         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5963         (sqrt_test_data): New variable.
5964         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5965         (tan_test_data): New variable.
5966         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5967         (tan_tonearest_test_data): New variable.
5968         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5969         (tan_towardzero_test_data): New variable.
5970         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5971         (tan_downward_test_data): New variable.
5972         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5973         (tan_upward_test_data): New variable.
5974         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5975         (tanh_test_data): New variable.
5976         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5977         (tgamma_test_data): New variable.
5978         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5979         (trunc_test_data): New variable.
5980         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5981         (y0_test_data): New variable.
5982         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5983         (y1_test_data): New variable.
5984         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5985         (significand_test_data): New variable.
5986         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5988 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
5990         [BZ #12387]
5991         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5993 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
5995         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5997 2013-05-10  Andreas Jaeger  <aj@suse.de>
5999         [BZ #15448]
6000         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6001         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6003 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6005         * math/gen-libm-test.pl (adjust_arg): New function.
6006         (special_functions): Handle generating output in both functions
6007         and arrays.
6008         (parse_args): Likewise.
6009         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6010         $in_func argument to parse_args.
6011         * math/libm-test.inc (struct test_f_f_data): New type.
6012         (IF_ROUND_INIT_): New macro.
6013         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6014         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6015         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6016         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6017         (ROUND_RESTORE_): Likewise.
6018         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6019         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6020         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6021         (ROUND_RESTORE_FE_UPWARD): Likewise.
6022         (RUN_TEST_LOOP_f_f): New macro.
6023         (acos_test_data): New variable.
6024         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6025         (acos_tonearest_test_data): New variable.
6026         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6028 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6030         * benchtests/bench-skeleton.c (startup): Fix coding style.
6032 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6034         [BZ #6809]
6035         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6036         negative infinity argument.
6037         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6038         negative infinity argument.
6039         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6040         negative infinity argument.
6041         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6042         domain errors.
6044 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6046         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6047         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6048         * iconv/iconv_prog.c (main): Likewise.
6049         * locale/programs/charmap-dir.c (charmap_readdir)
6050         (fopen_uncompressed): Likewise.
6051         * locale/programs/locfile.c (siblings_uncached)
6052         (write_locale_data): Use lstat64 instead of lstat.
6053         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6054         stat.
6056 2013-05-10  Andreas Jaeger  <aj@suse.de>
6058         [BZ #15395]
6059         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6060         localization.
6061         Include <locale.h>.
6063 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6065         * elf/dl-close.c (_dl_close_worker): Add comments.
6067 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6069         [BZ #15359]
6070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6071         high part of pi/2.
6072         (__ieee754_rem_pio2l): Update comments.
6074         [BZ #15429]
6075         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6076         high part of pi/2.
6077         (__ieee754_rem_pio2l): Update comments.
6079         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6080         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6082         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6083         M_PI_4l.
6085         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6086         (M_PI_34_LOG10El): Likewise.
6087         (M_PI2_LOG10El): Likewise.
6088         (M_PI4_LOG10El): Likewise.
6089         (M_PI_LOG10El): Likewise.
6091 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6095 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6097         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6098         (MINUS_ZERO_INIT): Likewise.
6099         (PLUS_INFTY_INIT): Likewise.
6100         (MINUS_INFTY_INIT): Likewise.
6101         (QNAN_VALUE_INIT): Likewise.
6102         (MAX_VALUE_INIT): Likewise.
6103         (MIN_VALUE_INIT): Likewise.
6104         (MIN_SUBNORM_VALUE_INIT): Likewise.
6105         (plus_zero): Initialize with PLUS_ZERO_INIT.
6106         (minus_zero): Initialize with MINUS_ZERO_INIT.
6107         (plus_infty): Initialize with PLUS_INFTY_INIT.
6108         (minus_infty): Initialize with MINUS_INFTY_INIT.
6109         (qnan_value): Initialize with QNAN_VALUE_INIT.
6110         (max_value): Initialize with MAX_VALUE_INIT.
6111         (min_value): Initialize with MIN_VALUE_INIT.
6112         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6114         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6115         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6116         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6117         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6119         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6120         (RUN_TEST_2_f): Likewise.
6121         (RUN_TEST_ff_f): Likewise.
6122         (RUN_TEST_fi_f): Likewise.
6123         (RUN_TEST_fl_f): Likewise.
6124         (RUN_TEST_fff_f): Likewise.
6125         (RUN_TEST_c_f): Likewise.
6126         (RUN_TEST_f_f1): Likewise.
6127         (RUN_TEST_fF_f1): Likewise.
6128         (RUN_TEST_fI_f1): Likewise.
6129         (RUN_TEST_ffI_f1): Likewise.
6130         (RUN_TEST_c_c): Likewise.
6131         (RUN_TEST_cc_c): Likewise.
6132         (RUN_TEST_f_i): Likewise.
6133         (RUN_TEST_f_i_tg): Likewise.
6134         (RUN_TEST_ff_i_tg): Likewise.
6135         (RUN_TEST_f_b): Likewise.
6136         (RUN_TEST_f_b_tg): Likewise.
6137         (RUN_TEST_f_l): Likewise.
6138         (RUN_TEST_f_L): Likewise.
6139         (RUN_TEST_sincos): Likewise.
6140         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6141         whether to show exceptions.  Do not include ");\n" in return
6142         value.
6143         (special_functions): Output call to RUN_TEST_sincos instead of
6144         check_float calls.  Update calls to new_test.
6145         (parse_args): Output call to single RUN_TEST_* macro instead of
6146         check_* calls and other assignments.  Update calls to new_test.
6148         [BZ #2546]
6149         [BZ #2560]
6150         [BZ #5159]
6151         [BZ #15426]
6152         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6153         input to result for tgamma overflow.
6154         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6155         (gamma_coeff): New variable.
6156         (NCOEFF): New macro.
6157         (gamma_positive): New function.
6158         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6159         underflow here.  Use gamma_positive instead of exp (lgamma) for
6160         other arguments.
6161         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6162         (gamma_coeff): New variable.
6163         (NCOEFF): New macro.
6164         (gammaf_positive): New function.
6165         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6166         underflow here.  Use gamma_positive instead of exp (lgamma) for
6167         other arguments.
6168         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6169         (gamma_coeff): New variable.
6170         (NCOEFF): New macro.
6171         (gammal_positive): New function.
6172         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6173         underflow here.  Use gamma_positive instead of exp (lgamma) for
6174         other arguments.
6175         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6176         (gamma_coeff): New variable.
6177         (NCOEFF): New macro.
6178         (gammal_positive): New function.
6179         (__ieee754_gammal_r): Handle positive infinity, overflow and
6180         underflow here.  Handle NaN the same as positive infinity.  Remove
6181         check x < 0xffffffff for negative integers.  Use gamma_positive
6182         instead of exp (lgamma) for other arguments.
6183         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6184         (gamma_coeff): New variable.
6185         (NCOEFF): New macro.
6186         (gammal_positive): New function.
6187         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6188         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6189         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6190         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6191         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6192         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6193         * sysdeps/generic/math_private.h (__gamma_productf): New
6194         prototype.
6195         (__gamma_product): Likewise.
6196         (__gamma_productl): Likewise.
6197         * math/Makefile (libm-calls): Add gamma_product.
6198         * math/libm-test.inc (tgamma_test): Add more tests.
6199         * sysdeps/i386/fpu/libm-test-ulps: Update.
6200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6204         * benchtests/bench-skeleton.c (main): Preheat CPU.
6206 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6208         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6210 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6212         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6213         and _dl_skip_args_internal.
6215 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6217         * manual/message.texi (Message Translation): Talk about users.
6218         Message to key mapping impacts design.
6220 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6222         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6224         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6226         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6227         * sysdeps/wordsize-64/glob64.c: ... here.
6229         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6230         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6231         New macros.
6233         * debug/getlogin_r_chk.c: Moved to ...
6234         * login/getlogin_r_chk.c: ... here.
6235         * debug/Makefile (routines): Move getlogin_r_chk to ...
6236         * login/Makefile (routines): ... here.
6237         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6238         * login/Versions (libc: GLIBC_2.4): ... here.
6240         * io/poll.c (__poll): Renamed from poll.
6241         Add libc_hidden_def.
6242         (poll): Define as weak alias.
6244         * debug/ptsname_r_chk.c: Moved to ...
6245         * login/ptsname_r_chk.c: ... here.
6246         * debug/Makefile (routines): Move ptsname_r_chk to ...
6247         * login/Makefile (routines): ... here.
6248         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6249         * login/Versions (libc: GLIBC_2.4): ... here.
6251         * posix/getlogin.c: Moved to ...
6252         * login/getlogin.c: ... here.
6253         * posix/getlogin_r.c: Moved to ...
6254         * login/getlogin_r.c: ... here.
6255         * posix/getlogin_r.c: Moved to ...
6256         * login/getlogin_r.c: ... here.
6257         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6258         * login/Makefile (routines): ... here.
6259         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6260         * login/Versions (libc: GLIBC_2.0): ... here.
6262         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6263         (setrlimit): Define as weak alias.
6265         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6266         Call __ names for open, ftruncate, and close.
6267         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6268         (truncate): Define as weak alias.
6270 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6272         * math/gen-libm-test.pl (parse_args): Initialize x before each
6273         test of frexp, modf and remquo.
6275         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6276         test signgam value.
6278 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6280         [BZ #15418]
6281         [BZ #15419]
6282         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6283         internal tests.
6284         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6286 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6288         * elf/dl-writev.h: New file.
6289         * elf/dl-misc.c: Include it.
6290         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6291         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6293 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6295         * math/libm-test.inc (noXFails): Remove variable.
6296         (noXPasses): Likewise.
6297         (BUILD_COMPLEX_INT): Remove macro.
6298         (print_screen): Remove xfail argument.
6299         (print_screen_max_error): Likewise.
6300         (update_stats): Likewise.
6301         (print_max_error): Likewise.  Update calls to other affected
6302         functions.
6303         (print_complex_max_error): Likewise.
6304         (test_single_exception): Update calls to print_screen.
6305         (test_single_errno): Likewise.
6306         (check_float_internal): Remove xfail argument.  Update calls to
6307         other affected functions.
6308         (check_float): Likewise.
6309         (check_complex): Likewise.
6310         (check_int): Likewise.
6311         (check_long): Likewise.
6312         (check_bool): Likewise.
6313         (check_longlong): Likewise.
6314         (main): Don't print noXFails and noXPasses.
6315         * math/gen-libm-test.pl (top level): Don't mention expected
6316         failure handling in comment.
6317         (new_test): Don't handle expected failures.
6318         (parse_args): Don't mention expected failure handling in comment.
6319         (generate_testfile): Don't handle expected failures.
6320         (parse_ulps): Likewise.
6321         (print_ulps_file): Likewise.
6322         (get_failure): Remove function.
6323         (output_test): Don't handle expected failures.
6324         * make/README.libm-test: Don't mention expected failure handling.
6326         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6327         (minus_zero): Likewise.
6328         (plus_infty): Likewise.
6329         (minus_infty): Likewise.
6330         (qnan_value): Likewise.
6331         (max_value): Likewise.
6332         (min_value): Likewise.
6333         (min_subnorm_value): Likewise.
6334         (initialize): Do not initialize those variables dynamically.
6336 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6338         * io/open.c (__open_2): Moved to ...
6339         * io/open_2.c: ... this new file.
6340         * io/open64.c (__open64_2): Moved to ...
6341         * io/open64_2.c: ... this new file.
6342         * io/openat.c (__openat_2): Moved to ...
6343         * io/openat_2.c: ... this new file.
6344         * io/openat64.c (__openat64_2): Moved to ...
6345         * io/openat64_2.c: ... this new file.
6346         * io/Makefile (routines): Add them.
6347         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6348         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6349         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6350         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6351         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6352         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6353         (__openat64): Add hidden_ver.
6354         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6355         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6357         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6358         Separately conditionalize setting of GLRO(dl_sysinfo) so
6359         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6360         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6362 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6364         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6365         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6366         definition.
6367         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6368         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6369         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6370         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6371         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6373 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6375         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6376         test signgam value.
6378         * math/libm-test.inc (hypot_test): Do not use
6379         IGNORE_ZERO_INF_SIGN.
6381 2013-05-03  Andreas Jaeger  <aj@suse.de>
6383         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6384         Linux 3.9.
6385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6386         (PF_MAX): Adjust for VSOCK change.
6388 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6392 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6394         [BZ #15264]
6395         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6396         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6397         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6399 2013-05-02  David S. Miller  <davem@davemloft.net>
6401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6403 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6405         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6407 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6409         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6411 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6413         [BZ #14952]
6414         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6415         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6416         Use __attribute__ ((__gnu_inline__)).
6417         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6418         Don't use __attribute__ ((__gnu_inline__)).
6420 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6422         [BZ #15423]
6423         * math/s_catan.c (__catan): Handle small real or imaginary part of
6424         input specially to avoid spurious underflow.
6425         * math/s_catanf.c (__catanf): Likewise.
6426         * math/s_catanh.c (__catanh): Likewise.
6427         * math/s_catanhf.c (__catanhf): Likewise.
6428         * math/s_catanhl.c (__catanhl): Likewise.
6429         * math/s_catanl.c (__catanl): Likewise.
6430         * math/libm-test.inc (catan_test): Add more tests.
6431         (catanh_test): Likewise.
6432         * sysdeps/i386/fpu/libm-test-ulps: Update.
6433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6435 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6439 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6441         [BZ #15416]
6442         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6443         accurately for denominator in atan2.
6444         * math/s_catanf.c (__catanf): Likewise.
6445         * math/s_catanh.c (__catanh): Likewise.
6446         * math/s_catanhf.c (__catanhf): Likewise.
6447         * math/s_catanhl.c (__catanhl): Likewise.
6448         * math/s_catanl.c (__catanl): Likewise.
6449         * math/libm-test.inc (catan_test): Add more tests.
6450         (catanh_test): Likewise.
6451         * sysdeps/i386/fpu/libm-test-ulps: Update.
6452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6454 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6456         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6458         * benchtests/Makefile (bench): Remove slow benchmarks.
6459         * benchtests/atan-inputs: Add slow benchmark inputs.
6460         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6461         (BENCH_FUNC): Accept variant offset.
6462         (VARIANT): Define.
6463         * benchtests/bench-skeleton.c (main): Run benchmark for each
6464         variant.
6465         * benchtests/cos-inputs: Add slow benchmark inputs.
6466         * benchtests/exp-inputs: Likewise.
6467         * benchtests/pow-inputs: Likewise.
6468         * benchtests/sin-inputs: Likewise.
6469         * benchtests/slowatan-inputs: Remove.
6470         * benchtests/slowatan.c: Remove.
6471         * benchtests/slowcos-inputs: Remove.
6472         * benchtests/slowcos.c: Remove.
6473         * benchtests/slowexp-inputs: Remove.
6474         * benchtests/slowexp.c: Remove.
6475         * benchtests/slowpow-inputs: Remove.
6476         * benchtests/slowpow.c: Remove.
6477         * benchtests/slowsin-inputs: Remove.
6478         * benchtests/slowsin.c: Remove.
6479         * benchtests/slowtan-inputs: Remove.
6480         * benchtests/slowtan.c: Remove.
6481         * benchtests/tan-inputs: Add slow benchmark inputs.
6482         * scripts/bench.pl: Parse comments and directives.
6484         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6485         in CPPFLAGS.
6486         ($(objpfx)bench-%.c): Remove *-ITER.
6487         * benchtests/bench-modf.c: Remove definition of ITER.
6488         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6489         (main): Loop for DURATION seconds instead of fixed number of
6490         iterations.
6491         * scripts/bench.pl: Don't expect iterations in parameters.
6493 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6495         * io/fchdir.c (__fchdir): Renamed from fchdir.
6496         (fchdir): Define as weak alias.
6498 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6500         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6501         (ERRNO_EDOM): Likewise.
6502         (ERRNO_ERANGE): Likewise.
6503         (noErrnoTests): New variable.
6504         (init_max_error): Set errno to 0.
6505         (test_single_errno): New function.
6506         (test_errno): Likewise.
6507         (check_float_internal): Call test_errno.  Set errno to 0.
6508         (check_complex): Refer to errno tests in comment.
6509         (check_int): Call test_errno.  Set errno to 0.
6510         (check_long): Likewise.
6511         (check_bool): Likewise.
6512         (check_longlong): Likewise.
6513         (cos_test): Use ERRNO_* flags for errno tests instead of
6514         check_int.
6515         (expm1_test): Likewise.
6516         (fmod_test): Likewise.
6517         (ilogb_test): Likewise.
6518         (lgamma_test): Likewise.
6519         (pow_test): Likewise.
6520         (remainder_test): Likewise.
6521         (sin_test): Likewise.
6522         (tan_test): Likewise.
6523         (yn_test): Likewise.
6524         (initialize): Set errno to 0.
6525         (main): Print number of errno tests.
6526         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6528 2013-04-29  Andreas Jaeger  <aj@suse.de>
6530         [BZ #15084]
6531         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6532         and RES_USEVC.
6534         [BZ #15085]
6535         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6536         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6537         unimplemented.
6539         [BZ #15380]
6540         * stdlib/random.c (__initstate): Return NULL if
6541         __initstate fails.
6543         [BZ #15086]
6544         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6545         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6546         RES_SNGLKUPREOP.
6548 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6552 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6554         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6555         of individual tests.
6556         (casin_test): Likewise.
6557         (casinh_test): Likewise.
6559 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #15409]
6562         * math/s_catan.c (__catan): Handle arguments with large real or
6563         imaginary part separately without squaring.
6564         * math/s_catanf.c (__catanf): Likewise.
6565         * math/s_catanh.c (__catanh): Likewise.
6566         * math/s_catanhf.c (__catanhf): Likewise.
6567         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6568         and redefine.
6569         (__catanhl): Handle arguments with large real or imaginary part
6570         separately without squaring.
6571         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6572         and redefine.
6573         (__catanl): Handle arguments with large real or imaginary part
6574         separately without squaring.
6575         * math/libm-test.inc (catan_test): Add more tests.
6576         (catanh_test): Likewise.
6577         * sysdeps/i386/fpu/libm-test-ulps: Update.
6578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6580 2013-04-27  Andreas Jaeger  <aj@suse.de>
6582         [BZ #15007]
6583         * stdlib/stdlib.h: Update guards for qecvt.
6584         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6585         <stdlib.h>.
6587 2013-04-27  Allan McRae  <allan@archlinux.org>
6589         * sysdeps/i386/fpu/libm-test-ulps: Update.
6591 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6593         [BZ #15406]
6594         * math/s_catan.c: Include <float.h>.
6595         (__catan): Ensure underflow exception occurs for underflowed
6596         result.
6597         * math/s_catanf.c: Include <float.h>.
6598         (__catanf): Ensure underflow exception occurs for underflowed
6599         result.
6600         * math/s_catanh.c: Include <float.h>.
6601         (__catanh): Ensure underflow exception occurs for underflowed
6602         result.
6603         * math/s_catanhf.c: Include <float.h>.
6604         (__catanhf): Ensure underflow exception occurs for underflowed
6605         result.
6606         * math/s_catanhl.c: Include <float.h>.
6607         (__catanhl): Ensure underflow exception occurs for underflowed
6608         result.
6609         * math/s_catanl.c: Include <float.h>.
6610         (__catanl): Ensure underflow exception occurs for underflowed
6611         result.
6612         * math/libm-test.inc (catan_test): Add more tests.
6613         (catanh_test): Likewise.
6615         [BZ #15405]
6616         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6617         underflowed result.
6618         * math/s_ccoshf.c (__ccoshf): Likewise.
6619         * math/s_ccoshl.c (__ccoshl): Likewise.
6620         * math/s_csin.c (__csin): Likewise.
6621         * math/s_csinf.c (__csinf): Likewise.
6622         * math/s_csinh.c (__csinh): Likewise.
6623         * math/s_csinhf.c (__csinhf): Likewise.
6624         * math/s_csinhl.c (__csinhl): Likewise.
6625         * math/s_csinl.c (__csinl): Likewise.
6626         * math/libm-test.inc (ccos_test): Add more tests.
6627         (ccosh_test): Likewise.
6628         (csin_test): Likewise.
6629         (csinh_test): Likewise.
6631 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6633         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6634         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6635         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6636         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6637         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6638         powerpc/power5+/fpu folders.
6639         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6642 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6646 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6648         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6649         additions to variable.
6650         [$(config-machine) = x86_64] (modules-names): Likewise.
6651         ($(objpfx)tst-audit3): Remove dependency.
6652         ($(objpfx)tst-audit3.out): Likewise.
6653         ($(objpfx)tst-audit4): Likewise.
6654         ($(objpfx)tst-audit4.out): Likewise.
6655         ($(objpfx)tst-audit5): Likewise.
6656         ($(objpfx)tst-audit5.out): Likewise.
6657         ($(objpfx)tst-audit6): Likewise.
6658         ($(objpfx)tst-audit6.out): Likewise.
6659         ($(objpfx)tst-audit7): Likewise.
6660         ($(objpfx)tst-audit7.out): Likewise.
6661         (tst-audit3-ENV): Remove variable.
6662         (tst-audit4-ENV): Likewise.
6663         (tst-audit5-ENV): Likewise.
6664         (tst-audit6-ENV): Likewise.
6665         (tst-audit7-ENV): Likewise.
6666         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6667         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6668         addition to variable.
6669         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6670         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6671         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6672         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6673         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6674         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6675         tst-audit3, tst-audit4 and tst-audit5.
6676         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6677         tst-audit6 and tst-audit7.
6678         [$(subdir) = elf] (modules-names): Add audit modules for those
6679         tests.
6680         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6681         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6682         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6683         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6684         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6685         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6686         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6687         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6688         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6689         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6690         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6691         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6692         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6693         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6694         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6695         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6696         Likewise.
6697         [$(subdir) = elf && $(config-cflags-avx) = yes]
6698         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6699         [$(subdir) = elf && $(config-cflags-avx) = yes]
6700         (CFLAGS-tst-auditmod4a.c): Likewise.
6701         [$(subdir) = elf && $(config-cflags-avx) = yes]
6702         (CFLAGS-tst-auditmod4b.c): Likewise.
6703         [$(subdir) = elf && $(config-cflags-avx) = yes]
6704         (CFLAGS-tst-auditmod6b.c): Likewise.
6705         [$(subdir) = elf && $(config-cflags-avx) = yes]
6706         (CFLAGS-tst-auditmod6c.c): Likewise.
6707         [$(subdir) = elf && $(config-cflags-avx) = yes]
6708         (CFLAGS-tst-auditmod7b.c): Likewise.
6709         * elf/tst-audit3.c: Move to ...
6710         * sysdeps/x86_64/tst-audit3.c: ... here.
6711         * elf/tst-audit4.c: Move to ...
6712         * sysdeps/x86_64/tst-audit4.c: ... here.
6713         * elf/tst-audit5.c: Move to ...
6714         * sysdeps/x86_64/tst-audit5.c: ... here.
6715         * elf/tst-audit6.c: Move to ...
6716         * sysdeps/x86_64/tst-audit6.c: ... here.
6717         * elf/tst-audit7.c: Move to ...
6718         * sysdeps/x86_64/tst-audit7.c: ... here.
6719         * elf/tst-auditmod3a.c: Move to ...
6720         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6721         * elf/tst-auditmod3b.c: Move to ...
6722         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6723         * elf/tst-auditmod4a.c: Move to ...
6724         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6725         * elf/tst-auditmod4b.c: Move to ...
6726         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6727         * elf/tst-auditmod5a.c: Move to ...
6728         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6729         * elf/tst-auditmod5b.c: Move to ...
6730         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6731         * elf/tst-auditmod6a.c: Move to ...
6732         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6733         * elf/tst-auditmod6b.c: Move to ...
6734         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6735         * elf/tst-auditmod6c.c: Move to ...
6736         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6737         * elf/tst-auditmod7a.c: Move to ...
6738         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6739         * elf/tst-auditmod7b.c: Move to ...
6740         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6742 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6744         [BZ #15366]
6745         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6746         define unconditionally.
6747         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6748         define unconditionally.
6749         (INT8_C, INT16_C, etc.): Likewise.
6751 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6753         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6754         __ehdr_start with hidden visibility.
6756         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6758 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6760         * math/libm-test.inc (cos_test): Use accurate hex constants.
6761         (sincost_test): Likewise.
6763 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6765         * math/libm-test.inc (catan_test): Add more tests.
6766         (catanh_test): Likewise.
6768         * math/s_catanf.c (__catanf): Use suffixed floating-point
6769         constants.
6770         * math/s_catanhf.c (__catanhf): Likewise.
6771         * math/s_catanhl.c (__catanhl): Likewise.
6772         * math/s_catanl.c (__catanl): Likewise.
6774         [BZ #15394]
6775         * math/s_catan.c (__catan): Calculate imaginary part of result
6776         with log1p not log unless computing log of number close to 0.
6777         * math/s_catanf.c (__catanf): Likewise.
6778         * math/s_catanl.c (__catanl): Likewise.
6779         * math/s_catanh.c (__catanh): Calculate real part of result with
6780         log1p not log unless computing log of number close to 0.
6781         * math/s_catanhf.c (__catanhf): Likewise.
6782         * math/s_catanhl.c (__catanhl): Likewise.
6783         * math/libm-test.inc (catan_test): Add more tests.
6784         (catanh_test): Likewise.
6785         * sysdeps/i386/fpu/libm-test-ulps: Update.
6786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6788 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6790         * benchtests/Makefile: Mention files in which fast and slow
6791         paths of math functions are implemented.
6793 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6795         * sysdeps/posix/timespec_get.c: New file.
6797 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6799         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6800         POWER.
6801         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6802         for POWER.
6803         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6804         powerpc/power5/fpu folders.
6805         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6806         * benchtests/Makefile: Add modf testcase.
6807         * benchtests/bench-modf.c: New file: Benchmark test for mo
6809 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6811         [BZ #14888]
6812         * time/Makefile (tests): Add tst-strptime-whitespace.
6813         * time/strptime_l.c (get_number): Use ISSPACE.
6814         (__strptime_internal): Likewise.
6815         * time/tst-strptime-whitespace.c: New test case.
6817 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6819         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6820         member.
6821         (_nss_files_init): Set it here.
6823 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6825         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6826         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6827         unsigned.
6829 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6831         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6833 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6836         size just once.
6838 2013-04-21  David S. Miller  <davem@davemloft.net>
6840         * po/ru.po: Update Russion translation from translation project.
6842 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6844         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6845         and setfsgid.
6847 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6849         * configure.in: Remove i386 configure warning. Remove i386 case.
6850         * configure: Regenerate.
6851         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6852         Add example to error message.
6853         * sysdeps/i386/configure: Regenerate.
6855 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6857         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6858         slowtan.
6859         * benchtests/cos-inputs: New file.
6860         * benchtests/slowcos-inputs: New file.
6861         * benchtests/slowcos.c: New file.
6862         * benchtests/slowtan-inputs: New file.
6863         * benchtests/slowtan.c: New file.
6864         * benchtests/tan-inputs: New file.
6866 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6868         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6869         considered kosher.
6871 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6873         * benchtests/Makefile: Include cppflags-iterator.mk to add
6874         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6876         * Makefile.in (bench-clean): New target.
6877         * benchtests/Makefile (bench-clean): Likewise.
6879 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6881         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6883 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6885         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6887 2013-04-15  Andreas Schwab  <schwab@suse.de>
6889         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6891         * nscd/pwdcache.c (cache_addpw): Likewise.
6892         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6893         more than recsize.
6895 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6897         * benchtests/Makefile (bench): Write all output to
6898         bench-out.tmp together.
6900 2013-04-15  Andreas Schwab  <schwab@suse.de>
6902         * nscd/nscd.c (main): Don't fork again after closing files.
6904 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6906         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6908         * benchtests/Rules (bench-deps): Collect dependencies into a
6909         single variable.  Add Makefile to dependencies.
6910         ($(objpfx)bench-%.c): Depend on bench-deps.
6912 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6913             Xavier Roche  <roche+kml2@exalead.com>
6915         [BZ #15361]
6916         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6917         just that it's a file descriptor.
6918         * manual/llio.texi (Synchronizing AIO Operations): Update description
6919         for EBADF error from aio_fsync.
6921 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6923         * Rules (bench): Move target definition...
6924         * benchtests/Makefile: ... here.
6926 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6928         * math/libm-test.inc (cos_test): Fix PI/2 test.
6929         (sincos_test): Likewise.
6930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6931         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6933 2013-04-11  Andreas Schwab  <schwab@suse.de>
6935         [BZ #13988]
6936         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6937         accept exponent character only when digits were seen.
6938         * stdio-common/Makefile (tests): Add bug26.
6939         * stdio-common/bug26.c: New file.
6941         [BZ #14293]
6942         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6943         non-freeable.
6945 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6947         * Makeconfig (rtld-prefix): Define built linker prefix.
6948         * Rules (run-bench): Use it.
6949         * math/Makefile (run-regen-ulps): Likewise.
6951         * Rules (bench): Remove eval.
6953 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6954             Roland McGrath  <roland@hack.frob.com>
6955             Ondrej Bilka  <neleai@seznam.cz>
6957         [BZ #15346]
6958         * time/getdate.c: Include ctype.h and alloca.h.
6959         (__getdate_r): Trim leading and trailing spaces of input.
6960         * time/tst-getdate.c (tests): Add tests with leading and
6961         trailing spaces.
6963 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6965         [BZ #14280]
6966         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6967         when computing value.
6969 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6971         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6972         Use testrun.sh to run libm tests.
6974         [BZ #15309]
6975         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6977 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6979         [BZ #15264]
6980         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6984         * Makefile.in (regen-ulps): New target.
6985         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6986         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6987         [ifneq (no,$(PERL)] (regen-ulps): New target.
6988         [ifeq (no,$(PERL)] (regen-ulps): New target.
6989         * math/libm-test.inc (ulps_file_name): Define.
6990         (output_dir): New variable.
6991         (options): Add "output-dir" option.
6992         (parse_opt): Handle 'o' case.
6993         (main): If output_dir is non-NULL use it as a prefix
6994         otherwise use "".
6995         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6997 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6999         [BZ #10060, #10062]
7000         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7001         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7002         fail configure if __sync_val_compare_and_swap is not inlined.
7003         * sysdeps/i386/configure: Regenerate.
7004         * configure.in: Build for i686 when configured for i386.
7005         * configure: Regenerate.
7006         * README: Remove i386 reference.
7008 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7010         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7011         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7013 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7015         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7016         (lmsnanval): New variables.
7017         (F): Add conversion tests.
7018         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7019         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7021         * stdio-common/tstdiomisc.c (F): Properly collect individual
7022         tests' results.
7024         [BZ #14686, #15336]
7025         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7026         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7027         Instead, use input NaN values or generate a qNaN by arithmetic
7028         operation.  Also fix bugs to comply with the standard.
7029         * math/libm-test.inc (remainder_test): Add more tests.
7031         [BZ #15335, #15342]
7032         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7034         input NaN values or generate a qNaN by arithmetic operation.
7036         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7037         unreachable code.
7039         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7040         definitions.
7042 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7044         [BZ #14478]
7045         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7046         underflowed result.
7047         * math/s_cexpf.c (__cexpf): Likewise.
7048         * math/s_cexpl.c (__cexpl): Likewise.
7049         * math/libm-test.inc (cexp_test): Add more tests.
7051 2013-04-03  Andreas Schwab  <schwab@suse.de>
7053         [BZ #15330]
7054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7055         order arrays from heap if bigger than alloca cutoff.
7057 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7059         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7060         (SNAN_TESTS_double): Refer to GCC PR56831.
7061         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7062         GCC PR56828.
7064 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7066         * Rules (bench): Move bench.out after the run is complete.
7068         * Rules (bench): Echo currently running benchmark.
7070         * benchtests/Makefile (bench): Add atan and slowatan.
7071         * benchtests/atan-inputs: New file.
7072         * benchtests/slowatan-inputs: New file.
7073         * benchtests/slowatan.c: New file.
7075         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7076         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7077         its value.
7079         [BZ #15305]
7080         * sysdeps/unix/sysv/linux/kernel-features.h
7081         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7082         __ASSUME_XFS_RESTRICTED_CHOWN.
7083         * sysdeps/unix/sysv/linux/pathconf.c
7084         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7085         Save and restore errno.
7087 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7089         [BZ #15327]
7090         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7091         arguments using __kernel_casinh.
7092         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7093         arguments using __kernel_casinhf.
7094         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7095         arguments using __kernel_casinhl.
7096         * math/libm-test.inc (cacosh_test): Add more tests.
7097         * sysdeps/i386/fpu/libm-test-ulps: Update.
7098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7102         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7105         * bench/Makefile (bench): Add sin and slowsin.
7106         * benchtests/sin-inputs: New file.
7107         * benchtests/slowsin-inputs: New file.
7108         * benchtests/slowsin.c: New file.
7110         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7111         (bench): Add slowexp and slowpow.
7112         (exp-ITER): Increase iterations.
7113         (pow-ITER): Likewise.
7114         * benchtests/exp-inputs: Change input.
7115         * benchtests/pow-inputs: Likewise.
7116         * benchtests/slowexp-inputs: New file.
7117         * benchtests/slowexp.c: New file.
7118         * benchtests/slowpow-inputs: New file.
7119         * benchtests/slowpow.c: New file.
7121 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7123         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7124         instructions.
7125         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7126         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7127         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7128         * benchtests/Makefile: Add rint benchtest.
7129         * benchtests/rint-inputs: Input for rint benchtest.
7131 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7133         * Versions.def (libm): Add GLIBC_2.18.
7134         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7135         hidden libm prototypes.
7136         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7137         * math/Makefile (libm-calls): Add s_issignaling.
7138         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7139         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7140         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7141         declaration.
7142         * math/math.h [__USE_GNU] (issignaling): New macro.
7143         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7144         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7145         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7146         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7147         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7149         * manual/arith.texi (issignaling): New section.
7150         * manual/libm-err-tab.pl (@all_functions): Update comment.
7151         * math/gen-libm-test.pl (parse_args): Apply special handling for
7152         issignaling.
7153         * math/libm-test.inc (print_float, issignaling_test): New
7154         functions.
7155         (check_float_internal): Add issignaling checks.
7156         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7157         default definition.
7158         * sysdeps/powerpc/math-tests.h: New file.
7159         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7160         tests.
7161         * math/test-snan.c (TEST_FUNC): Likewise.
7163 2013-03-30  David S. Miller  <davem@davemloft.net>
7165         * po/de.po: Update from translation team.
7167 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7169         [BZ #10357]
7170         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7171         imaginary part less than 1.0 and real part less than 0.5
7172         specially.
7173         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7174         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7175         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7176         (cacos_test): Add more tests.
7177         (casin_test): Likewise.
7178         (casinh_test): Likewise.
7179         * sysdeps/i386/fpu/libm-test-ulps: Update.
7180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7182 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7184         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7185         ONE with its value.
7187         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7188         (__pow_mp): Replace ONE and MONE with their values.
7189         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7190         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7191         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7192         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7193         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7194         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7196         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7198         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7199         (__pow_mp): Replace ZERO and MZERO with their values.
7200         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7201         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7202         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7204         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7205         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7206         (__sqr): Likewise.
7208         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7210         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7212 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7214         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7215         Declare with __attribute__ ((weak)).
7216         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7217         Call __call_tls_dtors only if it's not NULL.
7219 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7221         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7222         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7223         magic __ehdr_start linker symbol if it's defined.
7224         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7225         them up here if it was already done.
7227         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7228         (_dl_aux_init): Use const in cast when setting it.
7229         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7230         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7231         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7233         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7234         Declare them here.
7235         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7236         * csu/libc-tls.c: Nor here.
7237         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7239         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7240         (__libc_message): Never call vsyslog.
7242 2013-03-28  Alan Modra  <amodra@gmail.com>
7244         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7245         Define as empty.
7246         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7247         Likewise.
7249 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7251         [BZ #15214]
7252         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7253         underflow.
7254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7256 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7258         [BZ #15304]
7259         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7260         Don't add gid passed as argument.
7262         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7264 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7266         [BZ #15307]
7267         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7268         imaginary part between 1.0 and 1.5 and real part less than 0.5
7269         specially.
7270         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7271         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7272         * math/libm-test.inc (cacos_test): Add more tests.
7273         (casin_test): Likewise.
7274         (casinh_test): Likewise.
7275         * sysdeps/i386/fpu/libm-test-ulps: Update.
7276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7278 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7280         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7281         constants.
7282         (norm): Likewise.
7283         (denorm): Likewise.
7284         (__dbl_mp): Likewise.
7285         (add_magnitudes): Likewise.
7286         (sub_magnitudes): Likewise.
7287         (__add): Likewise.
7288         (__sub): Likewise.
7289         (__mul): Likewise.
7290         (__sqr): Likewise.
7291         (__inv): Likewise.
7292         (__dvd): Likewise.
7294         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7295         commented code.
7296         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7297         (__dubcos): Likewise.
7298         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7299         (__ieee754_acos): Likewise.
7300         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7301         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7302         (__exp1): Likewise.
7303         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7305         (log1): Likewise.
7306         (my_log2): Likewise.
7307         (checkint): Likewise.
7308         * sysdeps/ieee754/dbl-64/e_remainder.c
7309         (__ieee754_remainder): Likewise.
7310         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7311         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7312         (bsloww): Likewise.
7313         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7315         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7316         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7317         MANTISSA_STORE_T to store computations on mantissa.  Use
7318         macros for rounding and division.
7319         (denorm): Likewise.
7320         (__dbl_mp): Likewise.
7321         (add_magnitudes): Likewise.
7322         (sub_magnitudes): Likewise.
7323         (__mul): Likewise.
7324         (__sqr): Likewise.
7325         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7326         powers of two in terms of TWOPOW macro.
7327         (mp_no): Make type of mantissa as MANTISSA_T.
7328         [!RADIXI]: Define RADIXI.
7329         [!TWO52]: Define TWO52.
7330         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7332 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7334         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7335         llroundl symbol when building for PPC32.
7337 2013-03-24  Mark H Weaver  <mhw@netris.org>
7339         * manual/arith.texi (Normalization Functions): Fix prototypes for
7340         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7342 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7344         [BZ #13889]
7345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7346         high value to check if expl overflow.
7347         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7348         to check for underflow and overflow.
7349         * math/libm-test.inc: Add exp test.
7351 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7353         [BZ #11120]
7354         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7355         with NOT_IN_libc.
7357 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7359         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7360         symbol.
7362 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7364         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7365         wrap blocks consisting of several statements.
7367         * sysdeps/generic/math-tests.h: New file.
7368         * sysdeps/i386/fpu/math-tests.h: Likewise.
7369         * math/test-snan.c: Include it.
7370         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7372 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7374         [BZ #15285]
7375         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7376         (__ieee754_j0l): Do not improve calculations using cos of twice
7377         input for inputs above LDBL_MAX / 2.0L.
7378         (__ieee754_y0l): Likewise.
7379         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7380         (__ieee754_j1l): Do not improve calculations using cos of twice
7381         input for inputs above LDBL_MAX / 2.0L.
7382         (__ieee754_y1l): Likewise.
7383         * math/libm-test.inc (j0_test): Add another test.
7384         (j1_test): Likewise.
7385         (y0_test): Likewise.
7386         (y1_test): Likewise.
7387         * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7391         * Rules ($(objpfx)bench-%.c): Include code from a C source
7392         file.
7394 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7396         [BZ #15287]
7397         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7398         imaginary part 1.0 and real part less than 0.5 specially.
7399         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7400         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7401         * math/libm-test.inc (cacos_test): Add more tests.
7402         (casin_test): Likewise.
7403         (casinh_test): Likewise.
7404         * sysdeps/i386/fpu/libm-test-ulps: Update.
7405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7409         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7410         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7412 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7414         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7415         * config.make.in (config-cflags-sse4): Remove variable.
7416         (config-cflags-avx): Likewise.
7417         (config-cflags-sse2avx): Likewise.
7418         (config-cflags-novzeroupper): Likewise.
7419         (config-asflags-i686): Likewise.
7420         (have-mfma4): Likewise.
7421         (have-as-vis3): Likewise.
7422         (MIG): Likewise.
7423         * configure.in (MIG): Do not AC_SUBST.
7424         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7425         (libc_cv_cc_sse4): Do not AC_SUBST.
7426         (libc_cv_cc_avx): Likewise.
7427         (libc_cv_cc_sse2avx): Likewise.
7428         (libc_cv_cc_novzeroupper): Likewise.
7429         (libc_cv_cc_fma4): Likewise.
7430         (libc_cv_as_i686): Likewise.
7431         (libc_cv_sparc_as_vis3): Likewise.
7432         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7433         LIBC_CONFIG_VAR.
7434         (config-asflags-i686): Likewise.
7435         (config-cflags-avx): Likewise.
7436         (config-cflags-sse2avx): Likewise.
7437         (have-mfma4): Likewise.
7438         (config-cflags-novzeroupper): Likewise.
7439         * sysdeps/mach/configure.in (MIG): Likewise.
7440         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7441         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7442         LIBC_CONFIG_VAR.
7443         (config-cflags-avx): Likewise.
7444         (config-cflags-sse2avx): Likewise.
7445         (have-mfma4): Likewise.
7446         (config-cflags-novzeroupper): Likewise.
7447         * configure: Regenerated.
7448         * sysdeps/i386/configure: Likewise.
7449         * sysdeps/mach/configure: Likewise.
7450         * sysdeps/sparc/configure: Likewise.
7451         * sysdeps/x86_64/configure: Likewise.
7453 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7455         [BZ #14812]
7456         * locale/programs/localedef.c (options): Put N_ translation marker
7457         on argument names, not just descriptions.
7459 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7461         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7463 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7465         [BZ #14176]
7466         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7468 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7470         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7471         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7472         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7473         [!BEFORE_ABORT] (before_abort): New function.
7474         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7475         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7476         (writev_for_fatal): New function.
7477         (WRITEV_FOR_FATAL): New macro; call that.
7478         (backtrace_and_maps): New function.
7479         (BEFORE_ABORT): New macro; call that.
7480         (struct str_list): Type removed.
7481         (__libc_message, __libc_fatal): Functions removed.
7482         Include <sysdeps/posix/libc_fatal.c> instead.
7484 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7486         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7487         constants.
7488         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7489         double constants.
7491 2013-03-19  Andreas Schwab  <schwab@suse.de>
7493         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7494         * sysdeps/gnu/configure: Regenerate.
7496         * configure.in: Substitute libc_cv_rtlddir.
7497         * configure: Regenerate.
7498         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7499         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7500         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7501         * elf/Makefile (install-others, CFLAGS-interp.c)
7502         (ldso_install, common-ldd-rewrite): Likewise.
7503         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7504         $(inst_slibdir)/$(rtld-installed-name).
7505         * scripts/rellns-sh: Add -p option.
7506         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7507         for source.
7509 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7511         * manual/nptl.texi: Renamed to ...
7512         * manual/threads.texi: ... this.
7513         * manual/Makefile (chapters): Update.
7515 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7517         [BZ #14812]
7518         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7519         on argument names, not just descriptions.
7520         * malloc/memusagestat.c (options): Likewise.
7521         * nss/getent.c (options): Likewise.
7523 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7525         [BZ #14812]
7526         * iconv/iconv_prog.c (options): Put N_ translation marker
7527         on argument names, not just descriptions.
7528         * iconv/iconvconfig.c (options): Likewise.
7530 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7532         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7533         implementation which is faster on all x86_64 architectures.
7534         Tested on AMD, Intel Nehalem, SNB, IVB.
7535         * sysdeps/x86_64/strnlen.S: Likewise.
7537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7538         Remove all multiarch strlen and strnlen versions.
7539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7540         Remove strlen and strnlen related parts.
7542         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7543         Inline strlen part.
7544         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7546         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7547         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7548         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7549         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7550         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7551         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7553 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7555         * manual/memory.texi (Malloc Tunable Parameters):
7556         Sort parameters alphabetically. Add comments for missing entries.
7558 2013-03-17  David S. Miller  <davem@davemloft.net>
7560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7562 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7564         [BZ #15283]
7565         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7566         for arguments at most half maximum finite value.
7567         * math/libm-test.inc (j0_test): Add more tests.
7568         (j1_test): Likewise.
7569         (y0_test): Likewise.
7570         (y1_test): Likewise.
7571         * sysdeps/i386/fpu/libm-test-ulps: Update.
7572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7574         [BZ #14155]
7575         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7576         1 / x and functions P and Q for arguments above 0x1p256L.
7577         (__ieee754_y0l): Likewise.
7578         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7579         (__ieee754_y1l): Likewise.
7580         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7581         (j1_test): Likewise.
7582         (y0_test): Likewise.
7583         (y1_test): Likewise.
7585 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7587         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7588         variable.
7590 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7592         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7593         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7594         zero since it's initialized to EXEC_PAGESIZE.
7596         * sysdeps/unix/sysv/linux/ldsodefs.h
7597         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7598         * sysdeps/generic/ldsodefs.h: ... here.
7600 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7602         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7604         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7605         math/test-snan.c.
7606         * math/test-snan.c: Renamed from
7607         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7608         * math/Makefile (tests): Add test-snan.
7609         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7610         test-powerpc-snan.
7612         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7613         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7614         functions.
7615         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7616         __builtin_nan family of functions.
7617         * math/libm-test.inc (initialize): Initialize qnan_value with
7618         __builtin_nan family of functions.
7619         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7620         Remove variables.
7621         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7622         Remove functions.
7623         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7624         storage class.  Initialize qNaN_var and sNaN_var with
7625         __builtin_nan and __builtin_nans families of functions,
7626         respectively.
7628         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7629         (sqrt_test): Remove duplicate test with qNaN input.
7630         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7631         (round_test, signbit_test, significand_test): Note missing +/-Inf
7632         as well as qNaN tests.
7634         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7635         qNaN_var.  Fix a few strings, too.
7636         * math/libm-test.inc (nan_value): Rename to qnan_value.
7637         * math/gen-libm-test.pl (%beautify): Adjust to that.
7638         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7639         * math/test-misc.c (main): Likewise.
7640         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7641         to __qnan_bytes, and __qnan_union, respectively.
7642         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7643         Likewise.
7644         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7645         and lqnanval, respectively.
7646         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7647         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7648         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7649         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7651         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7652         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7653         doubles.
7655         * math/test-misc.c (main): Fix copy'n'pastos.
7656         * misc/tst-efgcvt.c (special): Likewise.
7658         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7659         Remove declarations.
7661 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7663         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7664         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7665         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7666         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7668 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7670         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7671         macro to return vdso values correctly in IFUNC implementations.
7672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7673         Optimization by using IFUNC.
7675 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7676             Richard Henderson  <rth@redhat.com>
7677             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7679         * Makefile.in (bench): New target.
7680         * NEWS: Mention the benchmark framework.
7681         * Rules (bench): Likewise.
7682         (binaries-bench): Generate binaries for functions to
7683         benchmark.
7684         * benchtests/Makefile: New makefile for benchmark tests.
7685         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7686         programs.
7687         * benchtests/exp-inputs: New input file for EXP function.
7688         * benchtests/pow-inputs: New input file for POW function.
7689         * scripts/bench.pl: New script to generate source files for
7690         benchmark programs.
7692 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7694         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7695         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7696         computations on mantissa.  Use macros for rounding and
7697         division.
7698         (denorm): Likewise.
7699         (__dbl_mp): Likewise.
7700         (add_magnitudes): Likewise.
7701         (sub_magnitudes): Likewise.
7702         (__mul): Likewise.
7703         (__sqr): Likewise.
7704         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7705         powers of two in terms of TWOPOW macro.
7706         (mp_no): Make type of mantissa as MANTISSA_T.
7707         [!RADIXI]: Define RADIXI.
7708         [!TWO52]: Define TWO52.
7709         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7711         * manual/nptl.texi (cindex): Modify threads to pthreads.
7713 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7715         * sysdeps/x86_64/preconfigure: Regenerated.
7717 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7719         [BZ #14155]
7720         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7721         0x1p28 and above.
7722         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7723         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7724         0x1p28 and above.
7725         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7726         * math/libm-test.inc (j0_test): Do not allow one spurious
7727         underflow exception.
7728         (y1_test): Likewise.
7730 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7732         * manual/Makefile (chapters): Add nptl.
7733         * manual/debug.texi (Debugging Support): Add link to Threads
7734         chapter.
7735         * manual/nptl.texi: New file.
7737         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7739 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7741         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7742         for non-NULL pointer before the memory validity test. Pointed
7743         out by Holger Brunck <holger.brunck@keymile.com>.
7745 2013-03-13  Andreas Schwab  <schwab@suse.de>
7747         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7748         instead of .os.
7750 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7752         * timezone/zic.c: Update from tzcode 2013b.
7754 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7756         * manual/install.texi (Configuring and compiling):
7757         Mention i686 and i586.
7758         * INSTALL: Regenerate.
7760 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7762         * sysdeps/init_array/elf-init.c: New file.
7763         * csu/elf-init.c
7764         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7765         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7767         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7768         __gmon_start__ as global, but as static with a .preinit_array pointer.
7769         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7770         * sysdeps/init_array/crti.S: New file, empty except for comments.
7771         * sysdeps/init_array/crtn.S: Likewise.
7773 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7775         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7776         definining bcopy.
7777         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7778         Remove Prefer_SSE_for_memop.
7779         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7780         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7781         HAS_PREFER_SSE_FOR_MEMOP.
7782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7783         memset-x86-64.
7784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7785         Remove bzero, memset ifunc support.
7786         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7787         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7788         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7789         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7791 2013-03-11  Andreas Schwab  <schwab@suse.de>
7793         [BZ #15234]
7794         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7795         by SHLIB_COMPAT.
7796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7797         (GLIBC_2.16): Remove pthread_atfork.
7799 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7801         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7802         (ptestcases.h): Likewise.
7804 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7806         * Makeconfig ($(common-objpfx)config.status): Depend on
7807         sysdeps/*/preconfigure{,.in} too.
7809 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7811         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7812         (__free_hook): Use void * instead of __malloc_ptr_t.
7813         (__malloc_hook): Likewise.
7814         (__realloc_hook): Likewise.
7815         (__memalign_hook): Likewise.
7816         (__after_morecore_hook): Likewise.
7817         * malloc/arena.c (save_malloc_hook): Likewise.
7818         (save_free_hook): Likewise.
7819         * malloc/hooks.c (malloc_hook_ini): Likewise.
7820         (realloc_hook_ini): Likewise.
7821         (memalign_hook_ini): Likewise.
7822         * malloc/malloc.c (malloc_hook_ini): Likewise.
7823         (realloc_hook_ini): Likewise.
7824         (memalign_hook_ini): Likewise.
7825         (__free_hook): Likewise.
7826         (__malloc_hook): Likewise.
7827         (__realloc_hook): Likewise.
7828         (__memalign_hook): Likewise.
7829         (__libc_malloc): Likewise.
7830         (__libc_free): Likewise.
7831         (__libc_realloc): Likewise.
7832         (__libc_memalign): Likewise.
7833         (__libc_valloc): Likewise.
7834         (__libc_pvalloc): Likewise.
7835         (__libc_calloc): Likewise.
7836         (__posix_memalign): Likewise.
7837         * malloc/morecore.c (__sbrk): Likewise.
7838         (__default_morecore): Likewise.
7840         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7842         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7843         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7844         __malloc_ptrdiff_t.
7846         * malloc/malloc.h (__malloc_size_t): Remove macro.
7847         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7848         __malloc_size_t.
7849         (old_memalign_hook): Likewise.
7850         (old_realloc_hook): Likewise.
7851         (struct hdr): Likewise.
7852         (flood): Likewise.
7853         (mallochook): Likewise.
7854         (memalignhook): Likewise.
7855         (reallochook): Likewise.
7856         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7857         (tr_old_realloc_hook): Likewise.
7858         (tr_old_memalign_hook): Likewise.
7859         (tr_mallochook): Likewise.
7860         (tr_reallochook): Likewise.
7861         (tr_memalignhook): Likewise.
7863 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7866         default_ldbl_pack and using as default implementation.
7867         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7868         implementation.
7869         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7870         redundant definition.
7871         (ldbl_insert_mantissa): Likewise.
7872         (ldbl_canonicalize): Likewise.
7873         (ldbl_nearbyint): Likewise.
7874         (ldbl_pack): Rename to ldbl_pack_ppc.
7875         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7876         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7877         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7879 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7882         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7883         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7884         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7886         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7887         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7888         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7890 2013-03-07  Andreas Jaeger  <aj@suse.de>
7892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7893         bits/mman-linux.h.
7895 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7897         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7898         Include mpa.h and declare __MPEXP.
7899         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7900         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7901         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7902         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7903         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7904         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7905         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7907         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7908         (__slowpow): Use long double EXPL and LOGL functions to
7909         compute POW.
7910         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7911         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7912         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7913         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7914         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7915         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7918         intermediate variable to calculate exponent.
7919         (__sqr): Likewise.
7920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7921         Likewise.
7922         (__sqr): Likewise.
7924         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7925         [!NO__SQR]: Define __sqr.
7926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7927         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7928         sysdeps/ieee754/dbl-64/mpa.c.
7929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7931         [BZ #12723]
7932         * posix/Makefile (tests): Add tst-pathconf.
7933         * posix/tst-pathconf.c: New test case.
7934         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7935         _PC_PIPE_BUF.
7936         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7938 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7940         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7942 2013-03-06  Andreas Jaeger  <aj@suse.de>
7944         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7945         definition via __MAP_ANONYMOUS.
7947         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7948         it's not part of Linux headers.
7950         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7951         (MAP_HUGE_MASK): Define.
7953         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7954         Define.
7955         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7957         Define.
7958         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7959         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7960         Define.
7961         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7962         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7963         Define.
7964         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7966         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7967         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7968         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7969         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7970         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7971         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7973         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7974         Handle f2fs.
7976         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7977         Handle f2fs and efivarfs.
7979         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7980         f2fs.
7982         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7983         (EFIVARFS_MAGIC): Add.
7984         (F2FS_LINK_MAX): Add.
7986 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7988         * stdio-common/vfprintf.c: Replace __builtin_expect with
7989         __glibc_unlikely.
7991 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
7993         [BZ #13550]
7994         * sysdeps/generic/bp-sym.h: Remove file.
7995         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7996         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7997         <bp-sym.h> and <bp-asm.h>.
7998         (__longjmp): Don't use BP_SYM.
7999         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8000         and <bp-asm.h>.
8001         (memcpy): Don't use BP_SYM.
8002         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8003         <bp-sym.h> and <bp-asm.h>.
8004         (memcpy): Don't use BP_SYM.
8005         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8006         <bp-asm.h>.
8007         (memcpy): Don't use BP_SYM.
8008         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8009         <bp-asm.h>.
8010         (memset): Don't use BP_SYM.
8011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8013         (__bzero): Don't use BP_SYM.
8014         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8015         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8016         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8017         <bp-sym.h> and <bp-asm.h>.
8018         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8019         pointers.
8020         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8021         <bp-sym.h> and <bp-asm.h>.
8022         (memcpy): Don't use BP_SYM.
8023         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8024         <bp-sym.h> and <bp-asm.h>.
8025         (memset): Don't use BP_SYM.
8026         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8027         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8028         (__bzero): Don't use BP_SYM.
8029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8031         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8032         <bp-sym.h> and <bp-asm.h>.
8033         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8034         pointers.
8035         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8036         <bp-sym.h> and <bp-asm.h>.
8037         (memcpy): Don't use BP_SYM.
8038         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8039         <bp-sym.h> and <bp-asm.h>.
8040         (memset): Don't use BP_SYM.
8041         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8042         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8043         (__bzero): Don't use BP_SYM.
8044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8046         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8047         <bp-sym.h> and <bp-asm.h>.
8048         (__memchr): Don't use BP_SYM.
8049         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8050         <bp-sym.h> and <bp-asm.h>.
8051         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8052         pointers.
8053         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8054         <bp-sym.h> and <bp-asm.h>.
8055         (memcpy): Don't use BP_SYM.
8056         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8057         <bp-sym.h> and <bp-asm.h>.
8058         (__mempcpy): Don't use BP_SYM.
8059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8060         <bp-sym.h> and <bp-asm.h>.
8061         (__memrchr): Don't use BP_SYM.
8062         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8063         <bp-sym.h> and <bp-asm.h>.
8064         (memset): Don't use BP_SYM.
8065         (__bzero): Likewise.
8066         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8067         <bp-sym.h> and <bp-asm.h>.
8068         (__rawmemchr): Don't use BP_SYM.
8069         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8070         <bp-sym.h> and <bp-asm.h>.
8071         (__STRCMP): Don't use BP_SYM.
8072         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8073         <bp-sym.h> and <bp-asm.h>.
8074         (strchr): Don't use BP_SYM.
8075         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8076         <bp-sym.h> and <bp-asm.h>.
8077         (__strchrnul): Don't use BP_SYM.
8078         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8079         <bp-sym.h> and <bp-asm.h>.
8080         (strlen): Don't use BP_SYM.
8081         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8082         <bp-sym.h> and <bp-asm.h>.
8083         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8084         pointers.
8085         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8086         <bp-sym.h> and <bp-asm.h>.
8087         (__strnlen): Don't use BP_SYM.
8088         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8089         <bp-sym.h> and <bp-asm.h>.
8090         (__GI__setjmp): Don't use BP_SYM.
8091         (_setjmp): Likewise.
8092         (__sigsetjmp): Likewise.
8093         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8094         (L(start_addresses)): Don't use BP_SYM.
8095         (_start): Likewise.
8096         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8097         <bp-asm.h>.
8098         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8099         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8100         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8101         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8102         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8103         <bp-asm.h>.
8104         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8105         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8106         about bounded pointers.
8107         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8108         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8109         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8110         <bp-asm.h>.
8111         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8112         about bounded pointers.  Remove GKM FIXME comments.
8113         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8114         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8115         <bp-asm.h>.
8116         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8117         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8118         Remove GKM FIXME comments.
8119         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8120         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8121         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8122         <bp-asm.h>.
8123         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8124         about bounded pointers.  Remove GKM FIXME comment.
8125         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8126         and <bp-asm.h>.
8127         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8128         pointers.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8130         <bp-sym.h> and <bp-asm.h>.
8131         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8133         <bp-sym.h> and <bp-asm.h>.
8134         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8135         comment.
8137 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8139         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8140         call free(NULL).
8142 2013-03-05  David S. Miller  <davem@davemloft.net>
8144         * po/es.po: Update from translation team.
8146 2013-03-05  Andreas Jaeger  <aj@suse.de>
8148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8149         <bits/mman-linux.h>.
8150         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8151         is fine.
8152         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8153         <bits/mman-linux.h> to end of file.
8154         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8155         is fine.
8156         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8157         <bits/mman-linux.h> to end of file.
8158         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8159         is fine.
8160         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8161         <bits/mman-linux.h> to end of file.
8163         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8164         (MCL_CURRENT, MCL_FUTURE): Define here.
8166 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8168         [BZ #15232]
8169         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8170         attribute_hidden.
8171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8173 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8175         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8176         fourth parameter needed for rt_sigprocmask syscall.
8177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8178         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8179         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8180         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8181         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8182         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8184 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8186         [BZ #13550]
8187         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8188         comment about bounded pointers.
8189         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8190         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8192 2013-03-04  Andreas Jaeger  <aj@suse.de>
8194         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8195         common definitions.
8197         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8198         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8199         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8200         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8201         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8202         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8204 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8206         [BZ #15055]
8207         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8208         __ieee754_sqrl instead of __sqrl.
8210 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8212         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8213         * sysdeps/powerpc/fpu_control.h: ... here.
8214         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8215         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8216         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8217         * sysdeps/powerpc/bits/mathinline.h: ... here.
8219 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8221         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8222         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8223         to just [NEED_DL_SYSINFO_DSO].
8224         * elf/dl-support.c: Likewise.
8225         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8226         * elf/rtld.c (dl_main): Likewise.
8227         * elf/setup-vdso.h (setup_vdso): Likewise.
8228         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8229         * sysdeps/unix/sysv/linux/dl-sysdep.c
8230         (_dl_discover_osversion): Likewise.
8232 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8234         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8235         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8237 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8239         * NEWS: Mention libm performance improvements and non-x86 PI
8240         futex support.
8242         * csu/libc-start.c (__pthread_initialize_minimal): Change
8243         function arguments.
8244         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8246 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8248         [BZ #13550]
8249         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8250         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8251         <bp-sym.h> and <bp-asm.h>.
8252         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8253         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8254         and <bp-asm.h>.
8255         (memcpy): Don't use BP_SYM.
8256         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8257         <bp-asm.h>.
8258         (__mpn_add_n): Don't use BP_SYM.
8259         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8260         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8261         and <bp-asm.h>.
8262         (__mpn_addmul_1): Don't use BP_SYM.
8263         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8264         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8265         <bp-sym.h>.
8266         (_setjmp): Don't use BP_SYM.
8267         (__novmx_setjmp): Likewise.
8268         (__GI__setjmp): Likewise.
8269         (__vmx_setjmp): Likewise.
8270         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8271         <bp-sym.h>.
8272         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8273         (__bzero): Don't use BP_SYM.
8274         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8275         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8276         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8277         <bp-sym.h> and <bp-asm.h>.
8278         (memcpy): Don't use BP_SYM.
8279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8280         <bp-sym.h> and <bp-asm.h>.
8281         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8282         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8283         <bp-sym.h> and <bp-asm.h>.
8284         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8285         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8286         <bp-asm.h>.
8287         (__mpn_lshift): Don't use BP_SYM.
8288         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8289         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8290         <bp-asm.h>.
8291         (memset): Don't use BP_SYM.
8292         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8293         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8294         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8295         <bp-asm.h>.
8296         (__mpn_mul_1): Don't use BP_SYM.
8297         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8298         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8299         <bp-sym.h> and <bp-asm.h>.
8300         (memcmp): Don't use BP_SYM.
8301         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8302         <bp-sym.h> and <bp-asm.h>.
8303         (memcpy): Don't use BP_SYM.
8304         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8305         <bp-sym.h> and <bp-asm.h>.
8306         (memset): Don't use BP_SYM.
8307         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8308         <bp-sym.h> and <bp-asm.h>.
8309         (strncmp): Don't use BP_SYM.
8310         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8311         <bp-sym.h> and <bp-asm.h>.
8312         (memcpy): Don't use BP_SYM.
8313         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8314         <bp-sym.h> and <bp-asm.h>.
8315         (memset): Don't use BP_SYM.
8316         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8317         <bp-sym.h> and <bp-asm.h>.
8318         (__memchr): Don't use BP_SYM.
8319         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8320         <bp-sym.h> and <bp-asm.h>.
8321         (memcmp): Don't use BP_SYM.
8322         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8323         <bp-sym.h> and <bp-asm.h>.
8324         (memcpy): Don't use BP_SYM.
8325         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8326         <bp-sym.h> and <bp-asm.h>.
8327         (__mempcpy): Don't use BP_SYM.
8328         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8329         <bp-sym.h> and <bp-asm.h>.
8330         (__memrchr): Don't use BP_SYM.
8331         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8332         <bp-sym.h> and <bp-asm.h>.
8333         (memset): Don't use BP_SYM.
8334         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8335         <bp-sym.h> and <bp-asm.h>.
8336         (__rawmemchr): Don't use BP_SYM.
8337         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8338         <bp-sym.h> and <bp-asm.h>.
8339         (__STRCMP): Don't use BP_SYM.
8340         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8341         <bp-sym.h> and <bp-asm.h>.
8342         (strchr): Don't use BP_SYM.
8343         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8344         <bp-sym.h> and <bp-asm.h>.
8345         (__strchrnul): Don't use BP_SYM.
8346         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8347         <bp-sym.h> and <bp-asm.h>.
8348         (strlen): Don't use BP_SYM.
8349         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8350         <bp-sym.h> and <bp-asm.h>.
8351         (strncmp): Don't use BP_SYM.
8352         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8353         <bp-sym.h> and <bp-asm.h>.
8354         (__strnlen): Don't use BP_SYM.
8355         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8356         <bp-asm.h>.
8357         (__mpn_rshift): Don't use BP_SYM.
8358         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8359         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8360         <bp-sym.h> and <bp-asm.h>.
8361         (__sigsetjmp): Don't use BP_SYM.
8362         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8363         (L(start_addresses)): Don't use BP_SYM.
8364         (_start): Likewise.
8365         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8366         <bp-asm.h>.
8367         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8368         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8369         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8370         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8371         <bp-asm.h>.
8372         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8373         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8374         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8375         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8376         <bp-asm.h>.
8377         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8378         comments.
8379         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8380         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8381         <bp-asm.h>.
8382         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8383         FIXME comments.
8384         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8385         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8386         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8387         <bp-asm.h>.
8388         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8389         comment.
8390         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8391         and <bp-asm.h>.
8392         (strncmp): Don't use BP_SYM,
8393         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8394         <bp-asm.h>.
8395         (__mpn_sub_n): Don't use BP_SYM.
8396         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8397         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8398         and <bp-asm.h>.
8399         (__mpn_submul_1): Don't use BP_SYM.
8400         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8402         <bp-sym.h> and <bp-asm.h>.
8403         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8405         <bp-sym.h> and <bp-asm.h>.
8406         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8407         comment.
8409 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8412         Use ZK to minimize writes to Z.
8413         (sub_magnitudes): Simplify code a bit.
8414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8415         Use ZK to minimize writes to Z.
8416         (sub_magnitudes): Simplify code a bit.
8418 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8420         * csu/gmon-start.c: Add special exception to license text.
8422 2013-02-27  Richard Henderson  <rth@redhat.com>
8424         * scripts/config.guess: Update from config.git.
8425         * scripts/config.sub: Likewise.
8427 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8429         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8431         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8433         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8435         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8437         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8439 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8441         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8442         [$(build-shared = yes].
8444 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8446         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8447         (__mul): Reduce iterations for calculating mantissa.
8449         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8450         MPTWO.
8451         (__mpranred): Likewise.
8453         [BZ #15160]
8454         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8455         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8457 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8459         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8460         Define __attribute__.
8462 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8464         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8465         unused.
8466         * posix/regex_internal.h (__attribute): Remove.
8467         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8468         (re_string_context_at): Likewise.
8469         (bitset_not): Use __attribute__ and mark function as possibly
8470         unused.
8471         (bitset_merge): Likewise.
8472         (bitset_mask): Likewise.
8473         (re_string_char_size_at): Likewise.
8474         (re_string_wchar_at): Likewise.
8475         (re_string_elem_size_at): Likewise.
8477 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8479         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8480         code.
8481         (cc32): Likewise.
8483         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8484         (__acr): Likewise.
8485         (__cpy): Likewise.
8486         (norm): Likewise.
8487         (denorm): Likewise.
8488         (__dbl_mp): Likewise.
8489         (add_magnitudes): Likewise.
8490         (sub_magnitudes): Likewise.
8491         (__mul): Likewise.
8492         (__inv): Likewise.
8494         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8495         style.
8497         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8498         style.
8500         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8501         code.
8503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8504         up changes with default code.
8505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8506         Likewise.
8508 2013-02-24  Allan McRae  <allan@archlinux.org>
8510         * manual/socket.texi (The Internet Namespace): Order menu items
8511         to match that in the file.
8513         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8514         node listing of the info page menu.
8516 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8518         [BZ #13550]
8519         * sysdeps/i386/bp-asm.h: Remove file.
8520         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8521         (PARMS): Do not use macros from bp-asm.h.
8522         (S1): Likewise.
8523         (S2): Likewise.
8524         (SIZE): Likewise.
8525         (__mpn_add_n): Do not use BP_SYM
8526         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8527         "bp-asm.h".
8528         (PARMS): Do not use macros from bp-asm.h.
8529         (S1): Likewise.
8530         (SIZE): Likewise.
8531         (__mpn_addmul_1): Do not use BP_SYM
8532         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8533         "bp-asm.h".
8534         (PARMS): Do not use macros from bp-asm.h.
8535         (SIGMSK): Likewise.
8536         (_setjmp): Likewise.  Do not use BP_SYM.
8537         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8538         "bp-asm.h".
8539         (PARMS): Do not use macros from bp-asm.h.
8540         (SIGMSK): Likewise.
8541         (setjmp): Likewise.  Do not use BP_SYM.
8542         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8543         "bp-asm.h".
8544         (PARMS): Do not use macros from bp-asm.h.
8545         (__frexp): Do not use BP_SYM.
8546         (frexp): Likewise.
8547         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8548         "bp-asm.h".
8549         (PARMS): Do not use macros from bp-asm.h.
8550         (__frexpf): Do not use BP_SYM.
8551         (frexpf): Likewise.
8552         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8553         "bp-asm.h".
8554         (PARMS): Do not use macros from bp-asm.h.
8555         (__frexpl): Do not use BP_SYM.
8556         (frexpl): Likewise.
8557         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8558         "bp-asm.h".
8559         (PARMS): Do not use macros from bp-asm.h.
8560         (__remquo): Do not use BP_SYM.
8561         (remquo): Likewise.
8562         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8563         "bp-asm.h".
8564         (PARMS): Do not use macros from bp-asm.h.
8565         (__remquof): Do not use BP_SYM.
8566         (remquof): Likewise.
8567         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8568         "bp-asm.h".
8569         (PARMS): Do not use macros from bp-asm.h.
8570         (__remquol): Do not use BP_SYM.
8571         (remquol): Likewise.
8572         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8573         "bp-asm.h".
8574         (PARMS): Do not use macros from bp-asm.h.
8575         (DEST): Likewise.
8576         (SRC): Likewise.
8577         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8578         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8579         "bp-asm.h".
8580         (PARMS): Do not use macros from bp-asm.h.
8581         (strlen): Do not use BP_SYM.
8582         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8583         "bp-asm.h".
8584         (PARMS): Do not use macros from bp-asm.h.
8585         (S1): Likewise.
8586         (S2): Likewise.
8587         (SIZE): Likewise.
8588         (__mpn_add_n): Do not use BP_SYM.
8589         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8590         "bp-asm.h".
8591         (PARMS): Do not use macros from bp-asm.h.
8592         (S1): Likewise.
8593         (SIZE): Likewise.
8594         (__mpn_addmul_1): Do not use BP_SYM.
8595         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8596         weak_alias.
8597         (bzero): Likewise.
8598         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8599         "bp-asm.h".
8600         (PARMS): Do not use macros from bp-asm.h.
8601         (S): Likewise.
8602         (SIZE): Likewise.
8603         (__mpn_lshift): Do not use BP_SYM.
8604         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8605         "bp-asm.h".
8606         (PARMS): Do not use macros from bp-asm.h.
8607         (DEST): Likewise.
8608         (SRC): Likewise.
8609         (LEN): Likewise.
8610         (memcpy): Likewise.  Do not use BP_SYM.
8611         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8612         libc_hidden_def and weak_alias.
8613         (mempcpy): Do not use BP_SYM in weak_alias.
8614         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8615         "bp-asm.h".
8616         (PARMS): Do not use macros from bp-asm.h.
8617         (DEST): Likewise.
8618         (LEN): Likewise.
8619         [!BZERO_P] (CHR): Likewise.
8620         (memset): Likewise.  Do not use BP_SYM.
8621         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8622         "bp-asm.h".
8623         (PARMS): Do not use macros from bp-asm.h.
8624         (S1): Likewise.
8625         (SIZE): Likewise.
8626         (__mpn_mul_1): Do not use BP_SYM.
8627         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8628         "bp-asm.h".
8629         (PARMS): Do not use macros from bp-asm.h.
8630         (S): Likewise.
8631         (SIZE): Likewise.
8632         (__mpn_rshift): Do not use BP_SYM.
8633         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8634         "bp-asm.h".
8635         (PARMS): Do not use macros from bp-asm.h.
8636         (STR): Likewise.
8637         (CHR): Likewise.
8638         (strchr): Likewise.  Do not use BP_SYM.
8639         (index): Do not use BP_SYM in weak_alias.
8640         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8641         "bp-asm.h".
8642         (PARMS): Do not use macros from bp-asm.h.
8643         (DEST): Likewise.
8644         (SRC): Likewise.
8645         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8646         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8647         "bp-asm.h".
8648         (PARMS): Do not use macros from bp-asm.h.
8649         (strlen): Do not use BP_SYM.
8650         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8651         "bp-asm.h".
8652         (PARMS): Do not use macros from bp-asm.h.
8653         (S1): Likewise.
8654         (S2): Likewise.
8655         (SIZE): Likewise.
8656         (__mpn_sub_n): Do not use BP_SYM.
8657         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8658         "bp-asm.h".
8659         (PARMS): Do not use macros from bp-asm.h.
8660         (S1): Likewise.
8661         (SIZE): Likewise.
8662         (__mpn_submul_1): Do not use BP_SYM.
8663         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8664         "bp-asm.h".
8665         (PARMS): Do not use macros from bp-asm.h.
8666         (S1): Likewise.
8667         (S2): Likewise.
8668         (SIZE): Likewise.
8669         (__mpn_add_n): Do not use BP_SYM.
8670         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8671         weak_alias.
8672         (bzero): Likewise.
8673         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8674         "bp-asm.h".
8675         (PARMS): Do not use macros from bp-asm.h.
8676         (BLK2): Likewise.
8677         (LEN): Likewise.
8678         (memcmp): Do not use BP_SYM.
8679         (bcmp): Do not use BP_SYM in weak_alias.
8680         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8681         "bp-asm.h".
8682         (PARMS): Do not use macros from bp-asm.h.
8683         (DEST): Likewise.
8684         (SRC): Likewise.
8685         (LEN): Likewise.
8686         (memcpy): Likewise.  Do not use BP_SYM.
8687         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8688         "bp-asm.h".
8689         (PARMS): Do not use macros from bp-asm.h.
8690         (DEST): Likewise.
8691         (SRC): Likewise.
8692         (LEN): Likewise.
8693         (memmove): Likewise.  Do not use BP_SYM.
8694         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8695         "bp-asm.h".
8696         (PARMS): Do not use macros from bp-asm.h.
8697         (DEST): Likewise.
8698         (SRC): Likewise.
8699         (LEN): Likewise.
8700         (__mempcpy): Likewise.  Do not use BP_SYM.
8701         (mempcpy): Do not use BP_SYM in weak_alias.
8702         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8703         "bp-asm.h".
8704         (PARMS): Do not use macros from bp-asm.h.
8705         (DEST): Likewise.
8706         (LEN): Likewise.
8707         [!BZERO_P] (CHR): Likewise.
8708         (memset): Likewise.  Do not use BP_SYM.
8709         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8710         "bp-asm.h".
8711         (PARMS): Do not use macros from bp-asm.h.
8712         (STR2): Likewise.
8713         (strcmp): Do not use BP_SYM.
8714         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8715         "bp-asm.h".
8716         (PARMS): Do not use macros from bp-asm.h.
8717         (STR): Likewise.
8718         (DELIM): Likewise.
8719         [USE_AS_STRTOK_R] (SAVE): Likewise.
8720         (FUNCTION): Likewise.  Do not use BP_SYM.
8721         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8722         aliases.
8723         (strtok_r): Likewise.
8724         (__GI___strtok_r): Likewise.
8725         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8726         (PARMS): Do not use macros from bp-asm.h.
8727         (S): Likewise.
8728         (SIZE): Likewise.
8729         (__mpn_lshift): Do not use BP_SYM.
8730         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8731         (PARMS): Do not use macros from bp-asm.h.
8732         (STR): Likewise.
8733         (CHR): Likewise.
8734         (__memchr): Do not use BP_SYM.
8735         (memchr): Do not use BP_SYM in weak_alias.
8736         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8737         (PARMS): Do not use macros from bp-asm.h.
8738         (BLK2): Likewise.
8739         (LEN): Likewise.
8740         (memcmp): Do not use BP_SYM.
8741         (bcmp): Do not use BP_SYM in weak_alias.
8742         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8743         (PARMS): Do not use macros from bp-asm.h.
8744         (S1): Likewise.
8745         (SIZE): Likewise.
8746         (__mpn_mul_1): Do not use BP_SYM.
8747         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8748         "bp-asm.h".
8749         (PARMS): Do not use macros from bp-asm.h.
8750         (STR): Likewise.
8751         (CHR): Likewise.
8752         (__rawmemchr): Do not use BP_SYM.
8753         (rawmemchr): Do not use BP_SYM in weak_alias.
8754         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8755         (PARMS): Do not use macros from bp-asm.h.
8756         (S): Likewise.
8757         (SIZE): Likewise.
8758         (__mpn_rshift): Do not use BP_SYM.
8759         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8760         (PARMS): Do not use macros from bp-asm.h.
8761         (SIGMSK): Likewise.
8762         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8763         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8764         (_start): Do not use BP_SYM.
8765         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8766         (PARMS): Do not use macros from bp-asm.h.
8767         (DEST): Likewise.
8768         (SRC): Likewise.
8769         (__stpcpy): Likewise.  Do not use BP_SYM.
8770         (stpcpy): Do not use BP_SYM in weak_alias.
8771         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8772         "bp-asm.h".
8773         (PARMS): Do not use macros from bp-asm.h.
8774         (DEST): Likewise.
8775         (SRC): Likewise.
8776         (LEN): Likewise.
8777         (__stpncpy): Likewise.  Do not use BP_SYM.
8778         (stpncpy): Do not use BP_SYM in weak_alias.
8779         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8780         (PARMS): Do not use macros from bp-asm.h.
8781         (STR): Likewise.
8782         (CHR): Likewise.
8783         (strchr): Likewise.  Do not use BP_SYM.
8784         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8785         "bp-asm.h".
8786         (PARMS): Do not use macros from bp-asm.h.
8787         (STR): Likewise.
8788         (CHR): Likewise.
8789         (__strchrnul): Likewise.  Do not use BP_SYM.
8790         (strchrnul): Do not use BP_SYM in weak_alias.
8791         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8792         "bp-asm.h".
8793         (PARMS): Do not use macros from bp-asm.h.
8794         (STOP): Likewise.
8795         (strcspn): Do not use BP_SYM.
8796         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8797         "bp-asm.h".
8798         (PARMS): Do not use macros from bp-asm.h.
8799         (STR): Likewise.
8800         (STOP): Likewise.
8801         (strpbrk): Likewise.  Do not use BP_SYM.
8802         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8803         "bp-asm.h".
8804         (PARMS): Do not use macros from bp-asm.h.
8805         (STR): Likewise.
8806         (CHR): Likewise.
8807         (strrchr): Likewise.  Do not use BP_SYM.
8808         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8809         (PARMS): Do not use macros from bp-asm.h.
8810         (SKIP): Likewise.
8811         (strspn): Do not use BP_SYM.
8812         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8813         (PARMS): Do not use macros from bp-asm.h.
8814         (STR): Likewise.
8815         (DELIM): Likewise.
8816         (SAVE): Likewise.
8817         (FUNCTION): Likewise.  Do not use BP_SYM.
8818         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8819         aliases.
8820         (strtok_r): Likewise.
8821         (__GI___strtok_r): Likewise.
8822         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8823         (PARMS): Do not use macros from bp-asm.h.
8824         (S1): Likewise.
8825         (S2): Likewise.
8826         (SIZE): Likewise.
8827         (__mpn_sub_n): Do not use BP_SYM.
8828         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8829         "bp-asm.h".
8830         (PARMS): Do not use macros from bp-asm.h.
8831         (S1): Likewise.
8832         (SIZE): Likewise.
8833         (__mpn_submul_1): Do not use BP_SYM.
8834         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8835         <bp-sym.h>.
8836         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8837         and <bp-asm.h>.
8838         (PARMS): Do not use macros from bp-asm.h.
8839         (FLAGS): Likewise.
8840         (PTID): Likewise.
8841         (TLS): Likewise.
8842         (CTID): Likewise.
8843         (__clone): Do not use BP_SYM.
8844         (clone): Do not use BP_SYM in weak_alias.
8845         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8846         and <bp-asm.h>.
8847         (PARMS): Do not use macros from bp-asm.h.
8848         (LEN): Likewise.
8849         (__mmap64): Do not use BP_SYM.
8850         (mmap64): Do not use BP_SYM in weak_alias.
8851         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8852         <bp-sym.h> and <bp-asm.h>.
8853         (PARMS): Do not use macros from bp-asm.h.
8854         (__posix_fadvise64_l64): Do not use BP_SYM.
8855         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8856         (PARMS): Do not use macros from bp-asm.h.
8857         (NSOPS): Likewise.
8858         (semtimedop): Do not use BP_SYM.
8859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8860         and <bp-asm.h>.
8862 2013-02-21  Allan McRae  <allan@archlinux.org>
8864         * manual/message.texi (Charset conversion in gettext):
8865         Move @end statement to beginning of line.
8867 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8869         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8870         static.
8871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8872         Likewise.
8874         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8875         (denorm): Likewise.
8876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8879 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8881         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8882         tail-call to the resolved function if pltexit isn't needed.
8884 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8887         or Y being zero as being unlikely.
8888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8889         Likewise.
8891 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8893         * manual/nss.texi (System Databases and Name Service Switch):
8894         Remove frobnicate @pxref.
8896 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8898         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8899         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8901 2013-02-20  Petr Machata  <pmachata@redhat.com>
8903         * elf/elf.h (R_ARM_TARGET1): New macro.
8904         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8905         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8906         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8907         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8908         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8909         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8910         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8911         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8912         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8913         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8914         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8915         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8916         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8917         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8918         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8919         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8920         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8921         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8922         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8923         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8924         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8925         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8926         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8927         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8928         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8929         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8930         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8931         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8932         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8933         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8934         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8935         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8936         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8937         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8938         (R_ARM_THM_GOT_BREL12): Likewise.
8939         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8940         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8941         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8942         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8943         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8944         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8945         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8946         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8947         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8949 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8951         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8952         __attribute_used__ to __attribute__ ((unused)).
8954 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8956         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8957         powerpc mpa.c.
8958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8959         comment formatting.
8960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8962 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8964         [BZ #13550]
8965         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8966         Remove macro.
8967         (ENTER): Remove both macro definitions.
8968         (LEAVE): Likewise.
8969         (CHECK_BOUNDS_LOW): Likewise.
8970         (CHECK_BOUNDS_HIGH): Likewise.
8971         (CHECK_BOUNDS_BOTH): Likewise.
8972         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8973         (RETURN_BOUNDED_POINTER): Likewise.
8974         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8975         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8976         (POP_ERRNO_LOCATION_RETURN): Likewise.
8977         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8978         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8979         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8980         macros.
8981         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8982         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8983         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8984         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8985         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8986         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8987         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8988         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8989         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8990         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8991         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8992         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8993         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8994         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8995         removed macros.
8996         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8997         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8998         macros.
8999         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9000         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9001         * sysdeps/i386/i586/memset.S (memset): Likewise.
9002         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9003         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9004         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9005         macros.
9006         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9007         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9008         Change uses of L(2) to L(out).
9009         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9010         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9011         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9012         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9013         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9014         removed macros.
9015         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9016         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9017         macros.
9018         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9019         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9020         (RETURN): Do not use macro LEAVE.
9021         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9022         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9023         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9024         * sysdeps/i386/i686/memset.S (memset): Likewise.
9025         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9026         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9027         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9028         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9029         Likewise.
9030         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9031         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9032         L(1_2) and L(1_3) into L(1).
9033         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9034         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9035         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9036         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9037         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9038         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9039         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9040         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9041         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9042         macros.
9043         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9044         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9045         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9046         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9047         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9048         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9049         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9050         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9051         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9052         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9053         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9054         * sysdeps/i386/strspn.S (strspn): Likewise.
9055         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9056         conditional code.
9057         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9058         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9059         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9060         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9061         L(1_3) into L(1_1).
9062         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9063         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9064         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9065         macros.
9066         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9068 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9070         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9071         macro.
9073 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9075         * math/atest-exp.c (exp_mpn): Remove ROUND.
9076         * math/atest-exp2.c (exp_mpn): Likewise.
9077         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9079         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9080         * stdlib/tst-tls-atexit-lib.c: Likewise.
9081         * stdlib/tst-tls-atexit.c: Likewise.
9083 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9085         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9086         and __attribute_alloc_size__.
9088 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9090         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9091         __attribute_alloc_size__.
9092         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9093         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9095 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9097         * include/programs/xmalloc.h: New file.
9098         * catgets/gencat.c: Include it.
9099         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9100         * elf/pldd.c: Likewise.
9101         * iconv/iconv_charmap.c: Likewise.
9102         * iconv/iconvconfig.c: Likewise.
9103         * iconv/strtab.c: Likewise.
9104         * locale/programs/locale.c: Likewise.
9105         * locale/programs/localedef.h: Likewise.
9106         * locale/programs/simple-hash.c: Likewise.
9107         * nscd/nscd.h: Likewise.
9108         * nss/makedb.c: Likewise.
9109         * sysdeps/generic/ldconfig.h: Likewise.
9111 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9113         * Versions.def: Add GLIBC_2.18.
9114         * include/link.h (struct link_map): New member l_tls_dtor_count.
9115         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9116         (__call_tls_dtors): Likewise.
9117         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9118         __cxa_thread_atexit_impl.
9119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9120         Likewise.
9121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9122         Likewise.
9123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9124         Likewise.
9125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9126         Likewise.
9127         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9129         Likewise.
9130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9131         Likewise.
9132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9134         Likewise.
9135         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9136         (tests): Add test case tst-tls-atexit.
9137         (modules-names): Add shared library for tst-tls-atexit.
9138         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9139         (GLIBC_PRIVATE): Add __call_tls_dtors.
9140         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9141         for libstdc++.
9142         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9143         * stdlib/tst-tls-atexit.c: New test case.
9144         * stdlib/tst-tls-atexit-lib.c: New test case.
9146         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9148         * elf/Versions (ld): Add _dl_find_dso_for_object.
9149         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9150         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9151         (dl_open_worker): Use _dl_find_dso_for_object.
9152         * elf/dl-sym.c (do_sym): Likewise.
9153         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9155 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9157         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9158         Syntactic changes only.
9159         (_dl_runtime_profile): Do a tail-call to the resolved function.
9161 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9163         [BZ #13550]
9164         * sysdeps/x86_64/bp-asm.h: Remove file.
9165         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9166         <bp-sym.h> and <bp-asm.h>.
9167         (__clone): Do not use BP_SYM.
9168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9169         <bp-sym.h> and <bp-asm.h>.
9170         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9171         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9172         "bp-asm.h".
9173         (_setjmp): Do not use BP_SYM.
9174         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9175         "bp-asm.h".
9176         (setjmp): Do not use BP_SYM.
9177         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9178         libc_hidden_def.
9179         (mempcpy): Do not use BP_SYM in weak_alias.
9180         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9181         "bp-asm.h".
9182         (strchr): Do not use BP_SYM.
9183         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9184         "bp-asm.h".
9185         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9186         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9187         (_start): Do not use BP_SYM.
9188         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9189         "bp-asm.h".
9190         (strcat): Do not use BP_SYM.
9191         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9192         "bp-asm.h".
9193         (STRCMP): Do not use BP_SYM.
9194         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9195         "bp-asm.h".
9196         (STRCPY): Do not use BP_SYM.
9197         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9198         "bp-asm.h".
9199         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9200         "bp-asm.h".
9201         (FUNCTION): Do not use BP_SYM.
9202         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9203         weak_alias.
9204         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9206 2013-02-17  Andreas Jaeger  <aj@suse.de>
9208         * time/Versions: Sort entries.
9209         * string/Versions: Likewise.
9210         * resolv/Versions: Likewise.
9211         * posix/Versions: Likewise.
9212         * iconv/Versions: Likewise.
9213         * elf/Versions: Likewise.
9214         * wcsmbs/Versions: Likewise.
9216 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9218         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9219         loop termination condition.
9221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9222         variable to calculate EZ.
9223         (__sqr): Likewise.
9225         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9226         the lower precision input.
9228 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9230         [BZ #13550]
9231         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9232         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9233         (run-via-rtld-prefix): Do not handle %-bp tests.
9234         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9235         (all-object-suffixes): Remove .ob.
9236         (bppfx): Remove variable.
9237         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9238         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9239         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9240         [$(build-bounded) = yes] (libtype.ob): Likewise.
9241         * Makerules (elide-routines.ob): Remove variable.
9242         (do-tests-clean): Do not handle *-bp.out.
9243         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9244         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9245         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9246         (tests): Do not include $(tests-bp.out).
9247         (xtests): Do not include $(xtests-bp.out).
9248         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9249         [$(build-bounded) = yes] ($(addprefix
9250         $(objpfx),$(binaries-bounded))): Remove rule.
9251         ($(objpfx)%-bp.out): Remove rule.
9252         * config.make.in (build-bounded): Remove variable.
9253         * crypt/Makefile [$(build-bounded) = yes]
9254         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9255         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9256         append to variable.
9257         [$(build-bounded) = yes] (install-lib): Likewise.
9258         [$(build-bounded) = yes] (generated): Likewise.
9259         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9260         Remove rule.
9261         * intl/Makefile [$(build-bounded) = yes]
9262         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9263         * math/Makefile [$(build-bounded) = yes]
9264         ($(tests:%=$(objpfx)%-bp): Likewise.
9265         * misc/Makefile [$(build-bounded) = yes]
9266         ($(objpfx)tst-tsearch-bp): Likewise.
9267         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9268         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9269         Remove dependency.
9270         * string/Makefile (o-objects.ob): Remove variable.
9271         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9272         (CFLAGS-.ob): Remove variable.
9273         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9274         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9275         both definitions of variable.
9276         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9277         (ASFLAGS-.ob): Remove variable.
9279 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9281         [BZ #13550]
9282         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9283         Remove __BOUNDED_POINTERS__ from condition.
9284         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9285         * string/bits/string2.h [!__NO_STRING_INLINES &&
9286         !__BOUNDED_POINTERS__]: Likewise.
9287         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9288         Likewise.
9289         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9290         Remove conditional code.
9291         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9292         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9293         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9294         condition.
9296         [BZ #13550]
9297         * csu/libc-start.c: Do not include <bp-sym.h>.
9298         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9299         * elf/dl-open.c: Do not include <bp-sym.h>.
9300         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9301         * math/fegetenv.c: Do not include <bp-sym.h>.
9302         (fegetenv): Do not use BP_SYM in versioned symbols.
9303         * nptl/sysdeps/pthread/bits/libc-lockP.h
9304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9305         <bp-sym.h>.
9306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9307         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9309         (__pthread_mutex_destroy): Likewise.
9310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9311         (__pthread_mutex_lock): Likewise.
9312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9313         (__pthread_mutex_trylock): Likewise.
9314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9315         (__pthread_mutex_unlock): Likewise.
9316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9317         (__pthread_mutexattr_init): Likewise.
9318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9319         (__pthread_mutexattr_destroy): Likewise.
9320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9321         (__pthread_mutexattr_settype): Likewise.
9322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9323         (__pthread_rwlock_init): Likewise.
9324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9325         (__pthread_rwlock_destroy): Likewise.
9326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9327         (__pthread_rwlock_rdlock): Likewise.
9328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9329         (__pthread_rwlock_tryrdlock): Likewise.
9330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9331         (__pthread_rwlock_wrlock): Likewise.
9332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9333         (__pthread_rwlock_trywrlock): Likewise.
9334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9335         (__pthread_rwlock_unlock): Likewise.
9336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9337         (__pthread_key_create): Likewise.
9338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9339         (__pthread_setspecific): Likewise.
9340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9341         (__pthread_getspecific): Likewise.
9342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9343         Likewise.
9344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9345         (_pthread_cleanup_push_defer): Likewise.
9346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9347         (_pthread_cleanup_pop_restore): Likewise.
9348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9349         (pthread_setcancelstate): Likewise.
9350         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9351         <bp-sym.h>.
9352         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9353         (memchr): Do not use BP_SYM in weak_alias.
9354         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9355         (fegetenv): Do not use BP_SYM in versioned symbols.
9356         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9357         (fesetenv): Do not use BP_SYM in versioned symbols.
9358         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9359         (feupdateenv): Do not use BP_SYM in versioned symbols.
9360         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9361         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9362         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9363         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9364         (open64): Do not use BP_SYM in weak_alias.
9365         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9366         (fegetenv): Do not use BP_SYM in versioned symbols.
9367         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9368         (fesetenv): Do not use BP_SYM in versioned symbols.
9369         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9370         (feupdateenv): Do not use BP_SYM in versioned symbols.
9371         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9372         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9373         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9374         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9375         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9376         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9377         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9378         <bp-sym.h>.
9379         (__libc_start_main): Do not use BP_SYM.
9381 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9384         redundant return line.
9385         (norm): Likewise.
9386         (denorm): Likewise.
9387         (dbl_mp): Likewise.
9388         (sub_magnitudes): Likewise.
9389         (__add): Likewise.
9390         (__sub): Likewise.
9391         (__mul): Likewise.
9392         (__inv): Likewise.
9393         (__dvd): Likewise.
9394         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9395         (norm): Likewise.
9396         (denorm): Likewise.
9397         (dbl_mp): Likewise.
9398         (sub_magnitudes): Likewise.
9399         (__add): Likewise.
9400         (__sub): Likewise.
9401         (__mul): Likewise.
9402         (__inv): Likewise.
9403         (__dvd): Likewise.
9405         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9406         instead of __mul.
9407         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9408         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9409         (cc32): Likewise.
9411         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9412         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9414         of __mul for squares.
9415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9416         function
9417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9418         Likewise.
9419         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9420         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9422 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9424         [BZ #13550]
9425         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9426         code.
9427         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9428         prototype or function definition.  Rename ubp_* variables and
9429         parameters.  Remove argv definitions conditional on
9430         [__BOUNDED_POINTERS__].
9431         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9432         * elf/dl-runtime.c (_dl_fixup): Likewise.
9433         * include/set-hooks.h (RUN_HOOK): Likewise.
9434         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9435         definition.
9436         * string/strcpy.c (strcpy): Do not use __unbounded.
9437         * sysdeps/generic/frame.h (struct layout): Likewise.
9438         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9439         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9440         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9441         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9442         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9443         (__backtrace): Likewise.
9444         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9445         use __ptrvalue.
9446         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9447         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9448         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9449         Likewise.
9450         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9451         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9453         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9454         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9455         Do not use __unbounded.
9456         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9457         Rename __unboundedrlimits parameter to rlimits in prototype.
9458         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9459         Do not use __unbounded.
9460         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9461         not use __ptrvalue.
9462         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9463         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9464         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9465         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9466         __ptrvalue or __unbounded.
9467         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9468         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9469         use __unbounded.
9470         (__new_msgctl): Do not use __ptrvalue.
9471         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9472         __unbounded.
9473         (__libc_msgrcv): Do not use __ptrvalue.
9474         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9475         startup_info): Do not use __unbounded.
9476         (__libc_start_main): Likewise.  Rename ubp_* variables and
9477         parameters.  Remove argv definitions conditional on
9478         [__BOUNDED_POINTERS__].
9479         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9480         __ptrvalue.
9481         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9482         use __unbounded.
9483         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9484         or __ptrvalue.
9485         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9486         use __unbounded.
9487         (__new_shmctl): Do not use __ptrvalue.
9488         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9489         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9490         Likewise.
9491         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9492         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9493         (__libc_sigaction): Likewise.
9494         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9495         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9496         Likewise.
9497         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9499 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9501         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9503         * string/mempcpy.c: Implement by calling memcpy.
9505 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9509         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9510         evaluation.
9512         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9513         values in the mantissa.
9515         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9516         minimize writes to Z.
9517         (sub_magnitudes): Simplify code a bit.
9519 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9521         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9522         from the message.  The linker prefixes all warnings with that already.
9524 2013-02-12  Andreas Schwab  <schwab@suse.de>
9526         [BZ #15078]
9527         * posix/regexec.c (extend_buffers): Add parameter min_len.
9528         (check_matching): Pass minimum needed length.
9529         (clean_state_log_if_needed): Likewise.
9530         (get_subexp): Likewise.
9531         * posix/Makefile (tests): Add bug-regex34.
9532         (bug-regex34-ENV): Define.
9533         * posix/bug-regex34.c: New file.
9535         [BZ #11561]
9536         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9537         elements compare against the byte sequence of it, not its name.
9538         * posix/Makefile (tests): Add bug-regex35.
9539         (bug-regex35-ENV): Define.
9540         * posix/bug-regex35.c: New file.
9542 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9544         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9545         comment.
9546         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9547         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9548         (CHECK_EOL): Add undef.
9550 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9552         * bits/stdlib-bsearch.h: New file.
9553         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9554         * stdlib/stdlib.h: Likewise.
9556 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9558         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9559         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9560         declaration.
9561         * manual/search.texi (Array Search Function): Add missing const in
9562         lfind prototype.
9563         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9564         declaration to use rlim_t.
9565         (Basic Scheduling Functions): Remove erroneous const from
9566         sched_getparam prototype.  Remove erroneous * from
9567         sched_get_priority_max and sched_get_priority_min prototypes.
9568         (Resource Usage): Fix summary @comment on vtimes to refer to
9569         sys/vtimes.h rather than vtimes.h.
9570         Add missing *s in vtimes prototype.
9571         (Limits on Resources): Fix ulimit prototype to return long int.
9572         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9573         prototypes to use long int rather than double.
9574         (BSD Random): Fix initstate and setstate to use char *, not void *.
9575         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9576         prototype to make second argument 'struct aiocb64 *const[]'.
9577         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9578         (Status of AIO Operations): Remove erroneous const in aio_return and
9579         aio_return64 prototypes.
9580         (Synchronizing I/O): Fix sync prototype to return void.
9581         * manual/startup.texi (Suboptions): Remove an erroneous const in
9582         getsubopt prototype.
9583         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9584         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9585         use size_t rather than int.
9586         (Scanning All Users): Likewise for getpwent_r.
9587         (Setting Groups): Add missing const to setgroups prototype.
9588         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9589         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9590         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9591         'const void *' rather than 'const char *'.
9592         (Host Address Functions): Likewise for inet_ntop.
9593         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9594         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9595         ssize_t for return value.
9596         (Sending Data): Likewise for send, sendto, sendmsg.
9597         (Socket Option Functions): Add a missing const in setsockopt prototype.
9598         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9599         use wchar_t for the argument.
9600         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9601         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9602         take no arguments.
9603         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9604         double/float/long double for second argument.
9605         Fix return types of significand, significandf, significandl.
9606         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9607         argument in fchmod prototype.
9608         (File Owner): Use uid_t and gid_t in fchown prototype.
9609         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9610         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9611         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9612         use 'const struct dirent **' as argument types to CMP function pointer
9613         argument.
9614         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9615         (File Times): Fix summary magic @comment for struct utimbuf and utime
9616         to refer to utime.h, not time.h.
9617         * manual/string.texi (Argz Functions): Add missing const in
9618         argz_extract and argz_next prototypes.
9619         (Finding Tokens in a String): Likewise for basename.
9620         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9621         (Copying and Concatenation): Fix typo in wmemmove prototype.
9622         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9623         (Signal Stack): Remove erroneous const in sigstack prototype.
9624         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9625         prototype.
9626         (Simple Calendar Time): Likewise for stime.
9627         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9628         prototype.
9629         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9630         say sys/sysctl.h instead.
9631         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9632         and vsyslog prototypes.
9634 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9636         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9637         Remove.
9639 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9641         * misc/sys/mman.h: Fix typo in mremap comment.
9643 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9645         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9646         the '\0' terminator.
9648 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9650         [BZ #13550]
9651         * debug/segfault.c: Don't include <bp-checks.h>.
9652         * sysdeps/generic/bp-checks.h: Remove file.
9653         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9654         (__GETDENTS): Don't use CHECK_N.
9655         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9656         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9657         (__getgroups): Don't use CHECK_N.
9658         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9659         (setgroups): Don't use CHECK_N.
9660         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9661         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9662         (__libc_msgrcv): Don't use CHECK_N.
9663         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9664         (__libc_msgsnd): Don't use CHECK_N.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9666         <bp-checks.h>.
9667         (__libc_pread): Don't use CHECK_N.
9668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9669         include <bp-checks.h>.
9670         (__libc_pread64): Don't use CHECK_N.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9672         include <bp-checks.h>.
9673         (__libc_pwrite): Don't use CHECK_N.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9675         include <bp-checks.h>.
9676         (__libc_pwrite64): Don't use CHECK_N.
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9678         <bp-checks.h>.
9679         (__libc_pread): Don't use CHECK_N.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9681         include <bp-checks.h>.
9682         (__libc_pread64): Don't use CHECK_N.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9684         include <bp-checks.h>.
9685         (__libc_pwrite): Don't use CHECK_N.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9687         include <bp-checks.h>.
9688         (__libc_pwrite64): Don't use CHECK_N.
9689         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9690         (do_pread): Don't use CHECK_N.
9691         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9692         (do_pread64): Don't use CHECK_N.
9693         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9694         (do_pwrite): Don't use CHECK_N.
9695         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9696         (do_pwrite64): Don't use CHECK_N.
9697         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9698         (__libc_readv): Don't use CHECK_N.
9699         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9700         (semop): Don't use CHECK_N.
9701         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9702         <bp-checks.h>.
9703         (semtimedop): Don't use CHECK_N.
9704         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9705         (__libc_pread): Don't use CHECK_N.
9706         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9707         <bp-checks.h>.
9708         (__libc_pread64): Don't use CHECK_N.
9709         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9710         <bp-checks.h>.
9711         (__libc_pwrite): Don't use CHECK_N.
9712         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9713         <bp-checks.h>.
9714         (__libc_pwrite64): Don't use CHECK_N.
9715         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9716         <bp-checks.h>.
9717         (__libc_msgrcv): Don't use CHECK_N.
9718         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9719         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9720         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9721         (__libc_writev): Don't use CHECK_N.
9723 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9725         * string/strcpy.c: Removed unused variable.
9727         * Makeconfig (+sysdep-includes): Define with := rather than =.
9728         Use an existing include/ subdir of each sysdeps dir before it.
9730 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9732         * nscd/connection.c (register_traced_file): Comment function.
9733         [HAVE_INOTIFY] (union __inev): Define.
9734         [HAVE_INOTIFY] (inotify_check_files): New function.
9735         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9736         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9737         clear_db_cache.
9738         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9740 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9742         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9743         loaded if not already and that a failure is permanent.
9745 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9747         [BZ #15006]
9748         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9749         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9751 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9753         [BZ #13550]
9754         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9755         (CHECK_1_NULL_OK): Likewise.
9756         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9757         (__fxstat): Do not use CHECK_1.
9758         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9759         <bp-checks.h>.
9760         (___fxstat64): Do not use CHECK_1.
9761         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9762         <bp-checks.h>.
9763         (__fxstatat): Do not use CHECK_1.
9764         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9765         <bp-checks.h>.
9766         (__fxstatat64): Do not use CHECK_1.
9767         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9768         <bp-checks.h>.
9769         (__fxstat): Do not use CHECK_1.
9770         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9771         <bp-checks.h>.
9772         (__fxstatat): Do not use CHECK_1.
9773         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9774         <bp-checks.h>.
9775         (__getresgid): Do not use CHECK_1.
9776         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9777         <bp-checks.h>.
9778         (__getresuid): Do not use CHECK_1.
9779         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9780         <bp-checks.h>.
9781         (__lxstat): Do not use CHECK_1.
9782         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9783         <bp-checks.h>.
9784         (__old_msgctl): Do not use CHECK_1.
9785         (__new_msgctl): Likewise.
9786         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9787         <bp-checks.h>.
9788         (__new_setrlimit): Do not use CHECK_1.
9789         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9790         <bp-checks.h>.
9791         (__old_shmctl): Do not use CHECK_1.
9792         (__new_shmctl): Likewise.
9793         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9794         <bp-checks.h>.
9795         (__xstat): Do not use CHECK_1.
9796         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9797         (__lxstat): Do not use CHECK_1.
9798         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9799         <bp-checks.h>.
9800         (___lxstat64): Do not use CHECK_1.
9801         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9802         (__old_msgctl): Do not use CHECK_1.
9803         (__new_msgctl): Likewise.
9804         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9805         <bp-checks.h>.
9806         (__gettimeofday): Do not use CHECK_1.
9807         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9808         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9809         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9810         <bp-checks.h>.
9811         (__gettimeofday): Do not use CHECK_1.
9812         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9813         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9814         (__new_shmctl): Do not use CHECK_1.
9815         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9816         <bp-checks.h>.
9817         (do_sigtimedwait): Do not use CHECK_1.
9818         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9819         <bp-checks.h>.
9820         (do_sigwaitinfo): Do not use CHECK_1.
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9822         <bp-checks.h>.
9823         (msgctl): Do not use CHECK_1.
9824         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9825         <bp-checks.h>.
9826         (shmctl): Do not use CHECK_1.
9827         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9828         (ustat): Do not use CHECK_1.
9829         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9830         <bp-checks.h>.
9831         (__fxstat): Do not use CHECK_1.
9832         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9833         <bp-checks.h>.
9834         (__fxstatat): Do not use CHECK_1.
9835         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9836         <bp-checks.h>.
9837         (__lxstat): Do not use CHECK_1.
9838         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9839         <bp-checks.h>.
9840         (__xstat): Do not use CHECK_1.
9841         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9842         (__xstat): Do not use CHECK_1.
9843         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9844         (___xstat64): Do not use CHECK_1.
9846         [BZ #13550]
9847         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9848         definitions.
9849         (CHECK_BOUNDS_HIGH): Likewise.
9850         * string/strcpy.c: Do not include <bp-checks.h>.
9851         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9853 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9855         * nscd/nscd-client.h (__nscd_drop_map_ref):
9856         Add __attribute__ ((unused)).
9857         * nis/nss-nisplus.h (niserr2nss): Likewise.
9859         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9860         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9862         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9863         Remove inline keyword.
9864         * include/rounding-mode.h (round_away): Likewise.
9865         * libio/wfileops.c (adjust_wide_data): Likewise.
9866         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9867         (__m128i_strloadu_tolower): Likewise.
9868         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9869         (__m128i_strloadu_tolower): Likewise.
9870         * time/mktime.c (ydhms_diff): Likewise.
9871         * locale/elem-hash.h (elem_hash): Likewise.
9872         * locale/setlocale.c (setdata): Likewise.
9873         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9874         (re_string_wchar_at): Likewise.
9875         (bitset_not, bitset_merge, bitset_mask): Likewise.
9876         [!(__GNUC__ > 3)] (inline): Remove macro.
9877         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9878         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9879         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9880         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9881         * string/memcmp.c (memcmp_bytes): Likewise.
9882         * locale/programs/locarchive.c (compute_hashval): Likewise.
9883         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9884         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9885         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9886         * nss/getent.c (print_rpc, print_protocols): Likewise.
9887         (print_passwd, print_group, print_aliases): Likewise.
9888         * nis/nss-nisplus.h (niserr2nss): Likewise.
9889         * nscd/connections.c (restart_p): Likewise.
9890         Change return type to bool.
9892 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9894         * Makeconfig (all-Depend-files): Add existing
9895         $(sorted-subdirs:=/Depend) files.
9896         (all-subdirs): Remove nss.
9897         * sysdeps/unix/inet/Subdirs: Add it here instead.
9898         * hesiod/Depend: New file.
9900         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9901         instead of calling alloca.
9903         * io/lseek.c (__lseek): Rename to __libc_lseek.
9904         Define __lseek as an alias.
9906         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9908 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9910         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9911         else clause and remove check for non-standard endianness.
9913 2013-02-04  David S. Miller  <davem@davemloft.net>
9915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9917 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #13550]
9920         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9921         (__ubp_memchr): Remove prototype.
9922         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9923         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9924         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9925         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9926         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9927         Remove alias.
9928         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9929         (__ubp_memchr): Likewise.
9930         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9931         (__ubp_memchr): Likewise.
9932         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9933         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9934         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9935         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9936         CHECK_STRING.
9937         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9938         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9939         (__getcwd): Do not use CHECK_STRING.
9940         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9941         <bp-checks.h>.
9942         (__real_chown): Do not use CHECK_STRING.
9943         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9944         <bp-checks.h>.
9945         (fchownat): Do not use CHECK_STRING.
9946         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9947         CHECK_STRING.
9948         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9949         <bp-checks.h>.
9950         (__lchown): Do not use CHECK_STRING.
9951         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9952         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9953         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9954         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9956         include <bp-checks.h>.
9957         (truncate64): Do not use CHECK_STRING.
9958         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9959         <bp-checks.h>.
9960         (__real_chown): Do not use CHECK_STRING.
9961         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9962         <bp-checks.h>.
9963         (__lchown): Do not use CHECK_STRING.
9964         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9965         <bp-checks.h>.
9966         (__chown): Do not use CHECK_STRING.
9967         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9968         <bp-checks.h>.
9969         (truncate64): Do not use CHECK_STRING.
9970         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9971         Likewise.
9972         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9973         (__xmknod): Do not use CHECK_STRING.
9974         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9975         <bp-checks.h>.
9976         (__xmknodat): Do not use CHECK_STRING.
9977         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9978         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9980 2013-02-04  Andreas Schwab  <schwab@suse.de>
9982         [BZ #14142]
9983         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9984         * include/netdb.h: Likewise for h_errno.
9985         * elf/tst-stackguard1.c: Include <tls.h>.
9987 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
9989         * elf/link.h (struct link_map): Extend the l_addr comment.
9990         * include/link.h (struct link_map): Likewise.
9992 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #13550]
9995         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9996         (BOUNDED_1): Remove macro.
9997         * debug/backtrace.c: Don't include <bp-checks.h>.
9998         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9999         (__backtrace): Likewise.
10000         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10001         <bp-checks.h>.
10002         (__backtrace): Don't use BOUNDED_1.
10003         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10004         <bp-checks.h>.
10005         (__backtrace): Don't use BOUNDED_1.
10006         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10007         (__backtrace): Don't use BOUNDED_1.
10008         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10009         (shmat): Don't use BOUNDED_N.
10011 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10013         [BZ #13550]
10014         * sysdeps/generic/bp-start.h: Remove file.
10015         * csu/libc-start.c: Don't include <bp-start.h>.
10016         (LIBC_START_MAIN): Set up __environ directly instead of using
10017         INIT_ARGV_and_ENVIRON.
10018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10019         <bp-start.h>.
10021         [BZ #13550]
10022         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10023         definitions.
10024         (CHECK_FCNTL): Likewise.
10025         (CHECK_N_PAGES): Likewise.
10027         [BZ #13550]
10028         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10029         definitions.
10030         (CHECK_SIGSET_NULL_OK): Likewise.
10031         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10032         <bp-checks.h>.
10033         (sigpending): Don't use CHECK_SIGSET.
10034         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10035         <bp-checks.h>.
10036         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10037         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10038         <bp-checks.h>.
10039         (do_sigsuspend): Don't use CHECK_SIGSET.
10040         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10041         use CHECK_SIGSET.
10042         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10043         (do_sigwait): Don't use CHECK_SIGSET.
10044         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10045         use CHECK_SIGSET.
10046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10047         include <bp-checks.h>.
10048         (sigpending): Don't use CHECK_SIGSET.
10049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10050         include <bp-checks.h>.
10051         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10052         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10053         <bp-checks.h>.
10054         (sigpending): Don't use CHECK_SIGSET.
10055         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10056         <bp-checks.h>.
10057         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10059         [BZ #13550]
10060         * sysdeps/generic/bp-semctl.h: Remove file.
10061         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10062         <bp-checks.h> and <bp-semctl.h>.
10063         (__old_semctl): Don't use CHECK_SEMCTL.
10064         (__new_semctl): Likewise.
10065         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10066         and <bp-semctl.h>.
10067         (__old_semctl): Don't use CHECK_SEMCTL.
10068         (__new_semctl): Likewise.
10069         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10070         <bp-checks.h> and <bp-semctl.h>.
10071         (__old_semctl): Don't use CHECK_SEMCTL.
10072         (__new_semctl): Likewise.
10073         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10074         <bp-checks.h> and <bp-semctl.h>.
10075         (semctl): Don't use CHECK_SEMCTL.
10077         [BZ #13550]
10078         * Makerules (elide-bp-thunks): Remove variable.
10079         (elide-routines.oS): Don't use $(elide-bp-thunks).
10080         (elide-routines.os): Likewise.
10081         (elide-routines.o): Likewise.
10082         (elide-routines.op): Likewise.
10083         (elide-routines.og): Likewise.
10084         (objects): Don't use $(bp-thunks).
10085         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10086         include.
10087         (common-generated): Do not add s-proto-bp.d.
10088         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10089         (int): Likewise.
10090         (typ): Likewise.
10091         Do not generate makefile rules for bounded-pointer thunks.
10092         * sysdeps/generic/bp-thunks.h: Remove file.
10093         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10094         * sysdeps/unix/s-proto-bp.S: Likewise.
10096         [BZ #15062]
10097         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10098         parts of result separately when argument is not close to line from
10099         -i to i and one part of argument is small.
10100         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10101         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10102         * math/libm-test.inc (cacos_test): Add more tests.
10103         (casin_test): Likewise.
10104         (casinh_test): Likewise.
10105         * sysdeps/i386/fpu/libm-test-ulps: Update.
10106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10108 2013-01-31  David S. Miller  <davem@davemloft.net>
10110         * po/de.po: Update from translation team.
10112 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10114         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10116 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10118         * configure.in (_AC_PROG_CC_C89): New definition.
10119         * configure: Regenerate.
10121         * configure.in (AC_PROG_CPP): New definition.
10122         * configure: Regenerate.
10124 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10126         * debug/tst-backtrace.h: New file.
10127         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10128         (ret): Remove variable.
10129         (x): Likewise.
10130         (FAIL): Remove macro.
10131         (NO_INLINE): Likewise.
10132         (fn1): Use match function instead of strstr.
10133         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10134         (ret): Remove variable.
10135         (x): Likewise.
10136         (FAIL): Remove macro.
10137         (NO_INLINE): Likewise.
10138         (fn): Use match function instead of strstr.
10139         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10140         (ret): Remove variable.
10141         (x): Likewise.
10142         (FAIL): Remove macro.
10143         (NO_INLINE): Likewise.
10144         (handle_signal): Use match function instead of strstr.
10145         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10146         (ret): Remove variable.
10147         (x): Likewise.
10148         (FAIL): Remove macro.
10149         (NO_INLINE): Likewise.
10150         (handle_signal): Use match function instead of strstr.
10152 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10154         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10156 2013-01-23  David S. Miller  <davem@davemloft.net>
10158         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10159         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10160         argument of CAS if possible.
10161         * sysdeps/sparc/sparc64/bits/atomic.h
10162         (__arch_compare_and_exchange_val_32_acq): Likewise.
10163         (__arch_compare_and_exchange_val_64_acq): Likewise.
10165 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10167         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10168         * sysdeps/posix/ulimit.c: ... this.
10169         Include <limits.h>.
10170         * sysdeps/unix/bsd/ulimit.c: Remove file.
10172 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10174         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10175         (LDFLAGS-tst-array5): Likewise.
10177 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10179         [BZ #15036]
10180         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10181         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10182         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10183         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10185 2013-01-21  David S. Miller  <davem@davemloft.net>
10187         * sysdeps/sparc/backtrace.c: New file.
10188         * sysdeps/sparc/sparc32/backtrace.h: New file.
10189         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10190         * sysdeps/sparc/sparc64/backtrace.h: New file.
10191         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10192         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10193         -funwind-tables.
10195 2013-01-21  Andreas Schwab  <schwab@suse.de>
10197         [BZ #15020]
10198         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10199         closed its stdout.
10201 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10204         "mpa2.h".
10205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10207 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10208             Mark Mitchell  <mark@codesourcery.com>
10209             Tom de Vries  <tom@codesourcery.com>
10210             Paul Pluzhnikov  <ppluzhnikov@google.com>
10212         * debug/tst-backtrace2.c: New file.
10213         * debug/tst-backtrace3.c: Likewise.
10214         * debug/tst-backtrace4.c: Likewise.
10215         * debug/tst-backtrace5.c: Likewise.
10216         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10217         (CFLAGS-tst-backtrace3.c): Likewise.
10218         (CFLAGS-tst-backtrace4.c): Likewise.
10219         (CFLAGS-tst-backtrace5.c): Likewise.
10220         (LDFLAGS-tst-backtrace2): Likewise.
10221         (LDFLAGS-tst-backtrace3): Likewise.
10222         (LDFLAGS-tst-backtrace4): Likewise.
10223         (LDFLAGS-tst-backtrace5): Likewise.
10224         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10225         tst-backtrace4 and tst-backtrace5.
10227 2013-01-18  Anton Blanchard  <anton@samba.org>
10228             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10230         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10231         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10232         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10233         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10235         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10236         "+r" and remove output regs list as redundant.  Add explicit inline
10237         asm to specify register of return val to work around compiler codegen
10238         bug.  Remove (int) cast on return value.  Add return type parameter to
10239         use in macro so that this macro does not truncate return value for
10240         64-bit values.
10241         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10242         pass to INTERNAL_VSYSCALL_NCS.
10243         (INLINE_VSYSCALL): Add 'long int' as return type to
10244         INTERNAL_VSYSCALL_NCS macro invocation.
10245         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10246         INTERNAL_VSYSCALL_NCS macro invocation.
10247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10249 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10251         [BZ #14496]
10252         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10253         Fix application of SIMD FP exception mask.
10255         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10256         mp_no from a power of two.
10257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10258         __mpexp_twomm1.  Use __pow_mp.
10260         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10261         multiplication.
10263 2013-01-17  David S. Miller  <davem@davemloft.net>
10265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10267 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10269         [BZ #15023]
10270         * include/complex.h: Condition contents on [!_COMPLEX_H].
10271         (__kernel_casinhf): New prototype.
10272         (__kernel_casinh): Likewise.
10273         (__kernel_casinhl): Likewise.
10274         * math/Makefile (libm_calls): Add k_casinh.
10275         * math/k_casinh.c: New file.
10276         * math/k_casinhf.c: Likewise.
10277         * math/k_casinhl.c: Likewise.
10278         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10279         finite nonzero arguments.
10280         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10281         finite nonzero arguments.
10282         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10283         finite nonzero arguments.
10284         * math/s_casinh.c: Do not include <float.h>.
10285         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10286         * math/s_casinhf.c: Do not include <float.h>.
10287         (__casinhf): Move code for finite nonzero arguments to
10288         k_casinhf.c.
10289         * math/s_casinhl.c: Do not include <float.h>.
10290         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10291         redefine.
10292         (__casinhl): Move code for finite nonzero arguments to
10293         k_casinhl.c.
10294         * math/libm-test.inc (cacos_test): Add more tests.
10295         * sysdeps/i386/fpu/libm-test-ulps: Update.
10296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10300         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10301         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10302         [!HAVE_MREMAP]: Remove [defined linux] case.
10303         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10305 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10307         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10309 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10311         * elf/elf.h (R_386_SIZE32): New relocation.
10312         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10313         R_386_SIZE32.
10314         (elf_machine_rela): Likewise.
10315         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10316         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10318 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10320         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10321         (FP_FAST_FMA): Do not define.
10322         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10323         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10324         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10325         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10326         !_SOFT_FLOAT]: Likewise.
10327         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10328         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10329         value.
10330         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10331         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10332         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10333         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10334         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10335         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10336         file.
10338 2013-01-16  Andreas Schwab  <schwab@suse.de>
10340         [BZ #14327]
10341         * include/stdlib.h (__mktemp): Add declaration.
10342         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10343         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10345 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10347         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10348         definitions.
10349         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10350         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10351         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10352         definitions here.
10353         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10354         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10355         definitions.
10356         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10357         and ONE.
10358         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10359         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10360         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10361         definitions.
10362         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10363         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10364         definitions.
10365         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10367         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10369 2013-01-15  David S. Miller  <davem@davemloft.net>
10371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10372         trunc{,f} to libm-sysdep_routes.
10373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10375         file.
10376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10378         file.
10379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10380         file.
10381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10383         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10384         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10385         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10386         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10387         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10388         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10391         nearbyint{,f} to libm-sysdep_routes.
10392         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10394         New file.
10395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10396         file.
10397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10398         New file.
10399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10400         file.
10401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10403         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10404         file.
10405         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10406         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10407         file.
10408         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10409         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10410         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10412         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10413         libc_feholdexcept and libc_fesetenv.
10415 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10417         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10419 2013-01-14  David S. Miller  <davem@davemloft.net>
10421         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10422         (SPARC_ASM_VIS2_IFUNC): Likewise.
10423         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10425         use of 'siam' instruction.
10426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10427         Likewise.
10428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10429         Likewise.
10430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10431         Likewise.
10432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10437         file.
10438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10439         file.
10440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10441         file.
10442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10443         file.
10444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10449         new VIS2 routines.
10450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10453         Likewise.
10454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10459         routines to libm-sysdep_routines.
10460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10463         fdim/fdimf to libm-sysdep_routines.
10464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10465         file.
10466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10468         file.
10469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10472         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10473         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10474         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10475         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10477 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10479         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10480         to optimize copies.
10482         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10487         local variable MPTWO.
10488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10489         Likewise.
10491 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10493         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10494         GLOB_NOESCAPE.
10496 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10498         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10500 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10502         * manual/pattern.texi (glob_t): Document gl_flags.
10503         (glob64_t): Likewise.
10505 2013-01-11  David S. Miller  <davem@davemloft.net>
10507         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10508         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10509         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10510         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10511         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10512         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10513         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10514         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10515         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10516         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10517         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10518         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10519         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10521         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10522         sparc V9 rather than using V8 code.
10523         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10524         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10526         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10527         Move to...
10528         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10529         Here.
10531 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10533         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10534         not in the main loop.
10535         * configure: Regenerated.
10537 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10539         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10540         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10541         to just #else.
10542         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10543         [!__GLIBC_HAVE_LONG_LONG] case.
10544         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10545         condition to just #else.
10546         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10547         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10548         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10549         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10550         unconditional.
10551         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10552         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10553         #elif condition to just #else.
10554         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10555         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10556         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10557         #elif condition to just #else.
10559 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10561         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10562         (EF_MIPS_ARCH_64): Fix value.
10563         (EF_MIPS_ARCH_32R2): New.
10564         (EF_MIPS_ARCH_64R2): New.
10566 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10568         * Makeconfig (+link-pie-before-libc): New.
10569         (+link-pie-after-libc): Likewise.
10570         (+link-pie-tests): Likewise.
10571         (+link-pie): Rewritten.
10572         (link-before-libc): Remove $(config-LDFLAGS).
10573         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10574         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10575         (config-LDFLAGS): Renamed to ...
10576         (rtld-LDFLAGS): This.
10577         (rtld-tests-LDFLAGS): New macro.
10578         (link-libc-rpath-link): Likewise.
10579         (link-libc-tests-rpath-link): Likewise.
10580         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10581         (link-libc): Prepand $(link-libc-rpath-link).
10582         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10583         (test-program-prefix): New macro.
10584         (test-via-rtld-prefix): Likewise.
10585         (test-program-cmd): Likewise.
10586         (host-test-program-cmd): Likewise.
10587         * Makefile ($(common-objpfx)testrun.sh): Replace
10588         $(run-program-prefix) with $(test-program-prefix).
10589         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10590         $(rtld-LDFLAGS).
10591         ($(common-objpfx)shlib.lds): Likewise.
10592         (build-module-helper): Likewise.
10593         ($(common-objpfx)format.lds): Likewise.
10594         * Rules (binaries-pie-tests): New.
10595         (binaries-pie-notests): Likewise.
10596         (binaries-pie): Rewritten.
10597         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10598         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10599         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10600         (make-test-out): Replace $(host-built-program-cmd) with
10601         $(host-test-program-cmd).
10602         * config.make.in (build-hardcoded-path-in-tests): New variable.
10603         * configure.in (--enable-hardcoded-path-in-tests): New configure
10604         option.
10605         (hardcoded_path_in_tests): New AC_SUBST.
10606         * configure: Regenerated.
10607         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10608         $(built-program-cmd) with $(test-program-cmd).
10609         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10610         (test_program_cmd): This.
10611         * elf/Makefile ($(objpfx)order.out): Run test with
10612         $(test-program-prefix).
10613         ($(objpfx)order2.out): Likewise.
10614         ($(objpfx)tst-initorder.out): Likewise.
10615         ($(objpfx)tst-initorder2.out): Likewise.
10616         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10617         $(test-program-cmd).
10618         ($(objpfx)tst-array1-static.out): Likewise.
10619         ($(objpfx)tst-array2.out): Likewise.
10620         ($(objpfx)tst-array3.out): Likewise.
10621         ($(objpfx)tst-array4.out): Likewise.
10622         ($(objpfx)tst-array5.out): Likewise.
10623         ($(objpfx)tst-array5-static.out): Likewise.
10624         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10625         $(test-program-cmd).
10626         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10627         $(run-program-prefix) with $(test-program-prefix).
10628         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10629         (test_program_prefix): This.
10630         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10631         $(run-program-prefix) with $(test-program-prefix).
10632         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10633         (test_program_prefix): This.
10634         * iconvdata/tst-tables.sh: Likewise.
10635         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10636         $(run-program-prefix) with $(test-program-prefix).
10637         ($(objpfx)tst-translit.out): Likewise.
10638         ($(objpfx)tst-gettext2.out): Likewise.
10639         ($(objpfx)tst-gettext4.out): Likewise.
10640         ($(objpfx)tst-gettext6.out): Likewise.
10641         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10642         (test_program_prefix): This.
10643         * intl/tst-gettext2.sh: Likewise.
10644         * intl/tst-gettext4.sh  Likewise.
10645         * intl/tst-gettext6.sh: Likewise.
10646         * intl/tst-translit.sh: Likewise.
10647         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10648         with $(test-program-cmd).
10649         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10650         $(run-program-prefix) with $(test-program-prefix).
10651         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10652         (test_program_prefix): This.
10653         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10654         $(run-program-prefix) with $(test-program-prefix).
10655         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10656         (test_program_prefix): This.
10657         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10658         * posix/Makefile ($(objpfx)globtest.out): Replace
10659         $(run-via-rtld-prefix) and $(test-wrapper) with
10660         $(test-program-prefix) and $(test-via-rtld-prefix).
10661         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10662         $(test-program-prefix).
10663         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10664         $(host-test-program-cmd).
10665         (tst-spawn-ARGS): Likewise.
10666         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10667         $(test-program-prefix).
10668         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10669         (test_via_rtld_prefix): This.
10670         (test_wrapper): Renamed to ...
10671         (test_program_prefix): This.
10672         (run_program_prefix): Replaced by test_program_prefix.
10673         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10674         (test_program_prefix): This.
10675         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10676         with $(host-test-program-cmd).
10677         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10678         $(run-program-prefix) with $(test-program-prefix).
10679         ($(objpfx)tst-printf.out): Likewise.
10680         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10681         $(test-program-cmd).
10682         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10683         (test_program_prefix): This.
10684         * stdio-common/tst-unbputc.sh: Likewise.
10685         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10686         $(run-program-prefix) with $(test-program-prefix).
10687         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10688         (test_program_prefix): This.
10689         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10690         $(built-program-cmd) with $(test-program-cmd).
10692 2013-01-11  Andreas Jaeger  <aj@suse.de>
10694         [BZ #15003]
10695         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10696         value. Sync with Linux 3.7.
10698 2013-01-10  David S. Miller  <davem@davemloft.net>
10700         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10704 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10706         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10707         never set.
10708         * configure: Regenerated.
10710 2013-01-10  David S. Miller  <davem@davemloft.net>
10712         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10713         sparc V9 rather than using V8 code.
10714         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10715         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10717 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10719         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10720         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10721         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10722         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10723         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10724         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10725         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10726         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10727         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10728         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10729         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10730         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10731         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10732         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10733         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10734         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10735         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10736         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10737         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10738         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10739         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10740         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10741         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10742         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10743         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10744         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10745         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10747 2013-01-10  David S. Miller  <davem@davemloft.net>
10749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10751 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10753         * posix/Makefile (tests-static): New variable.
10754         (tests): Add $(tests-static).
10755         (tst-exec-static-ARGS): New variable.
10756         (tst-spawn-static-ARGS): Likewise.
10757         * posix/tst-exec-static.c: New file.
10758         * posix/tst-spawn-static.c: Likewise.
10759         * posix/tst-exec.c: Support run directly.
10760         * posix/tst-spawn.c: Likewise.
10762 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10764         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10765         long.
10766         * math/bits/mathcalls.h (llrint): Likewise.
10767         (llround): Likewise.
10768         * stdlib/stdlib.h (struct drand48_data): Likewise.
10769         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10770         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10772         Likewise.
10773         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10774         Likewise.
10775         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10776         (elf_greg_t): Likewise.
10777         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10778         (__jmp_buf): Likewise.
10779         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10780         definitions.
10781         (llrint): Likewise, for all definitions.
10782         (llrintl): Likewise.
10784         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10785         Remove [__GNUC__] condition.
10786         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10787         condition to just [__USE_ISOC99].
10788         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10790 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10792         [BZ #14200]
10793         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10794         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10795         defined.
10796         (_POSIX_V6_ILP32_OFF32): Likewise.
10797         (_XBS5_ILP32_OFF32): Likewise.
10798         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10799         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10801 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10803         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10806         doubles __mpexp_twomm1.  Adjust usage.
10807         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10808         Remove.
10810 2013-01-10  Andreas Schwab  <schwab@suse.de>
10812         [BZ #14964]
10813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10814         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10816 2013-01-09  David S. Miller  <davem@davemloft.net>
10818         [BZ #15003]
10819         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10820         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10821         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10822         TCP_FASTOPEN): Define.
10823         (tcp_repair_opt): New structure.
10824         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10825         enum values.
10826         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10827         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10828         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10829         (tcp_cookie_transactions): New structure.
10831 2013-01-09  Anton Blanchard  <anton@samba.org>
10833         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10834         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10835         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10838 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10840         * include/features.h (__USE_ANSI): Remove.
10842 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10844         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10846         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10848 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10850         * sysdeps/s390/fpu/libm-test-ulps: Update.
10852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10854         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10855         (__acr): Likewise.
10856         (__cpy): Likewise.
10857         (norm): Likewise.
10858         (denorm): Likewise.
10859         (__mp_dbl): Likewise.
10860         (__dbl_mp): Likewise.
10861         (add_magnitudes): Likewise.
10862         (sub_magnitudes): Likewise.
10863         (__add): Likewise.
10864         (__sub): Likewise.
10865         (__mul): Likewise.
10866         (__inv): Likewise.
10867         (__dvd): Likewise.
10868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10869         (__acr): Likewise.
10870         (__cpy): Likewise.
10871         (norm): Likewise.
10872         (denorm): Likewise.
10873         (__mp_dbl): Likewise.
10874         (__dbl_mp): Likewise.
10875         (add_magnitudes): Likewise.
10876         (sub_magnitudes): Likewise.
10877         (__add): Likewise.
10878         (__sub): Likewise.
10879         (__mul): Likewise.
10880         (__inv): Likewise.
10881         (__dvd): Likewise.
10882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10883         (__acr): Likewise.
10884         (__cpy): Likewise.
10885         (norm): Likewise.
10886         (denorm): Likewise.
10887         (__mp_dbl): Likewise.
10888         (__dbl_mp): Likewise.
10889         (add_magnitudes): Likewise.
10890         (sub_magnitudes): Likewise.
10891         (__add): Likewise.
10892         (__sub): Likewise.
10893         (__mul): Likewise.
10894         (__inv): Likewise.
10895         (__dvd): Likewise.
10897 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10899         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10900         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10901         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10902         2 && __USE_EXTERN_INLINES]: Likewise.
10904 2013-01-08  Andreas Jaeger  <aj@suse.de>
10906         [BZ# 14985]
10907         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10908         Remove.
10909         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10910         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10912 2013-01-07  Anton Blanchard  <anton@samba.org>
10914         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10915         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10916         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10917         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10918         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10919         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10920         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10921         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10924         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10925         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10927         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10928         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10929         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10930         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10932         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10934         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10935         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10937         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10938         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10939         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10940         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10941         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10942         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10943         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10944         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10947         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10948         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10949         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10952         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10953         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10954         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10958 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10960         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10961         (__MALLOC_PMT): Likewise.
10962         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10963         [__GNUC__], only on [_LIBC].
10964         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10965         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10966         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10967         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10968         forward declaration.
10969         (realloc_hook_ini): Likewise.
10970         (memalign_hook_ini): Likewise.
10971         (__libc_memalign): Do not use __MALLOC_PMT in variable
10972         declaration.
10973         (__libc_valloc): Likewise.
10974         (__libc_pvalloc): Likewise.
10975         (__libc_calloc): Likewise.
10976         (__posix_memalign): Likewise.
10978         [BZ #14996]
10979         * math/s_casinh.c: Include <float.h>.
10980         (__casinh): Do not do computation with squaring and square root
10981         for large arguments.
10982         * math/s_casinhf.c: Include <float.h>.
10983         (__casinhf): Do not do computation with squaring and square root
10984         for large arguments.
10985         * math/s_casinhl.c: Include <float.h>.
10986         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10987         (__casinhl): Do not do computation with squaring and square root
10988         for large arguments.
10989         * math/libm-test.inc (casin_test): Add more tests.
10990         (casinh_test): Likewise.
10991         * sysdeps/i386/fpu/libm-test-ulps: Update.
10992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10994 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
10996         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10997         (__x86_64_raw_data_cache_size): Likewise.
10998         (__x86_64_data_cache_size_half): Likewise.
10999         (__x86_64_raw_data_cache_size_half): Likewise.
11000         (__x86_64_shared_cache_size): Likewise.
11001         (__x86_64_raw_shared_cache_size): Likewise.
11002         (__x86_64_shared_cache_size_half): Likewise.
11003         (__x86_64_raw_shared_cache_size_half): Likewise.
11004         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11005         to ...
11006         (__x86_data_cache_size): This.
11007         (__x86_64_raw_data_cache_size): Renamed to ...
11008         (__x86_raw_data_cache_size): This.
11009         (__x86_64_data_cache_size_half): Renamed to ...
11010         (__x86_data_cache_size_half): This.
11011         (__x86_64_raw_data_cache_size_half): Renamed to ...
11012         (__x86_raw_data_cache_size_half): This.
11013         (__x86_64_shared_cache_size): Renamed to ...
11014         (__x86_shared_cache_size): This.
11015         (__x86_64_raw_shared_cache_size): Renamed to ...
11016         (__x86_raw_shared_cache_size): This.
11017         (__x86_64_shared_cache_size_half): Renamed to ...
11018         (__x86_shared_cache_size_half): This.
11019         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11020         (__x86_raw_shared_cache_size_half): This.
11021         * sysdeps/x86_64/memcpy.S: Updated.
11022         * sysdeps/x86_64/memset.S: Likewise.
11023         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11024         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11025         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11027 2013-01-04  David S. Miller  <davem@davemloft.net>
11029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11031 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11033         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11034         1 to avoid redefinition warning.
11035         (__USE_GNU): Don't define.
11036         (init_signaling_nan): Protoize.
11038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11040 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11042         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11044         (__cpymn): Likewise.
11045         (norm): Remove commented code.
11046         (denorm): Likewise.
11047         (__mp_dbl): Likewise.
11048         (__inv): Likewise.
11049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11050         (__cpymn): Likewise.
11051         (norm): Remove commented code.
11052         (denorm): Likewise.
11053         (__mp_dbl): Likewise.
11054         (__inv): Likewise.
11056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11057         mp_no value for 1.0 and 2.0.
11058         (norm): Use RADIXI instead of radixi.d.
11059         (denorm): Likewise.
11060         (__mul): Use 0.0 instead of zero.d.
11061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11062         mp_no value for 1.0 and 2.0.
11063         (norm): Use RADIXI instead of radixi.d.
11064         (denorm): Likewise.
11065         (__mul): Use 0.0 instead of zero.d.
11067 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11069         [BZ #14994]
11070         * math/s_casinh.c (__casinh): Reduce finite argument to first
11071         quadrant then set signs of results at the end.
11072         * math/s_casinhf.c (__casinhf): Likewise.
11073         * math/s_casinhl.c (__casinhl): Likewise.
11074         * math/libm-test.inc (casin_test): Add more tests.
11075         (casinh_test): Likewise.
11076         * sysdeps/i386/fpu/libm-test-ulps: Update.
11077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11079 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11081         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11083         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11085         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11086         declarations.
11087         (denorm): Likewise.
11088         (__mp_dbl): Likewise.
11089         (__inv): Likewise.
11091         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11092         and adjust the header comment.
11094         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11095         variable name from declaration.
11097 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11100         Initialize COMMON_CPUID_INDEX_7 element.
11101         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11102         (CPUID_RTM): Likewise.
11103         (HAS_RTM): Likewise.
11104         (COMMON_CPUID_INDEX_7): New enum.
11106 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11108         [BZ #14981]
11109         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11110         size is zero, record memory as freed.
11112 2013-01-03  Andreas Jaeger  <aj@suse.de>
11114         * po/ia.po: Add new Interlingua translation.
11116 2012-01-03  Allan McRae  <allan@archlinux.org>
11118         * locale/programs/localedef.c: Fix description of '--posix' flag.
11120 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11122         * NEWS: Update dates in second copyright notice.
11123         * README: Update copyright dates in example.
11124         * manual/libc.texinfo: Update copyright dates.
11125         * scripts/test-installation.pl: Update copyright date in --version
11126         output.
11128         * hurd/ctty-input.c: Fix copyright notice formatting.
11129         * hurd/ctty-output.c: Likewise.
11130         * hurd/dtable.c: Likewise.
11131         * hurd/hurd-raise.c: Likewise.
11132         * hurd/hurdprio.c: Likewise.
11133         * hurd/msgportdemux.c: Likewise.
11134         * misc/sys/file.h: Likewise.
11135         * misc/sys/ioctl.h: Likewise.
11136         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11137         * sysdeps/mach/hurd/chdir.c: Likewise.
11138         * sysdeps/mach/hurd/fchdir.c: Likewise.
11139         * sysdeps/mach/hurd/rename.c: Likewise.
11140         * sysdeps/mach/hurd/rmdir.c: Likewise.
11141         * sysdeps/mach/hurd/seekdir.c: Likewise.
11142         * sysdeps/mach/hurd/setsid.c: Likewise.
11143         * sysdeps/posix/wait3.c: Likewise.
11145         * All files with FSF copyright notices: Update copyright dates
11146         using scripts/update-copyrights.
11147         * intl/plural.c: Regenerated.
11148         * locale/programs/charmap-kw.h: Likewise.
11149         * locale/programs/locfile-kw.h: Likewise.
11151 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11153         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11154         four values.
11156         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11157         calculation loop and add branch prediction.
11159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11160         check access beyond bounds of m1np.
11162         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11163         MPTWO.
11164         (__inv): Remove local variable MPTWO to use the global
11165         constant.
11166         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11168         variable MPTWO.
11169         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11170         MP3HALFS static const.
11172 2013-01-01  David S. Miller  <davem@davemloft.net>
11174         * po/ca.po: Update from translation team.
11176 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11178         * scripts/update-copyrights: New file.
11179         * Makeconfig: Reformat copyright notice.
11180         * ctype/ctype.h: Likewise.
11181         * debug/swprintf_chk.c: Likewise.
11182         * elf/dl-cache.c: Likewise.
11183         * elf/dl-debug.c: Likewise.
11184         * elf/dl-object.c: Likewise.
11185         * grp/initgroups.c: Likewise.
11186         * hurd/Makefile: Likewise.
11187         * hurd/hurd/signal.h: Likewise.
11188         * hurd/hurdfault.c: Likewise.
11189         * hurd/hurdioctl.c: Likewise.
11190         * hurd/hurdlookup.c: Likewise.
11191         * hurd/intr-msg.c: Likewise.
11192         * iconv/gconv_open.c: Likewise.
11193         * libio/swprintf.c: Likewise.
11194         * locale/lc-ctype.c: Likewise.
11195         * locale/nl_langinfo.c: Likewise.
11196         * mach/Machrules: Likewise.
11197         * mach/Makefile: Likewise.
11198         * malloc/obstack.h: Likewise.
11199         * manual/Makefile: Likewise.
11200         * manual/tsort.awk: Likewise.
11201         * misc/bits/stab.def: Likewise.
11202         * nis/nis_print_group_entry.c: Likewise.
11203         * nis/nis_table.c: Likewise.
11204         * nis/nss_compat/compat-pwd.c: Likewise.
11205         * nis/nss_compat/compat-spwd.c: Likewise.
11206         * po/Makefile: Likewise.
11207         * posix/fnmatch.c: Likewise.
11208         * posix/regex.h: Likewise.
11209         * resolv/Makefile: Likewise.
11210         * resolv/nss_dns/dns-network.c: Likewise.
11211         * resolv/res_hconf.c: Likewise.
11212         * scripts/gen-sorted.awk: Likewise.
11213         * soft-fp/soft-fp.h: Likewise.
11214         * stdio-common/printf.h: Likewise.
11215         * stdlib/monetary.h: Likewise.
11216         * stdlib/random.c: Likewise.
11217         * stdlib/random_r.c: Likewise.
11218         * sysdeps/generic/Makefile: Likewise.
11219         * sysdeps/gnu/Makefile: Likewise.
11220         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11221         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11222         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11224         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11227         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11230         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11231         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11232         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11233         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11234         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11235         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11236         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11238         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11239         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11240         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11241         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11242         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11243         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11244         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11246         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11247         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11248         * sysdeps/mach/hurd/errnos.awk: Likewise.
11249         * sysdeps/mach/hurd/fork.c: Likewise.
11250         * sysdeps/mach/hurd/getcwd.c: Likewise.
11251         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11252         * sysdeps/mach/hurd/mmap.c: Likewise.
11253         * sysdeps/mach/hurd/utimes.c: Likewise.
11254         * sysdeps/mach/hurd/xmknod.c: Likewise.
11255         * sysdeps/posix/profil.c: Likewise.
11256         * sysdeps/posix/readdir_r.c: Likewise.
11257         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11258         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11259         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11260         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11262         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11263         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11264         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11267         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11268         * sysdeps/pthread/lio_listio.c: Likewise.
11269         * sysdeps/sparc/dl-procinfo.h: Likewise.
11270         * sysdeps/unix/i386/sysdep.S: Likewise.
11271         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11272         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11273         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11274         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11276         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11277         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11278         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11279         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11280         * sysdeps/wordsize-32/divdi3.c: Likewise.
11281         * time/sys/time.h: Likewise.
11282         * wcsmbs/Makefile: Likewise.
11284 2013-01-01  David S. Miller  <davem@davemloft.net>
11286         * po/fr.po: Update from translation team.
11288         * catgets/gencat.c: Update copyright year.
11289         * csu/version.c: Likewise.
11290         * debug/catchsegv.sh: Likewise.
11291         * debug/pcprofiledump.c: Likewise.
11292         * debug/xtrace.sh: Likewise.
11293         * elf/ldconfig.c: Likewise.
11294         * elf/ldd.bash.in: Likewise.
11295         * elf/pldd.c: Likewise.
11296         * elf/sotruss.ksh: Likewise.
11297         * elf/sprof.c: Likewise.
11298         * iconv/iconv_prog.c: Likewise.
11299         * iconv/iconvconfig.c: Likewise.
11300         * locale/programs/locale.c: Likewise.
11301         * locale/programs/localedef.c: Likewise.
11302         * login/programs/pt_chown.c: Likewise.
11303         * malloc/memusage.sh: Likewise.
11304         * malloc/memusagestat.c: Likewise.
11305         * malloc/mtrace.pl: Likewise.
11306         * nscd/nscd.c: Likewise.
11307         * nss/getent.c: Likewise.
11308         * nss/makedb.c: Likewise.
11309         * posix/getconf.c: Likewise.
11311 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11313         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11314         numbers.
11316 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11318         * math/bits/mathcalls.h (modf): Use __nonnull.
11320 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11322         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11323         (split): Use macro CN instead of the bare value.
11324         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11325         could be used.
11326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11327         instead of the bare value.
11328         (power1): Likewise.
11330 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11333         __ATAN_TWOM.
11334         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11336         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11337         their values.
11338         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11339         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11340         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11341         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11343 2012-12-28  Andreas Jaeger  <aj@suse.de>
11345         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11346         values are from Linux 3.7.
11348         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11349         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11351 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11353         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11354         TRUE case.
11356         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11357         (norm): Likewise.
11358         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11359         variables with preprocessor constants.
11360         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11361         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11362         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11364 2012-12-27  Bruno Haible  <bruno@clisp.org>
11366         [BZ #14317]
11367         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11368         only if needed.
11370 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11373         and use variable directly.
11374         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11376         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11377         MPONE.
11378         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11379         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11380         variable MPONE.
11381         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11383         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11384         include directive.  Remove local variable MPONE.
11385         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11386         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11387         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11389 2012-12-25  David S. Miller  <davem@davemloft.net>
11391         * version.h (RELEASE): Set to "development".
11392         (VERSION): Set to "2.17.90".
11393         * NEWS: Add 2.18 section.
11395 2012-12-21  David S. Miller  <davem@davemloft.net>
11397         * po/hr.po: Update from translation team.
11399 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11401         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11403 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11405         * NEWS:  Mention new memcpy for MIPS.
11407 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11409         * manual/contrib.texi (Contributors): Spelling correction.
11411 2012-12-15  David S. Miller  <davem@davemloft.net>
11413         * po/ru.po: Update from translation team.
11415 2012-12-13  David S. Miller  <davem@davemloft.net>
11417         * NEWS: Mention IFUNC testsuite enhancements.
11419         * po/pl.po: Update from translation team.
11420         * po/bg.po: Likewise.
11422         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11423         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11425 2012-12-11  David S. Miller  <davem@davemloft.net>
11427         * po/sv.po: Update from translation team.
11429         * po/vi.po: Update from translation team.
11431         * po/cs.po: Update from translation team.
11433         * po/de.po: Update from translation team.
11434         * po/eo.po: Likewise.
11435         * po/nl.po: Likewise.
11437 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11439         [BZ #14246]
11440         * manual/argp.texi (Argp Helper Functions): Move node to follow
11441         Argp Parsing State.
11443         [BZ #14872]
11444         * manual/conf.texi (Limits on File System Capacity): Mention if
11445         terminating null is included in the max size.
11447 2012-12-10  Andreas Jaeger  <aj@suse.de>
11449         * po/cs.po: Update from translation team.
11451 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11453         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11454         void pointer and cast to uintptr_t.
11455         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11456         path.
11457         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11458         * sysdeps/s390/s390-64/memset.S: Likewise.
11460 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11462         [BZ #14833]
11463         * menual/message.texi (Message Translation): Fix typos.
11464         (Helper programs for gettext): Likewise.
11466 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11468         [BZ #14898]
11469         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11470         Change to -1.
11472 2012-12-07  David S. Miller  <davem@davemloft.net>
11474         * po/libc.pot: Update.
11476 2012-12-07  Richard Henderson  <rth@redhat.com>
11478         [BZ #10114]
11479         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11480         normal/normal case to before the switch.
11481         (_FP_DIV): Likewise.
11483 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11484             Mike Frysinger  <vapier@gentoo.org>
11486         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11487         check for __NR_fadvise64_64.
11489 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11491         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11492         0, not just to plain "0" as a statement.
11493         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11494         with cw.
11496 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11498         * NEWS: Use sourceware.org in Bugzilla URL.
11500 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11503         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11505         * stdio-common/tst-put-error.c (do_test): Add newline to the
11506         padded test to ensure flush.
11508 2012-12-05  Jeff Law  <law@redhat.com>
11510         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11512 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11514         * README: Don't refer to ports add-on as distributed separately.
11515         Mention AArch64 in list of systems supported in the ports add-on.
11517         * LICENSES: Add more non-FSF copyright and license notices.
11519         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11520         ((unused)).
11522         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11524         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11525         10000 as width of padded output.
11527 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11529         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11531         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11532         variable LX with __attribute__ ((unused)).
11533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11534         Likewise.
11535         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11537         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11538         with __attribute__ ((unused)).
11540 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11542         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11544 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11546         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11547         (CFLAGS-nldbl-acos.c): New variable.
11548         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11549         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11550         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11551         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11552         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11553         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11554         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11555         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11556         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11557         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11558         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11559         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11560         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11561         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11562         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11563         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11564         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11565         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11566         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11567         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11568         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11569         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11570         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11571         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11572         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11573         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11574         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11575         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11576         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11577         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11578         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11579         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11580         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11581         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11582         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11583         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11584         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11585         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11586         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11587         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11588         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11589         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11590         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11591         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11592         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11593         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11594         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11595         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11596         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11597         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11598         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11599         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11600         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11601         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11602         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11603         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11604         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11605         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11606         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11607         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11608         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11609         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11610         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11611         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11612         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11613         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11614         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11615         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11616         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11617         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11618         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11619         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11620         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11621         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11622         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11623         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11624         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11625         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11626         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11627         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11628         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11629         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11630         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11631         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11632         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11633         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11634         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11635         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11636         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11637         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11638         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11639         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11640         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11641         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11642         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11643         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11644         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11647         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11649         [BZ #14914]
11650         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11651         whole low double instead of just low 47 bits when splitting values
11652         into two parts.
11654 2012-12-03  Allan McRae  <allan@archlinux.org>
11656         * manual/stdio.texi (Predefined Printf Handlers): Remove
11657         @hsep and @vsep usage.
11659 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11661         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11662         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11664 2012-12-03  Jeff Law  <law@redhat.com>
11666         * time/sys/time.h (settimeofday): Do not mark TV argument
11667         as __nonnull.
11669 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11671         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11672         when currently writing and seek to current position when not.
11673         * libio/Makefile (tests): Remove bug-fclose1.
11674         * libio/bug-fclose1.c: Delete.
11676 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11678         * manual/arith.texi (feenableexcept): Fix typo.
11679         (fedisableexcept): Likewise.
11681 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11683         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11684         second, differently-typed declaration, rather than a cast.
11686 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11688         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11689         * include/rpc/svc.h: ... here.
11691 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11693         [BZ #13013]
11694         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11695         depending n and resplen2 to catch cases where answer
11696         equals answerp2.
11698 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11700         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11701         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11703 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11705         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11707 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11709         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11711 2012-11-28  Jeff Law  <law@redhat.com>
11713         [BZ #13761]
11714         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11715         dataset_temporary.  Track alloca usage into alloca_used.
11716         If dataset is large allocate and release it via malloc/free.
11718 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11720         [BZ #14197]
11721         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11723 2012-11-28  David S. Miller  <davem@davemloft.net>
11725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11727 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11729         [BZ #14803]
11730         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11731         of pi/2 rounded to nearest to 64 bits.
11732         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11733         nearest to 64 bits.
11734         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11735         bits.
11737 2012-11-28  Jeff Law <law@redhat.com>
11738             Martin Osvald <mosvald@redhat.com>
11740         [BZ #14889]
11741         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11742         * sunrpc/svc.c: Include time.h.
11743         (__svc_accept_failed): New function.
11744         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11745         any reason other than EINTR, call __svc_accept_failed.
11746         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11747         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11749 2012-11-28  Andreas Schwab  <schwab@suse.de>
11751         * scripts/abilist.awk: Also handle indirect functions in .opd
11752         section.
11754 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11756         [BZ #13881]
11757         * sysdeps/x86/fpu/powl_helper.c: New file.
11758         * sysdeps/x86/fpu/Makefile: Likewise.
11759         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11760         (p3): New object.
11761         (__ieee754_powl): Use __powl_helper for finite arguments except
11762         integer exponents below 8.
11763         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11764         (p3): New object.
11765         (__ieee754_powl): Use __powl_helper for finite arguments except
11766         integer exponents below 8.
11767         * math/libm-test.inc (pow_test): Add more tests and enable some
11768         previously disabled tests.
11769         * sysdeps/i386/fpu/libm-test-ulps: Update.
11770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11772 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11773             Carlos O'Donell  <carlos_odonell@mentor.com>
11775         * nss/makedb.c (is_prime): Assert that input is odd and greater
11776         than 4.  Note that fact in a comment too.
11777         (next_prime): Add 4 to input.
11779 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11781         [BZ #11741]
11782         * libio/Makefile (tests): Add test case tst-fwrite-error.
11783         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11784         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11785         * libio/tst-fwrite-error.c: New test case.
11787 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11789         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11790         before casting to void *.
11791         * include/libc-internal.h (__pointer_type): New macro.
11792         (__integer_if_pointer_type_sub): Likewise.
11793         (__integer_if_pointer_type): Likewise.
11794         (cast_to_integer): Likewise.
11795         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11796         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11797         before casting to atomic64_t.
11798         (atomic_exchange_acq): Likewise.
11799         (__arch_exchange_and_add_body): Likewise.
11800         (__arch_add_body): Likewise.
11801         (atomic_add_negative): Likewise.
11802         (atomic_add_zero): Likewise.
11804 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11806         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11807         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11808         (add_fdes): Likewise.
11809         (linear_search_fdes): Likewise.
11810         (binary_search_unencoded_fdes): Likewise.
11812 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11814         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11816 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11818         * configure.in: Autodetect C++ header directories.
11819         * configure: Regenerated.
11821 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11823         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11825 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11829 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11831         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11832         LDBL_MANT_DIG == 106]: Disable some tests.
11833         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11834         Likewise.
11835         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11836         Likewise.
11838         [BZ #14871]
11839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11840         input for small inputs.  Return +/- pi/2 for large inputs.
11841         * math/libm-test.inc (atan_test): Add more tests.
11843         * sysdeps/generic/unwind-dw2-fde-glibc.c
11844         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11845         __attribute__ ((unused)).
11847         [BZ #14645]
11848         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11849         x * y if x and y are nonzero and z is zero.
11851         [BZ #14811]
11852         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11853         nonzero exponents with absolute value below 0x1p-117 to +/-
11854         0x1p-117.
11856         [BZ #14869]
11857         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11858         up arguments below 2**-450, not just those below 2**-500.
11859         * math/libm-test.inc (hypot_test): Add another test.
11861         [BZ #14868]
11862         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11863         Return a+b for ratio over 2**120, not 2**60.
11864         * math/libm-test.inc (hypot_test): Add another test.
11866         * math/libm-test.inc (clog_test): Use
11867         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11868         (clog10_test): Likewise.
11870         [BZ #6778]
11871         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11873 2012-11-22  Andreas Schwab  <schwab@suse.de>
11875         * sysdeps/i386/fpu/libm-test-ulps: Update.
11877 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11879         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11880         printf output with newline.
11882 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11884         [BZ #14865]
11885         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11886         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11887         -z nodlopen, -z initfirst and -z execstack support.
11888         * configure: Regenerated.
11890         * elf/elf.h (DF_1_NODIRECT): New macro.
11891         (DF_1_IGNMULDEF): Likewise.
11892         (DF_1_NOKSYMS): Likewise.
11893         (DF_1_NOHDR): Likewise.
11894         (DF_1_EDITED): Likewise.
11895         (DF_1_NORELOC): Likewise.
11896         (DF_1_SYMINTPOSE): Likewise.
11897         (DF_1_GLOBAUDIT): Likewise.
11898         (DF_1_SINGLETON): Likewise.
11899         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11900         DT_1_SUPPORTED_MASK bits.
11901         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11903 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11905         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11907 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11909         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11910         macro.
11912         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11913         (sendmmsg): Move declarations...
11914         * socket/sys/socket.h: ... here.
11915         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11916         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11917         include it from...
11918         * socket/recvmmsg.c: ... this new file.
11919         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11920         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11921         definition of __sendmmsg hidden.
11922         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11923         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11924         Move ENOSYS stub into and include it from...
11925         * socket/sendmmsg.c: ... this new file.
11926         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11927         (sysdep_routines): Move recvmmsg and sendmmsg...
11928         * socket/Makefile (routines): ... here.
11929         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11930         (GLIBC_PRIVATE): Add __sendmmsg.
11931         * include/sys/socket.h (__sendmmsg): Add declarations.
11932         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11933         sendmmsg.
11935 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11938         variable I1 with __attribute__ ((unused)).
11939         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11941 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11943         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11944         DUMMY variables with __attribute__ ((unused)).
11946         * bits/byteswap.h: Include <bits/types.h>.
11947         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11949 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11951         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11952         string_t.  Do not manually set errno.
11953         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11954         length with __strnlen.  Make sure to both set errno and return it on
11955         failure.
11957 2012-11-19  David S. Miller  <davem@davemloft.net>
11959         With help from Joseph Myers.
11960         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11961         very large arguments properly.
11962         * math/libm-test.inc (atan_test): New tests.
11963         (atan2_test): New tests.
11964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11967 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #14856]
11970         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11971         Define to 3.
11973         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11974         [POSIX] (EADDRNOTAVAIL): Likewise.
11975         [POSIX] (EAFNOSUPPORT): Likewise.
11976         [POSIX] (EALREADY): Likewise.
11977         [POSIX] (ECONNABORTED): Likewise.
11978         [POSIX] (ECONNREFUSED): Likewise.
11979         [POSIX] (ECONNRESET): Likewise.
11980         [POSIX] (EDESTADDRREQ): Likewise.
11981         [POSIX] (EDQUOT): Likewise.
11982         [POSIX] (EHOSTUNREACH): Likewise.
11983         [POSIX] (EIDRM): Likewise.
11984         [POSIX] (EISCONN): Likewise.
11985         [POSIX] (ELOOP): Likewise.
11986         [POSIX] (EMULTIHOP): Likewise.
11987         [POSIX] (ENETDOWN): Likewise.
11988         [POSIX] (ENETUNREACH): Likewise.
11989         [POSIX] (ENOBUFS): Likewise.
11990         [POSIX] (ENODATA): Likewise.
11991         [POSIX] (ENOLINK): Likewise.
11992         [POSIX] (ENOMSG): Likewise.
11993         [POSIX] (ENOPROTOOPT): Likewise.
11994         [POSIX] (ENOSR): Likewise.
11995         [POSIX] (ENOSTR): Likewise.
11996         [POSIX] (ENOTCONN): Likewise.
11997         [POSIX] (ENOTSOCK): Likewise.
11998         [POSIX] (EOPNOTSUPP): Likewise.
11999         [POSIX] (EOVERFLOW): Likewise.
12000         [POSIX] (EPROTO): Likewise.
12001         [POSIX] (EPROTONOSUPPORT): Likewise.
12002         [POSIX] (EPROTOTYPE): Likewise.
12003         [POSIX] (ESTALE): Likewise.
12004         [POSIX] (ETIME): Likewise.
12005         [POSIX] (ETXTBSY): Likewise.
12006         [POSIX] (EWOULDBLOCK): Likewise.
12007         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12008         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12009         [POSIX] (SEEK_CUR): Likewise.
12010         [POSIX] (SEEK_END): Likewise.
12011         [POSIX || UNIX98] (mode_t): Do not require.
12012         [POSIX] (off_t): Likewise.
12013         [POSIX] (pid_t): Likewise.
12014         [POSIX] (sys/stat.h): Do not allow header.
12015         [POSIX] (unistd.h): Likewise.
12016         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12017         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12018         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12019         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12020         require.
12021         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12022         sigevent): Specify elements.
12023         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12024         entry.
12025         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12026         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12028         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12029         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12030         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12031         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12032         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12033         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12034         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12035         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12036         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12037         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12038         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12039         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12040         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12041         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12042         Likewise.
12043         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12044         Likewise.
12045         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12046         Likewise.
12047         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12048         Likewise.
12049         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12050         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12051         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12052         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12053         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12054         Specify lower bound on value.
12055         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12056         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12057         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12058         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12059         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12060         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12061         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12062         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12063         value.
12064         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12065         as optional.
12066         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12067         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12068         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12069         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12070         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12071         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12072         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12073         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12074         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12075         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12076         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12077         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12078         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12079         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12080         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12081         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12082         entry.
12083         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12084         optional.
12085         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12086         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12087         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12088         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12089         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12090         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12091         Likewise.
12092         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12093         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12094         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12095         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12096         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12097         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12098         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12099         as optional.
12100         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12101         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12102         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12103         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12104         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12105         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12106         specify as optional.
12107         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12108         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12109         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12110         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12111         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12112         [XPG3] (NL_LANGMAX): Likewise.
12113         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12114         [POSIX || XPG3] (NL_NMAX): Likewise.
12115         [POSIX || XPG3] (NL_SETMAX): Likewise.
12116         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12117         [XPG3] (NZERO): Likewise.
12118         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12119         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12120         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12121         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12122         (REG_ERANGE): Expect.
12123         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12124         optional-constant.
12125         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12126         Use (void) in prototype.
12127         [POSIX] (*_t): Allow.
12128         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12129         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12130         (WRDE_BADVAL): Expect.
12132         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12133         expect.
12134         [XPG3 || XPG4] (O_RSYNC): Likewise.
12135         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12136         Likewise.
12137         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12138         [XPG3 || XPG4] (sigqueue): Likewise.
12139         [XPG3 || XPG4] (sigtimedwait): Likewise.
12140         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12141         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12142         [XPG3 || XPG4] (vsnprintf): Likewise.
12143         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12144         Likewise.
12145         [XPG3 || XPG4] (blksize_t): Likewise.
12146         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12147         Likewise.
12148         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12149         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12150         [XPG3 || XPG4] (struct itimerspec): Likewise.
12151         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12152         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12153         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12154         [XPG3 || XPG4] (clockid_t): Likewise.
12155         [XPG3 || XPG4] (timer_t): Likewise.
12156         [XPG3 || XPG4] (clock_getres): Likewise.
12157         [XPG3 || XPG4] (clock_gettime): Likewise.
12158         [XPG3 || XPG4] (clock_settime): Likewise.
12159         [XPG3 || XPG4] (nanosleep): Likewise.
12160         [XPG3 || XPG4] (timer_create): Likewise.
12161         [XPG3 || XPG4] (timer_delete): Likewise.
12162         [XPG3 || XPG4] (timer_gettime): Likewise.
12163         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12164         [XPG3 || XPG4] (timer_settime): Likewise.
12165         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12166         [XPG3 || XPG4] (getlogin_r): Likewise.
12167         [XPG3 || XPG4] (pread): Likewise.
12168         [XPG3 || XPG4] (pthread_atfork): Likewise.
12169         [XPG3 || XPG4] (pwrite): Likewise.
12171         [BZ #14835]
12172         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12173         <bits/siginfo.h>.
12175 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12177         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12178         finalizing MALLSTREAM.
12180         * sysdeps/mach/hurd/syncfs.c: New file.
12182 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12184         [BZ #14719]
12185         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12186         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12187         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12188         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12189         (_nss_dns_gethostbyname4_r): Likewise.
12190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12191         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12193 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12195         [BZ #13763]
12196         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12198 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12200         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12201         * elf/cache.c (print_entry): Print ",AArch64" for
12202         FLAG_AARCH64_LIB64
12204         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12205         * elf/cache.c (print_entry): Print ",hard-float" for
12206         FLAG_ARM_LIBHF.
12208 2012-11-18  David S. Miller  <davem@davemloft.net>
12210         With help from Joseph Myers.
12211         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12212         cutoff to 2**-13.
12213         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12214         cutoff to 2**-25.
12215         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12216         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12217         small.
12218         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12219         * math/libm-test.inc (y0_test): New tests.
12220         (y1_test): New tests.
12221         * sysdeps/i386/fpu/libm-test-ulps: Update.
12222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12225 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12227         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12228         64-bit targets.
12229         * configure: Regenerated.
12231 2012-11-17  David S. Miller  <davem@davemloft.net>
12233         [BZ #14811]
12234         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12235         nonzero exponents with absolute value below 0x1p-128 to +/-
12236         0x1p-128.
12238 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12240         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12242         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12244         * posix/getconf-speclist.c: New file.
12245         * posix/posix-envs.def: Likewise.
12246         * posix/confstr.c (START_ENV_GROUP): New macro.
12247         (END_ENV_GROUP): Likewise.
12248         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12249         (KNOWN_PRESENT_ENV_STRING): Likewise.
12250         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12251         (UNKNOWN_ENVIRONMENT): Likewise.
12252         (confstr): Include posix-envs.def instead of handling
12253         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12254         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12255         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12256         (END_ENV_GROUP): Likewise.
12257         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12258         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12259         (UNKNOWN_ENVIRONMENT): Likewise.
12260         (__sysconf): Include posix-envs.def instead of handling associated
12261         cases directly here.
12262         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12263         preprocessing getconf-speclist.c rather than running getconf or
12264         generating empty file.
12266 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12268         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12270 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12272         [BZ #14672]
12273         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12275 2012-11-16  David S. Miller  <davem@davemloft.net>
12277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12278         smaller than LDBL_EPSILON/2.0L, just return xm1.
12280 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12282         * elf/tst-array1.c (init): Set constructor priority to 1000.
12283         (fini): Set destructor priority to 1000.
12284         * elf/tst-array2dep.c: Likewise.
12286 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12288         [BZ #11741]
12289         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12290         (_IO_new_file_xsputn): Also return EOF if none of the input
12291         data was written when overflow failed.
12292         * libio/iopadn.c (_IO_padn): Likewise.
12293         * libio/iowpadn.c (_IO_wpadn): Likewise.
12294         * stdio-common/tst-put-error.c: Add copyright notice.
12295         (do_test): Add case for printing padded string.
12296         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12297         _IO_padn returned error.
12298         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12299         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12300         return EOF.
12302 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         * libio/libioP.h: Add comment note that the references to C++
12305         bits are now obsolete.
12307 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12309         * math/libm-test.inc (check_complex): Use asprintf.
12311 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12313         * debug/pcprofiledump.c (print_version): Update copyright year.
12314         * malloc/memusagestat.c (print_version): Likewise.
12316 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12318         [BZ #14831]
12319         * elf/Makefile (tests): Add tst-audit8.
12320         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12321         ($(objpfx)tst-audit8.out): New target.
12322         (tst-audit8-ENV): New variable.
12323         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12324         audit if l_reloc_result is NULL.
12325         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12326         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12327         * elf/tst-audit8.c: New file.
12329 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12331         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12332         * misc/Makefile (CFLAGS-select.c): Define.
12333         * posix/Makefile (CFLAGS-pause.c): Define.
12335 2012-11-13  David S. Miller  <davem@davemloft.net>
12337         * crypt/Makefile: Move test targets after toplevel Rules
12338         inclusion.  Grab any necessary sysdep routines when linking.
12339         * crypt/md5.c (md5_process_block): Remove define, we will always
12340         name it __md5_process_block.
12341         (md5_finish_ctx): Update md5_process_block call.
12342         (md5_stream): Likewise.
12343         (md5_process_bytes): Likewise.
12344         (md5_process_block): Rename to __md5_process_block and move to ...
12345         * crypt/md5-block.c: ... here.
12346         * crypt/sha256.c (sha256_process_block): Move to ...
12347         * crypt/sha256-block.c: ... here.
12348         * crypt/sha512.c (sha512_process_block): Move to ...
12349         * crypt/sha512-block.c: ... here.
12350         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12351         path.
12352         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12353         * sysdeps/sparc/sparc64/multiarch/Makefile
12354         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12355         crypt subdir.
12356         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12357         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12358         multiarch changes.
12359         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12360         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12361         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12362         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12363         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12364         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12365         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12366         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12367         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12368         file.
12369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12370         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12371         file.
12372         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12374 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12376         * timezone/tzselect.ksh: Update from tzcode git revision
12377         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12378         * timezone/zdump.c: Likewise.
12379         * timezone/zic.c: Likewise.
12380         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12381         in TZVERSION setting, not $(PKGVERSION).
12382         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12383         REPORT_BUGS_TO settings.
12385         [BZ #14838]
12386         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12387         macro.
12389 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12391         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12392         detection to immediately after _FP_ROUND().
12393         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12394         bits are 0.
12396 2012-11-11  David S. Miller  <davem@davemloft.net>
12398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12399         inttypes.h
12400         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12401         __close rather than their public counterparts.
12403 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12405         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12406         file.
12407         [UNIX98] (sem_timedwait): Do not expect.
12408         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12409         [XPG4 || UNIX98] (sockatmark): Do not expect.
12410         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12411         (clock_getcpuclockid): Do not expect.
12412         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12413         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12414         Do not expect.
12415         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12416         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12417         [UNIX98] (vwscanf): Likewise.
12418         [UNIX98] (vswscanf): Likewise.
12420 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12422         * timezone/version.h: Remove file.
12423         * timezone/README: Do not refer to version.h.
12424         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12425         $(objpfx)version.h.
12426         ($(objpfx)zdump.o): Likewise.
12427         ($(objpfx)version.h): New target.
12429         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12430         2012i.
12431         * timezone/README: Don't mention modification to tzselect.ksh.
12432         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12433         work on unmodified tzselect.ksh.  Substitute version numbers in
12434         tzselect.ksh.
12436         * Makefile (format-me): Remove.
12437         (INSTALL): Adjust indentation.  Use commands directly instead of
12438         using $(format-me).
12440         * aclocal.m4 (ACX_PKGVERSION): New macro.
12441         (ACX_BUGURL): Likewise.
12442         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12443         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12444         (REPORT_BUGS_TO): Likewise.
12445         * configure: Regenerated.
12446         * config.h.in (PKGVERSION): New macro.
12447         (REPORT_BUGS_TO): Likewise.
12448         * config.make.in (PKGVERSION): New variable.
12449         (PKGVERSION_TEXI): Likewise.
12450         (REPORT_BUGS_TO): Likewise.
12451         (REPORT_BUGS_TEXI): Likewise.
12452         * Makefile (format-me): Use -I$(common-objpfx)manual.
12453         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12454         ($(common-objpfx)manual/%): New target.
12455         (manual/%): Remove target.
12456         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12457         (print_version): Use PKGVERSION.
12458         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12459         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12460         and REPORT_BUGS_TO.
12461         ($(objpfx)xtrace): Likewise.
12462         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12463         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12464         (print_version): Use PKGVERSION.
12465         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12466         (do_version): Use PKGVERSION.
12467         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12468         REPORT_BUGS_TO.
12469         (common-ldd-rewrite): Likewise.
12470         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12471         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12472         (print_version): Use PKGVERSION.
12473         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12474         * elf/pldd.c (argp_program_bug_address): Remove variable.
12475         (more_help): New function.
12476         (argp): Use more_help.
12477         (print_version): Use PKGVERSION.
12478         * elf/sln.c (main): Use PKGVERSION.
12479         (usage): Use REPORT_BUGS_TO.
12480         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12481         (top level): Use PKGVERSION.
12482         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12483         (print_version): Use PKGVERSION.
12484         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12485         (print_version): Use PKGVERSION.
12486         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12487         (print_version): Use PKGVERSION.
12488         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12489         (print_version): Use PKGVERSION.
12490         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12491         (print_version): Use PKGVERSION.
12492         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12493         (print_version): Use PKGVERSION.
12494         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12495         and BUGURL.
12496         ($(objpfx)memusage): Likewise.
12497         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12498         (do_version): Use PKGVERSION.
12499         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12500         (print_version): Use PKGVERSION.
12501         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12502         ($PKGVERSION): New variable.
12503         ($REPORT_BUGS_TO): Likewise.
12504         (usage): Use $REPORT_BUGS_TO.
12505         (top level): Use $PKGVERSION.
12506         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12507         ($(objpfx)pkgvers.texi): New rule.
12508         ($(objpfx)stamp-pkgvers): Likewise.
12509         * manual/install.texi: Include pkgvers.texi.
12510         (--with-pkgversion): Document new configure option.
12511         (--with-bugurl): Likewise.
12512         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12513         than necessarily for this particular distribution.  Use
12514         REPORT_BUGS_TO for where to report bugs.
12515         * INSTALL: Regenerated.
12516         * manual/libc.texinfo: Include pkgvers.texi.
12517         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12518         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12519         (print_version): Use PKGVERSION.
12520         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12521         (print_version): Use PKGVERSION.
12522         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12523         (print_version): Use PKGVERSION.
12524         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12525         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12526         macro.
12527         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12528         (print_version): Use PKGVERSION.
12529         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12530         (print_version): Use PKGVERSION.
12531         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12532         and PKGVERSION.
12534         * timezone/checktab.awk: Update from tzcode 2012i.
12535         * timezone/ialloc.c: Likewise.
12536         * timezone/private.h: Likewise.
12537         * timezone/scheck.c: Likewise.
12538         * timezone/tzfile.h: Likewise.
12539         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12540         (TZVERSION): Hardcode tzcode version number.
12541         * timezone/zdump.c: Update from tzcode 2012i.
12542         * timezone/zic.c: Likewise.
12543         * timezone/version.h: New file.
12544         * timezone/README: Describe version.h.  Update upstream location.
12546         [BZ #14824]
12547         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12548         (mktemp): Enable declaration.
12549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12550         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12553         Likewise.
12554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12555         Likewise.
12556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12557         Likewise.
12558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12559         Likewise.
12560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12561         Likewise.
12562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12563         Likewise.
12565         [BZ #14821]
12566         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12567         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12568         for copies of such integer values.
12569         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12570         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12572 2012-11-09  Andreas Jaeger  <aj@suse.de>
12574         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12575         definitions and declarations that are provided by
12576         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12578 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12580         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12581         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12582         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12583         definition.
12585 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12587         * elf/elf.h: Update comment before AArch64 relocations.
12589 2012-11-07  David S. Miller  <davem@davemloft.net>
12591         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12593         (__start_context): Declare.
12594         (__makecontext_ret): Delete.
12595         (__makecontext): Hook up __start_context instead of
12596         __makecontext_ret.
12597         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12598         (sysdep_routines): Add __start_context when in stdlib.
12600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12602         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12603         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12604         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12605         hardcoded "nm".
12606         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12607         (READELF): New variable.  Use it instead of hardcoded "readelf".
12609 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12611         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12612         * sysdeps/x86/Makefile: Here.
12613         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12614         * sysdeps/x86/tst-xmmymm.sh: This.
12616 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12618         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12619         expectations.
12620         [UNIX98] (pthread_barrier_t): Do not expect.
12621         [UNIX98] (pthread_barrierattr_t): Likewise.
12622         [UNIX98] (pthread_spinlock_t): Likewise.
12623         [UNIX98] (pthread_barrier_destroy): Likewise.
12624         [UNIX98] (pthread_barrier_init): Likewise.
12625         [UNIX98] (pthread_barrier_wait): Likewise.
12626         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12627         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12628         [UNIX98] (pthread_barrierattr_init): Likewise.
12629         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12630         [UNIX98] (pthread_getcpuclockid): Likewise.
12631         [UNIX98] (pthread_mutex_timedlock): Likewise.
12632         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12633         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12634         [UNIX98] (pthread_sigmask): Likewise.
12635         [UNIX98] (pthread_spin_destroy): Likewise.
12636         [UNIX98] (pthread_spin_init): Likewise.
12637         [UNIX98] (pthread_spin_lock): Likewise.
12638         [UNIX98] (pthread_spin_trylock): Likewise.
12639         [UNIX98] (pthread_spin_unlock): Likewise.
12640         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12641         Do not expect.
12642         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12643         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12644         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12645         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12646         [XPG3 || XPG4] (pthread_key_t): Likewise.
12647         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12648         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12649         [XPG3 || XPG4] (pthread_once_t): Likewise.
12650         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12651         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12652         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12653         [XPG3 || XPG4] (pthread_t): Likewise.
12655         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12656         not expect.
12657         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12659         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12660         Change function return type to int.
12662         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12663         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12664         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12665         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12666         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12667         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12668         [!POSIX] (posix_madvise): Likewise.
12669         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12670         && !UNIX98].
12671         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12672         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12673         (mode_t): Likewise.
12674         (posix_mem_offset): Likewise.
12675         (posix_typed_mem_get_info): Likewise.
12676         (posix_typed_mem_open): Likewise.
12678         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12679         Change condition to [XOPEN2K8].
12681         * conform/conformtest.pl: Preprocess allow-header data with -x c
12682         instead of from stdin.
12683         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12684         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12685         [C99-based standards] (cerfc): Likewise.
12686         [C99-based standards] (cexp2): Likewise.
12687         [C99-based standards] (cexpm1): Likewise.
12688         [C99-based standards] (clog10): Likewise.
12689         [C99-based standards] (clog1p): Likewise.
12690         [C99-based standards] (clog2): Likewise.
12691         [C99-based standards] (clgamma): Likewise.
12692         [C99-based standards] (ctgamma): Likewise.
12693         [C99-based standards] (cerff): Likewise.
12694         [C99-based standards] (cerfcf): Likewise.
12695         [C99-based standards] (cexp2f): Likewise.
12696         [C99-based standards] (cexpm1f): Likewise.
12697         [C99-based standards] (clog10f): Likewise.
12698         [C99-based standards] (clog1pf): Likewise.
12699         [C99-based standards] (clog2f): Likewise.
12700         [C99-based standards] (clgammaf): Likewise.
12701         [C99-based standards] (ctgammaf): Likewise.
12702         [C99-based standards] (cerfl): Likewise.
12703         [C99-based standards] (cerfcl): Likewise.
12704         [C99-based standards] (cexp2l): Likewise.
12705         [C99-based standards] (cexpm1l): Likewise.
12706         [C99-based standards] (clog10l): Likewise.
12707         [C99-based standards] (clog1pl): Likewise.
12708         [C99-based standards] (clog2l): Likewise.
12709         [C99-based standards] (clgammal): Likewise.
12710         [C99-based standards] (ctgammal): Likewise.
12711         * conform/data/inttypes.h-data [C99-based standards]: Include
12712         stdint.h-data.  Remove all expectations for stdint.h contents.
12713         [C99-based standards] (PRI*): Do not allow.
12714         [C99-based standards] (SCN*): Likewise.
12715         [C99-based standards] (*_t): Likewise.
12716         [C99-based-standards] (PRId8): Expect macro.
12717         [C99-based-standards] (PRIi8): Likewise.
12718         [C99-based-standards] (PRIo8): Likewise.
12719         [C99-based-standards] (PRIu8): Likewise.
12720         [C99-based-standards] (PRIx8): Likewise.
12721         [C99-based-standards] (PRIX8): Likewise.
12722         [C99-based-standards] (SCNd8): Likewise.
12723         [C99-based-standards] (SCNi8): Likewise.
12724         [C99-based-standards] (SCNo8): Likewise.
12725         [C99-based-standards] (SCNu8): Likewise.
12726         [C99-based-standards] (SCNx8): Likewise.
12727         [C99-based-standards] (PRIdLEAST8): Likewise.
12728         [C99-based-standards] (PRIiLEAST8): Likewise.
12729         [C99-based-standards] (PRIoLEAST8): Likewise.
12730         [C99-based-standards] (PRIuLEAST8): Likewise.
12731         [C99-based-standards] (PRIxLEAST8): Likewise.
12732         [C99-based-standards] (PRIXLEAST8): Likewise.
12733         [C99-based-standards] (SCNdLEAST8): Likewise.
12734         [C99-based-standards] (SCNiLEAST8): Likewise.
12735         [C99-based-standards] (SCNoLEAST8): Likewise.
12736         [C99-based-standards] (SCNuLEAST8): Likewise.
12737         [C99-based-standards] (SCNxLEAST8): Likewise.
12738         [C99-based-standards] (PRIdFAST8): Likewise.
12739         [C99-based-standards] (PRIiFAST8): Likewise.
12740         [C99-based-standards] (PRIoFAST8): Likewise.
12741         [C99-based-standards] (PRIuFAST8): Likewise.
12742         [C99-based-standards] (PRIxFAST8): Likewise.
12743         [C99-based-standards] (PRIXFAST8): Likewise.
12744         [C99-based-standards] (SCNdFAST8): Likewise.
12745         [C99-based-standards] (SCNiFAST8): Likewise.
12746         [C99-based-standards] (SCNoFAST8): Likewise.
12747         [C99-based-standards] (SCNuFAST8): Likewise.
12748         [C99-based-standards] (SCNxFAST8): Likewise.
12749         [C99-based-standards] (PRId16): Likewise.
12750         [C99-based-standards] (PRIi16): Likewise.
12751         [C99-based-standards] (PRIo16): Likewise.
12752         [C99-based-standards] (PRIu16): Likewise.
12753         [C99-based-standards] (PRIx16): Likewise.
12754         [C99-based-standards] (PRIX16): Likewise.
12755         [C99-based-standards] (SCNd16): Likewise.
12756         [C99-based-standards] (SCNi16): Likewise.
12757         [C99-based-standards] (SCNo16): Likewise.
12758         [C99-based-standards] (SCNu16): Likewise.
12759         [C99-based-standards] (SCNx16): Likewise.
12760         [C99-based-standards] (PRIdLEAST16): Likewise.
12761         [C99-based-standards] (PRIiLEAST16): Likewise.
12762         [C99-based-standards] (PRIoLEAST16): Likewise.
12763         [C99-based-standards] (PRIuLEAST16): Likewise.
12764         [C99-based-standards] (PRIxLEAST16): Likewise.
12765         [C99-based-standards] (PRIXLEAST16): Likewise.
12766         [C99-based-standards] (SCNdLEAST16): Likewise.
12767         [C99-based-standards] (SCNiLEAST16): Likewise.
12768         [C99-based-standards] (SCNoLEAST16): Likewise.
12769         [C99-based-standards] (SCNuLEAST16): Likewise.
12770         [C99-based-standards] (SCNxLEAST16): Likewise.
12771         [C99-based-standards] (PRIdFAST16): Likewise.
12772         [C99-based-standards] (PRIiFAST16): Likewise.
12773         [C99-based-standards] (PRIoFAST16): Likewise.
12774         [C99-based-standards] (PRIuFAST16): Likewise.
12775         [C99-based-standards] (PRIxFAST16): Likewise.
12776         [C99-based-standards] (PRIXFAST16): Likewise.
12777         [C99-based-standards] (SCNdFAST16): Likewise.
12778         [C99-based-standards] (SCNiFAST16): Likewise.
12779         [C99-based-standards] (SCNoFAST16): Likewise.
12780         [C99-based-standards] (SCNuFAST16): Likewise.
12781         [C99-based-standards] (SCNxFAST16): Likewise.
12782         [C99-based-standards] (PRId32): Likewise.
12783         [C99-based-standards] (PRIi32): Likewise.
12784         [C99-based-standards] (PRIo32): Likewise.
12785         [C99-based-standards] (PRIu32): Likewise.
12786         [C99-based-standards] (PRIx32): Likewise.
12787         [C99-based-standards] (PRIX32): Likewise.
12788         [C99-based-standards] (SCNd32): Likewise.
12789         [C99-based-standards] (SCNi32): Likewise.
12790         [C99-based-standards] (SCNo32): Likewise.
12791         [C99-based-standards] (SCNu32): Likewise.
12792         [C99-based-standards] (SCNx32): Likewise.
12793         [C99-based-standards] (PRIdLEAST32): Likewise.
12794         [C99-based-standards] (PRIiLEAST32): Likewise.
12795         [C99-based-standards] (PRIoLEAST32): Likewise.
12796         [C99-based-standards] (PRIuLEAST32): Likewise.
12797         [C99-based-standards] (PRIxLEAST32): Likewise.
12798         [C99-based-standards] (PRIXLEAST32): Likewise.
12799         [C99-based-standards] (SCNdLEAST32): Likewise.
12800         [C99-based-standards] (SCNiLEAST32): Likewise.
12801         [C99-based-standards] (SCNoLEAST32): Likewise.
12802         [C99-based-standards] (SCNuLEAST32): Likewise.
12803         [C99-based-standards] (SCNxLEAST32): Likewise.
12804         [C99-based-standards] (PRIdFAST32): Likewise.
12805         [C99-based-standards] (PRIiFAST32): Likewise.
12806         [C99-based-standards] (PRIoFAST32): Likewise.
12807         [C99-based-standards] (PRIuFAST32): Likewise.
12808         [C99-based-standards] (PRIxFAST32): Likewise.
12809         [C99-based-standards] (PRIXFAST32): Likewise.
12810         [C99-based-standards] (SCNdFAST32): Likewise.
12811         [C99-based-standards] (SCNiFAST32): Likewise.
12812         [C99-based-standards] (SCNoFAST32): Likewise.
12813         [C99-based-standards] (SCNuFAST32): Likewise.
12814         [C99-based-standards] (SCNxFAST32): Likewise.
12815         [C99-based-standards] (PRId64): Likewise.
12816         [C99-based-standards] (PRIi64): Likewise.
12817         [C99-based-standards] (PRIo64): Likewise.
12818         [C99-based-standards] (PRIu64): Likewise.
12819         [C99-based-standards] (PRIx64): Likewise.
12820         [C99-based-standards] (PRIX64): Likewise.
12821         [C99-based-standards] (SCNd64): Likewise.
12822         [C99-based-standards] (SCNi64): Likewise.
12823         [C99-based-standards] (SCNo64): Likewise.
12824         [C99-based-standards] (SCNu64): Likewise.
12825         [C99-based-standards] (SCNx64): Likewise.
12826         [C99-based-standards] (PRIdLEAST64): Likewise.
12827         [C99-based-standards] (PRIiLEAST64): Likewise.
12828         [C99-based-standards] (PRIoLEAST64): Likewise.
12829         [C99-based-standards] (PRIuLEAST64): Likewise.
12830         [C99-based-standards] (PRIxLEAST64): Likewise.
12831         [C99-based-standards] (PRIXLEAST64): Likewise.
12832         [C99-based-standards] (SCNdLEAST64): Likewise.
12833         [C99-based-standards] (SCNiLEAST64): Likewise.
12834         [C99-based-standards] (SCNoLEAST64): Likewise.
12835         [C99-based-standards] (SCNuLEAST64): Likewise.
12836         [C99-based-standards] (SCNxLEAST64): Likewise.
12837         [C99-based-standards] (PRIdFAST64): Likewise.
12838         [C99-based-standards] (PRIiFAST64): Likewise.
12839         [C99-based-standards] (PRIoFAST64): Likewise.
12840         [C99-based-standards] (PRIuFAST64): Likewise.
12841         [C99-based-standards] (PRIxFAST64): Likewise.
12842         [C99-based-standards] (PRIXFAST64): Likewise.
12843         [C99-based-standards] (SCNdFAST64): Likewise.
12844         [C99-based-standards] (SCNiFAST64): Likewise.
12845         [C99-based-standards] (SCNoFAST64): Likewise.
12846         [C99-based-standards] (SCNuFAST64): Likewise.
12847         [C99-based-standards] (SCNxFAST64): Likewise.
12848         [C99-based-standards] (PRIdMAX): Likewise.
12849         [C99-based-standards] (PRIiMAX): Likewise.
12850         [C99-based-standards] (PRIoMAX): Likewise.
12851         [C99-based-standards] (PRIuMAX): Likewise.
12852         [C99-based-standards] (PRIxMAX): Likewise.
12853         [C99-based-standards] (PRIXMAX): Likewise.
12854         [C99-based-standards] (SCNdMAX): Likewise.
12855         [C99-based-standards] (SCNiMAX): Likewise.
12856         [C99-based-standards] (SCNoMAX): Likewise.
12857         [C99-based-standards] (SCNuMAX): Likewise.
12858         [C99-based-standards] (SCNxMAX): Likewise.
12859         [C99-based-standards] (PRIdPTR): Likewise.
12860         [C99-based-standards] (PRIiPTR): Likewise.
12861         [C99-based-standards] (PRIoPTR): Likewise.
12862         [C99-based-standards] (PRIuPTR): Likewise.
12863         [C99-based-standards] (PRIxPTR): Likewise.
12864         [C99-based-standards] (PRIXPTR): Likewise.
12865         [C99-based-standards] (SCNdPTR): Likewise.
12866         [C99-based-standards] (SCNiPTR): Likewise.
12867         [C99-based-standards] (SCNoPTR): Likewise.
12868         [C99-based-standards] (SCNuPTR): Likewise.
12869         [C99-based-standards] (SCNxPTR): Likewise.
12870         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12871         allow.
12872         * conform/data/stdint.h-data: Update comments to clarify
12873         requirements.
12874         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12875         type.
12876         [C99-based standards] (INT8_MAX): Likewise.
12877         [C99-based standards] (INT16_MIN): Likewise.
12878         [C99-based standards] (INT16_MAX): Likewise.
12879         [C99-based standards] (INT32_MIN): Likewise.
12880         [C99-based standards] (INT32_MAX): Likewise.
12881         [C99-based standards] (INT64_MIN): Likewise.
12882         [C99-based standards] (INT64_MAX): Likewise.
12883         [C99-based standards] (UINT8_MAX): Likewise.
12884         [C99-based standards] (UINT16_MAX): Likewise.
12885         [C99-based standards] (UINT32_MAX): Likewise.
12886         [C99-based standards] (UINT64_MAX): Likewise.
12887         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12888         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12889         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12890         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12891         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12892         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12893         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12894         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12895         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12896         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12897         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12898         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12899         [C99-based standards] (INT_FAST8_MIN): Likewise.
12900         [C99-based standards] (INT_FAST8_MAX): Likewise.
12901         [C99-based standards] (INT_FAST16_MIN): Likewise.
12902         [C99-based standards] (INT_FAST16_MAX): Likewise.
12903         [C99-based standards] (INT_FAST32_MIN): Likewise.
12904         [C99-based standards] (INT_FAST32_MAX): Likewise.
12905         [C99-based standards] (INT_FAST64_MIN): Likewise.
12906         [C99-based standards] (INT_FAST64_MAX): Likewise.
12907         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12908         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12909         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12910         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12911         [C99-based standards] (INTPTR_MIN): Likewise.
12912         [C99-based standards] (INTPTR_MAX): Likewise.
12913         [C99-based standards] (UINTPTR_MAX): Likewise.
12914         [C99-based standards] (INTMAX_MIN): Likewise.
12915         [C99-based standards] (INTMAX_MAX): Likewise.
12916         [C99-based standards] (UINTMAX_MAX): Likewise.
12917         [C99-based standards] (PTRDIFF_MIN): Likewise.
12918         [C99-based standards] (PTRDIFF_MAX): Likewise.
12919         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12920         [C99-based standards] (SIZE_MAX): Likewise.
12921         [C99-based standards] (WCHAR_MAX): Likewise.
12922         [C99-based standards] (WINT_MAX): Likewise.
12923         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12924         constraint on value.
12925         [C99-based standards] (WCHAR_MIN): Likewise.
12926         [C99-based standards] (WINT_MIN): Likewise.
12927         [C99-based standards] (*_t): Allow.
12928         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12929         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12930         Include math.h-data and complex.h-data.  Remove all expectations
12931         of math.h and complex.h contents.
12932         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12933         at end of line.
12934         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12935         (struct tm): Expect tag.
12936         [C99-based-standards] (wcstof): Expect function.
12937         [C99-based-standards] (wcstold): Likewise.
12938         [C99-based-standards] (wcstoll): Likewise.
12939         [C99-based-standards] (wcstoull): Likewise.
12940         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12941         macro-int-constant.  Specify type.
12942         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12943         constraint on value.
12944         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12945         Specify type.
12946         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12947         Specify value.
12948         [ISO C standards]: Do not allow headers.
12949         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12950         wcs[abcdefghijklmnopqrstuvwxyz]*.
12951         [ISO C standards] (*_t): Do not allow.
12952         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12953         Expect function.
12954         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12955         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12956         Specify type.
12957         [ISO C standards]: Do not allow headers.
12958         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12959         is[abcdefghijklmnopqrstuvwxyz]*.
12960         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12961         to[abcdefghijklmnopqrstuvwxyz]*.
12962         [ISO C standards] (*_t): Do not allow.
12963         * conform/data/stdalign.h-data: New file.
12964         * conform/data/stdbool.h-data: Likewise.
12965         * conform/data/stdnoreturn.h-data: Likewise.
12967 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12969         [BZ #14815]
12970         * manual/filesys.texi (Directory Entries): Typo fix.
12971         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12973 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12975         * elf/elf.h (EM_AARCH64): New macro.
12976         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12977         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12978         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12979         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12980         (R_AARCH64_TLSDESC): Likewise.
12981         (NT_ARM_TLS): Likewise.
12982         (NT_ARM_HW_BREAK): Likewise.
12983         (NT_ARM_HW_WATCH): Likewise.
12985 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12987         [BZ #14811]
12988         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12989         (__ieee754_powl): Saturate nonzero exponents with absolute value
12990         below 0x1p-79 to +/- 0x1p-79.
12991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12992         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12993         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12994         nonzero exponents with absolute value below 0x1p-32 to +/-
12995         0x1p-32.
12996         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12997         (__ieee754_powl): Saturate nonzero exponents with absolute value
12998         below 0x1p-79 to +/- 0x1p-79.
12999         * math/libm-test.inc (pow_test): Add more tests.
13001 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13003         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13004         _dl_s390_cap_flags with kernel. Increase string length.
13005         (_dl_s390_platforms): Add z196 and zEC12.
13007 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13009         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13010         Change XOPEN21K to XOPEN2K.
13012 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13014         * string/memmove.c: Use memcpy when possible.
13016 2012-11-06  Andreas Jaeger  <aj@suse.de>
13018         * po/eo.po: Update from translation team.
13020 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13022         [BZ #14793]
13023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13024         exponent and small x and y exponents, scale x or y up.  Increase
13025         by 2 the exponent used in scaling up.
13026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13028         * math/libm-test.inc (fma_test): Add more tests.
13029         (fma_test_towardzero): Likewise.
13030         (fma_test_downward): Likewise.
13031         (fma_test_upward): Likewise.
13033 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13035         [BZ #14805]
13036         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13037         fenv_t *.
13039         [BZ #14801]
13040         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13041         namespace for names of struct fields.
13042         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13043         fenv_t fields.
13044         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13045         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13047 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13049         [BZ #3665]
13050         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13052 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13054         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13055         PTR_DEMANGLE.
13057         [BZ #5246]
13058         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13059         PTR_DEMANGLE.
13061 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13063         [BZ #14797]
13064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13065         definitely overflow as x * y not x * y + z.
13066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13068         * math/libm-test.inc (fma_test): Add more tests.
13069         (fma_test_towardzero): Likewise.
13070         (fma_test_downward): Likewise.
13071         (fma_test_upward): Likewise.
13073 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13075         [BZ #157]
13077         * include/stub-tag.h: Remove file.
13078         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13079         '#include' of it.
13080         * manual/maint.texi (Porting): Don't reference it.
13081         * Makerules ($(objpfx)stubs): Likewise.
13082         * dirent/closedir.c: Don't include <stub-tag.h>.
13083         * dirent/dirfd.c: Likewise.
13084         * dirent/fdopendir.c: Likewise.
13085         * dirent/getdents.c: Likewise.
13086         * dirent/getdents64.c: Likewise.
13087         * dirent/opendir.c: Likewise.
13088         * dirent/readdir.c: Likewise.
13089         * dirent/readdir64.c: Likewise.
13090         * dirent/readdir64_r.c: Likewise.
13091         * dirent/readdir_r.c: Likewise.
13092         * dirent/rewinddir.c: Likewise.
13093         * dirent/seekdir.c: Likewise.
13094         * dirent/telldir.c: Likewise.
13095         * gmon/profil.c: Likewise.
13096         * grp/setgroups.c: Likewise.
13097         * inet/if_index.c: Likewise.
13098         * io/access.c: Likewise.
13099         * io/chdir.c: Likewise.
13100         * io/chmod.c: Likewise.
13101         * io/chown.c: Likewise.
13102         * io/close.c: Likewise.
13103         * io/dup.c: Likewise.
13104         * io/dup2.c: Likewise.
13105         * io/dup3.c: Likewise.
13106         * io/euidaccess.c: Likewise.
13107         * io/faccessat.c: Likewise.
13108         * io/fchdir.c: Likewise.
13109         * io/fchmod.c: Likewise.
13110         * io/fchmodat.c: Likewise.
13111         * io/fchown.c: Likewise.
13112         * io/fchownat.c: Likewise.
13113         * io/fcntl.c: Likewise.
13114         * io/flock.c: Likewise.
13115         * io/fstatfs.c: Likewise.
13116         * io/fstatfs64.c: Likewise.
13117         * io/fstatvfs.c: Likewise.
13118         * io/fstatvfs64.c: Likewise.
13119         * io/futimens.c: Likewise.
13120         * io/fxstat.c: Likewise.
13121         * io/fxstat64.c: Likewise.
13122         * io/fxstatat.c: Likewise.
13123         * io/fxstatat64.c: Likewise.
13124         * io/getcwd.c: Likewise.
13125         * io/isatty.c: Likewise.
13126         * io/lchmod.c: Likewise.
13127         * io/lchown.c: Likewise.
13128         * io/link.c: Likewise.
13129         * io/linkat.c: Likewise.
13130         * io/lseek.c: Likewise.
13131         * io/lseek64.c: Likewise.
13132         * io/lxstat64.c: Likewise.
13133         * io/mkdir.c: Likewise.
13134         * io/mkdirat.c: Likewise.
13135         * io/mkfifo.c: Likewise.
13136         * io/mkfifoat.c: Likewise.
13137         * io/open.c: Likewise.
13138         * io/open64.c: Likewise.
13139         * io/openat.c: Likewise.
13140         * io/openat64.c: Likewise.
13141         * io/pipe.c: Likewise.
13142         * io/pipe2.c: Likewise.
13143         * io/poll.c: Likewise.
13144         * io/posix_fadvise.c: Likewise.
13145         * io/posix_fadvise64.c: Likewise.
13146         * io/posix_fallocate.c: Likewise.
13147         * io/posix_fallocate64.c: Likewise.
13148         * io/read.c: Likewise.
13149         * io/readlink.c: Likewise.
13150         * io/readlinkat.c: Likewise.
13151         * io/rmdir.c: Likewise.
13152         * io/sendfile.c: Likewise.
13153         * io/sendfile64.c: Likewise.
13154         * io/statfs.c: Likewise.
13155         * io/statfs64.c: Likewise.
13156         * io/statvfs.c: Likewise.
13157         * io/statvfs64.c: Likewise.
13158         * io/symlink.c: Likewise.
13159         * io/symlinkat.c: Likewise.
13160         * io/ttyname.c: Likewise.
13161         * io/ttyname_r.c: Likewise.
13162         * io/umask.c: Likewise.
13163         * io/unlink.c: Likewise.
13164         * io/unlinkat.c: Likewise.
13165         * io/utime.c: Likewise.
13166         * io/utimensat.c: Likewise.
13167         * io/write.c: Likewise.
13168         * io/xmknod.c: Likewise.
13169         * io/xmknodat.c: Likewise.
13170         * io/xstat.c: Likewise.
13171         * io/xstat64.c: Likewise.
13172         * login/getpt.c: Likewise.
13173         * login/grantpt.c: Likewise.
13174         * login/unlockpt.c: Likewise.
13175         * math/e_acoshl.c: Likewise.
13176         * math/e_acosl.c: Likewise.
13177         * math/e_asinl.c: Likewise.
13178         * math/e_atan2l.c: Likewise.
13179         * math/e_atanhl.c: Likewise.
13180         * math/e_coshl.c: Likewise.
13181         * math/e_expl.c: Likewise.
13182         * math/e_fmodl.c: Likewise.
13183         * math/e_gammal_r.c: Likewise.
13184         * math/e_hypotl.c: Likewise.
13185         * math/e_j0l.c: Likewise.
13186         * math/e_j1l.c: Likewise.
13187         * math/e_jnl.c: Likewise.
13188         * math/e_lgammal_r.c: Likewise.
13189         * math/e_log10l.c: Likewise.
13190         * math/e_log2l.c: Likewise.
13191         * math/e_logl.c: Likewise.
13192         * math/e_powl.c: Likewise.
13193         * math/e_rem_pio2l.c: Likewise.
13194         * math/e_sinhl.c: Likewise.
13195         * math/e_sqrtl.c: Likewise.
13196         * math/fclrexcpt.c: Likewise.
13197         * math/fedisblxcpt.c: Likewise.
13198         * math/feenablxcpt.c: Likewise.
13199         * math/fegetenv.c: Likewise.
13200         * math/fegetexcept.c: Likewise.
13201         * math/fegetround.c: Likewise.
13202         * math/feholdexcpt.c: Likewise.
13203         * math/fesetenv.c: Likewise.
13204         * math/fesetround.c: Likewise.
13205         * math/feupdateenv.c: Likewise.
13206         * math/fgetexcptflg.c: Likewise.
13207         * math/fraiseexcpt.c: Likewise.
13208         * math/fsetexcptflg.c: Likewise.
13209         * math/ftestexcept.c: Likewise.
13210         * math/k_cosl.c: Likewise.
13211         * math/k_rem_pio2l.c: Likewise.
13212         * math/k_sinl.c: Likewise.
13213         * math/k_tanl.c: Likewise.
13214         * math/s_asinhl.c: Likewise.
13215         * math/s_atanl.c: Likewise.
13216         * math/s_cbrtl.c: Likewise.
13217         * math/s_erfl.c: Likewise.
13218         * math/s_expm1l.c: Likewise.
13219         * math/s_log1pl.c: Likewise.
13220         * math/s_tanhl.c: Likewise.
13221         * misc/acct.c: Likewise.
13222         * misc/brk.c: Likewise.
13223         * misc/chflags.c: Likewise.
13224         * misc/chroot.c: Likewise.
13225         * misc/fchflags.c: Likewise.
13226         * misc/fgetxattr.c: Likewise.
13227         * misc/flistxattr.c: Likewise.
13228         * misc/fremovexattr.c: Likewise.
13229         * misc/fsetxattr.c: Likewise.
13230         * misc/fsync.c: Likewise.
13231         * misc/ftruncate.c: Likewise.
13232         * misc/futimes.c: Likewise.
13233         * misc/futimesat.c: Likewise.
13234         * misc/getdomain.c: Likewise.
13235         * misc/getdtsz.c: Likewise.
13236         * misc/gethostid.c: Likewise.
13237         * misc/gethostname.c: Likewise.
13238         * misc/getloadavg.c: Likewise.
13239         * misc/getpagesize.c: Likewise.
13240         * misc/getsysstats.c: Likewise.
13241         * misc/getxattr.c: Likewise.
13242         * misc/gtty.c: Likewise.
13243         * misc/ioctl.c: Likewise.
13244         * misc/lgetxattr.c: Likewise.
13245         * misc/listxattr.c: Likewise.
13246         * misc/llistxattr.c: Likewise.
13247         * misc/lremovexattr.c: Likewise.
13248         * misc/lsetxattr.c: Likewise.
13249         * misc/lutimes.c: Likewise.
13250         * misc/madvise.c: Likewise.
13251         * misc/mincore.c: Likewise.
13252         * misc/mlock.c: Likewise.
13253         * misc/mlockall.c: Likewise.
13254         * misc/mmap.c: Likewise.
13255         * misc/mprotect.c: Likewise.
13256         * misc/msync.c: Likewise.
13257         * misc/munlock.c: Likewise.
13258         * misc/munlockall.c: Likewise.
13259         * misc/munmap.c: Likewise.
13260         * misc/preadv.c: Likewise.
13261         * misc/preadv64.c: Likewise.
13262         * misc/ptrace.c: Likewise.
13263         * misc/pwritev.c: Likewise.
13264         * misc/pwritev64.c: Likewise.
13265         * misc/readv.c: Likewise.
13266         * misc/reboot.c: Likewise.
13267         * misc/remap_file_pages.c: Likewise.
13268         * misc/removexattr.c: Likewise.
13269         * misc/revoke.c: Likewise.
13270         * misc/select.c: Likewise.
13271         * misc/setdomain.c: Likewise.
13272         * misc/setegid.c: Likewise.
13273         * misc/seteuid.c: Likewise.
13274         * misc/sethostid.c: Likewise.
13275         * misc/sethostname.c: Likewise.
13276         * misc/setregid.c: Likewise.
13277         * misc/setreuid.c: Likewise.
13278         * misc/setxattr.c: Likewise.
13279         * misc/sstk.c: Likewise.
13280         * misc/stty.c: Likewise.
13281         * misc/swapoff.c: Likewise.
13282         * misc/swapon.c: Likewise.
13283         * misc/sync.c: Likewise.
13284         * misc/syncfs.c: Likewise.
13285         * misc/syscall.c: Likewise.
13286         * misc/truncate.c: Likewise.
13287         * misc/ualarm.c: Likewise.
13288         * misc/usleep.c: Likewise.
13289         * misc/ustat.c: Likewise.
13290         * misc/utimes.c: Likewise.
13291         * misc/vhangup.c: Likewise.
13292         * misc/writev.c: Likewise.
13293         * posix/_exit.c: Likewise.
13294         * posix/alarm.c: Likewise.
13295         * posix/execve.c: Likewise.
13296         * posix/fexecve.c: Likewise.
13297         * posix/fork.c: Likewise.
13298         * posix/fpathconf.c: Likewise.
13299         * posix/getaddrinfo.c: Likewise.
13300         * posix/getegid.c: Likewise.
13301         * posix/geteuid.c: Likewise.
13302         * posix/getgid.c: Likewise.
13303         * posix/getgroups.c: Likewise.
13304         * posix/getlogin.c: Likewise.
13305         * posix/getlogin_r.c: Likewise.
13306         * posix/getpgid.c: Likewise.
13307         * posix/getpid.c: Likewise.
13308         * posix/getppid.c: Likewise.
13309         * posix/getresgid.c: Likewise.
13310         * posix/getresuid.c: Likewise.
13311         * posix/getsid.c: Likewise.
13312         * posix/getuid.c: Likewise.
13313         * posix/glob64.c: Likewise.
13314         * posix/nanosleep.c: Likewise.
13315         * posix/pathconf.c: Likewise.
13316         * posix/pause.c: Likewise.
13317         * posix/posix_madvise.c: Likewise.
13318         * posix/pread.c: Likewise.
13319         * posix/pread64.c: Likewise.
13320         * posix/pwrite.c: Likewise.
13321         * posix/pwrite64.c: Likewise.
13322         * posix/sched_getaffinity.c: Likewise.
13323         * posix/sched_getp.c: Likewise.
13324         * posix/sched_gets.c: Likewise.
13325         * posix/sched_primax.c: Likewise.
13326         * posix/sched_primin.c: Likewise.
13327         * posix/sched_rr_gi.c: Likewise.
13328         * posix/sched_setaffinity.c: Likewise.
13329         * posix/sched_setp.c: Likewise.
13330         * posix/sched_sets.c: Likewise.
13331         * posix/sched_yield.c: Likewise.
13332         * posix/setgid.c: Likewise.
13333         * posix/setlogin.c: Likewise.
13334         * posix/setpgid.c: Likewise.
13335         * posix/setresgid.c: Likewise.
13336         * posix/setresuid.c: Likewise.
13337         * posix/setsid.c: Likewise.
13338         * posix/setuid.c: Likewise.
13339         * posix/sleep.c: Likewise.
13340         * posix/spawni.c: Likewise.
13341         * posix/sysconf.c: Likewise.
13342         * posix/times.c: Likewise.
13343         * posix/wait.c: Likewise.
13344         * posix/wait3.c: Likewise.
13345         * posix/wait4.c: Likewise.
13346         * posix/waitpid.c: Likewise.
13347         * resolv/gai_sigqueue.c: Likewise.
13348         * resource/getpriority.c: Likewise.
13349         * resource/getrlimit.c: Likewise.
13350         * resource/getrusage.c: Likewise.
13351         * resource/nice.c: Likewise.
13352         * resource/setpriority.c: Likewise.
13353         * resource/setrlimit.c: Likewise.
13354         * resource/ulimit.c: Likewise.
13355         * rt/aio_cancel.c: Likewise.
13356         * rt/aio_fsync.c: Likewise.
13357         * rt/aio_read.c: Likewise.
13358         * rt/aio_sigqueue.c: Likewise.
13359         * rt/aio_suspend.c: Likewise.
13360         * rt/aio_write.c: Likewise.
13361         * rt/clock_getres.c: Likewise.
13362         * rt/clock_gettime.c: Likewise.
13363         * rt/clock_nanosleep.c: Likewise.
13364         * rt/clock_settime.c: Likewise.
13365         * rt/lio_listio.c: Likewise.
13366         * rt/mq_close.c: Likewise.
13367         * rt/mq_getattr.c: Likewise.
13368         * rt/mq_notify.c: Likewise.
13369         * rt/mq_open.c: Likewise.
13370         * rt/mq_receive.c: Likewise.
13371         * rt/mq_send.c: Likewise.
13372         * rt/mq_setattr.c: Likewise.
13373         * rt/mq_timedreceive.c: Likewise.
13374         * rt/mq_timedsend.c: Likewise.
13375         * rt/mq_unlink.c: Likewise.
13376         * rt/shm_open.c: Likewise.
13377         * rt/shm_unlink.c: Likewise.
13378         * rt/timer_create.c: Likewise.
13379         * rt/timer_delete.c: Likewise.
13380         * rt/timer_getoverr.c: Likewise.
13381         * rt/timer_gettime.c: Likewise.
13382         * rt/timer_settime.c: Likewise.
13383         * setjmp/__longjmp.c: Likewise.
13384         * setjmp/setjmp.c: Likewise.
13385         * signal/kill.c: Likewise.
13386         * signal/killpg.c: Likewise.
13387         * signal/raise.c: Likewise.
13388         * signal/sigaction.c: Likewise.
13389         * signal/sigaltstack.c: Likewise.
13390         * signal/sigblock.c: Likewise.
13391         * signal/sigignore.c: Likewise.
13392         * signal/sigintr.c: Likewise.
13393         * signal/signal.c: Likewise.
13394         * signal/sigpause.c: Likewise.
13395         * signal/sigpending.c: Likewise.
13396         * signal/sigqueue.c: Likewise.
13397         * signal/sigreturn.c: Likewise.
13398         * signal/sigset.c: Likewise.
13399         * signal/sigsetmask.c: Likewise.
13400         * signal/sigstack.c: Likewise.
13401         * signal/sigsuspend.c: Likewise.
13402         * signal/sigtimedwait.c: Likewise.
13403         * signal/sigvec.c: Likewise.
13404         * signal/sigwait.c: Likewise.
13405         * signal/sigwaitinfo.c: Likewise.
13406         * signal/sysv_signal.c: Likewise.
13407         * socket/accept.c: Likewise.
13408         * socket/accept4.c: Likewise.
13409         * socket/bind.c: Likewise.
13410         * socket/connect.c: Likewise.
13411         * socket/getpeername.c: Likewise.
13412         * socket/getsockname.c: Likewise.
13413         * socket/getsockopt.c: Likewise.
13414         * socket/isfdtype.c: Likewise.
13415         * socket/listen.c: Likewise.
13416         * socket/recv.c: Likewise.
13417         * socket/recvfrom.c: Likewise.
13418         * socket/recvmsg.c: Likewise.
13419         * socket/send.c: Likewise.
13420         * socket/sendmsg.c: Likewise.
13421         * socket/sendto.c: Likewise.
13422         * socket/setsockopt.c: Likewise.
13423         * socket/shutdown.c: Likewise.
13424         * socket/sockatmark.c: Likewise.
13425         * socket/socket.c: Likewise.
13426         * socket/socketpair.c: Likewise.
13427         * stdio-common/ctermid.c: Likewise.
13428         * stdio-common/cuserid.c: Likewise.
13429         * stdio-common/remove.c: Likewise.
13430         * stdio-common/rename.c: Likewise.
13431         * stdio-common/renameat.c: Likewise.
13432         * stdio-common/tempname.c: Likewise.
13433         * stdlib/getcontext.c: Likewise.
13434         * stdlib/makecontext.c: Likewise.
13435         * stdlib/setcontext.c: Likewise.
13436         * stdlib/swapcontext.c: Likewise.
13437         * stdlib/system.c: Likewise.
13438         * streams/fattach.c: Likewise.
13439         * streams/fdetach.c: Likewise.
13440         * streams/getmsg.c: Likewise.
13441         * streams/getpmsg.c: Likewise.
13442         * streams/putmsg.c: Likewise.
13443         * streams/putpmsg.c: Likewise.
13444         * sysdeps/unix/bsd/getpt.c: Likewise.
13445         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13446         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13447         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13451         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13452         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13453         * sysvipc/msgctl.c: Likewise.
13454         * sysvipc/msgget.c: Likewise.
13455         * sysvipc/msgrcv.c: Likewise.
13456         * sysvipc/msgsnd.c: Likewise.
13457         * sysvipc/semctl.c: Likewise.
13458         * sysvipc/semget.c: Likewise.
13459         * sysvipc/semop.c: Likewise.
13460         * sysvipc/semtimedop.c: Likewise.
13461         * sysvipc/shmat.c: Likewise.
13462         * sysvipc/shmctl.c: Likewise.
13463         * sysvipc/shmdt.c: Likewise.
13464         * sysvipc/shmget.c: Likewise.
13465         * termios/tcdrain.c: Likewise.
13466         * termios/tcflow.c: Likewise.
13467         * termios/tcflush.c: Likewise.
13468         * termios/tcgetattr.c: Likewise.
13469         * termios/tcgetpgrp.c: Likewise.
13470         * termios/tcsendbrk.c: Likewise.
13471         * termios/tcsetattr.c: Likewise.
13472         * termios/tcsetpgrp.c: Likewise.
13473         * time/adjtime.c: Likewise.
13474         * time/clock.c: Likewise.
13475         * time/getitimer.c: Likewise.
13476         * time/gettimeofday.c: Likewise.
13477         * time/setitimer.c: Likewise.
13478         * time/settimeofday.c: Likewise.
13479         * time/stime.c: Likewise.
13480         * time/time.c: Likewise.
13482 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13484         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13485         /usr/old/bin.
13487         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13488         instead of spaces.
13489         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13491 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13493         [BZ #14796]
13494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13495         FE_TONEAREST before applying Dekker multiplication and Knuth
13496         addition.  Clear inexact exceptions and check for exact zero
13497         results afterwards.
13498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13501         * math/libm-test.inc (fma_test): Add more tests.
13502         (fma_test_towardzero): Likewise.
13503         (fma_test_downward): Likewise.
13504         (fma_test_upward): Likewise.
13505         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13506         function.
13507         (libc_fesetround): New macro.
13508         (libc_fesetroundf): Likewise.
13509         (libc_fesetroundl): Likewise.
13510         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13511         function.
13512         (libc_fesetround_387): Likewise.
13513         (libc_fesetroundf): New macro.
13514         (libc_fesetround): Likewise.
13515         (libc_fesetroundl): Likewise.
13516         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13517         function.
13518         (libc_fesetroundf): New macro.
13519         (libc_fesetround): Likewise.
13520         (libc_fesetroundl): Likewise.
13521         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13522         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13523         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13524         libm_hidden_ver.
13525         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13526         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13527         libm_hidden_def.
13528         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13529         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13530         libm_hidden_ver.
13531         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13532         libm_hidden_def.
13534         [BZ #3439]
13535         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13536         integer constant usable in #if and use that to give value to enum
13537         constant.
13538         (FE_DIVBYZERO): Likewise.
13539         (FE_UNDERFLOW): Likewise.
13540         (FE_OVERFLOW): Likewise.
13541         (FE_INVALID): Likewise.
13542         (FE_INVALID_SNAN): Likewise.
13543         (FE_INVALID_ISI): Likewise.
13544         (FE_INVALID_IDI): Likewise.
13545         (FE_INVALID_ZDZ): Likewise.
13546         (FE_INVALID_IMZ): Likewise.
13547         (FE_INVALID_COMPARE): Likewise.
13548         (FE_INVALID_SOFTWARE): Likewise.
13549         (FE_INVALID_SQRT): Likewise.
13550         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13551         (FE_TONEAREST): Likewise.
13552         (FE_TOWARDZERO): Likewise.
13553         (FE_UPWARD): Likewise.
13554         (FE_DOWNWARD): Likewise.
13555         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13556         (FE_DIVBYZERO): Likewise.
13557         (FE_OVERFLOW): Likewise.
13558         (FE_UNDERFLOW): Likewise.
13559         (FE_INEXACT): Likewise.
13560         (FE_TONEAREST): Likewise.
13561         (FE_DOWNWARD): Likewise.
13562         (FE_UPWARD): Likewise.
13563         (FE_TOWARDZERO): Likewise.
13564         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13565         (FE_UNDERFLOW): Likewise.
13566         (FE_OVERFLOW): Likewise.
13567         (FE_DIVBYZERO): Likewise.
13568         (FE_INVALID): Likewise.
13569         (FE_TONEAREST): Likewise.
13570         (FE_TOWARDZERO): Likewise.
13571         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13572         (FE_OVERFLOW): Likewise.
13573         (FE_UNDERFLOW): Likewise.
13574         (FE_DIVBYZERO): Likewise.
13575         (FE_INEXACT): Likewise.
13576         (FE_TONEAREST): Likewise.
13577         (FE_TOWARDZERO): Likewise.
13578         (FE_UPWARD): Likewise.
13579         (FE_DOWNWARD): Likewise.
13580         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13581         (FE_DIVBYZERO): Likewise.
13582         (FE_OVERFLOW): Likewise.
13583         (FE_UNDERFLOW): Likewise.
13584         (FE_INEXACT): Likewise.
13585         (FE_TONEAREST): Likewise.
13586         (FE_DOWNWARD): Likewise.
13587         (FE_UPWARD): Likewise.
13588         (FE_TOWARDZERO): Likewise.
13590 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13592         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13594 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13596         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13597         commands.  Quote $PWD.
13598         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13599         -x" by "export".
13600         (remove_newlines): Remove.
13602 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13604         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13605         * stdlib/stdlib.h (atof): Moved to ...
13606         * include/bits/stdlib-float.h: Here.  New file.
13607         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13608         * stdlib/bits/stdlib-float.h: New file.
13609         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13610         -mno-sse -mno-mmx.
13611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13612         <xmmintrin.h>.
13614 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13616         * conform/conformtest.pl (@headers): Add fenv.h.
13617         * conform/data/fenv.h-data: New file.
13618         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13619         include of <math/fenv.h>.
13621         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13622         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13623         && !UNIX98].  Enables tests for XOPEN2K8.
13624         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13625         POSIX2008]: Likewise.
13627         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13628         (struct rusage): Do not expect type or its members.
13630         [BZ #3439]
13631         * math/math.h (FP_NAN): Define macro to integer constant usable in
13632         #if and use that to give value to enum constant.
13633         (FP_INFINITE): Likewise.
13634         (FP_ZERO): Likewise.
13635         (FP_SUBNORMAL): Likewise.
13636         (FP_NORMAL): Likewise.
13638 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13640         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13641         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13642         arguments.
13644 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13646         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13647         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13648         autoconf-time if not.
13649         * configure.in: Remove AC_PREREQ.
13651 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13653         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13654         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13655         of the internal implementation.
13657 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13659         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13660         except include of <misc/sys/syslog.h>.
13662 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13665         function returns with a NULL context exit with zero.
13667 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13669         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13671 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13673         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13674         (run_program_cmd): This.
13675         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13676         (tst_langinfo): New variable.  Use it.
13678 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13680         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13681         floating point opcodes.
13683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13685         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13686         variable.
13688         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13690         * sysdeps/mach/hurd/powerpc: Remove directory.
13691         * sysdeps/mach/powerpc: Likewise.
13693 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13695         * scripts/check-local-headers.sh: Ignore c++ headers.
13697 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13699         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13700         __libc_cleanup_region_start argument.
13702 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13704         [BZ #14784]
13705         [BZ #14785]
13706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13707         x * y using scaling, not as x * y + z.
13708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13710         * math/libm-test.inc (fma_test): Add more tests.
13711         (fma_test_towardzero): Likewise.
13712         (fma_test_downward): Likewise.
13713         (fma_test_upward): Likewise.
13715 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13717         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13719 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13721         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13722         New variable.
13724 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13726         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13728 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13731         Fix sort order.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13733         Likewise.
13735 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13738         Fix the order of the list for glibc 2.17.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13740         Likewise.
13742 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13746 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13748         [BZ #14610]
13749         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13750         for low part of x being zero before using __atanl (y).
13751         * math/libm-test.inc (atan2_test): Add another test.
13753         * manual/install.texi (Configuring and compiling): Document
13754         general use of test-wrapper and test-wrapper-env.
13755         * INSTALL: Regenerated.
13757         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13758         (__fma): Do not extract and scale down low bits on after-rounding
13759         systems when result rounded to normal precision would have normal
13760         exponent.
13761         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13762         (__fmal): Do not extract and scale down low bits on after-rounding
13763         systems when result rounded to normal precision would have normal
13764         exponent.
13765         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13766         (__fmal): Do not extract and scale down low bits on after-rounding
13767         systems when result rounded to normal precision would have normal
13768         exponent.
13769         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13770         macro.
13771         (fma_test): Add more tests.
13772         (fma_test_towardzero): Likewise.
13773         (fma_test_downward): Likewise.
13774         (fma_test_upward): Likewise.
13776 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13778         * sysdeps/i386/tininess.h: Renamed to ...
13779         * sysdeps/x86/tininess.h: This.
13780         * sysdeps/x86_64/tininess.h: Removed.
13782 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13784         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13785         input.  Use $(build-program-cmd).
13786         ($(objpfx)tst-array1-static.out): Likewise.
13787         ($(objpfx)tst-array2.out): Likewise.
13788         ($(objpfx)tst-array3.out): Likewise.
13789         ($(objpfx)tst-array4.out): Likewise.
13790         ($(objpfx)tst-array5.out): Likewise.
13791         ($(objpfx)tst-array5-static.out): Likewise.
13793 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13795         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13796         if defined.
13798         * nss/nsswitch.h (nss_interface_function): Provide new
13799         macro for use with NSS functions.
13800         * grp/initgroups.c: Use new macro.
13801         * nss/getXXbyYY.c: Likewise.
13802         * nss/getXXbyYY_r.c: Likewise.
13803         * nss/getXXent.c: Likewise.
13804         * nss/getXXent_r.c: Likewise.
13805         * sysdeps/posix/getaddrinfo.c: Likewise.
13807 2012-10-30  Andreas Jaeger  <aj@suse.de>
13809         * po/ru.po: Update Russion translation from translation project.
13811 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #14152]
13814         [BZ #14783]
13815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13816         result and shift together with sticky bit instead of replicating
13817         round-to-nearest rounding.
13818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13820         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13821         missing underflow exceptions.
13822         (fma_test_towardzero): Add more tests.
13823         (fma_test_downward): Likewise.
13824         (fma_test_upward): Likewise.
13826         [BZ #14047]
13827         * sysdeps/generic/tininess.h: New file.
13828         * sysdeps/i386/tininess.h: Likewise.
13829         * sysdeps/sh/tininess.h: Likewise.
13830         * sysdeps/x86_64/tininess.h: Likewise.
13831         * stdlib/tst-strtod-underflow.c: Likewise.
13832         * stdlib/tst-tininess.c: Likewise.
13833         * stdlib/strtod_l.c: Include <tininess.h>.
13834         (round_and_return): Do not set errno for exact underflow cases.
13835         Force an underflow exception when setting errno for underflow.
13836         Determine underflow based on rounding to normal precision if
13837         TININESS_AFTER_ROUNDING.
13838         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13839         ERANGE for exact underflow cases.
13840         * stdlib/Makefile (tests): Add tst-tininess and
13841         tst-strtod-underflow.
13842         ($(objpfx)tst-tininess): Use $(link-libm).
13843         ($(objpfx)tst-strtod-underflow): Likewise.
13845 2012-10-30  Andreas Jaeger  <aj@suse.de>
13847         [BZ#14767]
13848         * elf/Makefile (tests): Remove conditional for have-initfini-array
13849         since this is now always required and the variable does not exist
13850         anymore.
13851         (tests-static): Likewise.
13852         (modules-names): Likewise.
13854         * po/eo.po: Add Esperanto translation from translation project.
13856         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13857         merged with constructor/destructor.
13858         (init_array): Likewise.
13859         * elf/tst-array2dep.c (fini_array): Likewise.
13860         (init_array): Likewise.
13862 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13864         * manual/message.texi: Delete @cartouche tags.
13866 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13868         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13869         EOPNOTSUPP.
13870         * sysdeps/mach/hurd/fsync.c: Likewise.
13872         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13873         [_POSIX_REALTIME_SIGNALS]: Change condition to
13874         [_POSIX_REALTIME_SIGNALS > 0].
13876 2012-10-27  Andreas Jaeger  <aj@suse.de>
13878         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13879         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13881         [__WORDSIZE != 64]: Likewise.
13883 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13885         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13886         *  iconvdata/tst-tables.sh: Likewise.
13888 2012-10-25  David S. Miller  <davem@davemloft.net>
13890         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13891         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13892         of strtoull.
13894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13895         ifunc-impl-list.c
13896         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13897         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13898         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13899         file.
13901 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13903         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13904         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13905         __getdirentries.
13907 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13908             Jim Blandy  <jimb@codesourcery.com>
13910         * scripts/cross-test-ssh.sh: New file.
13911         * manual/install.texi (Configuring and compiling): Document use of
13912         cross-test-ssh.sh.
13913         * INSTALL: Regenerated.
13915 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13917         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13918         EOPNOTSUPP.
13920 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13922         * Makeconfig (run-program-prefix): Fix comment.
13924 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13925             Jim Blandy  <jimb@codesourcery.com>
13927         * Makeconfig (test-wrapper): New variable,
13928         (test-wrapper-env): Likewise.
13929         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13930         (run-built-tests): Define to yes.
13931         (run-program-prefix): Use $(test-wrapper).
13932         (built-program-cmd): Likewise.
13933         * Rules (make-test-out): Use $(test-wrapper-env) and
13934         $(host-built-program-cmd).
13935         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13936         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13937         tst-pathopt.sh.
13938         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13939         $(test-wrapper-env) to tst-rtld-load-self.sh.
13940         ($(objpfx)order2.out): Use $(test-wrapper).
13941         ($(objpfx)tst-initorder.out): Likewise.
13942         ($(objpfx)tst-initorder2.out): Likewise.
13943         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13944         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13945         (test_wrapper_env): New variable.  Use it to run ld.so.
13946         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13947         Use it to run ld.so.
13948         (test_wrapper_env): Likewise.
13949         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13950         $(test-wrapper) to run-iconv-test.sh.
13951         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13952         (ICONV): Use $test_wrapper.
13953         * posix/Makefile ($(objpfx)globtest.out): Pass
13954         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13955         globtest.sh, not $(run-program-prefix).
13956         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13957         (test_wrapper): Likewise.
13958         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13959         set together with run_via_rtld_prefix.
13960         (run_program_prefix): Define in terms of test_wrapper and
13961         run_via_rtld_prefix.
13963 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13965         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13966         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13967         Targets removed.
13969         [BZ #14743]
13970         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13971         Declare __clock_getres, __clock_gettime, __clock_settime,
13972         __clock_nanosleep, and __clock_getcpuclockid.
13973         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13974         Remove librt_hidden_def (clock_gettime).
13975         * sysdeps/unix/clock_gettime.c: Likewise.
13976         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13977         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13978         * rt/clock_getres.c: Define __clock_getres as an alias.
13979         * sysdeps/posix/clock_getres.c: Likewise.
13980         * rt/clock_settime.c: Define __clock_settime as an alias.
13981         * sysdeps/unix/clock_settime.c: Likewise.
13982         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13983         * sysdeps/unix/clock_nanosleep.c: Likewise.
13984         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13985         * rt/clock-compat.c: New file.
13986         * rt/Makefile (librt-routines): Add clock-compat and move
13987         $(clock-routines) to ...
13988         (routines): ... here, new variable.
13989         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13990         Don't add get_clockfreq here.
13991         * rt/Versions (libc: GLIBC_2.17): New version set.
13992         Add clock_* symbols here.
13993         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
13994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13995         (GLIBC_2.17): Add clock_* symbols.
13996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14000         Likewise.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14002         Likewise.
14003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14007         * NEWS: Mention the move.
14009         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14010         Use __open, __read, __close rather than their public counterparts.
14011         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14012         (__get_clockfreq_via_cpuinfo): Likewise.
14013         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14014         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14016         * config.h.in (HAVE_IFUNC): New #undef.
14017         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14018         was successful.
14019         * configure: Regenerated.
14021 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14023         * configure.in: Move READELF check to start of file.
14024         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14025         libc_cv_asm_gnu_indirect_function in the process.
14026         * configure: Regenerated.
14028 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14030         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14031         send the output to /dev/null.
14032         (libc_cv_cc_with_libunwind): Likewise.
14033         (libc_cv_as_noexecstack): Likewise.
14034         * configure: Regenerate.
14036 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14038         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14040         * posix/globtest.sh (TMPDIR): Do not set.
14041         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14042         (testout): Likewise.
14044 2012-10-24  Andreas Jaeger  <aj@suse.de>
14046         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14047         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14048         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14049         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14050         posix_fadvise64, posix_fallocate64.
14052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14053         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14054         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14055         Likewise.
14056         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14057         Likewise.
14058         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14061         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14062         <bits/fcntl-linux.h>.
14063         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14066         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14067         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14068         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14069         [__WORDSIZE != 64]: Likewise.
14071 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14073         * Makeconfig (run-built-tests): New variable.
14074         * Rules [$(cross-compiling) = yes]: Change condition to
14075         [$(run-built-tests) = no].
14076         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14077         to [$(run-built-tests) = yes].
14078         * elf/Makefile [$(cross-compiling) = no]: Likewise
14079         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14080         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14081         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14082         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14083         * io/Makefile [$(cross-compiling) = no]: Likewise.
14084         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14085         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14086         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14087         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14088         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14089         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14090         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14091         * string/Makefile [$(cross-compiling) = no]: Likewise.
14093         * posix/Makefile ($(objpfx)globtest.out): Pass
14094         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14095         $(rtld-installed-name).
14096         * posix/globtest.sh (elf_objpfx): Remove variable.
14097         (rtld_installed_name): Likewise.
14098         (library_path): Likewise.
14099         (run_program_prefix): New variable.  Use for running globtest
14100         binary.
14102 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14103             Joseph Myers  <joseph@codesourcery.com>
14105         * Makeconfig (host-built-program-cmd): New variable.
14106         * elf/Makefile (tst-stackguard1-ARGS): Use
14107         $(host-built-program-cmd).
14108         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14109         (tst-spawn-ARGS): Likewise.
14110         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14112 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14113             Jim Blandy  <jimb@codesourcery.com>
14115         * Makeconfig (run-via-rtld-prefix): New variable.
14116         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14117         (built-program-cmd): Likewise.
14119 2012-10-22  Andreas Jaeger  <aj@suse.de>
14121         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14122         __O_RSYNC if it exists, otherwise to O_SYNC.
14124 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14125             Joseph Myers  <joseph@codesourcery.com>
14127         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14128         /dev/null.
14129         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14130         from /dev/null
14131         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14132         /dev/null.
14134 2012-10-22  Andreas Jaeger  <aj@suse.de>
14136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14137         Define always.
14138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14141         bits/fcntl-linux.h.
14143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14144         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14147         to __O_LARGEFILE.
14148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14149         to __O_LARGEFILE.
14151 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14152             Joseph Myers  <joseph@codesourcery.com>
14154         * config.make.in (NM): New variable.
14156 2012-10-21  Andreas Jaeger  <aj@suse.de>
14158         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14159         definitions and declarations that are provided by
14160         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14162 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14164         [BZ #14683]
14165         * elf/Makefile (tests-static): Add tst-leaks1-static.
14166         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14167         ($(objpfx)tst-leaks1-static): New rule.
14168         ($(objpfx)tst-leaks1-static-mem): Likewise.
14169         (tst-leaks1-static-ENV): New macro.
14170         * elf/dl-open.c (dl_open_worker): Check the main application
14171         only if SHARED is defined.
14172         * elf/tst-leaks1-static.c: New file.
14174 2012-10-20  Andreas Jaeger  <aj@suse.de>
14176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14177         generic values for Linux.
14178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14179         and declarations that are provided by <bits/fcntl-linux.h> and
14180         include <bits/fcntl-linux.h>.
14181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14184 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14186         * io/fcntl.h: Move include of <bits/types.h> to the top and
14187         include it unconditionally.
14189 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14191         * wcsmbs/Makefile (tests-ifunc): New variable.
14192         (tests): Add $(tests-ifunc).
14193         * wcsmbs/test-wcschr-ifunc.c: New file.
14194         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14195         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14196         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14197         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14198         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14200         * string/Makefile (tests-ifunc): New variable.
14201         (tests): Add $(tests-ifunc).
14202         * string/test-memccpy.c (TEST_NAME): New macro.
14203         * string/test-memchr.c (TEST_NAME): Likewise.
14204         * string/test-memcmp.c (TEST_NAME): Likewise.
14205         * string/test-memcpy.c (TEST_NAME): Likewise.
14206         * string/test-memmem.c (TEST_NAME): Likewise.
14207         * string/test-memmove.c (TEST_NAME): Likewise.
14208         * string/test-memset.c (TEST_NAME): Likewise.
14209         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14210         * string/test-stpcpy.c (TEST_NAME): Likewise.
14211         * string/test-stpncpy.c (TEST_NAME): Likewise.
14212         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14213         * string/test-strcasestr.c (TEST_NAME): Likewise.
14214         * string/test-strcat.c (TEST_NAME): Likewise.
14215         * string/test-strchr.c (TEST_NAME): Likewise.
14216         * string/test-strcmp.c(TEST_NAME): Likewise.
14217         * string/test-strcpy.c (TEST_NAME): Likewise.
14218         * string/test-strcspn.c (TEST_NAME): Likewise.
14219         * string/test-strlen.c (TEST_NAME): Likewise.
14220         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14221         * string/test-strncmp.c (TEST_NAME): Likewise.
14222         * string/test-strncpy.c (TEST_NAME): Likewise.
14223         * string/test-strnlen.c (TEST_NAME): Likewise.
14224         * string/test-strpbrk.c (TEST_NAME): Likewise.
14225         * string/test-strrchr.c (TEST_NAME): Likewise.
14226         * string/test-strspn.c (TEST_NAME): Likewise.
14227         * string/test-strstr.c (TEST_NAME): Likewise.
14228         * string/test-bcopy-ifunc.c: New file.
14229         * string/test-bzero-ifunc.c: Likewise.
14230         * string/test-memccpy-ifunc.c: Likewise.
14231         * string/test-memchr-ifunc.c: Likewise.
14232         * string/test-memcmp-ifunc.c: Likewise.
14233         * string/test-memcpy-ifunc.c: Likewise.
14234         * string/test-memmem-ifunc.c: Likewise.
14235         * string/test-memmove-ifunc.c: Likewise.
14236         * string/test-mempcpy-ifunc.c: Likewise.
14237         * string/test-memset-ifunc.c: Likewise.
14238         * string/test-rawmemchr-ifunc.c: Likewise.
14239         * string/test-stpcpy-ifunc.c: Likewise.
14240         * string/test-stpncpy-ifunc.c: Likewise.
14241         * string/test-strcasecmp-ifunc.c: Likewise.
14242         * string/test-strcasestr-ifunc.c: Likewise.
14243         * string/test-strcat-ifunc.c: Likewise.
14244         * string/test-strchr-ifunc.c: Likewise.
14245         * string/test-strchrnul-ifunc.c: Likewise.
14246         * string/test-strcmp-ifunc.c: Likewise.
14247         * string/test-strcpy-ifunc.c: Likewise.
14248         * string/test-strcspn-ifunc.c: Likewise.
14249         * string/test-strlen-ifunc.c: Likewise.
14250         * string/test-strncasecmp-ifunc.c: Likewise.
14251         * string/test-strncat-ifunc.c: Likewise.
14252         * string/test-strncmp-ifunc.c: Likewise.
14253         * string/test-strncpy-ifunc.c: Likewise.
14254         * string/test-strnlen-ifunc.c: Likewise.
14255         * string/test-strpbrk-ifunc.c: Likewise.
14256         * string/test-strrchr-ifunc.c: Likewise.
14257         * string/test-strspn-ifunc.c: Likewise.
14258         * string/test-strstr-ifunc.c: Likewise.
14260         * debug/Makefile (tests-ifunc): New variable.
14261         (tests): Add $(tests-ifunc).
14262         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14263         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14264         * debug/test-stpcpy_chk-ifunc.c: New file.
14265         * debug/test-strcpy_chk-ifunc.c: Likewise.
14267 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269         [BZ #13601]
14270         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14271         header is not read in.
14273 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14275         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14276         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14277         directly.  Pass built executable to script as
14278         $(built-program-cmd).
14279         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14280         $testprogram without using LD_LIBRARY_PATH and $ldso.
14282         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14283         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14284         $(rtld-installed-name).
14285         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14286         (rtld_installed_name): Likewise.
14287         (library_path): Likewise.
14288         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14289         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14290         $(run-program-prefix) to tst-tables.sh.
14291         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14292         it to run tst-table-from and tst-table-to.
14293         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14294         Pass it to tst-table.sh.
14295         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14296         $(run-program-prefix) to tst-gettext.sh.
14297         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14298         tst-translit.sh.
14299         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14300         tst-gettext2.sh.
14301         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14302         to run tst-gettext.
14303         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14304         to run tst-gettext2.
14305         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14306         to run tst-translit.
14307         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14308         $(run-program-prefix) to tst-mtrace.sh.
14309         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14310         to run tst-mtrace.
14311         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14312         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14313         $(rtld-installed-name).
14314         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14315         (rtld_installed_name): Likewise.
14316         (run_program_prefix): New variable.  Use it to run wordexp-test.
14318         * Makeconfig (ARCH): Remove all definitions.
14319         (machine): Likewise.
14320         [ARCH]: Remove conditional code.
14321         [!objdir]: Give error.
14322         [!objdir] (objpfx): Remove.
14323         [!objdir] (common-objpfx): Likewise.
14324         [!objdir] (common-objdir): Likewise.
14325         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14326         AC_CONFIG_FILES call.
14327         * configure: Regenerated.
14329         [BZ #13888]
14330         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14331         or TMPDIR.
14332         (testout): Likewise.
14334         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14335         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14336         $(rtld-installed-name).
14337         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14338         (rtld_installed_name): Likwise.
14339         (runit): Remove function.
14340         (run_getconf): New variable,  Use it for running getconf binary.
14342 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14344         [BZ #14716]
14345         * string/test-memmem.c (check_result): New function.
14346         (do_one_test): Use it.
14347         (check1): New function.
14348         (test_main): Use it.
14350 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14352         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14354 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14356         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14357         (_G_LSEEK64): Likewise.
14358         (_G_MMAP64): Likewise.
14359         (_G_FSTAT64): Likewise.
14360         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14361         (_G_LSEEK64): Likewise.
14362         (_G_MMAP64): Likewise.
14363         (_G_FSTAT64): Likewise.
14364         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14365         unconditional.  Call __mmap64 directly.
14366         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14367         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14368         __lseek64 directly.
14369         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14370         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14371         __mmap64 directly.
14372         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14373         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14374         __lseek64 directly.
14375         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14376         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14377         __lseek64 directly.
14378         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14379         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14380         __lseek64 directly.
14381         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14382         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14383         __fxstat64 directly.
14384         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14385         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14386         unconditional.
14387         (freopen64) [!_G_OPEN64]: Remove conditional code.
14388         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14389         unconditional.
14390         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14391         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14392         unconditional.
14393         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14394         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14395         unconditional.
14396         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14397         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14398         unconditional.
14399         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14400         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14401         unconditional.
14402         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14403         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14404         unconditional.
14405         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14406         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14407         unconditional.
14408         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14410 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14412         [BZ #12140]
14413         * manual/memory.texi (Malloc Tunable Parameters): Add note
14414         about free list pointers overwriting some perturb bytes.
14415         Wording suggested by Roland McGrath.
14417 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14419         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14420         (lgamma_test): Likewise.
14421         (tgamma_test): Likewise.
14423 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14425         [BZ #14700]
14426         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14427         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14429 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14431         * NEWS: Mention BZ #14716.
14432         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14433         when removing AVAILABLE1_USES_J macro.
14435 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14437         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14438         (__bswap_64): __uint64_t for unsigned 64-bit int.
14440 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14442         * include/string.h (memmem): Declare libc hidden alias.
14443         * string/memmem.c (memmem): Define libc hidden alias.
14444         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14445         __read, __close instead of open, read, close.
14447 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14450         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14451         global and hidden.
14452         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14453         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14454         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14455         Likewise.
14456         (__rawmemchr_sse2): Likewise.
14457         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14458         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14459         (__strchr_sse2): Likewise.
14460         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14461         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14462         (__strcasecmp_sse2): Likewise.
14463         (__strncasecmp_sse2): Likewise.
14464         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14465         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14466         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14467         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14468         (__strrchr_sse2): Likewise.
14469         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14470         ifunc-impl-list.c.
14471         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14472         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14473         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14474         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14475         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14477         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14478         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14479         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14480         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14481         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14482         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14483         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14484         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14485         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14486         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14487         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14488         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14489         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14490         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14491         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14492         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14493         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14494         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14495         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14496         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14497         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14498         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14499         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14500         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14502         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14503         global and hidden.
14504         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14505         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14506         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14507         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14508         Likewise.
14509         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14510         Likewise.
14511         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14512         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14513         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14514         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14515         ifunc-impl-list.c.
14516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14518         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14525         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14526         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14527         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14528         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14529         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14530         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14532         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14533         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14534         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14535         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14536         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14537         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14538         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14539         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14540         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14541         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14542         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14543         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14544         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14545         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14546         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14549         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14550         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14551         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14552         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14553         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14554         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14555         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14556         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14558         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14559         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14560         * include/ifunc-impl-list.h: New file.
14561         * misc/ifunc-impl-list.c: Likewise.
14562         * misc/Makefile (routines): Add ifunc-impl-list.
14563         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14564         * string/test-string.h: Include <ifunc-impl-list.h>.
14565         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14566         impl_array): New variables.
14567         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14568         are defined.
14569         (test_init): Call __libc_ifunc_impl_list to initialize
14570         func_list if TEST_IFUNC and TEST_NAME are defined.
14572         * string/Makefile (strop-tests): Add bcopy and bzero.
14573         * string/test-bcopy.c: New file.
14574         * string/test-bzero.c: Likewise.
14575         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14576         defined.
14577         * string/test-memset.c: Support bzero test if TEST_BZERO is
14578         defined.
14579         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14580         __libc_memmove.
14581         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14582         __libc_memset.
14583         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14584         of memset.
14586 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14588         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14589         * configure: Regenerated.
14591         * Makeconfig (+link-static-before-libc): Don't include
14592         $(link-static-libc).
14594         * libio/libio.h (_IO_pos_t): Remove.
14596 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14598         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14599         McGrath.
14601 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14603         * crypt/crypt-entry.c: Include fips-private.h.
14604         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14605         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14606         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14607         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14609 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14611         * crypt/crypt-private.h: Include stdbool.h.
14612         (_ufc_setup_salt_r): Return bool.
14613         * crypt/crypt-entry.c: Include errno.h.
14614         (__crypt_r): Return NULL with EINVAL for bad salt.
14615         * crypt/crypt_util.c (bad_for_salt): New.
14616         (_ufc_setup_salt_r): Check that salt is long enough and within
14617         the specified alphabet.
14618         * crypt/badsalttest.c: New file.
14619         * crypt/Makefile (tests): Add it.
14620         ($(objpfx)badsalttest): New.
14622 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14624         * NEWS: Add entry for BZ #14602.
14626 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14628         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14629         type-generic.
14630         * math/libm-test.inc: Update comment listing what functions and
14631         macros are tested.
14632         (isgreater_test): New function.
14633         (isgreaterequal_test): Likewise.
14634         (isless_test): Likewise.
14635         (islessequal_test): Likewise.
14636         (islessgreater_test): Likewise.
14637         (isunordered_test): Likewise.
14638         (main): Call the new functions.
14640 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14642         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14643         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14644         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14645         * sysdeps/i386/configure: Regenerated.
14646         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14647         * sysdeps/mach/configure: Regenerated.
14648         * sysdeps/mach/hurd/configure: Regenerated.
14649         * sysdeps/powerpc/configure: Regenerated.
14650         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14651         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14652         * sysdeps/s390/s390-32/configure: Regenerated.
14653         * sysdeps/s390/s390-64/configure: Regenerated.
14654         * sysdeps/sh/configure: Regenerated.
14655         * sysdeps/sparc/configure: Regenerated.
14656         * sysdeps/unix/sysv/linux/configure: Regenerated.
14657         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14658         * sysdeps/x86_64/configure: Regenerated.
14660         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14661         defined.  Don't check if MAP is NULL.
14663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14665         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14666         (_G_stat64): Likewise.
14667         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14668         (_G_stat64): Likewise.
14669         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14670         instead of struct _G_stat64.
14671         * libio/fileops.c (mmap_remap_check): Likewise.
14672         (decide_maybe_mmap): Likewise.
14673         (_IO_new_file_seekoff): Likewise.
14674         (_IO_file_stat): Likewise.
14675         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14676         _G_off64_t.
14677         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14678         instead of struct _G_stat64.
14679         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14681 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14683         [BZ #14602]
14684         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14685         Replace with ...
14686         (CHECK_EOL): New macro.
14687         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14688         CHECK_EOL.
14689         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14690         Replace with CHECK_EOL.
14691         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14692         Replace with CHECK_EOL.
14694 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14696         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14697         type-generic.
14698         * math/libm-test.inc: Update comment listing what functions and
14699         macros are tested.
14700         (finite_test): New function.
14701         (isinf_test): Likewise.
14702         (isnan_test): Likewise.
14703         (fpclassify_test): Test subnormal input.
14704         (isfinite_test): Likewise.
14705         (isnormal_test): Likewise.
14706         (main): Call the new functions.
14708 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14710         [BZ #14660]
14711         * Makerules (%.dynsym): Force C locale when running
14712         $(OBJDUMP) --dynamic-syms.
14714 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14716         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14717         <stdint.h>.
14719 2012-10-06  David S. Miller  <davem@davemloft.net>
14721         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14722         upper 32-bits of the length value in %o2 since we use branch-on-register
14723         tests which consider the entire 64-bit register.
14725 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14727         * string/test-strstr.c (check2): Add a test for page boundary.
14729 2012-10-05  David S. Miller  <davem@davemloft.net>
14731         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14732         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14733         file.
14734         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14735         sysdep_routines.
14736         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14737         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14738         and bzero when HWCAP_SPARC_CRYPTO is present.
14740 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14742         [BZ #14602]
14743         * string/test-strstr.c (check2): New function.
14744         (test_main): Call check2.
14746         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14747         and bug-strchr1.
14748         * string/bug-strcasestr1.c (do_test): Moved to ...
14749         * string/test-strcasestr.c (check1): Here.  New function.
14750         (do_one_test): Break out result checking code into ...
14751         (check_result): This.  New function.
14752         (do_one_test): Call check_result.
14753         (test_main): Call check1.
14754         * string/bug-strchr1.c (do_test): Moved to ...
14755         * string/test-strchr.c (check1): Here.  New function.
14756         (do_one_test): Break out result checking code into ...
14757         (check_result): This.  New function.
14758         (do_one_test): Call check_result.
14759         (test_main): Call check1.
14760         * string/bug-strstr1.c (main): Moved to ...
14761         * string/test-strstr.c (check1): Here.  New function.
14762         (do_one_test): Break out result checking code into ...
14763         (check_result): This.  New function.
14764         (do_one_test): Call check_result.
14765         (test_main): Call check1.
14766         * string/bug-strcasestr1.c: Removed.
14767         * string/bug-strchr1.c: Likewise.
14768         * string/bug-strstr1.c: Likewise.
14770         * elf/Makefile (dl-routines): Add hwcaps.
14771         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14772         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14773         (_dl_important_hwcaps): Moved to ...
14774         * elf/dl-hwcaps.c: Here.  New file.
14775         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14777         [BZ #14557]
14778         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14779         if IS_IN_rtld isn't defined.
14781         * elf/dl-support.c (_dl_sysinfo_map): New.
14782         Include "get-dynamic-info.h" and "setup-vdso.h".
14783         (_dl_non_dynamic_init): Call setup_vdso.
14784         * elf/dynamic-link.h: Don't include <assert.h>.
14785         (elf_get_dynamic_info): Moved to ...
14786         * elf/get-dynamic-info.h: Here.  New file.
14787         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14788         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14789         * elf/setup-vdso.h: Here.  New file.
14790         * elf/rtld.c: Include "setup-vdso.h".
14791         (dl_main): Call setup_vdso.
14793 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14795         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14796         creal in comment listing functions tested.  List finite, isinf,
14797         isnan, isless, islessequal, isgreater, isgreaterequal,
14798         islessgreater, isunordered, lgamma_r and pow10 as functions and
14799         macros not tested.  Mention which functions not tested are aliases
14800         for other functions.  Fix typo.  Note that signs of NaNs are not
14801         tested.
14803         * scripts/config.guess: Update from config.git.
14804         * scripts/config.sub: Likewise.
14806 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14808         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14809         * misc/madvise.c (madvise): Renamed to __madvise.
14810         Make madvise a weak alias.
14811         * include/sys/mman.h: Declare __madvise.
14812         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14813         * sysdeps/unix/syscalls.list
14814         (madvise): Make __madvise the strong name, and madvise a weak alias.
14815         * sysdeps/unix/sysv/linux/syscalls.list
14816         (madvise, mmap): Remove redundant entries.
14817         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14818         * malloc/malloc.c (mtrim): Likewise.
14819         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14821 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14823         * sysdeps/mach/hurd/dl-cache.c: File removed.
14824         * config.h.in (USE_LDCONFIG): New #undef.
14825         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14826         * configure: Regenerated.
14827         * elf/Makefile (dl-routines): Add dl-cache only under
14828         [$(use-ldconfig) = yes].
14829         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14830         cache on [USE_LDCONFIG].
14831         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14832         [USE_LDCONFIG].
14833         * elf/rtld.c (dl_main): Likewise.
14835 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14837         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14838         _SC_LEVEL4_CACHE_LINESIZE.
14840 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14842         * sysdeps/unix/bsd/confstr.h: File removed.
14844 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14846         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14847         sys/sdt-config.h.
14849 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14851         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14852         Make 'mapoff' field ElfW(Off) rather than off_t.
14854 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14856         * nscd/Makefile: Remove nscd-cflags and all its users.
14857         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14858         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14860         [BZ #10631]
14861         * malloc.c (malloc_printerr): Clarify error message.
14863 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14865         [BZ #14648]
14866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14867         Set bit_FMA_Usable if FMA is supported.
14868         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14869         macro.
14870         (bit_FMA4_Usable): Updated.
14871         (index_FMA_Usable): New macro.
14872         (CPUID_FMA): Likewise
14873         (HAS_FMA): Defined with bit_FMA_Usable.
14875 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14877         * bits/types.h (__swblk_t): Type removed.
14878         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14879         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14881         (__SWBLK_T_TYPE): Likewise.
14882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14883         (__SWBLK_T_TYPE): Likewise.
14884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14885         (__SWBLK_T_TYPE): Likewise.
14886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14887         (__SWBLK_T_TYPE): Likewise.
14889 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14890             Honza Horak <hhorak@redhat.com>
14892         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14893         (xdr_mapname): Use YPMAXMAP as maxsize.
14894         (xdr_peername): Use YPMAXPEER as maxsize.
14895         (xdr_keydat): Use YPAXRECORD as maxsize.
14896         (xdr_valdat): Use YPMAXRECORD as maxsize.
14898 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14900         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14902         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14903         * csu/init-first.c: ... here.
14904         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14905         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14906         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14907         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14908         * sysdeps/i386/init-first.c: File removed.
14909         * sysdeps/sh/init-first.c: File removed.
14911 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14913         [BZ #14645]
14914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14915         if x * y might underflow to zero and z is zero.
14916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14918         * math/libm-test.inc (min_subnorm_value): New variable.
14919         (fma_test): Add more tests.
14920         (fma_test_towardzero): Likewise.
14921         (fma_test_downward): Likewise
14922         (fma_test_upward): Likewise.
14923         (initialize): Set min_subnorm_value.
14925 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14927         [BZ #14638]
14928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14929         0 + 0.
14930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14931         mode for addition resulting in exact zero.
14932         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14934         exact 0 + 0.
14935         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14937         * math/libm-test.inc (fma_test): Add more tests.
14938         (fma_test_towardzero): New function.
14939         (fma_test_downward): Likewise.
14940         (fma_test_upward): Likewise.
14941         (main): Call the new functions.
14943 2012-09-28  David S. Miller  <davem@davemloft.net>
14945         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14947 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14949         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14950         instead of SIGALRM.
14952         * sysdeps/gnu/_G_config.h: Moved to ...
14953         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14954         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14955         * sysdeps/generic/_G_config.h: ... here.
14957         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14959         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14961         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14962         Conditionalize target on [libnss_test1.so-version].
14964         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14966         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14967         (elfobjdir): Move out of conditionals.
14969         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14970         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14971         (__nss_lookup_function): Conditionalize label remove_from_tree on
14972         [!DO_STATIC_NSS || SHARED], matching its only use.
14974 2012-09-28  David S. Miller  <davem@davemloft.net>
14976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14977         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14978         file.
14979         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14980         sysdep_routines.
14981         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14983         when HWCAP_SPARC_CRYPTO is present.
14985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14987         * io/tst-mknodat.c: Create a FIFO instead of a socket.
14989 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14991         [BZ #6530]
14992         * stdio-common/vfprintf.c (process_string_arg): Revert
14993         2000-07-22 change.
14995 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
14997         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14998         for testcase.
14999         * stdio-common/tst-sprintf.c: Include <locale.h>
15000         (main): Test sprintf's handling of incomplete multibyte
15001         characters.
15003 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15005         * elf/dl-runtime.c (VERSYMIDX): Removed.
15006         * elf/dl-version.c (VERSYMIDX): Likewise.
15007         * elf/do-rel.h (VERSYMIDX): Likewise.
15008         (VALIDX): Likewise.
15009         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15010         * elf/rtld.c (VALIDX): Likewise.
15011         (ADDRIDX): Likewise.
15012         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15013         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15014         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15015         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15016         (VALIDX): Likewise.
15017         (ADDRIDX): Likewise.
15019 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15021         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15023 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15025         [BZ #11438]
15026         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15027         to global scope.
15028         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15029         addresses are in the same scope as 192.0.2/24.
15030         * posix/gai.conf: Document new scope table defaults.
15032 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15034         [BZ #5298]
15035         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15036         for ftell.  Compute offsets from write pointers instead.
15037         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15039 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15041         [BZ #14543]
15042         * libio/Makefile (tests): New test case tst-fseek.
15043         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15044         combination works in wide mode.
15045         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15046         state when the external buffer state changes.
15048 2012-09-27  David S. Miller  <davem@davemloft.net>
15050         [BZ #14376]
15051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15052         pass reloc->r_addend in as the 'high' argument to
15053         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15057 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15059         * rt/tst-aio2.c: Include <pthread.h>.
15060         * rt/tst-aio3.c: Likewise.
15062 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15064         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15066 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15068         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15069         contents on [SHARED].
15071 2012-09-26  Marek Polacek  <polacek@redhat.com>
15073         [BZ #14530]
15074         [BZ #13741]
15075         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15076         for C++ and GCC <4.3 as well as for non GCC compilers.
15078 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15082 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15084         * Makefile.in (all, install): Declare with .PHONY.
15085         Reported by Michael Hope <michael.hope@linaro.org>.
15087 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15089         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15090         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15091         system header.
15092         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15093         Likewise.
15094         (sydep_routines): Add the new and the internal functions.
15095         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15096         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15098         (GLIBC_2.17): Add the new function.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15100         (GLIBC_2.17): Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15102         (GLIBC_2.17): Likewise.
15103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15104         (GLIBC_2.17): Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15107 2012-09-25  Alan Modra  <amodra@gmail.com>
15109         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15110         Add release barrier before setting once_control to say
15111         initialisation is done.  Add hints on lwarx.  Use macro in
15112         place of isync.
15113         (clear_once_control): Add release barrier.
15115 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15117         [BZ #13629]
15118         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15119         specially.
15120         * math/s_clog10.c (__clog10): Likewise.
15121         * math/s_clog10f.c (__clog10f): Likewise.
15122         * math/s_clog10l.c (__clog10l): Likewise.
15123         * math/s_clogf.c (__clogf): Likewise.
15124         * math/s_clogl.c (__clogl): Likewise.
15125         * math/Makefile (libm-calls): Add x2y2m1.
15126         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15127         (__x2y2m1): Likewise.
15128         (__x2y2m1l): Likewise.
15129         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15130         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15131         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15132         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15133         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15134         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15135         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15136         * sysdeps/i386/fpu/libm-test-ulps: Update.
15137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139         [BZ #14621]
15140         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15141         int as type of variable DEPTH.
15142         (glob): Use size_t instead of int as type of variables NEWCOUNT
15143         and OLD_PATHC.
15145 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15147         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15148         Add s_sincosf-sse2.
15149         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15150         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15151         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15152         macros for using routine as __sincosf_ia32.
15153         Use macro for function declaration and weak_alias.
15154         * sysdeps/i386/fpu/libm-test-ulps: Update.
15156         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15159         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15160         subnormal argument.
15161         * math/s_cexpf.c (__cexpf): Likewise.
15162         * math/s_csinf.c (__csinf): Likewise.
15163         * math/s_csinhf.c (__csinhf): Likewise.
15164         * math/s_ctanf.c (__ctanf): Likewise.
15165         * math/s_ctanhf.c (__ctanhf): Likewise.
15166         * math/s_ccosh.c (__ccoshf): Likewise.
15167         * math/s_cexp.c (__cexpl): Likewise.
15168         * math/s_csin.c (__csin): Likewise.
15169         * math/s_csinh.c (__csinh): Likewise.
15170         * math/s_ctan.c (__ctan): Likewise.
15171         * math/s_ctanh.c (ctanh): Likewise.
15172         * math/s_ccoshl.c (__ccoshl): Likewise.
15173         * math/s_cexpl.c (__cexpl): Likewise.
15174         * math/s_csinl.c (__csinl): Likewise.
15175         * math/s_csinhl.c (__csinhl): Likewise.
15176         * math/s_ctanl.c (__ctanl): Likewise.
15177         * math/s_ctanhl.c (__ctanhl): Likewise.
15179 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15181         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15182         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15183         (_IO_off_t): Define to __off_t, not _G_off_t.
15184         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15185         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15186         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15187         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15188         type of __dummy and __dummy2 fields.
15189         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15190         (_G_ssize_t): Likewise.
15191         (_G_off_t): Likewise.
15192         (_G_pid_t): Likewise.
15193         (_G_uid_t): Likewise.
15194         (_G_wchar_t): Likewise.
15195         (_G_wint_t): Likewise.
15196         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15197         (_G_ssize_t): Likewise.
15198         (_G_off_t): Likewise.
15199         (_G_pid_t): Likewise.
15200         (_G_uid_t): Likewise.
15201         (_G_wchar_t): Likewise.
15202         (_G_wint_t): Likewise.
15203         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15204         (_G_ssize_t): Likewise.
15205         (_G_off_t): Likewise.
15206         (_G_pid_t): Likewise.
15207         (_G_uid_t): Likewise.
15208         (_G_wchar_t): Likewise.
15209         (_G_wint_t): Likewise.
15211 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15213         * malloc/arena.c: Include malloc-sysdep.h.
15214         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15215         is sufficient to shrink the heap or an unmap is needed.
15216         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15217         new function check_may_shrink_heap.
15218         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15219         new function check_may_shrink_heap.
15221 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15223         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15224         comments.
15226 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15228         * catgets/test-gencat.sh: Add "set -e".
15229         * elf/tst-pathopt.sh: Likewise.
15230         * grp/tst_fgetgrent.sh: Likewise.
15231         * iconvdata/run-iconv-test.sh: Likewise.
15232         * intl/tst-gettext.sh: Likewise.
15233         * intl/tst-gettext2.sh: Likewise.
15234         * intl/tst-gettext4.sh: Likewise.
15235         * intl/tst-gettext6.sh: Likewise.
15236         * intl/tst-translit.sh: Likewise.
15237         * io/ftwtest-sh: Likewise.
15238         * libio/test-freopen.sh: Likewise.
15239         * malloc/tst-mtrace.sh: Likewise.
15240         * posix/globtest.sh: Likewise.
15241         * posix/tst-getconf.sh: Likewise.
15242         * posix/wordexp-tst.sh: Likewise.
15243         * stdio-common/tst-printf.sh: Likewise.
15244         * stdio-common/tst-unbputc.sh: Likewise.
15245         * stdlib/tst-fmtmsg.sh: Likewise.
15246         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15247         * catgets/Makefile: Do not specify -e option when running
15248         testsuite shell scripts.
15249         * elf/Makefile: Likewise.
15250         * grp/Makefile: Likewise.
15251         * iconvdata/Makefile: Likewise.
15252         * intl/Makefile: Likewise.
15253         * io/Makefile: Likewise.
15254         * libio/Makefile: Likewise.
15255         * malloc/Makefile: Likewise.
15256         * posix/Makefile: Likewise.
15257         * stdio-common/Makefile: Likewise.
15258         * stdlib/Makefile: Likewise.
15259         * sysdeps/x86_64/Makefile: Likewise.
15261         * io/ftwtest-sh: Add copyright header.
15262         * posix/globtest.sh: Likewise.
15263         * posix/tst-getconf.sh: Likewise.
15264         * posix/wordexp-tst.sh: Likewise.
15265         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15267 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15269         [BZ #13679]
15270         * Makeconfig (+link): Defined as $(+link-static) if
15271         $(build-shared) isn't yes.
15272         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15273         isn't yes.
15274         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15276         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15278         [BZ #14562]
15279         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15280         new chunk size with MALLOC_ALIGN_MASK.
15282 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15284         [BZ #5044]
15285         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15286         <rounding-mode.h>.
15287         (__printf_fphex): Determine rounding using get_rounding_mode and
15288         round_away.
15289         * stdio-common/tst-printf-round.c (struct hex_test): New
15290         structure.
15291         (hex_tests): New variable.
15292         (test_hex_in_one_mode): New function.
15293         (do_test): Also run tests for hex float output.
15295 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15297         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15298         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15299         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15300         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15301         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15302         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15303         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15306 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15308         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15309         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15310         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15311         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15313 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15315         [BZ #14579]
15316         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15317         mode only.
15318         * elf/tst-rtld-load-self.sh: New test.
15319         * elf/Makefile: Run it.
15321 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15323         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15324         (tst-writev-ENV): Remove.
15325         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15327 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15329         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15331 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15333         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15334         unconditional.
15335         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15336         Likewise.
15337         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15338         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15339         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15340         Likewise.
15342 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15344         [BZ #14587]
15345         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15346         * config.make.in (have-cpp-asm-debuginfo): Removed.
15347         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15348         * configure: Regenerated.
15350 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15352         [BZ #5044]
15353         * stdio-common/printf_fp.c: Include <stdbool.h> and
15354         <rounding-mode.h>.
15355         (___printf_fp): Determine rounding using get_rounding_mode and
15356         round_away.
15357         * stdio-common/tst-printf-round.c: New file.
15358         * stdio-common/Makefile (tests): Add tst-printf-round.
15359         (link-libm): New variable.
15360         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15362 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15364         [BZ #14576]
15365         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15366         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15367         Likewise.
15368         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15369         Likewise.
15371 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15373         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15374         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15375         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15378 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15380         [BZ #14518]
15381         * include/rounding-mode.h: New file.
15382         * sysdeps/generic/get-rounding-mode.h: Likewise.
15383         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15384         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15385         (MAX_VALUE): New macro.
15386         (MIN_VALUE): Likewise.
15387         (overflow_value): New function.
15388         (underflow_value): Likewise.
15389         (round_and_return): Use overflow_value and underflow_value to
15390         determine return values in overflow and underflow cases.  Use
15391         round_away to determine rounding depending on rounding mode.
15392         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15393         determine return values in overflow and underflow cases.
15394         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15395         (struct test_results): New structure.
15396         (struct test): Use struct test_results to store expected results
15397         for all rounding modes.
15398         (TEST): Include expected results for all rounding modes.
15399         (test_in_one_mode): New function.
15400         (do_test): Use test_in_one_mode to compute and check results.
15401         Check results for all rounding modes.
15402         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15403         $(link-libm).
15405 2012-12-09  Allan McRae  <allan@archlinux.org>
15407         * sysdeps/i386/fpu/libm-test-ulps: Update
15409 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15411         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15412         (_G_int32_t): Likewise.
15413         (_G_uint16_t): Likewise.
15414         (_G_uint32_t): Likewise.
15415         (_G_HAVE_BOOL): Likewise.
15416         (_G_HAVE_ATEXIT): Likewise.
15417         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15418         (_G_HAVE_IO_FILE_OPEN): Likewise.
15419         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15420         (_G_int32_t): Likewise.
15421         (_G_uint16_t): Likewise.
15422         (_G_uint32_t): Likewise.
15423         (_G_HAVE_BOOL): Likewise.
15424         (_G_HAVE_ATEXIT): Likewise.
15425         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15426         (_G_HAVE_IO_FILE_OPEN): Likewise.
15427         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15428         (_G_int32_t): Likewise.
15429         (_G_uint16_t): Likewise.
15430         (_G_uint32_t): Likewise.
15431         (_G_HAVE_BOOL): Likewise.
15432         (_G_HAVE_ATEXIT): Likewise.
15433         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15434         (_G_HAVE_IO_FILE_OPEN): Likewise.
15436 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15438         * csu/libc-tls.c: Update copyright years.
15440 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15442         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15443         [!_G_USING_THUNKS]: Remove conditional code.
15444         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15445         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15447         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15448         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15449         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15450         (_G_VTABLE_LABEL_PREFIX): Likewise.
15451         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15452         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15453         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15454         (_G_VTABLE_LABEL_PREFIX): Likewise.
15455         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15456         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15457         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15458         (_G_VTABLE_LABEL_PREFIX): Likewise.
15459         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15461 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15463         * libio/Makefile: Include ../Makeconfig before tests.
15464         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15465         only if $(build-shared) is yes.
15467         * iconv/gconv_db.c: Update copyright years.
15469 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15471         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15472         unwind info if defined PIC. Fix special cases description.
15473         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15475         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15476         DP_HI_MASK entry.
15477         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15479 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15481         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15483         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15484         is NULL.
15486         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15487         (LDLIBS-tst-chk4): This.
15488         (LDFLAGS-tst-chk5): Renamed to ...
15489         (LDLIBS-tst-chk5): This.
15490         (LDFLAGS-tst-chk6): Renamed to ...
15491         (LDLIBS-tst-chk6): This.
15492         (LDFLAGS-tst-lfschk4): Renamed to ...
15493         (LDLIBS-tst-lfschk4): This.
15494         (LDFLAGS-tst-lfschk5): Renamed to ...
15495         (LDLIBS-tst-lfschk5): This.
15496         (LDFLAGS-tst-lfschk6): Renamed to ...
15497         (LDLIBS-tst-lfschk6): This.
15499         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15500         on $(common-objpfx)soversions.mk.
15502 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15504         [BZ #10014]
15505         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15506         example host name.
15508 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15510         * malloc/arena.c (arena_get_retry): New function that gets
15511         another arena for the caller to try its request on.
15512         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15513         current arena cannot fulfill the request.
15514         (__libc_memalign): Likewise.
15515         (__libc_memalign): Likewise.
15516         (__libc_pvalloc): Likewise.
15517         (__libc_calloc): Likewise.
15519 2012-09-05  John Tobey  <john.tobey@gmail.com>
15521         [BZ #13542]
15522         * manual/arith.texi (Operations on Complex): Fix description
15523         of carg branch cut.
15525 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15527         [BZ #10014]
15528         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15529         host name.
15531         [BZ #10038]
15532         * manual/memory.texi (Memory): Make order of menu items match
15533         order of sections.
15535 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15537         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15538         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15539         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15541 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15543         * csu/libc-tls.c (static_dtv): Renamed to ...
15544         (_dl_static_dtv): This.  Make it global.
15545         (_dl_initial_dtv): Removed.
15546         (__libc_setup_tls): Updated.
15547         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15548         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15549         DL_INITIAL_DTV.
15551 2012-09-06  Petr Machata  <pmachata@redhat.com>
15553         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15554         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15555         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15556         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15558 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15560         [BZ #14545]
15561         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15562         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15563         freeing dtv[-1].
15565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15567         [BZ #14544]
15568         * Makeconfig (link-static-before-libc): Replace $(+prector)
15569         with $(+prectorT).
15570         (link-static-after-libc): Replace $(+postctor) with
15571         $(+postctorT).
15572         (link-bounded): Replace $(+prector)/$(+postctor) with
15573         $(+prectorT)/$(+postctorT).
15574         (+prectorT): New macro.
15575         (+postctorT): Likewise.
15577 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15579         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15580         (round_str): Handle values above the maximum for IBM long double
15581         as inexact.
15582         * stdlib/tst-strtod-round.c (tests): Regenerated.
15584 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15586         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15587         assembler flag.
15588         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15589         zarch_nohighgprs around the zarch optimized routines.
15590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15591         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15592         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15593         for zarch.
15595 2012-09-05  David S. Miller  <davem@davemloft.net>
15597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15599         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15600         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15601         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15602         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15603         entries.
15605 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15607         * malloc/arena.c: Fold copyright years.
15608         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15610 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15612         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15614 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15616         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15618 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15620         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15621         change internal state upon failure.
15623 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15625         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15626         * malloc/memusage.c (mmap): Likewise.
15627         (mmap64, mremap): Likewise.  Adjust name in comment.
15629 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15631         * libio/fileops.c: Fix typos in comments.
15632         * libio/oldfileops.c: Likewise.
15633         * libio/wfileops.c: Likewise.
15635 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15637         [BZ #1349]
15638         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15639         (tst-malloc-usable-ENV): Set environment for test case.
15640         * malloc/hooks.c (malloc_check_get_size): New function to get
15641         requested size.
15642         * malloc/malloc.c (musable): Use malloc_check_get_size.
15643         * malloc/tst-malloc-usable.c: New test case.
15645 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15647         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15649 2012-09-05  Allan McRae  <allan@archlinux.org>
15651         [BZ #13966]
15652         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15653         determine header location.
15654         * configure: Regenerated.
15656 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15658         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15659         float format.
15660         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15661         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15662         format.
15663         (test): Regenerate.
15665 2012-09-04  David S. Miller  <davem@davemloft.net>
15667         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15668         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15669         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15671 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15673         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15674         failures.
15676         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15678 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15680         [BZ #9914]
15681         * libio/iogetdelim.c: Include <limits.h>.
15682         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15683         + len + 1 would overflow.
15685 2012-09-03  Andreas Jaeger  <aj@suse.de>
15687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15688         * sysdeps/i386/fpu/libm-test-ulps: Update.
15690 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15692         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15693         Add s_sinf-sse2, s_conf-sse2.
15695         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15696         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15697         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15698         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15700         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15701         for using routine as __sinf_ia32.
15702         Use macro for function declaration and weak_alias.
15703         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15704         for using routine as __cosf_ia32.
15705         Use macro for function declaration and weak_alias.
15707         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15708         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15710         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15711         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15714         * math/libm-test.inc (cos_test): Add more test cases.
15715         (sin_test): Likewise.
15716         (sincos_test): Likewise.
15718 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15720         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15721         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15722         hidden.
15723         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15725 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15727         [BZ #14538]
15728         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15729         first element of the GOT.
15730         (elf_machine_load_address): Return the difference between
15731         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15733 2012-09-01  Allan McRae  <allan@archlinux.org>
15735         [BZ #13412]
15736         * configure.in (AWK): Require gawk version 3.0 or later.
15737         * configure: Regenerated.
15739 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15741         * sysdeps/unix/sysv/linux/kernel-features.h
15742         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15743         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15744         [__NR_clock_getres]: Make code unconditional.
15745         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15746         (clock_getcpuclockid): Remove code left unreachable by removal of
15747         conditionals.
15748         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15749         code unconditional.
15750         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15751         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15752         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15753         Make code unconditional.
15754         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15755         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15756         * sysdeps/unix/sysv/linux/clock_settime.c
15757         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15758         conditional code.
15759         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15760         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15762 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15764         [BZ #14476]
15765         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15766         scripts/test-installation.pl.
15768         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15769         and $ld_so_version if it is set.
15771 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15773         [BZ #14516]
15774         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15775         failure if reading from procfs failed.
15776         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15778 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15780         * sysdeps/unix/sysv/linux/kernel-features.h
15781         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15782         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15783         Remove conditional code.
15784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15785         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15786         Remove conditional code.
15787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15788         * sysdeps/unix/sysv/linux/i386/fxstat.c
15789         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15790         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15791         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15792         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15794         * sysdeps/unix/sysv/linux/i386/lxstat.c
15795         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15796         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15797         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15798         Remove conditional code.
15799         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15800         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15801         Remove conditional code.
15802         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15803         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15804         <kernel-features.h>.
15805         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15806         Remove.
15807         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15808         Remove conditional code.
15809         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15810         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15811         Remove conditional.
15813 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15815         [BZ #5400]
15816         * NEWS: Add fixed bug number.
15818 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15820         [BZ #14519]
15821         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15822         underflowing exponent in case of negative sign.
15823         * stdlib/tst-strtod-round-data: Add more tests.
15824         * stdlib/tst-strtod-round.c (tests): Regenerated.
15826         [BZ #3479]
15827         * stdlib/strtod_l.c (NDIG): Remove.
15828         (HEXNDIG): Likewise.
15829         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15830         smallest representable value.
15831         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15832         lie within an exact representation of 1/2 ulp of the result.
15833         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15834         unconditionally.
15835         (TENS_P9_IDX): Define unconditionally.
15836         (TENS_P9_SIZE): Likewise.
15837         (TENS_P10_IDX): Likewise.
15838         (TENS_P10_SIZE): Likewise.
15839         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15840         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15841         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15842         entries for 10^2^13 and 10^2^14.
15843         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15844         (TENS_P13_IDX): Define.
15845         (TENS_P13_SIZE): Likewise.
15846         (TENS_P14_IDX): Likewise.
15847         (TENS_P14_SIZE): Likewise.
15848         (_fpioconst_pow10): Change array size to
15849         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15850         unconditional.
15851         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15852         1024]: Add entries for 10^2^13 and 10^2^14.
15853         [LAST_POW10 > _LAST_POW10]: Remove #error.
15854         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15855         (_fpioconst_pow10): Change array size to
15856         FPIOCONST_POW10_ARRAY_SIZE.
15857         * stdlib/gen-fpioconst.c: New file.
15858         * stdlib/gen-tst-strtod-round.c: Likewise.
15859         * stdlib/tst-strtod-round-data: Likewise.
15860         * stdlib/tst-strtod-round.c: Likewise.
15861         * stdlib/Makefile (tests): Add tst-strtod-round.
15863         [BZ #14459]
15864         * stdlib/strtod_l.c: Include <stdint.h>.
15865         (NDEBUG): Do not define.
15866         (round_and_return): Change EXPONENT parameter to type intmax_t.
15867         Rearrange calculations to avoid internal overflow possibilities.
15868         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15869         Rearrange calculations to avoid internal overflow possibilities.
15870         Assert that number fits inside MPNSIZE limbs.
15871         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15872         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15873         calculations and add assertions to avoid internal overflow
15874         possibilities.  Add casts to avoid signed/unsigned operations.
15875         * stdlib/tst-strtod-overflow.c: New file.
15876         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15878 2012-08-25  Marek Polacek  <polacek@redhat.com>
15880         * time/time.h: Fix some typos in comments.
15882 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15884         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15885         * posix/tst-rfc3484-2.c: Likewise.
15886         * posix/tst-rfc3484-3.c: Likewise.
15888 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15890         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15891         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15893 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15895         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15896         #include of fxstatat64.c.
15898 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15900         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15901         * shadow/getspent_r.c: Likewise.
15902         * shadow/getspnam.c: Likewise.
15903         * shadow/getspnam_r.c: Likewise.
15904         * gshadow/getsgent.c: Likewise.
15905         * gshadow/getsgent_r.c: Likewise.
15906         * gshadow/getsgnam.c: Likewise.
15907         * gshadow/getsgnam_r.c: Likewise.
15908         * inet/getnetbyad.c: Likewise.
15909         * inet/getnetbyad_r.c: Likewise.
15910         * inet/getnetbynm.c: Likewise.
15911         * inet/getnetbynm_r.c: Likewise.
15912         * inet/getnetent.c: Likewise.
15913         * inet/getnetent_r.c: Likewise.
15914         * inet/getproto.c: Likewise.
15915         * inet/getproto_r.c: Likewise.
15916         * inet/getprtent.c: Likewise.
15917         * inet/getprtent_r.c: Likewise.
15918         * inet/getprtname.c: Likewise.
15919         * inet/getprtname_r.c: Likewise.
15920         * inet/getrpcbyname.c: Likewise.
15921         * inet/getrpcbyname_r.c: Likewise.
15922         * inet/getrpcbynumber.c: Likewise.
15923         * inet/getrpcbynumber_r.c: Likewise.
15924         * inet/getrpcent.c: Likewise.
15925         * inet/getrpcent_r.c: Likewise.
15926         * inet/getaliasent.c: Likewise.
15927         * inet/getaliasent_r.c: Likewise.
15928         * inet/getaliasname.c: Likewise.
15929         * inet/getaliasname_r.c: Likewise.
15930         * nscd/getgrgid_r.c: Likewise.
15931         * nscd/getgrnam_r.c: Likewise.
15932         * nscd/gethstbyad_r.c: Likewise.
15933         * nscd/gethstbynm3_r.c: Likewise.
15934         * nscd/getpwnam_r.c: Likewise.
15935         * nscd/getpwuid_r.c: Likewise.
15936         * nscd/getsrvbynm_r.c: Likewise.
15937         * nscd/getsrvbypt_r.c: Likewise.
15938         * nscd/gai.c: Likewise.
15940         * configure.in (build_nscd): New substituted variable, set
15941         by --disable-build-nscd and defaults to $use_nscd.
15942         * configure: Regenerated.
15943         * config.make.in (build-nscd): New substituted variable.
15944         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15945         Change conditional to require [$(build-nscd) = yes] as well.
15946         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15948         [BZ# 13696]
15949         * configure.in (use_nscd): New substituted variable, set by
15950         --disable-nscd.  If enabled, define USE_NSCD.
15951         * configure: Regenerated.
15952         * config.h.in: Add USE_NSCD.
15953         * config.make.in (use-nscd): New substituted variable.
15954         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15955         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15956         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15957         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15958         (CFLAGS-getgrnam_r.c): Likewise.
15959         (CFLAGS-initgroups.c): Likewise.
15960         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15961         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15962         Variables removed.
15963         * inet/getnetgrent_r.c
15964         (nscd_setnetgrent): New function, broken out of ...
15965         (setnetgrent): ... here.  Call it.
15966         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15967         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15968         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15969         * nscd/Makefile (routines, aux): Move definitions after include of
15970         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15971         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15972         Conditionalize on [USE_NSCD].
15973         (is_nscd, nscd_init_cb): Likewise.
15974         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15975         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15976         * nss/nss_db/db-init.c: Likewise.
15977         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15978         [USE_NSCD].
15979         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15980         (make_request): Use it.
15981         (cache_valid_p): New function.
15982         (__check_pf): Use it.
15983         * NEWS: Add item for --disable-nscd.
15985 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15987         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15988         to support sed >= 4.2.1-20-ga9bf076.
15989         * configure: Regenerated.
15991 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15993         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15994         Conditionalize whole body on [IREL].
15996 2012-08-22  Jeff Law <law@redhat.com>
15998         [BZ #14505]
15999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16000         if the family is PF_UNSPEC.
16002 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16004         * Makerules (lib-version): Rename from V.
16005         (install-lib-nosubdir): Change V to lib-version.
16007 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16009         [BZ #14252]
16010         * powerpc32/power6/wcschr.c: New file.
16011         * powerpc32/power6/wcscpy.c: New file.
16012         * powerpc32/power6/wcsrchr.c: New file.
16013         * powerpc64/power6/wcschr.c: New file.
16014         * powerpc64/power6/wcscpy.c: New file.
16015         * powerpc64/power6/wcsrchr.c: New file.
16017 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16019         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16020         (two_way_short_needle): Use it.
16021         * string/strstr.c (AVAILABLE1_USES_J): Define.
16022         * string/strcasestr.c: Likewise.
16024         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16025         array references.
16026         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16028         [BZ #11607]
16029         * NEWS: Add an entry.
16030         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16031         define their defaults.
16032         (two_way_short_needle): Detect end-of-string on-the-fly.
16033         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16034         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16035         * string/bug-strcasestr1.c: New test.
16036         * string/Makefile: Run it.
16038 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16040         [BZ #11607]
16041         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16042         the first character.
16044 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16046         * csu/elf-init.c (__libc_csu_irel): Function removed.
16047         * csu/libc-start.c (apply_irel): New function.
16048         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16050 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16052         * sysdeps/unix/sysv/linux/kernel-features.h
16053         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16054         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16055         <kernel-features.h>.
16056         [__NR_fadvise64_64]: Make code unconditional.
16057         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16058         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16059         !__NR_fadvise64_64)]: Likewise.
16060         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16061         !__NR_fadvise64_64))]: Likewise.
16062         [__NR_fadvise64]: Make code unconditional.
16063         [!__NR_fadvise64]: Remove conditional code.
16064         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16065         <kernel-features.h>.
16066         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16067         unconditional.
16068         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16069         conditional code.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16071         not include <kernel-features.h>.
16072         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16073         unconditional.
16074         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16075         conditional code.
16076         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16077         include <kernel-features.h>.
16078         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16079         unconditional.
16080         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16081         conditional code.
16083 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16085         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16086         slight instruction rearrangements per scrollpipe analysis.
16087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16089 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16091         * manual/syslog.texi (syslog; vsyslog, closelog):
16092         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16093         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16095         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16096         DSOCAPS to match condition on defining it.
16098 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16100         * sysdeps/unix/sysv/linux/kernel-features.h
16101         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16103         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16104         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16106         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16107         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16109         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16110         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16112         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16113         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16115         * sysdeps/unix/sysv/linux/kernel-features.h
16116         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16117         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16118         unconditional.
16119         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16120         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16121         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16122         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16123         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16124         Make code unconditional.
16125         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16126         (__mmap64) [!__NR_mmap2]: Likewise.
16127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16128         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16129         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16130         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16131         [__NR_mmap2]: Make code unconditional.
16132         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16133         (__mmap64) [!__NR_mmap2]: Likewise.
16135 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16137         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16139 2012-08-18  Andreas Jaeger  <aj@suse.de>
16141         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16143 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16145         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16146         * include/unistd.h (__have_sock_cloexec): Likewise.
16147         (__have_pipe2): Likewise.
16148         (__have_dup3): Likewise.
16150 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16152         [BZ #9685]
16153         * include/unistd.h (__have_pipe2): Change define into an extern int.
16154         (__have_dup3): Likewise.
16155         * socket/have_sock_cloexec.c: Include fcntl.h.
16156         (__have_pipe2): New variable.
16157         (__have_dup3): Likewise.
16159 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16161         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16163 2012-08-17  Marek Polacek  <polacek@redhat.com>
16165         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16166         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16168 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16170         * configure.in: Add AC_SUBST for sysheaders.
16171         * configure: Regenerated.
16172         * config.make.in (sysheaders): New substituted variable.
16174         * sysdeps/unix/mkfifo.c: Moved ...
16175         * sysdeps/posix/mkfifo.c: ... here.
16176         * sysdeps/unix/mkfifoat.c: Moved ...
16177         * sysdeps/posix/mkfifoat.c: ... here.
16179         * sysdeps/unix/utime.c: Moved ...
16180         * sysdeps/posix/utime.c: ... here.
16182         * sysdeps/unix/time.c: Moved ...
16183         * sysdeps/posix/time.c: ... here.
16184         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16185         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16187         * sysdeps/unix/nice.c: Moved ...
16188         * sysdeps/posix/nice.c: ... here.
16190         * sysdeps/unix/alarm.c: Moved ...
16191         * sysdeps/posix/alarm.c: ... here.
16193         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16195 2012-08-17  Jeff Law <law@redhat.com>
16197         * intl/Makefile (codeset_mo): New variable.
16198         ($(codeset_mo)): New target.
16199         (tst-codeset.out): Depend on that.  Remove explicit rule.
16200         (tst-gettext3.out, tst-gettext5.out): Likewise.
16201         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16202         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16203         * intl/tst-codeset.sh: Remove.
16204         * intl/tst-gettext3.sh: Likewise.
16205         * intl/tst-gettext5.sh: Likewise.
16207 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16209         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16210         * sysdeps/unix/syscalls.list: ... here.
16212         * sysdeps/posix/getaddrinfo.c
16213         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16214         (gaiconf_init, gaiconf_reload): Use them.
16215         [!_STATBUF_ST_NSEC]
16216         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16217         Define using time_t rather than struct timespec.
16219         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16220         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16221         Macros removed.
16222         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16223         [!NO_THREADS].
16224         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16225         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16226         Likewise.
16228         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16229         __libc_cleanup_push argument.
16231         * bits/param.h: New file.
16232         * misc/sys/param.h: New file.
16233         * include/sys/param.h: New file.
16234         * misc/Makefile (headers): Add bits/param.h.
16235         * sysdeps/generic/sys/param.h: File removed.
16236         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16237         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16238         * sysdeps/mach/hurd/bits/param.h: New file.
16239         * sysdeps/mach/hurd/sys/param.h: File removed.
16241         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16242         last change.
16244         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16245         [_IO_MTSAFE_IO].
16246         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16247         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16248         New macros.
16250         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16251         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16252         rather than -D_IO_MTSAFE_IO conditionally.
16253         * stdio-common/Makefile (CPPFLAGS): Likewise.
16254         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16255         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16256         Use $(libio-mtsafe).
16257         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16258         of -D_IO_MTSAFE_IO.
16259         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16260         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16261         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16262         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16263         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16264         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16265         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16266         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16267         (CFLAGS-fread_u_chk.c): Likewise.
16268         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16269         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16270         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16271         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16272         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16273         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16274         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16275         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16276         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16278         * libio/Makefile: Test [$(libc-reentrant) = yes]
16279         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16281         * Makeconfig
16282         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16283         * sysdeps/pthread/configure: File removed.
16284         * sysdeps/pthread/Makeconfig: New file.
16285         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16286         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16288 2012-08-16  Gary Benson  <gbenson@redhat.com>
16290         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16291         unmapping the first object in a namespace.
16293 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16295         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16296         (__internal_setnetgrent): ... this.  Add internal_function to
16297         definition.  Add libc_hidden_def.
16298         (setnetgrent): Update caller.
16299         (internal_endnetgrent): Renamed to ...
16300         (__internal_endnetgrent): ... this.  Add internal_function to
16301         definition.  Add libc_hidden_def.
16302         (endnetgrent): Update caller.
16303         (internal_getnetgrent_r): Renamed to ...
16304         (__internal_getnetgrent_r): ... this.  Add internal_function to
16305         definition.  Add libc_hidden_def.
16306         (__getnetgrent_r): Update caller.
16307         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16309 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16311         * stdlib/longlong.h: Update from GCC.
16313 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16315         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16316         on _QL, which is set by umul_ppmm but never used.
16317         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16318         variables, which are set by GMP macros but never used.
16319         * stdio-common/_itowa.c (_itowa): Likewise.
16320         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16321         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16323 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16325         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16326         struct La_sh_regs is not constant.
16327         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16328         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16329         and struct La_sparc64_regs are not constant.
16331 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16333         * sysdeps/unix/sysv/linux/kernel-features.h
16334         (__ASSUME_POSIX_TIMERS): Remove.
16335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16336         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16337         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16338         Make code unconditional.
16339         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16340         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16341         Make code unconditional.
16342         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16343         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16344         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16345         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16346         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16347         Make code unconditional.
16348         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16349         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16350         (__libc_missing_posix_timers): Remove.
16352 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16354         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16355         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16357         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16359         * elf/dl-sym.c: Include <stdlib.h>.
16361         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16362         constants, which avoids warnings in 32-bit builds.
16364         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16365         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16367         * misc/lseek.c: File moved to ...
16368         * io/lseek.c: ... here.
16370         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16372         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16373         shifting LEN more than 31 bits at once.
16375 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16377         [BZ #14195]
16378         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16379         segmentation fault for a case of two empty input strings.
16380         * string/test-strncasecmp.c (check1): Renamed to...
16381         (bz12205): ...this.
16382         (bz14195): Add new testcase for two empty input strings and N > 0.
16383         (test_main): Call new testcase, adapt for renamed function.
16385 2012-08-15  Andreas Jaeger  <aj@suse.de>
16387         [BZ #14090]
16388         * crypt/md5test2.c: New test, based on test supplied by Serge
16389         Belyshev <belyshev@depni.sinp.msu.ru>.
16390         * crypt/Makefile (xtests): Add md5test-giant..
16391         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16393 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16395         [BZ #14090]
16396         * crypt/md5.c (md5_process_block): Don't assume the buffer
16397         length is less than 2**32.
16398         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16399         length is less than 2**64.
16401 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16403         * string/str-two-way.h: Include <sys/param.h>.
16404         (MAX): Macro removed.
16406         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16407         Move #define and #undef of memmove to just before and after
16408         including <string.h>.
16410         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16411         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16412         and after including <string.h>.  Move declarations of
16413         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16414         to before #include "string/memmove.c".
16416         * include/dirent.h: Declare __getdirentries.
16418         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16419         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16421 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16423         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16424         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16425         * sysdeps/i386/configure: Regenerated.
16426         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16427         STABS_CURRENT_FILE, and STABS_FUN.
16428         (END): Remove call to STABS_FUN_END.
16429         (STABS_CURRENT_FILE1): Delete.
16430         (STABS_CURRENT_FILE): Likewise.
16431         (STABS_FUN): Likewise.
16432         (STABS_FUN_END): Likewise.
16433         (STABS_FUN2): Likewise.
16434         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16435         * sysdeps/x86_64/configure: Regenerated.
16437 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16439         * elf/dl-open.c: Include <atomic.h>.
16440         * elf/dl-lookup.c: Likewise.
16442 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16444         * sysdeps/unix/sysv/linux/kernel-features.h
16445         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16446         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16447         unconditionally.
16448         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16449         unconditionally.
16450         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16451         condition on __ASSUME_CLONE_THREAD_FLAGS.
16453 2012-08-14  Andreas Jaeger  <aj@suse.de>
16455         * sysdeps/i386/fpu/libm-test-ulps: Update.
16457 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16459         * include/atomic.h (atomic_exchange_and_add): Split into ...
16460         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16461         New atomic macros.
16463 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16467 2012-08-13  Jeff Law <law@redhat.com>
16469         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16470         null byte in the output string.
16472 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16474         * sysdeps/unix/sysv/linux/kernel-features.h
16475         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16476         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16477         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16478         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16479         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16480         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16481         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16483 2012-08-09  Jeff Law <law@redhat.com>
16485         [BZ #13939]
16486         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16487         When avoid_arena is set, don't retry in the that arena.  Pick the
16488         next one, whatever it might be.
16489         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16490         (arena_lock): Pass in new parameter to arena_get2.
16491         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16492         arena_get2.
16493         (__libc_malloc): Unify retrying after main arena failure with
16494         __libc_memalign version.
16495         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16497 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16499         [BZ #14166]
16500         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16501         to __redirect_strstr.
16502         (__strstr_sse42): Use typeof __redirect_strstr.
16503         (__strstr_ia32): Likewise.
16504         (__libc_strstr): New prototype.
16505         (strstr): Renamed to ...
16506         (__libc_strstr): This.
16507         (strstr): New strong alias of __libc_strstr.
16508         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16509         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16510         __redirect_time.
16511         Include <time.h>.
16512         (__libc_time): New prototype.
16513         (time_ifunc): Replace time with __libc_time.
16514         (time): New strong alias and hidden definition of __libc_time.
16515         (__GI_time): Remove strong alias.
16516         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16517         Include <stddef.h>.
16518         (memmove): Redefined to __redirect_memmove.
16519         (__memmove_sse2): Use typeof __redirect_memmove.
16520         (__memmove_ssse3): Likewise.
16521         (__memmove_ssse3_back): Likewise.
16522         (__libc_memmove): New prototype.
16523         (memmove): Renamed to ...
16524         (__libc_memmove): This.
16525         (memmove): New strong alias of __libc_memmove.
16527 2012-08-08  Mark Salter  <msalter@redhat.com>
16529         * elf/elf.h
16530         (R_MN10300_TLS_GD): Define.
16531         (R_MN10300_TLS_LD): Likewise.
16532         (R_MN10300_TLS_LDO): Likewise.
16533         (R_MN10300_TLS_GOTIE): Likewise.
16534         (R_MN10300_TLS_IE): Likewise.
16535         (R_MN10300_TLS_LE): Likewise.
16536         (R_MN10300_TLS_DTPMOD): Likewise.
16537         (R_MN10300_TLS_DTPOFF): Likewise.
16538         (R_MN10300_TLS_TPOFF): Likewise.
16539         (R_MN10300_SYM_DIFF): Likewise.
16540         (R_MN10300_ALIGN): Likewise.
16541         (R_MN10300_NUM): Update.
16543 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16546         Remove.
16548 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16550         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16552         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16553         sysdeps/unix -> sysdeps/posix move.
16554         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16556 2012-08-07      Allan McRae     <allan@archlinux.org>
16558         [BZ #14303]
16559         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16560         (SUNOS_CPP): Likewise.
16561         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16562         not found.
16563         (open_input): Call CPP using execvp.
16565 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16567         * sysdeps/unix/sysv/linux/kernel-features.h
16568         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16569         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16570         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16571         (__ASSUME_WAITID_SYSCALL): Likewise.
16572         * sysdeps/unix/sysv/linux/dl-execstack.c
16573         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16574         code unconditional.
16575         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16576         conditional code.
16577         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16578         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16579         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16580         code.
16581         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16582         unconditional.
16583         [__ASSUME_WAITID_SYSCALL]: Likewise.
16584         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16586 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16588         * sysdeps/unix/closedir.c: Renamed to ...
16589         * sysdeps/posix/closedir.c: ... here.
16590         * sysdeps/unix/dirfd.c: Renamed to ...
16591         * sysdeps/posix/dirfd.c: ... here.
16592         * sysdeps/unix/dirstream.h: Renamed to ...
16593         * sysdeps/posix/dirstream.h: ... here.
16594         * sysdeps/unix/fdopendir.c: Renamed to ...
16595         * sysdeps/posix/fdopendir.c: ... here.
16596         * sysdeps/unix/opendir.c: Renamed to ...
16597         * sysdeps/posix/opendir.c: ... here.
16598         * sysdeps/unix/readdir.c: Renamed to ...
16599         * sysdeps/posix/readdir.c: ... here.
16600         * sysdeps/unix/readdir_r.c: Renamed to ...
16601         * sysdeps/posix/readdir_r.c: ... here.
16602         * sysdeps/unix/rewinddir.c: Renamed to ...
16603         * sysdeps/posix/rewinddir.c: ... here.
16604         * sysdeps/unix/seekdir.c: Renamed to ...
16605         * sysdeps/posix/seekdir.c: ... here.
16606         * sysdeps/unix/telldir.c: Renamed to ...
16607         * sysdeps/posix/telldir.c: ... here.
16608         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16609         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16610         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16611         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16613         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16614         * bits/fcntl.h: ... here.
16616         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16617         not 0.
16618         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16619         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16620         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16621         (struct flock): Move l_start, l_len to the beginning.
16622         Use __pid_t for l_pid.
16623         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16624         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16625         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16626         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16627         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16628         [__USE_LARGEFILE64] (struct flock64): New type.
16629         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16631         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16632         * bits/dirent.h: ... here.
16634         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16635         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16637 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16640         Change from 2.6.0 to 2.6.16.
16641         * sysdeps/unix/sysv/linux/configure: Regenerated.
16642         * sysdeps/unix/sysv/linux/kernel-features.h
16643         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16644         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16645         version.
16646         (__ASSUME_UTIMES): Likewise.
16647         (__ASSUME_CLONE_STOPPED): Remove.
16648         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16649         architectures, not kernel version.
16650         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16651         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16652         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16653         (__ASSUME_WAITID_SYSCALL): Likewise.
16654         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16655         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16656         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16657         refer to older versions.
16659 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16661         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16662         Define alphasort64 as an alias.
16663         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16664         Define versionsort64 as an alias.
16665         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16666         Define scandir64 as an alias.
16667         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16668         Define scandirat64 as an alias.
16669         * dirent/alphasort64.c (alphasort64):
16670         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16671         * dirent/versionsort64.c: Likewise.
16672         * dirent/scandir64.c: Likewise.
16673         * dirent/scandirat64.c: Likewise.
16674         * sysdeps/wordsize-64/alphasort.c: File removed.
16675         * sysdeps/wordsize-64/alphasort64.c: File removed.
16676         * sysdeps/wordsize-64/scandir.c: File removed.
16677         * sysdeps/wordsize-64/scandir64.c: File removed.
16678         * sysdeps/wordsize-64/scandirat.c: File removed.
16679         * sysdeps/wordsize-64/scandirat64.c: File removed.
16680         * sysdeps/wordsize-64/versionsort.c: File removed.
16681         * sysdeps/wordsize-64/versionsort64.c: File removed.
16682         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16683         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16685         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16687         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16688         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16689         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16691         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16693         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16695         [defined __arch64__ || defined __sparcv9]
16696         (__INO_T_MATCHES_INO64_T): New macro.
16697         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16698         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16699         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16700         * sysdeps/unix/sysv/linux/bits/dirent.h
16701         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16702         (_DIRENT_MATCHES_DIRENT64): New macro.
16704         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16705         Define lockf64 as an alias.
16706         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16707         Define fseeko64 as an alias.
16708         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16709         Define ftello64 as an alias.
16710         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16711         Define _IO_fgetpos64 and fgetpos64 as aliases.
16712         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16713         Define _IO_fsetpos64 and fsetpos64 as aliases.
16714         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16715         Conditionalize body on this.
16716         * libio/fseeko64.c: Likewise.
16717         * libio/ftello64.c: Likewise.
16718         * libio/iofgetpos64.c: Likewise.
16719         * libio/iofsetpos64.c: Likewise.
16720         * sysdeps/wordsize-64/lockf.c: File removed.
16721         * sysdeps/wordsize-64/lockf64.c: File removed.
16722         * sysdeps/wordsize-64/fseeko.c: File removed.
16723         * sysdeps/wordsize-64/fseeko64.c: File removed.
16724         * sysdeps/wordsize-64/ftello.c: File removed.
16725         * sysdeps/wordsize-64/ftello64.c: File removed.
16726         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16727         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16728         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16729         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16730         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16731         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16732         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16733         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16734         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16735         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16736         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16737         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16738         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16739         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16741         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16743         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16745         [defined __arch64__ || defined __sparcv9]
16746         (__OFF_T_MATCHES_OFF64_T): New macro.
16747         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16748         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16750         (__OFF_T_MATCHES_OFF64_T): New macro.
16752 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16754         * stdlib/secure-getenv.c (__secure_getenv): Replace
16755         GLIBC_2_16 with GLIBC_2_17.
16757 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16762 2012-08-03  David S. Miller  <davem@davemloft.net>
16764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16766 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16769         Remove.
16770         (__ASSUME_CORRECT_SI_PID): Likewise.
16771         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16772         (__ASSUME_TMPFS_NAME): Likewise.
16773         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16774         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16775         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16776         (HAVE_AUX_SECURE): Make definition unconditional.
16777         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16778         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16780 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16782         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16783         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16784         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16785         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16786         __eloop_threshold instead of SYMLOOP_MAX.
16788         * sysdeps/generic/eloop-threshold.h: New file.
16789         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16790         of MAXSYMLINKS.
16791         * elf/chroot_canon.c (chroot_canon): Likewise.
16793 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16795         [BZ #13717]
16796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16797         Change to 2.6.0 everywhere.
16798         * sysdeps/unix/sysv/linux/configure: Regenerated.
16799         * sysdeps/unix/sysv/linux/kernel-features.h
16800         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16801         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16802         kernel versions.
16803         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16804         (__ASSUME_FUTEX_REQUEUE): Remove.
16805         (__ASSUME_STATFS64): Define unconditionally.
16806         (__ASSUME_AT_SECURE): Likewise.
16807         (__ASSUME_CORRECT_SI_PID): Likewise.
16808         (__ASSUME_TGKILL): Define without depending on kernel version for
16809         i386.
16810         (__ASSUME_UTIMES): Likewise.
16811         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16812         kernel version.
16813         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16814         (__ASSUME_TMPFS_NAME): Likewise.
16815         * README: Update reference to Linux kernel versions.
16817 2012-08-02  Marek Polacek  <polacek@redhat.com>
16819         [BZ# 14150]
16820         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16821         libc_cv_asm_type_prefix with %.
16822         * configure: Regenerated.
16823         * include/libc-symbols.h: Remove comment about
16824         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16825         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16826         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16827         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16828         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16829         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16830         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16831         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16832         * elf/tst-unique2mod1.c: Likewise.
16833         * elf/tst-unique1mod2.c: Likewise.
16834         * elf/tst-unique1mod1.c: Likewise.
16835         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16836         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16837         Replace ASM_TYPE_DIRECTIVE with .type.
16838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16839         * sysdeps/i386/sysdep.h: Likewise.
16840         * sysdeps/x86_64/sysdep.h: Likewise.
16841         * sysdeps/sh/sysdep.h: Likewise.
16842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16843         Do not define ASM_TYPE_DIRECTIVE.
16844         * sysdeps/powerpc/sysdep.h: Likewise.
16845         * sysdeps/powerpc/powerpc32/sysdep.h:
16846         Replace ASM_TYPE_DIRECTIVE with .type.
16847         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16848         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16849         * sysdeps/i386/fpu/e_powf.S: Likewise.
16850         * sysdeps/i386/fpu/e_expl.S: Likewise.
16851         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16852         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16853         * sysdeps/i386/fpu/e_pow.S: Likewise.
16854         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16855         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16856         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16857         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16858         * sysdeps/i386/fpu/e_log2.S: Likewise.
16859         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16860         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16861         * sysdeps/i386/fpu/e_powl.S: Likewise.
16862         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16863         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16864         * sysdeps/i386/fpu/e_logl.S: Likewise.
16865         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16866         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16867         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16868         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16870         * sysdeps/i386/fpu/e_log.S: Likewise.
16871         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16872         * sysdeps/i386/fpu/e_logf.S: Likewise.
16873         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16874         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16875         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16876         * sysdeps/i386/fpu/e_log10.S: Likewise.
16877         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16878         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16879         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16880         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16881         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16882         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16883         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16884         * sysdeps/i386/i686/strtok.S: Likewise.
16885         * sysdeps/i386/i386-mcount.S: Likewise.
16886         * sysdeps/i386/strtok.S: Likewise.
16887         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16888         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16889         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16890         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16891         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16892         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16893         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16894         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16895         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16896         * sysdeps/x86_64/_mcount.S: Likewise.
16897         * sysdeps/x86_64/strtok.S: Likewise.
16898         * sysdeps/sh/_mcount.S: Likewise.
16900 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16902         * libio/iofopen.c: Include <fcntl.h>.
16903         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16904         (_IO_fopen64, fopen64): Define as aliases.
16905         * libio/iofopen64.c: Include <fcntl.h>.
16906         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16907         Conditionalize body on this.
16908         * sysdeps/wordsize-64/iofopen.c: File removed.
16909         * sysdeps/wordsize-64/iofopen64.c: File removed.
16911 2012-08-01  Marek Polacek  <polacek@redhat.com>
16913         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16914         Use dlfcn directly instead of a variable.
16915         (binfmt-subdir): Do not define.
16916         (dlfcn): Likewise.
16918 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16920         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16921         Remove all definitions.
16922         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16923         <kernel-features.h>.
16924         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16925         (miss_F_GETOWN_EX): Remove all definitions.
16926         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16927         macro definition.
16928         [!__ASSUME_FCNTL64]: Remove conditional code.
16929         [__ASSUME_FCNTL64]: Make code unconditional.
16930         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16931         <kernel-features.h>.
16932         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16933         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16934         (lockf64) [__NR_fcntl64]: Make code unconditional.
16935         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16937         * sysdeps/unix/sysv/linux/kernel-features.h
16938         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16939         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16940         Make code unconditional.
16941         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16942         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16944         [__NR_vfork]: Make code unconditional.
16945         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16946         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16948         [__NR_vfork]: Make code unconditional.
16949         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16950         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16952 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16954         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16955         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16957         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16958         Define mkstemp64 as an alias.
16959         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16960         Define mkstemps64 as an alias.
16961         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16962         Define mkostemp64 as an alias.
16963         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16964         Define mkostemps64 as an alias.
16965         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16966         Conditionalize body on this.
16967         * misc/mkostemp64.c: Likewise.
16968         * misc/mkostemps64.c: Likewise.
16969         * misc/mkstemps64.c: Likewise.
16970         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16971         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16972         * sysdeps/wordsize-64/mkostemp.c: File removed.
16973         * sysdeps/wordsize-64/mkstemp.c: File removed.
16974         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16976         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16979         [BZ #14138]
16980         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16981         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16982         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16983         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16985         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16986         compat_symbol macros from <shlib-compat.h> rather than the underlying
16987         default_symbol_version and symbol_version macros, so that DEFAULT
16988         lines in shlib-versions are respected.
16989         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16991 2012-08-01  Florian Weimer  <fweimer@redhat.com>
16993         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16994         Declare with warn_unused_result.
16995         (setgid, setregid, setegid, setresgid): Likewise.
16996         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16997         Likewise.
16998         * WUR-REPORT: Remove set*id functions.
17000 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17002         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17004 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17006         [BZ #10191]
17007         * include/sys/socket.h (__libc_accept, __libc_accept4):
17008         Add attribute_hidden.
17009         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17011         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17012         use of PTR_MANGLE.
17013         * inet/getnetgrent_r.c (setup): Likewise.
17015         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17017 2012-07-31  David S. Miller  <davem@davemloft.net>
17019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17021 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17023         [BZ #13629]
17024         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17025         value between 1.0 and 2.0 and smaller part has absolute value less
17026         than 1.0.
17027         * math/s_clog10.c (__clog10): Likewise.
17028         * math/s_clog10f.c (__clog10f): Likewise.
17029         * math/s_clog10l.c (__clog10l): Likewise.
17030         * math/s_clogf.c (__clogf): Likewise.
17031         * math/s_clogl.c (__clogl): Likewise.
17032         * math/libm-test.inc (clog_test): Add more tests.
17033         (clog10_test): Likewise.
17034         * sysdeps/i386/fpu/libm-test-ulps: Update.
17035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17037 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17039         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17040         Exit with zero in case no suitable GID is found, and write a
17041         message to standard error.
17043 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17045         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17046         rather than to 1.
17047         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17048         (MAXPATHLEN): Removed.
17049         (NOGROUP, NODEV): New macros.
17050         (setbit, clrbit, isset, isclr): New macros.
17051         (howmany, roundup, powerof2): New macros.
17052         (DEV_BSIZE): New macro.
17054         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17055         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17057         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17058         definition on [!__NO_LONG_DOUBLE_MATH].
17060         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17061         PTR_MANGLE and PTR_DEMANGLE.
17063         * socket/accept4.c (accept4): Rename to __libc_accept4.
17064         Define accept4 as a weak alias.
17066         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17067         on [_DIRENT_HAVE_D_TYPE].
17068         * io/ftw.c (ftw_dir): Likewise.
17070         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17072         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17074         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17075         Use the BSD numbers rather than the arbitrary ones we had.
17076         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17077         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17078         (SIGXCPU, SIGXFSZ): New macros.
17079         (_NSIG): Now 32.
17081         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17082         initializer on [_LIBC_REENTRANT].
17084         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17085         definitions inside [_POSIX_MAPPED_FILES].
17087         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17089         * dirent/opendir.c: Include <fcntl.h>.
17091         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17092         (__libc_getspecific): Likewise.
17093         (__libc_key_create): Likewise.
17095         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17096         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17097         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17098         (tmpfile64): Define as alias.
17099         * sysdeps/wordsize-64/tmpfile.c: File removed.
17100         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17101         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17102         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17104         * stdio-common/vfscanf.c: Include <stdbool.h>.
17105         * nss/makedb.c: Likewise.
17106         * stdio-common/_i18n_number.h: Likewise.
17107         * argp/argp-help.c: Likewise.
17108         * posix/wordexp.c: Likewise.
17109         * sysdeps/posix/spawni.c: Likewise.
17110         * nss/nss_files/files-initgroups.c: Likewise.
17111         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17112         * nss/nss_files/files-initgroups.c: Likewise.
17113         * nss/nss_db/db-netgrp.c: Likewise.
17114         * nss/nss_db/db-initgroups.c: Likewise.
17115         * io/fchmodat.c: Include <sys/stat.h>.
17117         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17118         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17120         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17121         [HAVE_MMAP].
17123         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17124         Add multiple inclusion protection.
17126 2012-07-27  David S. Miller  <davem@davemloft.net>
17128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17130 2012-07-27  Gary Benson  <gbenson@redhat.com>
17132         [BZ #14298]
17133         * elf/rtld.c: Include <stap-probe.h>.
17134         (dl_main): Added static probes "init_start" and "init_complete".
17135         * elf/dl-load.c: Include <stap-probe.h>.
17136         (lose): Take new parameter "nsid".
17137         Added static probe "map_failed".
17138         (_dl_map_object_from_fd): Pass namespace id to lose.
17139         Added static probe "map_start".
17140         (open_verify): Pass namespace id to lose.
17141         * elf/dl-open.c: Include <stap-probe.h>.
17142         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17143         and "reloc_complete".
17144         * elf/dl-close.c: Include <stap-probe.h>.
17145         (_dl_close_worker): Added static probes "unmap_start" and
17146         "unmap_complete".
17147         * elf/rtld-debugger-interface.txt: New file documenting the above.
17149 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17151         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17152         rather than a string variable.
17153         * sunrpc/rpc_main.c (h_output): Likewise.
17154         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17156 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17158         * inet/check_native.c: New file.
17160 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17162         [BZ #13629]
17163         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17164         if larger part has absolute value 1.0.
17165         * math/s_clog10.c (__clog10): Likewise.
17166         * math/s_clog10f.c (__clog10f): Likewise.
17167         * math/s_clog10l.c (__clog10l): Likewise.
17168         * math/s_clogf.c (__clogf): Likewise.
17169         * math/s_clogl.c (__clogl): Likewise.
17170         * math/libm-test.inc (clog_test): Add more tests.
17171         (clog10_test): Likewise.
17172         * sysdeps/i386/fpu/libm-test-ulps: Update.
17173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17176         (pltexit): Likewise.
17177         (La_regs): Likewise.
17178         (La_retval): Likewise.
17179         (int_retval): Likewise.
17180         Update #error for removed macros to refer only to definitions in
17181         tst-audit.h.
17182         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17183         macro.
17184         (pltexit): Likewise.
17185         (La_regs): Likewise.
17186         (La_retval): Likewise.
17187         (int_retval): Likewise.
17188         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17189         macro.
17190         (pltexit): Likewise.
17191         (La_regs): Likewise.
17192         (La_retval): Likewise.
17193         (int_retval): Likewise.
17194         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17195         macro.
17196         (pltexit): Likewise.
17197         (La_regs): Likewise.
17198         (La_retval): Likewise.
17199         (int_retval): Likewise.
17200         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17201         macro.
17202         (pltexit): Likewise.
17203         (La_regs): Likewise.
17204         (La_retval): Likewise.
17205         (int_retval): Likewise.
17206         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17207         macro.
17208         (pltexit): Likewise.
17209         (La_regs): Likewise.
17210         (La_retval): Likewise.
17211         (int_retval): Likewise.
17212         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17213         macro.
17214         (pltexit): Likewise.
17215         (La_regs): Likewise.
17216         (La_retval): Likewise.
17217         (int_retval): Likewise.
17218         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17219         macro definitions in tst-audit.h.
17220         * sysdeps/i386/tst-audit.h: New file.
17221         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17222         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17223         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17224         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17225         * sysdeps/sh/tst-audit.h: Likewise.
17226         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17227         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17228         * sysdeps/x86_64/tst-audit.h: Likewise.
17230 2012-07-26  Andreas Jaeger  <aj@suse.de>
17232         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17233         ptrace.
17235         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17236         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17237         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17238         PTRACE_O_MASK.
17239         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17240         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17241         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17243         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17244         value.
17246         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17247         _sigsys.
17248         (si_call_addr, si_syscall, si_arch): Define new macro.
17249         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17250         _sigsys.
17251         (si_call_addr, si_syscall, si_arch): Define new marcro.
17252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17253         _sigsys.
17254         (si_call_addr, si_syscall, si_arch): Define new macro.
17255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17256         _sigsys.
17257         (si_call_addr, si_syscall, si_arch): Define new macro.
17259 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17261         [BZ #13717]
17262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17263         Change to 2.4.21 where previously 2.4.1.
17264         * sysdeps/unix/sysv/linux/configure: Regenerated.
17265         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17266         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17267         Linux kernel version.
17268         (__ASSUME_STD_AUXV): Remove.
17269         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17270         kernel version.
17271         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17272         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17273         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17274         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17275         (__ASSUME_NETLINK_SUPPORT): Likewise.
17276         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17277         (__no_netlink_support): Remove conditional definition.
17278         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17279         Remove.
17280         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17281         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17282         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17283         (if_nameindex_ioctl): Remove.
17284         (if_nameindex_netlink): Do not handle __no_netlink_support.
17285         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17286         code.
17287         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17288         Remove conditional code.
17289         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17290         code.
17291         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17292         unconditional.
17293         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17294         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17295         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17296         Remove.
17297         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17298         [!__ASSUME_STD_AUXV]: Remove conditional code.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17300         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17301         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17303         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17304         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17305         code.
17306         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17308         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17309         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17310         conditional code.
17311         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17313         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17314         code.
17315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17316         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17317         conditional code.
17318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17319         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17320         code unconditional.
17321         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17322         conditional code.
17323         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17324         unconditional.
17325         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17326         conditional code.
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17328         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17329         unconditional.
17330         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17331         conditional code.
17332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17333         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17334         code unconditional.
17335         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17336         conditional code.
17337         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17338         unconditional.
17339         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17340         conditional code.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17342         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17343         code unconditional.
17344         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17345         conditional code.
17346         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17347         unconditional.
17348         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17349         conditional code.
17351 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17353         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17354         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17355         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17356         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17357         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17358         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17359         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17360         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17361         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17362         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17363         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17364         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17365         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17366         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17367         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17368         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17369         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17371         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17373         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17374         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17377 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17379         * Versions.def: Add GLIBC_2.17.
17380         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17381         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17382         Introduce __libc_secure_getenv.
17383         * stdlib/Versions (2.17): Add secure_getenv
17384         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17385         * stdlib/secure-getenv.c: Rename __secure_getenv to
17386         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17387         symbol __secure_getenv for GLIBC_2.0.
17388         * stdlib/tst-secure-getenv.c: New.
17389         * stdlib/Makefile (tests): Add testcase.
17390         * manual/startup.texi (Environment Access): Document
17391         secure_getenv.
17392         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17393         __libc_secure_getenv.
17394         * inet/ruserpass.c (ruserpass): Likewise.
17395         * malloc/mtrace.c (mtrace): Likewise.
17396         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17397         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17398         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17399         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17400         HAVE_SECURE_GETENV.
17401         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17402         __secure_getenv to __libc_secure_getenv.
17403         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17405         Likewise.
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17407         Likewise.
17408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17416 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17418         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17419         (struct La_i86_retval): Likewise.
17420         (struct La_x86_64_regs): Likewise.
17421         (struct La_x86_64_retval): Likewise.
17422         (struct La_x32_regs): Likewise.
17423         (struct La_x32_retval): Likewise.
17424         (struct La_ppc32_regs): Likewise.
17425         (struct La_ppc32_retval): Likewise.
17426         (struct La_ppc64_regs): Likewise.
17427         (struct La_ppc64_retval): Likewise.
17428         (struct La_sh_regs): Likewise.
17429         (struct La_sh_retval): Likewise.
17430         (struct La_s390_32_regs): Likewise.
17431         (struct La_s390_32_retval): Likewise.
17432         (struct La_s390_64_regs): Likewise.
17433         (struct La_s390_64_retval): Likewise.
17434         (struct La_sparc32_regs): Likewise.
17435         (struct La_sparc32_retval): Likewise.
17436         (struct La_sparc64_regs): Likewise.
17437         (struct La_sparc64_retval): Likewise.
17438         (struct audit_ifaces): Remove architecture-specific pltenter and
17439         pltexit members.
17440         * sysdeps/i386/ldsodefs.h: New file.
17441         * sysdeps/powerpc/ldsodefs.h: Likewise.
17442         * sysdeps/s390/ldsodefs.h: Likewise.
17443         * sysdeps/sh/ldsodefs.h: Likewise.
17444         * sysdeps/sparc/ldsodefs.h: Likewise.
17445         * sysdeps/x86_64/ldsodefs.h: Likewise.
17447 2012-07-25  Marek Polacek  <polacek@redhat.com>
17449         [BZ #6808]
17450         * math/libm-test.inc (yn_test): Add another test.
17451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17452         to ERANGE when the result is +-Inf.
17453         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17454         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17455         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17456         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17458 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17460         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17461         equal to 0.
17462         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17463         clock_t.
17464         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17466 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17468         * configure.in <sysdeps resolving>: Correct printing
17469         Implies_before.
17470         * configure: Regenerate.
17472 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17474         * math/w_ilogb.c: Include <limits.h>.
17475         * math/w_ilogbl.c: Likewise.
17477 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17479         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17480         va_copy.  Document allowing for unavailable va_copy only as
17481         pre-C99 compatibility.
17482         * manual/string.texi (Copying and Concatenation): Use va_copy
17483         instead of __va_copy in concat example.
17485 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17487         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17488         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17489         it if not null.
17491         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17492         with O_NOLINK passed to __file_name_lookup.
17494         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17495         with O_NOLINK passed to __file_name_lookup.
17497         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17498         negative N or less than NGIDS.
17500         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17501         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17502         enough.  Use memcpy instead of strncpy.
17504 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17506         * elf/Makefile (check-data): Remove.
17507         (localplt.data): New vpath directive.
17508         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17509         instead of $(check-data).
17510         * scripts/data/localplt-generic.data: Move to ...
17511         * sysdeps/generic/localplt.data: ... here.
17512         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17513         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17514         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17516         ... here.
17517         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17519         ... here.
17520         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17522         ... here.
17523         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17525         ... here.
17526         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17528         ... here.
17529         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17531         ... here.
17533 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17535         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17536         PPC32 and PPC64 files.
17537         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17538         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17540 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17542         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17543         __makecontext_ret to ...
17544         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17545         ... here and call exit if uc_link is NULL.  New file.
17546         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17547         __makecontext_ret.S.
17548         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17549         __makecontext_ret to ...
17550         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17551         ... here and call exit if uc_link is NULL.  New file.
17552         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17553         __makecontext_ret.S.
17555 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17557         * elf/elf.h (R_390_IRELATIVE): New definition.
17558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17559         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17560         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17562         (elf_machine_lazy_rel): Likewise.
17563         * sysdeps/s390/dl-irel.h: New file.
17564         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17565         * sysdeps/s390/s390-64/memset.S: New asm code.
17566         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17567         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17568         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17569         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17570         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17571         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17572         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17573         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17574         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17575         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17576         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17577         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17578         * sysdeps/s390/s390-32/memset.S: New asm code.
17579         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17581 2012-07-17  Marek Polacek  <polacek@redhat.com>
17583         [BZ #14349]
17584         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17585         * sysdeps/s390/s390-64/configure.in: Likewise.
17586         * sysdeps/sparc/configure.in: Likewise.
17587         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17588         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17589         * sysdeps/i386/configure.in: Likewise.
17590         * sysdeps/x86_64/configure.in: Likewise.
17591         * sysdeps/sh/configure.in: Likewise.
17592         * sysdeps/s390/s390-32/configure: Regenerated.
17593         * sysdeps/s390/s390-64/configure: Likewise.
17594         * sysdeps/x86_64/configure: Likewise.
17595         * sysdeps/sh/configure: Likewise.
17596         * sysdeps/powerpc/powerpc64/configure: Likewise.
17597         * sysdeps/powerpc/powerpc32/configure: Likewise.
17598         * sysdeps/sparc/configure: Likwise.
17599         * sysdeps/i386/configure: Likewise.
17601         * elf/dl-open.c: Comment fixes.
17603 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17605         * Makefile [CXX] (check-data): Remove.
17606         [CXX] (c++-types.data): New vpath directive.
17607         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17608         vpath.  Do not allow for C++ type data being missing.
17609         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17610         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17611         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17612         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17613         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17614         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17615         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17617         ... here.
17618         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17620         ... here.
17621         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17623         ... here.
17624         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17626         ... here.
17627         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17629         ... here.
17630         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17632         ... here.
17633         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17635         ... here.
17636         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17639         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17640         definitions to architecture-specific files.
17641         (TLS_IE): Likewise.
17642         (TLS_LD): Likewise.
17643         (TLS_GD): Likewise.
17644         * sysdeps/i386/tls-macros.h: New file.
17645         * sysdeps/powerpc/tls-macros.h: Likewise.
17646         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17647         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17648         * sysdeps/sh/tls-macros.h: Likewise.
17649         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17650         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17651         * sysdeps/x86_64/tls-macros.h: Likewise.
17653 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17655         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17656         zero value for regular exit case.
17658         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17659         (__start_context): Preserve zero value for regular exit case.
17661 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17662             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17664         * manual/setjmp.texi (setcontext): Clarify normal process
17665         termination when uc_link is the null pointer.
17666         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17667         exit call.
17669 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17671         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17672         preprocessor.  Test for each exception mask separately.
17674 2012-07-16  Andreas Jaeger  <aj@suse.de>
17676         * po/ru.po: Update from translation team.
17678 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17680         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17681         equal to 0.
17682         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17683         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17684         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17685         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17688 2012-07-13  Andreas Jaeger  <aj@suse.de>
17690         * po/fr.po: Update from translation team.
17692 2012-07-12  Marek Polacek  <polacek@redhat.com>
17694         [BZ #14173]
17695         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17696         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17697         loop condition.
17699 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17701         [BZ #13717]
17702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17703         Change to 2.4.1 where previously 2.4.0.
17704         * sysdeps/unix/sysv/linux/configure: Regenerated.
17705         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17706         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17707         version.
17708         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17709         (__ASSUME_AT_CLKTCK): Remove.
17710         (__ASSUME_AT_PAGESIZE): Likewise.
17711         (__ASSUME_AT_XID): Likewise.
17712         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17713         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17714         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17715         unconditionally.
17716         (HAVE_AUX_PAGESIZE): Likewise.
17717         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17718         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17719         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17721 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17723         [BZ #14307]
17724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17725         the temporary buffer used to invoke __gethostbyname2_r,
17726         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17727         host_data / struct gaih_addrtuple.
17728         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17729         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17730         header file nss/nsswitch.h.
17731         * nss/nsswitch.h (global scope): Add definition of implementation
17732         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17733         resolv/nss_dns/dns-host.c).
17735 2012-07-11  Andreas Jaeger  <aj@suse.de>
17737         * po/fr.po: Update from translation team.
17739         * po/sv.po: Update from translation team
17740         * po/fr.po: Another update from translation team.
17742 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17745         for subnormals or multiply small sinh result by itself.
17746         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17749 2012-07-11  David S. Miller  <davem@davemloft.net>
17751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17753 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17755         [BZ #14347]
17756         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17757         (INTERNAL_MARK): Shift it here.
17759 2012-07-10  Marek Polacek  <polacek@redhat.com>
17761         [BZ #14151]
17762         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17763         libc_cv_asm_global_directive with .globl.
17764         * configure: Regenerated.
17765         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17766         with .globl.
17767         * sysdeps/i386/configure: Regenerated.
17768         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17769         with .globl.
17770         * sysdeps/x86_64/configure: Regenerated.
17771         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17772         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17773         * elf/tst-unique2mod2.c: Likewise.
17774         * elf/tst-unique2mod1.c: Likewise.
17775         * elf/tst-unique1mod2.c: Likewise.
17776         * elf/tst-unique1mod1.c: Likewise.
17777         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17778         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17779         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17780         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17781         * sysdeps/mach/sysdep.h: Likewise.
17782         * sysdeps/i386/sysdep.h: Likewise.
17783         * sysdeps/i386/i386-mcount.S: Likewise.
17784         * sysdeps/x86_64/_mcount.S: Likewise.
17785         * sysdeps/x86_64/sysdep.h: Likewise.
17786         * sysdeps/sh/_mcount.S: Likewise.
17787         * sysdeps/sh/sysdep.h: Likewise.
17788         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17789         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17790         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17791         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17792         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17793         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17794         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17795         * locale/localeinfo.h: Likewise.
17796         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17797         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17799 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17801         [BZ #14336]
17802         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17803         system".
17804         * manual/message.texi (The Uniforum approach): Likewise.
17805         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17806         (glibc iconv Implementation): Likewise.
17808 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17810         [BZ #14337]
17811         * math/s_clog.c (__clog): Avoid scaling a value down where that
17812         could result in underflow.
17813         * math/s_clog10.c (__clog10): Likewise.
17814         * math/s_clog10f.c (__clog10f): Likewise.
17815         * math/s_clog10l.c (__clog10l): Likewise.
17816         * math/s_clogf.c (__clogf): Likewise.
17817         * math/s_clogl.c (__clogl): Likewise.
17818         * math/libm-test.inc (clog_test): Add more tests.
17819         (clog10_test): Likewise.
17820         * sysdeps/i386/fpu/libm-test-ulps: Update.
17821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17823 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17825         [BZ #14283]
17826         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17827         by 7 not 8 to examine high bit of fractional part.
17829         [BZ #14042]
17830         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17831         for call to __mcount_internal.
17832         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17833         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17834         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17836 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17838         [BZ #14154]
17839         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17840         approximation for values within 0x1p-13f of an odd multiple of
17841         pi/4.
17842         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17843         exception.  Add more tests.
17844         * sysdeps/i386/fpu/libm-test-ulps: Update.
17846         [BZ #6778]
17847         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17848         inputs and return -1 for them.  Do not check for +Inf in case not
17849         reachable for +Inf.
17850         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17851         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17852         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17853         and return -1 for them.  Do not check for +Inf in case not
17854         reachable for +Inf.
17855         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17856         define.
17857         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17858         and return -1 for them.  Do not check for +Inf in case not
17859         reachable for +Inf.
17860         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17861         spurious underflow.
17862         * sysdeps/i386/fpu/libm-test-ulps: Update.
17863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17865 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17867         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17869 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17871         [BZ #14157]
17872         [BZ #14331]
17873         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17874         could result in spurious underflow.  Scale down values above
17875         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17876         * math/s_csqrtf.c (__csqrtf): Likewise.
17877         * math/s_csqrtl.c (__csqrtl): Likewise.
17878         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17879         spurious underflow.
17880         * sysdeps/i386/fpu/libm-test-ulps: Update.
17881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17883 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17885         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17886         xopen-msg.sed.
17887         * catgets/xopen-msg.awk: New file.
17888         * catgets/xopen-msg.sed: Removed.
17890         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17891         po2text.sed.
17892         * intl/po2test.awk: New file.
17893         * intl/po2test.sed: Removed.
17895 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17897         [BZ #14328]
17898         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17899         or multiply small sinh result by itself.
17900         * math/s_ctanf.c (__ctanf): Likewise.
17901         * math/s_ctanh.c (__ctanh): Likewise.
17902         * math/s_ctanhf.c (__ctanhf): Likewise.
17903         * math/s_ctanhl.c (__ctanhl): Likewise.
17904         * math/s_ctanl.c (__ctanl): Likewise.
17905         * math/libm-test.inc (ctan_test_tonearest): New function.
17906         (ctan_test_towardzero): Likewise.
17907         (ctan_test_downward): Likewise.
17908         (ctan_test_upward): Likewise.
17909         (ctanh_test_tonearest): Likewise.
17910         (ctanh_test_towardzero): Likewise.
17911         (ctanh_test_downward): Likewise.
17912         (ctanh_test_upward): Likewise.
17913         (main): Call these new functions.
17914         * sysdeps/i386/fpu/libm-test-ulps: Update.
17915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17919         * .gitignore: Delete /ports entry.
17921 2012-07-03  Andreas Jaeger  <aj@suse.de>
17923         * po/bg.po: Update from translation team.
17924         * po/cs.po: Likewise.
17925         * po/de.po: Likewise.
17926         * po/hr.po: Likewise.
17927         * po/nl.pl: Likewise.
17928         * po/pl.po: Likewise.
17929         * po/vi.po: Likewise.
17931 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17933         * Makeconfig [!+link] (+link-before-libc): New variable.
17934         [!+link] (+link-after-libc): Likewise.
17935         [!+link] (+link-tests): Likewise.
17936         [!+link] (+link): Define in terms of $(+link-before-libc) and
17937         $(+link-after-libc).
17938         [!+link-static] (+link-static-before-libc): New variable.
17939         [!+link-static] (+link-static-after-libc): Likewise.
17940         [!+link-static] (+link-static-tests): Likewise.
17941         [!+link-static] (+link-static): Define in terms of
17942         $(+link-static-before-libc) and $(+link-static-after-libc).
17943         [build-shared] (link-libc-before-gnulib): New variable.
17944         [build-shared] (link-libc-tests): Likewise.
17945         [build-shared] (link-libc): Define in terms of
17946         $(link-libc-before-gnulib).
17947         [!build-shared] (link-libc-tests): New variable.
17948         (link-libc-static-tests): New variable.
17949         [!gnulib] (gnulib-arch): New variable.
17950         [!gnulib] (gnulib-tests): Likewise.
17951         [!gnulib] (static-gnulib-arch): Likewise.
17952         [!gnulib] (static-gnulib-tests): Likewise.
17953         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17954         Define with "=" instead of ":=".
17955         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17956         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17957         * Rules (binaries-all-notests): New variable.
17958         (binaries-all-tests): Likewise.
17959         (binaries-static-notests): Likewise.
17960         (binaries-static-tests): Likewise.
17961         (binaries-all): Define using $(binaries-all-notests) and
17962         $(binaries-all-tests).
17963         (binaries-static): Define using $(binaries-static-notests) and
17964         $(binaries-static-tests).
17965         (binaries-shared-tests): New variable.
17966         (binaries-shared-notests): Likewise.
17967         (binaries-shared): Remove variable.
17968         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17969         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17970         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17971         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17972         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17973         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17974         * elf/Makefile (sln-modules): New variable.
17975         (extra-objs): Add $(sln-modules:=.o).
17976         (ldconfig-modules): Add static-stubs.
17977         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17978         * elf/static-stubs.c: New file.
17980         [BZ #14283]
17981         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17982         by 7 not 8 to examine high bit of fractional part.  Use volatile
17983         variables when splitting into final array of floats if
17984         __FLT_EVAL_METHOD__ != 0.
17985         * math/libm-test.inc (cos_test): Add another test.
17986         (sin_test): Likewise.
17987         * sysdeps/i386/fpu/libm-test-ulps: Update.
17989         [BZ #14273]
17990         * math/libm-test.inc (cosh_test): Add more tests.
17992         * version.h (RELEASE): Set to "development".
17993         (VERSION): Set to "2.16.90".
17995 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
17997         * NEWS: Update copyright. Remove last-updated date.
17998         Mention math library bug fixes and timezone data changes.
17999         * README: Mention GNU/Hurd, x32, and HPPA support status.
18001 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18003         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18005 2012-06-27  Andreas Jaeger  <aj@suse.de>
18007         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18009 2012-06-25  Andreas Jaeger  <aj@suse.de>
18011         * sysdeps/s390/fpu/libm-test-ulps: Update.
18013 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18014             Thomas Schwinge  <thomas@codesourcery.com>
18016         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18017         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18018         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18019         fanotify_mark.
18021 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18023         * sysdeps/mach/start.c: Remove file.
18024         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18025         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18026         * sysdeps/sh/init-first.c: Likewise.
18028         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18029         registers for frame unwinding purposes, add CFI directives.
18030         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18031         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18032         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18033         Likewise.
18035         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18036         __fortify_fail returning.
18037         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18039         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18040         sysdeps/sh/____longjmp_chk.S.
18041         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18042         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18043         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18044         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18046         * sysdeps/sh/abort-instr.h: New file.
18047         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18048         process in case exit returns.
18050         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18051         initialize the GOT register before use.
18053         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18054         calculation of ARGC > 4.
18056         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18057         meaningful names to some local labels.
18059 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18060             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18062         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18063         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18064         (__arch_compare_and_exchange_val_16_acq): Likewise.
18065         (__arch_compare_and_exchange_val_32_acq): Likewise.
18066         (atomic_exchange_and_add): Fix gUSA sequence.
18067         (atomic_add): Likewise.
18068         (atomic_add_negative): Likewise.
18069         (atomic_add_zero): Likewise.
18070         (atomic_bit_test_set): Likewise.
18072 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18074         [BZ #13579]
18075         * include/link.h (struct link_map): Add l_free_initfini.
18076         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18077         l_initfini.
18078         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18079         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18080         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18081         set.
18083 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18085         * configure.in: Use AC_LANG_SOURCE.
18086         * configure: Regenerate.
18088 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18090         * configure.in (libc_cv_localstatedir): New substituted variable.
18091         * configure: Regenerated.
18092         * config.make.in (localstatedir): New variable, substituted from
18093         libc_cv_localstatedir.
18094         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18095         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18096         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18097         * sysdeps/gnu/configure: Regenerated.
18099 2012-06-21  Jeff Law  <law@redhat.com>
18101         [BZ #14277]
18102         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18103         free.  Simplify list management for _LIBC case.
18105 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18107         [BZ #14273]
18108         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18109         Clear sign bit of 64-bit integer value before comparing against
18110         overflow value.
18112         * sysdeps/mach/configure: Regenerated.
18114 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18116         [BZ #14278]
18117         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18119 2012-06-21  Jeff Law  <law@redhat.com>
18121         [BZ #13882]
18122         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18123         uint16_t for elements in the "seen" array to avoid char overflows.
18124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18125         * elf/dl-open.c (dl_open_worker): Likewise.
18127 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18129         * scripts/list-sources.sh: Scan PORTS for translations.
18130         * po/libc.pot: Regenerated.
18132 2012-06-21  Andreas Jaeger  <aj@suse.de>
18134         [BZ #12194]
18135         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18136         warning.
18137         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18138         * bits/byteswap-16.h (__bswap_16): Likewise.
18139         * bits/byteswap.h (__bswap_constant_16): Likewise.
18141 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18143         [BZ #14117]
18144         * sysdeps/i386/fpu_control.h: Removed.
18145         * sysdeps/x86_64/fpu_control.h: Moved to ...
18146         * sysdeps/x86/fpu_control.h: Here.
18148         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18149         (_FPU_SETCW): Likewise.
18151 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18153         [BZ #14117]
18154         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18155         * sysdeps/x86/fpu/bits/mathinline.h: This.
18156         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18158         [BZ #14050]
18159         [BZ #14117]
18160         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18161         functions if __x86_64__ is defined.
18163 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18165         * string/endian.h: Add !__ASSEMBLER__ condition for including
18166         conversion interfaces.
18168 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18170         [BZ #14241]
18171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18172         of ABS(x) in calculating zero to negative powers other than odd
18173         integers.
18174         * math/libm-test.inc (pow_test): Add more tests.
18176 2012-06-15  Andreas Jaeger  <aj@suse.de>
18178         * manual/contrib.texi (Contributors): Update entry of Liubov
18179         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18180         Machado Filho.
18182 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18184         * string/string.h: Add __wur to GNU version of strerror_r.
18186 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18188         [BZ #14229]
18189         * string/Makefile (tests): Add tst-strtok_r.
18190         * string/tst-strtok_r.c: New file.
18191         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18192         RAX_LP/RDX_LP on SAVE_PTR.
18194 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18196         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18198 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18200         * libm_test.inc (csqrt_test): Allow more spurious underflow
18201         exceptions.
18202         (j0_test): Likewise.
18203         (j1_test): Likewise.
18204         (y0_test): Likewise.
18205         (y1_test): Likewise.
18207 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18209         * po/Makefile (libc.pot): Use UTF-8 charset.
18211 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18213         [BZ #14210]
18214         Suppress sign-conversion warning from FD_SET.
18215         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18216         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18217         not unsigned long int.
18218         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18220 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18222         [BZ #14050]
18223         [BZ #14117]
18224         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18225         __extern_always_inline instead of __extern_inline.
18226         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18227         (__signbit): Likewise.
18228         (__signbitl): Support C++ namespace.
18229         (lrintf): New inline function.
18230         (lrint): Likewise.
18231         (llrintf): Likewise.
18232         (llrint): Likewise.
18233         (fmaxf): Likewise.
18234         (fmax): Likewise.
18235         (fminf): Likewise.
18236         (fmin): Likewise.
18237         (rint): Likewise.
18238         (rintf): Likewise.
18239         (ceil): Likewise.
18240         (ceilf): Likewise.
18241         (floor): Likewise.
18242         (floorf): Likewise.
18243         (nearbyint): Likewise.
18244         (nearbyintf): Likewise.
18246 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18249         non-default versions.
18251 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18253         [BZ #14218]
18254         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18256 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18258         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18259         (FE_UPWARD, FE_DOWNWARD): Don't define.
18260         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18261         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18263         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18264         reading it.
18265         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18266         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18268 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18270         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18272         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18273         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18275 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18277         [BZ #14117]
18278         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18279         * sysdeps/i386/fpu/Implies: New file.
18280         * sysdeps/x86_64/fpu/Implies: Likewise.
18281         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18282         * sysdeps/x86/fpu/bits/fenv.h: This.
18284         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18285         __SSE_MATH__.
18287 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18289         [BZ #14134]
18290         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18291         character 0xffff that matches the last element of the
18292         conversion table.
18294 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18296         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18297         fmodl commit.
18299 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18302         values higher than 25.6283.
18304 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18306         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18307         subnormal exponent extraction and add some __builtin_expect.
18308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18309         Fix for subnormal mantissa calculation.
18311 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18313         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18314         cpu2 is -1 and errno is not ENOSYS.
18316 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18318         [BZ #14117]
18319         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18320         * sysdeps/x86/bits/string.h: This.
18321         * sysdeps/x86_64/bits/string.h: Removed.
18323         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18324         if not compiling for x86-64, but compiling for >= i486.
18326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18327         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18329         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18330         New macro from Linux kernel 3.4.0.
18331         (FP_XSTATE_MAGIC2): Likewise.
18332         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18333         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18334         (struct _fpx_sw_bytes): New struct.
18335         (struct _xsave_hdr): Likewise.
18336         (struct _ymmh_state): Likewise.
18337         (struct _xstate): Likewise.
18339         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18340         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18341         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18342         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18343         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18344         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18346         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18347         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18348         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18349         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18350         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18351         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18353 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18355         [BZ #13743]
18356         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18357         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18358         (sysdep_headers): Include sys/platform/ppc.h.
18359         * sysdeps/powerpc/test-gettimebase.c: Test for
18360         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18361         * manual/Makefile (appendices): Include platform.texi.
18362         * manual/contrib.texi (Contributors): Update @node pointers.
18363         * manual/maint.texi (Maintenance): Likewise.
18364         (Platform): New node.
18365         * manual/platform.texi: New file.  Document the new features.
18367 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18368             Jakub Jelinek  <jakub@redhat.com>
18370         [BZ #14188]
18371         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18372         where __builtin_expect is unavailable.
18374 2012-06-03  David S. Miller  <davem@davemloft.net>
18376         * stdlib/longlong.h: Updated from GCC.
18378 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18380         [BZ #14042]
18381         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18382         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18383         __mcount_internal.
18384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18385         (GLIBC_2.16): Likewise.
18387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18389         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18391 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18394         (default-abi): New variable.
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18396         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18397         variable.
18398         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18399         Likewise.
18400         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18401         Likewise.
18402         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18403         Likewise.
18405         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18406         definition.  Document in comment.
18408 2012-06-01  David S. Miller  <davem@davemloft.net>
18410         * stdlib/longlong.h: Updated from GCC.
18412 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18414         [BZ #14117]
18415         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18416         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18417         sys/debugreg.h sys/io.h here.
18418         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18419         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18420         sys/io.h.
18421         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18422         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18423         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18424         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18425         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18426         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18428         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18429         Define only if __x86_64__ is defined.
18431 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18433         [BZ #14048]
18434         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18435         Use int64_t for variable i.
18436         * math/libm-test.inc (fmod_test): Add more tests.
18438         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18439         z computation is not scheduled after fetestexcept.
18440         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18441         Use math_force_eval instead of asm to ensure calculation scheduled
18442         before exception test.
18443         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18444         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18446 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18449         computation is not scheduled after fetestexcept.
18451 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18453         [BZ #14117]
18454         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18455         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18457 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18459         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18460         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18462 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18464         [BZ #14117]
18465         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18466         <bits/wordsize.h>.
18467         (__WCHAR_MIN): Support __WORDSIZE == 64.
18468         (__WCHAR_MAX): Likewise.
18470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18473         [BZ #14183]
18474         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18475         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18477         [BZ #14117]
18478         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18479         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18481         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18482         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18484         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18485         Defined to 1 if __x86_64__ isn't defined.
18486         (_STAT_VER_LINUX_OLD): New.
18487         (st_atime): Remove duplicate.
18488         (st_mtime): Likewise.
18489         (st_ctime): Likewise.
18491 2012-05-31  David S. Miller  <davem@davemloft.net>
18493         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18494         entries.
18496 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18498         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18499         gen-libm-test.pl.
18501         [BZ #14132]
18502         * elf/dl-reloc.c: Include <_itoa.h>.
18503         (_dl_reloc_bad_type): Remove use of INTUSE.
18504         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18505         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18506         * stdio-common/psiginfo.c (psiginfo): Likewise.
18507         * stdio-common/psignal.c (psignal): Likewise.
18508         * string/strsignal.c (strsignal): Likewise.
18509         * include/signal.h (_sys_siglist): Declare hidden proto.
18510         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18511         INTVARDEF with libc_hidden_data_def.
18512         * stdio-common/itoa-udigits.c: Likewise.
18513         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18514         (_itoa_lower_digits_internal): Remove declaration.
18515         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18516         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18517         (_sys_sigabbrev_internal): Remove aliases.
18518         (_sys_siglist): Define hidden alias.
18520 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18523         bits/sysctl.h.
18525 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18527         [BZ #14117]
18528         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18529         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18531         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18532         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18533         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18534         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18535         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18536         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18538         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18539         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18540         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18542         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18543         with __addr.
18544         (insw): Likewise.
18545         (insl): Likewise.
18546         (outsb): Likewise.
18547         (outsw): Likewise.
18548         (outsl): Likewise.
18550         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18551         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18552         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18554         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18555         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18556         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18557         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18558         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18559         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18561         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18562         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18564         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18565         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18569         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18571         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18572         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18573         to ...
18574         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18576         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18577         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18578         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18580         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18581         for x86-64.
18582         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18584 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18586         * math/math.h (M_El): Use two more decimal places.
18587         (M_LOG2El): Likewise.
18588         (M_LOG10El): Likewise.
18589         (M_LN2l): Likewise.
18590         (M_LN10l): Likewise.
18591         (M_PIl): Likewise.
18592         (M_PI_2l): Likewise.
18593         (M_PI_4l): Likewise.
18594         (M_1_PIl): Likewise.
18595         (M_2_PIl): Likewise.
18596         (M_2_SQRTPIl): Likewise.
18597         (M_SQRT2l): Likewise.
18598         (M_SQRT1_2l): Likewise.
18600 2012-05-31  David S. Miller  <davem@davemloft.net>
18602         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18603         values between float registers.
18604         * sysdeps/sparc/sparc64/memset.S: Likewise.
18605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18607 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18609         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18610         -D_FORTIFY_SOURCE=1.
18611         (CPPFLAGS-tst-longjmp_chk.c): Define.
18612         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18613         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18614         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18615         CFLAGS-tst-wchar-h.c.
18617 2012-05-31  Marek Polacek  <polacek@redhat.com>
18619         [BZ #14132]
18620         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18621         __endmntent_internal): Remove declaration.
18622         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18623         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18624         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18626 2012-05-30  David S. Miller  <davem@davemloft.net>
18628         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18629         (___Q_simulate_exceptions): Use real FP ops rather than writing
18630         into the %fsr.
18631         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18632         Likewise.
18634 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18636         [BZ #14117]
18637         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18638         * sysdeps/x86/bits/xtitypes.h: This.
18640         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18641         * sysdeps/x86/bits/wordsize.h: This.
18643         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18644         * sysdeps/x86/bits/huge_vall.h: This.
18646         * sysdeps/i386/bits/select.h: Removed.
18647         * sysdeps/x86_64/bits/select.h: Renamed to ...
18648         * sysdeps/x86/bits/select.h: This.
18650         * sysdeps/i386/bits/setjmp.h: Removed.
18651         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18652         * sysdeps/x86/bits/setjmp.h: This.
18654         * sysdeps/i386/bits/mathdef.h: Removed.
18655         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18656         * sysdeps/x86/bits/mathdef.h: This.
18658 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18660         [BZ #14132]
18661         * include/sys/socket.h (__connect_internal)
18662         (__libc_sa_len_internal): Remove declaration.
18663         (__connect, __libc_sa_len): Declare hidden_proto.
18664         (SA_LEN): Remove use of INTUSE.
18665         * socket/connect.c: Add libc_hidden_def.
18666         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18667         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18668         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18669         alias.
18670         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18671         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18672         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18673         of adding _internal alias.
18675 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18677         [BZ #14117]
18678         * sysdeps/i386/bits/link.h: Removed.
18679         * sysdeps/i386/bits/linkmap.h: Likewise.
18680         * sysdeps/x86_64/bits/link.h: Renamed to ...
18681         * sysdeps/x86/bits/link.h: This.
18682         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18683         * sysdeps/x86/bits/linkmap.h: This.
18685         * sysdeps/i386/bits/endian.h: Removed.
18686         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18687         * sysdeps/x86/bits/endian.h: This.
18689         * sysdeps/i386/bits/byteswap.h: Removed.
18690         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18691         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18692         * sysdeps/x86/bits/byteswap.h: This.
18693         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18694         * sysdeps/x86/bits/byteswap-16.h: This.
18695         * sysdeps/i386/Implies: Add x86.
18696         * sysdeps/x86_64/Implies: Likewise.
18698 2012-05-30  David S. Miller  <davem@davemloft.net>
18700         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18701         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18702         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18703         (FP_TRAPPING_EXCEPTIONS): Define.
18704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18705         (FP_TRAPPING_EXCEPTIONS): Define.
18706         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18707         subnormals only when inexact has been signalled or underflow
18708         exceptions are enabled.
18709         (_FP_PACK_CANONICAL): Likewise.
18711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18713         [BZ #14183]
18714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18715         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18717 2012-05-30  Richard Henderson  <rth@twiddle.net>
18719         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18720         with #ifndef NOT_IN_libc.
18722         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18723         marked to avoid plt entry.
18725 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18727         [BZ #14112]
18728         * Makeconfig (default-abi): New macro.
18729         (abi-includes): Likewise.
18730         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18731         $(abi-$(default-abi)-lib-soname) for soname if defined.
18732         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18733         abi-variants.
18734         * Makefile (installed-stubs): Likewise.
18735         * include/stubs-biarch.h: Removed.
18736         * scripts/lib-names.awk: Only handle one library at a time.
18737         * scripts/soversions.awk: Remove WORDSIZE support.
18738         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18739         entries.
18740         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18741         Removed.
18742         (syscall-list-default-condition): Likewise.
18743         (syscall-list-default-condition): Likewise.
18744         (syscall-list-includes): Likewise.
18745         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18746         syscall-list-* with abi-*.  Handle undefined abi-variants.
18747         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18748         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18749         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18750         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18751         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18752         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18753         Removed.
18754         (syscall-list-32-options): Likewise.
18755         (syscall-list-32-condition): Likewise.
18756         (syscall-list-64-options): Likewise.
18757         (syscall-list-64-condition): Likewise.
18758         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18759         macro.
18760         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18761         Renamed to ...
18762         (abi-*): This.
18763         (abi-64-ld-soname): New macro.
18764         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18765         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18766         Renamed to ...
18767         (abi-*): This.
18768         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18769         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18771 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18773         * sysdeps/unix/sysv/linux/kernel-features.h
18774         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18775         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18776         include <kernel-features.h>.
18777         [!__NR_ftruncate64]: Remove conditional code.
18778         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18779         [__NR_ftruncate64]: Make code unconditional.
18780         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18781         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18782         include <kernel-features.h>.
18783         [!__NR_ftruncate64]: Remove conditional code.
18784         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18785         [__NR_ftruncate64]: Make code unconditional.
18786         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18788         include <kernel-features.h>.
18789         [!__NR_ftruncate64]: Remove conditional code.
18790         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18791         [__NR_ftruncate64]: Make code unconditional.
18792         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18794         include <kernel-features.h>.
18795         [!__NR_ftruncate64]: Remove conditional code.
18796         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18797         [__NR_ftruncate64]: Make code unconditional.
18798         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18800         * configure.in (libc_cv_fpie): Weaken to a compile test using
18801         LIBC_TRY_CC_OPTION.
18802         * configure: Regenerated.
18804 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18810         Refreshed.
18811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18817         Refreshed.
18819 2012-05-27  David S. Miller  <davem@davemloft.net>
18821         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18822         (___Q_zero): New.
18823         (__Q_simulate_exceptions): Return void.  Change to simulate
18824         exceptions by writing into the %fsr.
18825         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18826         (__Qp_handle_exceptions): Likewise.
18827         (numbers): Delete.
18828         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18829         __Qp_handle_exceptions.
18830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18831         __Qp_handle_exceptions.
18832         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18833         as unused and give dummy FP_RND_NEAREST initializer.
18834         (FP_INHIBIT_RESULTS): Define.
18835         (___Q_simulate_exceptions): Update declaration.
18836         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18837         formatting.
18838         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18839         as unused and give dummy FP_RND_NEAREST initializer.
18840         (__Qp_handle_exceptions): Update declaration.
18841         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18842         formatting.
18844 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18846         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18847         the temporary FPU control word.
18848         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18849         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18850         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18851         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18852         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18853         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18854         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18855         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18856         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18857         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18858         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18860 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18862         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18863         fields.
18865 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18867         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18868         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18869         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18870         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18871         Likewise.
18872         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18873         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18874         Likewise.
18876 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18878         * po/h.po: Update from translation team.
18880 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18882         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18884         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18885         handling of denormals.
18886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18887         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18888         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18889         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18893         Likewise.
18895 2012-05-26  Marek Polacek  <polacek@redhat.com>
18897         [BZ #14152]
18898         * math/libm-test.inc (fma_test): Don't always expect underflow
18899         exception.
18901 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18903         [BZ #12416]
18904         * elf/tst-execstack.c: Include stackinfo.h.
18905         (do_test): Adjust test case to ensure that pthread_getattr_np
18906         behaviour remains the same after marking stack executable.
18908 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18910         * sysdeps/unix/sysv/linux/kernel-features.h
18911         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18912         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18913         kernel-features.h.
18914         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18915         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18916         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18917         kernel-features.h.
18918         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18919         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18921 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18923         * configure.in: Define the default includes to being none.
18924         * configure: Regenerated.
18926 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18928         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18929         * sysdeps/x86_64/setjmp.S: Likewise.
18930         * sysdeps/i386/bsd-setjmp.S: Likewise.
18931         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18932         * sysdeps/i386/setjmp.S: Likewise.
18933         * sysdeps/i386/__longjmp.S: Likewise.
18934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18935         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18937         * include/stap-probe.h: New file.
18938         * configure.in: Handle --enable-systemtap.
18939         * configure: Regenerated.
18940         * config.h.in (USE_STAP_PROBE): New #undef.
18941         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18942         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18943         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18947         [BZ #13717]
18948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18949         to 2.4.0 where earlier.
18950         * sysdeps/unix/sysv/linux/configure: Regenerated.
18951         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18952         <kernel-features.h>.
18953         [__ASSUME_32BITUIDS]: Make code unconditional.
18954         [!__ASSUME_32BITUIDS]: Remove conditional code.
18955         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18956         <kernel-features.h>.
18957         [__ASSUME_32BITUIDS]: Make code unconditional.
18958         [!__ASSUME_32BITUIDS]: Remove conditional code.
18959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18960         [__ASSUME_32BITUIDS]: Make code unconditional.
18961         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18962         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18963         <kernel-features.h>.
18964         [__ASSUME_32BITUIDS]: Make code unconditional.
18965         [!__ASSUME_32BITUIDS]: Remove conditional code.
18966         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18967         <kernel-features.h>.
18968         [__ASSUME_32BITUIDS]: Make code unconditional.
18969         [!__ASSUME_32BITUIDS]: Remove conditional code.
18970         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18971         <kernel-features.h>.
18972         [__ASSUME_32BITUIDS]: Make code unconditional.
18973         [!__ASSUME_32BITUIDS]: Remove conditional code.
18974         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18975         <kernel-features.h>.
18976         [__ASSUME_32BITUIDS]: Make code unconditional.
18977         [!__ASSUME_32BITUIDS]: Remove conditional code.
18978         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18979         <kernel-features.h>.
18980         [__ASSUME_32BITUIDS]: Make code unconditional.
18981         [!__ASSUME_32BITUIDS]: Remove conditional code.
18982         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18983         <kernel-features.h>.
18984         [__ASSUME_32BITUIDS]: Make code unconditional.
18985         [!__ASSUME_32BITUIDS]: Remove conditional code.
18986         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18987         <kernel-features.h>.
18988         [__ASSUME_32BITUIDS]: Make code unconditional.
18989         [!__ASSUME_32BITUIDS]: Remove conditional code.
18990         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18991         <kernel-features.h>.
18992         [__ASSUME_32BITUIDS]: Make code unconditional.
18993         [!__ASSUME_32BITUIDS]: Remove conditional code.
18994         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18995         <kernel-features.h>.
18996         [__ASSUME_32BITUIDS]: Make code unconditional.
18997         [!__ASSUME_32BITUIDS]: Remove conditional code.
18998         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18999         <kernel-features.h>.
19000         [__ASSUME_32BITUIDS]: Make code unconditional.
19001         [!__ASSUME_32BITUIDS]: Remove conditional code.
19002         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19003         <kernel-features.h>.
19004         [__NR_setresgid] (__setresgid): Do not declare.
19005         [__ASSUME_32BITUIDS]: Make code unconditional.
19006         [!__ASSUME_32BITUIDS]: Remove conditional code.
19007         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19008         <kernel-features.h>.
19009         [__NR_setresuid] (__setresuid): Do not declare.
19010         [__ASSUME_32BITUIDS]: Make code unconditional.
19011         [!__ASSUME_32BITUIDS]: Remove conditional code.
19012         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19013         <kernel-features.h>.
19014         [__ASSUME_32BITUIDS]: Make code unconditional.
19015         [!__ASSUME_32BITUIDS]: Remove conditional code.
19016         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19017         <kernel-features.h>.
19018         [__ASSUME_32BITUIDS]: Make code unconditional.
19019         [!__ASSUME_32BITUIDS]: Remove conditional code.
19020         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19021         <kernel-features.h>.
19022         [__ASSUME_32BITUIDS]: Make code unconditional.
19023         [!__ASSUME_32BITUIDS]: Remove conditional code.
19024         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19025         <kernel-features.h>.
19026         [__ASSUME_32BITUIDS]: Make code unconditional.
19027         [!__ASSUME_32BITUIDS]: Remove conditional code.
19028         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19029         <kernel-features.h>.
19030         [__ASSUME_32BITUIDS]: Make code unconditional.
19031         [!__ASSUME_32BITUIDS]: Remove conditional code.
19032         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19033         <kernel-features.h>.
19034         [__ASSUME_32BITUIDS]: Make code unconditional.
19035         [!__ASSUME_32BITUIDS]: Remove conditional code.
19036         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19037         <kernel-features.h>.
19038         [__ASSUME_32BITUIDS]: Make code unconditional.
19039         [!__ASSUME_32BITUIDS]: Remove conditional code.
19040         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19041         <kernel-features.h>.
19042         [__ASSUME_32BITUIDS]: Make code unconditional.
19043         [!__ASSUME_32BITUIDS]: Remove conditional code.
19044         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19045         <kernel-features.h>.
19046         [__ASSUME_32BITUIDS]: Make code unconditional.
19047         [!__ASSUME_32BITUIDS]: Remove conditional code.
19048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19049         <kernel-features.h>.
19050         [__ASSUME_32BITUIDS]: Make code unconditional.
19051         [!__ASSUME_32BITUIDS]: Remove conditional code.
19052         * sysdeps/unix/sysv/linux/kernel-features.h
19053         (__ASSUME_SETRESUID_SYSCALL): Remove.
19054         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19055         (__ASSUME_32BITUIDS): Likewise.
19056         (__ASSUME_LDT_WORKS): Likewise.
19057         (__ASSUME_O_DIRECTORY): Likewise.
19058         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19059         architecture but not kernel version.
19060         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19061         (__ASSUME_MMAP2_SYSCALL): Likewise.
19062         (__ASSUME_STAT64_SYSCALL): Likewise.
19063         (__ASSUME_IPC64): Likewise.
19064         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19065         <kernel-features.h>.
19066         [__ASSUME_32BITUIDS]: Make code unconditional.
19067         [!__ASSUME_32BITUIDS]: Remove conditional code.
19068         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19069         <kernel-features.h>.
19070         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19071         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19072         132096]: Remove conditional code.
19073         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19074         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19075         <kernel-features.h>.
19076         [__ASSUME_32BITUIDS]: Make code unconditional.
19077         [!__ASSUME_32BITUIDS]: Remove conditional code.
19078         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19079         <kernel-features.h>.
19080         [__ASSUME_32BITUIDS]: Make code unconditional.
19081         [!__ASSUME_32BITUIDS]: Remove conditional code.
19082         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19083         <kernel-features.h>.
19084         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19085         unconditional.
19086         (__setresgid): Do not declare.
19087         [__ASSUME_32BITUIDS]: Make code unconditional.
19088         [!__ASSUME_32BITUIDS]: Remove conditional code.
19089         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19090         <kernel-features.h>.
19091         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19092         unconditional.
19093         (__setresuid): Do not declare.
19094         [__ASSUME_32BITUIDS]: Make code unconditional.
19095         [!__ASSUME_32BITUIDS]: Remove conditional code.
19096         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19097         <kernel-features.h>.
19098         [__ASSUME_32BITUIDS]: Make code unconditional.
19099         [!__ASSUME_32BITUIDS]: Remove conditional code.
19100         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19101         <kernel-features.h>.
19102         [__ASSUME_32BITUIDS]: Make code unconditional.
19103         [!__ASSUME_32BITUIDS]: Remove conditional code.
19105 2012-05-25  Richard Henderson  <rth@twiddle.net>
19107         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19108         dl_hwcap to ifunc resolver.
19109         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19110         elf_ifunc_invoke.
19111         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19112         dl_hwcap to ifunc resolver.
19113         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19115 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19117         [BZ #14153]
19118         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19119         for |x| <= 2**-26, not 2**-57.
19120         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19121         exception.
19123 2012-05-24  Jeff Law  <law@redhat.com>
19125         * stdio-common/Makefile (tests): Add bug25.
19126         * stdio-common/bug25.c: New test.
19128 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19130         [BZ #13576]
19131         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19132         multiple of MALLOC_ALIGNMENT in size.
19133         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19135 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19137         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19138         Require >= 256.
19139         (FILENAME_MAX): Use macro-int-constant.
19140         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19141         (_IOFBF): Use macro-int-constant.
19142         (_IOLBF): Likewise.
19143         (_IONBF): Likewise.
19144         (SEEK_CUR): Likewise.
19145         (SEEK_END): Likewise.
19146         (SEEK_SET): Likewise.
19147         (TMP_MAX): Likewise.
19148         (EOF): Use macro-int-constant.  Require < 0.
19149         (NULL): Use macro-constant.  Require == 0.
19150         (stdin): Require type to be FILE *.
19151         (stdout): Likewise.
19152         (stderr): Likewise.
19153         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19154         macro-int-constant.
19155         (EXIT_SUCCESS): Likewise.
19156         (NULL): Use macro-constant.  Require == 0.
19157         (RAND_MAX): Use macro-int-constant.
19158         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19159         [C99-based standards] (strtof): Require function.
19160         [C99-based standards] (strtold): Likewise.
19161         [C99-based standards] (strtoll): Likewise.
19162         [C99-based standards] (strtoull): Likewise.
19163         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19164         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19165         [ISO || ISO99 || ISO11] (math.h): Likewise.
19166         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19167         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19170 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19172         [BZ #14132]
19173         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19174         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19175         * intl/dgettext.c (DCGETTEXT): Likewise.
19176         * intl/gettext.c (DCGETTEXT): Likewise.
19177         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19178         * posix/regex_internal.h (gettext): Likewise.
19179         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19180         Remove declaration.
19181         * include/argz.h (__argz_count_internal)
19182         (__argz_stringify_internal): Remove declaration.
19183         (__argz_count, __argz_stringify): Declare hidden proto.
19184         * intl/dcgettext.c: Remove use of INTDEF.
19185         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19186         * string/argz-stringify.c: Likewise.
19187         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19188         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19189         Declare hidden proto.
19190         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19191         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19192         Declare hidden proto.
19193         * include/stdio.h (__asprintf_internal): Don't declare.
19194         (__asprintf): Don't define as macro.  Declare hidden proto.
19195         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19196         (__fsetlocking): Declare hidden proto.
19197         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19198         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19199         hidden proto.
19200         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19201         (_IO_setlinebuf): Remove use of INTUSE.
19202         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19203         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19204         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19205         Remove declaration.
19206         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19207         (_IO_do_flush): Remove use of INTUSE.
19208         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19209         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19210         (_IO_adjust_column, _IO_least_wmarker)
19211         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19212         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19213         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19214         (_IO_default_doallocate, _IO_wdefault_doallocate)
19215         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19216         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19217         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19218         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19219         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19220         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19221         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19222         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19223         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19224         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19225         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19226         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19227         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19228         proto.
19229         (_IO_flush_all_internal, _IO_adjust_column_internal)
19230         (_IO_default_uflow_internal, _IO_default_finish_internal)
19231         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19232         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19233         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19234         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19235         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19236         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19237         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19238         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19239         (_IO_file_close_internal, _IO_file_close_it_internal)
19240         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19241         (_IO_file_init_internal, _IO_file_attach_internal)
19242         (_IO_file_fopen_internal, _IO_file_read_internal)
19243         (_IO_file_sync_internal, _IO_file_seek_internal)
19244         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19245         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19246         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19247         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19248         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19249         (_IO_list_all_internal, _IO_link_in_internal)
19250         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19251         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19252         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19253         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19254         (_IO_do_write_internal, _IO_padn_internal)
19255         (_IO_getline_info_internal, _IO_getline_internal)
19256         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19257         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19258         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19259         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19260         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19261         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19262         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19263         with libc_hidden_ver, remove use of INTUSE.
19264         * libio/genops.c: Likewise.
19265         * libio/freopen.c: Likewise.
19266         * libio/freopen64.c: Likewise.
19267         * libio/iofclose.c: Likewise.
19268         * libio/iofdopen.c: Likewise.
19269         * libio/iofflush.c: Likewise.
19270         * libio/iofflush_u.c: Likewise.
19271         * libio/iofgets.c: Likewise.
19272         * libio/iofgets_u.c: Likewise.
19273         * libio/iofopen.c: Likewise.
19274         * libio/iofopncook.c: Likewise.
19275         * libio/iofread.c: Likewise.
19276         * libio/iofread_u.c: Likewise.
19277         * libio/ioftell.c: Likewise.
19278         * libio/iofwrite.c: Likewise.
19279         * libio/iogetline.c: Likewise.
19280         * libio/iogets.c: Likewise.
19281         * libio/iogetwline.c: Likewise.
19282         * libio/iopadn.c: Likewise.
19283         * libio/iopopen.c: Likewise.
19284         * libio/ioseekoff.c: Likewise.
19285         * libio/ioseekpos.c: Likewise.
19286         * libio/iosetbuffer.c: Likewise.
19287         * libio/iosetvbuf.c: Likewise.
19288         * libio/ioungetc.c: Likewise.
19289         * libio/ioungetwc.c: Likewise.
19290         * libio/iovdprintf.c: Likewise.
19291         * libio/iovsprintf.c: Likewise.
19292         * libio/iovsscanf.c: Likewise.
19293         * libio/memstream.c: Likewise.
19294         * libio/obprintf.c: Likewise.
19295         * libio/oldfileops.c: Likewise.
19296         * libio/oldiofclose.c: Likewise.
19297         * libio/oldiofdopen.c: Likewise.
19298         * libio/oldiofopen.c: Likewise.
19299         * libio/oldiopopen.c: Likewise.
19300         * libio/oldstdfiles.c: Likewise.
19301         * libio/putc.c: Likewise.
19302         * libio/setbuf.c: Likewise.
19303         * libio/setlinebuf.c: Likewise.
19304         * libio/stdfiles.c: Likewise.
19305         * libio/strops.c: Likewise.
19306         * libio/vasprintf.c: Likewise.
19307         * libio/vscanf.c: Likewise.
19308         * libio/vsnprintf.c: Likewise.
19309         * libio/vswprintf.c: Likewise.
19310         * libio/wfiledoalloc.c: Likewise.
19311         * libio/wfileops.c: Likewise.
19312         * libio/wgenops.c: Likewise.
19313         * libio/wmemstream.c: Likewise.
19314         * libio/wstrops.c: Likewise.
19315         * libio/__fpurge.c: Likewise.
19316         * libio/__fsetlocking.c: Likewise.
19317         * assert/assert.c: Likewise.
19318         * debug/fgets_chk.c: Likewise.
19319         * debug/fgets_u_chk.c: Likewise.
19320         * debug/fread_chk.c: Likewise.
19321         * debug/fread_u_chk.c: Likewise.
19322         * debug/gets_chk.c: Likewise.
19323         * debug/obprintf_chk.c: Likewise.
19324         * debug/vasprintf_chk.c: Likewise.
19325         * debug/vdprintf_chk.c: Likewise.
19326         * debug/vsnprintf_chk.c: Likewise.
19327         * debug/vsprintf_chk.c: Likewise.
19328         * malloc/mtrace.c: Likewise.
19329         * misc/error.c: Likewise.
19330         * misc/syslog.c: Likewise.
19331         * stdio-common/asprintf.c: Likewise.
19332         * stdio-common/fxprintf.c: Likewise.
19333         * stdio-common/getw.c: Likewise.
19334         * stdio-common/isoc99_fscanf.c: Likewise.
19335         * stdio-common/isoc99_scanf.c: Likewise.
19336         * stdio-common/isoc99_vfscanf.c: Likewise.
19337         * stdio-common/isoc99_vscanf.c: Likewise.
19338         * stdio-common/isoc99_vsscanf.c: Likewise.
19339         * stdio-common/printf-prs.c: Likewise.
19340         * stdio-common/printf_fp.c: Likewise.
19341         * stdio-common/printf_fphex.c: Likewise.
19342         * stdio-common/printf_size.c: Likewise.
19343         * stdio-common/putw.c: Likewise.
19344         * stdio-common/scanf.c: Likewise.
19345         * stdio-common/sprintf.c: Likewise.
19346         * stdio-common/tmpfile.c: Likewise.
19347         * stdio-common/vfprintf.c: Likewise.
19348         * stdio-common/vfscanf.c: Likewise.
19349         * stdlib/strfmon_l.c: Likewise.
19350         * sunrpc/openchild.c: Likewise.
19351         * sunrpc/xdr_stdio.c: Likewise.
19352         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19353         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19355 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19357         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19359         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19360         in the third column, to generate for the shared library an IFUNC
19361         that uses _dl_vdso_vsym.
19362         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19363         * Makeconfig (object-suffixes-noshared): New variable.
19365         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19366         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19367         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19368         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19370         [BZ #14132]
19371         * include/sys/time.h (__gettimeofday): Remove macro.
19372         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19373         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19374         Remove INTDEF.
19375         (__gettimeofday): Add libc_hidden_def.
19376         (gettimeofday): Add libc_hidden_weak.
19377         * sysdeps/mach/gettimeofday.c: Likewise.
19378         * sysdeps/posix/gettimeofday.c: Likewise.
19379         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19380         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19382         (__gettimeofday_internal): Remove strong_alias.
19383         (__gettimeofday): Add libc_hidden_def.
19384         (gettimeofday): Add libc_hidden_weak.
19385         * sysdeps/unix/syscalls.list (gettimeofday):
19386         Remove __gettimeofday_internal alias.
19388 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19389             H.J. Lu  <hongjiu.lu@intel.com>
19391         [BZ #12495]
19392         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19393         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19394         (largebin_index_32_big): New.
19395         (largebin_index): Use it for 16-byte alignment.
19396         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19397         correction with front_misalign.
19399 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19403         Likewise.
19404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19405         Likewise.
19406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19407         Likewise.
19408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19409         Likewise.
19410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19411         Likewise.
19412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19413         Likewise.
19414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19415         Likewise.
19416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19417         Likewise.
19418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19419         Likewise.
19420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19421         Likewise.
19422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19423         Likewise.
19424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19425         Likewise.
19427         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19428         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19430 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19432         [BZ #10846]
19433         [BZ #14036]
19434         * math/libm-test.inc (exp_test): Add test from bug 14036.
19435         (pow_test): Add test from bug 10846.
19437         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19438         and other flags.
19439         (special_function): Do not include flags in test name.
19440         (parse_args): Likewise.
19441         * sysdeps/i386/fpu/libm-test-ulps: Update.
19442         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19443         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19444         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19447         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19448         exceptions.
19449         * math/libm-test.inc ("Philosophy"): Update comment about
19450         exception testing.
19451         (UNDERFLOW_EXCEPTION): New macro.
19452         (UNDERFLOW_EXCEPTION_OK): Likewise.
19453         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19454         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19455         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19456         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19457         (INVALID_EXCEPTION_OK): Update value.
19458         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19459         (OVERFLOW_EXCEPTION_OK): Likewise.
19460         (IGNORE_ZERO_INF_SIGN): Likewise.
19461         (test_exceptions): Handle underflow exceptions.
19462         (acos_test): Update for underflow exception expectations.
19463         (cexp_test): Likewise.
19464         (clog_test): Likewise.
19465         (clog10_test): Likewise.
19466         (csqrt_test): Likewise.
19467         (ctan_test): Likewise.
19468         (ctanh_test): Likewise.
19469         (exp_test): Likewise.
19470         (exp10_test): Likewise.
19471         (exp2_test): Likewise.
19472         (expm1_test): Likewise.
19473         (fma_test): Likewise.
19474         (j0_test): Likewise.
19475         (jn_test): Likewise.
19476         (nexttoward_test): Likewise.
19477         (pow_test): Likewise.
19478         (scalbn_test): Likewise.
19479         (scalbln_test): Likewise.
19480         (tan_test): Likewise.
19481         (y1_test): Likewise.
19482         * sysdeps/i386/fpu/libm-test-ulps: Update.
19483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485 2012-05-23  David S. Miller  <davem@davemloft.net>
19487         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19488         (__libc_sigaction): Remove unused local variables.
19490 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19492         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19494 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19496         mktime: avoid signed integer overflow
19497         * time/mktime.c (__mktime_internal): Do not mishandle the case
19498         where diff == INT_MIN.
19500         mktime: simplify computation of average
19501         * time/mktime.c (ranged_convert): Use new time_t_avg function
19502         instead of rolling our own (probably-slower) code.
19504         mktime: do not assume signed right shift propagates sign bit
19505         * time/mktime.c (isdst_differ): New static function.
19506         (__mktime_internal): No need to normalize tm_isdst now.
19507         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19508         tm_isdst values.
19510         mktime: merge another wrapv change from gnulib
19511         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19512         from some compilers.
19514         mktime: remove incorrect attempt at unusual arithmetics
19515         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19516         The code didn't really work on such machines anyway.
19517         (TYPE_MINIMUM): Assume two's complement.
19518         (twos_complement_arithmetic): Verify that long_int and time_t
19519         are two's complement (or unsigned, in the latter case).
19521         mktime: check signed shifts on long_int and time_t, too
19522         * time/mktime.c (SHR): Check that shifts work as desired
19523         on the types long_int and time_t too, as SHR is used on
19524         such types.
19526         mktime: do not assume 'long' is wide enough
19527         * time/mktime.c (verify): Move decl up.
19528         (long_int): New type.
19529         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19530         to remove assumption in the code that 'long' is wide enough to
19531         store year values.  This assumption is not true on x32 and on
19532         some non-glibc platforms.
19534         mktime: merge wrapv change from gnulib
19535         * time/mktime.c (WRAPV): New macro.
19536         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19537         (guess_time_tm, __mktime_internal): Do not assume that signed
19538         integer overflow wraps around; modern compilers generate code
19539         where this assumption is no longer valid.
19541 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19543         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19544         Replace "jmp L(pseudo_end)" with "ret".
19545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19546         Likewise.
19548 2012-05-23  Andreas Jaeger  <aj@suse.de>
19550         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19551         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19553 2012-05-23  Andreas Jaeger  <aj@suse.de>
19554             Maximilian Attems  <max@stro.at>
19556         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19557         New macros.
19559 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19562         code so that pseudo_end is just ret and the stack pointer is
19563         correct also for static library in error case.
19565 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19567         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19568         move to syscalls.list.
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19574         * manual/install.texi (Running make install): Do not mention Linux
19575         kernel version for which pt_chown is not needed.
19576         (Linux): Do not mention problems with nscd with 2.0 kernels.
19577         * INSTALL: Regenerated.
19579 2012-05-23  Andreas Jaeger  <aj@suse.de>
19581         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19582         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19583         macro.
19584         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19585         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19586         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19587         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19588         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19589         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19590         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19591         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19592         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19593         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19594         * sysdeps/unix/sysv/linux/bits/in.h
19595         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19597 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19599         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19600         (PREPARE_VERSION): Just use assert instead, it will be elided
19601         under [NDEBUG] anyway.
19603 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19605         * sysdeps/unix/sysv/linux/Makefile: Include
19606         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19607         (sysdep_routines): Remove sysctl.
19608         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19609         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19610         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19611         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19612         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19614 2012-05-22  Andreas Jaeger  <aj@suse.de>
19616         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19617         that pseudo_end is just ret and the stack pointer is correct also
19618         for static library in error case.
19620 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19622         [BZ #14122]
19623         * nss/nsswitch.c (defconfig_entries): New variable.
19624         (__nss_database_lookup): Don't leak defconfig entries.
19625         (nss_parse_service_list): Don't leak on error paths.
19626         (free_database_entries): New function.
19627         (free_defconfig): New function.
19628         (free_mem): Move common code to free_database_entries.
19630 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19632         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19633         Add arch_prctl.
19634         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19636         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19637         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19639         New macro.
19640         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19641         (INTERNAL_SYSCALL_TYPES): Likewise.
19642         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19643         (LOAD_REGS_TYPES_[1-6]): Likewise.
19644         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19645         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19647 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19649         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19650         copysignl for GLIBC_2_0.
19651         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19652         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19654         logbl for GLIBC_2_0.
19655         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19658 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19660         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19661         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19663         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19664         Use "neg %eax".
19666         * time/mktime.c: Update copyright years.
19668 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19670         mktime: merge comment-quoting-style change from gnulib
19671         * time/mktime.c: Quote 'like this' in comments.
19672         The GNU coding standards suggest that we no longer quote `like this',
19673         as "`" and "'" are typically rendered asymmetrically nowadays.
19674         The typical gnulib style is to quote 'like this' when quoting
19675         code, and "like this" when quoting English.
19677         * time/mktime.c (compile-command): Add "-I.".
19679         mktime: merge mktime-internal.h change from gnulib
19680         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19682         mktime: merge time_r change from gnulib
19683         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19685         mktime: merge DEBUG change from gnulib
19686         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19687         case system <time.h> has a #define.
19689         mktime: merge <sys/types.h> change from gnulib
19690         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19691         since <time.t> is now guaranteed to define time_t.
19693         mktime: merge HAVE_CONFIG_H change from gnulib
19694         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19696 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19699         Use "neg %eax".
19701         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19702         __rlim_t cast.
19703         (struct rusage): Use anonymous union to pad each field to
19704         __syscall_slong_t.
19706 2012-05-21  David S. Miller  <davem@davemloft.net>
19708         * Makefules (o-iterator): Remove .s cases.
19709         (compile-command.s): Delete.
19710         (COMPILE.s): Delete.
19711         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19713 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19715         * configure.in (libc_cv_predef_stack_protector): Only consider
19716         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19717         * configure: Regenerated.
19719 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19722         New macro.  Use R*LP on int and pointer.
19723         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19724         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19725         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19726         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19728         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19729         [__WORDSIZE_TIME64_COMPAT32] instead of
19730         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19731         (struct utmp): Likewise.
19732         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19733         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19734         Renamed to ...
19735         (__WORDSIZE_TIME64_COMPAT32): This.
19736         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19737         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19738         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19739         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19740         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19741         (__WORDSIZE_TIME64_COMPAT32): New macro.
19743 2012-05-21  Andreas Jaeger  <aj@suse.de>
19745         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19746         only if [SHARED]. Add prototype for __wcschr_ia32.
19748 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19750         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19751         of %rbp unmolested in the jmp_buf while mangling the low bits.
19752         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19753         unmolested high bits of %rbp while demangling the low bits.
19754         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19756 2012-05-21  Andreas Jaeger  <aj@suse.de>
19758         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19759         * sunrpc/svc_simple.c: Use it for registerrpc.
19760         * sunrpc/xcrypt.c: Use it for passwd2des.
19762         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19764 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19766         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19767         Don't define if [__SYSCALL_WORDSIZE != 32].
19768         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19769         New macro.
19771 2012-05-21  Bruno Haible  <bruno@clisp.org>
19772             Andreas Jaeger  <aj@suse.de>
19774         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19775         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19776         inptr and inend for must_buffer_ch.
19777         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19778         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19779         * stdio-common/Makefile (tests): Remove bug15.
19780         (bug15-ENV): Remove macro.
19781         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19782         anymore.
19784 2012-05-19  Andreas Jaeger  <aj@suse.de>
19785             Roland McGrath  <roland@hack.frob.com>
19787         * manual/contrib.texi: Completely rewritten. It contains now an
19788         alphabetical list of contributors and their contributions.
19790 2012-05-21  Richard Henderson  <rth@twiddle.net>
19792         * misc/getauxval.c (__getauxval): Use unsigned long int.
19793         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19794         (getauxval): Use unsigned long int.
19796 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19798         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19800 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19802         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19803         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19804         __alignof__ (long double).
19806 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19810 2012-05-20  Richard Henderson  <rth@twiddle.net>
19812         * misc/getauxval.c: New file.
19813         * misc/sys/auxv.h: New file.
19814         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19815         (routines): Add getauxval.
19816         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19817         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19818         * elf/dl-sysdep.c (_dl_auxv): Remove.
19819         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19820         * elf/dl-support.c (_dl_auxv): New variable.
19821         (_dl_aux_init): Initialize it.
19822         * manual/startup.texi (Auxiliary Vector): New node.
19823         * sysdeps/generic/bits/hwcap.h: New file.
19824         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19825         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19826         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19827         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19828         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19829         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19831         Update.
19832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19841 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19845 2012-05-19  David S. Miller  <davem@davemloft.net>
19847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19849 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19851         [BZ #14123]
19852         * math/s_ccosh.c: Include <float.h>
19853         (__ccosh): Avoid internal overflow calculating sinh and cosh
19854         values before multiplying by sin and cos values.
19855         * math/s_ccoshf.c: Likewise.
19856         * math/s_ccoshl.c: Likewise.
19857         * math/s_csin.c: Likewise.
19858         * math/s_csinf.c: Likewise.
19859         * math/s_csinl.c: Likewise.
19860         * math/s_csinh.c: Likewise.
19861         * math/s_csinhf.c: Likewise.
19862         * math/s_csinhl.c: Likewise.
19863         * math/libm-test.inc (ccos_test): Add more tests.
19864         (ccosh_test): Likewise.
19865         (csin_test): Likewise.
19866         (csinh_test): Likewise.
19867         * sysdeps/i386/fpu/libm-test-ulps: Update.
19868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19870 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19872         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19873         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19875         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19877 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19879         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19880         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19881         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19882         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19883         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19884         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19885         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19886         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19887         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19888         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19889         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19890         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19891         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19892         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19893         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19894         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19895         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19896         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19897         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19898         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19899         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19900         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19901         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19902         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19903         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19904         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19905         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19906         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19907         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19908         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19909         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19911 2012-05-18  Andreas Jaeger  <aj@suse.de>
19913         * csu/.gitignore: Delete.
19915 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19917         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19918         (timex): Use __syscall_slong_t.
19920 2012-05-18  Andreas Jaeger  <aj@suse.de>
19921             Carlos O'Donell  <carlos_odonell@mentor.com>
19923         * manual/install.texi (Configuring and compiling): Update
19924         description about files modified in the source directory.
19925         * INSTALL: Regenerated.
19927 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19929         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19930         value.  Use "or" to set return value to -1.
19931         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19932         negate return value.
19934 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19936         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19937         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19938         failure if the compiler has Graphite support disabled.
19939         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19940         Likewise.
19941         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19942         CFLAGS-memmove.c): Likewise.
19943         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19944         Likewise.
19946 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19948         * sysdeps/x86_64/x32/_itoa.h: New file.
19950         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19951         getdents system call only if kernel and user dirents have the
19952         same d_ino and d_off.
19954         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19955         LLONG_MAX != LONG_MAX.
19956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19957         (_fitoa_word): Likewise.
19959         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19960         years.
19961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19962         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19963         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19965         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19966         include <bits/wordsize.h>.  Check __x86_64__ instead of
19967         __WORDSIZE.
19968         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19969         if __x86_64__ is defined.  Use anonymous union on fpstate.
19971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19972         anonymous union.
19974 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19976         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19977         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19978         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19979         Refer to _rtld_local_ro instead of _rtld_global_ro.
19980         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19981         Likewise.
19982         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19983         Likewise.
19984         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19985         Likewise.
19986         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19987         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19988         of _rtld_global, and rtld_progname instead of _dl_argv[0].
19990         * sysdeps/powerpc/powerpc32/dl-machine.c
19991         (__elf_machine_runtime_setup) [PROF]: Don't reference
19992         _dl_prof_resolve.
19994 2012-05-18  Andreas Jaeger  <aj@suse.de>
19996         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19997         function only available for GCCs before 3.4 since GCC 3.4
19998         introduced a builtin.
19999         (lrint): Likewise.
20000         (llrintf): Likewise.
20001         (llrint): Likewise.
20002         (fmaxf): Likewise.
20003         (fmax): Likewise.
20004         (fminf): Likewise.
20005         (fmin): Likewise.
20006         (rint): Likewise.
20007         (rintf): Likewise.
20008         (nearbyint): Likewise.
20009         (nearbyintf): Likewise.
20010         (ceil): Likewise.
20011         (ceilf): Likewise.
20012         (floor): Likewise.
20013         (floorf): Likewise.
20015 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20017         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20018         on both fields and cast pointer to __syscall_ulong_t.
20020         * bits/types.h (__fsword_t): New type.
20021         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20022         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20024         (__FSWORD_T_TYPE): Likewise.
20025         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20026         (__FSWORD_T_TYPE): Likewise.
20027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20028         (__FSWORD_T_TYPE): Likewise.
20029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20030         (__FSWORD_T_TYPE): Likewise.
20031         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20032         __SWORD_TYPE with __fsword_t.
20033         (statfs64): Likewise.
20035 2012-05-17  David S. Miller  <davem@davemloft.net>
20037         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20039 2012-05-17  Andreas Jaeger  <aj@suse.de>
20041         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20042         warning.
20044 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20046         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20048 2012-05-17  Andreas Jaeger  <aj@suse.de>
20050         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20051         when it is used.
20053 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20055         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20057 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20059         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20060         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20062 2012-05-17  Andreas Jaeger  <aj@suse.de>
20063             Carlos O'Donell  <carlos_odonell@mentor.com>
20065         [BZ #14059]
20066         * sysdeps/x86_64/multiarch/init-arch.h
20067         (bit_YMM_Usable): Rename to...
20068         (bit_AVX_Usable): ... this.
20069         (bit_FMA4_Usable): New macro.
20070         (bit_XMM_state): New macro.
20071         (bit_YMM_state): New macro.
20072         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20073         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20074         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20075         (CPUID_OSXSAVE): New macro.
20076         (CPUID_AVX): New macro.
20077         (CPUID_FMA4): New macro.
20078         (index_YMM_Usable): Rename to...
20079         (index_AVX_Usable): ... this.
20080         (HAS_AVX): Use HAS_ARCH_FEATURE.
20081         (HAS_FMA4): Likewise.
20082         (HAS_YMM_USABLE): Remove.
20083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20084         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20085         are present.
20086         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20087         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20088         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20089         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20090         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20092 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20094         * math/libm-test.c: Support platforms without multiple rounding modes.
20095         * math/bug-nextafter.c: Support platforms without FP exceptions.
20096         * math/bug-nexttoward.c: Likewise.
20097         * math/test-fenv.c: Likewise.
20098         * math/test-misc.c: Likewise.
20099         * stdlib/bug-getcontext.c: Likewise.
20101 2012-05-17  Andreas Jaeger  <aj@suse.de>
20103         * manual/examples/search.c (critter_cmp): Change signature to
20104         avoid warnings.
20105         * manual/string.texi (Collation Functions): Likewise.
20107 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20109         * bits/types.h: Fold copyright years.
20110         * bits/typesizes.h: Likewise.
20111         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20112         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20115         * time/time.h: Likewise.
20117 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20119         [BZ #208]
20120         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20121         in instead of returning them.  Return void.
20122         (__libc_mallinfo): Accumulate over all arenas.
20123         (__malloc_stats): Adjust for change in int_mallinfo interface.
20125 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20127         [BZ #10375]
20128         * configure.in (NM): Add AC_CHECK_TOOL for it.
20129         (libc_extra_cflags): New substituted variable.
20130         Check for -fstack-protector being used implicitly.
20131         * configure: Regenerated.
20132         * config.make.in (config-extra-cflags): New variable,
20133         gets @libc_extra_cflags@.
20134         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20136         [BZ #10375]
20137         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20138         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20139         * configure: Regenerated.
20140         * config.make.in (CPPUNDEFS): New substituted variable.
20141         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20142         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20143         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20145 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20147         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20148         (mq_attr): Use __syscall_slong_t.
20150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20152         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20153         Check __x86_64__ instead of __WORDSIZE.
20154         (_STAT_VER_LINUX): Likewise.
20155         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20156         __syscall_ulong_t and __syscall_slong_t.
20157         (stat64): Likewise.
20159 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20165         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20167 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20169         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20170         __syscall_ulong_t.
20172         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20173         include <bits/wordsize.h>.  Check __x86_64__ instead of
20174         __WORDSIZE.
20175         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20176         defined.
20177         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20180         include <bits/wordsize.h>.  Check __x86_64__ instead of
20181         __WORDSIZE.
20182         (user_regs_struct): Use "__extension__ unsigned long long"
20183         instead of "unsigned long" if __x86_64__ is defined.
20184         (user): Likewise.  Pad after pointer field if __ILP32__ is
20185         defined.
20187 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20189         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20190         versions 5 to 9.
20191         * configure: Regenerated.
20192         * manual/install.texi (texinfo): Increase version requirement to
20193         4.5 or later.
20194         * INSTALL: Regenerated.
20196         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20200         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20202         * sysdeps/x86_64/x32/ffs.c: New file.
20204         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20205         __syscall_ulong_t.
20206         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20207         defined.  Use __syscall_ulong_t.
20208         (shminfo): Use __syscall_ulong_t.
20209         (shm_info): Likewise.
20211         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20212         __syscall_ulong_t.
20214         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20215         <bits/wordsize.h>.
20216         (msgqnum_t): Use __syscall_ulong_t.
20217         (msglen_t): Likewise.
20218         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20219         __syscall_ulong_t.
20221         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20222         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20224         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20226         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20227         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20229         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20230         __syscall_slong_t.
20232         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20233         include <bits/wordsize.h>.  Check __x86_64__ instead of
20234         __WORDSIZE.
20236         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20237         "unsigned long long int" if __x86_64__ is defined.
20238         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20240         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20241         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20242         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20244         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20245         <stdint.h>.
20246         (GET_PC): Cast to uintptr_t first.
20247         (GET_FRAME): Likewise.
20248         (GET_STACK): Likewise.
20250         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20251         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20252         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20253         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20254         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20255         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20256         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20257         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20258         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20259         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20261         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20262         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20263         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20264         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20265         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20266         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20267         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20269         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20270         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20271         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20272         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20273         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20274         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20275         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20277         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20278         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20280 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20282         * Makerules (+depfiles): Also collect depfiles from .oS in
20283         $(extra-objs).
20284         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20285         .oS, $(libnldbl-routines)).
20287         * Makerules (native-compile-mkdep-flags): Define.
20288         * sunrpc/Makefile (extra-objs): Add $(addprefix
20289         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20290         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20291         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20292         calling $(make-target-directory).
20294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20296         * bits/types.h (__snseconds_t): Removed.
20297         * time/time.h (struct timespec): Replace __snseconds_t with
20298         __syscall_slong_t.
20299         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20300         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20301         Likewise.
20302         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20303         (__SNSECONDS_T_TYPE): Likewise.
20304         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20305         (__SNSECONDS_T_TYPE): Likewise.
20306         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20307         (__SNSECONDS_T_TYPE): Likewise.
20309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20311         * sysdeps/mach/hurd/bits/typesizes.h
20312         (__SYSCALL_SLONG_TYPE): New macro.
20313         (__SYSCALL_ULONG_TYPE): Likewise.
20315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20317         * bits/types.h (__syscall_slong_t): New type.
20318         (__syscall_ulong_t): Likewise.
20320         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20321         (__SYSCALL_ULONG_TYPE): Likewise.
20322         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20323         (__SYSCALL_SLONG_TYPE): Likewise.
20324         (__SYSCALL_ULONG_TYPE): Likewise.
20325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20326         (__SYSCALL_SLONG_TYPE): Likewise.
20327         (__SYSCALL_ULONG_TYPE): Likewise.
20328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20329         (__SYSCALL_SLONG_TYPE): Likewise.
20330         (__SYSCALL_ULONG_TYPE): Likewise.
20332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20334         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20335         Add sigaltstack-offsets.sym.
20336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20337         <sigaltstack-offsets.h>.
20338         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20339         longjmp_msg pointer.
20340         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20341         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20342         signal stack.
20343         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20345 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20347         * elf/stackguard-macros.h: Remove file.
20348         * sysdeps/generic/stackguard-macros.h: New file.
20349         * sysdeps/i386/stackguard-macros.h: Likewise.
20350         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20351         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20352         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20353         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20354         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20355         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20356         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20357         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20358         <elf/stackguard-macros.h>.
20360         [BZ #14109]
20361         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20362         __aligned__ in attribute.
20363         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20364         (gregset_t): Likewise.
20366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20368         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20369         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20370         * sysdeps/x86_64/x32/Implies-after: New file.
20372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20374         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20375         and access return value for _dl_profile_fixup.  Use R10_LP to
20376         load frame size.
20378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20380         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20384         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20385         * sysdeps/x86_64/x32/sysdep.h: New file.
20387 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20389         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20390         * sysdeps/x86_64/setjmp.S: Likewise.
20392 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20395         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20396         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20397         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20398         remove unused global constant.
20400 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20402         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20403         include of <not-cancel.h>.
20405 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20407         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20409 2012-05-15  Jeff Law  <law@redhat.com>
20410             Andreas Jaeger  <aj@suse.de>
20412         [BZ #13594]
20413         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20414         out from...
20415         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20416         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20417         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20418         code changing __hst_map_handle.map.
20420 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20422         * configure.in (sysnames): Look for Implies-before and Implies-after
20423         files.
20424         * configure: Regenerated.
20426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20428         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20429         8-byte data alignment with LP_SIZE alignment.
20431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20433         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20434         into R10_LP.
20436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20438         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20442         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20443         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20444         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20445         Likewise.
20446         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20450         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20451         (stackinfo_sub_sp): Likewise.
20453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20455         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20456         RAX_LP.
20458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20460         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20461         into R*_LP.
20463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20466         sizes into R*_LP.
20468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20470         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20474         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20475         into R11_LP and load __x86_64_shared_cache_size_half into
20476         R8_LP.
20478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20481         R8_LP.
20483 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20485         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20486         logb for POWER7.
20487         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20488         logbf for POWER7.
20489         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20490         logbl for POWER7.
20491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20492         powerpc32/power7/fpu/s_logb.c via #include.
20493         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20494         powerpc32/power7/fpu/s_logbf.c via #include.
20495         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20496         powerpc32/power7/fpu/s_logbl.c via #include.
20498 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20500         * README.libm: Remove file.
20502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20504         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20505         count for x32.  Use R*_LP and omit operand-size suffix.
20507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20509         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20510         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20511         * sysdeps/x86_64/x32/shlib-versions: New file.
20513 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20515         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20516         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20517         Use _dl_fatal_printf instead.
20519 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20521         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20522         set if not set by the user.  Do not allow for being unset.
20523         * sysdeps/unix/sysv/linux/configure: Regenerated.
20525 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20527         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20528         the `q' suffix from lea and replace .quad with ASM_ADDR.
20530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20533         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20534         instead of $17.
20535         (PTR_DEMANGLE): Likewise.
20537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20539         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20540         (LP_OP): Likewise.
20541         (ASM_ADDR): Likewise.
20542         (RAX_LP): Likewise.
20543         (RBP_LP): Likewise.
20544         (RBX_LP): Likewise.
20545         (RCX_LP): Likewise.
20546         (RDI_LP): Likewise.
20547         (RSI_LP): Likewise.
20548         (RSP_LP): Likewise.
20549         (R8_LP): Likewise.
20550         (R9_LP): Likewise.
20551         (R10_LP): Likewise.
20552         (R10_LP): Likewise.
20553         (R11_LP): Likewise.
20554         (R12_LP): Likewise.
20555         (R13_LP): Likewise.
20556         (R14_LP): Likewise.
20557         (R15_LP): Likewise.
20559 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20561         * sysdeps/x86_64/x32/dl-machine.h: New file.
20563 2012-05-14  Andreas Jaeger  <aj@suse.de>
20565         * manual/Makefile (subdir): Remove export of subdir.
20566         (all): Remove target.
20567         (.PHONY): Remove all from list.
20568         (mkinstalldirs): Remove.
20569         (.PHONY): Remove installdirs from list.
20570         ($(inst_infodir)/libc.info): Use make-target-directory.
20571         (installdirs): Remove.
20572         (subdir_%): Remove.
20573         (glibc-targets): Remove.
20574         (lib): Remove.
20575         (stubs): Remove.
20576         ($(objpfx)stubs ../po/manual.pot): Remove.
20577         ($(objpfx)stamp%): Remove.
20578         (make-target-directory): Remove.
20579         (subdir_install): Remove.
20580         (routines): Remove.
20581         (aux): Remove.
20582         (sources): Remove.
20583         (objects): Remove.
20584         (headers): Remove.
20586         [BZ #13750]
20587         * manual/.gitignore: Remove, it's not needed anymore.
20588         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20589         all files in it.
20590         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20591         directory.
20592         (texis): Renamed to $(objpfx)texis.
20593         (texis-path): New, contains path to generated files.
20594         (chapters.%): Use texis-path for complete path, add extra argument
20595         libc-texinfo.sh.
20596         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20597         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20598         (summary,texi, stamp-summary): Use complete path of
20599         files. Generate files in build dir.
20600         (dir-add.texi): Build in build dir.
20601         (libm-err.texi,stamp-libm-err): Likewise.
20602         (version.texi, stamp-version): Likewise.
20603         (.%c.texi): Likewise.
20604         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20605         (mostlyclean): Remove target.
20606         (realclean): Remove target.
20607         (generated): Add new variable with contents from mostlyclean and
20608         realclean, remove entries duplicated in common-mostlyclean, add
20609         stamp-libm-err and stamp-version.
20610         (generated-dirs): Add libc directory.
20611         ($(inst_infodir)/libc.info): Install files from build dir.
20613         * manual/install.texi (Configuring and compiling): Adjust since
20614         the info files are not part of the tar ball anymore.
20616 2012-05-14  Andreas Jaeger  <aj@suse.de>
20618         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20619         variable.
20621 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20623         [BZ #13717]
20624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20625         to 2.2.0 where earlier.
20626         * sysdeps/unix/sysv/linux/configure: Regenerated.
20627         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20628         Remove conditional code.
20629         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20630         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20631         Remove conditional code.
20632         [!__NR_lchown]: Likewise.
20633         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20634         [__NR_lchown]: Likewise.
20635         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20636         comment referencing __ASSUME_LCHOWN_SYSCALL.
20637         * sysdeps/unix/sysv/linux/i386/sigaction.c
20638         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20639         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20640         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20641         Remove conditional code.
20642         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20643         (__protocol_available): Remove #if 0 code.
20644         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20645         conditional code.
20646         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20647         * sysdeps/unix/sysv/linux/kernel-features.h
20648         (__ASSUME_GETCWD_SYSCALL): Don't define.
20649         (__ASSUME_REALTIME_SIGNALS): Likewise.
20650         (__ASSUME_PREAD_SYSCALL): Likewise.
20651         (__ASSUME_PWRITE_SYSCALL): Likewise.
20652         (__ASSUME_POLL_SYSCALL): Likewise.
20653         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20654         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20655         non-SPARC.
20656         (__ASSUME_SIOCGIFNAME): Don't define.
20657         (__ASSUME_MSG_NOSIGNAL): Likewise.
20658         (__ASSUME_SENDFILE): Define unconditionally.
20659         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20660         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20661         conditional code.
20662         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20663         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20664         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20665         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20666         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20667         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20668         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20673         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20679         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20682         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20685         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20686         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20688         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20691         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20692         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20693         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20694         Remove conditional code.
20695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20696         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20697         Remove conditional code.
20698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20699         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20700         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20701         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20702         Remove conditional code.
20703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20704         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20705         Remove conditional code.
20706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20707         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20708         Remove conditional code.
20709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20710         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20711         Remove conditional code.
20712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20713         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20714         Remove conditional code.
20715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20716         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20717         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20718         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20719         * sysdeps/unix/sysv/linux/sigaction.c
20720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20722         * sysdeps/unix/sysv/linux/sigpending.c
20723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20725         * sysdeps/unix/sysv/linux/sigprocmask.c
20726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20728         * sysdeps/unix/sysv/linux/sigsuspend.c
20729         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20730         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20731         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20732         (__libc_missing_rt_sigs): Remove.
20733         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20734         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20735         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20736         Remove conditional code.
20737         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20738         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20739         return 1.
20740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20741         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20742         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20743         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20745 2012-05-14  Andreas Jaeger  <aj@suse.de>
20747         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20748         it's not used in glibc.
20749         (__coshm1): Likewise.
20750         (__acosh1p): Likewise.
20751         (__sgn): Likewise.
20753         * manual/string.texi (Copying and Concatenation): Add missing
20754         variable in concat example.
20755         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20759         [BZ #14103]
20760         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20761         __builtin_clzl with __builtin_clzll.
20763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20765         [BZ #14104]
20766         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20767         libc_freeres_ptr.
20769 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20771         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20772         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20773         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20776 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20778         * NEWS: Update ia64 info.
20780 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20782         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20783         used as bcopy.
20785 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20787         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20788         * sysdeps/unix/syscalls.list (dup3): Likewise.
20789         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20790         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20792 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20794         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20795         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20797 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20799         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20800         thread pointer.
20801         (TLS_IE): Use mov/add instead of movq/addq to load thread
20802         pointer.
20803         (TLS_GD_PREFIX): New.
20804         (TLS_GD): Use it.
20806 2012-05-11  David S. Miller  <davem@davemloft.net>
20808         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20809         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20810         (_FPU_SETCW): Likewise.
20812 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20814         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20815         is 32-byte aligned.
20817 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20819         [BZ #11837]
20820         * iconvdata/gb18030.c: Update tables.
20821         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20822         characters specially.
20823         (BODY for TO_LOOP): Add encoding of missing ranges.
20825 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20827         [BZ #13673]
20828         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20829         * sysdeps/mach/hurd/dup3.c: Likewise.
20830         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20831         * sysdeps/powerpc/memmove.c:: Likewise.
20833 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20835         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20836         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20838 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20840         * elf/elf.h (R_X86_64_RELATIVE64): New.
20841         (R_X86_64_NUM): Updated.
20842         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20843         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20844         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20845         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20846         tst-quad1pie tst-quad2pie
20847         (modules-names): Add tst-quadmod1 tst-quadmod2.
20848         ($(objpfx)tst-quad1): New dependency.
20849         ($(objpfx)tst-quad2): Likewise.
20850         ($(objpfx)tst-quad1pie): Likewise.
20851         ($(objpfx)tst-quad2pie): Likewise.
20852         * sysdeps/x86_64/tst-quad1.c: New file.
20853         * sysdeps/x86_64/tst-quad1pie.c: New file.
20854         * sysdeps/x86_64/tst-quad2.c: Likewise.
20855         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20856         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20857         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20858         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20859         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20863         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20864         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20865         * streams/stropts.h (t_scalar_t): Define type.
20867         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20868         (_PATH_PRESERVE): Set to "/var/lib".
20869         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20871         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20872         instead of int.
20874         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20875         if __dir_mkfile succeeded.
20877         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20878         checking for _hurd_dtablesize.  Unlock it right after having
20879         finished _hurd_dtable allocation.
20881 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20883         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20884         * sysdeps/mach/hurd/configure: Regenerated.
20885         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20886         special-casing to...
20887         * sysdeps/gnu/configure.in: ... this new file.
20888         * sysdeps/unix/sysv/linux/configure: Regenerated.
20889         * sysdeps/gnu/configure: New generated file.
20891         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20892         for Linux: use nsec instead of usec, as well as:
20893         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20894         members of type struct timespec.
20895         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20896         New macros.
20897         (struct stat64): Likewise.
20898         (_STATBUF_ST_NSEC): New macro.
20899         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20901         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20902         __strtoul_internal rather than strtoul.
20904 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20906         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20907         and reject them.
20909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20911         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20912         which preserves existing values.
20913         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20917         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20918         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20919         greater than FD_SETSIZE.
20921 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20923         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20924         allocated, call __vm_protect to finish enabling the existing space, and
20925         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20926         allocate the remainder.
20928 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20930         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20931         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20935         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20936         sysdeps/mach/hurd/readlink.c.
20938         * posix/tst-sysconf.c (posix_options): Only use
20939         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20940         _POSIX_SYNCHRONIZED_IO when they are defined
20941         * sysdeps/mach/hurd/bits/posix_opt.h:
20942         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20943         (_XOPEN_REALTIME): Undefine macro.
20944         (_XOPEN_REALTIME_THREADS): Undefine macro.
20945         (_XOPEN_SHM): Undefine macro.
20946         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20947         macro to -1.
20948         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20949         macro to -1.
20950         (_POSIX_ASYNC_IO): Undefine macro.
20951         (_POSIX_PRIORITIZED_IO): Undefine macro.
20952         (_POSIX_SPIN_LOCKS): Define macro to -1.
20954         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20955         SA_NODEFER, SA_RESETHAND.
20956         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20957         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20958         F_DUPFD_CLOEXEC.
20960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20962         * elf/Makefile (pldd-modules): Define unconditionally.
20964 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20966         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20970         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20971         Return ENOENT when name is empty.
20972         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20974 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20976         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20978         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20980 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20982         Fix mlock in all cases except non-readable pages.
20983         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20984         instead of VM_PROT_ALL as parameter to __vm_wire function.
20986         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20987         (__mkdir): When path is `/', just fail with EEXIST.
20988         * sysdeps/mach/hurd/mkdirat.c: Likewise.
20990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20992         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20993         <sys/uio.h> (for writev).
20994         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20995         and <sys/param.h> (for MIN).
20997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20999         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21000         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21001         if interrupted.
21003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21005         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21006         Depend on against $(link-rpcuserlibs).
21008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21010         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21011         (__libc_stack_end): Do not use attribute_relro.
21012         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21013         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21014         to libthread-provided value.
21015         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21016         attribute_relro.
21018 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21020         [BZ #3748]
21021         * bits/libc-lock.h (__libc_once_get): New macro.
21022         * sysdeps/mach/bits/libc-lock.h: Likewise.
21023         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21024         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21025         instead of using implementation details.
21027         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21028         * libio/freopen.c: Likewise.
21029         * libio/freopen64.c: Likewise.
21030         * misc/syslog.c: Likewise.
21031         * nscd/connections.c: Likewise.
21032         * nscd/netgroupcache.c: Likewise.
21033         * sysdeps/posix/getcwd.c: Likewise.
21035 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21037         * math/w_ilogbf.c: Add #include <limits.h>.
21039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21041         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21042         path instead of returning without unlocking.
21044         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21045         immediate-write ioctls.
21046         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21050         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21051         __builtin_frame_address instead of making assumptions about the
21052         location of the return address relative to DATA.  Force early load of
21053         the return address.
21054         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21055         __builtin_frame_address.
21057         dup3 for GNU Hurd.
21058         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21059         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21060         implement dup3 and do some further code clean-ups.
21061         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21062         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21066         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21068         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21069         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21070         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21071         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21072         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21073         d->port.lock.
21075         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21076         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21077         when handler == SIG_ERR, not when handler != SIG_ERR.
21079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21081         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21082         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21083         definitions.
21085         accept4 for GNU Hurd.
21086         * include/sys/socket.h (__libc_accept4): New prototype.
21087         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21088         to implement __libc_accept4.
21089         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21090         __libc_accept4.
21091         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21093         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21094         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21095         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21096         signal-defines.sym.
21098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21100         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21102 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21104         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21105         assertion on O_CLOEXEC flag.
21106         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21107         * hurd/intern-fd.c: Likewise.
21108         * hurd/port2fd.c: Likewise.
21110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21112         [BZ #3906]
21113         * bits/in.h (IPV6_PKTINFO): Define new macro.
21114         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21116 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21118         [BZ #13954]
21119         [BZ #13955]
21120         [BZ #13956]
21121         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21123         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21124         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21126         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21127         * math/libm-test.inc (logb_test) : Additional logb tests.
21129 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21130             Andreas Jaeger  <aj@suse.de>
21132         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21133         * configure: Regenerated.
21134         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21135         * config.make.in (link-obsolete-rpc): New substituted variable.
21136         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21137         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21138         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21139         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21140         so that libc.a contains the symbols.
21141         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21142         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21143         * sunrpc/auth_none.c: Likewise.
21144         * sunrpc/auth_unix.c: Likewise.
21145         * sunrpc/authdes_prot.c: Likewise.
21146         * sunrpc/authuxprot.c: Likewise.
21147         * sunrpc/clnt_gen.c: Likewise.
21148         * sunrpc/clnt_perr.c: Likewise.
21149         * sunrpc/clnt_raw.c: Likewise.
21150         * sunrpc/clnt_simp.c: Likewise.
21151         * sunrpc/clnt_tcp.c: Likewise.
21152         * sunrpc/clnt_udp.c: Likewise.
21153         * sunrpc/clnt_unix.c: Likewise.
21154         * sunrpc/des_crypt.c: Likewise.
21155         * sunrpc/des_soft.c: Likewise.
21156         * sunrpc/get_myaddr.c: Likewise.
21157         * sunrpc/key_call.c: Likewise.
21158         * sunrpc/key_prot.c: Likewise.
21159         * sunrpc/netname.c: Likewise.
21160         * sunrpc/pm_getmaps.c: Likewise.
21161         * sunrpc/pm_getport.c: Likewise.
21162         * sunrpc/pmap_clnt.c: Likewise.
21163         * sunrpc/pmap_prot.c: Likewise.
21164         * sunrpc/pmap_prot2.c: Likewise.
21165         * sunrpc/pmap_rmt.c: Likewise.
21166         * sunrpc/publickey.c: Likewise.
21167         * sunrpc/rpc_cmsg.c: Likewise.
21168         * sunrpc/rpc_common.c: Likewise.
21169         * sunrpc/rpc_dtable.c: Likewise.
21170         * sunrpc/rpc_prot.c: Likewise.
21171         * sunrpc/rpc_thread.c: Likewise.
21172         * sunrpc/rtime.c: Likewise.
21173         * sunrpc/svc.c: Likewise.
21174         * sunrpc/svc_auth.c: Likewise.
21175         * sunrpc/svc_raw.c: Likewise.
21176         * sunrpc/svc_run.c: Likewise.
21177         * sunrpc/svc_tcp.c: Likewise.
21178         * sunrpc/svc_udp.c: Likewise.
21179         * sunrpc/svc_unix.c: Likewise.
21180         * sunrpc/svcauth_des.c: Likewise.
21181         * sunrpc/xcrypt.c: Likewise.
21182         * sunrpc/xdr.c: Likewise.
21183         * sunrpc/xdr_array.c: Likewise.
21184         * sunrpc/xdr_float.c: Likewise.
21185         * sunrpc/xdr_intXX_t.c: Likewise.
21186         * sunrpc/xdr_mem.c: Likewise.
21187         * sunrpc/xdr_rec.c: Likewise.
21188         * sunrpc/xdr_ref.c: Likewise.
21189         * sunrpc/xdr_sizeof.c: Likewise.
21190         * sunrpc/xdr_stdio.c: Likewise.
21192 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21195         change.  Update copyright years.
21197 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21199         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21201 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21202             Joseph Myers  <joseph@codesourcery.com>
21203             Paul Pluzhnikov  <ppluzhnikov@google.com>
21205         [BZ #14012]
21206         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21207         requiring rpcgen.
21208         [cross-compiling] (extra-libs): Likewise.
21209         [cross-compiling] (extra-libs-others): Likewise.
21210         [cross-compiling] (librpcsvc-routines): Likewise.
21211         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21212         [cross-compiling] (omit-deps): Likewise.
21213         (sunrpc-CPPFLAGS): New variable.
21214         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21215         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21216         (cross-rpcgen-objs): New variable.
21217         (extra-objs): Append $(cross-rpcgen-objs).
21218         ($(cross-rpcgen-objs)): New rule.
21219         ($(objpfx)cross-rpcgen): Likewise.
21220         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21221         comment.
21222         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21223         ($(objpfx)x%.stmp): Likewise.
21224         * sunrpc/proto.h [IS_IN_build] (_): Define.
21225         [IS_IN_build] (_libc_intl_domainname): Likewise.
21227 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21230         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21231         and R_X86_64_TPOFF64.
21233 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21235         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21236         sysdeps/unix/sysv/syscalls.list.
21237         (stime): Likewise.
21238         (utime): Likewise.
21239         * sysdeps/unix/sysv/syscalls.list: Remove file.
21241 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21243         [BZ #3440]
21244         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21245         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21246         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21247         (__LC_IDENTIFICATION): Make these macros useful in #if
21248         expressions, as required by C99.
21250 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21252         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21253         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21254         after this.
21256 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21258         * stdlib/longlong.h: Updated from GCC.
21260 2012-05-09  Andreas Jaeger  <aj@suse.de>
21262         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21263         default is first entry.
21264         (run_mode): Set type.
21265         (main): Remove informal message about syslog.
21266         (options): Fix typo.
21268         [BZ #14053]
21269         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21270         to asm.
21271         (lrint): Likewise.
21272         (llrintf): Likewise.
21273         (llrint): Likewise.
21274         (rint): Likewise.
21275         (rintf): Likewise.
21276         (nearbyint): Likewise.
21277         (nearbyintf): Likewise.
21279 2012-05-09  Andreas Jaeger  <aj@suse.de>
21280             Pedro Alves  <palves@redhat.com>
21282         * nscd/nscd.c (run_mode): Use enum.
21283         (main): Cleanup coding style issue.
21285 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21286             Andreas Jaeger  <aj@suse.de>
21288         * nscd/nscd.c (go_background): Replaced with...
21289         (run_mode): ... this.
21290         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21291         (options): Add -F --foreground.
21292         (main): Implement it.
21293         (parse_opt): Parse it.
21295 2012-05-09  Andreas Jaeger  <aj@suse.de>
21297         [BZ #14083]
21298         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21299         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21300         -Wconversion warning.
21301         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21302         Likewise.
21304 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21306         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21307         == 0.
21308         (LC_ALL): Use macro-int-constant.
21309         (LC_COLLATE): Likewise.
21310         (LC_CTYPE): Likewise.
21311         (LC_MESSAGES): Likewise.
21312         (LC_MONETARY): Likewise.
21313         (LC_NUMERIC): Likewise.
21314         (LC_TIME): Likewise.
21315         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21316         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21318         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21319         Specify type.
21320         [C99-based standards] (float_t): Expect type.
21321         [C99-based standards] (double_t): Expect type.
21322         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21323         type.
21324         [C99-based standards] (HUGE_VALL): Likewise.
21325         [C99-based standards] (INFINITY): Likewise.
21326         [C99-based standards] (NAN): Likewise.
21327         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21328         [C99-based standards] (FP_NAN): Likewise.
21329         [C99-based standards] (FP_NORMAL): Likewise.
21330         [C99-based standards] (FP_SUBNORMAL): Likewise.
21331         [C99-based standards] (FP_ZERO): Likewise.
21332         [C99-based standards] (FP_FAST_FMA): Use
21333         optional-macro-int-constant.  Specify type.  Require == 1.
21334         [C99-based standards] (FP_FAST_FMAF): Likewise.
21335         [C99-based standards] (FP_FAST_FMAL): Likewise.
21336         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21337         [C99-based standards] (FP_ILOGBNAN): Likewise.
21338         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21339         Specify type.
21340         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21341         [C99-based standards] (math_errhandling): Specify type.
21342         [ISO99 || ISO11] (signgam): Do not allow.
21343         [non-C99-based standards] (copysignf): Do not allow.
21344         [non-C99-based standards] (exp2f): Likewise.
21345         [non-C99-based standards] (log2f): Likewise.
21346         [non-C99-based standards] (modff): Allow.
21347         [non-C99-based standards] (erff): Do not allow.
21348         [non-C99-based standards] (erfcf): Likewise.
21349         [non-C99-based standards] (gammaf): Likewise.
21350         [non-C99-based standards] (hypotf): Likewise.
21351         [non-C99-based standards] (j0f): Likewise.
21352         [non-C99-based standards] (j1f): Likewise.
21353         [non-C99-based standards] (jnf): Likewise.
21354         [non-C99-based standards] (lgammaf): Likewise.
21355         [non-C99-based standards] (tgammaf): Likewise.
21356         [non-C99-based standards] (y0f): Likewise.
21357         [non-C99-based standards] (y1f): Likewise.
21358         [non-C99-based standards] (ynf): Likewise.
21359         [non-C99-based standards] (isnanf): Likewise.
21360         [non-C99-based standards] (acoshf): Likewise.
21361         [non-C99-based standards] (asinhf): Likewise.
21362         [non-C99-based standards] (atanhf): Likewise.
21363         [non-C99-based standards] (cbrtf): Likewise.
21364         [non-C99-based standards] (expm1f): Likewise.
21365         [non-C99-based standards] (ilogbf): Likewise.
21366         [non-C99-based standards] (log1pf): Likewise.
21367         [non-C99-based standards] (logbf): Likewise.
21368         [non-C99-based standards] (nextafterf): Likewise.
21369         [non-C99-based standards] (remainderf): Likewise.
21370         [non-C99-based standards] (rintf): Likewise.
21371         [non-C99-based standards] (scalbf): Likewise.
21372         [non-C99-based standards] (copysignl): Likewise.
21373         [non-C99-based standards] (exp2l): Likewise.
21374         [non-C99-based standards] (log2l): Likewise.
21375         [non-C99-based standards] (modfl): Allow.
21376         [non-C99-based standards] (erfl): Do not allow.
21377         [non-C99-based standards] (erfcl): Likewise.
21378         [non-C99-based standards] (gammal): Likewise.
21379         [non-C99-based standards] (hypotl): Likewise.
21380         [non-C99-based standards] (j0l): Likewise.
21381         [non-C99-based standards] (j1l): Likewise.
21382         [non-C99-based standards] (jnl): Likewise.
21383         [non-C99-based standards] (lgammal): Likewise.
21384         [non-C99-based standards] (tgammal): Likewise.
21385         [non-C99-based standards] (y0l): Likewise.
21386         [non-C99-based standards] (y1l): Likewise.
21387         [non-C99-based standards] (ynl): Likewise.
21388         [non-C99-based standards] (isnanl): Likewise.
21389         [non-C99-based standards] (acoshl): Likewise.
21390         [non-C99-based standards] (asinhl): Likewise.
21391         [non-C99-based standards] (atanhl): Likewise.
21392         [non-C99-based standards] (cbrtl): Likewise.
21393         [non-C99-based standards] (expm1l): Likewise.
21394         [non-C99-based standards] (ilogbl): Likewise.
21395         [non-C99-based standards] (log1pl): Likewise.
21396         [non-C99-based standards] (logbl): Likewise.
21397         [non-C99-based standards] (nextafterl): Likewise.
21398         [non-C99-based standards] (remainderl): Likewise.
21399         [non-C99-based standards] (rintl): Likewise.
21400         [non-C99-based standards] (scalbl): Likewise.
21401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21402         [non-C99-based standards] (FP_*): Do not allow.
21403         [C99-based standards] (FP_*): Change to
21404         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21405         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21406         allow.
21407         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21408         (SIG_ERR): Likewise.
21409         [X/Open-based standards] (SIG_HOLD): Likewise.
21410         (SIG_IGN): Likewise.
21411         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21412         positive value.
21413         (SIGFPE): Likewise.
21414         (SIGILL): Likewise.
21415         (SIGINT): Likewise.
21416         (SIGSEGV): Likewise.
21417         (SIGTER): Likewise.
21418         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21419         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21420         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21421         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21422         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21423         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21424         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21425         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21426         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21427         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21428         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21429         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21430         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21431         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21432         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21433         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21434         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21435         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21436         [X/Open-based standards] (SIGTRAP): Likewise.
21437         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21438         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21439         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21440         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21441         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21442         allow.
21444 2012-05-08  Ian Wienand  <ianw@vmware.com>
21446         [BZ #14080]
21447         * time/tzset.c (__tzset_parse_tz): Update default rules for
21448         daylight time changes in the Energy Policy Act of 2005.
21450 2012-05-09  Andreas Jaeger  <aj@suse.de>
21452         [BZ #13983]
21453         * elf/ldconfig.c (parse_conf): Change string to make clear that
21454         ldconfig only issued a warning if ld.so.conf does not exist.
21456 2012-05-08  David S. Miller  <davem@davemloft.net>
21458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21459         movxtod instead of popping the value on the stack.
21461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21463 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21465         * config.h.in: Add HAVE_ARM_PCS_VFP.
21467 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21469         [BZ #13979]
21470         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21471         checking but the checks are disabled for any reason.
21473 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21475         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21476         and ELF64_R_TYPE with ELFW(R_TYPE).
21478 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21480         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21481         (ulimit): Likewise.
21483         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21484         (settimeofday): Likewise.
21486 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21488         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21489         a struct th_u2 inside the union, and move tu_block/tu_code into
21490         a new th_u3 union of tu_block/tu_code inside of that.  Move
21491         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21492         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21493         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21494         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21495         (th_stuff): Change to th_u1.tu_stuff.
21496         (th_data): Define.
21497         (th_msg): Change to th_u1.th_u2.tu_data.
21499 2012-05-07  David S. Miller  <davem@davemloft.net>
21501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21503         [BZ #14074]
21504         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21505         (SETUP_PIC_REG): Use it.
21506         (SETUP_PIC_REG_LEAF): Use it.
21508 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21510         [BZ #13885]
21511         [BZ #13923]
21512         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21513         USE_AS_EXPM1L.
21514         (EXPL_FINITE): Likewise.
21515         (FLDLOG): Likewise.
21516         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21517         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21518         e_expl.S.
21519         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21520         USE_AS_EXPM1L.
21521         (EXPL_FINITE): Likewise.
21522         (FLDLOG): Likewise.
21523         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21524         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21525         e_expl.S.
21526         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21527         test of -max_value argument for long double.
21528         * sysdeps/i386/fpu/libm-test-ulps: Update.
21529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21531 2012-05-06  David S. Miller  <davem@davemloft.net>
21533         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21534         quad soft-float symbols whose references which are compiler
21535         generated.
21536         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21538 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21540         [BZ #13884]
21541         [BZ #13914]
21542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21543         USE_AS_EXP10L.
21544         (EXPL_FINITE): Likewise.
21545         (FLDLOG): Likewise.
21546         (c0): Likewise.
21547         (c1): Likewise.
21548         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21549         Adjust comments for base varying.
21550         (__expl_finite): Change alias to EXPL_FINITE.
21551         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21552         e_expl.S.
21553         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21554         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21555         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21556         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21558         USE_AS_EXP10L.
21559         (EXPL_FINITE): Likewise.
21560         (FLDLOG): Likewise.
21561         (c0): Likewise.
21562         (c1): Likewise.
21563         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21564         Adjust comments for base varying.
21565         (__expl_finite): Change alias to EXPL_FINITE.
21566         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21567         tests for bugs.
21568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21570         [BZ #14064]
21571         * math/libm-test.inc (check_float_internal): Correct ulp
21572         calculation for subnormal expected results.
21574 2012-05-06  Andreas Jaeger  <aj@suse.de>
21576         * Makeconfig (+math-flags): New, set to -frounding-math.
21577         (+cflags): Add +math-flags so that all of glibc gets compiled with
21578         it.
21580         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21582 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21584         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21585         Disable one test.
21587         [BZ #13787]
21588         [BZ #13922]
21589         [BZ #14036]
21590         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21591         (__ieee754_expl): Allow for and saturate large arguments.
21592         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21593         (u_threshold): Likewise.
21594         (__exp): Call __ieee754_exp before checking for overflow and
21595         underflow.
21596         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21597         (u_threshold): Likewise.
21598         (__expf): Call __ieee754_expf before checking for overflow and
21599         underflow.
21600         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21601         (u_threshold): Likewise.
21602         (__expl): Call __ieee754_expl before checking for overflow and
21603         underflow.
21604         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21605         (__ieee754_expl): Allow for and saturate large arguments.
21606         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21607         missing overflow exception on overflow.
21608         (expm1_test): Do not allow missing overflow exception on overflow.
21610         * sysdeps/i386/fpu/e_expl.c: Move to ...
21611         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21612         rather than using inline asm.
21613         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21614         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21615         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21617         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21618         (nice): Likewise.
21619         (poll): Likewise.
21620         (signal): Likewise.
21621         (time): Likewise.
21622         (times): Likewise.
21624 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21626         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21627         sysdeps/unix/common/syscalls.list.
21628         (fchmod): Likewise.
21629         (fchown): Likewise.
21630         (ftruncate): Likewise.
21631         (getrusage): Likewise.
21632         (gettimeofday): Likewise.
21633         (setpgid): Likewise.
21634         (setregid): Likewise.
21635         (setreuid): Likewise.
21636         (sigaction): Likewise.
21637         (truncate): Likewise.
21638         (vhangup): Likewise.
21639         * sysdeps/unix/common/syscalls.list: Remove file.
21640         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21641         * sysdeps/unix/sysv/linux/Implies: Likewise.
21643 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21645         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21647         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21648         Moved to ...
21649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21650         Here.
21651         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21652         to ...
21653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21654         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21655         to ...
21656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21657         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21658         to ...
21659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21660         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21661         to ...
21662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21663         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21664         to ...
21665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21666         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21667         to ...
21668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21669         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21670         to ...
21671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21672         Here.
21673         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21674         to ...
21675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21676         Here.
21677         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21678         to ...
21679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21680         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21681         Moved to ...
21682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21683         Here.
21684         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21685         to ...
21686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21688 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21690         * sysdeps/unix/common/bits/dirent.h: Remove file.
21691         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21693         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21694         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21695         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21696         * sysdeps/unix/bsd/isatty.c: Likewise.
21697         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21698         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21699         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21701 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21703         [BZ #13563]
21704         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21705         long double comparison inaccuracies.
21706         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21709 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21711         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21712         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21714 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21716         [BZ #14049]
21717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21718         nonzero digits before rounding a hex value.
21719         * stdlib/tst-strtod.c (tests): Add another test.
21721 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21723         * sysdeps/s390/fpu/libm-test-ulps: Update.
21725 2012-05-03  Andreas Jaeger  <aj@suse.de>
21727         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21728         does not get optimized out.
21729         (malloc_opt_barrier): New.
21731 2012-05-03  Andreas Jaeger  <aj@suse.de>
21732             Roland McGrath  <roland@hack.frob.com>
21734         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21735         intermediate file deletion.
21736         (generated): Add .symlist files.
21738 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #13775]
21741         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21742         Redirect under this condition.
21743         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21744         [__USE_GNU] (__dprintf_chk): Not under this condition.
21745         [__USE_GNU] (__vdprintf_chk): Likewise.
21746         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21747         under this condition.
21748         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21749         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21750         [__USE_XOPEN2K8] (vdprintf): Likewise.
21751         [__USE_GNU] (__dprintf_chk): Not under this condition.
21752         [__USE_GNU] (__vdprintf_chk): Likewise.
21753         [__USE_GNU] (dprintf): Likewise.
21754         [__USE_GNU] (vdprintf): Likewise.
21756 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21758         * elf/Makefile (common-generated): Set this instead of generated for
21759         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21760         $(all-built-dso)-derived lists.
21762 2012-05-03  Andreas Jaeger  <aj@suse.de>
21764         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * FAQ: Removed.
21767         * FAQ.in: Likewise.
21768         * scripts/gen-FAQ.pl: Likewise.
21769         * manual/install.texi (Installation): Point to online location of
21770         FAQ.
21771         * Makefile (files-for-dist): Remove FAQ.
21772         (FAQ): Remove.
21774 2012-05-02  Allan McRae  <allan@archlinux.org>
21776         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21777         (LDFLAGS-reldepmod5.so): Likewise.
21778         (LDFLAGS-reldep6mod1.so): Likewise.
21779         (LDFLAGS-reldep6mod4.so): Likewise.
21780         (LDFLAGS-reldep8mod3.so): Likewise.
21781         (LDFLAGS-unload4mod1.so): Likewise.
21782         (LDFLAGS-unload4mod2.so): Likewise.
21783         (LDFLAGS-tst-initorder): Likewise.
21784         (LDFLAGS-tst-initordera2.so): Likewise.
21785         (LDFLAGS-tst-initordera3.so): Likewise.
21786         (LDFLAGS-tst-initordera4.so): Likewise.
21787         (LDFLAGS-tst-initorderb2.so): Likewise.
21788         (LDFLAGS-noload): Likewise.
21789         (LDFLAGS-next): Likewise.
21790         (LDFLAGS-order2mod1.so): Likewise.
21791         (LDFLAGS-order2mod2.so): Likewise.
21792         (LDFLAGS-tst-initorder2): Likewise.
21793         (LDFLAGS-tst-initorder2a.so): Likewise.
21794         (LDFLAGS-tst-initorder2b.so): Likewise.
21795         (LDFLAGS-tst-initorder2c.so): Likewise.
21796         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21798 2012-05-02  David S. Miller  <davem@davemloft.net>
21800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21802 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21804         [BZ #14055]
21805         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21807 2012-05-02  Andreas Jaeger  <aj@suse.de>
21809         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21810         since we manipulate rounding mode.
21811         (CPPFLAGS-test-idouble.c): Likewise.
21812         (CPPFLAGS-test-ifloat.c): Likewise.
21813         (CFLAGS-test-ldouble.c): Likewise.
21814         (CFLAGS-test-double.c): Likewise.
21815         (CFLAGS-test-float.c): Likewise.
21816         (CFLAGS-test-misc.c): Likewise.
21817         (CFLAGS-test-test-fenv.c): Likewise.
21819 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21821         [BZ #2550]
21822         [BZ #2570]
21823         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21824         comparisons to determine direction to adjust input.
21826 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21828         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21829         output to the target.
21831         * scripts/localplt.awk: New file.
21832         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21833         (check-localplt-CFLAGS): Variable removed.
21834         ($(all-built-dso:=.jmprel)): New static pattern rule.
21835         (generated): Add those targets.
21836         (localplt-built-dso): New variable.
21837         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21839         * elf/check-localplt.c: File removed.
21841         * scripts/check-execstack.awk: New file.
21842         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21843         (check-execstack-CFLAGS): Variable removed.
21844         ($(objpfx)check-execstack.h): Target removed.
21845         ($(objpfx)execstack-default): New target.
21846         (generated): Add that instead of check-execstack.h.
21847         ($(all-built-dso:=.phdr)): New static pattern rule.
21848         (generated): Add those targets.
21849         * elf/check-execstack.c: File removed.
21851         * scripts/check-textrel.awk: New file.
21852         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21853         (check-textrel-CFLAGS): Variable removed.
21854         (all-built-dso): Use := to define.o
21855         ($(all-built-dso:=.dyn)): New static pattern rule.
21856         (generated): Add those targets.
21857         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21858         * config.make.in (READELF): New substituted variable.
21859         * elf/check-textrel.c: File removed.
21861 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21863         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21864         allow.
21865         * conform/data/ctype.h-data [C99-based standards] (isblank):
21866         Expect function.
21867         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21868         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21870         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21871         Specify type.  Require positive value.
21872         (EILSEQ): Likewise.
21873         (ERANGE): Likewise.
21874         [ISO || POSIX] (EILSEQ): Do not expect.
21875         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21876         Specify type.  Require positive value.
21877         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21878         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21879         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21880         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21881         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21882         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21883         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21884         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21885         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21886         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21887         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21888         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21889         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21890         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21891         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21892         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21893         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21894         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21895         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21896         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21897         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21898         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21899         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21900         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21901         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21902         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21903         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21904         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21905         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21906         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21907         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21908         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21909         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21910         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21911         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21912         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21913         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21914         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21915         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21916         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21917         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21918         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21919         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21920         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21921         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21922         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21923         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21924         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21925         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21926         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21927         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21928         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21929         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21930         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21931         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21932         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21933         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21934         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21935         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21936         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21937         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21938         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21939         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21940         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21941         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21942         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21943         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21944         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21945         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21946         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21947         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21948         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21949         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21950         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21951         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21952         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21953         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21954         Require >= 2.
21955         (FLT_ROUNDS): Expect as macro, not constant.
21956         (FLT_MANT_DIG): Use macro-int-constant.
21957         (DBL_MANT_DIG): Likewise.
21958         (LDBL_MANT_DIG): Likewise.
21959         (FLT_DIG): Likewise.
21960         (DBL_DIG): Likewise.
21961         (LDBL_DIG): Likewise.
21962         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21963         (DBL_MIN_EXP): Likewise.
21964         (LDBL_MIN_EXP): Likewise.
21965         (FLT_MAX_EXP): Use macro-int-constant.
21966         (DBL_MAX_EXP): Likewise.
21967         (LDBL_MAX_EXP): Likewise.
21968         (FLT_MAX_10_EXP): Likewise.
21969         (DBL_MAX_10_EXP): Likewise.
21970         (LDBL_MAX_10_EXP): Likewise.
21971         (FLT_MAX): Use macro-constant.
21972         (DBL_MAX): Likewise.
21973         (LDBL_MAX): Likewise.
21974         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21975         (DBL_EPSILON): Likewise.
21976         (LDBL_EPSILON): Likewise.
21977         (FLT_MIN): Likewise.
21978         (DBL_MIN): Likewise.
21979         (LDBL_MIN): Likewise.
21980         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21981         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21982         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21983         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21984         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21985         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21986         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21987         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21988         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21989         [ISO11] (FLT_TRUE_MIN): Likewise.
21990         [ISO11] (LDBL_TRUE_MIN): Likewise.
21991         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21992         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21993         (SCHAR_MIN): Use macro-int-constant.  Specify type.
21994         (SCHAR_MAX): Likewise.
21995         (UCHAR_MAX): Likewise.
21996         (CHAR_MIN): Likewise.
21997         (CHAR_MAX): Likewise.
21998         (MB_LEN_MAX): Use macro-int-constant.
21999         (SHRT_MIN): Use macro-int-constant.  Specify type.
22000         (SHRT_MAX): Likewise.
22001         (USHRT_MAX): Likewise.
22002         (INT_MAX): Likewise.
22003         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22004         bound negative.
22005         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22006         bound with "U".
22007         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22008         bound with "L".
22009         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22010         bound negative.  Suffix upper bound with "L".
22011         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22012         bound with "UL".
22013         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22014         Specify type.
22015         [C99-based standards] (LLONG_MAX): Likewise.
22016         [C99-based standards] (ULLONG_MAX): Likewise.
22017         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22018         == 0.
22019         [ISO11] (max_align_t): Require type.
22020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22022         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22023         from $CFLAGS, without defining away __attribute__ calls.
22024         (checknamespace): Use $CFLAGS_namespace.
22026         * conform/conformtest.pl (@keywords): Only include C99 keywords
22027         for standards based on C99 or C11.
22029         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22030         Disable tests.
22031         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22032         UNIX98]: Likewise.
22034         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22035         usability of symbols in #if.
22037         * conform/conformtest.pl: If macro or constant types start
22038         "promoted:", expect the symbol to be of the following type
22039         promoted by the integer promotions.
22041         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22042         in one place.  Also handle "macro-constant".
22044         * conform/conformtest.pl: Only accept expected macro values with
22045         "==".  Parse all "macro" lines in one place.
22046         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22048         * conform/conformtest.pl: Handle braced types on "constant" lines
22049         instead of handling "typed-constant".
22050         * conform/data/signal.h-data: Use "constant" instead of
22051         "typed-constant".
22053         * conform/conformtest.pl: Handle "optional-" at start of lines in
22054         one place rather than duplicating several cases.  Handle each
22055         format of "macro" line with initial "optional-".
22057         * conform/conformtest.pl: Only accept expected constant or
22058         optional-constant values with "==".  Parse all "constant" lines in
22059         one place.  Parse all "optional-constant" lines in one place.
22060         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22061         * conform/data/fmtmsg.h-data: Likewise.
22062         * conform/data/netinet/in.h-data: Likewise.
22063         * conform/data/tar.h-data: Likewise.
22064         * conform/data/limits.h-data: Use "==" form on "constant" and
22065         "optional-constant" lines.
22067         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22068         Use -std=c99 for XOPEN2K.
22069         (@knownproblems): Remove.
22070         (newtoken): Don't check %isknown.
22072         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22073         Do not expect macro.
22074         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22075         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22076         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22077         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22078         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22079         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22080         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22081         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22082         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22083         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22084         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22085         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22086         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22087         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22088         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22089         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22090         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22091         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22092         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22093         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22094         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22095         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22096         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22097         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22098         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22099         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22100         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22101         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22102         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22103         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22104         [XPG3] (acosh): Likewise.
22105         [XPG3] (asinh): Likewise.
22106         [XPG3] (atanh): Likewise.
22107         [XPG3] (cbrt): Likewise.
22108         [XPG3] (expm1): Likewise.
22109         [XPG3] (ilogb): Likewise.
22110         [XPG3] (log1p): Likewise.
22111         [XPG3] (logb): Likewise.
22112         [XPG3] (nextafter): Likewise.
22113         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22114         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22115         [XPG3] (remainder): Likewise.
22116         [XPG3] (rint): Likewise.
22117         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22118         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22119         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22120         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22121         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22122         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22123         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22124         [UNIX98 || XOPEN2K] (scalb): Expect.
22125         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22126         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22127         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22128         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22129         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22130         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22131         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22132         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22133         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22134         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22135         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22136         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22137         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22138         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22139         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22140         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22141         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22142         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22143         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22144         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22145         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22146         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22147         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22148         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22149         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22150         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22151         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22152         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22153         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22154         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22155         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22156         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22157         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22158         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22159         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22160         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22161         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22162         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22163         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22164         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22165         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22166         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22167         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22168         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22169         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22170         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22171         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22172         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22173         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22174         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22175         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22176         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22177         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22178         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22179         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22180         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22181         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22182         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22183         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22184         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22185         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22186         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22187         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22188         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22189         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22190         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22191         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22192         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22193         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22194         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22195         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22196         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22197         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22198         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22199         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22200         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22201         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22202         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22203         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22204         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22205         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22206         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22207         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22208         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22209         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22210         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22211         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22212         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22213         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22214         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22215         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22216         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22217         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22218         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22219         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22220         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22221         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22222         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22223         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22224         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22225         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22226         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22227         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22228         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22229         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22230         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22231         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22232         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22233         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22234         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22235         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22236         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22237         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22238         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22239         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22240         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22241         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22242         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22243         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22244         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22245         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22246         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22247         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22248         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22249         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22250         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22251         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22252         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22253         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22254         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22255         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22256         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22257         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22258         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22259         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22260         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22261         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22263         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22264         _XOPEN_SOURCE_EXTENDED for XPG4.
22266         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22268         * Makeconfig (localtime): Remove variable.
22269         (inst_localtime-file): Likewise.
22271 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22274         Update.
22275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22276         Update.
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22278         Update.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22280         Update.
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22282         Update.
22283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22284         Update.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22286         Update.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22288         Update.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22290         Update.
22292 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22294         [BZ #2550]
22295         [BZ #2570]
22296         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22297         comparisons to determine direction to adjust input.
22298         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22299         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22301         Likewise.
22302         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22303         Likewise.
22304         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22305         Likewise.
22306         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22307         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22308         Likewise.
22309         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22310         Likewise.
22311         * math/libm-test.inc (nexttoward_test): Add more tests.
22313 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22315         [BZ #14040]
22316         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22317         in version GLIBC_2.1, not GLIBC_2.0.
22318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22319         Likewise.
22321 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22323         [BZ #13942]
22324         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22325         (1 - x) * (1 + x).
22326         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22327         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22328         * math/libm-test.inc (acos_test): Add more tests.
22329         (asin_test): Likewise.
22330         * sysdeps/i386/fpu/libm-test-ulps: Update.
22331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333         [BZ #14034]
22334         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22335         of square root.
22336         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22337         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22338         * math/libm-test.inc (acos_test_tonearest): New function.
22339         (acos_test_towardzero): Likewise.
22340         (acos_test_downward): Likewise.
22341         (acos_test_upward): Likewise.
22342         (asin_test_tonearest): Likewise.
22343         (asin_test_towardzero): Likewise.
22344         (asin_test_downward): Likewise.
22345         (asin_test_upward): Likewise.
22346         (main): Call the new functions.
22347         * sysdeps/i386/fpu/libm-test-ulps: Update.
22348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22350         [BZ #13884]
22351         [BZ #13924]
22352         * math/e_exp10.c: Include <float.h>.
22353         (__ieee754_exp10): Handle underflow here rather than multiplying
22354         large negative argument by M_LN10.
22355         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22356         of __ieee754_expf.
22357         * math/e_exp10l.c: Include <float.h>.
22358         (__ieee754_exp10l): Handle underflow here rather than multiplying
22359         large negative argument by M_LN10l.
22360         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22361         spurious overflow exception on underflow.
22363 2012-04-29  Marek Polacek  <polacek@redhat.com>
22365         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22366         (__fortify_function): New macro.
22367         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22368         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22369         __extern_always_inline.
22370         * libio/bits/stdio2.h: Likewise.
22371         * libio/bits/stdio.h: Likewise.
22372         * string/string.h: Likewise.
22373         * string/bits/string3.h: Likewise.
22374         * include/stdio.h: Likewise.
22375         * stdlib/bits/stdlib.h: Likewise.
22376         * stdlib/stdlib.h: Likewise.
22377         * rt/bits/mqueue2.h: Likewise.
22378         * rt/mqueue.h: Likewise.
22379         * posix/bits/unistd.h: Likewise.
22380         * posix/unistd.h: Likewise.
22381         * io/bits/poll2.h: Likewise.
22382         * io/bits/fcntl2.h: Likewise.
22383         * io/fcntl.h: Likewise.
22384         * io/sys/poll.h: Likewise.
22385         * misc/bits/syslog.h: Likewise.
22386         * misc/bits/syslog-ldbl.h: Likewise.
22387         * misc/sys/syslog.h: Likewise.
22388         * socket/bits/socket2.h: Likewise.
22389         * socket/sys/socket.h: Likewise.
22390         * debug/tst-chk1.c: Likewise.
22391         * wcsmbs/bits/wchar2.h: Likewise.
22392         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22393         * wcsmbs/wchar.h: Likewise.
22395 2012-04-29  Andreas Jaeger  <aj@suse.de>
22397         * Makerules (tests): Remove enable-check-abi protection.
22398         (check-abi-warn): Remove.
22399         (check-abi-%): Remove check-abi-warn usage.
22401         * configure.in: Remove check-abi configure option.
22402         * configure: Regenerated.
22403         * config.make.in (enable-check-abi): Remove.
22405 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22407         [BZ #14033]
22408         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22409         double functions to double *_finite functions.
22411         [BZ #13941]
22412         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22413         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22414         LDBL_MIN_EXP.
22415         * stdio-common/Makefile (tests): Add tst-sprintf3.
22416         * stdio-common/tst-sprintf3.c: New file.
22418         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22419         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22421 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22423         * conform/conformtest.pl: Remove duplicate typed-constant
22424         handling.
22426 2012-04-28  David S. Miller  <davem@davemloft.net>
22428         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22429         (check-abi-%): Remove AWK script prerequisite and explicit
22430         abilist directory.
22431         (check-abi): Rewrite to just diff the symlist with the abilist.
22432         (config-tls, config-abi-config): Delete, no longer used.
22433         (update-abi-%): Remove AWK script and explicit abilist directory.
22434         (update-abi): Rewrite to simply compare and conditionally copy the
22435         symlist and the sysdep abilist file.  Remove update-abi-config
22436         checks.
22437         * abilist/ld.abilist: Remove.
22438         * abilist/libBrokenLocale.abilist: Remove.
22439         * abilist/libanl.abilist: Remove.
22440         * abilist/libcrypt.abilist: Remove.
22441         * abilist/libdl.abilist: Remove.
22442         * abilist/librt.abilist: Remove.
22443         * abilist/libthread_db.abilist: Remove.
22444         * abilist/libutil.abilist: Remove.
22445         * scripts/extract-abilist.awk: Remove.
22446         * scripts/merge-abilist.awk: Remove.
22447         * sysdeps/generic/libcidn.abilist: New file.
22448         * sysdeps/generic/libnss_compat.abilist: New file.
22449         * sysdeps/generic/libnss_db.abilist: New file.
22450         * sysdeps/generic/libnss_dns.abilist: New file.
22451         * sysdeps/generic/libnss_files.abilist: New file.
22452         * sysdeps/generic/libnss_hesiod.abilist: New file.
22453         * sysdeps/generic/libnss_nis.abilist: New file.
22454         * sysdeps/generic/libnss_nisplus.abilist: New file.
22455         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22456         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22457         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22458         file.
22459         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22460         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22461         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22462         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22463         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22464         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22465         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22466         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22467         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22468         file.
22469         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22470         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22471         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22472         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22473         file.
22474         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22475         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22476         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22477         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22478         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22479         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22480         file.
22481         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22482         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22483         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22484         file.
22485         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22487         New file.
22488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22489         New file.
22490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22491         New file.
22492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22493         New file.
22494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22495         New file.
22496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22497         New file.
22498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22499         New file.
22500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22501         New file.
22502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22503         New file.
22504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22505         New file.
22506         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22507         New file.
22508         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22509         New file.
22510         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22511         New file.
22512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22513         file.
22514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22515         New file.
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22517         New file.
22518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22519         file.
22520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22521         New file.
22522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22523         New file.
22524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22525         file.
22526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22527         New file.
22528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22529         New file.
22530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22531         New file.
22532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22533         New file.
22534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22535         New file.
22536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22537         New file.
22538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22540         file.
22541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22542         New file.
22543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22544         file.
22545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22546         file.
22547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22548         file.
22549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22550         file.
22551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22552         file.
22553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22554         New file.
22555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22556         file.
22557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22558         file.
22559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22560         New file.
22561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22562         file.
22563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22565         file.
22566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22567         New file.
22568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22569         file.
22570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22571         file.
22572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22573         file.
22574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22575         file.
22576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22577         file.
22578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22579         New file.
22580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22581         file.
22582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22583         file.
22584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22585         New file.
22586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22587         file.
22588         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22589         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22590         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22591         file.
22592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22593         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22594         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22595         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22596         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22597         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22598         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22599         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22600         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22601         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22604         file.
22605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22606         New file.
22607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22608         file.
22609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22610         file.
22611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22612         file.
22613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22614         file.
22615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22616         file.
22617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22618         New file.
22619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22620         New file.
22621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22622         file.
22623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22624         New file.
22625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22626         file.
22627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22629         file.
22630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22631         New file.
22632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22633         file.
22634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22635         file.
22636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22637         file.
22638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22639         file.
22640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22641         file.
22642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22643         New file.
22644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22645         New file.
22646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22647         file.
22648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22649         New file.
22650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22651         file.
22653 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22655         * conform/conformtest.pl: Fix typo in handling typed-constant from
22656         allow-header.
22658 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22660         * README: Cut down references to pre-2.6 Linux kernels and
22661         Linuxthreads.  Update lists of configurations in libc and ports
22662         and sort alphabetically.  Say "or newer" with Linux kernel version
22663         requirements.
22665         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22667 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22669         [BZ #887]
22670         * math/libm-test.inc (logb_test_downward): New test to expose
22671         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22672         rounding mode.
22674 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22676         [BZ #14027]
22677         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22678         to be done.
22679         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22680         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22682 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22684         * sysdeps/unix/i386/brk.S: Remove file.
22685         * sysdeps/unix/i386/dl-brk.S: Likewise.
22686         * sysdeps/unix/i386/pipe.S: Likewise.
22687         * sysdeps/unix/i386/sigreturn.S: Likewise.
22688         * sysdeps/unix/i386/syscall.S: Likewise.
22689         * sysdeps/unix/i386/vfork.S: Likewise.
22690         * sysdeps/unix/i386/wait.S: Likewise.
22692         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22693         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22695         * configure.in (arm*-none*): Do not allow without
22696         --enable-hacker-mode.
22697         (netbsd*): Remove case setting base_os.
22698         (386bsd*): Likewise.
22699         (freebsd*): Likewise.
22700         (bsdi*): Likewise.
22701         (osf*): Likewise.
22702         (sunos*): Likewise.
22703         (ultrix*): Likewise.
22704         (newsos*): Likewise.
22705         (dynix*): Likewise.
22706         (*bsd*): Likewise.
22707         (sysv*): Likewise.
22708         (isc*): Likewise.
22709         (esix*): Likewise.
22710         (sco*): Likewise.
22711         (minix*): Likewise.
22712         (irix4*): Likewise.
22713         (irix6*): Likewise.
22714         (solaris[2-9]*): Likewise.
22715         (none): Likewise.
22716         * configure: Regenerated.
22718 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22720         [BZ #11521]
22721         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22722         overflow or cancellation in calculating denominator.
22723         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22725         down expression to avoid unexpected rounding in newer GCCs.
22726         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22728 2012-04-26  David S. Miller  <davem@davemloft.net>
22730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22731         long-double compat symbols.
22732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22746 2012-04-25  David S. Miller  <davem@davemloft.net>
22748         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22749         HWCAP_* values only after the memory barriers have been defined.
22750         (atomic_full_barrier): Define.
22751         (atomic_read_barrier): Define.
22752         (atomic_write_barrier): Define.
22754 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22756         * shlib-versions: Add libgcc_s version information.
22757         * sysdeps/generic/libgcc_s.h: Remove.
22758         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22759         libgcc_s.h.
22760         * sysdeps/gnu/unwind-resume.c: Likewise.
22761         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22763 2012-04-25  David S. Miller  <davem@davemloft.net>
22765         * sysdeps/unix/sparc/brk.S: Delete.
22766         * sysdeps/unix/sparc/dl-brk.S: Delete.
22767         * sysdeps/unix/sparc/pipe.S: Delete.
22768         * sysdeps/unix/sparc/sysdep.S: Delete.
22769         * sysdeps/unix/sparc/sysdep.h: Delete.
22770         * sysdeps/unix/sparc/vfork.S: Delete.
22771         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22772         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22773         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22774         ret_ERRVAL, r0, r1, MOVE): Define.
22775         (JUMPTARGET): Remove.
22776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22777         sysdeps/unix/sparc/sysdep.h
22778         (ENTRY, END): Remove.
22779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22781 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22783         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22784         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22785         -DIS_IN_build.
22787         * timezone/README: Update upstream location and email address for
22788         tzcode and tzdata.
22789         * timezone/zdump.c: Update from tzcode 2012b.
22790         * timezone/zic.c: Likewise.
22792         * configure.in (libc_cv_as_needed): Remove test.
22793         * configure: Regenerated.
22794         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22795         conditional definition.
22796         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22797         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22798         * config.make.in (have-as-needed): Remove variable.
22800 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22801             Paul Pluzhnikov  <ppluzhnikov@google.com>
22803         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22804         strings correctly.
22806 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22808         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22809         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22810         * sysdeps/sh/strlen.S: Likewise.
22812 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22814         * sysdeps/unix/fork.S: Remove file.
22815         * sysdeps/unix/i386/fork.S: Likewise.
22816         * sysdeps/unix/sparc/fork.S: Likewise.
22818         * sysdeps/unix/system.c: Remove file.
22819         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22821         * sysdeps/unix/getegid.S: Remove file.
22822         * sysdeps/unix/geteuid.S: Likewise.
22824 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22826         * scripts/check-localplt.awk: New file.
22827         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22828         of diff.
22829         * scripts/data/localplt-generic.data: Add a comment.
22831         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22832         NODE when __dir_mkfile failed.
22833         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22834         Reported by Ludovic Courtès <ludo@gnu.org>.
22836 2012-04-24  Andreas Jaeger  <aj@suse.de>
22838         * Makerules (common-clean): Also remove gen-as-const-headers
22839         files.
22841 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22843         * Makerules (native-compile): Do not change working directory for
22844         build.  Use $(OUTPUT_OPTION) in command.
22845         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22847 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22849         [BZ #13886]
22850         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22851         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22852         * math/libm-test.inc (floor_test): Add more tests.
22853         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22855 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22857         * sysdeps/unix/getdents.c: Remove file.
22858         * sysdeps/unix/sysv/getdents.c: Likewise.
22859         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22861         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22862         sysdeps/unix/mman/syscalls.list.
22863         (mmap): Likewise.
22864         (mprotect): Likewise.
22865         (msync): Likewise.
22866         (munmap): Likewise.
22867         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22868         * sysdeps/unix/mman/syscalls.list: Remove.
22869         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22871         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22872         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22873         * configure: Regenerated.
22874         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22875         $(libgcc_s_suffix).
22876         * config.make.in (libgcc_s_suffix): Remove variable.
22878 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22880         * sysdeps/unix/sysv/gethostname.c: Move to ...
22881         * sysdeps/posix/gethostname.c: ... here.
22883         * sysdeps/unix/execve.S: Remove file.
22885         * sysdeps/unix/_exit.S: Remove file.
22887 2012-04-23  Andreas Jaeger  <aj@suse.de>
22889         [BZ #13739]
22890         * manual/Makefile: Remove make dist support, there's no
22891         need for a stand-alone documentation tar ball.
22892         (TEXI2DVI): Define always, it's not in Makeconfig.
22893         (dist): Removed.
22894         (tar-it): Removed.
22895         (edition): Removed.
22896         (glibc-doc-$(edition).tar): Removed
22897         (%.Z): Removed.
22898         (%.gz): Removed.
22899         (%.uu): Removed.
22900         (ETAGS): Remove, it's in Makeconfig.
22901         (move-if-change): Remove, it's in Makeconfig.
22903 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22905         [BZ #13970]
22906         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22907         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22908         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22909         (strtod_l, strtof_l, strtold_l): Remove __wur.
22910         It is not necessarily an error to ignore strtol's return value.
22911         One can reliably look at the stored endptr to decide whether
22912         the number had valid syntax.
22914 2012-04-21  Andreas Jaeger  <aj@suse.de>
22916         [BZ #13739]
22917         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22919 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22921         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22922         * sysdeps/unix/sysv/Versions: Remove file.
22924 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22926         [BZ #13927]
22927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22929 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22931         [BZ #7064]
22932         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22933         version from __vm86.
22935 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22937         * sysdeps/unix/common/lxstat.c: Remove file.
22938         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22940         * sysdeps/unix/sysv/Makefile: Remove file.
22942         * sysdeps/unix/sysv/direct.h: Remove file.
22944         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22945         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22946         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22947         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22948         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22949         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22950         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22952         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22954         * sysdeps/unix/xmknod.c: Remove file.
22955         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22957         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22959         * sysdeps/unix/sysv/i386/time.S: Remove file.
22961         * sysdeps/unix/fxstat.c: Remove file.
22962         * sysdeps/unix/xstat.c: Likewise.
22963         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22965         * sysdeps/unix/sysv/sigaction.c: Remove file.
22967         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22968         (sysdep_headers): Remove variable.
22969         [termio.h not in sysdep_headers] (generated): Likewise.
22970         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22971         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22972         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22973         * sysdeps/unix/sysv/tcflow.c: Likewise.
22974         * sysdeps/unix/sysv/tcflush.c: Likewise.
22975         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22976         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22977         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22978         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22979         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22981         * sysdeps/unix/siglist.c: Remove file.
22983         * sysdeps/unix/getppid.S: Remove file.
22985         * sysdeps/unix/mkdir.c: Remove file.
22986         * sysdeps/unix/rmdir.c: Likewise.
22988 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
22990         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22991         ERR_MAX value.
22992         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22993         errlist-compat value.
22995 2012-04-18  David S. Miller  <davem@davemloft.net>
22997         * sysdeps/generic/memcopy.h (reg_char): Delete.
22998         * debug/strcat_chk.c: Use char, not reg_char.
22999         * debug/strcpy_chk.c: Likewise.
23000         * debug/strncat_chk.c: Likewise.
23001         * debug/strncpy_chk.c: Likewise.
23002         * string/memchr.c: Likewise.
23003         * string/memrchr.c: Likewise.
23004         * string/rawmemchr.c: Likewise.
23005         * string/strcat.c: Likewise.
23006         * string/strchr.c: Likewise.
23007         * string/strchrnul.c: Likewise.
23008         * string/strcmp.c: Likewise.
23009         * string/strcpy.c: Likewise.
23010         * string/strncat.c: Likewise.
23011         * string/strncmp.c: Likewise.
23012         * string/strncpy.c: Likewise.
23014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23016         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23017         __builtin_memcopy is called when src and dest ranges are known to not
23018         overlap.
23020 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23023         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23024         fwd_align_merge macro call.
23025         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23026         bwd_align_merge macro call.
23027         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23029 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23032         bwd_align_merge macros.
23033         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23034         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23035         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23037 2012-04-18  David S. Miller  <davem@davemloft.net>
23039         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23041 2012-04-18  Andreas Jaeger  <aj@suse.de>
23043         [BZ# 6794]
23044         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23045         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23046         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23048         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23049         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23050         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23052         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23053         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23054         Adjust for changed ldbl-128 files.
23056         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23057         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23058         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23060 2012-04-17  David S. Miller  <davem@davemloft.net>
23062         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23064 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23066         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23067         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23068         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23069         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23070         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23071         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23073 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23075         [BZ #6794]
23076         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23077         * math/libm-test.inc: Add ilogb errno and exception tests.
23078         * math/w_ilogb.c: New file: ilogb wrapper.
23079         * math/w_ilogbf.c: New file: ilogbf wrapper.
23080         * math/w_ilogbl.c: New file: ilogbl wrapper.
23081         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23082         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23083         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23084         exception being thrown with 0.0 as argument.
23085         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23086         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23087         exception being thrown with 0.0 as argument.
23088         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23089         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23090         exception being thrown with 0.0 as argument.
23091         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23092         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23093         exception being thrown with 0.0 as argument.
23094         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23095         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23096         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23097         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23098         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23099         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23100         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23101         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23102         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23104 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23106         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23107         with altivec.
23109 2012-04-16  Marek Polacek  <polacek@redhat.com>
23111         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23113 2012-04-16  Marek Polacek  <polacek@redhat.com>
23115         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23116         operands of fdivp instruction.
23118 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23120         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23121         * elf/tst-auditmod3b.c: Likewise.
23122         * elf/tst-auditmod4b.c: Likewise.
23123         * elf/tst-auditmod5b.c: Likewise.
23124         * elf/tst-auditmod6b.c: Likewise.
23125         * elf/tst-auditmod6c.c: Likewise.
23126         * elf/tst-auditmod7b.c: Likewise.
23127         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23128         * sysdeps/x86_64/preconfigure.in: Likewise.
23129         * sysdeps/x86_64/preconfigure: Regenerated.
23131 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23133         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23134         __ILP32__.
23136 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23138         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23139         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23141 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23143         [BZ #13973]
23144         * locale/iso-639.def: Fix gl language name. Spotted by
23145         Yaron Shahrabani.
23147 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23149         [BZ #2074]
23150         * libio/libio.h (__io_write_fn): Update comment.
23152 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23154         [BZ #2074]
23155         * stdio.texi (Hook Functions): The user provided writer function
23156         is not allowed to return -1.
23158 2012-04-11  David S. Miller  <davem@davemloft.net>
23160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23162 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23164         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23165         Add a leading slash to rtkaio.
23167 2012-04-11  Jim Meyering  <meyering@redhat.com>
23169         [BZ #11959]
23170         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23171         It is not necessarily an error to ignore fwrite's return
23172         value.  One can reliably use ferror to test for errors after
23173         the fact.
23175 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23177         * bits/types.h (__snseconds_t): New type.
23178         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23180         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23181         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23182         (__SNSECONDS_T_TYPE): Likewise.
23183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23184         (__SNSECONDS_T_TYPE): Likewise.
23185         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23186         (__SNSECONDS_T_TYPE): Likewise.
23188 2012-04-10  Andreas Jaeger  <aj@suse.de>
23190         [BZ #2636]
23191         * manual/time.texi (Processor Time): Return type of times is
23192         elapsed real time since an arbitrary point in the past.
23193         (CPU Time): Move CLK_TCK from here...
23194         (Processor Time): ...to here.  Correct description.
23195         * manual/conf.texi (Constants for Sysconf): Correct description of
23196         _SC_CLK_TCK.
23198 2012-04-10  David S. Miller  <davem@davemloft.net>
23200         [BZ #13967]
23201         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23202         where the is a gap between DT_REL(A) and DT_JMPREL.
23204 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23206         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23207         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23208         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23210 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23212         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23213         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23214         (dl_main): Handle --inhibit-cache.
23215         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23216         _dl_inhibit_cache.
23217         * elf/dl-load.c (_dl_map_object): Use it.
23218         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23220 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23222         [BZ #13872]
23223         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23224         (__ieee754_powl): Saturate large exponents rather than testing for
23225         overflow of y*log2(x).
23226         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23227         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23228         exceptions.
23230         [BZ #11521]
23231         * math/s_ctan.c: Include <float.h>.
23232         (__ctan): Avoid internal overflow or cancellation in calculating
23233         denominator.
23234         * math/s_ctanf.c: Likewise.
23235         * math/s_ctanl.c: Likewise.
23236         * math/s_ctanh.c: Likewise.
23237         * math/s_ctanhf.c: Likewise.
23238         * math/s_ctanhl.c: Likewise.
23239         * math/libm-test.inc (ctan_test): Add more tests.
23240         (ctanh_test): Likewise.
23241         * sysdeps/i386/fpu/libm-test-ulps: Update.
23242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23244 2012-04-09  Andreas Jaeger  <aj@suse.de>
23246         [BZ #6894]
23247         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23248         is an optional BSD extension.
23250         [BZ #10254]
23251         * manual/stdio.texi (Opening Streams): Document additional fopen
23252         parameters.
23254 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23256         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23257         %eax without telling the compiler.
23259 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23261         [BZ # 13963]
23262         * manual/install.texi: Use sourceware.org.
23264 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23266         [BZ #13873]
23267         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23268         (__ieee754_pow): Generate overflow and underflow using huge*huge
23269         and tiny*tiny rather than just returning constant infinity or zero
23270         for large exponents.
23271         * math/libm-test.inc (pow_test): Require overflow exceptions for
23272         applicable cases of large exponents.
23274         [BZ #706]
23275         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23276         (__ieee754_pow): Use iterative multiplication algorithm only for
23277         integer exponents with absolute value below 1024.  Check for odd
23278         integer exponents when using algorithm for real exponents.
23279         * math/libm-test.inc (pow_test): Add more tests.
23280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23282 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23284         [BZ #13705]
23285         * math/libm-test.inc (exp_test): Do not allow overflow exception
23286         on underflow test.
23288 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23290         [BZ #13705]
23291         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23292         instead of __kernel_standard_f.
23294 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23296         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23297         * sysdeps/x86_64/memset_chk.S: Likewise.
23299 2012-04-08  Andreas Jaeger  <aj@suse.de>
23301         [BZ #10153]
23302         * manual/startup.texi (Environment Access): Describe return value
23303         for putenv and setenv.
23305         [BZ #6895]
23306         * manual/filesys.texi (Directory Entries): Add description for
23307         DT_LNK.
23309         [BZ #6890]
23310         * manual/filesys.texi (Directory Entries): Clarify that it's file
23311         system not operating system in the description of DT_UNKNOWN.
23313         [BZ #6578]
23314         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23316 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23318         [BZ #6649]
23319         * manual/llio.texi (Opening and Closing Files): Add cross
23320         reference to explain mode argument.
23322 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23324         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23325         * sysdeps/x86_64/memset_chk.S: Likewise.
23327 2012-04-07  David S. Miller  <davem@davemloft.net>
23329         * elf/elf.h (R_SPARC_WDISP10): Define.
23330         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23331         R_SPARC_SIZE32.
23332         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23333         R_SPARC_SIZE64 and R_SPARC_H34.
23335 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23338         conditions and remove no longer applicable assertion.
23340 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23342         * bits/byteswap.h: Include <features.h>.
23343         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23344         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23346 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23348         * bits/byteswap.h (__bswap_16): Removed.
23349         Include <bits/byteswap-16.h> to get __bswap_16.
23350         * sysdeps/i386/bits/byteswap.h: Likewise.
23351         * sysdeps/s390/bits/byteswap.h: Likewise.
23352         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23353         * bits/byteswap-16.h: New file.
23354         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23355         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23356         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23357         * string/Makefile (headers): Add bits/byteswap-16.h.
23359 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23361         [BZ #13895]
23362         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23363         extra indirection.
23364         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23365         * nss/tst-nss-static.c: New.
23367 2012-04-06  Robert Millan  <rmh@gnu.org>
23369         [BZ #6486]
23370         * manual/llio.texi (File Position Primitive): lseek
23371         refers to WHENCE when it really means OFFSET.
23373 2012-04-06  Andreas Jaeger  <aj@suse.de>
23375         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23376         strncmp declarations.
23378         * abilist/libc.abilist: Add __poll and __ppoll.
23380 2012-04-05  David S. Miller  <davem@davemloft.net>
23382         * scripts/check-local-headers.sh: Accept a host triplet in the
23383         path matched by the exclude regexp.
23385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23386         definition.
23387         * sysdeps/powerpc/powerpc32/dl-machine.h
23388         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23389         * sysdeps/s390/s390-32/dl-machine.h
23390         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23391         * sysdeps/sparc/sparc32/dl-machine.h
23392         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23393         * sysdeps/sparc/sparc64/dl-machine.h
23394         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23396         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23397         lazy binding.
23398         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23399         undefined symbol errors.
23401         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23402         DT_NEEDED entries.
23404 2012-04-05  Michael Matz  <matz@suse.de>
23406         [BZ #13592]
23407         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23409 2012-04-05  Andreas Jaeger  <aj@suse.de>
23411         [BZ #13908]
23412         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23413         comment.
23415 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23417         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23418         which ROUND is no valid rounding mode.
23420 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23422         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23423         read again.
23424         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23426 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23428         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23429         an exception using FPU order intentionally.
23431 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23433         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23434         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23435         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23436         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23438 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23440         [BZ #12340]
23441         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23442         EINVAL when BUFLEN is too smal.
23444 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23446         [BZ #13553]
23447         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23448         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23450 2012-04-03  Andreas Jaeger  <aj@suse.de>
23452         [BZ #13938]
23453         * manual/setjmp.texi (System V contexts): Fix sentence.
23455         [BZ #13926]
23456         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23457         New macro for this case.
23458         [!__GNUC__] (__bswap_64): New inline function for this case.
23459         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23460         * bits/byteswap.h: Likewise.
23461         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23462         ull, guard with __GLIBC_HAVE_LONG_LONG.
23464         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23465         __GLIBC_HAVE_LONG_LONG.
23467         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23468         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23470 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23472         [BZ #13691]
23473         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23474         inptr and inend, rather than using last_ch.
23476 2012-04-02  David S. Miller  <davem@davemloft.net>
23478         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23479         * stdio-common/printf-parse.h (read_int): Change return type to
23480         'int', return -1 on INT_MAX overflow.
23481         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23482         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23483         overflows INT_MAX.  Check for overflow of in-format-string precision
23484         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23485         SIZE_MAX not INT_MAX for integer overflow test.
23486         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23487         skip the construct in the format string but do not record anything.
23488         * stdio-common/bug22.c: Adjust to test both width/prevision
23489         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23490         explicitly for proper errno values.
23492 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23494         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23495         CHAR_MAX.
23496         * string/test-strcmp.c [! WIDE]: Likewise.
23497         * time/tst-mktime2.c: Likewise for INT_MAX.
23498         * string/test-string.h: #include <sys/param.h> for MIN.
23500         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23501         * sysdeps/i386/init-first.c (init): Likewise.
23502         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23503         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23504         * sysdeps/sh/init-first.c (init): Likewise.
23506 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23508         * po/ru.po: Update from translation team.
23509         * po/vi.po: Likewise.
23511 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23513         * resolv/nss_dns/dns-host.c: Merge copyright years.
23515 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23518         Optimize memcpy with prefetch if
23519         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23520         src, dst pointers have unequal 16 byte alignments.
23522 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23524         [BZ #13928]
23525         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23526         from a CNAME entry and return the minimum ttl for the query.
23527         (gaih_getanswer_slice): Likewise.
23529 2012-03-30  Jeff Law  <law@redhat.com>
23531         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23532         due to long keys.
23533         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23534         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23536         * resolv/nss_dns/dns-host.c: Update copyright year.
23538 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23540         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23541         requests to save a system call.  Fix check that all bytes are sent.
23543         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23544         comments for sendmmsg.
23546 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23548         [BZ #13691]
23549         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23550         with only 1 character between 0x0041 and 0x01b0.
23551         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23552         * wcsmbs/tst-mbsnrtowcs.c: New file.
23554 2012-03-29  David S. Miller  <davem@davemloft.net>
23556         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23557         small copies by hand.
23559 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23561         [BZ #13761]
23562         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23563         _nss_compat_initgroups_dyn): Fall back to malloc/free
23564         for large group memberships.
23566 2012-03-28  David S. Miller  <davem@davemloft.net>
23568         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23569         that branches into memcpy.
23570         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23571         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23572         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23573         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23575         bits.
23576         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23577         implementation too.
23578         * sysdeps/sparc/mempcpy.S: New file.
23580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23581         the IFUNC routine in the libc case.
23582         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23584         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23585         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23586         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23587         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23588         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23589         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23590         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23591         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23593         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23594         loop to 256 bytes instead of 64 bytes and fix test signedness.
23596         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23597         * sysdeps/sparc/sparc32/Makefile: rather than here...
23598         * sysdeps/sparc/sparc64/Makefile: and here.
23600 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23602         * malloc/mallocbug.c: Avoid warnings about unused variables.
23604 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23606         [BZ #13760]
23607         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23608         in the right place. Discard and retry query if response is
23609         larger than input buffer size.
23611 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23613         [BZ #369]
23614         [BZ #2678]
23615         [BZ #3866]
23616         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23617         x for large integer exponent.
23618         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23619         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23620         sign of result as needed afterwards.
23621         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23622         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23623         result for underflowing pow the same as for overflow.
23624         (__kernel_standard_l): Handle powl overflow and underflow here
23625         rather than calling __kernel_standard.
23626         * math/libm-test.inc (pow_test): Add more tests.
23628         [BZ #3868]
23629         [BZ #13879]
23630         [BZ #13910]
23631         [BZ #13911]
23632         [BZ #13912]
23633         [BZ #13913]
23634         [BZ #13915]
23635         [BZ #13916]
23636         [BZ #13917]
23637         [BZ #13918]
23638         [BZ #13919]
23639         [BZ #13920]
23640         [BZ #13921]
23641         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23642         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23643         (__kernel_standard_l): New function.
23644         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23645         __kernel_standard.
23646         * math/w_acosl.c (__acosl): Likewise.
23647         * math/w_asinl.c (__asinl): Likewise.
23648         * math/w_atan2l.c (__atan2l): Likewise.
23649         * math/w_atanhl.c (__atanhl): Likewise.
23650         * math/w_coshl.c (__coshl): Likewise.
23651         * math/w_exp10l.c (__exp10l): Likewise.
23652         * math/w_exp2l.c (__exp2l): Likewise.
23653         * math/w_fmodl.c (__fmodl): Likewise.
23654         * math/w_hypotl.c (__hypotl): Likewise.
23655         * math/w_j0l.c (__j0l, __y0l): Likewise.
23656         * math/w_j1l.c (__j1l, __y1l): Likewise.
23657         * math/w_jnl.c (__jnl, __ynl): Likewise.
23658         * math/w_lgammal.c (__lgammal): Likewise.
23659         * math/w_log10l.c (__log10l): Likewise.
23660         * math/w_log2l.c (__log2l): Likewise.
23661         * math/w_logl.c (__logl): Likewise.
23662         * math/w_powl.c (__powl): Likewise.
23663         * math/w_remainderl.c (__remainderl): Likewise.
23664         * math/w_scalbl.c (sysv_scalbl): Likewise.
23665         * math/w_sinhl.c (__sinhl): Likewise.
23666         * math/w_sqrtl.c (__sqrtl): Likewise.
23667         * math/w_tgammal.c (__tgammal): Likewise.
23668         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23669         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23670         * math/libm-test.inc (acos_test): Add more tests.
23671         (acosh_test): Likewise.
23672         (asin_test): Likewise.
23673         (atanh_test): Likewise.
23674         (exp_test): Likewise.
23675         (exp10_test): Likewise.
23676         (exp2_test): Likewise.
23677         (expm1_test): Likewise.
23678         (lgamma_test): Likewise.
23679         (log_test): Likewise.
23680         (log10_test): Likewise.
23681         (log1p_test): Likewise.
23682         (log2_test): Likewise.
23683         (pow_test): Do not allow some spurious overflow exceptions.
23684         (sqrt_test): Add more tests.
23685         (tgamma_test): Likewise.
23686         (y0_test): Likewise.
23687         (y1_test): Likewise.
23688         (yn_test): Likewise.
23690 2012-03-27  Anton Blanchard  <anton@samba.org>
23692         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23693         MAP_HUGETLB.
23694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23698 2012-03-27  David S. Miller  <davem@davemloft.net>
23700         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23702         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23703         have-as-vis3 check.
23705 2012-03-27  Andreas Jaeger  <aj@suse.de>
23707         * sysdeps/x86_64/elf/configure.in: Moved to ...
23708         * sysdeps/x86_64/configure.in: ... here.
23709         * sysdeps/x86_64/elf/start.S: Moved to ...
23710         * sysdeps/x86_64/start.S: ... here.
23711         * sysdeps/x86_64/elf/configure: Delete.
23713         * sysdeps/x86_64/configure.in: Merge contents from
23714         sysdeps/i386/configure.in (without i686 check).
23716         * sysdeps/i386/elf/Versions: Merge into ...
23717         * sysdeps/i386/Versions: ... this.
23718         * sysdeps/i386/elf/Versions: Delete file.
23719         * sysdeps/i386/elf/start.S: Moved to ...
23720         * sysdeps/i386/start.S: ...here.
23721         * sysdeps/i386/elf/configure.in: Merge into...
23722         * sysdeps/i386/configure.in: ...here.
23723         * sysdeps/i386/elf/configure.in: Delete file.
23724         * sysdeps/i386/elf/configure: Delete file.
23726         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23727         * debug/backtracesyms.c: ... here.
23728         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23729         * debug/backtracesymsfd.c: ... here.
23730         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23731         * sysdeps/generic/ifunc-sel.h: ... here.
23733         * sysdeps/unix/i386/start.c: Delete file.
23734         * sysdeps/unix/sparc/start.c: Delete file.
23735         * sysdeps/unix/start.c: Delete file.
23737         * sysdeps/sh/elf/configure.in: Moved to ...
23738         * sysdeps/sh/configure.in: ... here.
23739         * sysdeps/sh/elf/start.S: Moved to ...
23740         * sysdeps/sh/start.S: ... here.
23741         * sysdeps/sh/elf/configure: Delete file.
23743         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23744         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23745         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23746         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23747         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23748         * sysdeps/powerpc/powerpc64/start.S: here.
23749         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23750         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23751         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23752         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23753         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23755         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23756         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23757         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23758         * sysdeps/powerpc/powerpc32/start.S: ... here.
23759         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23760         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23761         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23763         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23764         * sysdeps/powerpc/ifunc-sel.h: ... here.
23765         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23766         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23768         * sysdeps/sparc/elf/configure.in: Moved to ...
23769         * sysdeps/sparc/configure.in: ... here.
23770         * sysdeps/sparc/elf/configure: Delete file.
23771         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23772         * sysdeps/sparc/sparc32/start.S: ... here.
23773         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23774         * sysdeps/sparc/sparc64/start.S: ... here.
23775         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23776         * sysdeps/sparc/sparc32/Makefile: ... this.
23777         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23778         * sysdeps/sparc/sparc64/Makefile: ... this.
23780         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23781         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23782         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23783         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23784         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23785         * sysdeps/s390/s390-32/setjmp.S: ... here.
23786         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23787         * sysdeps/s390/s390-32/configure.in: ... here.
23788         * sysdeps/s390/s390-32/elf/configure: Delete file.
23789         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23790         * sysdeps/s390/s390-32/start.S: ... here.
23792         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23793         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23794         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23795         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23796         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23797         * sysdeps/s390/s390-64/setjmp.S: ... here.
23798         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23799         * sysdeps/s390/s390-64/configure.in: ... here
23800         * sysdeps/s390/s390-64/elf/configure: Delete file.
23801         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23802         * sysdeps/s390/s390-64/start.S: ... here.
23803         * sysdeps/s390/s390-64/elf/configure: Delete.
23805         * configure.in: Remove support for elf directories in sysdeps.
23807         * configure: Regenerated.
23808         * sysdeps/i386/configure: Regenerated.
23809         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23810         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23811         * sysdeps/s390/s390-32/configure: Regenerated.
23812         * sysdeps/s390/s390-64/configure: Regenerated.
23813         * sysdeps/sh/configure: Regenerated.
23814         * sysdeps/sparc/configure: Regenerated.
23815         * sysdeps/x86_64/configure: Regenerated.
23817 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23822         denormal result into account.
23824 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23826         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23827         Reported by Allan McRae <allan@archlinux.org>.
23829 2012-03-23  Jeff Law  <law@redhat.com>
23831         * nss/getnssent.c (__nss_getent): Fix typo.
23833 2012-03-23  David S. Miller  <davem@davemloft.net>
23835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23837 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23839         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23840         to pad to uint64_t for each field.
23841         (dl_tls_index): Replace unsigned long with uint64_t.
23843 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23844         Paul Pluzhnikov  <ppluzhnikov@google.com>
23846         [BZ #6528]
23847         * grp/Makefile (otherlibs): Don't set it.
23848         * inet/Makefile (otherlibs): Likewise.
23849         * login/Makefile (otherlibs): Likewise.
23850         * nscd/Makefile (otherlibs): Likewise.
23851         * posix/Makefile (otherlibs): Likewise.
23852         * pwd/Makefile (otherlibs): Likewise.
23853         * rt/Makefile (otherlibs): Likewise.
23854         * sunrpc/Makefile (otherlibs): Likewise.
23855         * nss/Makefile (otherlibs): Likewise.
23856         Add libnss_files to routines and static-only-routines.
23857         ($(objpfx)getent): Remove rule.
23858         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23859         static-only-routines.
23861 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23863         [BZ #13892]
23864         * math/s_cexp.c: Include <float.h>.
23865         (__cexp): Handle exp result overflowing not necessarily
23866         overflowing both real and imaginary parts of result.
23867         * math/s_cexpf.c: Likewise.
23868         * math/s_cexpl.c: Likewise.
23869         * math/libm-test.inc (cexp_test): Add more tests.
23870         * sysdeps/i386/fpu/libm-test-ulps: Update.
23871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23873 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23875         * include/link.h (ELFW): New macro.
23876         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23877         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23879 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23881         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23882         with uint64_t.
23884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23886         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23887         declaration.
23888         (struct La_x32_retval): Likewise.
23890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23892         * sysdeps/x86_64/preconfigure.in: New file.
23893         * sysdeps/x86_64/preconfigure: New generated file.
23895 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23897         [BZ #13824]
23898         * math/e_exp2l.c: Include <float.h>.
23899         (__ieee754_exp2l): Handle overflow and underflow cases
23900         separately.  Only pass fractional part of argument to
23901         __ieee754_expl.
23902         * math/libm-test.inc (exp2_test): Add more tests.
23904         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23905         negating x to take absolute value.
23906         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23907         Likewise.
23908         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23909         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23910         Likewise.
23911         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23912         computing low part if x was negated.
23913         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23915 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23917         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23918         la_x32_gnu_pltexit.
23919         (pltexit): Cast int_retval to ptrdiff_t.
23920         * elf/tst-auditmod3b.c: Likewise.
23921         * elf/tst-auditmod4b.c: Likewise.
23922         * elf/tst-auditmod5b.c: Likewise.
23923         * elf/tst-auditmod6b.c: Likewise.
23924         * elf/tst-auditmod6c.c: Likewise.
23925         * elf/tst-auditmod7b.c: Likewise.
23927         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23928         and x32_gnu_pltexit.
23930         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23931         __ELF_NATIVE_CLASS.
23932         (La_x32_regs): New macro.
23933         (La_x32_retval): Likewise.
23934         (la_x32_gnu_pltenter): New function prototype.
23935         (la_x32_gnu_pltexit): Likewise.
23937 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23939         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23940         exponent.
23942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23944         * configure.in (libc_cv_cc_nofma): Check for option to disable
23945         generation of FMA instructions.
23946         * configure: Regenerate.
23947         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23948         * sysdeps/ieee754/dbl-64/Makefile: New file.
23949         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23950         Remove brandred-fma4.
23951         (CFLAGS-brandred-fma4.c): Remove.
23952         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23953         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23954         define.
23955         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23956         define.
23958 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23960         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23961         LLONG_MAX != LONG_MAX.
23962         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23963         (_fitoa_word): Likewise.
23964         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23965         LLONG_MAX != LONG_MAX.
23966         * stdio-common/_itowa.h: Include <_itoa.h>.
23967         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23968         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23969         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23970         only if not defined.
23971         (_ITOA_WORD_TYPE): Likewise.
23972         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23973         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23975 2012-03-21  David S. Miller  <davem@davemloft.net>
23977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23979 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23981         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23982         of x86_64 when setting libc_cv_slibdir, libdir and
23983         libc_cv_localedir.
23984         * sysdeps/unix/sysv/linux/configure: Regenerated.
23986 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23988         * manual/lang.texi (Old Varargs): Remove section.
23989         (How Variadic): Update menu.
23990         (va_start): Do not mention varargs.h.
23992 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23993             Joseph Myers  <joseph@codesourcery.com>
23995         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23996         link test.
23997         * configure: Regenerated.
23999 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24001         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24002         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24003         conformtest.pl
24005 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24007         * NOTES: Remove.
24008         * Makefile (files-for-dist): Remove NOTES.
24009         (NOTES): Remove rule.
24010         * README: Don't refer to NOTES.
24011         * manual/creature.texi: Don't include macros.texi.
24012         * manual/intro.texi (creature.texi): Remove comment referring to
24013         NOTES.
24015         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24016         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24017         * configure: Regenerated.
24018         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24019         LIBC_TRY_CC_OPTION.
24020         (libc_cv_as_i686): Likewise.
24021         (libc_cv_cc_avx): Likewise.
24022         (libc_cv_cc_sse2avx): Likewise.
24023         (libc_cv_cc_fma4): Likewise.
24024         (libc_cv_cc_novzeroupper): Likewise.
24025         * sysdeps/i386/configure: Regenerated.
24027         [BZ #13883]
24028         * sysdeps/i386/fpu/s_cexp.S: Remove.
24029         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24030         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24031         * math/libm-test.inc (cexp_test): Add more tests.
24032         * sysdeps/i386/fpu/libm-test-ulps: Update.
24033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24035 2012-03-21  Allan McRae  <allan@archlinux.org>
24037         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24039 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24041         [BZ #13871]
24042         * math/w_exp2.c: Do not include <float.h>.
24043         (o_threshold, u_threshold): Remove.
24044         (__exp2): Calculate result before checking finiteness and calling
24045         __kernel_standard.
24046         * math/w_exp2f.c: Likewise.
24047         * math/w_exp2l.c: Likewise.
24048         * math/libm-test.inc (exp2_test): Require overflow exception for
24049         1e6 input.
24051         [BZ #3866]
24052         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24053         range of signed 64-bit integers before using fistpll.  Remove
24054         checks for whether integers fit in mantissa bits.
24055         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24056         the range of signed 32-bit integers before using fistpl.  Remove
24057         checks for whether integers fit in mantissa bits.
24058         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24059         (__ieee754_powl): Test for y outside the range of signed 64-bit
24060         integers before using fistpll.  Reduce 64-bit values to 63-bit
24061         ones as needed.
24062         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24063         divide-by-zero is raised for zero to large negative powers.
24064         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24065         (__ieee754_powl): Test for y outside the range of signed 64-bit
24066         integers before using fistpll.  Reduce 64-bit values to 63-bit
24067         ones as needed.
24068         * math/libm-test.inc (pow_test): Add more tests.
24070 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24072         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24073         <stdio-common/_itoa.h>.
24074         * debug/segfault.c: Likewise.
24075         * elf/dl-cache.c: Likewise.
24076         * elf/dl-minimal.c: Likewise.
24077         * elf/dl-misc.c: Likewise.
24078         * elf/dl-sysdep.c: Likewise.
24079         * elf/dl-version.c: Likewise.
24080         * elf/rtld.c: Likewise.
24081         * hurd/hurdsock.c: Likewise.
24082         * hurd/lookup-retry.c: Likewise.
24083         * malloc/malloc.c: Likewise.
24084         * malloc/mtrace.c: Likewise.
24085         * nscd/nscd_getgr_r.c: Likewise.
24086         * nscd/nscd_getpw_r.c: Likewise.
24087         * nscd/nscd_getserv_r.c: Likewise.
24088         * posix/getopt_init.c: Likewise.
24089         * posix/wordexp.c: Likewise.
24090         * stdio-common/_itoa.c: Likewise.
24091         * stdio-common/printf_fphex.c: Likewise.
24092         * stdio-common/vfprintf.c: Likewise.
24093         * string/_strerror.c: Likewise.
24094         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24095         * sysdeps/i386/i686/hp-timing.h: Likewise.
24096         * sysdeps/mach/_strerror.c: Likewise.
24097         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24098         * sysdeps/mach/hurd/sethostid.c: Likewise.
24099         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24100         * sysdeps/mach/xpg-strerror.c: Likewise.
24101         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24102         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24103         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24104         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24105         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24106         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24107         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24108         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24109         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24110         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24111         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24112         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24113         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24114         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24115         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24116         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24117         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24118         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24119         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24120         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24121         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24123         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24125         * stdio-common/_itoa.h: Moved to ...
24126         * sysdeps/generic/_itoa.h: Here.
24128         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24130         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24131         instead of "_itoa.h" and "_itowa.h".
24132         * stdio-common/vfprintf.: Likewise.
24134 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24136         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24137         <bits/wordsize.h>.
24138         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24139         (__signbit): Likwise.
24140         (llrintf): Likwise.
24141         (llrint): Likwise.
24143 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24145         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24146         __WORDSIZE != 64.
24148 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24150         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24151         OVERFLOW_EXCEPTION_OK.
24152         * math/libm-test.inc ("Philosophy"): Update comment about
24153         exception testing.
24154         (OVERFLOW_EXCEPTION): Define.
24155         (OVERFLOW_EXCEPTION_OK): Likewise.
24156         (INVALID_EXCEPTION_OK): Renumber.
24157         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24158         (IGNORE_ZERO_INF_SIGN): Likewise.
24159         (test_exceptions): Handle FE_OVERFLOW.
24160         (exp10_test): Expect overflow exceptions.
24161         (exp2_test): Likewise.
24162         (expm1_test): Likewise.
24163         (nextafter_test): Likewise.
24164         (pow_test): Likewise.
24165         (scalbn_test): Likewise.
24166         (scalbln_test): Likewise.
24168 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24170         * sysdeps/x86_64/bits/atomic.h
24171         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24172         64bit integer.
24173         (atomic_exchange_acq): Likewise.
24174         (__arch_exchange_and_add_body): Likewise.
24175         (__arch_add_body): Likewise.
24176         (atomic_add_negative): Likewise.
24177         (atomic_add_zero): Likewise.
24179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24181         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24182         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24184 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24186         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24187         Check __x86_64__ instead of __WORDSIZE.
24189 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24191         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24193 2012-03-19  David S. Miller  <davem@davemloft.net>
24195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24197         * sysdeps/sparc/fpu/fenv_private.h: New file.
24198         * sysdeps/sparc/fpu/math_private.h: Use it.
24199         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24200         Remove.
24201         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24202         (libc_feholdexcept_setroundl): Remove.
24203         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24204         Remove.
24205         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24206         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24210         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24211         int64_t instead of long int.
24212         (INSERT_WORDS64): Likwise.
24214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24216         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24217         _Unwind_GetCFA return to _Unwind_Ptr first.
24219 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24221         [BZ #13629]
24222         * math/s_clog.c: Include <float.h>.
24223         (__clog): Scale large or subnormal inputs.
24224         * math/s_clogf.c: Likewise.
24225         * math/s_clogl.c: Likewise.
24226         * math/s_clog10.c: Include <float.h>.
24227         (M_LOG10_2): Define.
24228         (__clog10): Scale large or subnormal inputs.
24229         * math/s_clog10f.c: Likewise.
24230         * math/s_clog10l.c: Likewise.
24231         * math/libm-test.inc (clog_test): Add more tests.
24232         (clog10_test): Likewise.
24233         * sysdeps/i386/fpu/libm-test-ulps: Update.
24234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24236         [BZ #11451]
24237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24238         x and y.
24239         * math/libm-test.inc (atan2_test): Add another test.
24241         * Makerules (common-objdir-compile): Remove.
24242         * sysdeps/unix/Makefile (config-generated): Do not add
24243         $(unix-generated) to variable.
24244         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24245         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24246         Remove rule.
24247         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24248         Likewise.
24249         [generic bits/local_lim.h] (before-compile): Do not append to
24250         variable.
24251         [generic bits/local_lim.h] (common-generated): Likewise.
24252         [generic sys/param.h] (before-compile): Do not append to variable.
24253         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24254         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24255         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24256         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24257         include.
24258         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24259         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24260         [generic sys/param.h] ($(addprefix
24261         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24262         [generic sys/param.h] (common-generated): Do not append to
24263         variable.
24264         [generic sys/param.h] (sysdep_headers): Likewise.
24265         [generic bits/errno.h] (before-compile): Do not append to
24266         variable.
24267         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24268         rule.
24269         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24270         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24271         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24272         [generic bits/errno.h] (common-generated): Do not append to
24273         variable.
24274         [generic bits/ioctls.h] (before-compile): Do not append to
24275         variable.
24276         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24277         rule.
24278         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24279         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24280         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24281         rule.
24282         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24283         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24284         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24285         [generic bits/ioctls.h] (common-generated): Do not append to
24286         variable.
24287         [generic sys/syscall.h] (syscall.h): Remove variable.
24288         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24289         rule.
24290         [generic sys/syscall.h] (before-compile): Do not append to
24291         variable.
24292         [generic sys/syscall.h] (common-generated): Likewise.
24293         * sysdeps/unix/errnos-tmpl.c: Remove file.
24294         * sysdeps/unix/errnos.awk: Likewise.
24295         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24296         * sysdeps/unix/ioctls.awk: Likewise.
24297         * sysdeps/unix/mk-local_lim.c: Likewise.
24298         * sysdeps/unix/snarf-ioctls: Likewise.
24300 2012-03-19  Richard Henderson  <rth@twiddle.net>
24302         * sysdeps/i386/fpu/fenv_private.h: New file.
24303         * sysdeps/i386/fpu/math_private.h: Use it.
24304         (math_opt_barrier, math_force_eval): Remove.
24305         (libc_feholdexcept_setround_53bit): Remove.
24306         (libc_feupdateenv_53bit): Remove.
24307         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24308         (math_opt_barrier, math_force_eval): Remove.
24309         (libc_feholdexcept): Remove.
24310         (libc_feholdexcept_setround): Remove.
24311         (libc_fetestexcept, libc_fesetenv): Remove.
24312         (libc_feupdateenv_test): Remove.
24313         (libc_feupdateenv, libc_feholdsetround): Remove.
24314         (libc_feresetround): Remove.
24316         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24317         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24319         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24320         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24321         (libc_feupdateenv_testl): New.
24322         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24323         (libc_feupdateenv_testf): New.
24324         (libc_feupdateenv): Use libc_feupdateenv_test.
24325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24326         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24328         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24329         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24330         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24331         (libc_feresetround_noex): New.
24332         (libc_feresetround_noexf): New.
24333         (libc_feresetround_noexl): New.
24334         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24335         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24336         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24337         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24338         SET_RESTORE_ROUND.
24339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24341         (__cos): Likewise.
24342         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24343         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24344         SET_RESTORE_ROUND_NOEX.
24345         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24346         SET_RESTORE_ROUND_NOEXF.
24347         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24348         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24349         (libc_feholdsetroundf): New.
24350         (libc_feresetround, libc_feresetroundf): New.
24352         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24353         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24354         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24356         * sysdeps/generic/math_private.h: Include <fenv.h>.
24357         (default_libc_feholdexcept): New.
24358         (default_libc_feholdexcept_setround): New.
24359         (default_libc_fesetenv, default_libc_feupdateenv): New.
24360         (libc_feholdexcept): Only define if undefined.
24361         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24362         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24363         (libc_feholdexcept_setroundl): Likewise.
24364         (libc_feholdexcept_setround_53bit): Likewise.
24365         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24366         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24367         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24368         (libc_feupdateenv_53bit): Likewise.
24369         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24370         (libc_feholdexcept): Convert from macro to inline function.
24371         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24372         (libc_fesetenv, libc_feupdateenv): Likewise.
24374         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24375         not previously defined.
24376         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24377         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24378         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24379         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24380         * sysdeps/ieee754/flt-32/math_private.h: New file.
24381         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24382         math_private.h below SET_FLOAT_WORD.
24383         (__isnan, __isinf_ns, __finite): Remove.
24384         (__isnanf, __isinf_nsf, __finitef): Remove.
24386 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24390 2012-03-17  David S. Miller  <davem@davemloft.net>
24392         [BZ #6471]
24393         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24394         for 2.16.
24396 2012-03-16  David S. Miller  <davem@davemloft.net>
24398         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24399         warnings.
24401         [BZ #6471]
24402         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24403         properly.
24404         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24405         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24406         sysdep_routines when subdir is sysvipc.
24407         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24408         __getshmlba helper.
24410         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24412 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24414         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24415         [__LP64__].
24417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24419         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24420         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24421         (__lround): Renamed to ...
24422         (__llround): This.  Replace long int with long long int.
24423         Define lround functions as aliases of llround functions.
24424         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24426 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24428         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24429         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24430         adresses to uintptr_t.  Replace "long int" and "unsigned long
24431         int" with "greg_t" on va_arg.
24433 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24435         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24436         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24438         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24439         Move e_machine check before EI_CLASS check.  Handle x32
24440         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24441         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24442         SKIP_EM_IA_64 and include
24443         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24445         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24446         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24447         (add_system_dir): New macro.
24449         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24450         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24452 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24454         [BZ #2551]
24455         [BZ #2552]
24456         [BZ #2553]
24457         [BZ #2554]
24458         [BZ #2562]
24459         [BZ #2563]
24460         [BZ #2565]
24461         [BZ #2566]
24462         [BZ #2576]
24463         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24464         (y0): Likewise.
24465         * math/w_j0f.c (j0f): Likewise.
24466         (y0f): Likewise.
24467         * math/w_j0l.c (__j0l): Likewise.
24468         (__y0l): Likewise.
24469         * math/w_j1.c (j1): Likewise.
24470         (y1): Likewise.
24471         * math/w_j1f.c (j1f): Likewise.
24472         (y1f): Likewise.
24473         * math/w_j1l.c (__j1l): Likewise.
24474         (__y1l): Likewise.
24475         * math/w_jn.c (jn): Likewise.
24476         (yn): Likewise.
24477         * math/w_jnf.c (jnf): Likewise.
24478         (ynf): Likewise.
24479         * math/w_jnl.c (__jnl): Likewise.
24480         (__ynl): Likewise.
24481         * math/libm-test.inc (j0_test): Add more tests.
24482         (j1_test): Likewise.
24483         (jn_test): Likewise.  Add trailing semicolon to existing test.
24484         (y0_test): Likewise.
24485         (y1_test): Likewise.
24486         * sysdeps/i386/fpu/libm-test-ulps: Update.
24487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24489         [BZ #13851]
24490         [BZ #13854]
24491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24492         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24493         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24494         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24495         (__tanl): Set errno for infinite argument.
24496         * sysdeps/i386/fpu/mptan.c: Remove.
24497         * sysdeps/i386/fpu/s_tan.S: Likewise.
24498         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24499         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24500         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24501         * math/libm-test.inc (tan_test): Add more tests and enable more
24502         tests for double and long double.
24503         * sysdeps/i386/fpu/libm-test-ulps: Update.
24504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24506 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24508         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24509         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24511 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24513         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24514         * configure.in: Use it for both main tree and add-ons.
24515         * configure: Regenerated.
24517 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24519         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24521 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24523         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24524         in comment.
24526         [BZ #13851]
24527         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24528         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24531         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24532         infinite argument.
24533         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24535         != 0 for prec == 2.
24536         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24537         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24538         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24539         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24540         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24541         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24542         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24543         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24544         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24545         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24546         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24547         * math/libm-test.inc (cos_test): Add more tests and enable more
24548         tests for long double.
24549         (sin_test): Likewise.
24550         (sincos_test): Likewise.
24551         * sysdeps/i386/fpu/libm-test-ulps: Update.
24552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24554 2012-03-16  David S. Miller  <davem@davemloft.net>
24556         * sysdeps/sparc/fpu/math_private.h: New file.
24558 2012-03-15  David S. Miller  <davem@davemloft.net>
24560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24561         file.
24562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24564         file.
24565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24571         sysdep routines.
24572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24574         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24575         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24577         * sysdeps/sparc/sparc-ifunc.h: New file.
24578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24579         sparc-ifunc.h
24580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24582         Likewise.
24583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24584         Likewise.
24585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24589         Likewise.
24590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24595         Likewise.
24596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24597         Likewise.
24598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24618         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24623 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24625         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24626         scaling.
24627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24629 2012-03-15  Andreas Jaeger  <aj@suse.de>
24631         [BZ #13852]
24632         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24633         ieee754/flt-32 implementation for sin, cos and sincos.
24634         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24635         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24636         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24637         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24638         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24639         ieee754/flt-32 implementation for tan.
24641         * math/libm-test.inc (cos_test): Enable some large input tests for
24642         float as well
24643         (sin_test): Likewise.
24644         (sincos_test): Likewise.
24645         (tan_test): Add tests for large input.
24647         * sysdeps/i386/fpu/libm-test-ulps: Update.
24649 2012-03-15  Andreas Jaeger  <aj@suse.de>
24651         [BZ #13658]
24652         * math/libm-test.inc (cos_test): Add more test cases.
24653         (sin_test): Likewise.
24654         (sincos_test): Likewise.
24656 2012-03-15  Andreas Jaeger  <aj@suse.de>
24658         [BZ #13837]
24659         * math/libm-test.inc (cos_test): Add a test case for large input
24660         value.
24661         (sin_test): Likewise.
24662         (sincos_test): Likewise.
24664 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24665         Joseph Myers  <joseph@codesourcery.com>
24667         [BZ #13658]
24668         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24669         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24670         * sysdeps/i386/fpu/branred.c: Likewise.
24671         * sysdeps/i386/fpu/dosincos.c: Likewise.
24672         * sysdeps/i386/fpu/mpa.c: Likewise.
24673         * sysdeps/i386/fpu/s_cos.S: Likewise.
24674         * sysdeps/i386/fpu/s_sin.S: Likewise.
24675         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24676         * sysdeps/i386/fpu/sincos32.c: Likewise.
24678         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24679         Define.
24680         (libc_feupdateenv_53bit): Define.
24681         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24682         Define.
24683         (libc_feupdateenv_53bit): Define.
24685         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24686         53 bit (without extend i386 double precision).
24688         * math/libm-test.inc (sincos_test): Add tests for large input.
24689         (sin): Likewise.
24690         (cos): Likewise.
24692         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24694 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24698 2012-03-15  David S. Miller  <davem@davemloft.net>
24700         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24701         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24702         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24703         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24716         file.
24717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24719         file.
24720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24722         file.
24723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24725         file.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24727         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24728         fmin/fmax sysdep routines.
24729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24731 2012-03-14  David S. Miller  <davem@davemloft.net>
24733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24737         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24738         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24739         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24754         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24757         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24758         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24759         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24760         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24761         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24762         routines.
24763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24764         file.
24765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24767         file.
24768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24770         file.
24771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24773         file.
24774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24776         file.
24777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24779         file.
24780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24781         file.
24782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24783         file.
24784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24785         file.
24786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24787         New file.
24788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24789         file.
24790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24791         file.
24792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24794         file.
24795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24797         file.
24798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24800         file.
24801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24803         VIS3 routines.
24805         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24806         New file.
24808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24810         * sysdeps/sparc/configure.in: New file.
24811         * sysdeps/sparc/configure: Generate.
24812         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24813         * configure: Regenerate.
24814         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24815         * config.make.in (have-as-vis3): New.
24816         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24817         available use -Av9d instead of -Av9a.
24818         * sysdeps/sparc/sparc64/Makefile: Likewise.
24819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24821         New file.
24822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24823         file.
24824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24825         New file.
24826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24827         file.
24828         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24829         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24830         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24831         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24834         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24835         fzeros/fnegs to load 0x80000000 into a float register instead of
24836         using the stack.
24837         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24839 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24842         bits/syscall.h.
24843         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24844         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24845         ($(inst_includedir)/bits/syscall.h): Remove rule.
24846         ($(objpfx)bits/syscall.d): Include instead of
24847         $(objpfx)syscall-list.d.
24848         (generated): Change syscall-list.h and syscall-list.d to
24849         bits/syscall.h and bits/syscall.d.
24851 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24853         [BZ #13846]
24854         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24856 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24858         [BZ #13841]
24859         * math/s_csqrt.c: Include <float.h>.
24860         (__csqrt): Scale large or subnormal inputs.
24861         * math/s_csqrtf.c: Likewise.
24862         * math/s_csqrtl.c: Likewise.
24863         * math/libm-test.inc (csqrt_test): Add more tests.
24864         * sysdeps/i386/fpu/libm-test-ulps: Update.
24865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24867         [BZ #13840]
24868         * math/libm-test.inc (hypot_test): Add more tests.
24870 2012-03-13  David S. Miller  <davem@davemloft.net>
24872         [BZ #13840]
24873         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24874         double-precision for the calculation instead of scaling.
24876 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24878         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24879         manipulate bits before adding and subtracting TWO52[sx].
24880         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24881         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24882         Likewise.
24883         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24885 2012-03-13  David S. Miller  <davem@davemloft.net>
24887         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24888         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24889         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24890         rtld-global-offsets.h
24891         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24893         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24894         large parameters.
24896         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24898         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24899         'err' in the ifdef scope in which it is actually used.
24901         * nss/nss_db/db-init.c: Include string.h
24903 2012-03-12  David S. Miller  <davem@davemloft.net>
24905         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24906         masking out of the most significant byte of random value used.
24907         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24908         Fix coding style in previous change.
24910         * sysdeps/unix/sysv/linux/kernel-features.h
24911         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24912         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24913         expression.
24914         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24915         later.
24917 2012-03-11  David S. Miller  <davem@davemloft.net>
24919         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24920         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24921         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24922         for 'resultvar' otherwise things get truncated on 64-bit.
24924         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24925         Fix masking out of the most significant byte of random value used.
24927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24929 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24933 2012-03-09  David S. Miller  <davem@davemloft.net>
24935         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24936         variables with appropriate CPP guards.
24937         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24938         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24939         on resulting framesize and the management of the outregs buffer for pltexit.
24940         Preserve floating point return values across _dl_call_pltexit call.
24941         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24942         framesize and the management of the outregs buffer for pltexit.
24943         Preserve floating point return values across _dl_call_pltexit
24944         call.
24945         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24946         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24947         (print_exit): Fix format string for return register value.
24949 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24951         * sunrpc/Makefile (others): Add rpcgen.
24952         ($(objpfx)rpcgen): Remove special build rule and dependency on
24953         libc.
24954         * sunrpc/rpcgen.c: New file.
24956 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24958         [BZ #13673]
24959         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24960         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24961         * sysdeps/i386/crti.S: Likewise.
24962         * sysdeps/i386/crtn.S: Likewise.
24963         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24964         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24965         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24966         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24967         * sysdeps/sh/crti.S: Likewise.
24968         * sysdeps/sh/crtn.S: Likewise.
24969         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24971         [BZ #13673]
24972         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24973         with URL.
24974         * locale/programs/locfile-kw.gperf: Likewise.
24975         * locale/programs/charmap-kw.h: Regenerated.
24976         * locale/programs/locfile-kw.h: Likewise.
24978         [BZ #13673]
24979         * intl/plural.y: Replace FSF snail mail address with URL.
24980         * intl/plural.c: Regenerated.
24982 2012-03-09  Richard Henderson  <rth@twiddle.net>
24984         * include/math_private.h: Remove file.
24985         * math/math_private.h: Move file ...
24986         * sysdeps/generic/math_private.h: ... here.
24988         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24989         * sysdeps/powerpc/fpu/math_private.h: Likewise.
24990         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24992         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24993         and <math_private.h>.
24994         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24995         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24996         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24997         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24998         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24999         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25000         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25002         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25003         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25004         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25005         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25006         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25007         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25008         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25009         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25010         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25011         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25012         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25013         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25014         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25015         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25016         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25017         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25018         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25019         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25020         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25021         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25022         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25023         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25024         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25025         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25026         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25027         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25028         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25029         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25030         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25031         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25032         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25034         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25035         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25036         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25037         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25038         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25039         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25040         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25041         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25042         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25043         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25044         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25045         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25046         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25047         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25048         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25049         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25050         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25051         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25052         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25053         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25054         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25055         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25057         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25058         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25059         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25060         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25061         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25062         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25063         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25064         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25065         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25066         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25067         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25068         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25069         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25072         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25073         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25074         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25075         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25076         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25077         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25078         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25081         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25082         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25083         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25084         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25085         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25086         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25087         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25088         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25089         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25090         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25091         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25092         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25093         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25094         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25095         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25096         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25097         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25098         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25099         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25100         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25101         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25102         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25103         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25104         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25105         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25106         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25107         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25108         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25110         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25111         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25112         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25113         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25114         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25115         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25116         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25117         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25118         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25119         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25120         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25121         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25122         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25123         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25124         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25125         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25126         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25127         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25128         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25129         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25130         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25131         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25132         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25133         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25134         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25135         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25136         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25137         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25138         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25139         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25140         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25141         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25142         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25143         * sysdeps/ieee754/k_standard.c: Likewise.
25144         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25145         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25146         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25147         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25148         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25149         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25150         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25151         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25152         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25153         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25154         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25155         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25156         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25157         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25158         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25159         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25160         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25161         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25162         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25163         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25164         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25165         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25166         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25167         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25168         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25169         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25170         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25171         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25172         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25173         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25174         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25175         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25176         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25177         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25178         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25179         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25180         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25181         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25182         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25183         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25184         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25185         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25186         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25188         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25189         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25190         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25191         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25192         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25193         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25194         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25195         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25198         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25200         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25202         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25203         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25204         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25205         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25206         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25207         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25208         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25209         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25210         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25211         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25212         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25213         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25214         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25216         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25217         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25218         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25219         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25220         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25221         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25223         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25224         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25225         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25227         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25228         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25229         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25230         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25231         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25232         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25233         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25234         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25235         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25236         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25237         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25238         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25239         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25240         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25241         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25242         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25243         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25244         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25245         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25246         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25247         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25248         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25251         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25252         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25253         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25254         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25255         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25256         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25257         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25258         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25259         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25260         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25261         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25262         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25263         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25264         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25265         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25266         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25267         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25268         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25269         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25270         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25271         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25272         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25273         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25274         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25275         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25276         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25277         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25278         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25279         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25280         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25281         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25282         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25283         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25284         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25285         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25286         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25287         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25288         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25289         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25290         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25292         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25293         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25294         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25295         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25297         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25298         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25299         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25300         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25301         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25302         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25303         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25304         * sysdeps/ieee754/s_lib_version.c: Likewise.
25305         * sysdeps/ieee754/s_matherr.c: Likewise.
25306         * sysdeps/ieee754/s_signgam.c: Likewise.
25307         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25308         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25309         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25310         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25311         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25312         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25313         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25314         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25315         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25316         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25317         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25318         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25319         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25320         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25321         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25322         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25323         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25324         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25325         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25326         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25327         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25329 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25331         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25332         * sunrpc/rpc_main.c: Likewise.
25333         * sunrpc/rpc_svcout.c: Likewise.
25335 2012-03-09  David S. Miller  <davem@davemloft.net>
25337         * include/math_private.h: New file.
25339 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25341         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25342         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25343         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25344         from <bits/socket_type.h>.
25345         (enum __socket_type): Don't define here.
25346         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25348         bits/socket_type.h.
25350         [BZ #13566]
25351         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25352         checking __USE_GNU.
25354         * Makerules ($(inst_includedir)/%.h): New rule.
25355         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25356         (install-others): Remove variable setting.
25357         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25359 2012-03-08  Richard Henderson  <rth@twiddle.net>
25361         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25362         from macro to inline function; merge with the
25363         !__LIBC_INTERNAL_MATH_INLINES version.
25364         (__ieee754_sqrtf): Likewise.
25366         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25367         to inline function.
25368         (__rintf, __floor, __floorf): Likewise.
25370         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25371         macro to inline function.
25372         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25374         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25375         not <math/math_private.h>.
25377 2012-03-08  David S. Miller  <davem@davemloft.net>
25379         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25380         copyright year.
25381         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25383 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25385         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25386         normalization.
25387         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25388         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25390 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25392         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25393         be defined individually, they must be defined as a block.  Define
25394         S for printing a string instead of hidint the different by using a
25395         macro for adding the 'l'.
25396         * stdio-common/tst-fphex-wide.c: Adjust.
25398 2012-03-07  Marek Polacek  <polacek@redhat.com>
25400         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25402 2012-03-08  Marek Polacek  <polacek@redhat.com>
25404         [BZ #13806]
25405         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25406         * stdio-common/tst-fphex.c: Define a few macros to make the
25407         test reusable.  Use them.
25408         * stdio-common/tst-fphex-wide.c: New file.
25410 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25412         [BZ #6911]
25413         * manual/macros.texi (gnusystems): New macro.
25414         (nongnusystems): Likewise.
25415         (gnulinuxhurdsystems): Likewise.
25416         (gnuhurdsystems): Likewise..
25417         (gnulinuxsystems): Likewise.
25418         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25419         variants of the GNU system, not "GNU system".
25420         * manual/conf.texi: Likewise.
25421         * manual/errno.texi: Likewise.  Update example of errno macro
25422         expansion.
25423         * manual/filesys.texi: Likewise.
25424         (getumask): Document as specific to GNU/Hurd.
25425         * manual/install.texi: Likewise.  Reword some references to
25426         GNU/Linux.
25427         * manual/intro.texi: Likewise.
25428         * manual/io.texi: Likewise.
25429         (File Name Portability): Detail which constraints are inapplicable
25430         to all GNU systems and which are only inapplicable to GNU/Hurd.
25431         * manual/job.texi: Likewise.
25432         * manual/llio.texi: Likewise.
25433         (O_NOCTTY): Document as present on GNU/Linux.
25434         * manual/maint.texi: Likewise.
25435         * manual/memory.texi: Likewise.
25436         * manual/pattern.texi: Likewise.
25437         * manual/pipe.texi: Likewise.
25438         * manual/process.texi: Likewise.
25439         * manual/resource.texi: Likewise.
25440         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25441         child on GNU/Hurd.
25442         * manual/setjmp.texi: Likewise.
25443         * manual/signal.texi: Likewise.
25444         * manual/startup.texi: Likewise.
25445         * manual/stdio.texi: Likewise.
25446         * manual/terminal.texi: Likewise.
25447         (ONLCR): Document as POSIX.
25448         (OXTABS): Document availability on GNU/Linux as XTABS.
25449         (ONOEOT): Document availability separately from other bits.
25450         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25451         * manual/time.texi: Likewise.
25452         * manual/users.texi: Likewise.
25453         * INSTALL: Regenerated.
25454         * sysdeps/gnu/errlist.c: Regenerated.
25456         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25457         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25458         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25459         puts.
25460         * configure: Regenerated.
25462 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25464         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25465         default includes instead of AC_HEADER_CHECK.
25466         * sysdeps/i386/configure: Regenerated.
25468         [BZ #10716]
25469         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25470         * math/s_cacoshf.c (__cacoshf): Likewise.
25471         * math/s_cacoshl.c (__cacoshl): Likewise.
25472         * math/s_casinh.c (__casinh): Set signs of result from argument.
25473         * math/s_casinhf.c (__casinhf): Likewise.
25474         * math/s_casinhl.c (__casinhl): Likewise.
25475         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25476         (casinh_test): Add more tests.
25477         * sysdeps/i386/fpu/libm-test-ulps: Update.
25478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25480 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25482         * po/zh_TW.po: Update from translation team.
25484         * login/Makefile (distribute): Remove variable.
25485         * catgets/Makefile: Likewise.
25486         * mach/Makefile: Likewise.
25487         * malloc/Makefile: Likewise.
25488         * misc/Makefile: Likewise.
25489         * iconv/Makefile: Likewise.
25490         * nscd/Makefile: Likewise.
25491         * hurd/Makefile: Likewise.
25492         * manual/Makefile: Likewise.
25493         * locale/Makefile: Likewise.
25494         * intl/Makefile: Likewise.
25495         * conform/Makefile: Likewise.
25496         * nss/Makefile: Likewise.
25497         * time/Makefile: Likewise.
25498         * soft-fp/Makefile: Likewise.
25499         * dirent/Makefile: Likewise.
25500         * gmon/Makefile: Likewise.
25501         * po/Makefile: Likewise.
25502         * rt/Makefile: Likewise.
25503         * socket/Makefile: Likewise.
25504         * math/Makefile: Likewise.
25505         * signal/Makefile: Likewise.
25506         * debug/Makefile: Likewise.
25507         * elf/Makefile: Likewise.
25508         * timezone/Makefile: Likewise.
25509         * stdlib/Makefile: Likewise.
25510         * iconvdata/Makefile: Likewise.
25511         * sunrpc/Makefile: Likewise.
25512         * io/Makefile: Likewise.
25513         * argp/Makefile: Likewise.
25514         * inet/Makefile: Likewise.
25515         * hesiod/Makefile: Likewise.
25516         * grp/Makefile: Likewise.
25517         * csu/Makefile: Likewise.
25518         * wctype/Makefile: Likewise.
25519         * crypt/Makefile: Likewise.
25520         * libio/Makefile: Likewise.
25521         * string/Makefile: Likewise.
25522         * nis/Makefile: Likewise.
25523         * resolv/Makefile: Likewise.
25524         * stdio-common/Makefile: Likewise.
25525         * wcsmbs/Makefile: Likewise.
25526         * dlfcn/Makefile: Likewise.
25527         * posix/Makefile: Likewise.
25529         [BZ #6959]
25530         * timezone/Makefile: Don't install timezone files, just the programs
25531         and scripts.
25533 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25535         * nss/databases.def: Add missing gshadow entry.
25537         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25539 2012-03-06  Marek Polacek  <polacek@redhat.com>
25541         [BZ #13726]
25542         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25543         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25544         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25545         * stdio-common/tst-long-dbl-fphex.c: New file.
25547 2012-03-06  David S. Miller  <davem@davemloft.net>
25549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25550         (set_obp_int): New function.
25551         (get_obp_int): New function.
25552         (__get_clockfreq_via_dev_openprom): Likewise.
25553         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25554         Avoid unused variable warnings on 'val' and use builtin_expect.
25555         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25556         __builtin_expect.
25557         (INLINE_CLONE_SYSCALL): Likewise.
25559 2012-03-05  David S. Miller  <davem@davemloft.net>
25561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25563 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25567         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25568         only for |x| >= 40.
25569         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25571 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25573         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25574         Replace gettimeofday with __vdso_gettimeofday.
25576         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25577         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25578         __vdso_clock_gettime and __vdso_getcpu.
25580         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25581         time with __vdso_time.
25583 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25585         * manual/lang.texi (size_t): Note types to which size_t may be
25586         equivalent with the GNU C Library, but do not describe when
25587         differences between them are significant.
25589 2012-03-05  Andreas Jaeger  <aj@suse.de>
25591         * sysdeps/i386/fpu/libm-test-ulps: Update.
25593 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25595         [BZ #3976]
25596         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25597         (__ieee754_pow): Save and restore rounding mode and use
25598         round-to-nearest for main computations.
25599         * math/libm-test.inc (pow_test_tonearest): New function.
25600         (pow_test_towardzero): Likewise.
25601         (pow_test_downward): Likewise.
25602         (pow_test_upward): Likewise.
25603         (main): Call the new functions.
25604         * sysdeps/i386/fpu/libm-test-ulps: Update.
25605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25607         [BZ #3976]
25608         * math/libm-test.inc (cosh_test_tonearest): New function.
25609         (cosh_test_towardzero): Likewise.
25610         (cosh_test_downward): Likewise.
25611         (cosh_test_upward): Likewise.
25612         (sinh_test_tonearest): Likewise.
25613         (sinh_test_towardzero): Likewise.
25614         (sinh_test_downward): Likewise.
25615         (sinh_test_upward): Likewise.
25616         (main): Call the new functions.
25617         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25622         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25623         default stack guard is set in last bytes.
25624         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25626 2012-03-05  Kees Cook  <keescook@chromium.org>
25628         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25630         [BZ #13656]
25631         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25632         possibly allocate from heap instead of stack.
25633         * stdio-common/bug-vfprintf-nargs.c: New file.
25634         * stdio-common/Makefile (tests): Add nargs overflow test.
25636 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25640 2012-03-03  Marek Polacek  <polacek@redhat.com>
25642         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25643         * math/math_private.h: Likewise.
25644         * stdlib/tst-strtod.c: Likewise.
25645         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25646         * sysdeps/x86_64/bits/atomic.h: Likewise.
25648 2012-03-02  David S. Miller  <davem@davemloft.net>
25650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25654         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25655         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25656         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25657         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25659 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25661         [BZ #13792]
25662         * manual/examples/README: New file, says the example source files
25663         can be used under GPL>=2.
25664         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25665         line containing just "*/".
25666         * manual/examples/add.c: Add copyright header (GPL>=2).
25667         * manual/examples/argp-ex1.c: Likewise.
25668         * manual/examples/argp-ex2.c: Likewise.
25669         * manual/examples/argp-ex3.c: Likewise.
25670         * manual/examples/argp-ex4.c: Likewise.
25671         * manual/examples/atexit.c: Likewise.
25672         * manual/examples/db.c: Likewise.
25673         * manual/examples/dir.c: Likewise.
25674         * manual/examples/dir2.c: Likewise.
25675         * manual/examples/execinfo.c: Likewise.
25676         * manual/examples/filecli.c: Likewise.
25677         * manual/examples/filesrv.c: Likewise.
25678         * manual/examples/fmtmsgexpl.c: Likewise.
25679         * manual/examples/genpass.c: Likewise.
25680         * manual/examples/inetcli.c: Likewise.
25681         * manual/examples/inetsrv.c: Likewise.
25682         * manual/examples/isockad.c: Likewise.
25683         * manual/examples/longopt.c: Likewise.
25684         * manual/examples/memopen.c: Likewise.
25685         * manual/examples/memstrm.c: Likewise.
25686         * manual/examples/mkfsock.c: Likewise.
25687         * manual/examples/mkisock.c: Likewise.
25688         * manual/examples/mygetpass.c: Likewise.
25689         * manual/examples/pipe.c: Likewise.
25690         * manual/examples/popen.c: Likewise.
25691         * manual/examples/rprintf.c: Likewise.
25692         * manual/examples/search.c: Likewise.
25693         * manual/examples/select.c: Likewise.
25694         * manual/examples/setjmp.c: Likewise.
25695         * manual/examples/sigh1.c: Likewise.
25696         * manual/examples/sigusr.c: Likewise.
25697         * manual/examples/stpcpy.c: Likewise.
25698         * manual/examples/strdupa.c: Likewise.
25699         * manual/examples/strftim.c: Likewise.
25700         * manual/examples/strncat.c: Likewise.
25701         * manual/examples/subopt.c: Likewise.
25702         * manual/examples/swapcontext.c: Likewise.
25703         * manual/examples/termios.c: Likewise.
25704         * manual/examples/testopt.c: Likewise.
25705         * manual/examples/testpass.c: Likewise.
25706         * manual/examples/timeval_subtract.c: Likewise.
25708         [BZ #13792]
25709         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25710         function to ...
25711         * manual/timeval_subtract.c.texi: ... here, new file.
25713 2012-03-02  David S. Miller  <davem@davemloft.net>
25715         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25717 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25719         [BZ #3976]
25720         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25721         (__sin): Save and restore rounding mode and use round-to-nearest
25722         for all computations.
25723         (__cos): Save and restore rounding mode and use round-to-nearest
25724         for all computations.
25725         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25726         <fenv.h>.
25727         (tan): Save and restore rounding mode and use round-to-nearest for
25728         all computations.
25729         * math/libm-test.inc (cos_test_tonearest): New function.
25730         (cos_test_towardzero): Likewise.
25731         (cos_test_downward): Likewise.
25732         (cos_test_upward): Likewise.
25733         (sin_test_tonearest): Likewise.
25734         (sin_test_towardzero): Likewise.
25735         (sin_test_downward): Likewise.
25736         (sin_test_upward): Likewise.
25737         (tan_test_tonearest): Likewise.
25738         (tan_test_towardzero): Likewise.
25739         (tan_test_downward): Likewise.
25740         (tan_test_upward): Likewise.
25741         (main): Call the new functions.
25742         * sysdeps/i386/fpu/libm-test-ulps: Update.
25743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25745         [BZ #10135]
25746         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25747         small n, then large n, before computing and testing k+n.
25748         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25749         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25750         Likewise.
25751         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25752         Likewise.
25753         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25754         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25757         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25758         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25759         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25760         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25761         * math/libm-test.inc (scalbn_test): Add more tests.
25762         (scalbln_test): Likewise.
25764         * manual/filesys.texi (mode_t): Describe constraints on size and
25765         signedness, not exact equivalence to a particular type.
25766         (ino_t): Likewise.
25767         (ino64_t): Likewise.
25768         (dev_t): Likewise.
25769         (nlink_t): Likewise.
25770         (blkcnt_t): Likewise.
25771         (blkcnt64_t): Likewise.
25772         * manual/llio.texi (off_t): Likewise.
25774         [BZ #3976]
25775         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25776         (__ieee754_exp): Save and restore rounding mode and use
25777         round-to-nearest for all computations.
25778         * math/libm-test.inc (exp_test_tonearest): New function.
25779         (exp_test_towardzero): Likewise.
25780         (exp_test_downward): Likewise.
25781         (exp_test_upward): Likewise.
25782         (main): Call the new functions.
25783         * sysdeps/i386/fpu/libm-test-ulps: Update.
25784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25786 2012-03-01  Chris Demetriou  <cgd@google.com>
25788         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25789         have predictable order.
25791 2012-03-01  David S. Miller  <davem@davemloft.net>
25793         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25795         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25796         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25797         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25798         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25800         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25801         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25802         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25804         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25805         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25806         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25807         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25808         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25812         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25813         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25814         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25816         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25817         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25818         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25819         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25820         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25822         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25823         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25824         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25825         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25826         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25827         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25829         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25830         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25832         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25833         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25834         * sysdeps/sparc/elf/configure: Regenerated.
25836 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25838         * configure.in (AS, LD): Require binutils 2.20 or later.
25839         * configure: Regenerated.
25840         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25841         as required minimum version.
25842         * INSTALL: Regenerated.
25844         [BZ #2541]
25845         [BZ #4108]
25846         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25847         before squaring exponent.
25848         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25849         bottom long double and 27 bits of top long double before squaring
25850         exponent.
25851         * math/libm-test.inc (erfc_test): Add more tests.
25852         * sysdeps/i386/fpu/libm-test-ulps: Update.
25853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25856 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25858         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25859         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25860         containing bit-fields.
25861         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25862         * soft-fp/single.h (_FP_UNION_S): Likewise.
25863         * soft-fp/double.h (_FP_UNION_D): Likewise.
25865 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25867         [BZ #13786]
25868         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25869         not include ../strcmp.S.
25870         [USE_AS_STRNCASECMP_L]: Likewise.
25871         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25872         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25873         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25874         (__strncasecmp_l_ia32): Define as alias to
25875         __strncasecmp_l_nonascii.
25877         [BZ #5794]
25878         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25879         * sysdeps/i386/fpu/libm-test-ulps: Update.
25880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25882         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25885 2012-02-29  Jeff Law  <law@redhat.com>
25887         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25888         out of bounds read.
25890 2012-02-29  Marek Polacek  <polacek@redhat.com>
25892         [BZ #13706]
25893         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25894         * elf/Makefile: Add rules to run tst-unused-dep.out.
25896 2012-02-28  David S. Miller  <davem@davemloft.net>
25898         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25899         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25900         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25901         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25902         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25903         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25905 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25907         * math/libm-test.inc (llround_test): Move one test from
25908         lround_test.  Use TEST_f_L in moved test.
25909         (lround_test): Move misplaced test to llround_test.  Add testcase
25910         from bug 2561.
25912 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25914         * sysdeps/x86_64/fpu/e_expf.S: New file.
25915         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25917 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25919         [BZ #13637]
25920         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25921         of remain_len that may cause incomplete multi-byte character and
25922         false match.
25923         * posix/bug-regex33.c: New file.
25924         * posix/Makefile (tests): Add bug-regex33.
25926 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25928         * manual/macros.texi: New file.
25929         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25930         * manual/libc.texinfo: Include macros.texi.
25931         * manual/creatute.texi: Likewise.
25932         * manual/install.texi: Likewise.
25933         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25934         @glibcadj{} in references to the GNU C Library.
25935         * manual/charset.texi: Likewise.
25936         * manual/conf.texi: Likewise.
25937         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25938         when not using those macros.
25939         * manual/creature.texi: Likewise.
25940         * manual/crypt.texi: Likewise.
25941         * manual/errno.texi: Likewise.
25942         * manual/filesys.texi: Likewise.
25943         * manual/header.texi: Likewise.
25944         * manual/install.texi: Likewise.
25945         * manual/intro.texi: Likewise.
25946         * manual/io.texi: Likewise.
25947         * manual/job.texi: Likewise.
25948         * manual/lang.texi: Likewise.
25949         * manual/libc.texiinfo: Likewise.
25950         * manual/llio.texi: Likewise.
25951         * manual/locale.texi: Likewise.
25952         * manual/maint.texi: Likewise.
25953         * manual/math.texi: Likewise.
25954         * manual/memory.texi: Likewise.
25955         * manual/message.texi: Likewise.
25956         * manual/nss.texi: Likewise.
25957         * manual/pattern.texi: Likewise.
25958         * manual/process.texi: Likewise.
25959         * manual/resource.texi: Likewise.
25960         * manual/search.texi: Likewise.
25961         * manual/setjmp.texi: Likewise.
25962         * manual/signal.texi: Likewise.
25963         * manual/socket.texi: Likewise.
25964         * manual/startup.texi: Likewise.
25965         * manual/stdio.texi: Likewise.
25966         * manual/string.texi: Likewise.
25967         * manual/sysinfo.texi: Likewise.
25968         * manual/syslog.texi: Likewise.
25969         * manual/terminal.texi: Likewise.
25970         * manual/time.texi: Likewise.
25971         * manual/users.texi: Likewise.
25972         * INSTALL: Regenerated.
25973         * NOTES: Regenerated.
25974         * sysdeps/gnu/errlist.c: Regenerated.
25976 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25978         * include/dirent.h: Include <dirstream.h> before
25979         <dirent/dirent.h>.
25981 2012-02-28  David S. Miller  <davem@davemloft.net>
25983         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25984         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25985         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25986         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25988 2012-02-27  David S. Miller  <davem@davemloft.net>
25990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25992         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25993         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25996         frame pointer instead of stack pointer relative arg slot.
25997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25998         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25999         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26001 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26003         [BZ #3992]
26004         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26006 2012-02-27  David S. Miller  <davem@davemloft.net>
26008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26012         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26013         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26014         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26015         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26017 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26019         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26020         later.  Allow versions 5-9.
26021         * configure: Regenerated.
26022         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26023         required minimum version and 4.6 as recommended version.  Do not
26024         mention bugs in GCC 2.7 and 2.8.
26025         * INSTALL: Regenerated.
26027 2012-02-27  David S. Miller  <davem@davemloft.net>
26029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26033         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26034         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26035         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26036         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26038         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26039         manipulate bits before adding and subtracting TWO112[sx].
26040         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26042 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26044         [BZ #13775]
26045         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26046         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26047         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26048         being in POSIX, because they are in 1003.1-2008.
26050         * rt/tst-aio.c: Include <fcntl.h>.
26051         * rt/tst-aio7.c: Likewise.
26052         * rt/tst-aio64.c: Likewise.
26054         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26056 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26058         * manual/install.texi (--with-headers): Describe headers as
26059         interface headers, not private headers.
26060         (Specific advice for GNU/Linux systems): Describe use of headers
26061         from "make headers_install", not private headers from older
26062         kernels.
26063         * INSTALL: Regenerated.
26064         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26065         Change to 2.6.19.
26066         * sysdeps/unix/sysv/linux/configure: Regenerated.
26068         * manual/llio.texi (fclean): Remove documentation.
26070         * manual/Makefile (libc-texi-generated): New variable.  Include
26071         version.texi.
26072         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26073         $(libc-texi-generated), not duplicated list of files.
26074         (version.texi, stamp-version): New rules.
26075         (realclean): Remove $(libc-texi-generated), not individual files
26076         from that list.  Do not remove dir-add.texinfo.
26077         * manual/libc.texinfo: Comment out uses of edition numbers and
26078         references to printed manual.  Remove last-updated dates.
26079         (EDITION): Comment out.
26080         (ISBN): Likewise.
26081         (VERSION, UPDATED): Remove.
26082         (version.texi): Include.
26084 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26086         * sysdeps/posix/spawni.c: Include <signal.h>.
26087         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26088         * sysdeps/pthread/aio_fsync.c: Likewise.
26090 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26092         * conform/Makefile (tests): Run only when not cross-compiling and
26093         when fast-check is not defined.
26095         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26096         * conform/data/limits.h-data: Fixes for POSIX2008.
26097         * conform/run-conformtest.sh: Run all tests.
26098         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26099         headers.
26100         * include/bits/dlfcn.h: Likewise.
26101         * include/langinfo.h: Likewise.
26102         * include/monetary.h: Likewise.
26103         * include/sys/poll.h: Likewise.
26105         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26106         for __USE_GNU.
26107         * posix/spawn.h: Define __need_sigset_t.
26108         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26109         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26110         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26111         to get sigevent_t only.
26112         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26113         only for __USE_GNU.
26114         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26115         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26116         process_vm_writev only for __USE_GNU.
26117         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26119         * conform/Makefile: For now ignore errors from run-conformtest.
26120         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26121         POSIX to avoid namespace pollution.  Don't prepend headers.
26122         * conform/data/aio.h-data: Fixes for POSIX testing.
26123         * conform/data/fcntl.h-data: Likewise.
26124         * conform/data/glob.h-data: Likewise.
26125         * conform/data/grp.h-data: Likewise.
26126         * conform/data/pthread.h-data: Likewise.
26127         * conform/data/pwd.h-data: Likewise.
26128         * conform/data/signal.h-data: Likewise.
26129         * conform/data/spawn.h-data: Likewise.
26130         * conform/data/stdio.h-data: Likewise.
26131         * conform/data/stdlib.h-data: Likewise.
26132         * conform/data/stropts.h-data: Likewise.
26133         * conform/data/sys/mman.h-data: Likewise.
26134         * conform/data/sys/stat.h-data: Likewise.
26135         * conform/data/sys/types.h-data: Likewise.
26136         * conform/data/sys/wait.h-data: Likewise.
26137         * conform/data/time.h-data: Likewise.
26138         * conform/data/unistd.h-data: Likewise.
26139         * conform/data/utime.h-data: Likewise.
26141         * io/sys/stat.h: fchmod was always in POSIX.
26142         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26143         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26144         * rt/aio.h: Define __need_timespec before including <time.h>.
26145         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26146         struct.  Add forward declaration of pthread_attr_t and use it in
26147         sigevent.
26148         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26149         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26150         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26151         always remove CLK_TCK definition.
26153 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26155         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26157 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26159         * conform/run-conformtest.sh: New file.
26160         * conform/Makefile: Run run-conformtest for tests.
26161         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26162         support.
26164         * conform/data/uchar.h-data: New file.
26165         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26166         * conform/data/arpa/inet.h-data: Likewise.
26167         * conform/data/assert.h-data: Likewise.
26168         * conform/data/complex.h-data: Likewise.
26169         * conform/data/cpio.h-data: Likewise.
26170         * conform/data/ctype.h-data: Likewise.
26171         * conform/data/dirent.h-data: Likewise.
26172         * conform/data/dlfcn.h-data: Likewise.
26173         * conform/data/errno.h-data: Likewise.
26174         * conform/data/fcntl.h-data: Likewise.
26175         * conform/data/float.h-data: Likewise.
26176         * conform/data/fmtmsg.h-data: Likewise.
26177         * conform/data/fnmatch.h-data: Likewise.
26178         * conform/data/ftw.h-data: Likewise.
26179         * conform/data/glob.h-data: Likewise.
26180         * conform/data/grp.h-data: Likewise.
26181         * conform/data/iconv.h-data: Likewise.
26182         * conform/data/inttypes.h-data: Likewise.
26183         * conform/data/langinfo.h-data: Likewise.
26184         * conform/data/libgen.h-data: Likewise.
26185         * conform/data/limits.h-data: Likewise.
26186         * conform/data/locale.h-data: Likewise.
26187         * conform/data/math.h-data: Likewise.
26188         * conform/data/monetary.h-data: Likewise.
26189         * conform/data/mqueue.h-data: Likewise.
26190         * conform/data/ndbm.h-data: Likewise.
26191         * conform/data/net/if.h-data: Likewise.
26192         * conform/data/netdb.h-data: Likewise.
26193         * conform/data/netinet/in.h-data: Likewise.
26194         * conform/data/nl_types.h-data: Likewise.
26195         * conform/data/poll.h-data: Likewise.
26196         * conform/data/pthread.h-data: Likewise.
26197         * conform/data/pwd.h-data: Likewise.
26198         * conform/data/regex.h-data: Likewise.
26199         * conform/data/sched.h-data: Likewise.
26200         * conform/data/search.h-data: Likewise.
26201         * conform/data/semaphore.h-data: Likewise.
26202         * conform/data/setjmp.h-data: Likewise.
26203         * conform/data/signal.h-data: Likewise.
26204         * conform/data/spawn.h-data: Likewise.
26205         * conform/data/stdarg.h-data: Likewise.
26206         * conform/data/stdio.h-data: Likewise.
26207         * conform/data/stdlib.h-data: Likewise.
26208         * conform/data/string.h-data: Likewise.
26209         * conform/data/strings.h-data: Likewise.
26210         * conform/data/stropts.h-data: Likewise.
26211         * conform/data/sys/ipc.h-data: Likewise.
26212         * conform/data/sys/mman.h-data: Likewise.
26213         * conform/data/sys/msg.h-data: Likewise.
26214         * conform/data/sys/resource.h-data: Likewise.
26215         * conform/data/sys/select.h-data: Likewise.
26216         * conform/data/sys/sem.h-data: Likewise.
26217         * conform/data/sys/shm.h-data: Likewise.
26218         * conform/data/sys/socket.h-data: Likewise.
26219         * conform/data/sys/stat.h-data: Likewise.
26220         * conform/data/sys/statvfs.h-data: Likewise.
26221         * conform/data/sys/time.h-data: Likewise.
26222         * conform/data/sys/timeb.h-data: Likewise.
26223         * conform/data/sys/times.h-data: Likewise.
26224         * conform/data/sys/types.h-data: Likewise.
26225         * conform/data/sys/uio.h-data: Likewise.
26226         * conform/data/sys/un.h-data: Likewise.
26227         * conform/data/sys/utsname.h-data: Likewise.
26228         * conform/data/sys/wait.h-data: Likewise.
26229         * conform/data/syslog.h-data: Likewise.
26230         * conform/data/tar.h-data: Likewise.
26231         * conform/data/termios.h-data: Likewise.
26232         * conform/data/utime.h-data: Likewise.
26233         * conform/data/utmpx.h-data: Likewise.
26234         * conform/data/varargs.h-data: Likewise.
26235         * conform/data/wchar.h-data: Likewise.
26236         * conform/data/wctype.h-data: Likewise.
26237         * conform/data/wordexp.h-data: Likewise.
26239         * include/stropts.h: New file.
26240         * include/uchar.h: New file.
26241         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26242         * include/assert.h: Likewise.
26243         * include/ctype.h: Likewise.
26244         * include/dirent.h: Likewise.
26245         * include/dlfcn.h: Likewise.
26246         * include/fcntl.h: Likewise.
26247         * include/fnmatch.h: Likewise.
26248         * include/glob.h: Likewise.
26249         * include/grp.h: Likewise.
26250         * include/libio.h: Likewise.
26251         * include/locale.h: Likewise.
26252         * include/math.h: Likewise.
26253         * include/net/if.h: Likewise.
26254         * include/netdb.h: Likewise.
26255         * include/netinet/in.h: Likewise.
26256         * include/pthread.h: Likewise.
26257         * include/pwd.h: Likewise.
26258         * include/regex.h: Likewise.
26259         * include/sched.h: Likewise.
26260         * include/search.h: Likewise.
26261         * include/setjmp.h: Likewise.
26262         * include/signal.h: Likewise.
26263         * include/stdio.h: Likewise.
26264         * include/stdlib.h: Likewise.
26265         * include/string.h: Likewise.
26266         * include/sys/cdefs.h: Likewise.
26267         * include/sys/mman.h: Likewise.
26268         * include/sys/msg.h: Likewise.
26269         * include/sys/resource.h: Likewise.
26270         * include/sys/select.h: Likewise.
26271         * include/sys/socket.h: Likewise.
26272         * include/sys/stat.h: Likewise.
26273         * include/sys/statvfs.h: Likewise.
26274         * include/sys/time.h: Likewise.
26275         * include/sys/times.h: Likewise.
26276         * include/sys/uio.h: Likewise.
26277         * include/sys/utsname.h: Likewise.
26278         * include/sys/wait.h: Likewise.
26279         * include/termios.h: Likewise.
26280         * include/time.h: Likewise.
26281         * include/ulimit.h: Likewise.
26282         * include/unistd.h: Likewise.
26283         * include/utime.h: Likewise.
26284         * include/wchar.h: Likewise.
26285         * include/wctype.h: Likewise.
26286         * include/wordexp.h: Likewise.
26288         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26290         * time/time.h: TIME_UTC must be a macro.
26291         Make timespec_get available for ISO C11 only as well.
26293 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26295         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26296         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26298 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26300         * configure.in: Use -o not -a in test for unsupported multi-arch.
26302 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26304         * manual/texinfo.tex: Update to version 2012-01-19.16.
26306 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26308         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26310 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26312         [BZ #13738]
26313         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26314         * manual/fdl-1.3.texi: New file.
26315         * manual/fdl-1.1.texi: File removed.
26317         [BZ #13738]
26318         * manual/libc.texinfo (FDL_VERSION): New @set.
26319         Use it for mention of FDL in cover text.
26320         (Documentation License): Use it in @include file name.
26322 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26323             Roland McGrath  <roland@hack.frob.com>
26325         [BZ #5461]
26326         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26327         not LONG_LONG_MAX and LONG_LONG_MIN.
26328         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26329         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26330         name.
26331         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26333 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26335         [BZ #2547]
26336         [BZ #11365]
26337         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26338         manipulate bits before adding and subtracting TWO23[sx].
26339         * math/libm-test.inc (nearbyint_test): Add more tests.
26341 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26343         [BZ #2548]
26344         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26345         bits before adding and subtracting TWO23[sx].
26346         * math/libm-test.inc (rint_test): Add more tests.
26347         (rint_test_tonearest): Likewise.
26348         (rint_test_towardzero): Likewise.
26349         (rint_test_downward): Likewise.
26350         (rint_test_upward: Likewise.
26352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26354         [BZ #10110]
26355         * include/stdc-predef.h: New file.  Extracted from features.h.
26356         * include/features.h: Include stdc-predef.h.
26357         * Makefile (headers): Add stdc-predef.h.
26358         * CONFORMANCE (Compiler limitations): Update.
26360 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26362         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26364 2012-02-21  David S. Miller  <davem@davemloft.net>
26366         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26367         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26369 2012-02-20  David S. Miller  <davem@davemloft.net>
26371         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26372         using a normal save/restore sequence, rather than allocating a
26373         dummy stack frame just to store a frame pointer and restore.
26374         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26376 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26378         * manual/install.texi: Fix stray word in line-wrapped comment.
26380 2012-02-20  David S. Miller  <davem@davemloft.net>
26382         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26383         both binutils and gcc support GOTDATA.
26385         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26386         "rd %pc" in the PIC register setup sequences.
26388         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26389         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26390         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26391         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26392         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26394         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26395         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26397         (SYSCALL_ERROR_HANDLER): Likewise.
26398         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26399         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26401         (SYSCALL_ERROR_HANDLER): Likewise.
26403         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26404         (HAVE_GCC_GOTDATA): New.
26405         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26406         relocation support in both binutils and gcc.
26407         * sysdeps/sparc/elf/configure: Regenerate.
26409         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26410         * sysdeps/sparc/sparc32/elf/configure: Delete.
26411         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26412         * sysdeps/sparc/sparc64/elf/configure: Delete.
26413         * sysdeps/sparc/elf/configure.in: New file.
26414         * sysdeps/sparc/elf/configure: Generate.
26416         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26417         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26418         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26419         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26420         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26422 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26424         * manual/install.texi: Do not mention specific glibc version
26425         numbers.
26426         * manual/libc.texinfo (VERSION, UPDATED): Update.
26427         (@copying): Use @copyright{} and range of years.
26429 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26431         [BZ #13695]
26432         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26433         [crti.S not in sysdirs] (generated): Do not append.
26434         [crti.S not in sysdirs] (omit-deps): Likewise.
26435         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26436         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26437         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26438         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26439         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26440         Likewise.
26441         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26442         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26443         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26444         * csu/defs.awk: Remove file.
26445         * sysdeps/generic/initfini.c: Likewise.
26446         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26447         variable.
26448         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26449         Likewise.
26451 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26453         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26454         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26455         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26456         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26457         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26458         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26459         <bits/epoll.h>.
26460         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26461         (__EPOLL_PACKED): Define to empty if not defined by
26462         <bits/epoll.h>.
26463         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26465         bits/epoll.h.
26467 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26469         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26470         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26471         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26472         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26473         <bits/timerfd.h>.
26474         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26476         bits/timerfd.h.
26478 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26480         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26481         in C locale.
26482         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26483         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26484         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26487 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26489         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26490         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26492 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26494         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26495         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26496         defined.
26497         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26498         Likewise.
26499         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26500         entry for 2.16.
26502 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26504         * math/w_acos.c: Use non-signaling floating-point comparisons.
26505         * math/w_acosf.c: Likewise.
26506         * math/w_acosh.c: Likewise.
26507         * math/w_acoshf.c: Likewise.
26508         * math/w_acoshl.c: Likewise.
26509         * math/w_acosl.c: Likewise.
26510         * math/w_asin.c: Likewise.
26511         * math/w_asinf.c: Likewise.
26512         * math/w_asinl.c: Likewise.
26513         * math/w_atanh.c: Likewise.
26514         * math/w_atanhf.c: Likewise.
26515         * math/w_atanhl.c: Likewise.
26516         * math/w_exp2.c: Likewise.
26517         * math/w_exp2f.c: Likewise.
26518         * math/w_exp2l.c: Likewise.
26519         * math/w_j0.c: Likewise.
26520         * math/w_j0f.c: Likewise.
26521         * math/w_j0l.c: Likewise.
26522         * math/w_j1.c: Likewise.
26523         * math/w_j1f.c: Likewise.
26524         * math/w_j1l.c: Likewise.
26525         * math/w_jn.c: Likewise.
26526         * math/w_jnf.c: Likewise.
26527         * math/w_log.c: Likewise.
26528         * math/w_log10.c: Likewise.
26529         * math/w_log10f.c: Likewise.
26530         * math/w_log10l.c: Likewise.
26531         * math/w_log2.c: Likewise.
26532         * math/w_log2f.c: Likewise.
26533         * math/w_log2l.c: Likewise.
26534         * math/w_logf.c: Likewise.
26535         * math/w_logl.c: Likewise.
26536         * math/w_sqrt.c: Likewise.
26537         * math/w_sqrtf.c: Likewise.
26538         * math/w_sqrtl.c: Likewise.
26539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26540         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26541         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26542         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26543         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26545 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26547         [BZ #9739]
26548         * manual/string.texi (strnlen): Use correct parameter name in
26549         equivalent expression.
26551 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26553         [BZ #11174]
26554         * manual/users.texi (seteuid): Consistently use neweuid for
26555         argument name.
26557 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26559         [BZ #13704]
26560         * manual/nss.texi (Services in the NSS configuration): Correct
26561         list of services in example configuration file.
26563 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26565         [BZ #11322]
26566         * manual/arith.texi: Remove statements about negative zero
26567         behaving identically to zero.
26569 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26571         [BZ #5993]
26572         * manual/install.texi: Do not document upgrading from libc5.
26574 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26576         [BZ #4596]
26577         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26579 2012-02-18  David S. Miller  <davem@davemloft.net>
26581         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26582         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26583         %o7 across the call.
26584         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26585         instead.
26586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26587         SETUP_PIC_REG_LEAF.
26588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26589         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26590         * sysdeps/sparc/crtn.S: Likewise.
26592 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26594         * aout/Makefile: Remove.
26596 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26598         [BZ #13058]
26599         * manual/examples/argp-ex1.c (main): Format definition in GNU
26600         style.
26601         * manual/examples/argp-ex2.c (main): Likewise.
26602         * manual/examples/argp-ex3.c (main): Likewise.
26603         * manual/examples/argp-ex4.c (main): Likewise.
26604         * manual/examples/longopt.c (main): Use new-style prototype
26605         definition.
26606         * manual/examples/strncat.c (main): Specify return type and use
26607         (void) for arguments.
26608         * manual/examples/subopt.c (main): Use char **argv argument.
26610 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #5077]
26613         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26614         rounding modes.
26616 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26618         [BZ #6907]
26619         * manual/string.texi (strchr): Change when strchrnul is
26620         recommended.
26622 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26624         [BZ #174]
26625         * manual/locale.texi (setlocale): Document LOCPATH.
26627 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26629         [BZ #10210]
26630         * manual/process.texi (execle): Move @dots{} before last argument.
26632 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26634         [BZ #12047]
26635         * manual/charset.texi (Generic Charset Conversion): Fix typo
26636         (LC_TYPE -> LC_CTYPE).
26638 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26640         [BZ #5805]
26641         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26642         (scalbnf): Likewise.
26643         (scalbnl): Likewise.
26644         (scalbln): Likewise.
26645         (scalblnf): Likewise.
26646         (scalblnl): Likewise.
26647         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26648         (vwarnx): Likewise.
26649         (verr): Likewise.
26650         (verrx): Likewise.
26651         * manual/filesys.texi (telldir): Use braces around return type.
26652         * manual/llio.texi (mmap): Add space after comma.
26653         (mmap64): Likewise.
26654         * manual/math.texi (jn): Use @var{} on parameter names.
26655         (jnf): Likewise.
26656         (jnl): Likewise.
26657         (yn): Likewise.
26658         (ynf): Likewise.
26659         (ynl): Likewise.
26660         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26661         line.
26662         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26663         "...".
26664         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26665         (sched_get_priority_max): Likewise.
26666         * manual/signal.texi (sigvec): Add space after comma.
26667         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26668         names.
26669         (if_indextoname): Likewise.
26670         (if_freenameindex): Likewise.
26671         (sendto): Use ',' instead of '.' in prototype.
26672         * manual/startup.texi (syscall): Use @dots{} instead of literal
26673         "...".
26674         * manual/stdio.texi (__fpending): Separate initial words of
26675         paragraph from @deftypefun line.
26676         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26677         "...".
26678         (vsyslog): Use @var{} on parameter names.
26679         * manual/terminal.texi (stty): Use @var{} on parameter names.
26680         * manual/users.texi (getutmp): Use @var{} on parameter names.
26681         (getutmpx): Likewise.
26683 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26685         [BZ #6884]
26686         * manual/stdio.texi (fopen): Fix typos in description of
26687         ",ccs=STRING".
26689 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26691         [BZ #4026]
26692         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26693         get clock_id definition.
26695 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26697         [BZ #4822]
26698         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26699         (madvise): Cast every argument to void on its own.
26701 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26703         [BZ #9902]
26704         * manual/startup.texi (Exit Status): Fix typo.
26706 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26708         [BZ #10140]
26709         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26710         * manual/examples/argp-ex2.c: Likewise.
26711         * manual/examples/argp-ex3.c: Likewise.
26713 2012-02-16  Richard Henderson  <rth@redhat.com>
26715         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26716         * sysdeps/s390/s390-32/initfini.c: Remove.
26717         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26718         * sysdeps/s390/s390-64/initfini.c: Remove.
26720 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26722         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26723         compiler output for sysdeps/generic/initfini.c.
26724         * sysdeps/sh/elf/initfini.c: Remove file.
26726 2012-02-16  David S. Miller  <davem@davemloft.net>
26728         [BZ #11494]
26729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26731         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26732         * sysdeps/sparc/crti.S: New file.
26733         * sysdeps/sparc/crtn.S: New file.
26734         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26735         * sysdeps/sparc/sparc64/Makefile: Likewise.
26737 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26739         [BZ #3335]
26740         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26742 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26744         [BZ #4822]
26745         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26747         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26748         (write, read, close): Likewise.
26749         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26751 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26753         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26754         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26755         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26756         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26757         <bits/signalfd.h>.
26758         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26759         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26760         bits/signalfd.h.
26762 2012-02-14  Marek Polacek  <polacek@redhat.com>
26764         * sysdeps/x86_64/crti.S: New file.
26765         * sysdeps/x86_64/crtn.S: New file.
26766         * sysdeps/x86_64/elf/initfini.c: Remove file.
26768 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26770         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26771         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26772         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26773         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26774         <bits/inotify.h>.
26775         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26777         bits/inotify.h.
26779 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26781         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26782         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26783         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26784         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26785         <bits/eventfd.h>.
26786         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26788         bits/eventfd.h.
26790 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26792         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26793         __feraiseexcept instead of feraiseexcept.
26795         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26796         nanosleep invocations.
26797         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26798         strings, and add error checking for a nanosleep invocations.
26800 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26802         Replace FSF snail mail address with URLs, as per GNU coding standards.
26803         Most of the snail mail addresses were wrong anyway, and omitting
26804         them makes the source code easier to maintain.  Almost all of the
26805         changes are to license notices and to locale LC_IDENTIFICATION
26806         addresses, except for this one:
26807         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26808         not its snail mail address.
26810 2012-02-09  Richard Henderson  <rth@twiddle.net>
26812         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26813         of kernel-features.h.
26815         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26817 2012-02-08  Marek Polacek  <polacek@redhat.com>
26819         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26820         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26821         * sysdeps/gnu/_G_config.h: Likewise.
26822         * sysdeps/generic/_G_config.h: Likewise.
26824 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26826         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26827         tests.
26828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26830         * sysdeps/powerpc/powerpc32/crti.S: New file.
26831         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26832         * sysdeps/powerpc/powerpc64/crti.S: New file.
26833         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26835         * Makeconfig (have-initfini): Don't set.
26836         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26837         * configure.in (nopic_initfini): Don't substitute.
26838         * config.h.in (HAVE_INITFINI): Don't #undef.
26839         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26840         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26842 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26844         Support crti.S and crtn.S provided directly by architectures.
26845         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26846         [crti.S in sysdirs] (omit-deps): Likewise.
26847         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26848         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26849         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26850         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26851         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26852         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26853         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26854         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26855         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26856         compiler output for sysdeps/generic/initfini.c.
26857         * sysdeps/i386/elf/Makefile: Remove file.
26858         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26860 2012-02-07  Marek Polacek  <polacek@redhat.com>
26862         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26863         * sysdeps/gnu/_G_config.h: Likewise.
26864         * sysdeps/mach/hurd/_G_config.h: Likewise.
26866 2012-02-07  Marek Polacek  <polacek@redhat.com>
26868         * math/Makefile (tests): Add tst-CMPLX2.
26869         * math/tst-CMPLX2.c: New file.
26871 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26873         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26875         * math/libm-test.inc (jn_test): Add missing L suffix.
26877 2012-02-06  Marek Polacek  <polacek@redhat.com>
26879         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26880         * sysdeps/i386/fpu/e_powf.S: Likewise.
26881         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26882         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26883         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26884         * sysdeps/i386/fpu/e_pow.S: Likewise.
26885         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26886         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26887         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26888         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26889         * sysdeps/i386/fpu/e_log2.S: Likewise.
26890         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26891         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26892         * sysdeps/i386/fpu/e_powl.S: Likewise.
26893         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26894         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26895         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26896         * sysdeps/i386/fpu/e_logl.S: Likewise.
26897         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26898         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26899         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26900         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26901         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26902         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26903         * sysdeps/i386/fpu/e_log.S: Likewise.
26904         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26905         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26906         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26907         * sysdeps/i386/fpu/e_logf.S: Likewise.
26908         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26909         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26910         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26911         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26912         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26913         * sysdeps/i386/fpu/e_log10.S: Likewise.
26914         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26915         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26916         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26917         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26919         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26920         * sysdeps/i386/asm-syntax.h: Likewise.
26921         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26922         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26923         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26924         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26925         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26926         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26927         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26928         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26929         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26930         * sysdeps/powerpc/sysdep.h: Likewise.
26931         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26932         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26934 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26936         [BZ #411]
26937         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26939 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26941         * sysdeps/i386/sysdep.h: Include <features.h>.
26942         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26943         version.
26945 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26947         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26948         Define.
26949         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26950         LOAD_PIC_REG_STR.
26952 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26954         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26955         (SETUP_PIC_REG): Use GET_PC_THUNK.
26956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26957         macro.
26959 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26961         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26962         for non-PIC compilation.
26963         (SETUP_PIC_REG): Add .p2align directive.
26964         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26965         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26966         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26967         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26968         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26969         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26970         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26971         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26972         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26973         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26974         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26975         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26976         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26977         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26978         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26979         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26980         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26981         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26982         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26983         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26984         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26985         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26986         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26987         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26988         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26990         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26991         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26992         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26993         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26994         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26995         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26996         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26997         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26998         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26999         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27000         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27001         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27002         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27003         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27004         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27006 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27008         * math/tst-CMPLX.c: Include <stdio.h>.
27010 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27012         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27013         float.
27014         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27015         * sysdeps/sparc/bits/mathdef.h: Likewise.
27017 2012-01-31  Marek Polacek  <polacek@redhat.com>
27019         * libio/libio.h: Don't define _PARAMS.
27020         * locale/programs/config.h: Don't define PARAMS.
27021         * stdlib/strtol_l.c: Likewise.
27022         (__strtol_l): Remove PARAMS from the prototype.
27024 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27026         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27027         names.  Just use the correct names.  Remove unnecessary wrapper
27028         functions.
27029         * malloc/arena.c: Likewise.
27030         * malloc/hooks.c: Likewise.
27032         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27033         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27034         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27036 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27038         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27039         into tail calls.
27040         (update_get_addr): New function.
27041         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27042         GET_ADDR_MODULE parameter.
27044 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27046         * crypt/cert.c: Remove __STDC__ conditionals.
27047         * crypt/crypt-entry.c: Likewise.
27048         * crypt/crypt_util.c: Likewise.
27049         * libio/filedoalloc.c: Likewise.
27050         * libio/fileops.c: Likewise.
27051         * libio/genops.c: Likewise.
27052         * libio/iofclose.c: Likewise.
27053         * libio/iofdopen.c: Likewise.
27054         * libio/iofopen.c: Likewise.
27055         * libio/iofopen64.c: Likewise.
27056         * libio/iogetdelim.c: Likewise.
27057         * libio/iopopen.c: Likewise.
27058         * libio/obprintf.c: Likewise.
27059         * libio/oldfileops.c: Likewise.
27060         * libio/oldiofclose.c: Likewise.
27061         * libio/oldiofdopen.c: Likewise.
27062         * libio/oldiofopen.c: Likewise.
27063         * libio/oldiopopen.c: Likewise.
27064         * libio/wfiledoalloc.c: Likewise.
27065         * libio/wgenops.c: Likewise.
27066         * locale/programs/xmalloc.c: Likewise.
27067         * misc/syslog.c: Likewise.
27068         * stdio-common/xbug.c: Likewise.
27069         * string/memchr.c: Likewise.
27070         * string/memcmp.c: Likewise.
27071         * string/memrchr.c: Likewise.
27072         * string/rawmemchr.c: Likewise.
27073         * sysdeps/posix/getcwd.c: Likewise.
27074         * time/strftime_l.c: Likewise.
27076 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27078         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27079         * config.make.in (config-cflags-sse2avx): Define.
27080         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27081         Fix typo.
27083 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27085         * scripts/config.guess: Update from upstream config git repository.
27086         * scripts/config.sub: Likewise.
27088 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27090         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27091         (EM_NUM): Update.
27092         (R_TILEPRO_*, R_TILEGX_*): New macros.
27094         * scripts/firstversions.awk: Fix bug in version range handling.
27096         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27098         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27100         * include/sys/epoll.h: New file.
27101         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27102         libc_hidden_def.
27104 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27106         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27107         Avoid unnecessary __WORDSIZE == 64 test.
27108         (fmaxf): Use VEX format if possible.
27109         (fmax): Likewise.
27110         (fminf): Likewise.
27111         (fmin): Likewise.
27113         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27114         * math/math_private.h: Remove libc_fegetround* and
27115         libc_fesetround*.
27116         * sysdeps/i386/configure.in: Check for -msse2avx.
27117         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27118         also if SSE2AVX is defined.
27119         Remove libc_fegetround* and libc_fesetround*.
27120         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27121         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27122         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27123         of HAS_YMM_USABLE.
27124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27125         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27126         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27127         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27128         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27130         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27132 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27134         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27135         size is not set.
27136         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27138 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27140         [BZ #13618]
27141         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27142         relocation.
27143         * Makeconfig (libm): Define.
27144         * elf/Makefile: Add rules to build and run tst-relsort1.
27145         * elf/tst-relsort1.c: New file.
27146         * elf/tst-relsort1mod1.c: New file.
27147         * elf/tst-relsort1mod2.c: New file.
27149 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27151         * math/s_ldexp.c: Remove __STDC__ conditionals.
27152         * math/s_ldexpf.c: Likewise.
27153         * math/s_ldexpl.c: Likewise.
27154         * math/s_nextafter.c: Likewise.
27155         * math/s_nexttowardf.c: Likewise.
27156         * math/s_significand.c: Likewise.
27157         * math/s_significandf.c: Likewise.
27158         * math/s_significandl.c: Likewise.
27159         * math/w_jnl.c: Likewise.
27160         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27161         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27162         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27163         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27164         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27165         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27166         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27167         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27168         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27169         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27170         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27172         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27173         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27174         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27175         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27179         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27180         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27181         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27182         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27183         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27184         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27185         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27186         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27187         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27188         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27189         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27190         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27191         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27192         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27193         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27194         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27195         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27196         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27197         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27198         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27199         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27200         * sysdeps/ieee754/k_standard.c: Likewise.
27201         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27202         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27203         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27204         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27205         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27206         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27207         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27211         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27212         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27213         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27214         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27215         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27216         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27217         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27224         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27226         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27230         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27232         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27233         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27234         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27236         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27237         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27238         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27239         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27240         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27243         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27244         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27245         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27249         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27250         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27251         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27254         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27255         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27256         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27257         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27258         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27259         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27260         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27261         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27262         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27263         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27264         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27265         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27266         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27267         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27268         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27269         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27270         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27271         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27272         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27273         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27274         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27275         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27276         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27277         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27278         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27279         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27280         * sysdeps/ieee754/s_matherr.c: Likewise.
27281         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27282         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27286 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27288         * crypt/md5.h: Remove __STDC__ conditionals.
27289         * libio/libioP.h: Likewise.
27290         * locale/programs/config.h: Likewise.
27291         * sysdeps/generic/sysdep.h: Likewise.
27292         * sysdeps/i386/asm-syntax.h: Likewise.
27293         * sysdeps/s390/asm-syntax.h: Likewise.
27294         * sysdeps/unix/sysdep.h: Likewise.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27298 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27300         * libio/libio.h: Remove __STDC__ conditionals.
27301         * malloc/obstack.h: Likewise.
27302         * math/complex.h: Likewise.
27303         * math/math.h: Likewise.
27304         * sysdeps/generic/_G_config.h: Likewise.
27305         * sysdeps/gnu/_G_config.h: Likewise.
27306         * sysdeps/mach/hurd/_G_config.h: Likewise.
27307         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27308         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27309         * sysdeps/sparc/bits/mathdef.h: Likewise.
27311 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27313         [BZ #13583]
27314         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27315         Clean up HAS_* macros.
27316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27317         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27318         possible.
27319         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27320         HAS_AVX.
27321         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27322         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27323         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27324         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27325         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27327 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27329         * elf/tst-unique3.cc (gets): Remove declaration.
27330         * elf/tst-unique3lib.cc (gets): Likewise.
27331         * elf/tst-unique3lib2.cc (gets): Likewise.
27332         * elf/tst-unique4.cc (gets): Likewise.
27334 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27336         * include/stdio.h: Add C++ protection.  Add gets declarations and
27337         definitions.
27338         * debug/tst-chk1.c: Don't declare gets here.
27339         * stdio-common/tst-gets.c: Likewise.
27341 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27343         * posix/glob: Remove directory.
27345 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27347         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27349 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27351         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27352         of the non-standard EPFNOSUPPORT.
27354 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27356         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27357         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27358         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27360 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27362         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27364 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27366         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27367         transient errors.
27368         * nscd/grpcache.c (cache_addgr): Likewise.
27369         * nscd/hstcache.c (cache_addhst): Likewise.
27370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27371         * nscd/pwdcache.c (cache_addpw): Likewise.
27372         * nscd/servicescache.c (cache_addserv): Likewise.
27374 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27376         * malloc/malloc.c: Various cleanups.
27377         * malloc/hooks.c: Likewise.
27379         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27380         * stdlib/bug-fmtmsg1.c: New file.
27382         * stdlib/fmtmsg.c (init): Add missing unlock.
27383         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27385 2012-01-12  Marek Polacek  <polacek@redhat.com>
27387         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27388         and _GNU_SOURCE.
27390 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27392         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27393         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27394         macro to ensure uniqueness of label name.
27395         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27396         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27398 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27400         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27403         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27404         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27407 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27409         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27411         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27412         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27413         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27415         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27417         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27418         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27419         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27420         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27422         * math/bits/math-finite.h: Add ldexp support.
27424 2012-01-10  Marek Polacek  <polacek@redhat.com>
27426         * locale/programs/localedef.h (show_archive_content): Add noreturn
27427         attribute.
27429 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27431         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27433 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27435         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27437         * io/Makefile (headers): Add bits/poll2.h.
27439 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27442         typo #include statement.
27444 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27446         * include/sys/cdefs.h: Define __attribute_alloc_size.
27447         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27448         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27449         * elf/pldd.c: Likewise.
27450         * iconv/iconv_charmap.c: Likewise.
27451         * iconv/iconvconfig.c: Likewise.
27452         * iconv/strtab.c: Likewise.
27453         * locale/programs/locale.c: Likewise.
27454         * locale/programs/localedef.h: Likewise.
27455         * locale/programs/simple-hash.c: Likewise.
27456         * nscd/nscd.h: Likewise.
27457         * nss/makedb.c: Likewise.
27458         * sysdeps/generic/ldconfig.h: Likewise.
27459         * locale/programs/localedef.c: Remove xmalloc prototype.
27460         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27462 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27464         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27465         appropriate.
27467 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27469         * math/Makefile (tests): Add tst-CMPLX.
27470         * math/tst-CMPLX.c: New file.
27472         * math/complex.h (CMPLXL): Fix typo.
27474         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27475         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27476         GLIBC_2.16.
27477         * debug/tst-chk1.c: Add poll and ppoll tests.
27478         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27479         * include/sys/poll.h: Add hidden proto for ppoll.
27480         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27481         * sysdeps/mach/hurd/ppoll.c: Likewise.
27482         * io/ppoll.c: Likewise.
27483         * debug/poll_chk.c: New file.
27484         * debug/ppoll_chk.c: New file.
27485         * include/bits/poll2.h: New file.
27486         * io/bits/poll2.h: New file.
27488         [BZ #1350]
27489         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27491         * configure.in: static is always set to yes.  Remove.
27492         * config.make.in: Don't set build-static.
27493         * Makeconfig: Remove use of build-static.
27494         * dlfcn/Makefile: Likewise.
27495         * elf/Makefile: Likewise.
27496         * math/Makefile: Likewise.
27497         * misc/Makefile: Likewise.
27498         * nptl/Makefile: Likewise.
27499         * sysdeps/mach/hurd/Makefile: Likewise.
27501         * configure.in: PWD_P is not used anymore.
27502         * config.make.in: Remove PWD_P entry.
27504         * configure.in: Remove last remnants of RANLIB.
27505         No need to check for signed size_t anymore.
27506         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27507         and IA-64.
27508         Remove __builtin_expect test because we require at least gcc 3.4.
27509         * aclocal.m4: Likewise.
27511         * wcsmbs/mbrtoc16.c: Implement using towc function.
27512         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27513         * wcsmbs/wcsmbsload.c: Likewise.
27514         * iconv/gconv_simple.c: Likewise.
27515         * iconv/gconv_int.h: Likewise.
27516         * iconv/gconv_builtin.h: Likewise.
27517         * iconv/iconv_prog.c: Remove CHAR16 handling.
27519         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27521         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27523         * configure.in: Remove --with-elf and --enable-bounded options.
27524         Dont set base_machine for ia64.  More non-ELF conditions removed.
27525         Remove testing and setting of leading underscore information.
27526         * config.make.in (build-bounded): Set to no.
27527         * config.h.in: Remove NO_UNDERSCORES entry.
27528         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27529         them.
27530         * csu/start.c: Remove !NO_UNDERSCORE code.
27531         * locale/localeinfo.h: Likewise.
27532         * sysdeps/generic/machine-gmon.h: Likewise.
27533         * sysdeps/generic/sysdep.h: Likewise.
27534         * sysdeps/i386/sysdep.h: Likewise.
27535         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27536         * sysdeps/mach/sysdep.h: Likewise.
27537         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27538         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27539         * sysdeps/sh/sysdep.h: Likewise.
27540         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27541         * sysdeps/unix/i386/sysdep.S: Likewise.
27542         * sysdeps/unix/sparc/start.c: Likewise.
27543         * sysdeps/unix/sparc/sysdep.S: Likewise.
27544         * sysdeps/unix/sparc/sysdep.h: Likewise.
27545         * sysdeps/unix/start.c: Likewise.
27546         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27547         * sysdeps/x86_64/sysdep.h: Likewise.
27549 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27551         [BZ #13553]
27552         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27553         for non-gcc.
27554         * argp/argp-fmtstream.h: Use const instead __const.
27555         * argp/argp.h: Likewise.
27556         * assert/assert.h: Likewise.
27557         * bits/fenv.h: Likewise.
27558         * bits/sched.h: Likewise.
27559         * bits/sigset.h: Likewise.
27560         * bits/sigthread.h: Likewise.
27561         * catgets/nl_types.h: Likewise.
27562         * conform/data/pthread.h-data: Likewise.
27563         * crypt/crypt-private.h: Likewise.
27564         * crypt/crypt.h: Likewise.
27565         * crypt/crypt_util.c: Likewise.
27566         * ctype/ctype.h: Likewise.
27567         * debug/execinfo.h: Likewise.
27568         * debug/mbsnrtowcs_chk.c: Likewise.
27569         * debug/mbsrtowcs_chk.c: Likewise.
27570         * debug/wcsnrtombs_chk.c: Likewise.
27571         * debug/wcsrtombs_chk.c: Likewise.
27572         * debug/wcstombs_chk.c: Likewise.
27573         * dirent/dirent.h: Likewise.
27574         * dlfcn/dlfcn.h: Likewise.
27575         * elf/neededtest4.c: Likewise.
27576         * grp/grp.h: Likewise.
27577         * gshadow/gshadow.h: Likewise.
27578         * iconv/gconv.h: Likewise.
27579         * iconv/gconv_int.h: Likewise.
27580         * iconv/gconv_simple.c: Likewise.
27581         * iconv/iconv.h: Likewise.
27582         * iconv/loop.c: Likewise.
27583         * iconv/skeleton.c: Likewise.
27584         * include/aio.h: Likewise.
27585         * include/aliases.h: Likewise.
27586         * include/argz.h: Likewise.
27587         * include/arpa/inet.h: Likewise.
27588         * include/assert.h: Likewise.
27589         * include/dirent.h: Likewise.
27590         * include/dlfcn.h: Likewise.
27591         * include/execinfo.h: Likewise.
27592         * include/fcntl.h: Likewise.
27593         * include/fenv.h: Likewise.
27594         * include/glob.h: Likewise.
27595         * include/grp.h: Likewise.
27596         * include/libintl.h: Likewise.
27597         * include/mntent.h: Likewise.
27598         * include/netdb.h: Likewise.
27599         * include/pwd.h: Likewise.
27600         * include/rpc/netdb.h: Likewise.
27601         * include/sched.h: Likewise.
27602         * include/search.h: Likewise.
27603         * include/shadow.h: Likewise.
27604         * include/signal.h: Likewise.
27605         * include/stdio.h: Likewise.
27606         * include/stdlib.h: Likewise.
27607         * include/string.h: Likewise.
27608         * include/sys/socket.h: Likewise.
27609         * include/sys/stat.h: Likewise.
27610         * include/sys/statfs.h: Likewise.
27611         * include/sys/statvfs.h: Likewise.
27612         * include/sys/syslog.h: Likewise.
27613         * include/sys/time.h: Likewise.
27614         * include/sys/uio.h: Likewise.
27615         * include/time.h: Likewise.
27616         * include/unistd.h: Likewise.
27617         * include/utmp.h: Likewise.
27618         * include/wchar.h: Likewise.
27619         * include/wctype.h: Likewise.
27620         * inet/aliases.h: Likewise.
27621         * inet/arpa/inet.h: Likewise.
27622         * inet/netinet/ether.h: Likewise.
27623         * inet/netinet/in.h: Likewise.
27624         * intl/libintl.h: Likewise.
27625         * io/bits/fcntl2.h: Likewise.
27626         * io/fcntl.h: Likewise.
27627         * io/ftw.h: Likewise.
27628         * io/sys/poll.h: Likewise.
27629         * io/sys/stat.h: Likewise.
27630         * io/sys/statfs.h: Likewise.
27631         * io/sys/statvfs.h: Likewise.
27632         * io/utime.h: Likewise.
27633         * libio/bits/stdio.h: Likewise.
27634         * libio/bits/stdio2.h: Likewise.
27635         * libio/libio.h: Likewise.
27636         * libio/libioP.h: Likewise.
27637         * libio/stdio.h: Likewise.
27638         * locale/lc-ctype.c: Likewise.
27639         * locale/locale.h: Likewise.
27640         * login/utmp.h: Likewise.
27641         * malloc/arena.c: Likewise.
27642         * malloc/malloc.c: Likewise.
27643         * malloc/malloc.h: Likewise.
27644         * malloc/mcheck.c: Likewise.
27645         * malloc/mtrace.c: Likewise.
27646         * math/bits/mathcalls.h: Likewise.
27647         * math/fenv.h: Likewise.
27648         * math/math_private.h: Likewise.
27649         * misc/bits/error.h: Likewise.
27650         * misc/bits/syslog.h: Likewise.
27651         * misc/err.h: Likewise.
27652         * misc/error.h: Likewise.
27653         * misc/fstab.h: Likewise.
27654         * misc/mntent.h: Likewise.
27655         * misc/regexp.h: Likewise.
27656         * misc/search.h: Likewise.
27657         * misc/sgtty.h: Likewise.
27658         * misc/sys/mman.h: Likewise.
27659         * misc/sys/syslog.h: Likewise.
27660         * misc/sys/uio.h: Likewise.
27661         * misc/sys/xattr.h: Likewise.
27662         * misc/ttyent.h: Likewise.
27663         * nis/rpcsvc/ypclnt.h: Likewise.
27664         * nss/nss.h: Likewise.
27665         * posix/bits/unistd.h: Likewise.
27666         * posix/fnmatch.h: Likewise.
27667         * posix/glob.h: Likewise.
27668         * posix/sched.h: Likewise.
27669         * posix/spawn.h: Likewise.
27670         * posix/sys/wait.h: Likewise.
27671         * posix/unistd.h: Likewise.
27672         * posix/wordexp.h: Likewise.
27673         * pwd/pwd.h: Likewise.
27674         * resolv/netdb.h: Likewise.
27675         * resource/sys/resource.h: Likewise.
27676         * rt/aio.h: Likewise.
27677         * rt/bits/mqueue2.h: Likewise.
27678         * rt/mqueue.h: Likewise.
27679         * shadow/shadow.h: Likewise.
27680         * signal/signal.h: Likewise.
27681         * socket/send.c: Likewise.
27682         * socket/sendto.c: Likewise.
27683         * socket/sys/socket.h: Likewise.
27684         * stdio-common/printf.h: Likewise.
27685         * stdlib/bits/stdlib.h: Likewise.
27686         * stdlib/fmtmsg.h: Likewise.
27687         * stdlib/monetary.h: Likewise.
27688         * stdlib/stdlib.h: Likewise.
27689         * stdlib/ucontext.h: Likewise.
27690         * streams/stropts.h: Likewise.
27691         * string/argz.h: Likewise.
27692         * string/bits/string2.h: Likewise.
27693         * string/string.h: Likewise.
27694         * string/strings.h: Likewise.
27695         * sunrpc/rpc/auth.h: Likewise.
27696         * sunrpc/rpc/auth_des.h: Likewise.
27697         * sunrpc/rpc/clnt.h: Likewise.
27698         * sunrpc/rpc/netdb.h: Likewise.
27699         * sunrpc/rpc/pmap_clnt.h: Likewise.
27700         * sunrpc/rpc/xdr.h: Likewise.
27701         * sysdeps/generic/inttypes.h: Likewise.
27702         * sysdeps/generic/net/if.h: Likewise.
27703         * sysdeps/generic/sys/swap.h: Likewise.
27704         * sysdeps/gnu/net/if.h: Likewise.
27705         * sysdeps/gnu/utmpx.h: Likewise.
27706         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27707         * sysdeps/i386/i486/bits/string.h: Likewise.
27708         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27709         * sysdeps/s390/bits/string.h: Likewise.
27710         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27711         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27712         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27713         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27714         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27715         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27716         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27717         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27718         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27719         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27720         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27721         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27722         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27723         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27724         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27725         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27726         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27727         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27728         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27729         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27730         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27731         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27732         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27733         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27734         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27735         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27736         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27737         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27738         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27739         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27740         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27741         * sysvipc/sys/ipc.h: Likewise.
27742         * sysvipc/sys/msg.h: Likewise.
27743         * sysvipc/sys/sem.h: Likewise.
27744         * sysvipc/sys/shm.h: Likewise.
27745         * termios/termios.h: Likewise.
27746         * time/sys/time.h: Likewise.
27747         * time/time.h: Likewise.
27748         * wcsmbs/bits/wchar2.h: Likewise.
27749         * wcsmbs/uchar.h: Likewise.
27750         * wcsmbs/wchar.h: Likewise.
27751         * wctype/wctype.h: Likewise.
27753         [BZ #13551]
27754         * Makeconfig: Remove all but ELF support including AIX support.
27755         * Makerules: Likewise.
27756         * config.h.in: Likewise.
27757         * config.make.in: Likewise.
27758         * configure: Likewise.
27759         * configure.in: Likewise.
27760         * csu/Makefile: Likewise.
27761         * csu/version.c: Likewise.
27762         * debug/Makefile: Likewise.
27763         * dlfcn/Makefile: Likewise.
27764         * elf/Makefile: Likewise.
27765         * extra-lib.mk: Likewise.
27766         * iconv/Makefile: Likewise.
27767         * include/libc-symbols.h: Likewise.
27768         * include/shlib-compat.h: Likewise.
27769         * resolv/Makefile: Likewise.
27770         * resolv/res_libc.c: Likewise.
27771         * rt/Makefile: Likewise.
27772         * sysdeps/i386/asm-syntax.h: Likewise.
27773         * sysdeps/i386/sysdep.h: Likewise.
27774         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27775         * sysdeps/mach/sysdep.h: Likewise.
27776         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27777         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27778         * sysdeps/s390/asm-syntax.h: Likewise.
27779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27781         * sysdeps/sh/sysdep.h: Likewise.
27782         * sysdeps/unix/sparc/sysdep.h: Likewise.
27783         * sysdeps/wordsize-32/divdi3.c: Likewise.
27784         * sysdeps/x86_64/sysdep.h: Likewise.
27786         * argp/Versions: Remove _argp_unlock_xxx.
27788         [BZ #13559]
27789         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27790         * abilist/libBrokenLocale.abilist: Likewise.
27791         * abilist/libanl.abilist: Likewise.
27792         * abilist/libc.abilist: Likewise.
27793         * abilist/libcrypt.abilist: Likewise.
27794         * abilist/libdl.abilist: Likewise.
27795         * abilist/libm.abilist: Likewise.
27796         * abilist/libnsl.abilist: Likewise.
27797         * abilist/libpthread.abilist: Likewise.
27798         * abilist/libresolv.abilist: Likewise.
27799         * abilist/librt.abilist: Likewise.
27800         * abilist/libthread_db.abilist: Likewise.
27801         * abilist/libutil.abilist: Likewise.
27802         * abilist/libnss_db.abilist: New file.
27804         * scripts/abilist.awk: Add support for indirect functions.
27806         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27808         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27810         * shlib-versions: Remove entries for ports architectures.
27812         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27813         files in ports.
27814         * elf/stackguard-macros.h: Remove support for IA-64.
27815         * elf/tst-auditmod1.c: Likewise.
27816         * sysdeps/generic/ldsodefs.h: Likewise.
27818         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27819         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27820         configure files.
27822         [BZ #13552]
27823         * configure.in: Remove --enable-omitfp support.
27824         * FAQ.in: Adjust.
27825         * config.make.in: Likewise.
27826         * Makeconfig: Likewise.
27827         * manual/install.texi: Likewise.
27829         In case anyone cares, the IA-64 architecture could move to ports.
27830         * sysdeps/ia64/*: Removed.
27831         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27832         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27834         [BZ #13555]
27835         * configure.in: Remove entries for unsupported architectures.
27837         [BZ #13533]
27838         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27839         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27840         routines.
27841         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27842         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27843         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27844         fall back to using wcrtomb.
27845         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27846         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27847         renaming.
27848         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27849         * wcsmbs/tst-c16c32-1.c: New file.
27851         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27852         local variable.
27854         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27856         * elf/tst-unique3.cc: Add explicit declaration of gets.
27857         * elf/tst-unique3lib.cc: Likewise.
27858         * elf/tst-unique3lib2.cc: Likewise.
27859         * elf/tst-unique4.cc: Likewise.
27861         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27863 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27865         [BZ #13566]
27866         * assert/assert.h (static_assert): Don't define for C++.
27867         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27868         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27870 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27872         * iconv/loop.c (single loop): Fix assertion in storing of
27873         remaining bytes.
27875         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27877 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27879         * posix/getconf.c: Update copyright year.
27880         * nss/getent.c: Likewise.
27881         * nss/makedb.c: Likewise.
27882         * iconv/iconvconfig.c: Likewise.
27883         * iconv/iconv_prog.c: Likewise.
27884         * elf/ldconfig.c: Likewise.
27885         * elf/pldd.c: Likewise.
27886         * elf/sotruss.ksh: Likewise.
27887         * catgets/gencat.c: Likewise.
27888         * csu/version.c: Likewise.
27889         * elf/ldd.bash.in: Likewise.
27890         * elf/sprof.c (print_version): Likewise.
27891         * locale/programs/locale.c: Likewise.
27892         * locale/programs/localedef.c: Likewise.
27893         * login/programs/pt_chown.c: Likewise.
27894         * nscd/nscd.c (print_version): Likewise.
27895         * debug/xtrace.sh: Likewise.
27896         * malloc/memusage.sh: Likewise.
27897         * malloc/mtrace.pl: Likewise.
27898         * debug/catchsegv.sh: Likewise.
27900 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27902         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27903         pure attribute.
27905 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27907         [BZ #13533]
27908         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27909         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27910         transformations.
27911         * iconv/gconv_int.h: Likewise.
27912         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27913         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27914         from libc for GLIBC_2.16.
27915         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27916         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27917         * wcsmbs/uchar.h: Really define mbstate_t.
27918         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27919         * wcsmbs/c16rtomb.c: New file.
27920         * wcsmbs/mbrtoc16.c: New file.
27921         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27922         for C/POSIX locale.
27923         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27924         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27926         * wcsmbs/wchar.h: Add missing __restrict.
27928 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27930         [BZ #13532]
27931         * time/Makefile (routines): Add timespec_get.
27932         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27933         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27934         timespec for ISO C11.
27935         * time/timespec_get.c: New file.
27936         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27937         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27939         [BZ #13531]
27940         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27941         * stdlib/stdlib.h: Declare aligned_alloc.
27942         * Versions.def: Add GLIBC_2.16 for libc.
27943         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27945         [BZ 13527]
27946         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27947         ISO C11.
27949         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27950         code.
27952         [BZ #13528]
27953         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27955         [BZ #13529]
27956         * assert/assert.h (static_assert): Define.
27958         * version.h: Update for 2.16 development version.
27960         [BZ #13526]
27961         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27962         _ISOC11_SOURCE.
27964         * version.h (RELEASE): Bump for 2.15 release.
27965         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27967         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27968         Patch by Marek Polacek <mpolacek@redhat.com>.
27970         * bits/byteswap.h: Protect long long constants with __extension__.
27971         * sysdeps/i386/bits/byteswap.h: Likewise.
27972         * sysdeps/ia64/bits/byteswap.h: Likewise.
27973         * sysdeps/s390/bits/byteswap.h: Likewise.
27974         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27976 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27978         [BZ #13540]
27979         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27980         destination buffer.
27981         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27983 2011-12-23  Marek Polacek  <polacek@redhat.com>
27985         * elf/dl-addr.c (determine_info): Add inline keyword.
27986         * elf/tst-auditmod4b.c (check_avx): Likewise.
27987         * elf/tst-auditmod6b.c (check_avx): Likewise.
27988         * elf/tst-auditmod6c.c (check_avx): Likewise.
27989         * elf/tst-auditmod7b.c (check_avx): Likewise.
27991 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27993         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27994         !__SSE_MATH__.
27996 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27998         [BZ #13540]
27999         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28000         processing for last bytes.
28002 2011-08-06  Bruno Haible  <bruno@clisp.org>
28004         [BZ #13061]
28005         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28006         U+0385, not to U+1FEE.
28008         [BZ #13062]
28009         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28010         entry for U+00A5 U+0301.
28012 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28014         [BZ #13166]
28015         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28016         buffer for the output is too small.
28018         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28019         optimization.
28021         [BZ #13185]
28022         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28023         SSE flags if possible.
28025 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28027         [BZ #13540]
28028         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28029         processing for last bytes.
28031 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28033         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28034         (syscall-list-default-options, syscall-list-default-condition)
28035         (syscall-list-includes): Define.
28036         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28037         list of ABIs and options and #if conditions for each ABI.  Do not
28038         handle common syscalls between ABIs specially.
28039         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28040         Remove.
28041         (syscall-list-variants, syscall-list-32bit-options)
28042         (syscall-list-32bit-condition, syscall-list-64bit-options)
28043         (syscall-list-64bit-condition): Define.
28044         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28045         (syscall-list-variants, syscall-list-32bit-options)
28046         (syscall-list-32bit-condition, syscall-list-64bit-options)
28047         (syscall-list-64bit-condition): Define.
28048         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28049         Remove.
28050         (syscall-list-variants, syscall-list-32bit-options)
28051         (syscall-list-32bit-condition, syscall-list-64bit-options)
28052         (syscall-list-64bit-condition): Define.
28053         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28054         Remove.
28055         (syscall-list-variants, syscall-list-32bit-options)
28056         (syscall-list-32bit-condition, syscall-list-64bit-options)
28057         (syscall-list-64bit-condition): Define.
28059 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28061         * locale/iso-639.def: Add brx entry.
28063         [BZ #13328]
28064         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28065         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28067         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28068         __feraiseexcept_renamed.
28070 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28072         [BZ #13538]
28073         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28074         EPOLLET with unsigned values.
28075         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28076         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28078         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28079         to large cancellation.
28080         * math/s_cacoshf.c: Likewise.
28081         * math/s_cacoshl.c: Likewise.
28083 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28085         [BZ #13305]
28086         [BZ #12786]
28087         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28088         * math/s_cacoshf.c: Likewise.
28089         * math/s_cacoshl.c: Likewise.
28091 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28093         [BZ #13439]
28094         * iconv/gconv.h: Define __GCONV_SWAP.
28095         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28096         * iconvdata/utf-16.c: Likewise.
28097         * iconvdata/utf-32.c: Likewise.
28099 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28101         [BZ #13524]
28102         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28103         numerator after shifting it by one limb.
28105 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28107         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28108         under [__USE_EXTERN_INLINES].
28110 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28112         [BZ #13446]
28113         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28115 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28117         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28118         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28119         optimized code.
28120         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28121         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28122         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28123         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28124         for strncasecmp/strncasecmp_l compilation.
28125         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28126         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28128 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28130         [BZ #13484]
28131         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28132         of __asm__.
28134 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28136         [BZ #13506]
28137         * time/tzfile.c (__tzfile_read): Check values from file header.
28139 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28141         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28142         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28143         * powerpc/powerpc32/dl-start.S: Likewise.
28144         * powerpc/powerpc32/elf/start.S: Likewise.
28145         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28146         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28147         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28148         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28149         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28150         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28151         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28152         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28153         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28154         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28155         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28156         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28157         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28158         * powerpc/powerpc32/memset.S: Likewise.
28159         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28160         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28161         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28162         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28163         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28164         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28165         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28166         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28167         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28168         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28169         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28170         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28171         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28173 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28175         * math/libm-test.inc: Added more nearbyint tests.
28176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28177         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28178         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28179         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28181 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28183         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28184         FD_CLOEXEC.
28186 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28188         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28189         Add wcscpy-ssse3 wcscpy-c.
28190         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28191         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28192         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28193         * sysdeps/x86_64/wcschr.S: New file.
28194         * sysdeps/x86_64/wcsrchr.S: New file.
28195         * string/test-strcmp.c: Remove checking of wcscmp function for
28196         wrong alignments.
28197         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28198         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28199         wcsrchr-sse2 wcsrchr-c.
28200         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28201         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28202         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28203         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28204         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28205         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28206         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28207         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28208         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28209         * wcsmbc/wcschr.c (WCSCHR): New macro.
28211 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28213         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28214         * wcsmbs/test-wcsrchr.c: New file.
28215         * string/test-strrchr.c: Add wcsrchr support.
28216         (WIDE): New macro.
28217         * wcsmbs/test-wcscpy.c: New file.
28218         * string/test-strcpy.c: Add wcscpy support.
28219         (WIDE): New macro.
28221 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28223         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28224         the inner loop.
28226 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28228         [BZ #13472]
28229         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28231 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28233         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28234         Minor optimizations.
28236         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28237         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28238         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28240 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28242         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28243         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28244         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28245         for gcc to avoid warnings.
28246         * inet/Makefile (tests): Add tst-checks.
28247         * inet/tst-checks.c: New file.
28249         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28250         warning.
28252         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28253         __wmemcmp_sse2.
28255         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28256         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28258         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28260 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28262         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28263         problem.
28265         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28267 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28269         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28270         conditional on GCC version.
28271         (__arch_compare_and_exchange_val_8_acq)
28272         (__arch_compare_and_exchange_val_16_acq)
28273         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28274         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28275         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28277 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28279         * sysdeps/sh/backtrace.c: New file.
28281 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28283         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28284         parenthesis.
28286 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28288         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28289         falling back to utime.
28291 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28293         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28294         expectations for float.
28296 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28298         * locale/weight.h (findidx): Add parameter len.
28299         * locale/weightwc.h (findidx): Likewise.
28300         * posix/fnmatch_loop.c (FCT): Adjust caller.
28301         * posix/regcomp.c (build_equiv_class): Likewise.
28302         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28303         * posix/regexec.c (check_node_accept_bytes): Likewise.
28304         * string/strcoll_l.c (STRCOLL): Likewise.
28305         * string/strxfrm_l.c (STRXFRM): Likewise.
28307 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28309         * Makefile.in: Remove CVSOPT handling.
28310         * configure.in: Remove use of AC_REVISION.
28311         * iconvdata/Makefile (distribute): No need to filter out CVS.
28312         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28313         handling.
28315 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28318         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28319         [USE_AS_STRNCASECMP_L]: Likewise.
28320         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28321         NO_TLS_DIRECT_SEG_REFS.
28322         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28323         Fix argument offsets for non-PIC.
28324         [USE_AS_STRNCASECMP_L]: Likewise.
28325         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28326         NO_TLS_DIRECT_SEG_REFS.
28328 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28330         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28331         O_CLOEXEC.
28332         * locale/loadlocale.c (_nl_load_locale): Likewise.
28334 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28336         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28337         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28338         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28339         (SYSCALL_GETTIME): Set errno on error.
28341         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28342         count references to noai6ai_cached.
28344 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28346         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28348         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28349         FD_CLOEXEC for /proc/self/maps.
28351         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28352         FD_CLOEXEC for /proc/meminfo.
28354         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28355         gai.conf.
28357         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28358         FD_CLOEXEC for given file.
28360         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28362         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28363         FD_CLOEXEC for /etc/hosts.
28364         (_gethtent): Likewise.
28366         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28368         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28369         cancellation and set FD_CLOEXEC for /etc/netgroup.
28371         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28372         reading /etc/publickey.
28374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28375         allow cancellation when reading /etc/group.
28377         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28378         cancellation.
28379         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28381         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28382         when using data file.
28384         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28386         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28387         (write_nis_obj): Use "c" and "e" in fopen.
28389         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28391         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28393         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28395         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28397         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28398         locale.alias.
28400         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28402         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28404         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28406         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28407         file parsing and set FD_CLOEXEC.
28409 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28411         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28413 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28415         * malloc/arena.c (arena_get2): Don't call reused_arena when
28416         _int_new_arena failed.
28418 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28420         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28421         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28422         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28423         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28424         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28426         to compile strcasecmp and strncasecmp.
28427         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28428         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28432 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28434         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28435         locale-defines.sym to gen-as-const-headers.
28436         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28437         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28438         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28439         to compile strcasecmp and strncasecmp.
28440         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28441         strcasecmp_l and strncasecmp_l.
28442         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28443         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28444         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28445         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28446         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28447         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28448         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28449         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28450         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28451         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28452         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28454 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28456         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28457         result of SYSDEP_GETTIME_CPU to retval.
28458         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28459         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28461         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28462         variable.
28464         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28465         mantissa words.
28466         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28468         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28469         from unused variable.
28471         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28472         DWARF definitions.
28473         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28474         for assembling.
28476         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28477         over namespaces.
28479         * sunrpc/rpc_prot.c (rejected): Fix case value.
28481         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28482         unsigned long long int to avoid warnings in shift.
28484         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28485         of use of trans.
28486         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28487         variable tmp.
28489         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28490         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28491         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28493         * nis/nis_table.c (nis_list): Use variable of correct type for
28494         result of __follow_path call.
28496 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28498         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28499         of math functions ceil, trunc, floor, round, and sqrt, when
28500         avaliable on the platform.
28501         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28502         name clash.
28503         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28504         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28505         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28507 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28509         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28510         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28512 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28514         * include/unistd.h: Fix __readlink return type.
28515         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28517 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28519         * stdlib/ucontext.h: Undo last change for makecontext.
28521 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28523         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28525         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28526         * setjmp/setjmp.h: Mark functions as non-leaf.
28527         * setjmp/bits/setjmp2.h: Likewise.
28528         * stdlib/ucontext.h: Likewise.
28530 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28532         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28533         (reused_arena): Don't check arena limit.
28534         (arena_get2): Atomically check arena limit.
28536 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28538         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28539         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28542         instructions.
28544 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28546         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28547         handler when locking.
28549         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28550         Fix size of allocated buffer.
28552 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28554         [BZ #10103]
28555         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28556         declarations for long double functions.
28557         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28559         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28561 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28563         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28564         installed.
28566         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28567         is disabled.
28569 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28571         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28573 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28575         * include/alloca.h (stackinfo_alloca_round): Define.
28576         (extend_alloca): Use it.
28577         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28578         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28579         here.
28581         * scripts/check-local-headers.sh: Ignore libaudit.h.
28583         * nscd/Makefile (extra-objs): Make recursively expanded.
28585 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28587         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28588         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28590         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28591         * posix/tst-rfc3484-2.c: Likewise.
28592         * posix/tst-rfc3484-3.c: Likewise.
28594         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28595         process_vm_writev.
28596         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28597         process_vm_writev.
28598         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28599         process_vm_writev from libc using GLIBC_2.15 version.
28601         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28603 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28605         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28606         stack usage.
28608 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28610         [BZ #13367]
28611         * nss/getent.c (initgroups_keys): Show error message in case no group
28612         names are given.
28614         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28615         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28616         __bump_nl_timestamp.
28617         * nscd/connections (nscd_init): When host database is served open
28618         netlink socket and request notification about configuration changes.
28619         (main_loop_poll): Track netlink file descriptor and bump timestamp
28620         in case data becomes available.
28621         (main_loop_epoll): Likewise.
28622         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28623         (database_pers_head): Add extra_data fileds.
28624         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28625         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28626         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28627         Adjust caller.
28628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28629         in6ai data, call __free_in6ai.
28630         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28631         Add -DHAVE_NETLINK.
28632         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28633         interface information.  Reuse previous data if netlink timestamp
28634         is not changed.
28635         (__bump_nl_timestamp): New function.
28636         (__free_in6ai): New function.
28638 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28641         close_not_cancel_no_status here.
28642         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28644 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28646         [BZ #13276]
28647         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28648         return value.
28650         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28651         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28652         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28654 2011-07-03  Andreas Jaeger  <aj@suse.de>
28656         [BZ #10709]
28657         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28658         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28659         * math/libm-test.inc (sin_test): Add test case.
28661 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28663         [BZ #13337]
28664         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28665         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28667         * elf/chroot_canon.c (chroot_canon): Cleanups.
28669         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28671         [BZ #13335]
28672         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28673         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28675         * string/test-strchr.c: Make usable for strchrnul testing.
28676         * string/test-strchrnul.c: New file.
28677         * string/Makefile (strop-tests): Add strchrnul.
28679         * po/it.po: Update from translation team.
28680         * po/es.po: Likewise.
28682 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28684         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28685         the three constants needed as parameters.  Drop the others.
28686         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28687         __m128i_strloadu_tolower.
28688         Create and initialize variable zero and use it in all the places
28689         where _mm_setzero_si128 was used.
28691         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28692         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28693         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28694         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28695         anymore.
28696         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28697         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28698         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28699         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28700         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28701         __mpranred, __mptan.
28702         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28703         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28704         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28705         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28706         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28707         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28708         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28709         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28710         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28712 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28714         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28715         redefine if SHARED.
28716         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28719         wide char related routines to wcsmbs subdir.
28721 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28723         [BZ #13344]
28724         * misc/sys/cdefs.h (__THROWNL): Define.
28725         * posix/unistd.h: Use __THREADNL instead of __THREAD
28726         for memory synchronization functions.
28728 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28730         [BZ #13349]
28731         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28732         doesn't exist.
28733         * manual/stdio.texi (Obstack Streams): Node removed.
28735 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28737         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28738         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28739         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28741         * math/math_private.h (math_force_eval): Allow non-addressable
28742         arguments.
28743         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28745 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28747         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28748         file is not needed.
28750         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28751         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28752         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28753         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28754         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28755         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28756         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28757         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28758         Add AVX variants.
28759         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28760         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28761         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28762         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28763         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28764         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28765         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28766         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28767         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28768         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28769         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28770         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28771         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28772         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28773         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28774         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28775         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28776         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28777         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28779         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28780         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28782         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28783         place.  Use VEX encoding when compiling for AVX.
28785 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28787         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28788         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28790         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28792 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28794         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28795         useless if() expression.
28796         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28797         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28798         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28800         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28801         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28802         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28805         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28806         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28807         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28808         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28809         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28810         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28811         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28812         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28813         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28814         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28816         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28818 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28820         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28821         condition.
28822         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28824 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28826         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28827         .text section.  Avoid duplicate constants.
28828         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28829         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28830         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28831         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28832         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28833         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28834         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28836         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28837         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28838         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28839         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28840         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28841         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28842         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28843         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28844         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28845         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28846         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28849         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28850         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28851         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28852         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28853         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28854         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28855         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28856         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28857         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28858         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28859         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28860         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28861         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28862         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28863         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28864         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28865         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28866         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28867         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28868         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28869         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28870         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28871         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28872         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28874 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28876         * sysdeps/x86_64/dla.h: Move to ...
28877         * sysdeps/x86_64/fpu/dla.h: ...here.
28878         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28879         situations.  Use __builtin_fma only for gcc 4.6 and up.
28881         * config.make.in: Add have-mfma4 entry.
28882         * configure.in: Substitute libc_cv_cc_fma4.
28883         * math/Makefile (dbl-only-routines): Add sincostab.
28884         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28885         Use __sincostab not sincos.
28886         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28887         name is a macro.
28888         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28889         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28890         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28891         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28892         using __copysign.
28893         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28894         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28895         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28896         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28897         and __inv.
28898         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28899         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28900         __copysign.
28901         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28902         define aliases when function name is a macro.
28903         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28904         sysdeps/ieee754/dbl-64/sincos.tbl.
28905         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28906         fma4-enabled routines.
28907         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28908         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28909         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28910         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28911         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28912         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28913         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28914         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28915         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28916         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28917         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28918         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28919         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28920         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28921         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28922         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28923         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28924         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28925         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28926         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28927         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28928         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28929         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28930         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28931         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28932         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28934         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28935         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28936         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28938         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28939         rename.
28940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28941         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28942         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28943         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28944         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28946         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28949 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28951         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28953 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28955         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28957         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28958         prediction.
28959         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28961         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28962         Remove unused variable magic_bits.
28963         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28965         * string/strnlen.c: Define and use STRNLEN macro.
28966         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28967         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28968         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28969         * wcsmbs/wcslen.c: Define and use WCSLEN.
28970         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28971         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28972         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28973         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28974         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28975         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28976         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28978 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28981         strnlen-sse2-no-bsf.
28982         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28983         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28984         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28985         Add strnlen support.
28986         (USE_AS_STRNLEN): New macro.
28987         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28988         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28989         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28990         * sysdeps/x86_64/wcslen.S: New file.
28992 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
28994         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28995         XMM-moves are used for copying on small sizes.
28997 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28999         * wcsmbs/Makefile (strop-tests): Add wcschr.
29000         * wcsmbs/test-wcschr.c: New file.
29001         * string/test-strchr.c: Update.
29002         Add wcschr support.
29003         (WIDE): New macro.
29005 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29007         * wcsmbs/Makefile (strop-tests): Add wcslen.
29008         * wcsmbs/test-wcslen.c: New file.
29009         * string/test-strlen.c: Update.
29010         Add wcslen support.
29011         (WIDE): New macro.
29013 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29015         * po/it.po: Update from translation team.
29017 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29019         * sysdeps/x86_64/wcscmp.S: Update.
29020         Fix wrong comparison semantics.
29021         wcscmp shall use signed comparison not unsigned.
29022         Don't use substraction to avoid overflow bug.
29023         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29024         * wcsmbc/wcscmp.c: Likewise.
29025         * string/test-strcmp.c: Likewise.
29026         Add new tests to check cases with negative values.
29028 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29030         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29031         * sysdeps/x86_64/dla.h: ...here.  New file.
29032         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29033         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29035         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29042 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29045         __ynl_finite aliases.
29047 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29051         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29052         define DLA_FMA.
29053         [DLA_FMA] (EMULV): Use DLA_FMA.
29054         [DLA_FMA] (MUL12): Use EMULV.
29055         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29056         that are not needed.
29057         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29065 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29067         * math/s_nan.c: Undef __nan.
29068         * math/s_nanf.c: Undef __nanf.
29069         * math/s_nanl.c: Undef __nanl.
29070         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29071         "math_private.h".
29073 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29075         * math/s_catan.c: Add branch predictions.
29076         * math/s_catanf.c: Likewise.
29077         * math/s_catanh.c: Likewise.
29078         * math/s_catanhf.c: Likewise.
29079         * math/s_catanhl.c: Likewise.
29080         * math/s_catanl.c: Likewise.
29081         * math/s_cexp.c: Likewise.
29082         * math/s_cexpf.c: Likewise.
29083         * math/s_cexpl.c: Likewise.
29084         * math/s_clog.c: Likewise.
29085         * math/s_clog10.c: Likewise.
29086         * math/s_clog10f.c: Likewise.
29087         * math/s_clog10l.c: Likewise.
29088         * math/s_clogf.c: Likewise.
29089         * math/s_clogl.c: Likewise.
29090         * math/s_csqrt.c: Likewise.
29091         * math/s_csqrtf.c: Likewise.
29092         * math/s_csqrtl.c: Likewise.
29093         * math/s_ctanf.c: Likewise.
29094         * math/s_ctanh.c: Likewise.
29095         * math/s_ctanhf.c: Likewise.
29096         * math/s_ctanhl.c: Likewise.
29097         * math/s_ctanl.c: Likewise.
29099         * math/math_private.h: Define __nan, __nanf, __nanl.
29100         * math/s_cacosh.c: Include <math_private.h>.
29101         * math/s_cacoshl.c: Likewise.
29102         * math/s_casinh.c: Likewise.
29103         * math/s_casinhf.c: Likewise.
29104         * math/s_casinhl.c: Likewise.
29105         * math/s_ccos.c: Rely entire on ccosh.
29106         * math/s_ccosf.c: Rely entire on ccoshf.
29107         * math/s_ccosl.c: Rely entirely on ccoshl.
29108         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29109         Remove tests for FE_INVALID.
29110         * math/s_ccoshf.c: Likewise.
29111         * math/s_ccoshl.c: Likewise.
29112         * math/s_csin.c: Likewise.
29113         * math/s_csinf.c: Likewise.
29114         * math/s_csinh.c Likewise.
29115         * math/s_csinhf.c: Likewise.
29116         * math/s_csinhl.c: Likewise.
29117         * math/s_csinl.c: Likewise.
29118         * math/s_ctan.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29120         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29121         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29123 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29126         compilation problems.
29128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29129         __builtin_expect.
29131 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29133         * sysdeps/i386/configure.in: Test for -mfma4 option.
29134         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29135         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29136         COMMON_CPUID_INDEX_80000001.
29137         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29138         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29139         use it if FMA3 is not supported.
29140         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29142         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29143         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29145 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29147         [BZ #12892]
29148         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29149         it would create a cycle with a link time dependency.
29151 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29153         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29154         instruction.
29155         * string/Makefile (strop-tests): Add rawmemchr.
29156         * string/test-rawmemchr.c: New file.
29158         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29159         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29160         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29161         when compiling str{,n}casecmp and when AVX is available.  Hook up
29162         new optimized code in initializers.
29164 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29166         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29167         __feraiseexcept instead of feraiseexcept.
29169 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29171         * math/math_private.h: Define defaults for libc_fetestexcept and
29172         libc_feupdateenv.
29173         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29174         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29175         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29176         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29177         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29178         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29179         libc_fetestexcept and libc_feupdateenv.
29181         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29182         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29183         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29184         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29185         libc_feholdexcept_setround.
29187         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29188         Add s_nearbyint-c and s_nearbyintf-c.
29189         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29190         nearbyintf inlines.
29191         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29192         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29193         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29194         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29196         * math/math_private.h: Define defaults for libc_fegetround,
29197         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29198         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29199         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29200         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29201         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29202         standard functions.
29203         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29204         Remove comments and hacks for old compiler versions.
29205         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29206         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29207         libc_feholdexceptl.
29209 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29211         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29212         (__feraiseexcept_renamed): Add __NTH.
29213         (feraiseexcept): Add __NTH.  Rename local variables to fix
29214         namespace violations.
29216 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29220         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29222         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29223         recently added interfaces.
29224         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29226         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29227         about macro parameter expansion.
29229         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29230         __NO_MATH_INLINES is defined.  Cleanups.
29232         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29233         and __floorf is target has SSE4.1.
29234         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29235         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29236         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29237         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29239         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29240         name.
29241         (floorf): Likewise.
29243         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29245 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29247         * misc/sys/cdefs.h: Fix last change.
29249         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29250         database lookup.
29252 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29254         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29256         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29257         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29259         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29260         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29261         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29262         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29263         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29264         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29265         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29266         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29267         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29268         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29269         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29270         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29271         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29272         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29273         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29274         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29275         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29276         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29277         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29279         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29280         ceil, ceilf, floor, floorf.
29282         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29283         Perform IRELATIVE relocations last.
29285         * elf/do-rel.h: Add another parameter nrelative, replacing the
29286         local variable with the same name.  Change name of the function
29287         to end in Rel or Rela (uppercase).
29288         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29289         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29290         elf_dynamic_do_##reloc function.
29292 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29294         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29295         is sufficient, at least on modern CPUs.
29297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29299         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29300         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29302         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29303         __expl_finite.
29304         * math/bits/math-finite.h: Add entries for exp.
29305         * math/e_expl.c: Add __*_finite alias.
29306         * sysdeps/i386/fpu/e_exp.S: Likewise.
29307         * sysdeps/i386/fpu/e_expf.S: Likewise.
29308         * sysdeps/i386/fpu/e_expl.c: Likewise.
29309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29310         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29313         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29314         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29315         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29317         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29318         is sufficient, at least on modern CPUs.
29320         * ctype/ctype-info.c (__ctype_init): Define.
29321         * include/ctype.h (__ctype_init): Declare.
29322         (__ctype_b_loc): The variable is always initialized.
29323         (__ctype_toupper_loc): Likewise.
29324         (__ctype_tolower_loc): Likewise.
29325         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29326         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29328 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29330         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29332         * configure.in: Also look in $cxxmachine/include for C++ system
29333         headers.
29335 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29337         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29338         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29339         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29340         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29341         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29342         (USE_AS_WMEMCMP): New macro.
29343         Fixing indents.
29344         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29345         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29346         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29347         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29349         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29350         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29351         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29352         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29353         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29354         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29355         (USE_AS_WMEMCMP): New macro.
29356         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29357         * sysdeps/string/test-memcmp.c: Update.
29358         Fix simple_wmemcmp.
29359         Add new tests.
29360         * wcsmbs/wmemcmp.c: Update.
29361         (WMEMCMP): New macro.
29362         Fix overflow bug.
29364 2011-10-12  Andreas Jaeger  <aj@suse.de>
29366         [BZ #13268]
29367         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29369 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29371         * libio/iofwide.c (do_length): Avoid warning.
29373         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29375 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29377         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29379         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29380         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29381         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29382         * sysdeps/i386/i686/fpu/e_log.S: New file.
29383         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29384         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29386         * ctype/ctype.h: Add support for inlined isXXX functions when
29387         compiling C++ code.
29389 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29391         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29393         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29395 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29397         [BZ #13291]
29398         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29400 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29402         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29403         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29404         feraiseexcept.
29406         * sysdeps/x86_64/memrchr.S: Check for zero size.
29408         * string/stratcliff.c: Add memrchr tests.
29410 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29413         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29414         rawmemchr-sse2 rawmemchr-sse2-bsf.
29415         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29416         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29417         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29418         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29419         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29420         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29421         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29422         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29423         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29424         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29425         * string/memrchr.c (MEMRCHR): New macro.
29427 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29429         Add integration with gcc's -ffinite-math-only and optimize wrapper
29430         functions in libm.
29431         * Versions.def: Define GLIBC_2.15 version for libm.
29432         * math/Makefile (headers): Add bits/math-finite.h.
29433         * math/bits/math-finite.h: New file.
29434         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29435         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29436         * math/e_acoshl.c: Add __*_finite alias.
29437         * math/e_acosl.c: Likewise.
29438         * math/e_asinl.c: Likewise.
29439         * math/e_atan2l.c: Likewise.
29440         * math/e_atanhl.c: Likewise.
29441         * math/e_coshl.c: Likewise.
29442         * math/e_exp10.c: Likewise.
29443         * math/e_exp10f.c: Likewise.
29444         * math/e_exp10l.c: Likewise.
29445         * math/e_exp2l.c: Likewise.
29446         * math/e_fmodl.c: Likewise.
29447         * math/e_gammal_r.c: Likewise.
29448         * math/e_hypotl.c: Likewise.
29449         * math/e_j0l.c: Likewise.
29450         * math/e_j1l.c: Likewise.
29451         * math/e_jnl.c: Likewise.
29452         * math/e_lgammal_r.c: Likewise.
29453         * math/e_log10l.c: Likewise.
29454         * math/e_log2l.c: Likewise.
29455         * math/e_logl.c: Likewise.
29456         * math/e_powl.c: Likewise.
29457         * math/e_sinhl.c: Likewise.
29458         * math/e_sqrtl.c: Likewise.
29459         * math/e_scalb.c: Completely rewritten and optimized.
29460         * math/e_scalbf.c: Likewise.
29461         * math/e_scalbl.c: Likewise.
29462         * math/w_acos.c: Likewise.
29463         * math/w_acosf.c: Likewise.
29464         * math/w_acosl.c: Likewise.
29465         * math/w_acosh.c: Likewise.
29466         * math/w_acoshf.c: Likewise.
29467         * math/w_acoshl.c: Likewise.
29468         * math/w_asin.c: Likewise.
29469         * math/w_asinf.c: Likewise.
29470         * math/w_asinl.c: Likewise.
29471         * math/w_atan2.c: Likewise.
29472         * math/w_atan2f.c: Likewise.
29473         * math/w_atan2l.c: Likewise.
29474         * math/w_atanh.c: Likewise.
29475         * math/w_atanhf.c: Likewise.
29476         * math/w_atanhl.c: Likewise.
29477         * math/w_exp10.c: Likewise.
29478         * math/w_exp10f.c: Likewise.
29479         * math/w_exp10l.c: Likewise.
29480         * math/w_fmod.c: Likewise.
29481         * math/w_fmodf.c: Likewise.
29482         * math/w_fmodl.c: Likewise.
29483         * math/w_j0.c: Likewise.
29484         * math/w_j0f.c: Likewise.
29485         * math/w_j0l.c: Likewise.
29486         * math/w_j1.c: Likewise.
29487         * math/w_j1f.c: Likewise.
29488         * math/w_j1l.c: Likewise.
29489         * math/w_jn.c: Likewise.
29490         * math/w_jnf.c: Likewise.
29491         * math/w_log.c: Likewise.
29492         * math/w_logf.c: Likewise.
29493         * math/w_logl.c: Likewise.
29494         * math/w_log10.c: Likewise.
29495         * math/w_log10f.c: Likewise.
29496         * math/w_log10l.c: Likewise.
29497         * math/w_log2.c: Likewise.
29498         * math/w_log2f.c: Likewise.
29499         * math/w_log2l.c: Likewise.
29500         * math/w_pow.c: Likewise.
29501         * math/w_powf.c: Likewise.
29502         * math/w_powl.c: Likewise.
29503         * math/w_remainder.c: Likewise.
29504         * math/w_remainderf.c: Likewise.
29505         * math/w_remainderl.c: Likewise.
29506         * math/w_scalb.c: Likewise.
29507         * math/w_scalbf.c: Likewise.
29508         * math/w_scalbl.c: Likewise.
29509         * math/w_sqrt.c: Likewise.
29510         * math/w_sqrtf.c: Likewise.
29511         * math/w_sqrtl.c: Likewise.
29512         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29513         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29514         used.
29515         * math/math_private.h: Declare __kernel_standard_f.
29516         * math/w_cosh.c: Remove cruft and optimize a bit.
29517         * math/w_coshf.c: Likewise.
29518         * math/w_coshl.c: Likewise.
29519         * math/w_exp2.c: Likewise.
29520         * math/w_exp2f.c: Likewise.
29521         * math/w_exp2l.c: Likewise.
29522         * math/w_hypot.c: Likewise.
29523         * math/w_hypotf.c: Likewise.
29524         * math/w_hypotl.c: Likewise.
29525         * math/w_lgamma.c: Likewise.
29526         * math/w_lgamma_r.c: Likewise.
29527         * math/w_lgammaf.c: Likewise.
29528         * math/w_lgammaf_r.c: Likewise.
29529         * math/w_lgammal.c: Likewise.
29530         * math/w_lgammal_r.c: Likewise.
29531         * math/w_sinh.c: Likewise.
29532         * math/w_sinhf.c: Likewise.
29533         * math/w_sinhl.c: Likewise.
29534         * math/w_tgamma.c: Likewise.
29535         * math/w_tgammaf.c: Likewise.
29536         * math/w_tgammal.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29538         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29539         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29540         Minor optimizations.  Pretty printing.  Remove cruft.
29541         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29542         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29543         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29544         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29545         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29546         * sysdeps/i386/fpu/e_asin.S: Likewise.
29547         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29548         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29549         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29550         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29551         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29552         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29553         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29554         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29555         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29556         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29557         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29558         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29559         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29560         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29561         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29562         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29563         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29564         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29565         * sysdeps/i386/fpu/e_log.S: Likewise.
29566         * sysdeps/i386/fpu/e_log10.S: Likewise.
29567         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29568         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29569         * sysdeps/i386/fpu/e_log2.S: Likewise.
29570         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29571         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29572         * sysdeps/i386/fpu/e_logf.S: Likewise.
29573         * sysdeps/i386/fpu/e_logl.S: Likewise.
29574         * sysdeps/i386/fpu/e_pow.S: Likewise.
29575         * sysdeps/i386/fpu/e_powf.S: Likewise.
29576         * sysdeps/i386/fpu/e_powl.S: Likewise.
29577         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29578         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29579         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29580         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29581         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29582         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29583         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29584         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29585         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29586         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29587         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29588         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29590         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29592         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29593         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29594         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29595         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29596         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29597         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29599         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29600         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29602         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29606         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29607         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29608         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29609         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29610         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29611         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29612         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29613         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29614         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29615         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29616         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29617         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29618         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29619         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29620         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29621         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29622         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29623         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29624         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29625         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29626         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29627         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29628         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29629         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29630         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29631         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29632         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29633         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29634         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29635         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29636         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29637         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29639         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29640         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29641         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29642         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29643         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29644         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29645         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29646         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29648         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29665         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29666         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29667         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29668         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29669         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29670         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29673         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29674         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29675         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29677         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29678         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29679         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29680         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29681         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29682         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29683         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29684         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29685         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29686         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29687         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29688         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29689         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29690         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29691         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29692         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29693         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29694         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29695         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29696         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29697         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29698         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29699         (__isnanf): Likewise.
29700         (__isinf_ns): Likewise.
29701         (__isinf_nsf): Likewise.
29702         (__finite): Likewise.
29703         (__finitef): Likewise.
29704         (__ieee754_sqrt): Define as macro.
29705         (__ieee754_sqrtf): Define as macro.
29706         (__ieee754_sqrtl): Define as macro.
29707         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29708         inlined copy.
29709         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29710         __FINITE_MATH_ONLY__ consistent.
29711         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29713 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29715         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29716         of rawmemchr.
29718         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29720 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29722         * po/ja.po: Update from translation team.
29724 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29726         * locale/programs/locarchive.c (prepare_address_space): New function.
29727         (create_archive, enlarge_archive, open_archive): Use it.
29729         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29730         inside [SHARED], where it is used.
29732         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29734         * nss/getent.c (netgroup_keys): Remove unused variable.
29735         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29737 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29739         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29740         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29741         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29742         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29743         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29744         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29745         * math/Makefile (libm-calls): Add s_isinf_ns.
29746         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29747         * math/multc3.c: Likewise.
29748         * math/s_casin.c: Likewise.
29749         * math/s_casinf.c: Likewise.
29750         * math/s_casinl.c: Likewise.
29751         * math/s_ccos.c: Likewise.
29752         * math/s_ccosf.c: Likewise.
29753         * math/s_ccosl.c: Likewise.
29754         * math/s_ctan.c: Likewise.
29755         * math/s_ctanf.c: Likewise.
29756         * math/s_ctanh.c: Likewise.
29757         * math/s_ctanhf.c: Likewise.
29758         * math/s_ctanhl.c: Likewise.
29759         * math/s_ctanl.c: Likewise.
29760         * math/w_fmod.c: Likewise.
29761         * math/w_fmodf.c: Likewise.
29762         * math/w_fmodl.c: Likewise.
29763         * math/w_remainder.c: Likewise.
29764         * math/w_remainderf.c: Likewise.
29765         * math/w_remainderl.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29767         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29768         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29770         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29771         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29772         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29773         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29775         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29776         of the number.
29777         * stdio-common/printf_fphex.c: Likewise.
29778         * stdio-common/printf_size.c: Likewise.
29780         * math/e_exp10.c: Include math_private.h using <...> not "...".
29781         * math/e_exp10f.c: Likewise.
29782         * math/e_exp10l.c: Likewise.
29783         * math/e_exp2l.c: Likewise.
29784         * math/e_j0l.c: Likewise.
29785         * math/e_j1l.c: Likewise.
29786         * math/e_jnl.c: Likewise.
29787         * math/e_lgammal_r.c: Likewise.
29788         * math/e_rem_pio2l.c: Likewise.
29789         * math/e_scalb.c: Likewise.
29790         * math/e_scalbf.c: Likewise.
29791         * math/e_scalbl.c: Likewise.
29792         * math/k_cosl.c: Likewise.
29793         * math/k_sinl.c: Likewise.
29794         * math/k_tanl.c: Likewise.
29795         * math/s_cacoshf.c: Likewise.
29796         * math/s_catan.c: Likewise.
29797         * math/s_catanf.c: Likewise.
29798         * math/s_catanh.c: Likewise.
29799         * math/s_catanhf.c: Likewise.
29800         * math/s_catanhl.c: Likewise.
29801         * math/s_catanl.c: Likewise.
29802         * math/s_ccosh.c: Likewise.
29803         * math/s_ccoshf.c: Likewise.
29804         * math/s_ccoshl.c: Likewise.
29805         * math/s_cexp.c: Likewise.
29806         * math/s_cexpf.c: Likewise.
29807         * math/s_cexpl.c: Likewise.
29808         * math/s_clog.c: Likewise.
29809         * math/s_clog10.c: Likewise.
29810         * math/s_clog10f.c: Likewise.
29811         * math/s_clog10l.c: Likewise.
29812         * math/s_clogf.c: Likewise.
29813         * math/s_clogl.c: Likewise.
29814         * math/s_csin.c: Likewise.
29815         * math/s_csinf.c: Likewise.
29816         * math/s_csinh.c: Likewise.
29817         * math/s_csinhf.c: Likewise.
29818         * math/s_csinhl.c: Likewise.
29819         * math/s_csinl.c: Likewise.
29820         * math/s_csqrt.c: Likewise.
29821         * math/s_csqrtf.c: Likewise.
29822         * math/s_csqrtl.c: Likewise.
29823         * math/s_ctan.c: Likewise.
29824         * math/s_ctanf.c: Likewise.
29825         * math/s_ctanh.c: Likewise.
29826         * math/s_ctanhf.c: Likewise.
29827         * math/s_ctanhl.c: Likewise.
29828         * math/s_ctanl.c: Likewise.
29829         * math/s_ldexp.c: Likewise.
29830         * math/s_ldexpf.c: Likewise.
29831         * math/s_ldexpl.c: Likewise.
29832         * math/s_significand.c: Likewise.
29833         * math/s_significandf.c: Likewise.
29834         * math/s_significandl.c: Likewise.
29835         * math/w_acos.c: Likewise.
29836         * math/w_acosf.c: Likewise.
29837         * math/w_acosh.c: Likewise.
29838         * math/w_acoshf.c: Likewise.
29839         * math/w_acoshl.c: Likewise.
29840         * math/w_acosl.c: Likewise.
29841         * math/w_asin.c: Likewise.
29842         * math/w_asinf.c: Likewise.
29843         * math/w_asinl.c: Likewise.
29844         * math/w_atan2.c: Likewise.
29845         * math/w_atan2f.c: Likewise.
29846         * math/w_atan2l.c: Likewise.
29847         * math/w_atanh.c: Likewise.
29848         * math/w_atanhf.c: Likewise.
29849         * math/w_atanhl.c: Likewise.
29850         * math/w_cosh.c: Likewise.
29851         * math/w_coshf.c: Likewise.
29852         * math/w_coshl.c: Likewise.
29853         * math/w_dremf.c: Likewise.
29854         * math/w_exp10.c: Likewise.
29855         * math/w_exp10f.c: Likewise.
29856         * math/w_exp10l.c: Likewise.
29857         * math/w_exp2.c: Likewise.
29858         * math/w_exp2f.c: Likewise.
29859         * math/w_fmod.c: Likewise.
29860         * math/w_fmodf.c: Likewise.
29861         * math/w_fmodl.c: Likewise.
29862         * math/w_hypot.c: Likewise.
29863         * math/w_hypotf.c: Likewise.
29864         * math/w_hypotl.c: Likewise.
29865         * math/w_j0.c: Likewise.
29866         * math/w_j0f.c: Likewise.
29867         * math/w_j0l.c: Likewise.
29868         * math/w_j1.c: Likewise.
29869         * math/w_j1f.c: Likewise.
29870         * math/w_j1l.c: Likewise.
29871         * math/w_jn.c: Likewise.
29872         * math/w_jnf.c: Likewise.
29873         * math/w_jnl.c: Likewise.
29874         * math/w_lgamma.c: Likewise.
29875         * math/w_lgamma_r.c: Likewise.
29876         * math/w_lgammaf.c: Likewise.
29877         * math/w_lgammaf_r.c: Likewise.
29878         * math/w_lgammal.c: Likewise.
29879         * math/w_lgammal_r.c: Likewise.
29880         * math/w_log.c: Likewise.
29881         * math/w_log10.c: Likewise.
29882         * math/w_log10f.c: Likewise.
29883         * math/w_log10l.c: Likewise.
29884         * math/w_log2.c: Likewise.
29885         * math/w_log2f.c: Likewise.
29886         * math/w_log2l.c: Likewise.
29887         * math/w_logf.c: Likewise.
29888         * math/w_logl.c: Likewise.
29889         * math/w_pow.c: Likewise.
29890         * math/w_powf.c: Likewise.
29891         * math/w_powl.c: Likewise.
29892         * math/w_remainder.c: Likewise.
29893         * math/w_remainderf.c: Likewise.
29894         * math/w_remainderl.c: Likewise.
29895         * math/w_scalb.c: Likewise.
29896         * math/w_scalbf.c: Likewise.
29897         * math/w_scalbl.c: Likewise.
29898         * math/w_sinh.c: Likewise.
29899         * math/w_sinhf.c: Likewise.
29900         * math/w_sinhl.c: Likewise.
29901         * math/w_sqrt.c: Likewise.
29902         * math/w_sqrtf.c: Likewise.
29903         * math/w_sqrtl.c: Likewise.
29904         * math/w_tgamma.c: Likewise.
29905         * math/w_tgammaf.c: Likewise.
29906         * math/w_tgammal.c: Likewise.
29908         * po/ja.po: Update from translation team.
29910 2011-09-29  Andreas Jaeger  <aj@suse.de>
29912         [BZ #13179]
29913         * sunrpc/netname.c (netname2host): Fix logic.
29915         [BZ #6779]
29916         [BZ #6783]
29917         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29918         correctly.
29919         * math/w_remainder.c (__remainder): Likewise.
29920         * math/w_remainderf.c (__remainderf): Likewise.
29921         * math/libm-test.inc (remainder_test): Add test cases.
29923 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29925         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29926         sdiv_qrnnd.
29928 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29930         * string/test-memcmp.c: Avoid unncessary #defines.
29931         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29933 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29935         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29936         Use new sse2 version for core i3 - i7 as it's faster
29937         than sse42 version.
29938         (bit_Prefer_PMINUB_for_stringop): New.
29939         * sysdeps/x86_64/rawmemchr.S: Update.
29940         Replace with faster SSE2 version.
29941         * sysdeps/x86_64/memrchr.S: New file.
29942         * sysdeps/x86_64/memchr.S: Update.
29943         Replace with faster SSE2 version.
29945 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29947         * elf/dl-load.c (lose): Add cast to avoid warning.
29949 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29951         * po/ca.po: Update from translation team.
29953         * inet/getnetgrent_r.c: Hook up nscd.
29954         * nscd/Makefile (routines): Add nscd_netgroup.
29955         (nscd-modules): Add netgroupcache.
29956         (CFLAGS-netgroupcache.c): Define.
29957         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29958         (cache_search): Add const to second parameter.
29959         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29960         INNETGR.
29961         (dbs): Add netgrdb entry.
29962         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29963         (verify_persistent_db): Handle netgrdb.
29964         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29965         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29966         GETFDNETGR.
29967         (netgroup_response_header): Define.
29968         (innetgroup_response_header): Define.
29969         (datahead): Add netgroup_response_header and innetgroup_response_header
29970         elements.
29971         * nscd/nscd.conf: Add entries for netgroup cache.
29972         * nscd/nscd.h (dbtype): Add netgrdb.
29973         (_PATH_NSCD_NETGROUP_DB): Define.
29974         (netgroup_iov_disabled): Declare.
29975         (xmalloc, xcalloc, xrealloc): Move declarations here.
29976         (cache_search): Adjust prototype.
29977         Add netgroup-related prototypes.
29978         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29979         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29980         (__nscd_innetgr): Declare.
29981         * nscd/selinux.c (perms): Use access_vector_t as element type and
29982         add netgroup-related initializers.
29983         * nscd/netgroupcache.c: New file.
29984         * nscd/nscd_netgroup.c: New file.
29985         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29986         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29987         For four parameters use innetgr.
29988         * nss/nss_files/files-init.c: Add definition and callback for netgr.
29989         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29990         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29991         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29993         * nscd/connections.c (register_traced_file): Don't register file
29994         for disabled databases.
29996 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
29998         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30000         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30001         from tree and freeing node.
30003 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30005         * nss/nsswitch.c (__nss_database_lookup): Handle
30006         nss_parse_service_list out of memory case.
30008 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30010         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30011         out of memory case.
30013 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30015         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30016         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30017         pass it down.
30018         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30019         elf_machine_rela, elf_machine_lazy_rel.
30020         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30021         (ELF_DYNAMIC_DO_REL): Likewise.
30022         (ELF_DYNAMIC_DO_RELA): Likewise.
30023         (ELF_DYNAMIC_RELOCATE): Likewise.
30024         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30025         to ELF_DYNAMIC_DO_REL.
30026         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30027         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30028         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30029         elf_machine_rela.
30030         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30031         skip_ifunc, don't call ifunc function if non-zero.
30032         (elf_machine_rela): Likewise.
30033         (elf_machine_lazy_rel): Likewise.
30034         (elf_machine_lazy_rela): Likewise.
30035         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30036         (elf_machine_lazy_rel): Likewise.
30037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30038         Likewise.
30039         (elf_machine_lazy_rel): Likewise.
30040         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30041         Likewise.
30042         (elf_machine_lazy_rel): Likewise.
30043         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30044         (elf_machine_lazy_rel): Likewise.
30045         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30046         (elf_machine_lazy_rel): Likewise.
30047         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30048         (elf_machine_lazy_rel): Likewise.
30049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30050         (elf_machine_lazy_rel): Likewise.
30051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30052         (elf_machine_lazy_rel): Likewise.
30053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30054         (elf_machine_lazy_rel): Likewise.
30056 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30058         * nss/nss_files/files-init.c (_nss_files_init): Use static
30059         initialization for all the *_traced_file variables.
30061 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30063         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30065 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30067         [BZ #13226]
30068         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30070 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30073         Reread the line before reparsing it.
30075 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30077         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30079 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30080             Maxim Kuvyrkov  <maxim@codesourcery.com>
30081             Joseph Myers  <joseph@codesourcery.com>
30083         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30084         if needed for __stack_chk_guard.
30086 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30088         * sysdeps/posix/spawni.c (script_execute): Always define it.
30089         It will be optimized away if unused.
30090         (maybe_script_execute): New function.
30091         (__spawni): Call it.
30093         * Makerules: Don't include tls.make.
30094         (config-tls): Always set to thread.
30095         * tls.make.c: File removed.
30097 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30099         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30100         * config.make.in (CPPFLAGS-config): New substituted variable.
30102 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30104         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30106         [BZ #13192]
30107         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30108         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30110 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30112         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30113         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30114         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30115         (CALL_FAIL): Likewise.
30116         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30117         (CALL_FAIL): Macro removed.
30118         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30120 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30122         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30123         for __FINITE_MATH_ONLY__ == 1.
30125 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30127         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30128         __ieee754_sqrt instead of sqrt.
30129         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30130         __ieee754_sqrtf instead of sqrtf.
30131         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30132         __floorf instead of floorf.
30133         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30134         __floorf, __truncf instead of floorf, truncf.
30136 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30138         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30140         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30141         __extern_always_inline.
30142         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30143         32-bit.
30145 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30147         * elf/rtld.c (dl_main): Also relocate in dependency order when
30148         doing symbol dependency testing.
30150 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30152         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30153         Always define `refsym'.
30155 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30157         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30158         (__FD_ELT): Renamed from __FDELT.
30159         * misc/bits/select2.h (__FD_ELT): Likewise.
30160         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30161         __FD_MASK instead of __FDELT, __FDMASK.
30162         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30163         Likewise.
30164         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30165         Likewise.
30167         * elf/Makefile (gen-ldd): Fix pattern.
30169         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30170         (init_tls): Likewise.
30172 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30174         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30176 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30178         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30179         `struct cmsghdr *' instead of `void *'.
30180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30181         Likewise.
30183 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30185         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30186         if non-absolute.
30187         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30188         ldd_rewrite_script.
30190 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30192         * configure.in: Remove --with-tls option.
30193         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30194         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30195         out in case it is missing.
30196         * sysdeps/ia64/elf/configure.in: Likewise.
30197         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30198         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30199         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30200         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30201         * sysdeps/sh/elf/configure.in: Likewise.
30202         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30203         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30204         * sysdeps/x86_64/elf/configure.in: Likewise.
30205         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30206         * sysdeps/mach/hurd/tls.h: Likewise.
30208         [BZ #13067]
30209         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30211         [BZ #13090]
30212         * configure.in: Fix use of AC_INIT.
30214         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30216 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30218         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30219         __set_errno.
30220         * malloc/hooks.c: Likewise.
30222         [BZ #11929]
30223         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30224         variables statically.
30225         (narenas): Initialize.
30226         (list_lock): Initialize.
30227         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30228         initializtion of main_arena and list_lock.  Small cleanups.
30229         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30230         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30231         Add initializers to main_arena and mp_.
30232         (malloc_state): Remove pagesize member.  Change all users to use
30233         GLRO(dl_pagesize).
30235         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30236         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30237         is always initialized.
30239         * malloc/malloc.c: Removed unused configurations and dead code.
30240         * malloc/arena.c: Likewise.
30241         * malloc/hooks.c: Likewise.
30242         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30244         * include/tls.h: Removed.  USE___THREAD must always be defined.
30245         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30246         * elf/dl-libc.c: Likewise.
30247         * elf/dl-tsd.c: Likewise.
30248         * include/errno.h: Likewise.
30249         * include/netdb.h: Likewise.
30250         * include/resolv.h: Likewise.
30251         * inet/herrno-loc.c: Likewise.
30252         * inet/herrno.c: Likewise.
30253         * malloc/arena.c: Likewise.
30254         * malloc/hooks.c: Likewise.
30255         * malloc/malloc.c: Likewise.
30256         * resolv/res-state.c: Likewise.
30257         * resolv/res_libc.c: Likewise.
30258         * sysdeps/i386/dl-machine.h: Likewise.
30259         * sysdeps/ia64/dl-machine.h: Likewise.
30260         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30261         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30262         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30263         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30264         * sysdeps/sh/dl-machine.h: Likewise.
30265         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30266         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30267         * sysdeps/unix/i386/sysdep.S: Likewise.
30268         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30269         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30270         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30274         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30276         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30278         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30279         * sysdeps/x86_64/dl-machine.h: Likewise.
30280         * tls.make.c: Likewise.
30282         * configure.in: Remove --with-__thread option.  Make tests for
30283         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30284         tls_model attribute fail if no support is available.  Remove
30285         USE_IN_LIBIO.
30286         * Makeconfig: Adjust for dropped configure option.  All features are
30287         now mandatory.
30288         * Makerules: Likewise.
30289         * Versions.def: Likewise.
30290         * argp/argp-fmtstream.c: Likewise.
30291         * argp/argp-fmtstream.h: Likewise.
30292         * argp/argp-help.c: Likewise.
30293         * assert/assert.c: Likewise.
30294         * config.h.in: Likewise.
30295         * config.make.in: Likewise.
30296         * configure: Likewise.
30297         * configure.in: Likewise.
30298         * csu/Versions: Likewise.
30299         * csu/init.c: Likewise.
30300         * elf/tst-audit2.c: Likewise.
30301         * elf/tst-tls10.c: Likewise.
30302         * elf/tst-tls10.h: Likewise.
30303         * elf/tst-tls11.c: Likewise.
30304         * elf/tst-tls12.c: Likewise.
30305         * elf/tst-tls14.c: Likewise.
30306         * elf/tst-tlsmod11.c: Likewise.
30307         * elf/tst-tlsmod12.c: Likewise.
30308         * elf/tst-tlsmod13.c: Likewise.
30309         * elf/tst-tlsmod13a.c: Likewise.
30310         * elf/tst-tlsmod14a.c: Likewise.
30311         * elf/tst-tlsmod15b.c: Likewise.
30312         * elf/tst-tlsmod16a.c: Likewise.
30313         * elf/tst-tlsmod16b.c: Likewise.
30314         * elf/tst-tlsmod7.c: Likewise.
30315         * elf/tst-tlsmod8.c: Likewise.
30316         * elf/tst-tlsmod9.c: Likewise.
30317         * gmon/gmon.c: Likewise.
30318         * grp/fgetgrent_r.c: Likewise.
30319         * grp/putgrent.c: Likewise.
30320         * hurd/fopenport.c: Likewise.
30321         * include/libc-symbols.h: Likewise.
30322         * include/tls.h: Likewise.
30323         * intl/gettextP.h: Likewise.
30324         * intl/loadinfo.h: Likewise.
30325         * locale/global-locale.c: Likewise.
30326         * locale/localeinfo.h: Likewise.
30327         * mach/devstream.c: Likewise.
30328         * malloc/arena.c: Likewise.
30329         * malloc/set-freeres.c: Likewise.
30330         * misc/err.c: Likewise.
30331         * misc/getttyent.c: Likewise.
30332         * misc/mntent_r.c: Likewise.
30333         * posix/getopt.c: Likewise.
30334         * posix/wordexp.c: Likewise.
30335         * pwd/fgetpwent_r.c: Likewise.
30336         * resolv/Versions: Likewise.
30337         * resolv/res_hconf.c: Likewise.
30338         * shadow/fgetspent_r.c: Likewise.
30339         * shadow/putspent.c: Likewise.
30340         * stdio-common/printf_fphex.c: Likewise.
30341         * stdio-common/tmpfile.c: Likewise.
30342         * stdlib/abort.c: Likewise.
30343         * stdlib/fmtmsg.c: Likewise.
30344         * sunrpc/auth_unix.c: Likewise.
30345         * sunrpc/clnt_perr.c: Likewise.
30346         * sunrpc/clnt_tcp.c: Likewise.
30347         * sunrpc/clnt_udp.c: Likewise.
30348         * sunrpc/clnt_unix.c: Likewise.
30349         * sunrpc/openchild.c: Likewise.
30350         * sunrpc/svc_simple.c: Likewise.
30351         * sunrpc/svc_tcp.c: Likewise.
30352         * sunrpc/svc_udp.c: Likewise.
30353         * sunrpc/svc_unix.c: Likewise.
30354         * sunrpc/xdr.c: Likewise.
30355         * sunrpc/xdr_array.c: Likewise.
30356         * sunrpc/xdr_rec.c: Likewise.
30357         * sunrpc/xdr_ref.c: Likewise.
30358         * sunrpc/xdr_stdio.c: Likewise.
30360 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30362         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30364 2011-07-03  Andreas Jaeger  <aj@suse.de>
30366         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30367         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30368         regenerate with gen-libm-tests.pl.
30370 2010-05-12  Petr Baudis  <pasky@suse.cz>
30372         [BZ #11589]
30373         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30374         around j0() zero points by switching to j1().
30375         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30377         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30378         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30380 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30382         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30383         instead of 0.
30384         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30385         instead of 0.
30386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30387         Patch in part by Pavel Roskin <proski@gnu.org>.
30389         [BZ #13138]
30390         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30391         realloc.
30392         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30393         Free memory block if necessary.
30395         [BZ #12847]
30396         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30397         be NULL.  Don't lock in this case.
30399 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30401         * elf/elf.h (ELFOSABI_GNU): New macro.
30402         (ELFOSABI_LINUX): Define to that.
30404 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30406         * string/strncat.c (strncat): Undef the symbol in case it has been
30407         defined in bits/string.h.
30409 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30411         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30413         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30414         link map.
30416 2011-08-17  Andreas Jaeger  <aj@suse.de>
30418         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30420 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30421             Ian Lance Taylor  <iant@google.com>
30423         * math/libm-test.inc (lround_test): New testcase.
30424         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30426 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30428         * Makefile: Remove support for automatic cvs check-ins.
30429         * Makerules: Likewise.
30430         * config.make.in: Likewise.
30431         * configure.in: Likewise.
30432         * intl/Makefile: Likewise.
30433         * locale/Makefile: Likewise.
30434         * po/Makefile: Likewise.
30435         * posix/Makefile: Likewise.
30436         * sysdeps/gnu/Makefile: Likewise.
30437         * sysdeps/mach/hurd/Makefile: Likewise.
30438         * sysdeps/sparc/sparc32/Makefile: Likewise.
30440         [BZ #13118]
30441         * posix/Makefile (bug-regex32-ENV): Define.
30442         Patch by John Stanley <jpsinthemix@verizon.net>.
30444         * misc/Makefile (headers): Add bits/select2.h.
30445         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30446         * misc/bits/select2.h: New file.
30447         * include/bits/select2.h: New file.
30448         * debug/Makefile (routines): Add fdelt_chk.
30449         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30450         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30451         FD_ISSET.
30452         * debug/fdelt_chk.c: New file.
30454         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30455         * wcsmbs/test-wmemcmp.c: Likewise.
30456         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30457         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30459 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30461         * string/Makefile (strop-tests): Add memcmp.
30462         * string/test-wmemcmp.c: New file.
30463         * string/test-memcmp.c: Add wmemcmp support.
30465 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30467         [BZ #13153]
30468         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30469         2011-07-19 change.
30471         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30472         garbage value in a __mach_port_mod_refs call in the cases of the
30473         task-self and thread-self ports.
30475 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30477         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30479 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30481         * elf/dl-load.c (lose): Check for non-null L.
30483 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30485         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30487         * elf/dl-libc.c (dlerror_run): Pass back error code from
30488         dl_catch_error.
30490         [BZ #13123]
30491         * elf/dl-load.c (lose): Free l_origin if it is valid.
30493         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30494         names.
30495         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30496         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30497         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30498         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30499         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30500         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30502 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30504         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30505         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30506         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30507         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30508         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30509         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30510         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30511         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30512         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30513         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30515 2011-08-15  Alan Modra  <amodra@gmail.com>
30517         [BZ #13092]
30518         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30519         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30520         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30521         ppc_mcount to static-only-routines.
30522         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30523         __mcount_internal.
30524         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30525         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30527 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30529         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30530         for finite and infinity parameters.
30532 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30534         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30535         and add nop instructions for throughput optimization.
30536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30538 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30540         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30541         aligned copy for power7 with vector-scalar instructions.
30542         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30544 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30547         AVX check.
30549 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30551         [BZ #13144]
30552         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30553         last change.
30555 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30557         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30558         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30559         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30560         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30561         clock_gettime.
30563 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30566         Forgot to demangle the pointer.
30568         * sysdeps/i386/sysdep.h: Define atom_text_section.
30569         * sysdeps/x86_64/sysdep.h: Likewise.
30570         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30571         section with atom_text_section.
30572         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30573         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30574         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30575         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30576         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30578         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30579         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30580         already be defined.  Change to take two parameters and don't assign
30581         result to variable.  Adjust all users.
30582         Define INTERNAL_GETTIME if not already defined.
30583         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30584         call.
30585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30586         HAVE_CLOCK_GETTIME_VSYSCALL.
30587         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30589         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30590         gettimeofday vsyscall, just use time.
30592 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30595         <errno.h>.
30597 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30599         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30600         syscall on x86-64.
30601         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30602         syscall.
30603         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30604         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30605         syscall if possible.
30607 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30609         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30610         e_ident.  Don't pass to find_mapsXX.
30611         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30613 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30616         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30617         * sysdeps/x86_64/multiarch/strchr.S: Update.
30618         Check bit_slow_BSF bit.
30619         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30620         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30621         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30623 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30625         [BZ #13134]
30626         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30627         before glibc 2.15.
30628         (tryshell): Define.
30629         (__spawni): Change last parameter to be flag.  Test
30630         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30631         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30632         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30633         * posix/spawni.c: Likewise.
30634         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30635         * posix/spawnp.c: Likewise.  Change normal version to use
30636         SPAWN_XFLAGS_USE_PATH.
30637         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30638         SPAWN_XFLAGS_TRY_SHELL.
30640         [BZ #13150]
30641         * posix/glob.h: Remove gcc 1.x support.
30643         [BZ #13068]
30644         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30646 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30649         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30650         strrchr-sse2-bsf
30651         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30652         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30653         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30654         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30655         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30656         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30658 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30660         * sysdeps/x86_64/wcscmp.S: New file.
30662         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30663         wcscmp-c wcscmp-sse2
30664         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30665         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30666         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30667         * wcsmbs/wcscmp.c: Allow renaming.
30669 2011-09-05  David S. Miller  <davem@davemloft.net>
30671         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30672         stack slot, rather than the struct return pointer slot.
30673         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30674         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30676         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30678 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30680         * po/ja.po: Update from translation team.
30682         [BZ #13144]
30683         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30684         kernel in 64-bit binaries.
30686 2011-09-01  David S. Miller  <davem@davemloft.net>
30688         * elf/elf.h (HWCAP_SPARC_*): Move to..
30689         * sysdeps/sparc/sysdep.h: this new file and add new values.
30690         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30691         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30692         _DL_HWCAP_COUNT to 24.
30693         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30694         entries.
30695         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30696         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30697         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30698         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30699         instead of magic constants.
30700         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30702 2011-08-31  David S. Miller  <davem@davemloft.net>
30704         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30706         Reimplement to do errno handling inline.
30707         (SYSCALL_ERROR_HANDLER): New macro.
30708         (__SYSCALL_STRING): Do not do errno handling in asm.
30709         (__CLONE_SYSCALL_STRING): Delete.
30710         (__INTERNAL_SYSCALL_STRING): Delete.
30711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30712         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30713         (PSEUDO): Reimplement to do errno handling inline.
30714         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30715         (SYSCALL_ERROR_HANDLER): New macro.
30716         (__SYSCALL_STRING): Do not do errno handling in asm.
30717         (__CLONE_SYSCALL_STRING): Delete.
30718         (__INTERNAL_SYSCALL_STRING): Delete.
30719         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30720         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30721         i386.
30722         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30723         (inline_syscall*): Add 'err' argument.
30724         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30725         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30726         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30727         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30729         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30730         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30732 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30734         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30736 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30738         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30739         directive.
30741 2011-08-24  David S. Miller  <davem@davemloft.net>
30743         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30745 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30747         * elf/Makefile: Add rules to build and run unload8 test.
30748         * elf/unload8.c: New file.
30749         * elf/unload8mod1.c: New file.
30750         * elf/unload8mod1x.c: New file.
30751         * elf/unload8mod2.c: New file.
30752         * elf/unload8mod3.c: New file.
30754         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30755         it wasn't used.
30757 2011-08-23  David S. Miller  <davem@davemloft.net>
30759         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30760         subtract stack bias.
30761         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30762         %sp not %fp in calculations.
30763         (_JMPBUF_UNWINDS_ADJ): Likewise.
30765         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30766         (aio_suspend): Call it to force an exception region around the
30767         AIO_MISC_WAIT() invocation.
30769 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30771         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30772         backslash.
30774 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30776         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30777         protection macro.
30778         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30779         and <dl-machine.h>.
30780         (Elf64_FuncDesc): Remove.
30782 2011-08-22  David S. Miller  <davem@davemloft.net>
30784         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30785         sigaltstack check, add missing cfi directives.
30786         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30787         missing cfi directives, and sigaltstack handling.
30789 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30791         [BZ #11724]
30792         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30793         object is seen twice.
30794         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30796         * elf/Makefile (distribute): Add tst-initorder2.c.
30797         (tests): Add tst-initorder2.
30798         (modules-names): Add tst-initorder2a tst-initorder2b
30799         tst-initorder2c tst-initorder2d.  Add rules to build them.
30800         ($(objpfx)tst-initorder2.out): New rule.
30801         * elf/tst-initorder2.c: New file.
30802         * elf/tst-initorder2.exp: New file.
30804 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30806         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30808         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30809         dependencies back to end of function.
30811         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30812         $(elfobjdir)/ld.so.
30814 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30816         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30817         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30818         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30819         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30820         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30821         of __vdso_gettimeofday.
30822         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30823         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30824         attribute_hidden.
30825         (_libc_vdso_platform_setup): Remove initialization of
30826         __vdso_gettimeofday and __vdso_time.
30828 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30830         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30831         and fgetc_unlocked.
30832         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30833         getc_unlocked.
30835         * elf/dl-open.c (add_to_global): Report additions to the global scope
30836         for LD_DEBUG=scopes.
30837         (dl_open_worker): Also print scope of newly loaded dependencies.
30838         (_dl_show_scope): Indicate if there is no scope.
30840         [BZ #13114]
30841         * stdio-common/Makefile (tests): Add bug24.
30842         * stdio-common/bug24.c: New file.
30844 2011-08-19  Andreas Jaeger  <aj@suse.de>
30846         [BZ #13114]
30847         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30848         non-existant file when using close-on-exec mode.
30850 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30852         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30853         the very first instruction.
30855         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30856         the CFI state in the end.
30857         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30858         inclusion of dl-trampoline.h.
30859         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30861 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30863         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30864         expectations for long double.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30867         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30869 2011-08-14  David S. Miller  <davem@davemloft.net>
30871         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30872         artificual limit depends upon the system page size.
30874 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30876         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30877         * resolv/Makefile: Define CFLAGS-libresolv.
30879 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30881         * nss/makedb.c (compute_tables): Make variables used in nested
30882         function static.
30884 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30886         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30887         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30888         if buffer was too small.
30890         * elf/pldd.c (main): Attach to all threads in the process.
30891         Rewrite /proc handling to use *at functions.
30893 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30895         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30896         specifies first scope to show.
30897         (dl_open_worker): Update callers.  Move printing scope of new
30898         object to before the relocation.
30899         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30900         * sysdeps/generic/ldsodefs.h: Update declaration.
30902         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30903         string for the scope number.
30905 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30907         * nscd/servicescache.c (cache_addserv): Make sure written is always
30908         initialized.
30910 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30912         * sysdeps/i386/i486/bits/atomic.h
30913         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30914         statement expression, so as to suppress "set but not used" warning.
30915         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30917         * string/strncat.c (STRNCAT): Use prototype definition.
30919         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30920         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30921         -Iprograms here.
30922         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30923         (localedef-modules): Add localedef.
30924         (locale-modules): Add locale.
30926         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30927         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30928         to avoid a warning.
30930 2011-08-14  David S. Miller  <davem@davemloft.net>
30932         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30933         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30935 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30937         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30938         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30939         * elf/rtld.c (dl_main): Set l_name of vDSO.
30940         Call _dl_show_scope when DL_DEBUG_SCOPES.
30941         (process_dl_debug): Recognize scopes flag and also set it for all.
30942         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30943         Declare _dl_show_scope.
30945         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30946         (do_dlopen): Pass caller_dlopen to dl_open.
30947         (__libc_dlopen_mode): Initialize caller_dlopen.
30949         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30950         of libc.  Make tolower call locale-independent.  Optimize a bit by
30951         using isdigit instead of isalnum.
30952         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30954 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30956         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30957         was a dependency or dynamically loaded.
30959 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30961         * intl/l10nflist.c: Allow architecture-specific pop function.
30962         * sysdeps/x86_64/l10nflist.c: New file.
30964         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30965         classification.
30967 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30969         * include/dirent.h: Add libc_hidden_proto for scandirat and
30970         scandirat64.  Don't declare __scandirat64.
30971         * dirent/scandirat.c: Add libc_hidden_def.
30972         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30973         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30975 2011-08-10  David S. Miller  <davem@davemloft.net>
30977         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30978         enum.
30979         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30983 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30985         * Versions.def [libc]: Add GLIBC_2.15.
30986         * dirent/Makefile (routines): Add scandirat and scandirat64.
30987         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30988         GLIBC_2.15.
30989         * dirent/dirent.h: Declare scandirat and scandirat64.
30990         * dirent/scandirat.c: New file.
30991         * dirent/scandirat64.c: New file.
30992         * sysdeps/wordsize-64/scandirat.c: New file.
30993         * sysdeps/wordsize-64/scandirat64.c: New file.
30994         * dirent/opendir.c: Define opendirat.
30995         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
30996         using scandirat.
30997         * dirent/scandir64.c: Adjust for scandir.c change.
30998         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
30999         __scandirat64, and __scandir_cancel_handler.
31000         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31001         additional parameter and use openat instead of open (outside of ld.so).
31002         Add new __opendir as wrapper around __opendirat.
31003         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31004         here without requiring old scandirat implementation.
31006 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31008         * dirent/scandir.c (cancel_handler): Renamed to
31009         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31010         defined.  Adjust users.
31011         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31012         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31014 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31016         * string/test-string.h (IMPL): Use __STRING to expand name and then
31017         stringify it.
31019         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31020         of cleanups.
31022 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31024         * string/Makefile: Update.
31025         (strop-tests): Append strncat.
31026         * string/test-wcscmp.c: New file.
31027         New comprehensive test for wcscmp.
31028         * string/test-strcmp.c: Update.
31029         (WIDE): New define.
31031 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31033         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31034         line.
31036 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31039         encoding to ACE if AI_IDN.
31041 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31043         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31044         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31046 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31048         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31049         Fix overflow bug in strncat.
31050         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31052         * string/test-strncat.c: Update.
31053         Add new tests for checking overflow bugs.
31055 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31058         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31059         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31060         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31061         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31062         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31063         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31064         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31065         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31067         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31068         (USE_AS_STRCAT): Define.
31069         Add strcat and strncat support.
31070         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31072 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31074         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31075         __n bigger than INT_MAX+1.
31076         (__strncmp_g): Likewise.
31078 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31080         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31081         * libio/stido.h: Likewise.
31083         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31084         (AF_NFC): Define.
31085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31086         (AF_NFC): Define.
31088         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31089         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31091         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31094         [BZ #13021]
31095         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31096         installed.
31098         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31099         typo.
31100         (_dl_x86_64_save_sse): Likewise.
31102 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31105         OSXSAVE.
31106         (_dl_x86_64_save_sse): Likewise.
31108         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31110         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31112 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31114         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31115         change.
31116         (_dl_x86_64_save_sse): Use correct AVX check.
31118 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31120         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31121         bug in strncpy/strncat.
31122         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31124 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31126         * string/tester.c (test_strcat): Add tests for different alignments
31127         of source and destination.
31128         (test_strncat): Likewise.
31130 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31132         [BZ #12852]
31133         * posix/glob.c (glob): Check passed in values before using them in
31134         expressions to avoid some overflows.
31135         (glob_in_dir): Likewise.
31137         [BZ #13007]
31138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31139         check for AVX enablement so that we don't crash with old kernels and
31140         new hardware.
31141         * elf/tst-audit4.c: Add same checks here.
31142         * elf/tst-audit6.c: Likewise.
31144         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31146 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31148         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31150 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31152         * po/cs.po: Update from translation team.
31153         * po/bg.po: Likewise.
31155 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31157         * misc/sys/cdefs.h: Add support for const attribute.
31158         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31159         to gnu_dev_{major,minor,makedev} functions.
31161 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31163         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31165 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31167         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31168         strlen results.
31170 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31173         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31174         register in order to avoid conflicts with the soft frame pointer
31175         being held in r11 when necessary.
31176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31177         (INTERNAL_VSYSCALL_NCS): Likewise.
31179 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31181         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31182         * elf/dl-fini.c (_dl_fini): Adjust caller.
31183         * elf/dl-close.c (_dl_close_worker): Likewise.
31184         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31186 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31188         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31189         "aux_cache->nlibs < 0".
31191         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31192         in the reload-count case.
31194 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31197         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31198         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31199         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31200         * sysdeps/x86_64/multiarch/strcat.S: New file.
31201         * sysdeps/x86_64/multiarch/strncat.S: New file.
31202         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31203         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31204         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31205         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31206         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31207         (USE_AS_STRCAT): Define.
31208         Add strcat and strncat support.
31209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31210         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31211         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31212         * string/strncat.c: Update.
31213         (USE_AS_STRNCAT): Define.
31214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31215         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31216         and i7.
31217         * sysdeps/x86_64/multiarch/init-arch.h
31218         (bit_Prefer_PMINUB_for_stringop): New.
31219         (index_Prefer_PMINUB_for_stringop): Likewise.
31220         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31221         bit_Prefer_PMINUB_for_stringop.
31223 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31225         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31226         buffer64.
31227         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31228         of casting of buffer.
31229         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31230         buffer32 and buffer64.
31231         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31232         writes instead of casting of buffer.
31233         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31234         buffer32.
31235         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31236         casting of buffer.
31238 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31240         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31242 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31244         * nscd/nscd.c (termination_handler): Don't do anything for a database
31245         if it has not yet been initialized.
31247 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31249         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31251 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31253         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31255 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31257         * po/nl.po: Update from translation team.
31258         * po/sv.po: Likewise.
31260 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31262         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31263         now disallowed by GCC.
31265         * configure.in (use-default-link): Default to yes if a test -shared
31266         link meets our qualifications.
31267         * configure: Regenerated.
31269         * config.make.in (output-format): New variable.
31270         * configure.in: Check for ld --print-output-format support.
31271         * configure: Regenerated.
31272         * Makerules ($(common-objpfx)format.lds)
31273         [$(output-format) != unknown]: Just use $(output-format),
31274         instead of the linker-script munging.
31276 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31278         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31279         of $(common-objpfx)shlib.lds.
31280         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31282         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31283         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31285         * configure.in (-z relro check): Adjust test code to add a large
31286         writable data section after it.
31287         * configure: Regenerated.
31289 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31291         * configure.in (-z relro check): Fix test code to make the variable
31292         truly const.
31293         * configure: Regenerated.
31295 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31297         * nscd/nscd.h (struct traced_file): Define.
31298         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31299         elements.  Add traced_files.
31300         (inotify_fd): Declare.
31301         (register_traced_file): Declare.
31302         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31303         (inotify_fd): Export.
31304         (resolv_conf_descr): Remove.
31305         (nscd_init): Move inotify descriptor creation to main.
31306         Don't register files for notification here.
31307         (register_traced_file): New function.
31308         (invalidate_cache): Don't use reset_res to determine whether to call
31309         res_init, go through the list of registered files.
31310         (main_loop_poll): The inotify descriptors are now stored in the
31311         structures for the traced files.
31312         (main_loop_epoll): Likewise
31313         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31314         to __nss_disable_nscd.
31315         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31316         for a database anymore.  Check the records for all the registered
31317         files instead.
31318         * nss/Makefile (libnss_files-routines): Add files-init.
31319         (libnss_db-routines): Add db-init.
31320         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31321         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31322         * nss/nss_db/db-init.c: New file.
31323         * nss/nss_files/files-init.c: New file.
31324         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31325         __nss_lookup_function.
31326         (__nss_lookup_function): Call nss_load_library.
31327         (nss_load_all_libraries): New function.
31328         (__nss_disable_nscd): Take parameter with callback function for files
31329         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31330         used for the cached services.
31331         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31332         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31333         options for features to all the files in nscd.
31335         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31337 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31339         * csu/elf-init.c (__libc_csu_init): Comment typo.
31341 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31343         * po/pl.po: Update from translation team.
31344         * po/ja.po: Likewise.
31345         * po/ru.po: Likewise.
31346         * po/ko.po: Likewise.
31347         * po/fr.po: Likewise.
31349 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31351         * configure.in (.ctors/.dtors header and trailer check):
31352         Use an empirical test on a built program.
31353         * configure: Regenerated.
31355         * configure.in (-z relro check): Use an empirical test on a built DSO.
31356         Detect, but do not require, on ia64.
31357         * configure: Regenerated.
31359         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31360         Update tests that use readelf to use $READELF instead.
31361         * configure: Regenerated.
31363 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31365         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31366         if the result is not used.
31368 2011-07-05  Andreas Jaeger  <aj@suse.de>
31370         [BZ#9696]
31371         * stdlib/tst-strtod.c: Add testcase.
31373 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31375         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31376         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31377         The latter has a higher limit.  Take additional parameter to pass to
31378         the new function.
31379         (__pathconf): Pass file to __statfs_link_max.
31380         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31381         __statfs_link_max.
31382         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31383         __statfs_link_max.
31385         [BZ #12868]
31386         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31387         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31388         Handle Lustre.
31389         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31390         (__statfs_filesize_max): Likewise.
31391         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31393 2011-07-05  Andreas Jaeger  <aj@suse.de>
31395         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31397 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31399         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31400         `status' variable.
31401         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31402         Likewise.
31404 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31406         * Makefile (strop-tests): Add strncat.
31407         * string/test-strncat.c: New file.
31409 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31411         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31413 2011-06-21  Andreas Jaeger  <aj@suse.de>
31415         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31416         Copy rule from iconvdata/Makefile.
31418 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31420         [BZ #12922]
31421         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31422         but no long options are defined, just return 'W'.
31424 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31426         [BZ #9696]
31427         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31429 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31431         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31432         netgroups to read.
31433         (innetgr): Likewise.
31435 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31437         * config.make.in (install_root): Default to $(DESTDIR).
31439 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31443 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31445         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31447         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31448         containing directory rather than embedding absolute directory names.
31450         * scripts/check-local-headers.sh: Rewritten using awk.
31451         Match by word, not by line.  Print error messages for matches.
31452         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31454         * Makerules [shlib-lds-flags empty]:
31455         ($(common-objpfx)libc_pic.opts): New target.
31456         ($(common-objpfx)libc_pic.os.clean): New target.
31457         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31459         * config.make.in (OBJCOPY): New variable.
31460         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31461         * configure: Regenerated.
31463         * config.make.in (use-default-link): New variable.
31464         * configure.in (use_default_link): Grok --with-default-link to set it.
31465         * configure: Regenerated.
31466         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31467         (shlib-lds, shlib-lds-flags): Define to empty.
31469         * Makerules (shlib-lds): New variable.
31470         (shlib-lds-flags): New variable.
31471         (build-shlib, build-moduile, build-module-asneeded): Use it.
31472         ($(common-objpfx)libc.so): Use $(shlib-lds).
31473         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31474         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31476         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31477         DT_FLAGS/DT_FLAGS_1 with zero flags.
31479         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31480         linker script munging.
31482 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31484         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31485         as 128-bit value.
31486         * crypt/sha512.c (sha512_process_block): Perform total addition using
31487         128-bit if possible.
31488         (__sha512_finish_ctx): Likewise.
31489         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31490         as 64-bit value.
31491         * crypt/sha256.c (SWAP64): Define.
31492         (sha256_process_block): Perform total addition using 64-bit if
31493         possible.
31494         (__sha256_finish_ctx): Likewise.
31496 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31498         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31499         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31500         * nscd/hstcache.c (cache_addhst): Likewise.
31501         * nscd/grpcache.c (cache_addgr): Likewise.
31502         * nscd/aicache.c (addhstaiX): Likewise
31503         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31505 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31507         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31508         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31509         * nscd/hstcache.c (cache_addhst): Likewise.
31510         * nscd/grpcache.c (cache_addgr): Likewise.
31511         * nscd/aicache.c (addhstaiX): Likewise
31513 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31515         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31516         domain only when needed.
31518 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31521         is always restored.
31523 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31525         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31526         are re-adding the entry.
31527         * nscd/servicescache.c (cache_addserv): Likewise.
31529 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31531         * sysdeps/generic/dl-irel.h: fix protection against multiple
31532         inclusions.
31533         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31535 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31537         [BZ #12935]
31538         * malloc/memusage.sh: Fix quoting in message.
31539         * debug/xtrace.sh: Likewise.
31541         * configure.in: Remove support for --experimental-malloc option, make
31542         it the default.
31543         * config.make.in: Likewise.
31544         * malloc/Makefile: Likewise.
31546 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31548         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31549         two-byte characters.
31551 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31553         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31554         AC_CACHE_CHECK invocation.
31555         * configure: Regenerated.
31557         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31559 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31561         [BZ #12350]
31562         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31563         bit from old_res_options.
31565         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31567         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31568         value type for setfct.
31570 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31572         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31573         __gettimeofday instead of gettimeofday.
31575 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31577         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31579 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31581         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31583         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31584         info.
31586 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31589         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31590         strcpy-sse2-unaligned strncpy-sse2-unaligned
31591         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31592         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31593         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31594         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31595         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31598         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31599         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31600         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31601         (STRCPY): Support SSE2 and SSSE3 versions.
31603 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31605         [BZ #12874]
31606         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31607         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31608         kernels which artificially limit size of requests.
31610 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31613         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31614         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31615         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31616         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31617         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31618         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31619         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31620         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31622         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31623         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31624         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31625         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31626         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31628         Enable unaligned load optimization for Intel Core i3, i5 and i7
31629         processors.
31630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31631         Define.
31632         (index_Fast_Unaligned_Load): Define.
31633         (HAS_FAST_UNALIGNED_LOAD): Define.
31635 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31637         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31639 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31641         [BZ #12907]
31642         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31643         until it is clear that the information is realy needed.
31644         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31646 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31650 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31652         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31653         /sys/devices/system/cpu/online if it is usable.
31655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31656         reading the information from the /proc filesystem to once a second.
31658 2011-06-21  Andreas Jaeger  <aj@suse.de>
31660         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31661         NULL after inclusion of kernel headers.
31663 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31665         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31666         calls to internal_setent.
31668         [BZ #12885]
31669         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31670         addresses using gethostbyname4_r ignore IPv4 addresses.
31672         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31673         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31675         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31677 2011-06-20  David S. Miller  <davem@davemloft.net>
31679         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31680         inclusions.
31681         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31683         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31684         (elf_irel): Use it.
31685         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31686         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31687         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31688         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31689         * sysdeps/x86_64/dl-irel.h: Likewise.
31691         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31692         * elf/dl-sym.c: Likewise.
31694 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31696         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31697         need to dereference resplen2.
31699 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31701         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31703 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31705         * Makeconfig: Define vardbdir and inst_vardbdir.
31706         * nss/Makefile: Add rules to install db-Makefile.
31708         * nss/nss_db/db-XXX.c: Cleanup.
31710         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31711         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31712         GLIBC_PRIVATE.
31713         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31714         * nss/makedb.c: Implement -g option to specify that value strings
31715         are generated and should not be added to table iterated over for
31716         get*ent calls.
31717         * nss/nss_db/db-initgroups.c: New file.
31719         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31720         interface.
31722         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31723         (internal_getgrouplist): Adjust to name change.
31724         Update use_initgroups_entry if this is not the first call.
31725         * nss/databases.def: Add initgroups entry.
31727         * nss/makedb.c (compute_tables): Check result of multiple hash table
31728         sizes to minimize maximum chain length.
31730 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31732         * Versions.def: Add entry for libnss_db.
31733         * shlib-versions: Likewise.
31734         * nss/Makefile: Add rules to build libnss_db.
31735         * nss/Versions: Add libnss_db information.  Organize libnss_files
31736         entries better.
31737         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31738         makedb progra.  Some minor improvements to generate smaller files.
31739         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31740         here from...
31741         * nss/makedb.c: ...here.
31742         Improve database format to be smaller and require less memory at
31743         runtime.
31744         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31745         db anymore.
31746         * nss/nss_db/db-netgrp.c: Likewise.
31747         * nss/nss_db/db-open.c: Likewise.
31748         * nss/nss_files/flies-XXX.x: Adjust comments.
31749         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31750         * nss/nss_files/files-grp.c: Likewise.
31751         * nss/nss_files/files-hosts.c: Likewise.
31752         * nss/nss_files/files-network.c: Likewise.
31753         * nss/nss_files/files-proto.c: Likewise.
31754         * nss/nss_files/files-pwd.c: Likewise.
31755         * nss/nss_files/files-rpc.c: Likewise.
31756         * nss/nss_files/files-service.c: Likewise.
31757         * nss/nss_files/files-sgrp.c: Likewise.
31758         * nss/nss_files/files-spwd.c: Likewise.
31759         * nss/nss_db/db-alias.c: Removed.
31760         * nss/nss_db/dummy-db.h: Removed.
31762 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31764         * nss/makedb.c: Rewritten to not use database library.
31765         * nss/Makefile: Update to build new makedb program.
31767 2011-06-14  Andreas Jaeger  <aj@suse.de>
31769         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31770         memset declaration.
31772 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31775         tmpbuf.
31777 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31779         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31780         * elf/Makefile ($(objpfx)ld.so): Likewise.
31782         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31783         Don't list ld.so twice in dependencies.
31785         * posix/bug-regex31.c: Include <stdlib.h>.
31787         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31789         * nis/nss_compat/compat-spwd.c
31790         (getspent_next_nss_netgr): Remove unused variable.
31791         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31793         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31794         nonmembers" output to use the right array.
31796         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31798         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31800         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31801         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31802         * catgets/gencat.c (read_input_file): Likewise.
31803         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31805         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31806         variable definition inside #if's controlling its use.
31808         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31810         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31812         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31814         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31815         unreachable code.
31817         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31819         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31820         * configure: Regenerated.
31822         * Makerules: Revert last change.
31823         * elf/Makefile: Likewise.
31825 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31827         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31828         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31829         (reloc-link): Likewise.
31831 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31833         * elf/Makefile: Add rules to build pldd.
31834         * elf/pldd.c: New file.
31835         * elf/pldd-xx.c: New file.
31837 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31839         * version.h: Update for 2.15 development version.
31841 2011-06-07  David S. Miller  <davem@davemloft.net>
31843         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31844         ifuncs.
31845         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31846         elf_machine_lazy_rel): Likewise.
31847         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31848         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31849         elf_machine_lazy_rel): Likewise.
31850         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31851         dl_hwcap via passed in argument.
31852         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31853         Likewise.
31855 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31857         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31859 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31861         [BZ #12849]
31862         * manual/fdl-1.1.texi: New file, verbatim from:
31863         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31864         * manual/lgpl-2.1.texi: New file, verbatim from:
31865         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31866         * manual/Makefile (licenses): New variable, list those new file names.
31867         (texis): Use it.
31868         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31870         * manual/fdl.texi: File removed.
31871         * manual/lesser.texi: File removed.
31872         * manual/libc.texinfo (Copying, Documentation License):
31873         Use new @include file names, put @appendix directive before @include.
31875 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31877         [BZ #12841]
31878         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31879         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31880         (mq_open): Add __NTH.
31882 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31885         Assume Intel Core i3/i5/i7 processor if AVX is available.
31887 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31890         typo.
31892 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31894         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31895         memory.  Use alloca_account.  Fix memory leak when retrying.
31897 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31899         * version.h (RELEASE): Bump for 2.14 release.
31900         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31902         * config.make.in (RANLIB): Remove entry.
31904 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31906         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31907         (libc.pot): Work around missing support for .ksh extension in xgettext.
31909         [BZ #12684]
31910         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31911         if both request failed.
31912         (send_dg): In case of server errors clear resplen or *resplen2.
31914         [BZ #12454]
31915         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31916         when there are multiple maps.
31917         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31918         (_dl_fini): Remove test here.
31920         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31922 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31924         [BZ #12350]
31925         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31926         bit from old_res_options.
31927         (gaih_inet): Likewise.
31929         [BZ #11099]
31930         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31931         as signed.
31933         * resolv/res_init.c (res_setoptions): Make the code more compact.
31935         [BZ #11558]
31936         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31937         set RES_USEVC.
31939         [BZ #11634]
31940         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31942         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31944         [BZ #11781]
31945         * malloc/malloc.h: Declare malloc hook variables as volatile.
31947         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31948         in last patch.
31950         [BZ #11799]
31951         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31952         raise in the comment.
31953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31955         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31957 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31959         [BZ #12811]
31960         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31961         grow the buffers more if it already has to be sufficient.
31962         (build_wcs_upper_buffer): Likewise.
31963         * posix/regexec.c (check_matching): Likewise.
31964         (clean_state_log_if_needed): Likewise.
31965         (extend_buffers): Don't enlarge buffers beyond size of the input
31966         buffer.
31967         Patches mostly by Emil Wojak <emil@wojak.eu>.
31968         * posix/bug-regex32.c: New file.
31969         * posix/Makefile (tests): Add bug-regex32.
31971         * locale/findlocale.c (_nl_find_locale): Return right away if
31972         _nl_explode_name failed.
31973         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31975         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31977         * debug/xtrace.sh: Unify messages.
31978         * malloc/memusage.sh: Likewise.
31980         [BZ #12813]
31981         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31982         time symbol from vDSO.  Substitute with vsyscall if not available.
31983         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31984         __vdso_time.
31986         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31987         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31988         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31989         Add sendmmsg and internal_sendmmsg.
31990         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31991         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31992         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31994         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31995         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31996         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31998 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32000         [BZ #12813]
32001         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32002         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32003         available.
32004         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32005         __vdso_getcpu.
32007         [BZ #12814]
32008         * iconvdata/Makefile (tests): Add bug-iconv9.
32009         * iconvdata/bug-iconv9.c: New file.
32011 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32013         [BZ #12814]
32014         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32016 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32019         (struct user_regs_struct): Change intcs field back to cs.
32021 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32023         * po/ja.po: Update from translation team.
32025 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32027         [BZ #12795]
32028         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32029         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32031 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32033         * stdlib/longlong.h: Update from GCC.
32035 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32037         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32038         parameter name.
32039         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32040         Add parameter name.
32041         (__sysconf): Pass it down.
32043 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32045         [BZ #12671]
32046         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32047         some situations.
32048         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32049         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32050         add in in __libc_use_alloca calls.  Adjust callers.
32051         (glob): Use malloc in some situations.
32053         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32054         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32055         pltexit.
32057 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32059         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32060         and CLOCK_BOOTTIME_ALARM.
32062         [BZ #12782]
32063         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32064         is returned.
32066         * string/_strerror.c (__strerror_r): Print negative errors as signed
32067         numbers.
32069         [BZ #12777]
32070         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32071         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32072         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32074         * configure.in: Fix typo in redirection and correct removal of test
32075         files in two cases.
32077         [BZ #12788]
32078         * locale/setlocale.c (new_composite_name): Fix test to check for
32079         identical name of all categories.
32081         [BZ #12792]
32082         * libio/filedoalloc.c (local_isatty): New function.
32083         (_IO_file_doallocate): Use local_isatty.
32084         * stdio-common/perror.c (perror): In case a new stream is used
32085         forward the stream error.
32086         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32087         error flag.
32089 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32091         [BZ #11869]
32092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32093         alloca.
32094         * include/alloca.h (extend_alloca_account): Define.
32096         [BZ #11857]
32097         * posix/regex.h: Fix comments with documentation of user-accessible
32098         fields after compilation and describe correct free'ing of pattern
32099         after re_compile_pattern.
32100         Patch by Reuben Thomas <rrt@sc3d.org>.
32102 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32104         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32105         and -mno-altivec to prevent the compiler from using Altivec and/or
32106         VSX instructions when the corresponding registers are not available.
32108 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32110         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32112 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32114         * libio/freopen.c (freopen): Use __dup2, not dup2.
32115         * libio/freopen64.c (freopen64): Likewise.
32117 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32119         [BZ #12775]
32120         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32121         * math/Makefile (tests): Add test-powl.
32122         (CFLAGS-test-powl.c): Define.
32123         * math/test-powl.c: New file.
32125 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32127         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32129 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32131         [BZ #11837]
32132         * iconvdata/gb18030.c: Update to GB18020-2005.
32134 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32136         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32137         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32138         Patch by Aharon Robbins <arnold@skeeve.com>.
32140         [BZ #11892]
32141         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32142         on the stack.
32144         [BZ #11895]
32145         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32146         through underflows.
32148         [BZ #12766]
32149         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32150         point to strings before performing equality test for error_one_per_line
32151         mode.
32153         [BZ #11697]
32154         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32156         [BZ #11820]
32157         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32158         (struct user_fpregs_struct): Avoid __uint*_t types.
32160         [BZ #6420]
32161         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32162         symbol info.  Use it instead of calling _dl_addr locally.
32163         (lock_and_info): New function.
32164         (tr_freehook): Call lock_and_info and pass symbol info as additional
32165         parameter to tr_where.
32166         (tr_mallochook): Likewise.
32167         (tr_reallochook): Likewise.
32168         (tr_memalignhook): Likewise.
32170         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32171         used and couldn't be at all thread-safe.
32173 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32175         * libio/freopen.c (freopen): Don't close old file descriptor
32176         before the new one is opened.  Instead dup the new file descriptor
32177         to the old one after the new stream is created.
32178         * libio/freopen64.c (freopen64): Likewise.
32179         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32180         * libio/fileops.c (_IO_new_file_close_it): Handle new
32181         _IO_FLAGS2_NOCLOSE flag.
32182         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32183         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32184         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32185         _IO_FLAGS2_NOCLOSE flag.
32186         * include/unistd.h: Add hidden_proto for dup3.
32187         Define __have_dup3.
32188         * io/dup3.c: Define hidden symbol.
32189         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32191         [BZ #7101]
32192         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32193         when an incomplete long option is used.
32194         * posix/tst-getopt_long1.c: New file.
32195         * posix/Makefile (tests): Add tst-getopt_long1.
32197         [BZ #10138]
32198         * scripts/config.guess: Update from autoconf-2.68.
32199         * scripts/config.sub: Likewise.
32201         [BZ #10157]
32202         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32203         tests into ...
32204         (has_cpuclock): ...this.  New function.
32205         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32206         macro here based on has_cpuclock code.
32208         [BZ #10149]
32209         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32210         First byte (not low byte) is now always NUL.
32211         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32213         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32214         Use non-cancelable interfaces.
32216         [BZ #9809]
32217         * locale/iso-639.def: Add entry for Sorani.
32219         [BZ #11901]
32220         * include/stdlib.h: Move include protection to the right place.
32221         Define abort_msg_s.  Declare __abort_msg with it.
32222         * stdlib/abort.c (__abort_msg): Adjust type.
32223         * assert/assert.c (__assert_fail_base): New function.  Majority
32224         of code from __assert_fail.  Allocate memory for __abort_msg with
32225         mmap.
32226         (__assert_fail): Now call __assert_fail_base.
32227         * assert/assert-perr.c: Remove bulk of implementation.  Use
32228         __assert_fail_base.
32229         * include/assert.hL Declare __assert_fail_base.
32230         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32231         mmap.
32232         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32234 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32236         [BZ #11952]
32237         [BZ #12453]
32238         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32239         until all modules are registered in the DTV.
32240         * elf/Makefile: Add rules to build and run tst-tls19.
32241         * elf/tst-tls19.c: New file.
32242         * elf/tst-tls19mod1.c: New file.
32243         * elf/tst-tls19mod2.c: New file.
32244         * elf/tst-tls19mod3.c: New file.
32245         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32247         [BZ #12083]
32248         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32249         correctly.
32251         [BZ #12601]
32252         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32253         two-byte sequence errors.
32254         * iconvdata/Makefile (tests): Add bug-iconv8.
32255         * iconvdata/bug-iconv8.c: New file.
32257         [BZ #12626]
32258         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32259         buf2 definition.
32261         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32263         [BZ #12432]
32264         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32265         (dummy_getcfa): New function.
32266         (init): Get _Unwind_GetCFA address, use dummy if not found.
32267         (backtrace_helper): In recursion check, also check whether CFA changes.
32268         (__backtrace): Completely initialize arg.
32270         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32271         storing incomplete byte sequence in state object.  Avoid testing for
32272         guaranteed too small input if we know there is enough data available.
32274 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32276         * Makeconfig (+link-pie): Indent.
32277         * Rules (binaries-pie): Define if $(have-fpie) and
32278         $(build-shared).
32279         (binaries-shared): Also filter out $(binaries-pie).
32280         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32281         * nscd/Makefile (others-pie): Add nscd.
32282         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32283         ($(objpfx)nscd): Remove command override.
32284         * login/Makefile (others-pie): Add pt_chown.
32285         ($(objpfx)pt_chown): Remove command override.
32286         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32287         remove command overrides.
32289 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32291         * libio/tst_putwc.c: Fix error messages.
32293         [BZ #12724]
32294         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32295         currently writing and seek to current position when not.
32296         * libio/Makefile (tests): Add bug-fclose1.
32297         * libio/bug-fclose1.c: New file.
32299 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32301         [BZ #12511]
32302         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32303         don't set DF_1_NODELETE here.
32304         (do_lookup_x): When entering new entry test for copy relocation
32305         and if necessary set DF_1_NODELETE flag.
32306         * elf/tst-unique4.cc: New file.
32307         * elf/tst-unique4.h: New file.
32308         * elf/tst-unique4lib.cc: New file.
32309         * elf/Makefile: Add rules to build and run tst-unique4.
32310         Patch by Piotr Bury <pbury@goahead.com>.
32312 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32314         [BZ #12052]
32315         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32317         [BZ #12625]
32318         * misc/mntent_r.c (addmntent): Flush the stream after the output
32320         [BZ #12393]
32321         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32322         (is_trusted_path_normalize): Skip initial colon.  Append slash
32323         to empty buffer.  Duplicate is_trusted_path code but allow
32324         constructed patch to be prefix.
32325         (is_dst): Allow $ORIGIN followed by /.
32326         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32327         Correct testing of result of is_trusted_path_normalize
32328         (decompose_rpath): Fix warning.
32330 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32332         [BZ #11257]
32333         * grp/initgroups.c (internal_getgrouplist): When we found the service
32334         list through the initgroups entry in nsswitch.conf do not always
32335         continue on a successful lookup.  Don't always use the
32336         __nss_group_database value if it is set.
32337         * nss/nsswitch.conf (initgroups): Change action for successful db
32338         lookup to continue for compatibility.
32340 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32342         [BZ #11532]
32343         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32344         and CP774 modules.
32345         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32346         and CP774 modules.
32347         * iconvdata/tst-tables.sh: Likewise.
32348         * iconvdata/cp770.c: New file.
32349         * iconvdata/cp771.c: New file.
32350         * iconvdata/cp772.c: New file.
32351         * iconvdata/cp773.c: New file.
32352         * iconvdata/cp774.c: New file.
32353         * iconvdata/testdata/CP770: New file.
32354         * iconvdata/testdata/CP770..UTF8: New file.
32355         * iconvdata/testdata/CP771: New file.
32356         * iconvdata/testdata/CP771..UTF8: New file.
32357         * iconvdata/testdata/CP772: New file.
32358         * iconvdata/testdata/CP772..UTF8: New file.
32359         * iconvdata/testdata/CP773: New file.
32360         * iconvdata/testdata/CP773..UTF8: New file.
32361         * iconvdata/testdata/CP774: New file.
32362         * iconvdata/testdata/CP774..UTF8: New file.
32364         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32365         END CHARMAP line.
32366         * iconvdata/gen-8bit-gap.sh: Likewise.
32367         * iconvdata/gen-8bit.sh: Likewise.
32369         * locale/iso-639.def: Add ary entry.
32371         [BZ #11258]
32372         * locale/C-translit.h.in: Add U20A1 transliteration.
32374         [BZ #12178]
32375         * locale/iso-639.def: Add wae entry.
32376         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32378         [BZ #12545]
32379         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32380         for n.
32382         [BZ #12711]
32383         * locale/C-translit.h.in: Add entry for U20B9.
32384         Patch by pravin.d.s@gmail.com.
32386 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32388         [BZ #12713]
32389         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32390         ENAMETOOLONG use generic getcwd.
32391         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32392         in rtld.  Use *stat64.
32393         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32394         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32395         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32396         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32397         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32398         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32399         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32400         __fstatat64 macros.
32401         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32402         * dirent/rewinddir.c: Add libc_hidden_def.
32403         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32404         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32406         * include/dirent.h (__alloc_dir): Add flags parameter.
32407         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32408         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32409         __alloc_dir.
32410         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32411         from fdopendir if O_CLOEXEC is already set.
32413 2011-03-15  Alan Modra  <amodra@gmail.com>
32415         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32416         l_tls_firstbyte_offset non-zero.  Save padding offset in
32417         l_tls_firstbyte_offset for later use.
32418         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32419         freeing static tls block.
32421 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32423         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32424         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32425         being defined by the kernel headers.
32427 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32429         [BZ #12734]
32430         * resolv/resolv.h: Define RES_NOTLDQUERY.
32431         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32432         no-tld-query and set RES_NOTLDQUERY.
32433         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32434         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32435         modern BIND to search name as TLD unless forbidden.
32437 2011-05-07  Petr Baudis  <pasky@suse.cz>
32438             Ulrich Drepper  <drepper@gmail.com>
32440         [BZ #12393]
32441         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32442         (is_trusted_path): ...to here.
32443         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32444         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32445         using is_trusted_path_normalize() in setuid scripts.
32447 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32449         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32450         __BEGIN/__END_DECLS.
32452 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32454         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32455         NSS_STATUS_NOTFOUND if no record was found.
32457 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32459         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32460         (headers-not-in-tirpc): Remove rpc/netdb.h
32461         * resolv/netdb.h: Revert last change.
32463 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32465         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32466         circular dependency between libgcc.a and libc.a.
32468 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32470         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32471         * nis/Makefile: Don't install rpcsvc/*.
32472         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32473         instead of <rpc/types.h>.
32474         (MAXHOSTNAMELEN): Define.
32476 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32478         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32480 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32482         [BZ #12714]
32483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32484         gethostbyname4_r when IPv6 results are possible.
32486 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32488         [BZ #12723]
32489         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32490         _PC_PIPE_BUF handling.
32492 2011-04-30  Bruno Haible  <bruno@clisp.org>
32494         [BZ #12717]
32495         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32496         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32497         to 'int'.
32498         * inet/getnameinfo.c (getnameinfo): Likewise.
32500 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32502         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32503         to groups setting in database lookup.
32504         * nss/nsswitch.conf: Add initgroups entry.
32506 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32508         [BZ #12685]
32509         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32510         mode string.
32511         Patch by Eric Blake <eblake@redhat.com>.
32513 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32515         * sunrpc/Makefile (need-export-routines): Add svc_run.
32516         (routines): Remove svc_run.
32517         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32518         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32519         * sunrpc/svc_run.c (svc_run): Likewise.
32520         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32522 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32524         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32525         problem in reallocation in last patch.
32527 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32529         * sunrpc/Makefile: Move inclusion of Rules.
32531 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32533         * nss/nss_files/files-initgroups.c: New file.
32534         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32535         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32536         _nss_files_initgroups_dyn.
32538 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32540         * elf/elf.h (R_ARM_IRELATIVE): Define.
32542 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32544         * po/ru.po: Update from translation team.
32546 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32548         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32549         dependencies.
32551 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32553         [BZ #12653]
32554         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32555         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32556         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32557         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32560 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32562         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32563         differing bytes.
32564         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32565         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32566         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32568 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32570         [BZ #12420]
32571         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32572         storing it.
32573         * stdlib/bug-getcontext.c: New file.
32574         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32576 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32578         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32579         instructions into .machine "z9-109".
32580         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32581         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32583 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32585         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32586         between environment variables and auxiliary vector.
32588 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32590         * Makefile: Add rules to build linkobj/libc.so.
32591         * include/libc-symbols.h: Define libc_hidden_nolink.
32592         * include/rpc/auth.h: Mark functions which are to be hidden.
32593         * include/rpc/auth_des.h: Likewise.
32594         * include/rpc/auth_unix.h: Likewise.
32595         * include/rpc/clnt.h: Likewise.
32596         * include/rpc/des_crypt.h: Likewise.
32597         * include/rpc/key_prot.h: Likewise.
32598         * include/rpc/pmap_clnt.h: Likewise.
32599         * include/rpc/pmap_prot.h: Likewise.
32600         * include/rpc/pmap_rmt.h: Likewise.
32601         * include/rpc/rpc_msg.h: Likewise.
32602         * include/rpc/svc.h: Likewise.
32603         * include/rpc/svc_auth.h: Likewise.
32604         * include/rpc/xdr.h: Likewise.
32605         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32606         * nss/Makefile: Likewise.
32607         * sunrpc/Makefile: Don't install headers.  Build library with normal
32608         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32609         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32610         for the compat linking library.  Remove use of INTDEF/INTUSE.
32611         * sunrpc/auth_none.c: Likewise.
32612         * sunrpc/auth_unix.c: Likewise.
32613         * sunrpc/authdes_prot.c: Likewise.
32614         * sunrpc/authuxprot.c: Likewise.
32615         * sunrpc/clnt_gen.c: Likewise.
32616         * sunrpc/clnt_perr.c: Likewise.
32617         * sunrpc/clnt_raw.c: Likewise.
32618         * sunrpc/clnt_simp.c: Likewise.
32619         * sunrpc/clnt_tcp.c: Likewise.
32620         * sunrpc/clnt_udp.c: Likewise.
32621         * sunrpc/clnt_unix.c: Likewise.
32622         * sunrpc/des_crypt.c: Likewise.
32623         * sunrpc/des_soft.c: Likewise.
32624         * sunrpc/get_myaddr.c: Likewise.
32625         * sunrpc/key_call.c: Likewise.
32626         * sunrpc/key_prot.c: Likewise.
32627         * sunrpc/netname.c: Likewise.
32628         * sunrpc/pm_getmaps.c: Likewise.
32629         * sunrpc/pm_getport.c: Likewise.
32630         * sunrpc/pmap_clnt.c: Likewise.
32631         * sunrpc/pmap_prot.c: Likewise.
32632         * sunrpc/pmap_prot2.c: Likewise.
32633         * sunrpc/pmap_rmt.c: Likewise.
32634         * sunrpc/publickey.c: Likewise.
32635         * sunrpc/rpc_cmsg.c: Likewise.
32636         * sunrpc/rpc_common.c: Likewise.
32637         * sunrpc/rpc_dtable.c: Likewise.
32638         * sunrpc/rpc_prot.c: Likewise.
32639         * sunrpc/rpc_thread.c: Likewise.
32640         * sunrpc/rtime.c: Likewise.
32641         * sunrpc/svc.c: Likewise.
32642         * sunrpc/svc_auth.c: Likewise.
32643         * sunrpc/svc_authux.c: Likewise.
32644         * sunrpc/svc_raw.c: Likewise.
32645         * sunrpc/svc_run.c: Likewise.
32646         * sunrpc/svc_simple.c: Likewise.
32647         * sunrpc/svc_tcp.c: Likewise.
32648         * sunrpc/svc_udp.c: Likewise.
32649         * sunrpc/svc_unix.c: Likewise.
32650         * sunrpc/svcauth_des.c: Likewise.
32651         * sunrpc/xcrypt.c: Likewise.
32652         * sunrpc/xdr.c: Likewise.
32653         * sunrpc/xdr_array.c: Likewise.
32654         * sunrpc/xdr_float.c: Likewise.
32655         * sunrpc/xdr_intXX_t.c: Likewise.
32656         * sunrpc/xdr_mem.c: Likewise.
32657         * sunrpc/xdr_rec.c: Likewise.
32658         * sunrpc/xdr_ref.c: Likewise.
32659         * sunrpc/xdr_sizeof.c: Likewise.
32660         * sunrpc/xdr_stdio.c: Likewise.
32662 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32664         [BZ #12650]
32665         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32666         * sysdeps/ia64/dl-tls.h: Likewise.
32667         * sysdeps/powerpc/dl-tls.h: Likewise.
32668         * sysdeps/s390/dl-tls.h: Likewise.
32669         * sysdeps/sh/dl-tls.h: Likewise.
32670         * sysdeps/sparc/dl-tls.h: Likewise.
32671         * sysdeps/x86_64/dl-tls.h: Likewise.
32672         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32674 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32676         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32677         rpath element also skip the following colon.
32678         (expand_dynamic_string_token): Add is_path parameter and pass
32679         down to DL_DST_REQUIRED and _dl_dst_substitute.
32680         (decompose_rpath): Call expand_dynamic_string_token with
32681         non-zero is_path.  Ignore empty rpaths.
32682         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32683         with zero is_path.
32685 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32688         Make cancelable.
32690 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32692         [BZ #12655]
32693         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32694         Patch by Filipe David Manana <fdmanana@apache.org>.
32696 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32698         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32699         Maintain aligned stack.
32700         (CHECK_RSP): Remove unused macro.
32702 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32704         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32705         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32707 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32709         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32711         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32713 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32715         [BZ #12518]
32716         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32717         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32718         * sysdeps/x86_64/memmove.c: New file.
32719         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32720         (memcpy): Renamed to ...
32721         (__new_memcpy): This.
32722         (memcpy): Provide GLIBC_2_14 memcpy.
32723         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32724         (memcpy): Provide GLIBC_2_2_5 memcpy.
32726 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32728         [BZ #12631]
32729         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32731 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32733         * misc/syncfs.c: New file.
32734         * misc/Makefile (routines): Add syncfs.
32735         * posix/unistd.h: Declare syncfs.
32736         * sysdeps/unix/syscalls.list: Add syncfs.
32738 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32740         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32741         open_by_handle_at.
32742         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32743         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32745         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32747         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32748         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32750 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32752         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32753         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32754         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32756         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32757         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32758         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32760         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32761         sync_file_range.c with -fexceptions.
32762         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32763         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32764         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32765         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32766         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32767         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32768         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32769         sync_file_range as cancellation point
32770         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32771         now a wrapper around __call_sync_file_range with cancellation handling.
32772         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32773         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32774         function name to __call_sync_file_range.
32775         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32776         Add call_sync_file_range.
32778 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32781         bits/timex.h.
32783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32785         * iconv/iconv.h: Fix typo in comment.
32786         * io/fcntl.h: Likewise.
32787         * libio/stdio.h: Likewise.
32788         * posix/spawn.h: Likewise.
32789         * posix/unistd.h: Likewise.
32790         * stdlib/stdlib.h: Likewise.
32791         * time/time.h: Likewise.
32792         * wcsmbs/wchar.h: Likewise.
32794         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32795         open_by_handle): Add.
32796         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32797         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32798         Augment a few comments.
32799         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32800         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32801         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32803         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32804         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32805         open_by_handle.
32807         * io/fcntl.h (AT_EMPTY_PATH): Define.
32809 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32811         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32812         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32813         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32814         to...
32815         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32816         * Versions.def: Add GLIBC_2.14.
32817         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32818         Export.
32820 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32822         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32823         round counter.
32824         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32826 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32828         [BZ #12597]
32829         * string/test-strncmp.c (do_page_test): New function.
32830         (check2): Likewise.
32831         (test_main): Call check2.
32832         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32834 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32836         [BZ #12587]
32837         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32838         Handle cache information in CPU leaf 4.
32839         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32841 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32843         [BZ #12583]
32844         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32845         character representation.
32846         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32848 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32850         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32851         END(__isnan) to END(__isnanf) to match function entry point/label
32852         EALIGN(__isnanf,...).
32854 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32856         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32858 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32860         [BZ #12510]
32861         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32862         copy from the symbol referenced in the relocation to initialize the
32863         used variable.
32864         Patch by Piotr Bury <pbury@goahead.com>.
32865         * elf/Makefile: Add rules to build and tst-unique3.
32866         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32867         * elf/tst-unique3.cc: New file.
32868         * elf/tst-unique3.h: New file.
32869         * elf/tst-unique3lib.cc: New file.
32870         * elf/tst-unique3lib2.cc: New file.
32872         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32874 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32876         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32877         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32878         to _start.
32880 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32882         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32883         to-be-loaded object along a path to loader is ld.so.
32885 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32886             Ulrich Drepper  <drepper@gmail.com>
32888         * sysdeps/x86_64/memset.S: After aligning destination, code
32889         branches to different locations depending on the value of
32890         misalignment, when multiarch is enabled. Fix this.
32892 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32894         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32895         Set _x86_64_preferred_memory_instruction for AMD processsors.
32896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32897         Set bit_Prefer_SSE_for_memop for AMD processors.
32899 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32901         * libio/fmemopen.c (fmemopen): Optimize a bit.
32903 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32905         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32907 2011-03-03  Roland McGrath  <roland@redhat.com>
32909         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32911 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32913         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32914         __bzero_ultra1 instead of __memset_ultra1.
32916 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32917             Ulrich Drepper  <drepper@gmail.com>
32919         [BZ #12509]
32920         * include/link.h (struct link_map): Add l_orig_initfini.
32921         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32922         returning unsuccessfully.
32923         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32924         close of a file loaded at startup, restore the original l_initfini
32925         list.
32926         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32927         list, store the pointer.
32928         * elf/Makefile ($(objpfx)noload-mem): New rule.
32929         (noload-ENV): Define.
32930         (tests): Add $(objpfx)noload-mem.
32931         * elf/noload.c: Include <memcheck.h>.
32932         (main): Call mtrace.  Close all opened handles.
32934 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32936         [BZ #12454]
32937         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32938         dependencies are missing.
32940 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32942         Fix __if_freereq crash: Unlike the generic version which uses free,
32943         Hurd needs munmap.
32944         * sysdeps/mach/hurd/ifreq.h: New file.
32946 2011-01-27  Petr Baudis  <pasky@suse.cz>
32947             Ulrich Drepper  <drepper@gmail.com>
32949         [BZ 12445]#
32950         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32951         to extend_alloca().
32952         * stdio-common/bug23.c: New file.
32953         * stdio-common/Makefile (tests): Add bug23.
32955 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32956             Ulrich Drepper  <drepper@gmail.com>
32958         [BZ #12489]
32959         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32960         before performing relro protection.  At old place add assertion
32961         to make sure nothing changed.
32963 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32964             Glauber de Oliveira Costa  <glommer@gmail.com>
32966         * elf/elf.h: Add new ARM TLS relocs.
32968 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32971         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32972         cast from r3.
32973         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32974         'tests' variable.
32975         * sysdeps/wordsize-64/tst-writev.c: New file.
32977 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32979         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32980         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32981         insns in _dl_start to prevent a TOC reference before relocs are
32982         resolved.
32984 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32986         [BZ #12469]
32987         * Makeconfig: Remove RANLIB definition.
32988         * Makerules: Don't use RANLIB.
32989         * aclocal.m4: Remove ranlib test.
32990         * configure.in: No need to check for ranlib.
32991         * elf/rtld-Rules: Don't use RANLIB.
32993 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32995         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32996         protection macro.
32997         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32998         inclusion protection macro.
33000         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33001         SIGRTMIN and SIGRTMAX and print information in that case only when
33002         SIGRTMIN is defined.
33004 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33006         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33007         arginfo fn returning -1.
33009         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33010         and thousands string is zero terminated.
33012 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33015         sysdeps/unix/sysv/linux/bits/socket.h.
33017 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33019         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33020         (__CPU_COUNT): Remove old macros.
33021         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33022         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33023         (__CPU_ALLOC, __CPU_FREE): Add macros.
33024         (__sched_cpualloc, __sched_cpufree): Add declarations.
33026 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33028         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33029         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33030         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33031         (readdhstai): Return value of addhstaiX call.
33032         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33033         (addgrbyX): Return value returned by cache_addgr.
33034         (readdgrbyname): Return value returned by addgrbyX.
33035         (readdgrbygid): Likewise.
33036         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33037         (addpwbyX): Return value returned by cache_addpw.
33038         (readdpwbyname): Return value returned by addhstbyX.
33039         (readdpwbyuid): Likewise.
33040         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33041         (addservbyX): Return value returned by cache_addserv.
33042         (readdservbyname): Return value returned by addservbyX:
33043         (readdservbyport): Likewise.
33044         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33045         (addhstbyX): Return value returned by cache_addhst.
33046         (readdhstbyname): Return value returned by addhstbyX.
33047         (readdhstbyaddr): Likewise.
33048         (readdhstbynamev6): Likewise.
33049         (readdhstbyaddrv6): Likewise.
33050         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33051         (readdinitgroups): Return value returned by addinitgroupsX.
33052         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33053         (prune_cache): Keep track of timeout value of re-added entries.
33054         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33055         * nscd/nscd.h: Adjust prototypes of readd* functions.
33057 2011-02-04  Roland McGrath  <roland@redhat.com>
33059         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33060         (nis_stats): Likewise.
33061         * nis/nis_modify.c (nis_modify): Likewise.
33062         * nis/nis_remove.c (nis_remove): Likewise.
33063         * nis/nis_add.c (nis_add): Likewise.
33065         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33067         * posix/fnmatch_loop.c: Add some consts.
33069         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33071 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33073         [BZ #12460]
33074         * config.make.in (config-cflags-novzeroupper): Define.
33075         * configure.in: Substitute libc_cv_cc_novzeroupper.
33076         * elf/Makefile (AVX-CFLAGS): Define.
33077         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33078         (CFLAGS-tst-auditmod4a.c): Likewise.
33079         (CFLAGS-tst-auditmod4b.c): Likewise.
33080         (CFLAGS-tst-auditmod6b.c): Likewise.
33081         (CFLAGS-tst-auditmod6c.c): Likewise.
33082         (CFLAGS-tst-auditmod7b.c): Likewise.
33083         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33085 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33087         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33088         function to the callback.
33089         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33091 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33093         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33094         of errno.
33096 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33098         [BZ #11724]
33099         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33100         of constructors.
33101         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33102         of destructors.
33103         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33105         [BZ #11724]
33106         * elf/Makefile: Add rules to build and run new test.
33107         * elf/tst-initorder.c: New file.
33108         * elf/tst-initorder.exp: New file.
33109         * elf/tst-initordera1.c: New file.
33110         * elf/tst-initordera2.c: New file.
33111         * elf/tst-initordera3.c: New file.
33112         * elf/tst-initordera4.c: New file.
33113         * elf/tst-initorderb1.c: New file.
33114         * elf/tst-initorderb2.c: New file.
33115         * elf/tst-order-a1.c: New file.
33116         * elf/tst-order-a2.c: New file.
33117         * elf/tst-order-a3.c: New file.
33118         * elf/tst-order-a4.c: New file.
33119         * elf/tst-order-b1.c: New file.
33120         * elf/tst-order-b2.c: New file.
33121         * elf/tst-order-main.c: New file.
33122         New test case by George Gensure <werkt0@gmail.com>.
33124 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33127         decoding ACE if AI_CANONIDN.
33129 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33131         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33133 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33135         * version.h (RELEASE): Bump for 2.13 release.
33136         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33138         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33140         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33141         MADV_NOHUGEPAGE.
33142         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33143         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33144         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33145         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33146         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33147         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33149         * posix/getconf.c: Update copyright year.
33150         * catgets/gencat.c: Likewise.
33151         * csu/version.c: Likewise.
33152         * debug/catchsegv.sh: Likewise.
33153         * debug/xtrace.sh: Likewise.
33154         * elf/ldconfig.c: Likewise.
33155         * elf/ldd.bash.in: Likewise.
33156         * elf/sprof.c (print_version): Likewise.
33157         * iconv/iconv_prog.c: Likewise.
33158         * iconv/iconvconfig.c: Likewise.
33159         * locale/programs/locale.c: Likewise.
33160         * locale/programs/localedef.c: Likewise.
33161         * malloc/memusage.sh: Likewise.
33162         * malloc/mtrace.pl: Likewise.
33163         * nscd/nscd.c (print_version): Likewise.
33164         * nss/getent.c: Likewise.
33166         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33167         PF_CAIF, and PF_ALG.
33168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33170 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33172         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33173         (modules-names): Use them.
33174         (ifunc-test-modules, ifunc-pie-tests): Define.
33175         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33176         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33177         (test-extras): Likewise.
33178         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33179         $(compile-command.c).
33180         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33181         (all-built-dso): Define.
33182         (check-textrel.out, check-execstack.out): Depend on it.
33184         * configure.in: Don't override --enable-multi-arch.
33186 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33188         [BZ #6812]
33189         * nscd/hstcache.c (tryagain): Define.
33190         (cache_addhst): Return tryagain not notfound for temporary errors.
33191         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33192         failed.
33194 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33196         [BZ #10563]
33197         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33198         to make the syscall.
33199         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33201         [BZ #12378]
33202         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33203         and fall back to matching as normal character if the string ends before
33204         the matching ']' is found.  This is what POSIX requires.
33205         * posix/testfnm.c: Adjust test result.
33206         * posix/globtest.sh: Adjust test result.  Add new test.
33207         * posix/tst-fnmatch.input: Likewise.
33208         * posix/tst-fnmatch2.c: Add new test.
33210 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33212         * elf/Makefile (check-execstack): Revert last change.  Depend on
33213         check-execstack.h.
33214         (check-execstack.h): New target.
33215         (generated): Add check-execstack.h.
33216         * elf/check-execstack.c: Include "check-execstack.h".
33217         (main): Revert last change.
33218         (handle_file): Return zero if GNU_STACK is absent and
33219         DEFAULT_STACK_PERMS doesn't include PF_X.
33221 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33223         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33224         in child fails because the descriptor is already closed.
33225         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33226         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33227         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33229         [BZ #12397]
33230         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33231         syscall.
33233         [BZ #10484]
33234         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33235         temporary buffer used to handle multi lookups locally.
33236         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33238 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33240         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33241         loader is ld.so.
33243 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33245         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33246         alignment for SSE2.
33248 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33250         [BZ #12394]
33251         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33252         characters.  When rounding increased number of integer digits recompute
33253         number of groups.
33254         * stdio-common/tst-grouping.c: New file.
33255         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33257 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33259         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33260         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33262         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33263         void.
33264         * bits/select.h: Likewise.
33266 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33268         * po/ja.po: Update from translation team.
33270 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33272         [BZ #11155]
33273         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33274         implementation just like for lxstat, fxstatat, et al.
33276 2010-12-27  Jim Meyering  <meyering@redhat.com>
33278         [BZ #12348]
33279         * posix/regexec.c (build_trtable): Return failure indication upon
33280         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33282 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33284         [BZ #12201]
33285         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33286         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33287         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33288         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33290         [BZ #12207]
33291         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33293         [BZ #12204]
33294         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33295         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33297 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33299         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33300         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33301         script has SORT_BY_INIT_PRIORITY.
33302         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33303         NO_CTORS_DTORS_SECTIONS is defined.
33304         * elf/soinit.c: Likewise.
33305         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33306         NO_CTORS_DTORS_SECTIONS is defined.
33307         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33308         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33309         * sysdeps/sh/init-first.c: Likewise.
33310         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33312 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33314         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33315         always use the slow path.
33317 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33319         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33320         similar rule which adds the sysdep directories to the header search in
33321         order to pick up the correct platform stackinfo.h.
33322         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33323         perform test if it is, otherwise return successfully without testing.
33324         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33325         DEFAULT_STACK_PERMS define in stackinfo.h.
33326         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33327         defined in stackinfo.h.
33328         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33329         DEFAULT_STACK_PERMS defined in stackinfo.h.
33330         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33331         * sysdeps/ia64/stackinfo.h: Likewise.
33332         * sysdeps/s390/stackinfo.h: Likewise.
33333         * sysdeps/sh/stackinfo.h: Likewise.
33334         * sysdeps/sparc/stackinfo.h: Likewise.
33335         * sysdeps/x86_64/stackinfo.h: Likewise.
33336         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33337         PF_X for powerpc64.  Retain PF_X for powerpc32.
33339 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33341         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33342         accurately.
33343         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33344         GETDENTS_64BIT_ALIGNED.
33346 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33348         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33350 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33352         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33353         _GNU_SOURCE.
33355         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33356         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33357         Remove __restrict.
33358         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33359         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33361 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33363         [BZ #11655]
33364         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33365         are initialized.
33367 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33369         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33371 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33373         * po/it.po: Update from translation team.
33375 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33377         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33378         unused codes.
33380 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33382         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33384 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33386         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33387         specially.
33388         (gaih_getanswer_slice): Likewise.
33390 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33394 2010-05-31  Petr Baudis  <pasky@suse.cz>
33396         [BZ #11149]
33397         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33398         silently even in the chroot mode.
33400 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33402         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33403         last patch a bit.  Pretty printing
33405 2010-05-31  Petr Baudis <pasky@suse.cz>
33407         [BZ #10085]
33408         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33409         initialization of skip_initgroups_dyn.
33411 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33413         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33414         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33416 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33418         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33420 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33422         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33423         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33424         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33425         ($(objpfx)tst-fnmatch-mem): New rule.
33426         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33427         * posix/tst-fnmatch.c (main): Call mtrace.
33429 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33432         Support Intel processor model 6 and model 0x2c.
33434 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33436         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33437           signed comparison.
33439 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33441         [BZ #12205]
33442         * string/test-strncasecmp.c (check_result): New function.
33443         (do_one_test): Use it.
33444         (check1): New function.
33445         (test_main): Use it.
33446         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33447         Support strcasecmp and strncasecmp.
33449 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33451         [BZ #12194]
33452         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33453         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33455 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33457         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33458         IFUNC support.
33459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33460         memset-x86-64.
33461         * sysdeps/x86_64/multiarch/bzero.S: New file.
33462         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33463         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33464         * sysdeps/x86_64/multiarch/memset.S: New file.
33465         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33467         Set bit_Prefer_SSE_for_memop for Intel processors.
33468         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33469         Define.
33470         (index_Prefer_SSE_for_memop): Define.
33471         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33473 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33475         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33476         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33478 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33480         [BZ #12191]
33481         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33482         (__x86_64_raw_data_cache_size_half): Likewise.
33483         (__x86_64_raw_shared_cache_size): Likewise.
33484         (__x86_64_raw_shared_cache_size_half): Likewise.
33486         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33487         (__x86_64_raw_data_cache_size_half): Likewise.
33488         (__x86_64_raw_shared_cache_size): Likewise.
33489         (__x86_64_raw_shared_cache_size_half): Likewise.
33490         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33491         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33492         and __x86_64_raw_shared_cache_size_half.  Round
33493         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33494         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33495         to multiple of 256 bytes.
33497 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33499         [BZ #12167]
33500         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33501         of inacessible symlinks.  Verify result of symlink before returning it.
33502         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33503         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33505 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33507         * math/math.h (isinf): Fix typo in comment.
33509 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33511         * po/da.po: Update from translation team.
33513 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33515         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33516         is added to the list.
33518 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33519             Ulrich Drepper  <drepper@gmail.com>
33521         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33522         the global list here.  Move code to...
33523         (_dl_add_to_namespace_list): ...here.  New function.
33524         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33525         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33526         * elf/dl-load.c (lose): Don't remove the element from the list.
33527         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33528         (_dl_map_object): Likewise.
33530 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33532         [BZ #12159]
33533         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33534         into all bytes of SSE register.
33535         Patch by Richard Li <richardpku@gmail.com>.
33537 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33539         [BZ #12140]
33540         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33541         perturbing.
33543 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33545         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33546         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33547         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33548         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33550         submachine.
33551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33553 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33555         * include/dlfcn.h (__RTLD_SECURE): Define.
33556         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33557         mode & __RTLD_SECURE instead.
33558         (open_path): Rename preloaded parameter to secure.
33559         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33560         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33561         * elf/dl-deps.c (openaux): Likewise.
33562         * elf/rtld.c (struct map_args): Remove is_preloaded.
33563         (map_doit): Don't use it.
33564         (dl_main): Likewise.
33565         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33566         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33568 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33570         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33571         (sysd-rules-targets): Remove duplicates.
33572         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33573         rtld-%.$o dependency.
33575 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33577         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33578         _dl_map_object do it.
33580 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33582         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33583         fast fma builtins, define the macros in the C99 standard.
33584         (FP_FAST_FMAF): Likewise.
33585         (FP_FAST_FMAL): Likewise.
33586         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33588         * bits/mathdef.h: Update copyright year.
33589         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33591 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33593         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33594         builtins, define the macros in the C99 standard.
33595         (FP_FAST_FMAF): Likewise.
33596         (FP_FAST_FMAL): Likewise.
33597         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33598         multiply/add.
33599         (FP_FAST_FMAF): Likewise.
33601 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33603         [BZ #3268]
33604         * math/libm-test.inc (fma_test): Some new testcases.
33605         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33606         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33607         y and infinite z.  Do multiplication by C already in long double.
33608         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33610         y and infinite z.  Do bitwise or of inexact bit into u.d.
33611         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33612         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33613         * sysdeps/i386/fpu/s_fma.S: Removed.
33614         * sysdeps/i386/fpu/s_fmal.S: Removed.
33616 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33618         [BZ #3268]
33619         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33621         computation is not scheduled after fetestexcept.  Fix value
33622         of minimum denormal long double.
33624 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33626         [BZ #3268]
33627         * math/libm-test.inc (fma_test): Add some more tests.
33628         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33629         correctly.
33631 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33633         * scripts/data/localplt-s390-linux-gnu.data: New file.
33634         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33636 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33638         [BZ #3268]
33639         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33640         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33641         instead of dbl-64.
33642         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33643         inlines.
33644         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33646         if one of x and y is very large and the other is subnormal.
33647         * sysdeps/s390/fpu/s_fmaf.c: New file.
33648         * sysdeps/s390/fpu/s_fma.c: New file.
33649         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33650         * sysdeps/powerpc/fpu/s_fma.S: New file.
33651         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33652         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33653         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33655 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33657         [BZ #3268]
33658         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33659         fma tests.
33660         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33661         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33662         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33663         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33664         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33665         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33666         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33668 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33670         [BZ #12078]
33671         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33672         * posix/bug-regex31.input: Add test case.
33674 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33676         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33677         * posix/bug-regex31.input: New file.
33679         [BZ #12078]
33680         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33681         (parse_sub_exp): Fix last change, use postorder.
33683         * posix/bug-regex31.c: New file.
33684         * posix/Makefile: Add rules to build and run bug-regex31.
33686         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33688         [BZ #12078]
33689         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33691         [BZ #12108]
33692         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33693         to have entries in sys_siglist.
33695         [BZ #12093]
33696         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33697         be NULL.
33699 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33701         [BZ #3268]
33702         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33703         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33704         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33705         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33706         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33707         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33708         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33709         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33710         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33711         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33712         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33713         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33714         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33715         * math/ftestexcept.c (fetestexcept): Likewise.
33716         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33717         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33718         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33719         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33720         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33721         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33722         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33724 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33726         [BZ #12107]
33727         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33728         newline.
33730 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33732         * string/bug-strstr1.c: New file.
33733         * string/Makefile: Add rules to build and run bug-strstr1.
33735 2010-10-05  Eric Blake  <eblake@redhat.com>
33737         [BZ #12092]
33738         * string/str-two-way.h (two_way_long_needle): Always clear memory
33739         when skipping input due to the shift table.
33741 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33743         [BZ #12005]
33744         * malloc/mcheck.c: Handle large requests.
33746         [BZ #12077]
33747         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33748         for strncmp and strncasecmp.
33749         * string/stratcliff.c: Add tests for strcmp and strncmp.
33750         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33752 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33754         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33755         __set_fpscr.
33757 2010-09-30  Andreas Jaeger  <aj@suse.de>
33759         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33760         (CGROUP_SUPER_MAGIC): Define.
33761         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33762         Handle btrfs and cgroup file systems.
33763         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33764         Likewise.
33766 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33768         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33769         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33771 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33773         [BZ #12067]
33774         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33775         trying to locate the ELF header.
33777 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33779         [BZ #11611]
33780         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33781         Mask out sign-bit copies when constructing f_fsid.
33783 2010-09-24  Petr Baudis <pasky@suse.cz>
33785         * debug/stack_chk_fail_local.c: Add missing licence exception.
33786         * debug/warning-nop.c: Likewise.
33788 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33790         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33791         implementing getdents64 using getdents syscall, set d_type if
33792         __ASSUME_GETDENTS32_D_TYPE.
33794 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33796         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33797         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33799 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33801         [BZ #12037]
33802         * posix/unistd.h: Undo change of feature selection for ftruncate from
33803         2010-01-11.
33805 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33807         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33808         detection.
33810 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33812         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33813         fanotify_mark.
33814         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33816 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33818         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33819         variables after CHECK_SP call.
33820         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33822 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33823             Ulrich Drepper  <drepper@redhat.com>
33825         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33826         re-relocationg ld.so.
33827         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33828         _dl_init_paths call.
33829         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33830         here anymore.
33832 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33834         * resolv/res_init.c (__res_vinit): Count the default server we added.
33836 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33837             Ulrich Drepper  <drepper@redhat.com>
33839         [BZ #11968]
33840         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33841         (____longjmp_chk): Use %ebx for saving value across system call.
33842         Add unwind info.
33844 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33846         * manual/Makefile: Don't mix pattern rules with normal rules.
33848 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33850         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33851         operation.
33852         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33853         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33854         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33855         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33856         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33857         Likewise.
33859 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33861         [BZ #11979]
33862         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33863         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33865 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33867         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33868         * sysdeps/x86_64/addmul_1.S: Likewise.
33869         * sysdeps/x86_64/lshift.S: Likewise.
33870         * sysdeps/x86_64/mul_1.S: Likewise.
33871         * sysdeps/x86_64/rshift.S: Likewise.
33872         * sysdeps/x86_64/sub_n.S: Likewise.
33873         * sysdeps/x86_64/submul_1.S: Likewise.
33875 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33877         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33878         Define __sched_param instead of SCHED_* and sched_param when
33879         <bits/sched.h> is included with __need_schedparam defined.
33880         * bits/sched.h [__need_schedparam]
33881         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33882         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33883         (__defined_schedparam): Define to 1.
33884         (__sched_param): New structure, identical to sched_param.
33885         (__need_schedparam): Undefine.
33887 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33889         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33890         (epoll_create1): Declare.
33892         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33894 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33896         [BZ #7066]
33897         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33898         shifting retval into place.
33900 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33902         * nis/rpcsvc/nis.h: Update copyright notice.
33903         * nis/rpcsvc/nis.x: Likewise.
33904         * nis/rpcsvc/nis_callback.h: Likewise.
33905         * nis/rpcsvc/nis_callback.x: Likewise.
33906         * nis/rpcsvc/nis_object.x: Likewise.
33907         * nis/rpcsvc/nis_tags.h: Likewise.
33908         * nis/rpcsvc/yp.h: Likewise.
33909         * nis/rpcsvc/yp.x: Likewise.
33910         * nis/rpcsvc/ypupd.h: Likewise.
33911         * nis/yp_xdr.c: Likewise.
33912         * nis/ypupdate_xdr.c: Likewise.
33914         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33915         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33916         (pmap_getport): Use __libc_rpc_getport.
33917         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33918         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33919         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33921 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33924         fanotify_mark.
33926 2010-08-27  Roland McGrath  <roland@redhat.com>
33928         * sysdeps/i386/i686/multiarch/Makefile
33929         (CFLAGS-varshift.c): New variable.
33931 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33933         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33934         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33936         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33938         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33940 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33942         * sysdeps/x86_64/strlen.S: Unroll the loop.
33943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33944         strlen-sse2 strlen-sse2-bsf.
33945         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33946         __strlen_no_bsf if bit_Slow_BSF is set.
33947         (__strlen_sse42): Removed.
33948         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33949         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33951 2010-08-25  Roland McGrath  <roland@redhat.com>
33953         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33954         * sysdeps/x86_64/multiarch/varshift.c: New file.
33955         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33956         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33957         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33958         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33960 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33963         strlen-sse2 strlen-sse2-bsf.
33964         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33965         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33966         (__strlen_sse2): Removed.
33967         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33968         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33970         bit_Slow_BSF for Atom.
33971         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33972         (index_Slow_BSF): Define.
33973         (HAS_SLOW_BSF): Define.
33975 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33977         [BZ #10851]
33978         * resolv/res_init.c (__res_vinit): When no server address at all
33979         is given default to loopback.
33981 2010-08-24  Roland McGrath  <roland@redhat.com>
33983         * configure.in: Remove config-name.h generation.
33984         * configure: Regenerated.
33985         * config-name.in: File removed.
33986         * scripts/config-uname.sh: New file.
33987         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33988         ($(objdir)config-name.h): New target.
33990         * sunrpc/rpc_parse.h: Avoid nested comment.
33992 2010-08-24  Richard Henderson  <rth@redhat.com>
33993             Ulrich Drepper  <drepper@redhat.com>
33994             H.J. Lu  <hongjiu.lu@intel.com>
33996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33998         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33999         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34000         _mm_alignr_epi8 with _mm_loadu_si128.
34001         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34002         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34003         (__m128i_shift_right): Removed.
34004         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34005         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34006         * sysdeps/x86_64/multiarch/varshift.h: New file.
34007         * sysdeps/x86_64/multiarch/varshift.S: New file.
34009 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34011         * configure.in: Move assembler checks to before sysdep dir checking.
34013 2010-08-20  Petr Baudis  <pasky@suse.cz>
34015         * LICENSES: Sync the sunrpc license.
34017 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34019         * sunrpc/auth_des.c: Update copyright notice once again.
34020         * sunrpc/auth_none.c: Likewise.
34021         * sunrpc/auth_unix.c: Likewise.
34022         * sunrpc/authdes_prot.c: Likewise.
34023         * sunrpc/authuxprot.c: Likewise.
34024         * sunrpc/bindrsvprt.c: Likewise.
34025         * sunrpc/clnt_gen.c: Likewise.
34026         * sunrpc/clnt_perr.c: Likewise.
34027         * sunrpc/clnt_raw.c: Likewise.
34028         * sunrpc/clnt_simp.c: Likewise.
34029         * sunrpc/clnt_tcp.c: Likewise.
34030         * sunrpc/clnt_udp.c: Likewise.
34031         * sunrpc/clnt_unix.c: Likewise.
34032         * sunrpc/des_crypt.c: Likewise.
34033         * sunrpc/des_soft.c: Likewise.
34034         * sunrpc/get_myaddr.c: Likewise.
34035         * sunrpc/getrpcport.c: Likewise.
34036         * sunrpc/key_call.c: Likewise.
34037         * sunrpc/key_prot.c: Likewise.
34038         * sunrpc/openchild.c: Likewise.
34039         * sunrpc/pm_getmaps.c: Likewise.
34040         * sunrpc/pm_getport.c: Likewise.
34041         * sunrpc/pmap_clnt.c: Likewise.
34042         * sunrpc/pmap_prot.c: Likewise.
34043         * sunrpc/pmap_prot2.c: Likewise.
34044         * sunrpc/pmap_rmt.c: Likewise.
34045         * sunrpc/rpc/auth.h: Likewise.
34046         * sunrpc/rpc/auth_unix.h: Likewise.
34047         * sunrpc/rpc/clnt.h: Likewise.
34048         * sunrpc/rpc/des_crypt.h: Likewise.
34049         * sunrpc/rpc/key_prot.h: Likewise.
34050         * sunrpc/rpc/netdb.h: Likewise.
34051         * sunrpc/rpc/pmap_clnt.h: Likewise.
34052         * sunrpc/rpc/pmap_prot.h: Likewise.
34053         * sunrpc/rpc/pmap_rmt.h: Likewise.
34054         * sunrpc/rpc/rpc.h: Likewise.
34055         * sunrpc/rpc/rpc_des.h: Likewise.
34056         * sunrpc/rpc/rpc_msg.h: Likewise.
34057         * sunrpc/rpc/svc.h: Likewise.
34058         * sunrpc/rpc/svc_auth.h: Likewise.
34059         * sunrpc/rpc/types.h: Likewise.
34060         * sunrpc/rpc/xdr.h: Likewise.
34061         * sunrpc/rpc_clntout.c: Likewise.
34062         * sunrpc/rpc_cmsg.c: Likewise.
34063         * sunrpc/rpc_common.c: Likewise.
34064         * sunrpc/rpc_cout.c: Likewise.
34065         * sunrpc/rpc_dtable.c: Likewise.
34066         * sunrpc/rpc_hout.c: Likewise.
34067         * sunrpc/rpc_main.c: Likewise.
34068         * sunrpc/rpc_parse.c: Likewise.
34069         * sunrpc/rpc_parse.h: Likewise.
34070         * sunrpc/rpc_prot.c: Likewise.
34071         * sunrpc/rpc_sample.c: Likewise.
34072         * sunrpc/rpc_scan.c: Likewise.
34073         * sunrpc/rpc_scan.h: Likewise.
34074         * sunrpc/rpc_svcout.c: Likewise.
34075         * sunrpc/rpc_tblout.c: Likewise.
34076         * sunrpc/rpc_util.c: Likewise.
34077         * sunrpc/rpc_util.h: Likewise.
34078         * sunrpc/rpcinfo.c: Likewise.
34079         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34080         * sunrpc/rpcsvc/key_prot.x: Likewise.
34081         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34082         * sunrpc/rpcsvc/mount.x: Likewise.
34083         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34084         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34085         * sunrpc/rpcsvc/rex.x: Likewise.
34086         * sunrpc/rpcsvc/rstat.x: Likewise.
34087         * sunrpc/rpcsvc/rusers.x: Likewise.
34088         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34089         * sunrpc/rpcsvc/spray.x: Likewise.
34090         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34091         * sunrpc/rtime.c: Likewise.
34092         * sunrpc/svc.c: Likewise.
34093         * sunrpc/svc_auth.c: Likewise.
34094         * sunrpc/svc_authux.c: Likewise.
34095         * sunrpc/svc_raw.c: Likewise.
34096         * sunrpc/svc_run.c: Likewise.
34097         * sunrpc/svc_simple.c: Likewise.
34098         * sunrpc/svc_tcp.c: Likewise.
34099         * sunrpc/svc_udp.c: Likewise.
34100         * sunrpc/svc_unix.c: Likewise.
34101         * sunrpc/svcauth_des.c: Likewise.
34102         * sunrpc/xcrypt.c: Likewise.
34103         * sunrpc/xdr.c: Likewise.
34104         * sunrpc/xdr_array.c: Likewise.
34105         * sunrpc/xdr_float.c: Likewise.
34106         * sunrpc/xdr_mem.c: Likewise.
34107         * sunrpc/xdr_rec.c: Likewise.
34108         * sunrpc/xdr_ref.c: Likewise.
34109         * sunrpc/xdr_sizeof.c: Likewise.
34110         * sunrpc/xdr_stdio.c: Likewise.
34112         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34113         handling.
34115 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34117         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34119 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34121         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34122         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34123         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34124         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34125         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34126         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34127         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34128         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34129         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34130         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34131         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34132         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34133         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34134         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34136 2010-07-26  Anton Blanchard  <anton@samba.org>
34138         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34139         * malloc/arena.c (heap_trim): Likewise.
34141 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34143         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34144         here.  Not...
34145         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34146         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34148 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34150         * sysdeps/i386/elf/Makefile: New file.
34152 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34154         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34155         from fanotify_init.
34156         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34157         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34159 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34161         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34162         of strncasecmp_l.
34163         * sysdeps/multiarch/strcmp.S: Likewise.
34165 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34167         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34168         strncase_l-nonascii.
34169         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34170         Add strncase_l-ssse3.
34171         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34172         * sysdeps/x86_64/strcmp.S: Likewise.
34173         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34174         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34175         * sysdeps/x86_64/strncase.S: New file.
34176         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34177         * sysdeps/x86_64/strncase_l.S: New file.
34178         * string/Makefile (strop-tests): Add strncasecmp.
34179         * string/test-strncasecmp.c: New file.
34181         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34182         warning.
34184         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34185         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34187 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34189         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34191 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34193         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34194         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34195         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34197 2010-05-01  Alan Modra  <amodra@gmail.com>
34199         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34200         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34201         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34202         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34203         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34204         tidying.  Don't tail-call __sigjmp_save for static lib.
34205         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34206         save location.
34207         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34208         (CALL_MCOUNT): Add eh info, and nop after bl.
34209         (TAIL_CALL_SYSCALL_ERROR): New macro.
34210         (PSEUDO_RET): Use it.
34211         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34212         Correct save location of integer regs and cr.
34213         (_dl_profile_resolve): Correct cr save location.  Delete nops
34214         after bl when SHARED.  Reduce cfi size a little by better
34215         placement of cfi directives.
34216         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34217         make a stack frame.  Instead use parm save area as a temp.
34218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34219         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34221         Don't make a stack frame for parent, use parm save area.
34222         Increase child stack frame to 112 bytes.  Don't save unused reg,
34223         and adjust reg usage.  Set up cfi on error recovery and
34224         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34226         (__makecontext): Add dummy nop after jump to exit.
34227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34228         Use correct parm save area and cr save, reduce stack frame.
34229         Correct cfi for possible PSEUDO_RET frame setup.
34230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34231         Branch to local label emitted by PSEUDO_RET rather than
34232         __syscall_error.
34234 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34236         [BZ #11904]
34237         * locale/programs/locale.c (print_assignment): New function.
34238         (show_locale_vars): Use it.
34240 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34242         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34243         field.
34244         (struct statfs64): Likewise.
34245         (_STATFS_F_FLAGS): Define.
34246         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34247         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34248         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34249         (ST_VALID): Define locally.
34250         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34251         __statvfs_getflags, use the provided value.
34252         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34253         __ASSUME_STATFS_F_FLAGS.
34255         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34257         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34258         Add sys/fanotify.h.
34259         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34260         fanotify_mask for GLIBC_2.13.
34261         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34262         fanotify_init and fanotify_mark.
34263         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34264         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34266         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34267         Add prlimit.
34268         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34269         prlimit64 for GLIBC_2.13.
34270         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34271         prlimit64.
34272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34273         syscall.
34274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34275         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34276         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34277         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34278         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34279         add prlimit alias.
34280         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34282         [BZ #11903]
34283         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34284         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34286         * nss/Makefile: Add rules to build and run tst-nss-test1.
34287         * shlib-versions: Add entry for libnss_test1.
34288         * nss/nss_test1.c: New file.
34289         * nss/tst-nss-test1.c: New file.
34291         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34292         (__nss_configure_lookup): Set appropriate entry in
34293         __nss_configure_lookup to true.
34294         * nss/nsswitch.h: Define enum with indeces of databases in
34295         databases and __nss_database_custom arrays.  Declare
34296         __nss_database_custom.
34297         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34298         to avoid using nscd when custom rules are installed.
34299         * nss/getXXbyYY_r.c: Likewise.
34300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34302         * nss/nss_files/files-parse.c: Whitespace fixes.
34304 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34306         [BZ #11883]
34307         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34308         * posix/fnmatch_loop.c: Likewise.
34310 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34312         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34313         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34314         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34315         * Versions.def [GLIBC_2.13]: Add.
34317 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34319         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34320         Also fail if tpwd after pwuid call is NULL.
34322 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34324         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34325         when converting to ms.
34327 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34329         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34330         EOPNOTSUPP errors with ENOTTY.
34331         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34332         EOPNOTSUPP errors with ENOTTY.
34334 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34336         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34337         Add strcasecmp_l-ssse3.
34338         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34339         strcasecmp.
34340         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34341         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34342         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34344 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34346         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34348         * string/Makefile (strop-tests): Add strcasecmp.
34349         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34350         strcasecmp_l-nonascii.
34351         (gen-as-const-headers): Add locale-defines.sym.
34352         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34353         * sysdeps/x86_64/strcasecmp.S: New file.
34354         * sysdeps/x86_64/strcasecmp_l.S: New file.
34355         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34356         * sysdeps/x86_64/locale-defines.sym: New file.
34357         * string/test-strcasecmp.c: New file.
34359         * string/test-strcasestr.c: Test both ends of the range of characters.
34360         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34362 2010-07-29  Roland McGrath  <roland@redhat.com>
34364         [BZ #11856]
34365         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34367 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34369         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34370         for ld.so.
34372 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34374         * manual/memory.texi (Malloc Tunable Parameters): Document
34375         M_PERTURB.
34377 2010-07-26  Roland McGrath  <roland@redhat.com>
34379         [BZ #11840]
34380         * configure.in (-fgnu89-inline check): Set and substitute
34381         gnu89_inline, not libc_cv_gnu89_inline.
34382         * configure: Regenerated.
34383         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34385 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34387         * string/test-strnlen.c: New file.
34388         * string/Makefile (strop-tests): Add strnlen.
34389         * string/tester.c (test_strnlen): Add a few more test cases.
34390         * string/tst-strlen.c: Better error reporting.
34392         * sysdeps/x86_64/strnlen.S: New file.
34394 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34397         lower-latency instructions.
34399 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34401         * string/test-strcasestr.c: New file.
34402         * string/test-strstr.c: New file.
34403         * string/Makefile (strop-tests): Add strstr and strcasestr.
34404         * string/str-two-way.h: Don't undefine MAX.
34405         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34407 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34410         strcasestr-nonascii.
34411         (CFLAGS-strcasestr-nonascii.c): Define.
34412         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34413         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34414         Remove unused attribute.
34416 2010-07-20  Roland McGrath  <roland@redhat.com>
34418         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34419         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34420         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34421         like LD_HWCAP_MASK can disable hwcaps.
34423 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34425         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34427 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34429         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34430         call in strcasestr.
34431         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34432         __strcasestr_sse42_nonascii.
34433         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34434         strcasestr-nonascii.c.
34435         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34437 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34439         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34440         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34441         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34442         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34444 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34446         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34447         fcntl.
34449 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34451         [BZ #11577]
34452         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34453         dl_signal_cerror.
34455 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34457         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34458         _PC_PIPE_BUF using F_GETPIPE_SZ.
34460 2010-07-05  Roland McGrath  <roland@redhat.com>
34462         * manual/arith.texi (Rounding Functions): Fix rint description
34463         implicit in round description.
34465 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34467         * elf/Makefile: Fix linking for a few tests to make recent linker
34468         happy.
34470 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34472         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34473         $(common-objpfx)libc_nonshared.a.
34475 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34477         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34478         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34479         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34480         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34481         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34482         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34483         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34484         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34499         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34500         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34501         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34502         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34503         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34504         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34505         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34506         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34507         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34508         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34509         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34510         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34526 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34528         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34529         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34530         * string/memmove.c (memmove): Renamed to ...
34531         (MEMMOVE): ...this.  Default to memmove.
34532         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34533         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34534         (END_CHK): Define.
34535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34536         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34537         mempcpy-ssse3-back memmove-ssse3-back.
34538         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34539         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34540         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34541         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34542         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34543         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34544         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34545         * sysdeps/x86_64/multiarch/memmove.c: New file.
34546         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34547         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34548         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34549         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34551         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34552         Define.
34553         (index_Fast_Copy_Backward): Define.
34554         (HAS_ARCH_FEATURE): Define.
34555         (HAS_FAST_REP_STRING): Define.
34556         (HAS_FAST_COPY_BACKWARD): Define.
34558 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34560         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34561         Restore proper fallback handling.
34563 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34565         [BZ #11701]
34566         * posix/group_member.c (__group_member): Correct checking loop.
34568         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34569         OOM in getpwuid_r correctly.  Return error number when the caller
34570         should return, otherwise -1.
34571         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34572         call returning > 0 value.
34573         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34575 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34577         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34578         libc_nonshared.a from targets in modules-names.
34580 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34582         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34583         requires it.
34585 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34587         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34589         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34590         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34592 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34594         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34596 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34598         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34599         and F_GETPIPE_SZ.
34600         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34601         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34603         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34604         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34605         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34607 2010-06-14  Roland McGrath  <roland@redhat.com>
34609         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34611 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34613         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34614         __REDIRECT followed by __THROW.
34615         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34616         * posix/getopt.h (getopt): Likewise.
34618 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34620         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34621         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34622         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34623         in AT_FLAGS.
34624         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34625         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34627 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34629         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34631 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34633         [BZ #11640]
34634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34635         Properly check family and model.
34637 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34639         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34641 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34643         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34645 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34647         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34648         symbol reference.
34650 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34652         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34653         symbol reference.
34655 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34657         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34658         and internal_recvmmsg.
34659         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34660         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34661         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34662         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34664         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34665         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34666         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34668 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34670         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34672 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34674         POWER7 optimizations.
34675         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34676         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34678 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34680         * version.h: Update for 2.13 development version.
34682 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34684         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34685         exceptions.  Return 0.
34687 2010-05-07  Roland McGrath  <roland@redhat.com>
34689         * elf/ldconfig.c (main): Add a const.
34691 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34693         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34694         (args_options): Add no-idn option.
34695         (ahosts_keys_int): Add idn_flags to ai_flags.
34696         (parse_option): Handle 'i' option to clear idn_flags.
34698         * malloc/malloc.c (_int_free): Possible race in the most recently
34699         added check.  Only act on the data if no current modification
34700         happened.
34702 See ChangeLog.17 for earlier changes.