Changelog for last commit.
[glibc.git] / ChangeLog
blob3e0e0255b3fdedb558102cb4d9c8ffdc5b824046
1 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
3         [BZ #14876]
4         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5         * time/tst-strptime.c (day_tests): Add testcase.
7 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9         [BZ 14029]
10         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14         [BZ #16074]
15         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16         MAP_FAILED on error.
18 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20         [BZ #16072]
21         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22         heap for large requests.
24 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26         [BZ #9954]
27         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28         result if the result has no associated interface.
29         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30         interface for all 127.X.Y.Z addresses.
32 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34         * locale/iso-639.def: Add Ligurian (lij)
36 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38         [BZ #15825]
39         * sunrpc/rpc_main.c: Document rpcgen -5.
41 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47         [BZ #10278]
48         * posix/glob.c: Match only directories when trailing slash is present.
49         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50         (main): Add testcase.
52 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54         [BZ #15670]
55         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
57 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
59         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61         AUTH_DES and cindex for FIPS 140-2.
62         (DES Encryption): Add cindex FIPS 46-3.
64         * locale/locarchive.h (struct locarhandle): Add fname.
65         * locale/programs/localedef.c (main): Pass ARGV[remaining]
66         if an optional argument was specified to --list-archive,
67         otherwise NULL.
68         * locale/programs/locarchive.c (show_archive_content): Take new
69         argument fname and pass it via ah.fname to open_archive.
70         * locale/programs/localedef.h: Update decl.
71         (open_archive): If AH->fname is non-null, open that file
72         rather than the default file name, and don't ignore ENOENT.
73         (create_archive): Set AH.fname to NULL.
74         (delete_locales_from_archive): Likewise.
75         (add_locales_to_archive): Likewise.
76         * locale/programs/locfile.c (write_all_categories): Likewise.
78 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
79             Aldy Hernandez  <aldyh@redhat.com>
81         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
82         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
83         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
84         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
85         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
86         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
87         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
88         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
89         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
90         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
91         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
92         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
93         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
94         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
95         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
96         Likewise.
97         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
98         Likewise.
99         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
100         Likewise.
101         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
102         Likewise.
103         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
104         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
105         Likewise.
106         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
107         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
108         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
109         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
110         Likewise.
111         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
112         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
113         * sysdeps/powerpc/preconfigure: Likewise.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
115         Likewise.
116         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
117         Replace contents of file by #include of <fenv_libc.h>.
118         * sysdeps/powerpc/soft-fp/sfp-machine.h
119         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
120         and <sys/prctl.h>.
121         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
122         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
123         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
124         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
125         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
126         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
128         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
129         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
130         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
131         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
132         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
134         Allow copysignl PLT reference to be missing.
136 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
137             Joseph Myers  <joseph@codesourcery.com
139         [BZ #15948]
140         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
141         single character.
142         (add_to_tablewc): Assert sequence of wide characters is nonempty.
144 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
146         * elf/tst-tls-dlinfo.c: Don't include tls.h.
147         * elf/tst-tls1.c: Likewise.
148         * elf/tst-tls10.h: Likewise.
149         * elf/tst-tls14.c: Likewise.
150         * elf/tst-tls2.c: Likewise.
151         * elf/tst-tls3.c: Likewise.
152         * elf/tst-tls4.c: Likewise.
153         * elf/tst-tls5.c: Likewise.
154         * elf/tst-tls6.c: Likewise.
155         * elf/tst-tls7.c: Likewise.
156         * elf/tst-tls8.c: Likewise.
157         * elf/tst-tls9.c: Likewise.
158         * elf/tst-tlsmod1.c: Likewise.
159         * elf/tst-tlsmod13.c: Likewise.
160         * elf/tst-tlsmod13a.c: Likewise.
161         * elf/tst-tlsmod14a.c: Likewise.
162         * elf/tst-tlsmod16a.c: Likewise.
163         * elf/tst-tlsmod16b.c: Likewise.
164         * elf/tst-tlsmod2.c: Likewise.
165         * elf/tst-tlsmod3.c: Likewise.
166         * elf/tst-tlsmod4.c: Likewise.
167         * elf/tst-tlsmod5.c: Likewise.
168         * elf/tst-tlsmod6.c: Likewise.
170 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
172         [BZ #12486]
173         * malloc/malloc.c: remove checks for statistics.
175 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
177         [BZ #15277]
178         * inet/inet_net.c (inet_network): Detect additional invalid strings.
179         * inet/tst-network.c: Add testcase.
181 2013-10-17  Andreas Schwab  <schwab@suse.de>
183         [BZ #15218]
184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
185         to determine canonical name.
187 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
189         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
190         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
191         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
192         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
194         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
195         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
196         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
197         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
198         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
199         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
200         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
201         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
202         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
203         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
204         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
206         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
207         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
208         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
211         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
212         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
213         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
214         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
215         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
216         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
217         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
218         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
219         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
220         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
221         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
222         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
223         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
224         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
225         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
226         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
227         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
228         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
229         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
230         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
231         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
232         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
233         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
234         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
235         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
236         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
237         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
238         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
239         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
240         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
241         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
242         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
243         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
244         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
245         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
246         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
248 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
250         [BZ #16041]
251         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
252         make result into a quiet NaN.
254 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
256         * soft-fp/adddf3.c: Fix horizontal whitespace.
257         * soft-fp/addsf3.c: Likewise.
258         * soft-fp/addtf3.c: Likewise.
259         * soft-fp/divdf3.c: Likewise.
260         * soft-fp/divsf3.c: Likewise.
261         * soft-fp/divtf3.c: Likewise.
262         * soft-fp/double.h: Likewise.
263         * soft-fp/eqdf2.c: Likewise.
264         * soft-fp/eqsf2.c: Likewise.
265         * soft-fp/eqtf2.c: Likewise.
266         * soft-fp/extenddftf2.c: Likewise.
267         * soft-fp/extended.h: Likewise.
268         * soft-fp/extendsfdf2.c: Likewise.
269         * soft-fp/extendsftf2.c: Likewise.
270         * soft-fp/extendxftf2.c: Likewise.
271         * soft-fp/fixdfdi.c: Likewise.
272         * soft-fp/fixdfsi.c: Likewise.
273         * soft-fp/fixdfti.c: Likewise.
274         * soft-fp/fixsfdi.c: Likewise.
275         * soft-fp/fixsfsi.c: Likewise.
276         * soft-fp/fixsfti.c: Likewise.
277         * soft-fp/fixtfdi.c: Likewise.
278         * soft-fp/fixtfsi.c: Likewise.
279         * soft-fp/fixtfti.c: Likewise.
280         * soft-fp/fixunsdfdi.c: Likewise.
281         * soft-fp/fixunsdfsi.c: Likewise.
282         * soft-fp/fixunsdfti.c: Likewise.
283         * soft-fp/fixunssfdi.c: Likewise.
284         * soft-fp/fixunssfsi.c: Likewise.
285         * soft-fp/fixunssfti.c: Likewise.
286         * soft-fp/fixunstfdi.c: Likewise.
287         * soft-fp/fixunstfsi.c: Likewise.
288         * soft-fp/fixunstfti.c: Likewise.
289         * soft-fp/floatdidf.c: Likewise.
290         * soft-fp/floatdisf.c: Likewise.
291         * soft-fp/floatditf.c: Likewise.
292         * soft-fp/floatsidf.c: Likewise.
293         * soft-fp/floatsisf.c: Likewise.
294         * soft-fp/floatsitf.c: Likewise.
295         * soft-fp/floattidf.c: Likewise.
296         * soft-fp/floattisf.c: Likewise.
297         * soft-fp/floattitf.c: Likewise.
298         * soft-fp/floatundidf.c: Likewise.
299         * soft-fp/floatundisf.c: Likewise.
300         * soft-fp/floatunditf.c: Likewise.
301         * soft-fp/floatunsidf.c: Likewise.
302         * soft-fp/floatunsisf.c: Likewise.
303         * soft-fp/floatunsitf.c: Likewise.
304         * soft-fp/floatuntidf.c: Likewise.
305         * soft-fp/floatuntisf.c: Likewise.
306         * soft-fp/floatuntitf.c: Likewise.
307         * soft-fp/fmadf4.c: Likewise.
308         * soft-fp/fmasf4.c: Likewise.
309         * soft-fp/fmatf4.c: Likewise.
310         * soft-fp/gedf2.c: Likewise.
311         * soft-fp/gesf2.c: Likewise.
312         * soft-fp/getf2.c: Likewise.
313         * soft-fp/ledf2.c: Likewise.
314         * soft-fp/lesf2.c: Likewise.
315         * soft-fp/letf2.c: Likewise.
316         * soft-fp/muldf3.c: Likewise.
317         * soft-fp/mulsf3.c: Likewise.
318         * soft-fp/multf3.c: Likewise.
319         * soft-fp/negdf2.c: Likewise.
320         * soft-fp/negsf2.c: Likewise.
321         * soft-fp/negtf2.c: Likewise.
322         * soft-fp/op-1.h: Likewise.
323         * soft-fp/op-2.h: Likewise.
324         * soft-fp/op-4.h: Likewise.
325         * soft-fp/op-8.h: Likewise.
326         * soft-fp/op-common.h: Likewise.
327         * soft-fp/quad.h: Likewise.
328         * soft-fp/single.h: Likewise.
329         * soft-fp/soft-fp.h: Likewise.
330         * soft-fp/sqrtdf2.c: Likewise.
331         * soft-fp/sqrtsf2.c: Likewise.
332         * soft-fp/sqrttf2.c: Likewise.
333         * soft-fp/subdf3.c: Likewise.
334         * soft-fp/subsf3.c: Likewise.
335         * soft-fp/subtf3.c: Likewise.
336         * soft-fp/truncdfsf2.c: Likewise.
337         * soft-fp/trunctfdf2.c: Likewise.
338         * soft-fp/trunctfsf2.c: Likewise.
339         * soft-fp/trunctfxf2.c: Likewise.
340         * soft-fp/unorddf2.c: Likewise.
341         * soft-fp/unordsf2.c: Likewise.
342         * soft-fp/unordtf2.c: Likewise.
344 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
346         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
347         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
349 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
351         * elf/dl-libc.c: Clear initfini list after freeing.
353 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
355         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
356         * soft-fp/addsf3.c: Likewise.
357         * soft-fp/addtf3.c: Likewise.
358         * soft-fp/divdf3.c: Likewise.
359         * soft-fp/divsf3.c: Likewise.
360         * soft-fp/divtf3.c: Likewise.
361         * soft-fp/double.h: Likewise.
362         * soft-fp/eqdf2.c: Likewise.
363         * soft-fp/eqsf2.c: Likewise.
364         * soft-fp/eqtf2.c: Likewise.
365         * soft-fp/extenddftf2.c: Likewise.
366         * soft-fp/extended.h: Likewise.
367         * soft-fp/extendsfdf2.c: Likewise.
368         * soft-fp/extendsftf2.c: Likewise.
369         * soft-fp/extendxftf2.c: Likewise.
370         * soft-fp/fixdfdi.c: Likewise.
371         * soft-fp/fixdfsi.c: Likewise.
372         * soft-fp/fixdfti.c: Likewise.
373         * soft-fp/fixsfdi.c: Likewise.
374         * soft-fp/fixsfsi.c: Likewise.
375         * soft-fp/fixsfti.c: Likewise.
376         * soft-fp/fixtfdi.c: Likewise.
377         * soft-fp/fixtfsi.c: Likewise.
378         * soft-fp/fixtfti.c: Likewise.
379         * soft-fp/fixunsdfdi.c: Likewise.
380         * soft-fp/fixunsdfsi.c: Likewise.
381         * soft-fp/fixunsdfti.c: Likewise.
382         * soft-fp/fixunssfdi.c: Likewise.
383         * soft-fp/fixunssfsi.c: Likewise.
384         * soft-fp/fixunssfti.c: Likewise.
385         * soft-fp/fixunstfdi.c: Likewise.
386         * soft-fp/fixunstfsi.c: Likewise.
387         * soft-fp/fixunstfti.c: Likewise.
388         * soft-fp/floatdidf.c: Likewise.
389         * soft-fp/floatdisf.c: Likewise.
390         * soft-fp/floatditf.c: Likewise.
391         * soft-fp/floatsidf.c: Likewise.
392         * soft-fp/floatsisf.c: Likewise.
393         * soft-fp/floatsitf.c: Likewise.
394         * soft-fp/floattidf.c: Likewise.
395         * soft-fp/floattisf.c: Likewise.
396         * soft-fp/floattitf.c: Likewise.
397         * soft-fp/floatundidf.c: Likewise.
398         * soft-fp/floatundisf.c: Likewise.
399         * soft-fp/floatunsidf.c: Likewise.
400         * soft-fp/floatunsisf.c: Likewise.
401         * soft-fp/floatuntidf.c: Likewise.
402         * soft-fp/floatuntisf.c: Likewise.
403         * soft-fp/floatuntitf.c: Likewise.
404         * soft-fp/fmadf4.c: Likewise.
405         * soft-fp/fmasf4.c: Likewise.
406         * soft-fp/fmatf4.c: Likewise.
407         * soft-fp/gedf2.c: Likewise.
408         * soft-fp/gesf2.c: Likewise.
409         * soft-fp/getf2.c: Likewise.
410         * soft-fp/ledf2.c: Likewise.
411         * soft-fp/lesf2.c: Likewise.
412         * soft-fp/letf2.c: Likewise.
413         * soft-fp/muldf3.c: Likewise.
414         * soft-fp/mulsf3.c: Likewise.
415         * soft-fp/multf3.c: Likewise.
416         * soft-fp/negdf2.c: Likewise.
417         * soft-fp/negsf2.c: Likewise.
418         * soft-fp/negtf2.c: Likewise.
419         * soft-fp/op-1.h: Likewise.
420         * soft-fp/op-2.h: Likewise.
421         * soft-fp/op-4.h: Likewise.
422         * soft-fp/op-8.h: Likewise.
423         * soft-fp/op-common.h: Likewise.
424         * soft-fp/quad.h: Likewise.
425         * soft-fp/single.h: Likewise.
426         * soft-fp/soft-fp.h: Likewise.
427         * soft-fp/sqrtdf2.c: Likewise.
428         * soft-fp/sqrtsf2.c: Likewise.
429         * soft-fp/sqrttf2.c: Likewise.
430         * soft-fp/subdf3.c: Likewise.
431         * soft-fp/subsf3.c: Likewise.
432         * soft-fp/subtf3.c: Likewise.
433         * soft-fp/truncdfsf2.c: Likewise.
434         * soft-fp/trunctfdf2.c: Likewise.
435         * soft-fp/trunctfsf2.c: Likewise.
436         * soft-fp/trunctfxf2.c: Likewise.
437         * soft-fp/unorddf2.c: Likewise.
438         * soft-fp/unordsf2.c: Likewise.
439         * soft-fp/unordtf2.c: Likewise.
441 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
443         [BZ #15672]
444         * misc/error.c (error_tail): Fix possible buffer overflow.
446 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
448         [BZ #13028]
449         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
450         address.
452 2013-10-14  P. J. McDermott  <pj@pehjota.net>
454         [BZ #832]
455         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
456         testing pipefail option.
458 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
460         * soft-fp/double.h: Indent preprocessor directives inside #if.
461         * soft-fp/extended.h: Likewise.
462         * soft-fp/op-2.h: Likewise.
463         * soft-fp/op-4.h: Likewise.
464         * soft-fp/op-common.h: Likewise.
465         * soft-fp/quad.h: Likewise.
466         * soft-fp/single.h: Likewise.
467         * soft-fp/soft-fp.h: Likewise.
469 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
471         * iconv/iconv_prog.c: Fix typos.
472         * stdio-common/psiginfo-data.h: Likewise.
474 2013-10-12   Reuben Thomas <rrt@sc3d.org>
476         [BZ #15764]
477         * locale/setlocale.c: Fix typo.
479 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
481         [BZ #16036]
482         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
483         signaling NaN arguments.
484         * soft-fp/unordsf2.c (__unordsf2): Likewise.
485         * soft-fp/unordtf2.c (__unordtf2): Likewise.
487         [BZ #14910]
488         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
489         unordered operands.
490         * soft-fp/gesf2.c (__gesf2): Likewise.
491         * soft-fp/getf2.c (__getf2): Likewise.
492         * soft-fp/ledf2.c (__ledf2): Likewise.
493         * soft-fp/lesf2.c (__lesf2): Likewise.
494         * soft-fp/letf2.c (__letf2): Likewise.
496         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
497         * soft-fp/eqsf2.c (__eqsf2): Likewise.
498         * soft-fp/eqtf2.c (__eqtf2): Likewise.
499         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
500         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
501         * soft-fp/fixdfti.c (__fixdfti): Likewise.
502         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
503         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
504         * soft-fp/fixsfti.c (__fixsfti): Likewise.
505         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
506         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
507         * soft-fp/fixtfti.c (__fixtfti): Likewise.
508         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
509         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
510         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
511         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
512         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
513         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
514         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
515         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
516         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
517         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
518         * soft-fp/floatdisf.c (__floatdisf): Likewise.
519         * soft-fp/floatsisf.c (__floatsisf): Likewise.
520         * soft-fp/floattidf.c (__floattidf): Likewise.
521         * soft-fp/floattisf.c (__floattisf): Likewise.
522         * soft-fp/floattitf.c (__floattitf): Likewise.
523         * soft-fp/floatundidf.c (__floatundidf): Likewise.
524         * soft-fp/floatundisf.c (__floatundisf): Likewise.
525         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
526         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
527         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
528         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
529         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
530         * soft-fp/gesf2.c (__gesf2): Likewise.
531         * soft-fp/getf2.c (__getf2): Likewise.
532         * soft-fp/ledf2.c (__ledf2): Likewise.
533         * soft-fp/lesf2.c (__lesf2): Likewise.
534         * soft-fp/letf2.c (__letf2): Likewise.
536         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
537         Undefine and redefine.
538         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
539         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
540         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
541         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
542         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
543         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
544         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
545         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
546         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
547         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
548         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
549         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
550         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
551         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
552         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
554         [BZ #16032]
555         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
556         without decrementing exponent if mantissa >= that for the
557         denominator, not >.
558         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
559         denominator, not >.  Decrement exponent in < case instead of
560         incrementing in >= case.
561         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
562         without decrementing exponent if mantissa >= that for the
563         denominator, not >.
565         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
566         computing saturated result for unsigned overflow.
568 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
569             Jeff Law  <law@redhat.com>
571         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
572         (atan2Mp): Add systemtap probe marker.
573         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
574         (__ieee754_log): Add systemtap probe marker.
575         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
576         (atanMp): Add systemtap probe marker.
577         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
578         (tanMp): Add systemtap probe marker.
579         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
580         (__slowexp): Add systemtap probe marker.
581         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
582         (__slowpow): Add systemtap probe marker.
583         * manual/probes.texi: Document probes.
585 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
587         [BZ #15362]
588         * libio/fileops.c (_IO_new_file_write): Return count of bytes
589         written.
590         (_IO_new_file_xsputn): Don't return EOF if nothing has been
591         written.
592         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
593         written to buffer but not flushed.
594         * libio/iofwrite_u.c:  Likewise.
595         * libio/iopadn.c:  Return bytes returned even if EOF was
596         encountered.
597         * libio/iowpadn.c:  Likewise.
598         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
599         if _IO_padn does not write the whole buffer.
600         [!COMPILE_WPRINTF] (PAD): Likewise.
602 2013-10-10  David S. Miller  <davem@davemloft.net>
604         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
605         directory block.
607 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
609         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
610         instead of FSF address.
611         * soft-fp/fixdfti.c: Likewise.
612         * soft-fp/fixsfti.c: Likewise.
613         * soft-fp/fixtfti.c: Likewise.
614         * soft-fp/fixunsdfti.c: Likewise.
615         * soft-fp/fixunssfti.c: Likewise.
616         * soft-fp/fixunstfti.c: Likewise.
617         * soft-fp/floattidf.c: Likewise.
618         * soft-fp/floattisf.c: Likewise.
619         * soft-fp/floattitf.c: Likewise.
620         * soft-fp/floatuntidf.c: Likewise.
621         * soft-fp/floatuntisf.c: Likewise.
622         * soft-fp/floatuntitf.c: Likewise.
623         * soft-fp/trunctfxf2.c: Likewise.
625         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
626         * soft-fp/fixdfti.c: Likewise.
627         * soft-fp/fixsfti.c: Likewise.
628         * soft-fp/fixtfti.c: Likewise.
629         * soft-fp/fixunsdfti.c: Likewise.
630         * soft-fp/fixunssfti.c: Likewise.
631         * soft-fp/fixunstfti.c: Likewise.
632         * soft-fp/floattidf.c: Likewise.
633         * soft-fp/floattisf.c: Likewise.
634         * soft-fp/floattitf.c: Likewise.
635         * soft-fp/floatuntidf.c: Likewise.
636         * soft-fp/floatuntisf.c: Likewise.
637         * soft-fp/floatuntitf.c: Likewise.
638         * soft-fp/trunctfxf2.c: Likewise.
640 2013-10-10  David S. Miller  <davem@davemloft.net>
642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
644 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
646         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
647         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
648         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
649         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
650         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
651         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
652         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
654         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
655         for NaNs before doing comparisons on argument.
656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
657         Likewise.
659 2013-10-10  Will Newton  <will.newton@linaro.org>
661         * malloc/hooks.c (memalign_check): Ensure the value of bytes
662         passed to _int_memalign does not overflow.
664 2013-10-10  Torvald Riegel  <triegel@redhat.com>
666         * scripts/bench.pl: Add include-sources directive.
667         * benchtests/README: Update documentation.
669 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
671         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
672         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
673         instead of FP_INIT_ROUNDMODE.
674         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
675         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
677         [BZ #16034]
678         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
679         copy class of input value.
680         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
681         not handle exceptions.
682         * soft-fp/negsf2.c (__negsf2): Likewise.
683         * soft-fp/negtf2.c (__negtf2): Likewise.
684         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
686 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
688         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
689         semicolon.  From Linux kernel.
691 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
693         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
695 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
697         [BZ #156]
698         * manual/socket.texi: Added statement about buffer
699         for gethostbyname2_r.
701 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
703         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
704         Use .p2align directive instead, throughout.
705         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
706         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
707         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
709         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
710         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
711         * sysdeps/x86_64/strchr.S: Likewise.
712         * sysdeps/x86_64/strrchr.S: Likewise.
714 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
716         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
718         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
720         * sysdeps/generic/math_private.h (__mpsin1): Remove
721         declaration.
722         (__mpcos1): Likewise.
723         (__mpsin): New argument __range_reduce.
724         (__mpcos): Likewise.
725         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
726         (slow): Use __mpsin and __mpcos.
727         (slow1): Likewise.
728         (slow2): Likewise.
729         (sloww): Likewise.
730         (sloww1): Likewise.
731         (sloww2): Likewise.
732         (bsloww): Likewise.
733         (bsloww1): Likewise.
734         (bsloww2): Likewise.
735         (cslow2): Likewise.
736         (csloww): Likewise.
737         (csloww1): Likewise.
738         (csloww2): Likewise.
739         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
740         range_reduce.  Merge in __mpsin1.
741         (__mpcos): Likewise.
742         (__mpsin1): Remove.
743         (__mpcos1): Likewise.
745 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
747         * locale/loadlocale.c (_nl_intern_locale_data): Use
748         LOCFILE_ALIGNED_P.
749         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
750         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
751         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
752         obstack data is appropriately aligned.
753         (obstack_int32_grow_fast): Likewise.
754         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
755         * locale/programs/locfile.c (add_locale_uint32): Likewise.
756         (add_locale_uint32_array): Likewise.
758 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
760         * benchtests/Makefile: Remove ARGLIST and RET variables.
761         ($(objpfx)bench-%.c): Pass only function name to the script.
762         * benchtests/README: Update documentation.
763         * benchtests/acos-inputs: Add new directives.
764         * benchtests/acosh-inputs: Likewise.
765         * benchtests/asin-inputs: Likewise.
766         * benchtests/asinh-inputs: Likewise.
767         * benchtests/atan-inputs: Likewise.
768         * benchtests/atanh-inputs: Likewise.
769         * benchtests/cos-inputs: Likewise.
770         * benchtests/cosh-inputs: Likewise.
771         * benchtests/exp-inputs: Likewise.
772         * benchtests/log-inputs: Likewise.
773         * benchtests/pow-inputs: Likewise.
774         * benchtests/rint-inputs: Likewise.
775         * benchtests/sin-inputs: Likewise.
776         * benchtests/sinh-inputs: Likewise.
777         * benchtests/tan-inputs: Likewise.
778         * benchtests/tanh-inputs: Likewise.
779         * scripts/bench.pl: Add support for new directives.
781 2013-10-07  Alan Modra  <amodra@gmail.com>
783         * README: Fix careless merge.
785 2013-10-05  Alan Modra  <amodra@gmail.com>
787         * NEWS: Mention powerpc64le support and bugs fixed.
788         * README: Both big-endian and little-endian powerpc64 supported.
790 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
792         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
793         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
794         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
795         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
797 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
799         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
800         match prototype.
802 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
804         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
805         Move -mhard-float appending from
806         ports/sysdeps/powerpc/powerpc32/Makefile.
807         [$(with-fp) = yes] (ASFLAGS): Likewise.
808         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
809         * sysdeps/powerpc/nofpu: Move directory from
810         ports/sysdeps/powerpc/nofpu.
811         * sysdeps/powerpc/soft-fp: Move directory from
812         ports/sysdeps/powerpc/soft-fp.
813         * sysdeps/powerpc/powerpc32/405: Move directory from
814         ports/sysdeps/powerpc/powerpc32/405.
815         * sysdeps/powerpc/powerpc32/440: Move directory from
816         ports/sysdeps/powerpc/powerpc32/440.
817         * sysdeps/powerpc/powerpc32/464: Move directory from
818         ports/sysdeps/powerpc/powerpc32/464.
819         * sysdeps/powerpc/powerpc32/476: Move directory from
820         ports/sysdeps/powerpc/powerpc32/476.
821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
822         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
824         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
826         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
828         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
830         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
831         * README: Update for powerpc-*-linux-gnu software floating point
832         support in libc.
834         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
835         case to powerpc/powerpc32*.
836         * sysdeps/unix/sysv/linux/configure: Regenerated.
838         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
839         (_FPU_MASK_OM): Define as 0x04.
840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
841         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
842         0x00c10080.
843         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
844         0x0000003c.
845         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
848         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
849         getcontext_e500.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
851         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
852         setcontext_e500.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
854         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
855         and setcontext_e500.
857 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
859         * locale/iso-3166.def: Update iso-1366.def and related occurrences
861 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
863         * manual/threads.texi (Default Thread Attributes): Fix typo.
865 2013-10-04  Will Newton  <will.newton@linaro.org>
867         * malloc/Makefile: Add tst-memalign.
868         * malloc/tst-memalign.c: New file.
870         * malloc/tst-posix_memalign.c: Add comments.
871         (do_test): Add comments and call free on all potentially
872         allocated pointers. Add space after cast.
874         * malloc/tst-pvalloc.c: Add comments.
875         (do_test): Add comments and call free on all potentially
876         allocated pointers. Remove duplicate check for NULL pointer.
877         Add space after cast.
879         * malloc/tst-valloc.c: Add comments.
880         (do_test): Add comments and call free on all potentially
881         allocated pointers. Remove duplicate check for NULL pointer.
882         Add space after cast.
884 2013-10-04  Alan Modra  <amodra@gmail.com>
886         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
887         Use stdint types in rather than __attribute__((mode())).
888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
890 2013-10-04  Alan Modra  <amodra@gmail.com>
892         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
893         Correct handling of unaligned relocs for little-endian.
894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
896 2013-10-04  Alan Modra  <amodra@gmail.com>
898         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
899         * configure: Regenerate.
900         * nptl/shlib-versions: Powerpc*le starts at 2.18.
901         * shlib-versions: Likewise.
903 2013-10-04  Alan Modra  <amodra@gmail.com>
905         * string/tester.c (test_memrchr): Increment reported test cycle.
907 2013-10-04  Alan Modra  <amodra@gmail.com>
909         * string/test-memcpy.c (do_one_test): When reporting errors, print
910         string address and don't overrun end of string.
912 2013-10-04  Alan Modra  <amodra@gmail.com>
914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
915         insrdi.  Make better use of reg selection to speed exit slightly.
916         Schedule entry path a little better.  Remove useless "are we done"
917         checks on entry to main loop.  Handle wrapping around zero address.
918         Correct main loop count.  Handle single left-over word from main
919         loop inline rather than by using loop_small.  Remove extra word
920         case in loop_small caused by wrong loop count.  Add little-endian
921         support.
922         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
923         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
924         cache hint.
925         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
926         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
927         support.  Avoid rlwimi.
928         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
930 2013-10-04  Alan Modra  <amodra@gmail.com>
932         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
933         insrdi.  Formatting.
934         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
935         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
936         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
937         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
938         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
939         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
941 2013-10-04  Alan Modra  <amodra@gmail.com>
943         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
944         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
946         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
947         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
948         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
949         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
950         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
951         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
952         use of regs.  Use power7 mtocrf.  Tidy function tails.
954 2013-10-04  Alan Modra  <amodra@gmail.com>
956         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
957         Formatting.  Consistently use rXXX register defines or rN defines.
958         Use early exit labels that avoid restoring unused non-volatile regs.
959         Make cr field use more consistent with rWORDn compares.  Rename
960         regs used as shift registers for unaligned loop, using rN defines
961         for short lifetime/multiple use regs.
962         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
963         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
964         addi 1,1,64 to pop stack frame.  Simplify return value code.
965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
967 2013-10-04  Alan Modra  <amodra@gmail.com>
969         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
970         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
971         rather than rlwimi.
972         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
973         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
974         little-endian support.  Correct typos.
975         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
976         rather than rlwimi.
977         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
978         in loop and entry code to keep "and." results.
979         (strchr): Add little-endian support.  Comment.  Move cntlzd
980         earlier in tail.
981         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
983 2013-10-04  Alan Modra  <amodra@gmail.com>
985         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
986         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
987         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
988         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
990 2013-10-04  Alan Modra  <amodra@gmail.com>
992         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
993         (rTMP): Define as r11.
994         (strcmp): Add little-endian support.  Optimise tail.
995         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
996         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
997         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
998         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
999         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1000         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1003 2013-10-04  Alan Modra  <amodra@gmail.com>
1005         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1006         little-endian support.  Remove unnecessary "are we done" tests.
1007         Handle "s" wrapping around zero and extremely large "size".
1008         Correct main loop count.  Handle single left-over word from main
1009         loop inline rather than by using small_loop.  Correct comments.
1010         Delete "zero" tail, use "end_max" instead.
1011         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1013 2013-10-04  Alan Modra  <amodra@gmail.com>
1015         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1016         support.  Don't branch over align.
1017         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1018         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1019         support.  Rearrange tmp reg use to suit.  Comment.
1020         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1022 2013-10-04  Alan Modra  <amodra@gmail.com>
1024         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1026 2013-10-04  Alan Modra  <amodra@gmail.com>
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1029         conditional form of branch and link when obtaining pc.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1032 2013-10-04  Alan Modra  <amodra@gmail.com>
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1035         HIWORD/LOWORD.
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1039 2013-10-04  Alan Modra  <amodra@gmail.com>
1041         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1042         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1043         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1044         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1045         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1047         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1048         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1049         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1050         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1052 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1053             Alistair Popple <alistair@ozlabs.au.ibm.com>
1054             Alan Modra <amodra@gmail.com>
1056         [BZ #15723]
1057         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1058         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1059         _dl_hwcap access for little-endian.
1060         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1061         destroy vmx regs when saving unaligned.
1062         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1063         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1064         destroy vmx regs when saving unaligned.
1066 2013-10-04  Alan Modra  <amodra@gmail.com>
1068         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1069         Don't use a union to pack hi/low value.
1071 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1073         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1074         for little-endian.
1075         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1076         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1077         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1078         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1079         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1081 2013-10-04  Alan Modra  <amodra@gmail.com>
1083         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1084         constants to usual value for .cst8 section, and remove redundant
1085         high address load.
1086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1087         constant for 0x1p52.  Load little-endian words of double from
1088         correct stack offsets.
1090 2013-10-04  Alan Modra  <amodra@gmail.com>
1092         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1093         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1094         words of double from correct stack offsets.
1095         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1096         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1097         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1099         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1100         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1101         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1102         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1103         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1104         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1105         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1106         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1107         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1108         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1109         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1110         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1111         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1113 2013-10-04  Alan Modra  <amodra@gmail.com>
1115         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1116         64-bit int/double union.
1117         (_FPU_SETCW): Likewise.
1118         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1119         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1121 2013-10-04  Alan Modra  <amodra@gmail.com>
1123         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1124         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1126 2013-10-04  Alan Modra  <amodra@gmail.com>
1128         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1129         use vector int constants.
1130         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1132 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1134         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1135         array with long long.
1136         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1137         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1138         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1139         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1140         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1141         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1142         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1143         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1144         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1145         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1146         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1147         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1148         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1150 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1152         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1153         (__signbit): Likewise.  Correct for little-endian.
1154         (__signbitl): Call __signbit.
1155         (lrint): Correct for little-endian.
1156         (lrintf): Call lrint.
1158 2013-10-04  Alan Modra  <amodra@gmail.com>
1160         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1161         union 32-bit int array member with 64-bit int array.
1162         (t515, tm256): Double rather than long double.
1163         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1165 2013-10-04  Alan Modra  <amodra@gmail.com>
1167         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1168         Delete.
1169         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1170         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1171         version of math_ldbl.h.
1173 2013-10-04  Alan Modra  <amodra@gmail.com>
1175         [BZ #15734], [BZ #15735]
1176         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1177         all uses of ieee875 long double macros and unions.  Simplify test
1178         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1179         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1180         normalize after ldbl_extract_mantissa, and don't add hidden bit
1181         already handled.  Don't treat low word of ieee854 mantissa like
1182         low word of IBM long double and mask off bit when testing for
1183         zero.
1184         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1185         all uses of ieee875 long double macros and unions.  Simplify tests
1186         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1187         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1188         two1022, instead use their values.  Recognise that tests for large
1189         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1190         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1191         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1192         test for 0.0L and nan.  Correct negation.
1193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1194         ieee875 long double macros and unions.  Correct output for large
1195         magnitude x.  Correct absolute value calculation.
1196         (__erfcl): Likewise.
1197         * math/libm-test.inc: Add tests for errors discovered in IBM long
1198         double versions of fmodl, remainderl, erfl and erfcl.
1200 2013-10-04  Alan Modra  <amodra@gmail.com>
1202         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1203         all uses of ieee854 long double macros and unions.  Simplify tests
1204         for long doubles that are fully specified by the high double.
1205         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1206         Likewise.
1207         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1208         Remove dead code too.
1209         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1210         (__ieee754_ynl): Likewise.
1211         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1212         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1213         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1214         Remove dead code too.
1215         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1216         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1217         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1218         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1219         Simplify.
1220         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1221         Simplify.
1222         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1223         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1225         Comment on variable precision.
1226         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1227         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1228         Likewise.
1229         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1230         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1231         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1232         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1233         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1235 2013-10-04  Alan Modra  <amodra@gmail.com>
1237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1239         all uses of ieee854 long double macros and unions.
1240         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1241         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1242         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1243         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1244         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1245         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1246         Likewise.
1247         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1248         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1249         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1250         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1251         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1252         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1253         Simplify sign and nan test too.
1254         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1255         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1256         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1257         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1258         Likewise.
1259         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1260         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1261         Likewise.
1262         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1263         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1264         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1265         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1266         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1269 2013-10-04  Alan Modra  <amodra@gmail.com>
1271         * stdio-common/printf_size.c (__printf_size): Don't use
1272         union ieee854_long_double in fpnum union.
1273         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1274         signbit macro to retrieve sign from long double.
1275         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1276         retrieve sign from long double.
1277         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1278         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1279         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1280         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1281         * math/test-misc.c (main): Don't use union ieee854_long_double.
1283 2013-10-04  Alan Modra  <amodra@gmail.com>
1285         [BZ #15680]
1286         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1287         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1288         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1289         calculation.  Remove unnecessary test for denormal exponent.
1290         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1291         Correct handling of denormals.  Avoid undefined shift behaviour.
1292         Correct normalisation of low mantissa when low double is denormal.
1293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1294         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1295         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1296         Correct normalisation of low mantissa.  Test for overflow of high
1297         mantissa and normalise.
1298         (ldbl_nearbyint): Use more readable constant for two52.
1299         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1300         (__mpn_construct_long_double): Fix test for overflow of high
1301         mantissa and correct normalisation.  Avoid undefined shift.
1303 2013-10-04  Alan Modra  <amodra@gmail.com>
1305         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1306         (union ibm_extended_long_double): Define as an array of ieee754_double.
1307         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1308         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1309         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1310         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1311         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1312         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1314         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1317         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1319 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1321         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1322         page size instead of calling getpagesize.
1324         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1325         (LOCFILE_ALIGN_MASK): Likewise.
1326         (LOCFILE_ALIGN_UP): Likewise.
1327         (LOCFILE_ALIGNED_P): Likewise.
1328         * locale/programs/ld-collate.c (collate_output): Use the new
1329         macros instead of __alignof__ (int32_t).
1330         * locale/weight.h (findidx): Likewise.
1332 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1334         [BZ #431]
1335         * manual/string.texi: Fix strncat and wcsncat.
1337 2013-10-03  Brooks Moses  <bmoses@google.com>
1339         [BZ #15915]
1340         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1341         * Makerules: ...here, and adjust associated comments.
1343 2013-10-02  Will Newton  <will.newton@linaro.org>
1345         * malloc/Makefile: Add tst-pvalloc.
1346         * malloc/tst-pvalloc.c: New file.
1348 2013-10-02  Will Newton  <will.newton@linaro.org>
1350         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1351         improve test coverage.
1353 2013-10-02  Will Newton  <will.newton@linaro.org>
1355         * malloc/Makefile: Add tst-posix_memalign.
1356         * malloc/tst-posix_memalign.c: New file.
1358 2013-10-01  Eric Blake  <eblake@redhat.com>
1360         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1361         Use __THROWNL rather than __THROW on static functions.
1363 2013-09-30  Petr Machata  <pmachata@redhat.com>
1365         * elf/elf.h (R_AARCH64_ABS16): New macro.
1366         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1367         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1368         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1369         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1370         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1371         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1372         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1373         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1374         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1375         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1376         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1377         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1378         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1379         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1380         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1381         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1382         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1383         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1384         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1385         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1386         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1387         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1388         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1389         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1390         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1391         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1392         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1393         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1394         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1395         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1396         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1397         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1398         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1399         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1400         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1401         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1402         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1403         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1404         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1405         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1406         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1407         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1408         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1409         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1410         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1411         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1412         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1413         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1414         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1415         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1416         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1417         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1418         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1419         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1420         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1421         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1422         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1423         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1424         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1425         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1426         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1427         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1428         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1429         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1430         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1431         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1432         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1433         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1434         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1435         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1436         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1437         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1438         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1439         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1440         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1441         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1442         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1443         (R_AARCH64_TLSDESC_LDR): Likewise.
1444         (R_AARCH64_TLSDESC_ADD): Likewise.
1445         (R_AARCH64_TLSDESC_CALL): Likewise.
1447 2013-09-30  Andreas Schwab  <schwab@suse.de>
1449         [BZ #15048]
1450         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1451         the nss database lookup.
1452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1455 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1457         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1459 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1461         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1462         ${Bash-specific parameter/pattern/string} parameter expansion.
1463         * sysdeps/unix/make-syscalls.sh: Likewise.
1465 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1467         * sysdeps/sh/stackguard-macros.h: New file.
1469 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1473         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1474         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1475         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1476         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1478 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1480         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1481         Fix thread ID register.
1483 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1485         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1486         [POSIX || UNIX98]: Require rather than permitting all symbols from
1487         <time.h>.
1488         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1489         element of struct sched_param.
1490         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1491         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1492         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1493         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1494         constant.
1496 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1498         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1499         argument calculation.
1501 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1503         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1504         Expect macro.
1505         [POSIX] (pthread_attr_t): Do not require type.
1506         [POSIX] (pthread_cond_t): Likewise.
1507         [POSIX] (pthread_condattr_t): Likewise.
1508         [POSIX] (pthread_key_t): Likewise.
1509         [POSIX] (pthread_mutex_t): Likewise.
1510         [POSIX] (pthread_mutexattr_t): Likewise.
1511         [POSIX] (pthread_once_t): Likewise.
1512         [POSIX] (pthread_t): Likewise.
1513         [POSIX-based standards] (pthread_atfork): Expect function.
1515 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1516             Richard Sandiford  <richard@codesourcery.com>
1518         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1519         (swap_endianness_p): New extern variable.
1520         (set_big_endian): New inline function.
1521         (maybe_swap_uint32): Likewise.
1522         (maybe_swap_uint32_array): Likewise.
1523         (maybe_swap_uint32_obstack): Likewise.
1524         * locale/programs/locfile.c: Include <stdbool.h>.
1525         (swap_endianness_p): New variable.
1526         (add_locale_uint32): Call maybe_swap_uint32.
1527         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1528         (write_locale_data): Call maybe_swap_uint32_array.
1529         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1530         maybe_swap_uint32.
1531         (obstack_int32_grow_fast): Likewise.
1532         (output_weightwc): Call maybe_swap_uint32_obstack.
1533         (collate_output): Likewise.
1534         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1535         (OPT_LITTLE_ENDIAN): Likewise.
1536         (options): Add --little-endian and --big-endian options.
1537         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1538         * locale/programs/locarchive.c: Include "locfile.h".
1539         (GET): New macro.
1540         (SET): Likewise.
1541         (INC): Likewise.
1542         (create_archive): Use the new macros to access fields of
1543         structures directly mapped from or written to locale archives.
1544         (oldlocrecentcmp): Likewise.
1545         (enlarge_archive): Likewise.
1546         (insert_name): Likewise.
1547         (add_alias): Likewise.
1548         (add_locale): Likewise.
1549         (delete_locales_from_archive): Likewise.
1550         (show_archive_content): Likewise.
1551         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1552         locale data.
1554 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1556         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1557         http://www.gnu.org/doc/freemanuals.texi.
1558         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1560 2013-09-24  Will Newton  <will.newton@linaro.org>
1562         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1563         macro.
1565 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1567         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1568         unsigned char.
1570 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1572         * manual/threads.texi (POSIX Threads): Fix a typo.
1574 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1576         [BZ #14547]
1577         * string/tst-strcoll-overflow.c: New test case.
1578         * string/Makefile (xtests): Add tst-strcoll-overflow.
1579         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1580         cache if string sizes may cause integer overflow.
1582         [BZ #14547]
1583         * string/strcoll_l.c (coll_seq): New members rule, idx,
1584         save_idx and back_us.
1585         (get_next_seq_nocache): New function.
1586         (do_compare_nocache): New function.
1587         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1588         when malloc fails.
1590 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1592         [BZ #15754]
1593         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1594         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1595         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1597         [BZ #15754]
1598         * elf/Makefile (tests): Add tst-ptrguard1.
1599         (tests-static): Add tst-ptrguard1-static.
1600         (tst-ptrguard1-ARGS): Define.
1601         (tst-ptrguard1-static-ARGS): Define.
1602         * elf/tst-ptrguard1.c: New file.
1603         * elf/tst-ptrguard1-static.c: New file.
1604         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1605         * sysdeps/i386/stackguard-macros.h: Likewise.
1606         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1607         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1608         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1609         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1610         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1611         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1613 2013-09-23  Hector Marco  <hecmargi@upv.es>
1614             Ismael Ripoll  <iripoll@disca.upv.es>
1615             Carlos O'Donell  <carlos@redhat.com>
1617         [BZ #15754]
1618         * sysdeps/generic/stackguard-macros.h: Define
1619         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1620         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1621         Define __pointer_chk_guard_local.
1622         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1623         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1625 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1627         [BZ #15859]
1628         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1630 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1632         * include/string.h (__ffs): Declare as hidden.
1633         * string/ffs.c (__ffs): Define as hidden.
1634         * sysdeps/i386/ffs.c (__ffs): Likewise.
1635         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1636         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1637         * sysdeps/s390/ffs.c (__ffs): Likewise.
1638         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1640 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1642         * NEWS: Mention malloc probes.
1644         * malloc/arena.c (new_heap): New memory_heap_new probe.
1645         (grow_heap): New memory_heap_more probe.
1646         (shrink_heap): New memory_heap_less probe.
1647         (heap_trim): New memory_heap_free probe.
1648         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1649         (systrim): New memory_sbrk_less probe.
1650         * manual/probes.texi: Document them.
1652         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1653         * manual/probes.texi: Document it.
1655         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1656         (__libc_realloc): Add memory_realloc_retry probe.
1657         (__libc_memalign): Add memory_memalign_retry probe.
1658         (__libc_valloc): Add memory_valloc_retry probe.
1659         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1660         (__libc_calloc): Add memory_calloc_retry probe.
1661         * manual/probes.texi: Document them.
1663         * malloc/arena.c (get_free_list): Add probe
1664         memory_arena_reuse_free_list.
1665         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1666         and memory_arena_reuse.
1667         (arena_get2) [!PER_THREAD]: Likewise.
1668         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1669         memory_arena_reuse_realloc.
1670         * manual/probes.texi: Document them.
1672         * malloc/malloc.c (__libc_free): Add
1673         memory_mallopt_free_dyn_thresholds probe.
1674         (__libc_mallopt): Add multiple memory_mallopt probes.
1675         * manual/probes.texi: Document them.
1677         * malloc/malloc.c: Include stap-probe.h.
1678         (__libc_mallopt): Add memory_mallopt probe.
1679         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1680         * manual/probes.texi: New.
1681         * manual/Makefile (chapters): Add probes.
1682         * manual/threads.texi: Set next node.
1684 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1686         [BZ #15963, #13985]
1687         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1688         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1689         Add `Chinese' to `nan' entry name.
1691 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1693         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1694         (POLYNOMIAL): Likewise.
1695         (TAYLOR_SINCOS): Likewise.
1696         (TAYLOR_SLOW): Likewise.
1697         (__sin): Use TAYLOR_SINCOS.
1698         (__cos): Likewise.
1699         (slow): Use TAYLOR_SLOW.
1700         (sloww): Likewise.
1701         (bsloww): Likewise.
1702         (csloww): Likewise.
1704 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1706         * stdlib/strtod_l.c: Fix buffer overrun.
1708 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1710         * benchtests/Makefile (bench): Add sincos.
1711         * benchtests/bench-sincos.c: New file.
1713         * math/libm-test.inc (cos_test_data): New test inputs.
1714         (sin_test_data): Likewise.
1716         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1717         macro.
1718         (__sin): Use it.
1719         (__cos): Likewise.
1720         (slow1): Likewise.
1721         (slow2): Likewise.
1722         (sloww1): Likewise.
1723         (sloww2): Likewise.
1724         (bsloww1): Likewise.
1725         (bsloww2): Likewise.
1726         (cslow2): Likewise.
1727         (csloww1): Likewise.
1728         (csloww2): Likewise.
1730         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1731         function.
1732         (__sin): Use it.
1733         (__cos): Likewise.
1735         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1736         gotos.
1737         (__cos): Likewise.
1739 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1741         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1742         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1743         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1744         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1745         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1746         * elf/cache.c (print_entry): Handle the new cache flags.
1748 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1749             Aldy Hernandez  <aldyh@redhat.com>
1751         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1752         Change condition to [_SOFT_FLOAT].
1753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1758         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1760         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1762         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1763         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1764         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1765         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1767         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1768         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1769         declaration.
1771 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1773         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1774         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1775         (__longjmp): Use LOAD_GP to load saved GPRs.
1776         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1777         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1778         (__sigsetjmp): Use SAVE_GP to save GPRs.
1780         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1781         Do not append -msoft-float.
1782         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1784 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1786         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1788 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1790         [BZ #15966]
1791         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1792         (_FPU_GETCW): Use initial "__" on variable and field names but not
1793         on macro parameter name.
1794         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1795         parentheses around reference to macro parameter.
1797 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1799         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1800         prototype.
1801         (ctype_startup): Use uint32_t in cast and sizeof for
1802         ctype->charnames.
1804 2013-09-11  Jia Liu  <proljc@gmail.com>
1806         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1807         __daddr_t_defined.
1808         [__FreeBSD__]: Likewise.
1810 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1813         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1814         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1815         (strchr): Remove __strchr_sse42 ifunc selection.
1816         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1817         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1819 2013-09-11  Will Newton  <will.newton@linaro.org>
1821         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1822         parameter to RES. Remove hardcoded 1000 value.
1823         * benchtests/bench-skeleton.c (main): Pass RES parameter
1824         to TIMING_INIT and multiply result by 1000.
1826 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1830 2013-09-11  Andreas Schwab  <schwab@suse.de>
1832         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1833         if not defined.
1834         (O_TMPFILE) [__USE_GNU]: Define.
1835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1836         Define.
1838 2013-09-11  Will Newton  <will.newton@linaro.org>
1840         [BZ #15857]
1841         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1842         does not overflow.
1844 2013-09-11  Will Newton  <will.newton@linaro.org>
1846         [BZ #15856]
1847         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1848         does not overflow.
1850 2013-09-11  Will Newton  <will.newton@linaro.org>
1852         [BZ #15855]
1853         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1854         does not overflow.
1856 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
1858         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1859         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1860         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1861         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1862         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1864 2013-09-10  Allan McRae  <allan@archlinux.org>
1866         [BZ #15748]
1867         * manual/arith.texi (Parsing of Floats): Clarify
1868         cross-reference.
1870         [BZ #15849]
1871         * manual/install.texi (Running make install): Mention
1872         --enable-pt-chown.
1873         * INSTALL: Regenerated.
1875 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
1877         * csu/init-first.c (_init): Remove the !SHARED condition around
1878         FPU control word initialization.
1879         * elf/dl-support.c (_dl_fpu_control): New variable.
1880         (_dl_aux_init) <AT_FPUCW>: Initialize it.
1881         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1882         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1883         * math/test-fpucw-static.c: New file.
1884         * math/test-fpucw-ieee.c: New file.
1885         * math/test-fpucw-ieee-static.c: New file.
1886         * math/Makefile (tests): Add `test-fpucw-ieee' and
1887         `$(tests-static)'.
1888         (tests-static): New variable.
1889         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1890         dependency to...
1891         [($(build-shared),yes)]
1892         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1893         ... this.
1894         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1895         New dependency.
1897 2013-09-09  Allan McRae  <allan@archlinux.org>
1899         [BZ #15939]
1900         * manual/string.texi (Collation Functions): Fix typo in
1901         strcoll example.
1902         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1904         [BZ #15893]
1905         * stdlib/isomac.c (get_null_defines): Fix memory leak.
1907         [BZ #15892]
1908         * libio/memstream.c (open_memstream): Fix memory leak.
1909         * libio/wmemstream.c (open_wmemstream): Likewise.
1911         [BZ #15895]
1912         * nscd/netgroupcache.c: Fix nesting of ifdefs.
1914 2013-09-09  Will Newton  <will.newton@linaro.org>
1916         * malloc/Makefile: Add tst-realloc to tests.
1917         * malloc/tst-realloc.c: New file.
1919 2013-09-09  Allan McRae  <allan@archlinux.org>
1921         [BZ #15844]
1922         * COPYING: Update from GNU website to fix FSF address.
1923         * COPYING.LIB: Likewise.
1925 2013-09-06  David S. Miller  <davem@davemloft.net>
1927         * po/zh_TW.po: Update Chinese (traditional) translation from
1928         translation project.
1930 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
1931             Joseph Myers  <joseph@codesourcery.com>
1933         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1934         "localeinfo.h".
1935         (obstack_chunk_alloc): New macro.
1936         (obstack_chunk_free): Likewise.
1937         (record_offset): New function.
1938         (init_locale_data): Likewise.
1939         (align_locale_data): Likewise.
1940         (add_locale_empty): Likewise.
1941         (add_locale_raw_data): Likewise.
1942         (add_locale_raw_obstack): Likewise.
1943         (add_locale_string): Likewise.
1944         (add_locale_wstring): Likewise.
1945         (add_locale_uint32): Likewise.
1946         (add_locale_uint32_array): Likewise.
1947         (add_locale_char): Likewise.
1948         (start_locale_structure): Likewise.
1949         (end_locale_structure): Likewise.
1950         (start_locale_prelude): Likewise.
1951         (end_locale_prelude): Likewise.
1952         (write_locale_data): Take locale_file structure rather than an
1953         iovec.
1954         * locale/programs/locfile.h: Include "obstack.h".
1955         (struct locale_file): Change to store locale file contents instead
1956         of header.
1957         (init_locale_data): New prototype.
1958         (align_locale_data): Likewise.
1959         (add_locale_empty): Likewise.
1960         (add_locale_raw_data): Likewise.
1961         (add_locale_raw_obstack): Likewise.
1962         (add_locale_string): Likewise.
1963         (add_locale_wstring): Likewise.
1964         (add_locale_uint32): Likewise.
1965         (add_locale_uint32_array): Likewise.
1966         (add_locale_char): Likewise.
1967         (start_locale_structure): Likewise.
1968         (end_locale_structure): Likewise.
1969         (start_locale_prelude): Likewise.
1970         (end_locale_prelude): Likewise.
1971         (write_locale_data): Update prototype.
1972         * locale/programs/3level.h (struct TABLE): Remove result field.
1973         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1974         Use new locale_file interface.
1975         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1976         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1977         * locale/programs/ld-address.c (address_output): Use new
1978         locale_file interface.
1979         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1980         NO_ADD_LOCALE.
1981         (collate_finish): Don't call collseq_table_finalize.
1982         (collate_output): Use new locale_file interface.
1983         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1984         in file.
1985         (NO_FINALIZE): Change to NO_ADD_LOCALE.
1986         (TABLE): Move defines earlier in file.
1987         (ELEMENT): Likewise.
1988         (DEFAULT): Likewise.
1989         (wctrans_table_add): Move macro and inline function earlier in
1990         file.
1991         (struct wctype_table): Move type earlier in file.
1992         (add_locale_wctype_table): New static prototype.
1993         (struct locale_ctype_t): Use logical types instead of struct iovec
1994         pointers for members.
1995         (ctype_output): Use new locale_file interface.
1996         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
1997         new locale_file interface.
1998         (allocate_arrays): Update for use of new locale_file interface.
1999         * locale/programs/ld-identification.c (identification_output): Use
2000         new locale_file interface.
2001         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2002         * locale/programs/ld-messages.c (messages_output): Likewise.
2003         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2004         * locale/programs/ld-name.c (name_output): Likewise.
2005         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2006         * locale/programs/ld-paper.c (paper_output): Likewise.
2007         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2008         * locale/programs/ld-time.c (time_output): Likewise.
2010 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2012         * benchtests/Makefile: Add memrchr benchmark.
2013         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2014         benchmark as memrchr.
2015         * benchtests/bench-memrchr-ifunc.c: New file.
2016         * benchtests/bench-memrchr.c: New file.
2018 2013-09-06   Will Newton  <will.newton@linaro.org>
2020         * benchtests/Makefile (string-bench): Add memcpy.
2022 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2023             Cong Wang  <amwang@redhat.com>
2025         * sysdeps/unix/sysv/linux/bits/in.h
2026         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2027         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2028         before __USE_KERNEL_IPV6_DEFS uses.
2029         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2030         IPPROTO_BEETPH.
2031         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2032         sockaddr_in6, or ipv6_mreq.
2034 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2036         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2037         memory access for final bytes in some large inputs.
2038         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2040 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2042         * string/test-memrchr.c: New file.
2043         * string/test-memrchr-ifunc.c: New file.
2044         * string/Makefile: Add new memrchr testcase.
2046 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2048         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2049         fanotify_init returns EPERM.
2051 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2053         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2054         errors.
2055         (top level): Treat second token from macro or constant entries for
2056         allowed headers as allowed.
2057         * include/complex.h: Condition internal declarations on
2058         [!_ISOMAC].
2059         * include/fenv.h: Condition include of <stdbool.h> and internal
2060         declarations on [!_ISOMAC].
2062 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2064         [BZ #15923]
2065         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2067 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2069         * configure.in (--enable-versioning): Remove configure option.
2070         (libc_cv_asm_symver_directive): Remove configure test.
2071         (libc_cv_ld_version_script_option): Likewise.
2072         (VERSIONING): Remove variable and AC_SUBST.
2073         (DO_VERSIONING): Remove AC_DEFINE.
2074         * configure: Regenerated.
2075         * config.h.in (DO_VERSIONING): Remove macro.
2076         * Makerules [$(versioning) = yes]: Change conditionals to
2077         [$(build-shared) = yes].
2078         * config.make.in (versioning): Remove variable.
2079         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2080         [$(build-shared) = yes].
2081         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2082         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2083         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2084         [$(build-shared) = yes].
2085         * extra-lib.mk [$(versioning) = yes]: Likewise.
2086         * hurd/Makefile [$(versioning) = yes]: Likewise.
2087         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2088         [SHARED].
2089         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2090         [SHARED].
2091         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2092         [SHARED && !NO_HIDDEN].
2093         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2094         [SHARED].
2095         [SHARED && DO_VERSIONING]: Likewise..
2096         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2097         [$(build-shared) = yes].
2098         * manual/install.texi (--disable-versioning): Remove
2099         documentation.
2100         * INSTALL: Regenerated.
2101         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2102         to [SHARED].
2103         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2104         [$(build-shared) = yes].
2105         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2106         * sysdeps/i386/i686/multiarch/strstr-c.c
2107         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2108         [SHARED && !NO_HIDDEN].
2109         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2110         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2111         * sysdeps/powerpc/powerpc32/dl-machine.c
2112         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2113         * sysdeps/powerpc/powerpc32/sysdep.h
2114         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2115         to [SHARED && PIC && !NO_HIDDEN].
2116         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2117         conditional to [SHARED].
2119 2013-09-04   Will Newton  <will.newton@linaro.org>
2121         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2122         * benchtests/bench-string.h: Include bench-timing.h instead
2123         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2124         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2125         call to HP_TIMING_DIFF_INIT.
2126         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2127         instead of hp-timing.h macros.
2128         * benchtests/bench-memchr.c: Likewise.
2129         * benchtests/bench-memcmp.c: Likewise.
2130         * benchtests/bench-memcpy.c: Likewise.
2131         * benchtests/bench-memmem.c: Likewise.
2132         * benchtests/bench-memmove.c: Likewise.
2133         * benchtests/bench-memset.c: Likewise.
2134         * benchtests/bench-rawmemchr.c: Likewise.
2135         * benchtests/bench-strcasecmp.c: Likewise.
2136         * benchtests/bench-strcasestr.c: Likewise.
2137         * benchtests/bench-strcat.c: Likewise.
2138         * benchtests/bench-strchr.c: Likewise.
2139         * benchtests/bench-strcmp.c: Likewise.
2140         * benchtests/bench-strcpy.c: Likewise.
2141         * benchtests/bench-strcpy_chk.c: Likewise.
2142         * benchtests/bench-strlen.c: Likewise.
2143         * benchtests/bench-strncasecmp.c: Likewise.
2144         * benchtests/bench-strncat.c: Likewise.
2145         * benchtests/bench-strncmp.c: Likewise.
2146         * benchtests/bench-strncpy.c: Likewise.
2147         * benchtests/bench-strnlen.c: Likewise.
2148         * benchtests/bench-strpbrk.c: Likewise.
2149         * benchtests/bench-strrchr.c: Likewise.
2150         * benchtests/bench-strspn.c: Likewise.
2151         * benchtests/bench-strstr.c: Likewise.
2153 2013-09-04  Will Newton  <will.newton@linaro.org>
2155         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2157 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #15427]
2160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2161         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2162         * math/libm-test.inc (lgamma_test_data): Add more tests.
2163         * sysdeps/i386/fpu/libm-test-ulps: Update.
2164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2166 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2168         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2170         Add ifunc.
2171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2172         Add strcmp-sse2-unaligned
2173         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2175 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2177         * Versions.def (libc): Add GLIBC_2.19.
2179 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2181         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2182         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2184 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2186         [BZ #14155]
2187         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2188         intermediate calculations in recurrence.
2189         (__ieee754_ynf): Likewise.
2190         * math/libm-test.inc (jn_test_data): Do not allow spurious
2191         underflow exception.  Add more tests.
2192         (yn_test_data): Add more tests.
2193         * sysdeps/i386/fpu/libm-test-ulps: Update.
2194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2196 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2200 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2202         * csu/init-first.c: Fix then/than typos.
2203         * locale/programs/ld-collate.c: Likewise.
2204         * locale/programs/linereader.h: Likewise.
2205         * manual/charset.texi: Likewise.
2206         * manual/filesys.texi: Likewise.
2207         * manual/stdio.texi: Likewise.
2208         * manual/string.texi: Likewise.
2209         * stdlib/fmtmsg.c: Likewise.
2210         * sysdeps/i386/stpncpy.S: Likewise.
2211         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2212         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2213         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2214         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2216 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2218         * elf/dl-open.c: Fix typos.
2219         * iconvdata/gbbig5.c: Likewise.
2220         * iconvdata/iso-2022-jp.c: Likewise.
2221         * iconv/gconv_int.h: Likewise.
2222         * iconv/loop.c: Likewise.
2223         * nis/rpcsvc/nis.h: Likewise.
2224         * resolv/ns_name.c: Likewise.
2225         * stdio-common/vfscanf.c: Likewise.
2226         * streams/stropts.h: Likewise.
2227         * sunrpc/rpc_thread.c: Likewise.
2228         * sysdeps/i386/strpbrk.S: Likewise.
2229         * sysdeps/ieee754/k_standard.c: Likewise.
2230         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2231         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2232         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2233         * sysdeps/mach/hurd/profil.c: Likewise.
2234         * sysdeps/s390/dl-procinfo.h: Likewise.
2235         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2237         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2238         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2239         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2241 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2243         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2246 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2248         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2249         aix specific files.
2250         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2251         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2253         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2255         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2257         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2259 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2260             Roland McGrath  <roland@hack.frob.com>
2262         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2263         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2265 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2267         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2268         __executable_start symbol instead of _start.
2270 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2272         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2273         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2274         Move macros to...
2275         * sysdeps/gnu/ldsodefs.h: ... this new file.
2277         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2278         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2279         instead of ELFOSABI_LINUX.
2281         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2282         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2283         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2284         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2285         Likewise.
2286         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2287         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2288         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2289         Likewise.
2290         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2291         (ibm_extended_long_double): Add ieee_nan member.
2292         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2293         (do_test): New function.
2295         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2296         TEST_TRUNC.
2297         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2298         functions, renamed from truncdfsf_test, trunctfsf_test,
2299         trunctfdf_test.
2300         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2301         functions.
2302         (do_test): Run all these.
2304 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2306         * argp/argp-help.c: Fix typos.
2307         * argp/argp-parse.c: Likewise.
2308         * debug/backtracesyms.c: Likewise.
2309         * elf/elf.h: Likewise.
2310         * malloc/malloc.c: Likewise.
2311         * nis/nis_print.c: Likewise.
2312         * resolv/res_comp.c: Likewise.
2313         * stdlib/stdlib.h: Likewise.
2314         * sunrpc/clnt_tcp.c: Likewise.
2315         * sunrpc/clnt_udp.c: Likewise.
2316         * sunrpc/clnt_unix.c: Likewise.
2317         * sysdeps/unix/bsd/ptsname.c: Likewise.
2318         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2319         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2325         Likewise.
2326         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2328 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2330         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2333 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2335         [BZ #15897]
2336         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2337         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2338         ($(objpfx)bug-dl-leaf): New rule.
2339         ($(objpfx)bug-dl-leaf.so): Likewise.
2340         ($(objpfx)bug-dl-leaf.out): Likewise.
2341         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2342         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2343         * dlfcn/bug-dl-leaf.c: New test.
2344         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2345         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2346         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2347         (dlclose): Likewise.
2348         (dlmopen): Likewise.
2350 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2352         * include/netdb.h [!_ISOMAC]:
2353         Don't include <tls.h>.
2354         (h_errno, __libc_h_errno): Move declaration and macros out of
2355         [_LIBC_REENTRANT].
2357         * include/resolv.h [_RESOLV_H_]:
2358         Don't include <tls.h>.
2359         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2360         * resolv/res_libc.c: Don't include <tls.h>.
2361         (_res): Use __attribute__ ((nocommon)) in place of
2362         __attribute__ ((section (".bss"))).
2364         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2365         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2367         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2369         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2370         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2372         * resolv/res_mkquery.c: Include <sys/time.h>.
2374         * inet/ifreq.c: Moved to ...
2375         * sysdeps/unix/ifreq.c: ... here.
2376         * inet/ifreq.c: New file, true stub version.
2378         * socket/sa_len.c: New file.
2379         * socket/Makefile (aux): Add it.
2380         * sysdeps/unix/sysv/linux/Makefile
2381         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2382         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2383         and #include <socket/sa_len.c>.
2384         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2385         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2387         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2388         * bits/socket.h: ... here.
2390         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2391         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2392         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2394 2013-08-27  Andreas Schwab  <schwab@suse.de>
2396         [BZ #15736]
2397         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2398         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2399         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2400         * string/test-strcasecmp.c (test_main): Run tests in several
2401         locales.
2402         * string/test-strncasecmp.c (test_main): Likewise.
2404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2405         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2406         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2408         (__strncasecmp_ssse3) [PIC]: Likewise.
2410 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2412         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2414         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2415         instead of explicitly declaring xdecrypt.
2416         * nis/nss_nis/nis-publickey.c: Likewise.
2418 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2420         [BZ #15890]
2421         * nscd/aicache.c: Include res_hconf.h.
2422         (addhstaiX): Initialize res_hconf.
2424 2013-08-26  Andreas Schwab  <schwab@suse.de>
2426         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2427         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2429 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2431         * nscd/aicache.c (addhstaiX): Fix indentation.
2433 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2435         * configure.ac: Quote $build_pt_chown test.
2436         * configure: Regenerated.
2438 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #15532]
2441         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2442         * math/s_cexpf.c (__cexpf): Likewise.
2443         * math/s_cexpl.c (__cexpl): Likewise.
2444         * math/libm-test.inc (cexp_test_data): Correct expected return
2445         value for NaN + i0.  Add another test.
2447 2013-08-22  David S. Miller  <davem@davemloft.net>
2449         * po/ca.po: Update Catalan translation from translation project.
2450         * po/uk.po: Add Ukrainian translations from translation project.
2452 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2454         [BZ #15797]
2455         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2456         is infinite, not alongside NaN test.
2457         * math/s_fdimf.c (__fdimf): Likewise.
2458         * math/s_fdiml.c (__fdiml): Likewise.
2459         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2460         errno is unchanged.
2462 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2464         * argp/argp-help.c: Fix typos.
2465         * crypt/speeds.c: Likewise.
2466         * csu/check_fds.c: Likewise.
2467         * elf/dl-load.c: Likewise.
2468         * elf/dl-open.c: Likewise.
2469         * elf/reldep3.c: Likewise.
2470         * elf/reldep.c: Likewise.
2471         * elf/sprof.c: Likewise.
2472         * iconv/iconv_charmap.c: Likewise.
2473         * iconv/skeleton.c: Likewise.
2474         * iconv/strtab.c: Likewise.
2475         * io/lockf64.c: Likewise.
2476         * libio/libioP.h: Likewise.
2477         * resolv/gai_notify.c: Likewise.
2478         * resolv/ns_name.c: Likewise.
2479         * resolv/ns_samedomain.c: Likewise.
2480         * resolv/res_send.c: Likewise.
2481         * stdlib/random.c: Likewise.
2482         * sunrpc/rpc/xdr.h: Likewise.
2483         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2484         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2485         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2486         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2487         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2490         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2491         * sysdeps/mach/hurd/check_fds.c: Likewise.
2492         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2493         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2494         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2496         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2497         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2498         * sysdeps/pthread/aio_notify.c: Likewise.
2499         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2500         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2501         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2502         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2503         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2505 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2507         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2508         version if bit_Slow_SSE4_2 is set.
2509         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2510         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2512 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2514         [BZ #15867]
2515         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2516         trampoline stack frame information.
2517         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2519         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2520         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2521         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2522         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2523         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2524         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2525         sa_flags value.
2526         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2527         interrupting a syscall and set with option SA_SIGINFO.
2529 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2531         [BZ #15531]
2532         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2533         argument is infinite.
2534         * math/s_cprojf.c (__cprojf): Likewise.
2535         * math/s_cprojl.c (__cprojl): Likewise.
2536         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2537         * math/libm-test.inc (cproj_test_data): Add more tests.
2539         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2541         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2542         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2543         size.  Use __ffs to determine corresponding shift.
2545 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2546             Roland McGrath  <roland@hack.frob.com>
2548         * Makefile (INSTALL): Remove trailing blank lines from output of
2549         makeinfo.
2551 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2553         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2554         Align 32 bit compat elf_greg to 8 bytes.
2556 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2558         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2560 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2562         * string/strcoll_l.c (coll_seq): New structure.
2563         (get_next_seq_cached): New function.
2564         (get_next_seq): New function.
2565         (do_compare): New function.
2566         (STRCOLL): Use GNU style definition.  Simplify implementation
2567         by using get_next_seq, get_next_seq_cached and do_compare.
2569 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2571         [BZ #14699]
2572         CVE-2013-4237
2573         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2574         member.
2575         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2576         member.
2577         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2578         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2579         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2580         conditional.
2581         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2582         GETDENTS_64BIT_ALIGNED.
2583         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2584         * manual/filesys.texi (Reading/Closing Directory): Document
2585         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2586         strongly.
2587         * manual/conf.texi (Limits for Files): Add portability note to
2588         NAME_MAX, PATH_MAX.
2589         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2591 2013-08-13  Andreas Schwab  <schwab@suse.de>
2593         [BZ #15749]
2594         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2595         of fabs.
2596         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2597         LDBL_MAX_EXP >= 16384]: Add tests for it.
2599 2013-08-12  David S. Miller  <davem@davemloft.net>
2601         * version.h (RELEASE): Set to "development".
2602         (VERSION): Set to "2.18.90".
2603         * NEWS: Add 2.19 section.
2605 2013-08-03  David S. Miller  <davem@davemloft.net>
2607         * po/ko.po: Update Korean translation from translation project.
2609 2013-08-01  David S. Miller  <davem@davemloft.net>
2611         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2612         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2613         Bilka.
2615 2013-07-30  David S. Miller  <davem@davemloft.net>
2617         * po/fr.po: Update French translation from translation project.
2619 2013-07-28  David S. Miller  <davem@davemloft.net>
2621         * po/cs.po: Update Czech translation from translation project.
2623         * po/sv.po: Update Swedish translation from translation project.
2625 2013-07-27  David S. Miller  <davem@davemloft.net>
2627         * po/eo.po: Update Esperanto translation from translation project.
2629         * po/vi.po: Update Vietnamese translation from translation project.
2631         * po/de.po: Update German translation from translation project.
2633 2013-07-26  David S. Miller  <davem@davemloft.net>
2635         * po/bg.po: Update Bulgarian translation from translation project.
2637         * po/nl.po: Update Dutch translation from translation project.
2638         * po/pl.po: Update Polish translation from translation project.
2639         * po/ru.po: Update Russian translation from translation project.
2641 2013-07-24  David S. Miller  <davem@davemloft.net>
2643         * po/libc.pot: Update.
2645 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2647         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2648         variable page size.
2649         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2650         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2651         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2653 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2655         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2657 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2658             Andreas Schwab  <schwab@suse.de>
2659             Roland McGrath  <roland@hack.frob.com>
2660             Joseph Myers  <joseph@codesourcery.com>
2661             Carlos O'Donell  <carlos@redhat.com>
2663         [BZ #15755]
2664         * config.h.in: Define HAVE_PT_CHOWN.
2665         * config.make.in (build-pt-chown): New variable.
2666         * configure.in (--enable-pt_chown): New configure option.
2667         * configure: Regenerate.
2668         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2669         build-pt-chown is enabled.
2670         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2671         pt_chown to fix pty ownership.
2672         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2673         CLOSE_ALL_FDS.
2674         * manual/install.texi (Configuring and compiling): Mention
2675         --enable-pt_chown. Add @findex for grantpt.
2676         * INSTALL: Regenerate.
2678 2013-07-20  David S. Miller  <davem@davemloft.net>
2680         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2681         difference between 32-bit and 64-bit.
2683 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2685         [BZ #15711]
2686         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2687         Avoid system header dependency with -ffreestanding.
2688         ($(objpfx)bits/syscall%d): Likewise.
2690 2013-07-13  David S. Miller  <davem@davemloft.net>
2692         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2693         underflows from atanl/atan2l due to bug 15319.
2694         (casinh_test_data): Likewise.
2696 2013-07-07  David S. Miller  <davem@davemloft.net>
2698         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2700 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2702         * sysdeps/i386/fpu/libm-test-ulps: Update.
2703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2705 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2707         * configure.in (--enable-lock-elision): Fix message text.
2708         * INSTALL: Regenerate.
2709         * configure: Regenerate.
2711 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2715 2013-07-03  Andreas Jaeger  <aj@suse.de>
2717         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2718         define.
2719         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2720         (ptrace_peeksiginfo_args): Add.
2721         (__ptrace_peeksiginfo_flags): Add.
2722         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2726 2013-07-03  Allan McRae  <allan@archlinux.org>
2728         * sysdeps/i386/fpu/libm-test-ulps: Update.
2730 2013-07-02  David S. Miller  <davem@davemloft.net>
2732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2734 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2738 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2740         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743 2013-07-02  Andi Kleen <ak@linux.intel.com>
2745         * config.h.in (ENABLE_LOCK_ELISION): Add.
2746         * configure.in (--enable-lock-elision): Add option.
2747         * manual/install.texi: Document --enable lock elision.
2748         * configure: Regenerate
2749         * INSTALL: Regenerate.
2751 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2753         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2754         SSE4.2 strcasecmp for libc.a.
2755         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2757 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2759         [BZ #13304]
2760         * soft-fp/op-common.h (_FP_FMA): New macro.
2761         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2762         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2763         (_FP_MUL_MEAT_1_imm): ... here.
2764         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2765         (_FP_MUL_MEAT_1_wide): ... here.
2766         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2767         (_FP_MUL_MEAT_1_hard): ... here.
2768         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2769         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2770         (_FP_MUL_MEAT_2_wide): ... here.
2771         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2772         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2773         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2774         (_FP_MUL_MEAT_2_gmp): ... here.
2775         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2776         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2777         (_FP_MUL_MEAT_4_wide): ... here.
2778         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2779         (_FP_MUL_MEAT_4_gmp): ... here.
2780         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2781         (_FP_WFRACBITS_DW_S): Likewise.
2782         (_FP_WFRACXBITS_DW_S): Likewise.
2783         (_FP_HIGHBIT_DW_S): Likewise.
2784         (FP_FMA_S): Likewise.
2785         (_FP_FRAC_HIGH_DW_S): Likewise.
2786         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2787         (_FP_WFRACBITS_DW_D): Likewise.
2788         (_FP_WFRACXBITS_DW_D): Likewise.
2789         (_FP_HIGHBIT_DW_D): Likewise.
2790         (FP_FMA_D): Likewise.
2791         (_FP_FRAC_HIGH_DW_D): Likewise.
2792         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2793         (_FP_WFRACBITS_DW_E): Likewise.
2794         (_FP_WFRACXBITS_DW_E): Likewise.
2795         (_FP_HIGHBIT_DW_E): Likewise.
2796         (FP_FMA_E): Likewise.
2797         (_FP_FRAC_HIGH_DW_E): Likewise.
2798         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2799         (_FP_WFRACBITS_DW_Q): Likewise.
2800         (_FP_WFRACXBITS_DW_Q): Likewise.
2801         (_FP_HIGHBIT_DW_Q): Likewise.
2802         (FP_FMA_Q): Likewise.
2803         (_FP_FRAC_HIGH_DW_Q): Likewise.
2804         * soft-fp/fmasf4.c: New file.
2805         * soft-fp/fmadf4.c: Likewise.
2806         * soft-fp/fmatf4.c: Likewise.
2808 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2811         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2812         Silvermont.
2813         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2814         macro.
2815         (index_Slow_SSE4_2): Likewise.
2816         (index_Prefer_PMINUB_for_stringop): Likewise.
2817         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2818         bit_Slow_SSE4_2 is set.
2819         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2822 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2824         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2825         rtld_global._dl_hwcap2.
2826         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2827         POWER8.
2828         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2829         POWER8 feature descriptions defined in _dl_hwcap2.
2830         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2831         string handling for POWER8 feature bits.
2832         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2833         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2834         _dl_powerpc_cap_flags.
2835         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2836         * sysdeps/powerpc/rtld-global-offsets.sym
2837         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2838         _dl_hwcap2 in the rtld_global_ro structure.
2840 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2842         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2843         hardware capabilities in support of AT_HWCAP2.
2844         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2845         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2846         GLRO(dl_hwcap2).
2847         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2848         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2849         explicitly the unknown a_type display mechanism is used.
2850         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2851         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2852         struct member.
2853         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2854         to macro prototype for AT_HWCAP2 support.
2855         * sysdeps/i386/dl-procinfo.h: Likewise.
2856         * sysdeps/s390/dl-procinfo.h: Likewise.
2857         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2858         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
2859         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
2860         return -1 for unknown a_type display fallback.
2861         * sysdeps/sparc/dl-procinfo.h: Likewise.
2862         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2863         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2865 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2868         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2870 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
2872         [BZ #12492]
2873         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2874         mprotect making __stack_prot writable.
2876 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2877             Joseph Myers  <joseph@codesourcery.com>
2879         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2880         as being properly aligned.
2882 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
2884         * dlfcn/modstatic5.c: New file.
2885         * dlfcn/tststatic5.c: New file.
2886         * dlfcn/Makefile (tests): Add tststatic5.
2887         (tests-static): Likewise.
2888         (modules-names): Add modstatic5.
2889         (tststatic5-ENV): New variable.
2890         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2892         [BZ #15022]
2893         * elf/dl-support.c (_dl_main_map): New variable.
2894         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2895         (_dl_nns, _dl_load_adds): Set to 1.
2896         (_dl_initial_searchlist): Refer to _dl_main_map.
2897         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2898         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2899         call to _dl_get_origin.
2900         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2901         around call_map.
2902         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2903         * dlfcn/modstatic3.c: New file.
2904         * dlfcn/tststatic3.c: New file.
2905         * dlfcn/tststatic4.c: New file.
2906         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2907         (tests-static): Likewise.
2908         (modules-names): Add modstatic3.
2909         (tststatic3-ENV, tststatic4-ENV): New variables.
2910         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2911         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2913 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
2915         * configure.in (CC): Require GCC version 4.4 or later.
2916         * configure: Regenerated.
2917         * manual/install.texi (Tools for Compilation): Update GCC version
2918         requirement.
2919         * INSTALL: Regenerated.
2921 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2923         [BZ #15674]
2924         * string/test-memcmp.c (check2): New.
2925         (main): Call check2.
2927         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2929 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
2931         [BZ #15022]
2932         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2933         over to...
2934         (dl_open_worker) [!SHARED]: ... here.
2936 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2938         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2940 2013-06-25  Richard Henderson  <rth@redhat.com>
2942         * locale/programs/locarchive.c: Include <libc-internal.h>
2944 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
2946         * manual/texinfo.tex: Update to version 2013-06-21.17, with
2947         trailing whitespace removed.
2949 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2951         [BZ #10283]
2952         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2953         * locale/programs/locarchive.c: Include libc-mmap.h.
2954         (prepare_address_space): Take two new outputs (the mmap base and len).
2955         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
2956         values.
2957         (create_archive): Declare new mmap base and len values for
2958         prepare_address_space, and store the result in ah.
2959         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2960         (enlarge_archive): If ah->mmap_base is not NULL, use that and
2961         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2962         Declare new mmap base and len values for
2963         prepare_address_space, and store the result in new_ah.
2964         (open_archive): Declare new mmap base and len values for
2965         prepare_address_space, and store the result in ah.
2966         (close_archive): If ah->mmap_base is not NULL, use that and
2967         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2968         * sysdeps/generic/libc-mmap.h: New file.
2970 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
2972         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2973         (ALIGN_UP): Likewise.
2974         (PTR_ALIGN_DOWN): Likewise.
2975         (PTR_ALIGN_UP): Likewise.
2977 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2979         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2980         entry mapped to PPC_PLATFORM_POWER8.
2981         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2982         POWER8.
2983         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2984         (_dl_string_platform): Add case for exporting platform position for
2985         POWER8.
2986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2987         search path to sysdeps/powerpc/powerpc32/power8 directory.
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2989         search path to sysdeps/powerpc/powerpc64/power8 directory.
2990         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2991         power7 directories.
2992         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2993         power7 directories.
2995 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2997         * INSTALL: Regenerate.
2999         * nscd/connections.c (nscd_init): Fix comment.
3001 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3003         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3005         [BZ #15667]
3006         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3007         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3009 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3011         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3012         DL_DST_REQ_STATIC.
3013         (DL_DST_REQ_STATIC): Remove macro.
3015 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3017         [BZ #7006]
3018         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3019         with a shift of 0 bits.
3021 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3023         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3024         $(tststatic-ENV).
3026 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3028         [BZ #15655]
3029         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3031 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3033         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3034         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3035         accepts -fno-tree-loop-distribute-patterns.
3036         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3037         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3038         recursive call.
3039         * string/memset.c (memset): Likewise.
3040         * string/test-memmove.c (simple_memmove): Disable loop transformation
3041         to library calls.
3042         * string/test-memset.c (simple_memset): Likewise.
3043         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3044         * benchtests/bench-memset.c (simple_memset): Likewise.
3045         * configure: Regenerated.
3047 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3049         * math/test-misc.c (main): Ignore fesetround failure when failures
3050         of subsequent rounding tests would be ignored.
3052         [BZ #15654]
3053         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3054         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3055         * math/fegetenv.c (__fegetenv): Return 0.
3056         * math/fegetexcept.c (fegetexcept): Return 0.
3057         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3058         FE_TONEAREST.
3059         * math/feholdexcpt.c (feholdexcept): Return 0.
3060         * math/fesetenv.c (__fesetenv): Return 0.
3061         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3062         argument FE_TONEAREST.
3063         * math/feupdateenv.c (__feupdateenv): Return 0.
3064         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3066 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3068         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3069         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3070         ($(objpfx)rtld-%.os rules): Use them.
3072 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3074         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3075         fields.
3077 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3079         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3080         length of target pattern, then descending length of dependency pattern.
3081         * configure.in (AWK): Require gawk 3.1.2 or newer.
3082         * manual/install.texi (Tools for Compilation): Say that we do.
3083         * configure: Regenerated.
3085         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3086         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3087         * scripts/sysd-rules.awk: ... this new script.
3088         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3089         than a glob-style pattern.
3091 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3093         * math/test-misc.c (main): Do not treat incorrectly rounded
3094         conversions as failure unless ROUNDING_TESTS passes.
3096 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3098         [BZ #15631]
3099         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3100         restore exception state around main square root computation, then
3101         check for inexactness explicitly.
3103         * math/libm-test.inc (fma_test_data): Add another test.
3105 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3107         * manual/threads.texi (Non-POSIX Extensions): New document
3108         node.  Document pthread_getattr_default_np and
3109         pthread_setattr_default_np.
3111         * Versions.def (libpthread): Add GLIBC_2.18.
3112         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3120         Likewise.
3121         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3122         Likewise.
3123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3126         Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3128         Likewise.
3129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3130         Likewise.
3132 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3135         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3137 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3138             H.J. Lu  <hjl.tools@gmail.com>
3140         [BZ #15627]
3141         * sysdeps/x86_64/rtld-memset.c: Remove file.
3142         * sysdeps/x86_64/rtld-memset.S: New file.
3144 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3146         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3147         (test_in_one_mode): Take arguments for whether the rounding mode
3148         is supported for each floating-point type.
3149         (do_test): Pass new arguments to test_in_one_mode using
3150         ROUNDING_TESTS.
3152 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3154         * posix/tst-waitid.c (do_test): Distinguish different instances of
3155         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3156         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3157         before entering the kernel for waitpid.
3159 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3161         * NEWS: Fix note on clock function precision.  Text by Roland
3162         McGrath.
3164 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3166         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3167         it into place only when and if the sanity check passes.
3169 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3171         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3172         output for whether conversion result is exact.  Take argument
3173         indicating whether type is IBM long double.
3174         (round_for_all): Change need_exact field to ibm_ld.
3175         * stdlib/tst-strtod-round.c (struct exactness): New type.
3176         (struct test): Change bool ld_ok field to struct exactness exact.
3177         (TEST): Update all definitions for change to field.
3178         (tests): Regenerate array contents.
3179         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3180         field value.  Check for IBM long double here.
3181         (do_test): Update calls to test_in_one_mode.
3183 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3185         [BZ #12515]
3186         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3187         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3189 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3191         [BZ #15605]
3192         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3193         generated by the compiler on loop optimizations.
3194         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3195         general definitions.
3197 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3199         * math/bug-nextafter.c: Include <math-tests.h>.
3200         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3201         the relevant type.
3202         * math/bug-nexttoward.c: Include <math-tests.h>.
3203         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3204         the relevant type.
3205         * math/test-misc.c: Include <math-tests.h>.
3206         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3207         the relevant type.
3209 2013-06-12  Andreas Jaeger  <aj@suse.de>
3211         * po/ia.po: Update Interlingua translation from translation
3212         project.
3214 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3216         * include/fenv.h: Include stdbool.h.
3217         (struct rm_ctx): New structure.
3218         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3219         Define macro.
3220         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3221         (SET_RESTORE_ROUNDF): Likewise.
3222         (SET_RESTORE_ROUNDL): Likewise.
3223         (SET_RESTORE_ROUND_NOEX): Likewise.
3224         (SET_RESTORE_ROUND_NOEXF): Likewise.
3225         (SET_RESTORE_ROUND_NOEXL): Likewise.
3226         (SET_RESTORE_ROUND_53BIT): Likewise.
3227         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3228         (libc_feresetround_noexf_ctx): Likewise.
3229         (libc_feresetround_noexl_ctx): Likewise.
3230         (libc_feholdsetround_53bit_ctx): Likewise.
3231         (libc_feresetround_53bit_ctx): Likewise.
3232         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3233         (libc_feholdexcept_setround_sse_ctx): New function.
3234         (libc_fesetenv_sse_ctx): Likewise.
3235         (libc_feupdateenv_sse_ctx): Likewise.
3236         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3237         (libc_feholdexcept_setround_387_ctx): Likewise.
3238         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3239         (libc_feholdsetround_387_prec_ctx): Likewise.
3240         (libc_feholdsetround_387_ctx): Likewise.
3241         (libc_feholdsetround_387_53bit_ctx): Likewise.
3242         (libc_feholdsetround_sse_ctx): Likewise.
3243         (libc_feresetround_sse_ctx): Likewise.
3244         (libc_feresetround_387_ctx): Likewise.
3245         (libc_feupdateenv_387_ctx): Likewise.
3246         (libc_feholdexcept_setroundf_ctx): Define macro.
3247         (libc_fesetenvf_ctx): Likewise.
3248         (libc_feupdateenvf_ctx): Likewise.
3249         (libc_feholdsetroundf_ctx): Likewise.
3250         (libc_feresetroundf_ctx): Likewise.
3251         (libc_feholdexcept_setround_ctx): Likewise.
3252         (libc_fesetenv_ctx): Likewise.
3253         (libc_feupdateenv_ctx): Likewise.
3254         (libc_feholdsetround_ctx): Likewise.
3255         (libc_feresetround_ctx): Likewise.
3256         (libc_feholdexcept_setroundl_ctx): Likewise.
3257         (libc_feupdateenvl_ctx): Likewise.
3258         (libc_feholdsetroundl_ctx): Likewise.
3259         (libc_feresetroundl_ctx): Likewise.
3260         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3261         (libc_feresetround_53bit_ctx): Likewise.
3263 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3265         * locale/iso-639.def: Convert to UTF-8.
3267 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3269         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3270         (EXCEPTION_TESTS_double): Likewise.
3271         (EXCEPTION_TESTS_long_double): Likewise.
3272         (EXCEPTION_TESTS): Likewise.
3273         * math/libm-test.inc (test_exceptions): Only test exceptions if
3274         EXCEPTION_TESTS (FLOAT).
3276 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3278         * benchtests/Makefile (string-bench): Add strcpy_chk and
3279         stpcpy_chk.
3280         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3281         * benchtests/bench-stpcpy_chk.c: New file.
3282         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3283         * benchtests/bench-strcpy_chk.c: New file.
3284         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3285         code.
3286         (do_test): Likewise.
3288 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3290         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3291         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3292         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3293         with tabs where appropriate.
3294         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3295         dl-procinfo.h.
3296         [PPC_PLATFORM_PPC440]: Likewise.
3297         [PPC_PLATFORM_PPC464]: Likewise.
3298         [PPC_PLATFORM_PPC476]: Likewise.
3299         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3300         ppc464, and ppc476 platform strings merging from ports/
3301         dl-procinfo.h.
3303 2013-06-11  Andreas Schwab  <schwab@suse.de>
3305         [BZ #14991]
3306         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3307         (from_ucs4_idx): Regenerate.
3308         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3309         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3310         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3311         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3312         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3313         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3314         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3315         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3316         from FROM_LOOP and TO_LOOP specific macros.
3317         (BODY): Handle combining characters.
3318         * iconvdata/BIG5HKSCS.irreversible: Update.
3319         * iconvdata/BIG5HKSCS.precomposed: New file.
3320         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3321         characters.
3322         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3324 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3326         * include/sys/time.h: Fix indentation and add copyright header.
3328         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3329         (do_test): Likewise.
3330         * string/test-memchr.c (do_one_test): Likewise.
3331         (do_test): Likewise.
3332         * string/test-memcmp.c (do_one_test): Likewise.
3333         (do_test): Likewise.
3334         * string/test-memcpy.c (do_one_test): Likewise.
3335         (do_test): Likewise.
3336         * string/test-memmem.c (do_one_test): Likewise.
3337         (do_test): Likewise.
3338         (do_random_tests): Likewise.
3339         * string/test-memmove.c (do_one_test): Likewise.
3340         (do_test): Likewise.
3341         * string/test-memset.c (do_one_test): Likewise.
3342         (do_test): Likewise.
3343         * string/test-rawmemchr.c (do_one_test): Likewise.
3344         (do_test): Likewise.
3345         * string/test-strcasecmp.c (do_one_test): Likewise.
3346         (do_test): Likewise.
3347         * string/test-strcasestr.c (do_one_test): Likewise.
3348         (do_test): Likewise.
3349         * string/test-strcat.c (do_one_test): Likewise.
3350         (do_test): Likewise.
3351         * string/test-strchr.c (do_one_test): Likewise.
3352         (do_test): Likewise.
3353         * string/test-strcmp.c (do_one_test): Likewise.
3354         (do_test): Likewise.
3355         * string/test-strcpy.c (do_one_test): Likewise.
3356         (do_test): Likewise.
3357         * string/test-string.h: Likewise.
3358         (test_init): Likewise.
3359         * string/test-strlen.c (do_one_test): Likewise.
3360         (do_test): Likewise.
3361         * string/test-strncasecmp.c (do_one_test): Likewise.
3362         (do_test): Likewise.
3363         * string/test-strncat.c (do_one_test): Likewise.
3364         (do_test): Likewise.
3365         * string/test-strncmp.c (do_one_test): Likewise.
3366         (do_test_limit): Likewise.
3367         (do_test): Likewise.
3368         * string/test-strncpy.c (do_one_test): Likewise.
3369         (do_test): Likewise.
3370         * string/test-strnlen.c (do_one_test): Likewise.
3371         (do_test): Likewise.
3372         * string/test-strpbrk.c (do_one_test): Likewise.
3373         (do_test): Likewise.
3374         * string/test-strrchr.c (do_one_test): Likewise.
3375         (do_test): Likewise.
3376         * string/test-strspn.c (do_one_test): Likewise.
3377         (do_test): Likewise.
3378         * string/test-strstr.c (do_one_test): Likewise.
3379         (do_test): Likewise.
3381         * benchtests/Makefile (string-bench): Add string benchmarks.
3382         * benchtests/bench-bcopy-ifunc.c: New file.
3383         * benchtests/bench-bcopy.c: New file.
3384         * benchtests/bench-bzero-ifunc.c: New file.
3385         * benchtests/bench-bzero.c: New file.
3386         * benchtests/bench-memccpy-ifunc.c: New file.
3387         * benchtests/bench-memccpy.c: New file.
3388         * benchtests/bench-memchr-ifunc.c: New file.
3389         * benchtests/bench-memchr.c: New file.
3390         * benchtests/bench-memcmp-ifunc.c: New file.
3391         * benchtests/bench-memcmp.c: New file.
3392         * benchtests/bench-memmem-ifunc.c: New file.
3393         * benchtests/bench-memmem.c: New file.
3394         * benchtests/bench-memmove-ifunc.c: New file.
3395         * benchtests/bench-memmove.c: New file.
3396         * benchtests/bench-mempcpy-ifunc.c: New file.
3397         * benchtests/bench-mempcpy.c: New file.
3398         * benchtests/bench-memset-ifunc.c: New file.
3399         * benchtests/bench-memset.c: New file.
3400         * benchtests/bench-rawmemchr-ifunc.c: New file.
3401         * benchtests/bench-rawmemchr.c: New file.
3402         * benchtests/bench-stpcpy-ifunc.c: New file.
3403         * benchtests/bench-stpcpy.c: New file.
3404         * benchtests/bench-stpncpy-ifunc.c: New file.
3405         * benchtests/bench-stpncpy.c: New file.
3406         * benchtests/bench-strcasecmp-ifunc.c: New file.
3407         * benchtests/bench-strcasecmp.c: New file.
3408         * benchtests/bench-strcasestr-ifunc.c: New file.
3409         * benchtests/bench-strcasestr.c: New file.
3410         * benchtests/bench-strcat-ifunc.c: New file.
3411         * benchtests/bench-strcat.c: New file.
3412         * benchtests/bench-strchr-ifunc.c: New file.
3413         * benchtests/bench-strchr.c: New file.
3414         * benchtests/bench-strchrnul-ifunc.c: New file.
3415         * benchtests/bench-strchrnul.c: New file.
3416         * benchtests/bench-strcmp-ifunc.c: New file.
3417         * benchtests/bench-strcmp.c: New file.
3418         * benchtests/bench-strcpy-ifunc.c: New file.
3419         * benchtests/bench-strcpy.c: New file.
3420         * benchtests/bench-strcspn-ifunc.c: New file.
3421         * benchtests/bench-strcspn.c: New file.
3422         * benchtests/bench-strlen-ifunc.c: New file.
3423         * benchtests/bench-strlen.c: New file.
3424         * benchtests/bench-strncasecmp-ifunc.c: New file.
3425         * benchtests/bench-strncasecmp.c: New file.
3426         * benchtests/bench-strncat-ifunc.c: New file.
3427         * benchtests/bench-strncat.c: New file.
3428         * benchtests/bench-strncmp-ifunc.c: New file.
3429         * benchtests/bench-strncmp.c: New file.
3430         * benchtests/bench-strncpy-ifunc.c: New file.
3431         * benchtests/bench-strncpy.c: New file.
3432         * benchtests/bench-strnlen-ifunc.c: New file.
3433         * benchtests/bench-strnlen.c: New file.
3434         * benchtests/bench-strpbrk-ifunc.c: New file.
3435         * benchtests/bench-strpbrk.c: New file.
3436         * benchtests/bench-strrchr-ifunc.c: New file.
3437         * benchtests/bench-strrchr.c: New file.
3438         * benchtests/bench-strspn-ifunc.c: New file.
3439         * benchtests/bench-strspn.c: New file.
3440         * benchtests/bench-strstr-ifunc.c: New file.
3441         * benchtests/bench-strstr.c: New file.
3443         * benchtests/Makefile: Disable parallel execution of targets.
3444         (string-bench): Add memcpy.
3445         (benchset): New variable to store a list of benchmark sets.
3446         (bench-func): Renamed from bench.
3447         (bench-set): New target.
3448         (bench): Depend on bench-func and bench-set.
3449         * benchtests/README: Add section on benchmark sets.
3450         * benchtests/bench-memcpy-ifunc.c: New file.
3451         * benchtests/bench-memcpy.c: New file.
3452         * benchtests/bench-string.h: New file.
3454 2013-06-11  Andreas Schwab  <schwab@suse.de>
3456         [BZ #15577]
3457         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3458         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3459         values in the triple.
3460         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3461         terminator in the group key.
3463 2013-06-11  Andreas Jaeger  <aj@suse.de>
3465         * po/zh_TW.po: Update Chinese (traditional) translation from
3466         translation project.
3468 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3470         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3471         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3472         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3474         (clock_getcpuclockid): Likewise.
3475         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3476         Add weak_alias and libc_hidden_def.
3477         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3478         * rt/clock_gettime.c (clock_gettime): Rename to
3479         __clock_gettime.  Add weak_alias and libc_hidden_def.
3480         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3481         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3482         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3483         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3484         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3485         Likewise.
3486         * rt/clock_settime.c (clock_settime): Rename to
3487         __clock_settime.  Add weak_alias and libc_hidden_def.
3488         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3490 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3492         * mach/err_boot.sub: Remove trailing whitespace.
3493         * mach/err_ipc.sub: Likewise.
3494         * mach/err_mach.sub: Likewise.
3496         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3497         (ROUNDING_TESTS_double): Likewise.
3498         (ROUNDING_TESTS_long_double): Likewise.
3499         (ROUNDING_TESTS): Likewise.
3500         * math/libm-test.inc: Include <math-tests.h>.
3501         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3502         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3503         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3504         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3506 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3508         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3509         of assigning.
3511 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3513         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3514         otherwise empty TRANS lines.
3515         * sysdeps/gnu/errlist.c: Regenerated.
3517         * catgets/gencat.c (error_print): Use (void) in function
3518         definition.
3519         * crypt/crypt_util.c (__init_des): Likewise.
3520         * crypt/speeds.c (Stop): Likewise.
3521         (main): Likewise.
3522         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3523         * inet/ruserpass.c (token): Likewise.
3524         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3525         * intl/localealias.c (extend_alias_table): Likewise.
3526         * intl/plural-exp.c (init_germanic_plural): Likewise.
3527         * libio/fcloseall.c (__fcloseall): Likewise.
3528         * libio/genops.c (_IO_flush_all): Likewise.
3529         (_IO_flush_all_linebuffered): Likewise.
3530         (_IO_cleanup): Likewise.
3531         (_IO_iter_begin): Likewise.
3532         (_IO_iter_end): Likewise.
3533         (_IO_list_lock): Likewise.
3534         (_IO_list_unlock): Likewise.
3535         (_IO_list_resetlock): Likewise.
3536         * libio/getchar.c (getchar): Likewise.
3537         * libio/getchar_u.c (getchar_unlocked): Likewise.
3538         * libio/getwchar.c (getwchar): Likewise.
3539         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3540         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3541         * login/getpt.c (__getpt): Likewise.
3542         * login/tst-utmp.c (main): Likewise.
3543         * malloc/hooks.c (__malloc_check_init): Likewise.
3544         * malloc/malloc.c (__malloc_stats): Likewise.
3545         * malloc/mtrace.c (tr_break): Likewise.
3546         (mtrace): Likewise.
3547         (muntrace): Likewise.
3548         * misc/fstab.c (endfsent): Likewise.
3549         * misc/getclktck.c (__getclktck): Likewise.
3550         * misc/getdtsz.c (__getdtablesize): Likewise.
3551         * misc/gethostid.c (gethostid): Likewise.
3552         * misc/getpagesize.c (__getpagesize): Likewise.
3553         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3554         (__get_nprocs): Likewise.
3555         (__get_phys_pages): Likewise.
3556         (__get_avphys_pages): Likewise.
3557         * misc/getttyent.c (getttyent): Likewise.
3558         (setttyent): Likewise.
3559         (endttyent): Likewise.
3560         * misc/getusershell.c (getusershell): Likewise.
3561         (endusershell): Likewise.
3562         (setusershell): Likewise.
3563         (initshells): Likewise.
3564         * misc/hsearch.c (__hdestroy): Likewise.
3565         * misc/sync.c (sync): Likewise.
3566         * misc/syslog.c (closelog_internal): Likewise.
3567         (closelog): Likewise.
3568         * misc/ttyslot.c (ttyslot): Likewise.
3569         * misc/vhangup.c (vhangup): Likewise.
3570         * posix/fork.c (__fork): Likewise.
3571         * posix/getegid.c (__getegid): Likewise.
3572         * posix/geteuid.c (__geteuid): Likewise.
3573         * posix/getgid.c (__getgid): Likewise.
3574         * posix/getpid.c (__getpid): Likewise.
3575         * posix/getppid.c (__getppid): Likewise.
3576         * posix/getuid.c (__getuid): Likewise.
3577         * posix/pause.c (pause): Likewise.
3578         * posix/setpgrp.c (setpgrp): Likewise.
3579         * posix/setsid.c (__setsid): Likewise.
3580         * posix/test-vfork.c (noop): Likewise.
3581         * resolv/gethnamaddr.c (_endhtent): Likewise.
3582         (_gethtent): Likewise.
3583         (ht_endhostent): Likewise.
3584         (gethostent): Likewise.
3585         (dns_service): Likewise.
3586         * stdlib/drand48.c (drand48): Likewise.
3587         * stdlib/lrand48.c (lrand48): Likewise.
3588         * stdlib/mrand48.c (mrand48): Likewise.
3589         * stdlib/rand.c (rand): Likewise.
3590         * stdlib/random.c (__random): Likewise.
3591         * stdlib/setenv.c (clearenv): Likewise.
3592         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3593         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3594         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3595         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3596         (__get_nprocs): Likewise.
3597         (__get_phys_pages): Likewise.
3598         (__get_avphys_pages): Likewise.
3599         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3600         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3601         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3602         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3603         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3604         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3605         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3606         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3607         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3608         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3609         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3610         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3611         * sysdeps/posix/clock.c (clock): Likewise.
3612         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3613         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3614         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3615         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3616         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3617         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3618         (__get_nprocs_conf): Likewise.
3619         (__get_phys_pages): Likewise.
3620         (__get_avphys_pages): Likewise.
3621         * time/clock.c (clock): Likewise.
3622         * time/tzset.c (__tzname_max): Likewise.
3624 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3626         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3627         (__bswap_32): Do not use "register".
3628         * crypt/crypt.c (_ufc_doit_r): Likewise.
3629         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3630         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3631         * gmon/gmon.c (__monstartup): Likewise.
3632         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3633         * hurd/hurdmalloc.c (more_memory): Likewise.
3634         (malloc): Likewise.
3635         (free): Likewise.
3636         (realloc): Likewise.
3637         (malloc_fork_prepare): Likewise.
3638         (malloc_fork_parent): Likewise.
3639         (malloc_fork_child): Likewise.
3640         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3641         (_svcauth_des): Likewise.
3642         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3643         * inet/inet_net.c (inet_network): Likewise.
3644         * inet/inet_netof.c (inet_netof): Likewise.
3645         * inet/rcmd.c (__validuser2_sa): Likewise.
3646         * io/fts.c (fts_open): Likewise.
3647         (fts_load): Likewise.
3648         (fts_close): Likewise.
3649         (fts_read): Likewise.
3650         (fts_children): Likewise.
3651         (fts_build): Likewise.
3652         (fts_stat): Likewise.
3653         (fts_sort): Likewise.
3654         (fts_alloc): Likewise.
3655         (fts_lfree): Likewise.
3656         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3657         (_IO_file_xsgetn): Likewise.
3658         (_IO_file_xsgetn_mmap): Likewise.
3659         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3660         (_IO_cookie_write): Likewise.
3661         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3662         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3663         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3664         * malloc/obstack.c (_obstack_begin): Likewise.
3665         (_obstack_begin_1): Likewise.
3666         (_obstack_newchunk): Likewise.
3667         (_obstack_allocated_p): Likewise.
3668         (obstack_free): Likewise.
3669         (_obstack_memory_used): Likewise.
3670         * misc/getttyent.c (getttynam): Likewise.
3671         (getttyent): Likewise.
3672         (skip): Likewise.
3673         (value): Likewise.
3674         * misc/getusershell.c (initshells): Likewise.
3675         * misc/syslog.c (__vsyslog_chk): Likewise.
3676         * misc/ttyslot.c (ttyslot): Likewise.
3677         * nis/nis_hash.c (__nis_hash): Likewise.
3678         * posix/fnmatch_loop.c (FCT): Likewise.
3679         * posix/getconf.c (print_all): Likewise.
3680         (main): Likewise.
3681         * posix/getopt.c (exchange): Likewise.
3682         * posix/glob.c (globfree): Likewise.
3683         (prefix_array): Likewise.
3684         (__glob_pattern_type): Likewise.
3685         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3686         (NS_GET32): Likewise.
3687         (NS_PUT16): Likewise.
3688         (NS_PUT32): Likewise.
3689         * resolv/gethnamaddr.c (getanswer): Likewise.
3690         (gethostbyname2): Likewise.
3691         (gethostbyaddr): Likewise.
3692         (_gethtent): Likewise.
3693         (_gethtbyname2): Likewise.
3694         (_gethtbyaddr): Likewise.
3695         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3696         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3697         * resolv/res_init.c (__res_vinit): Likewise.
3698         (net_mask): Likewise.
3699         * resolv/res_mkquery.c (outchar): Likewise.
3700         (PRINT): Likewise.
3701         * stdio-common/printf_fp.c (outchar): Likewise.
3702         (PRINT): Likewise.
3703         * stdio-common/printf_fphex.c (outchar): Likewise.
3704         (PRINT): Likewise.
3705         * stdio-common/printf_size.c (outchar): Likewise.
3706         (PRINT): Likewise.
3707         * stdio-common/test_rdwr.c (main): Likewise.
3708         * stdio-common/tfformat.c (matches): Likewise.
3709         * stdio-common/vfprintf.c (outchar): Likewise.
3710         (printf_unknown): Likewise.
3711         (buffered_vfprintf): Likewise.
3712         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3713         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3714         (ReadFile): Likewise.
3715         * stdlib/qsort.c (SWAP): Likewise.
3716         (_quicksort): Likewise.
3717         * stdlib/setenv.c (__add_to_environ): Likewise.
3718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3719         * stdlib/strtol_l.c (__strtol_l): Likewise.
3720         * stdlib/tst-strtod.c (main): Likewise.
3721         * stdlib/tst-strtol.c (main): Likewise.
3722         * stdlib/tst-strtoll.c (main): Likewise.
3723         * string/bits/string2.h (__strcmp_cc): Likewise.
3724         (__strcmp_cg): Likewise.
3725         (__strcspn_c1): Likewise.
3726         (__strcspn_c2): Likewise.
3727         (__strcspn_c3): Likewise.
3728         (__strspn_c1): Likewise.
3729         (__strspn_c2): Likewise.
3730         (__strspn_c3): Likewise.
3731         (__strsep_1c): Likewise.
3732         (__strsep_2c): Likewise.
3733         (__strsep_3c): Likewise.
3734         * string/memccpy.c (__memccpy): Likewise.
3735         * string/stpcpy.c (__stpcpy): Likewise.
3736         * string/strcmp.c (strcmp): Likewise.
3737         * string/strrchr.c (strrchr): Likewise.
3738         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3739         Likewise.
3740         * sysdeps/mach/hurd/getcwd.c
3741         (_hurd_canonicalize_directory_name_internal): Likewise.
3742         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3743         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3744         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3745         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3746         Likewise, in both definitions.
3747         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3748         definitions.
3749         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3750         64] (__bswap_64): Likewise.
3751         * time/test_time.c (main): Likewise.
3752         * time/tzfile.c (__tzfile_read): Likewise.
3753         (__tzfile_compute): Likewise.
3754         * time/tzset.c (__tzset_parse_tz): Likewise.
3755         (tzset_internal): Likewise.
3756         (compute_change): Likewise.
3757         * wcsmbs/wcscat.c (__wcscat): Likewise.
3758         * wcsmbs/wcschr.c (wcschr): Likewise.
3759         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3760         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3761         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3762         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3763         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3764         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3765         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3766         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3767         * wcsmbs/wmemset.c (wmemset): Likewise.
3769 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3771         * scripts/config.guess: Update to version 2013-05-16.
3772         * scripts/config.sub: Update to version 2013-04-24.
3773         * scripts/install-sh: Update to version 2011-11-20.07.
3774         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3775         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3777 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3779         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3780         * elf/sln.c: Likewise.
3781         * hurd/hurd/ioctl.h: Likewise.
3782         * hurd/hurdmalloc.c: Likewise.
3783         * hurd/xattr.c: Likewise.
3784         * include/shlib-compat.h: Likewise.
3785         * inet/ruserpass.c: Likewise.
3786         * libio/iofgets_u.c: Likewise.
3787         * libio/iofgetws_u.c: Likewise.
3788         * locale/programs/ld-identification.c: Likewise.
3789         * locale/programs/ld-time.c: Likewise.
3790         * mach/msg-destroy.c: Likewise.
3791         * nss/nss_files/files-netgrp.c: Likewise.
3792         * resolv/res_data.c: Likewise.
3793         * soft-fp/op-1.h: Likewise.
3794         * soft-fp/op-2.h: Likewise.
3795         * soft-fp/op-4.h: Likewise.
3796         * soft-fp/op-common.h: Likewise.
3797         * stdio-common/printf_fphex.c: Likewise.
3798         * stdlib/strtod_l.c: Likewise.
3799         * sunrpc/rpc/clnt.h: Likewise.
3800         * sysdeps/generic/framestate.c: Likewise.
3801         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3802         * sysdeps/i386/bsd-setjmp.S: Likewise.
3803         * sysdeps/i386/__longjmp.S: Likewise.
3804         * sysdeps/i386/setjmp.S: Likewise.
3805         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3806         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3807         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3808         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3810         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3811         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3812         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3814         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3815         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3816         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3817         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3818         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3819         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3820         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3821         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3822         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3823         * sysdeps/ieee754/support.c: Likewise.
3824         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3825         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3826         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3827         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3828         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3829         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3830         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3831         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3832         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3833         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3834         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3835         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3836         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3837         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3838         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3839         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3840         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3843 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3845         * posix/transbug.c: Remove executable mode.
3847 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3849         * crypt/speeds.c: Remove trailing whitespace.
3850         * dlfcn/default.c: Likewise.
3851         * elf/ifuncdep2.c: Likewise.
3852         * elf/ifuncmain1.c: Likewise.
3853         * elf/ifuncmain1vis.c: Likewise.
3854         * elf/testobj.h: Likewise.
3855         * elf/tst-stackguard1.c: Likewise.
3856         * gmon/sys/gmon.h: Likewise.
3857         * hurd/hurdmsg.c: Likewise.
3858         * hurd/new-fd.c: Likewise.
3859         * hurd/ports-get.c: Likewise.
3860         * iconvdata/ibm1008_420.c: Likewise.
3861         * inet/tst-getni1.c: Likewise.
3862         * inet/tst-getni2.c: Likewise.
3863         * libio/ioungetc.c: Likewise.
3864         * libio/wfiledoalloc.c: Likewise.
3865         * manual/libm-err-tab.pl: Likewise.
3866         * math/w_dremf.c: Likewise.
3867         * misc/ftruncate.c: Likewise.
3868         * posix/bug-glob2.c: Likewise.
3869         * posix/tst-pcre.c: Likewise.
3870         * posix/wait4.c: Likewise.
3871         * resolv/README: Likewise.
3872         * resolv/res_debug.h: Likewise.
3873         * resolv/tst-inet_ntop.c: Likewise.
3874         * setjmp/bug269-setjmp.c: Likewise.
3875         * soft-fp/extended.h: Likewise.
3876         * soft-fp/op-1.h: Likewise.
3877         * soft-fp/op-2.h: Likewise.
3878         * soft-fp/op-4.h: Likewise.
3879         * soft-fp/op-8.h: Likewise.
3880         * soft-fp/testit.c: Likewise.
3881         * stdio-common/bug16.c: Likewise.
3882         * stdlib/random.c: Likewise.
3883         * sunrpc/rpcsvc/rquota.x: Likewise.
3884         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3885         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3886         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3887         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3888         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3889         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3890         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3891         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3892         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3893         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3894         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3895         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3900         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3902         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3903         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3906         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3907         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3912         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3913         * sysdeps/ieee754/s_lib_version.c: Likewise.
3914         * sysdeps/mach/hurd/check_fds.c: Likewise.
3915         * sysdeps/mach/hurd/getsockname.c: Likewise.
3916         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3917         * sysdeps/mach/hurd/recvfrom.c: Likewise.
3918         * sysdeps/powerpc/bits/link.h: Likewise.
3919         * sysdeps/powerpc/dl-procinfo.c: Likewise.
3920         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3921         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3922         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3923         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3924         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3925         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3926         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3927         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3928         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3929         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3930         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3931         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3932         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3933         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3934         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3935         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3936         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3937         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3938         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3939         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3940         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3941         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3942         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3943         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3944         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3945         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3946         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3947         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3948         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3949         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3950         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3951         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3952         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3953         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3954         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3955         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3956         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3957         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3958         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3959         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3960         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3961         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3962         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3963         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3964         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3965         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3966         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3967         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3968         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3971         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3972         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3973         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3974         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3975         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3976         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3977         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3978         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3979         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3980         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3981         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3982         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3983         * sysdeps/powerpc/sysdep.h: Likewise.
3984         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3985         * sysdeps/s390/s390-64/sub_n.S: Likewise.
3986         * sysdeps/sh/dl-trampoline.S: Likewise.
3987         * sysdeps/sh/memset.S: Likewise.
3988         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3989         * sysdeps/sh/strlen.S: Likewise.
3990         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3991         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3992         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3993         * sysdeps/sparc/sparc32/rem.S: Likewise.
3994         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3995         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3996         * sysdeps/sparc/sparc32/strchr.S: Likewise.
3997         * sysdeps/sparc/sparc32/udiv.S: Likewise.
3998         * sysdeps/sparc/sparc32/urem.S: Likewise.
3999         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4000         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4001         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4002         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4003         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4004         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4005         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4006         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4007         * sysdeps/unix/bsd/times.c: Likewise.
4008         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4009         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4013         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4014         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4015         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4017         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4018         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4019         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4020         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4021         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4022         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4023         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4024         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4025         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4026         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4027         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4028         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4029         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4030         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4031         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4032         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4033         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4034         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4035         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4036         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4037         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4038         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4039         * sysdeps/x86_64/strcspn.S: Likewise.
4041 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4043         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4044         generated file.  Regenerate properly from gen-translit.pl.
4045         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4046         locale/C-translit.h.
4048 2013-06-05  Andreas Schwab  <schwab@suse.de>
4050         [BZ #15100]
4051         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4052         week as 6 instead of -1.
4053         * time/tst-strptime.c (day_tests): Add test case.
4055 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4057         * sysdeps/generic/math_private.h
4058         (libc_feholdexcept_setround_53bit): Replace with
4059         libc_feholdsetround_53bit.
4060         (libc_feupdateenv_53bit): Replace with
4061         libc_feresetround_53bit.
4062         (SET_RESTORE_ROUND_53BIT): Adjust.
4064 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4066         * string/test-strchrnul.c: Add copyright header.
4068         * posix/tst-getaddrinfo4.c: Increase test timeout.
4070 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4072         [BZ #15536]
4073         * math/libm-test.inc (MAX_EXP): Remove
4074         (MIN_EXP): Define.
4075         (ulp): Use MIN_EXP - MANT_DIG.
4076         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4078 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4080         * po/be.po: Revert last change.
4081         * po/zh_CN.po: Likewise.
4082         * po/header.pot: Likewise.
4084 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4086         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4087         link-libc-deps to empty as target-specific variable.
4088         * Makerules (link-libc-args): New variable.
4089         (libc-for-link): Likewise.
4090         (link-libc-deps): Likewise.
4091         (lib%.so): Depend on $(link-libc-deps).  Link with
4092         $(link-libc-args).
4093         (build-module): Link with $(link-libc-args).
4094         (build-module-asneeded): Likewise.
4095         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4096         list of objects.
4097         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4098         target-specific variable.
4099         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4100         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4101         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4102         libc.
4103         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4104         libc and ld.so.
4105         ($(objpfx)libpcprofile.so): Likewise.
4106         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4107         libc_nonshared.a.
4108         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4109         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4110         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4111         $(link-libc-deps).
4112         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4113         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4114         * login/Makefile ($(objpfx)libutil.so): Likewise.
4115         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4116         * math/Makefile ($(objpfx)libm.so): Likewise.
4117         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4118         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4119         variable instead of depending directly on libc.
4120         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4121         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4122         $(link-libc-deps).
4123         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4124         libc.
4125         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4126         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4127         ($(objpfx)libanl.so): Likewise.
4128         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4129         ld.so.
4130         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4131         $(link-libc-deps).
4132         * sysdeps/i386/fpu/Makefile: Remove file.
4133         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4134         ($(objpfx)libm.so): Remove dependency on ld.so.
4136 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4138         [BZ # 15553]
4139         * nis/yp_xdr.c (XDRMAXNAME): Define.
4140         (XDRMAXRECORD): Define.
4141         (xdr_domainname): Use XDRMAXNAME.
4142         (xdr_mapname): Likewise.
4143         (xdr_peername): Likewise.
4144         (xdr_keydat): Use XDRMAXRECORD.
4145         (xdr_valdat): Likewise.
4147 2013-05-30  Jeff Law  <law@redhat.com>
4149         [BZ #14256]
4150         * manual/errno.texi (ESTALE): Update to account for more than
4151         just NFS file systems.
4152         * sysdeps/gnu/errlist.c: Regenerated.
4154 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4156         [BZ #15465]
4157         * elf/Makefile (tests): Add tst-null-argv.
4158         (modules-names):  Add tst-null-argv-lib.
4159         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4160         (tst-null-argv-ENV): Set environment for tst-null-argv.
4161         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4162         (RTLD_PROGNAME): New macro.
4163         * elf/tst-null-argv.c: New test case.
4164         * elf/tst-null-argv-lib.c: Library for test case.
4165         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4166         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4167         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4168         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4169         * elf/dl-init.c (call_init): Likewise.
4170         (_dl_init): Likewise.
4171         * elf/dl-load.c (print_search_path): Likewise.
4172         (_dl_map_object): Likewise.
4173         * elf/dl-lookup.c (do_lookup_x): Likewise.
4174         (add_dependency): Likewise.
4175         (_dl_lookup_symbol_x): Likewise.
4176         (_dl_debug_bindings): Likewise.
4177         * elf/dl-open.c (_dl_show_scope): Likewise.
4178         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4179         * elf/dl-version.c (match_symbol): Likewise.
4180         (_dl_check_map_versions): Likewise.
4181         * elf/rtld.c (dl_main): Likewise.
4182         (print_unresolved): Use RTLD_PROGNAME.
4183         (print_missing_version): Likewise.
4184         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4185         (elf_machine_rela): Likewise.
4186         * sysdeps/powerpc/powerpc32/dl-machine.c
4187         (__process_machine_rela): Likewise.
4188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4189         Likewise.
4190         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4191         Likewise.
4192         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4193         Likewise.
4194         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4195         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4196         Likewise.
4197         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4198         Likewise.
4199         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4201 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4203         * po/be.po: Add descriptive title.
4204         * po/zh_CN.po: Likewise.
4205         * po/header.pot: Likewise.
4207 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4209         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4210         error message.
4211         (enlarge_archive): Likewise.
4213 2013-05-28  Ben North  <ben@redfrontdoor.org>
4215         * manual/arith.texi (frexp): It is the magnitude of the return
4216         value which lies in [0.5, 1), not the return value itself.
4218 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4222 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4224         * stdio-common/bug26.c (main): Correct fscanf template.
4226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4227         declare _dl_skip_args.
4229         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4230         Don't declare.
4232         * manual/platform.texi: Add missing @end deftypefun.
4234 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4236         [BZ #15529]
4237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4238         bit of mantissa of 2^16382.
4239         * math/libm-test.inc (hypot_test_data): Add more tests.
4241         * math/libm-test.inc: Add drem and pow10 to list of tested
4242         functions.
4243         (pow10_test): New function.
4244         (drem_test): Likewise.
4245         (drem_test_tonearest): Likewise.
4246         (drem_test_towardzero): Likewise.
4247         (drem_test_downward): Likewise.
4248         (drem_test_upward): Likewise.
4249         (main): Call the new functions.
4251         * math/libm-test.inc (finite_test_data): Remove.
4252         (finite_test): Run tests from isfinite_test_data.
4253         (gamma_test_data): Remove.
4254         (gamma_test): Run tests from lgamma_test_data.
4255         * sysdeps/i386/fpu/libm-test-ulps: Update.
4256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4260         * manual/platform.texi: Add PowerPC PPR function set documentation.
4261         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4262         implementation.
4264 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4266         * math/libm-test.inc (MAX_EXP): Define.
4267         (ULPDIFF): Define.
4268         (ulp): New function.
4269         (check_float_internal): Use ULPDIFF.
4270         (cpow_test): Disable failing test.
4271         (check_ulp): Test ulp() implemetnation.
4272         (main): Call check_ulp before starting tests.
4274 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4276         * math/gen-libm-test.pl (generate_testfile): Do not handle
4277         START_DATA and END_DATA.
4278         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4279         END_DATA.
4280         (acos_tonearest_test_data): Likewise.
4281         (acos_towardzero_test_data): Likewise.
4282         (acos_downward_test_data): Likewise.
4283         (acos_upward_test_data): Likewise.
4284         (acosh_test_data): Likewise.
4285         (asin_test_data): Likewise.
4286         (asin_tonearest_test_data): Likewise.
4287         (asin_towardzero_test_data): Likewise.
4288         (asin_downward_test_data): Likewise.
4289         (asin_upward_test_data): Likewise.
4290         (asinh_test_data): Likewise.
4291         (atan_test_data): Likewise.
4292         (atanh_test_data): Likewise.
4293         (atan2_test_data): Likewise.
4294         (cabs_test_data): Likewise.
4295         (cacos_test_data): Likewise.
4296         (cacosh_test_data): Likewise.
4297         (carg_test_data): Likewise.
4298         (casin_test_data): Likewise.
4299         (casinh_test_data): Likewise.
4300         (catan_test_data): Likewise.
4301         (catanh_test_data): Likewise.
4302         (cbrt_test_data): Likewise.
4303         (ccos_test_data): Likewise.
4304         (ccosh_test_data): Likewise.
4305         (ceil_test_data): Likewise.
4306         (cexp_test_data): Likewise.
4307         (cimag_test_data): Likewise.
4308         (clog_test_data): Likewise.
4309         (clog10_test_data): Likewise.
4310         (conj_test_data): Likewise.
4311         (copysign_test_data): Likewise.
4312         (cos_test_data): Likewise.
4313         (cos_tonearest_test_data): Likewise.
4314         (cos_towardzero_test_data): Likewise.
4315         (cos_downward_test_data): Likewise.
4316         (cos_upward_test_data): Likewise.
4317         (cosh_test_data): Likewise.
4318         (cosh_tonearest_test_data): Likewise.
4319         (cosh_towardzero_test_data): Likewise.
4320         (cosh_downward_test_data): Likewise.
4321         (cosh_upward_test_data): Likewise.
4322         (cpow_test_data): Likewise.
4323         (cproj_test_data): Likewise.
4324         (creal_test_data): Likewise.
4325         (csin_test_data): Likewise.
4326         (csinh_test_data): Likewise.
4327         (csqrt_test_data): Likewise.
4328         (ctan_test_data): Likewise.
4329         (ctan_tonearest_test_data): Likewise.
4330         (ctan_towardzero_test_data): Likewise.
4331         (ctan_downward_test_data): Likewise.
4332         (ctan_upward_test_data): Likewise.
4333         (ctanh_test_data): Likewise.
4334         (ctanh_tonearest_test_data): Likewise.
4335         (ctanh_towardzero_test_data): Likewise.
4336         (ctanh_downward_test_data): Likewise.
4337         (ctanh_upward_test_data): Likewise.
4338         (erf_test_data): Likewise.
4339         (erfc_test_data): Likewise.
4340         (exp_test_data): Likewise.
4341         (exp_tonearest_test_data): Likewise.
4342         (exp_towardzero_test_data): Likewise.
4343         (exp_downward_test_data): Likewise.
4344         (exp_upward_test_data): Likewise.
4345         (exp10_test_data): Likewise.
4346         (exp2_test_data): Likewise.
4347         (expm1_test_data): Likewise.
4348         (fabs_test_data): Likewise.
4349         (fdim_test_data): Likewise.
4350         (finite_test_data): Likewise.
4351         (floor_test_data): Likewise.
4352         (fma_test_data): Likewise.
4353         (fma_towardzero_test_data): Likewise.
4354         (fma_downward_test_data): Likewise.
4355         (fma_upward_test_data): Likewise.
4356         (fmax_test_data): Likewise.
4357         (fmin_test_data): Likewise.
4358         (fmod_test_data): Likewise.
4359         (fpclassify_test_data): Likewise.
4360         (frexp_test_data): Likewise.
4361         (gamma_test_data): Likewise.
4362         (hypot_test_data): Likewise.
4363         (ilogb_test_data): Likewise.
4364         (isfinite_test_data): Likewise.
4365         (isgreater_test_data): Likewise.
4366         (isgreaterequal_test_data): Likewise.
4367         (isinf_test_data): Likewise.
4368         (isless_test_data): Likewise.
4369         (islessequal_test_data): Likewise.
4370         (islessgreater_test_data): Likewise.
4371         (isnan_test_data): Likewise.
4372         (isnormal_test_data): Likewise.
4373         (issignaling_test_data): Likewise.
4374         (isunordered_test_data): Likewise.
4375         (j0_test_data): Likewise.
4376         (j1_test_data): Likewise.
4377         (jn_test_data): Likewise.
4378         (ldexp_test_data): Likewise.
4379         (lgamma_test_data): Likewise.
4380         (lrint_test_data): Likewise.
4381         (lrint_tonearest_test_data): Likewise.
4382         (lrint_towardzero_test_data): Likewise.
4383         (lrint_downward_test_data): Likewise.
4384         (lrint_upward_test_data): Likewise.
4385         (llrint_test_data): Likewise.
4386         (llrint_tonearest_test_data): Likewise.
4387         (llrint_towardzero_test_data): Likewise.
4388         (llrint_downward_test_data): Likewise.
4389         (llrint_upward_test_data): Likewise.
4390         (log_test_data): Likewise.
4391         (log10_test_data): Likewise.
4392         (log1p_test_data): Likewise.
4393         (log2_test_data): Likewise.
4394         (logb_test_data): Likewise.
4395         (logb_downward_test_data): Likewise.
4396         (lround_test_data): Likewise.
4397         (llround_test_data): Likewise.
4398         (modf_test_data): Likewise.
4399         (nearbyint_test_data): Likewise.
4400         (nextafter_test_data): Likewise.
4401         (nexttoward_test_data): Likewise.
4402         (pow_test_data): Likewise.
4403         (pow_tonearest_test_data): Likewise.
4404         (pow_towardzero_test_data): Likewise.
4405         (pow_downward_test_data): Likewise.
4406         (pow_upward_test_data): Likewise.
4407         (remainder_test_data): Likewise.
4408         (remainder_tonearest_test_data): Likewise.
4409         (remainder_towardzero_test_data): Likewise.
4410         (remainder_downward_test_data): Likewise.
4411         (remainder_upward_test_data): Likewise.
4412         (remquo_test_data): Likewise.
4413         (rint_test_data): Likewise.
4414         (rint_tonearest_test_data): Likewise.
4415         (rint_towardzero_test_data): Likewise.
4416         (rint_downward_test_data): Likewise.
4417         (rint_upward_test_data): Likewise.
4418         (round_test_data): Likewise.
4419         (scalb_test_data): Likewise.
4420         (scalbn_test_data): Likewise.
4421         (scalbln_test_data): Likewise.
4422         (signbit_test_data): Likewise.
4423         (sin_test_data): Likewise.
4424         (sin_tonearest_test_data): Likewise.
4425         (sin_towardzero_test_data): Likewise.
4426         (sin_downward_test_data): Likewise.
4427         (sin_upward_test_data): Likewise.
4428         (sincos_test_data): Likewise.
4429         (sinh_test_data): Likewise.
4430         (sinh_tonearest_test_data): Likewise.
4431         (sinh_towardzero_test_data): Likewise.
4432         (sinh_downward_test_data): Likewise.
4433         (sinh_upward_test_data): Likewise.
4434         (sqrt_test_data): Likewise.
4435         (tan_test_data): Likewise.
4436         (tan_tonearest_test_data): Likewise.
4437         (tan_towardzero_test_data): Likewise.
4438         (tan_downward_test_data): Likewise.
4439         (tan_upward_test_data): Likewise.
4440         (tanh_test_data): Likewise.
4441         (tgamma_test_data): Likewise.
4442         (trunc_test_data): Likewise.
4443         (y0_test_data): Likewise.
4444         (y1_test_data): Likewise.
4445         (yn_test_data): Likewise.
4446         (significand_test_data): Likewise.
4448         * math/gen-libm-test.pl (@functions): Remove variable.
4449         (generate_testfile): Don't handle START and END lines.
4450         * math/libm-test.inc (START): New macro.
4451         (END): Likewise.
4452         (END_COMPLEX): Likewise.
4453         (acos_test): Use END macro without arguments.
4454         (acos_test_tonearest): Likewise.
4455         (acos_test_towardzero): Likewise.
4456         (acos_test_downward): Likewise.
4457         (acos_test_upward): Likewise.
4458         (acosh_test): Likewise.
4459         (asin_test): Likewise.
4460         (asin_test_tonearest): Likewise.
4461         (asin_test_towardzero): Likewise.
4462         (asin_test_downward): Likewise.
4463         (asin_test_upward): Likewise.
4464         (asinh_test): Likewise.
4465         (atan_test): Likewise.
4466         (atanh_test): Likewise.
4467         (atan2_test): Likewise.
4468         (cabs_test): Likewise.
4469         (cacos_test): Use END_COMPLEX macro without arguments.
4470         (cacosh_test): Likewise.
4471         (carg_test): Use END macro without arguments.
4472         (casin_test): Use END_COMPLEX macro without arguments.
4473         (casinh_test): Likewise.
4474         (catan_test): Likewise.
4475         (catanh_test): Likewise.
4476         (cbrt_test): Use END macro without arguments.
4477         (ccos_test): Use END_COMPLEX macro without arguments.
4478         (ccosh_test): Likewise.
4479         (ceil_test): Use END macro without arguments.
4480         (cexp_test): Use END_COMPLEX macro without arguments.
4481         (cimag_test): Use END macro without arguments.
4482         (clog_test): Use END_COMPLEX macro without arguments.
4483         (clog10_test): Likewise.
4484         (conj_test): Likewise.
4485         (copysign_test): Use END macro without arguments.
4486         (cos_test): Likewise.
4487         (cos_test_tonearest): Likewise.
4488         (cos_test_towardzero): Likewise.
4489         (cos_test_downward): Likewise.
4490         (cos_test_upward): Likewise.
4491         (cosh_test): Likewise.
4492         (cosh_test_tonearest): Likewise.
4493         (cosh_test_towardzero): Likewise.
4494         (cosh_test_downward): Likewise.
4495         (cosh_test_upward): Likewise.
4496         (cpow_test): Use END_COMPLEX macro without arguments.
4497         (cproj_test): Likewise.
4498         (creal_test): Use END macro without arguments.
4499         (csin_test): Use END_COMPLEX macro without arguments.
4500         (csinh_test): Likewise.
4501         (csqrt_test): Likewise.
4502         (ctan_test): Likewise.
4503         (ctan_test_tonearest): Likewise.
4504         (ctan_test_towardzero): Likewise.
4505         (ctan_test_downward): Likewise.
4506         (ctan_test_upward): Likewise.
4507         (ctanh_test): Likewise.
4508         (ctanh_test_tonearest): Likewise.
4509         (ctanh_test_towardzero): Likewise.
4510         (ctanh_test_downward): Likewise.
4511         (ctanh_test_upward): Likewise.
4512         (erf_test): Use END macro without arguments.
4513         (erfc_test): Likewise.
4514         (exp_test): Likewise.
4515         (exp_test_tonearest): Likewise.
4516         (exp_test_towardzero): Likewise.
4517         (exp_test_downward): Likewise.
4518         (exp_test_upward): Likewise.
4519         (exp10_test): Likewise.
4520         (exp2_test): Likewise.
4521         (expm1_test): Likewise.
4522         (fabs_test): Likewise.
4523         (fdim_test): Likewise.
4524         (finite_test): Likewise.
4525         (floor_test): Likewise.
4526         (fma_test): Likewise.
4527         (fma_test_towardzero): Likewise.
4528         (fma_test_downward): Likewise.
4529         (fma_test_upward): Likewise.
4530         (fmax_test): Likewise.
4531         (fmin_test): Likewise.
4532         (fmod_test): Likewise.
4533         (fpclassify_test): Likewise.
4534         (frexp_test): Likewise.
4535         (gamma_test): Likewise.
4536         (hypot_test): Likewise.
4537         (ilogb_test): Likewise.
4538         (isfinite_test): Likewise.
4539         (isgreater_test): Likewise.
4540         (isgreaterequal_test): Likewise.
4541         (isinf_test): Likewise.
4542         (isless_test): Likewise.
4543         (islessequal_test): Likewise.
4544         (islessgreater_test): Likewise.
4545         (isnan_test): Likewise.
4546         (isnormal_test): Likewise.
4547         (issignaling_test): Likewise.
4548         (isunordered_test): Likewise.
4549         (j0_test): Likewise.
4550         (j1_test): Likewise.
4551         (jn_test): Likewise.
4552         (ldexp_test): Likewise.
4553         (lgamma_test): Likewise.
4554         (lrint_test): Likewise.
4555         (lrint_test_tonearest): Likewise.
4556         (lrint_test_towardzero): Likewise.
4557         (lrint_test_downward): Likewise.
4558         (lrint_test_upward): Likewise.
4559         (llrint_test): Likewise.
4560         (llrint_test_tonearest): Likewise.
4561         (llrint_test_towardzero): Likewise.
4562         (llrint_test_downward): Likewise.
4563         (llrint_test_upward): Likewise.
4564         (log_test): Likewise.
4565         (log10_test): Likewise.
4566         (log1p_test): Likewise.
4567         (log2_test): Likewise.
4568         (logb_test): Likewise.
4569         (logb_test_downward): Likewise.
4570         (lround_test): Likewise.
4571         (llround_test): Likewise.
4572         (modf_test): Likewise.
4573         (nearbyint_test): Likewise.
4574         (nextafter_test): Likewise.
4575         (nexttoward_test): Likewise.
4576         (pow_test): Likewise.
4577         (pow_test_tonearest): Likewise.
4578         (pow_test_towardzero): Likewise.
4579         (pow_test_downward): Likewise.
4580         (pow_test_upward): Likewise.
4581         (remainder_test): Likewise.
4582         (remainder_test_tonearest): Likewise.
4583         (remainder_test_towardzero): Likewise.
4584         (remainder_test_downward): Likewise.
4585         (remainder_test_upward): Likewise.
4586         (remquo_test): Likewise.
4587         (rint_test): Likewise.
4588         (rint_test_tonearest): Likewise.
4589         (rint_test_towardzero): Likewise.
4590         (rint_test_downward): Likewise.
4591         (rint_test_upward): Likewise.
4592         (round_test): Likewise.
4593         (scalb_test): Likewise.
4594         (scalbn_test): Likewise.
4595         (scalbln_test): Likewise.
4596         (signbit_test): Likewise.
4597         (sin_test): Likewise.
4598         (sin_test_tonearest): Likewise.
4599         (sin_test_towardzero): Likewise.
4600         (sin_test_downward): Likewise.
4601         (sin_test_upward): Likewise.
4602         (sincos_test): Likewise.
4603         (sinh_test): Likewise.
4604         (sinh_test_tonearest): Likewise.
4605         (sinh_test_towardzero): Likewise.
4606         (sinh_test_downward): Likewise.
4607         (sinh_test_upward): Likewise.
4608         (sqrt_test): Likewise.
4609         (tan_test): Likewise.
4610         (tan_test_tonearest): Likewise.
4611         (tan_test_towardzero): Likewise.
4612         (tan_test_downward): Likewise.
4613         (tan_test_upward): Likewise.
4614         (tanh_test): Likewise.
4615         (tgamma_test): Likewise.
4616         (trunc_test): Likewise.
4617         (y0_test): Likewise.
4618         (y1_test): Likewise.
4619         (yn_test): Likewise.
4620         (significand_test): Likewise.
4622 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4624         [BZ #15381]
4625         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4627 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4629         [BZ #14894]
4630         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4631         __ppc_mdoio and __ppc_mdoom.
4632         * manual/platform.texi: Document new functions __ppc_yield,
4633         __ppc_mdoio and __ppc_mdoom.
4635 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4637         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4638         (main): Mention "tls" pseudo-hwcap is legacy.
4639         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4641 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4643         * math/gen-libm-test.pl (parse_args): Output only string of
4644         arguments as text for test name, not full call or descriptions of
4645         tests for extra outputs.
4646         (generate_testfile): Do not pass function name to parse_args.
4647         Generate this_func variable from START.
4648         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4649         field to arg_str.
4650         (struct test_ff_f_data): Likewise.
4651         (test_ff_f_data_nexttoward): Likewise.
4652         (struct test_fi_f_data): Likewise.
4653         (struct test_fl_f_data): Likewise.
4654         (struct test_if_f_data): Likewise.
4655         (struct test_fff_f_data): Likewise.
4656         (struct test_c_f_data): Likewise.
4657         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4658         (struct test_fF_f1_data): Likewise.
4659         (struct test_ffI_f1_data): Likewise.
4660         (struct test_c_c_data): Rename test_name field to arg_str.
4661         (struct test_cc_c_data): Likewise.
4662         (struct test_f_i_data): Likewise.
4663         (struct test_ff_i_data): Likewise.
4664         (struct test_f_l_data): Likewise.
4665         (struct test_f_L_data): Likewise.
4666         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4667         and extra2_name.
4668         (COMMON_TEST_SETUP): New macro.
4669         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4670         (COMMON_TEST_CLEANUP): Likewise.
4671         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4672         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4673         macros.
4674         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4675         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4676         macros.
4677         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4678         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4679         cleanup macros.
4680         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4681         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4682         macros.
4683         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4684         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4685         macros.
4686         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4687         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4688         cleanup macros.
4689         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4690         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4691         cleanup macros.
4692         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4693         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4694         cleanup macros.
4695         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4696         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4697         macros.
4698         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4699         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4700         macros.
4701         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4702         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4703         macros.
4704         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4705         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4706         cleanup macros.
4707         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4708         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4709         cleanup macros.
4710         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4711         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4712         macros.
4713         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4714         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4715         cleanup macros.
4716         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4717         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4718         macros.
4719         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4720         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4721         macros.
4722         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4723         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4724         cleanup macros.
4725         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4727 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4729         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4730         to _sifields.sigfault.
4731         (si_addr_lsb): Define new macro.
4732         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4734         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4736 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4738         [BZ #15441]
4739         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4740         returns -1.
4741         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4742         null return -1.
4743         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4744         loading the domain.
4746 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4748         * math/gen-libm-test.pl (parse_args): Do not include expected
4749         result in test name.
4750         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4751         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4752         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4753         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4754         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4759         * benchtests/Makefile: Sort function entries.
4761         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4762         tanh, asinh, acosh, atanh.
4763         * benchtests/acos-inputs: New file.
4764         * benchtests/acosh-inputs: New file.
4765         * benchtests/asin-inputs: New file.
4766         * benchtests/asinh-inputs: New file.
4767         * benchtests/atanh-inputs: New file.
4768         * benchtests/cosh-inputs: New file.
4769         * benchtests/log-inputs: New file.
4770         * benchtests/sinh-inputs: New file.
4771         * benchtests/tanh-inputs: New file.
4773 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4775         [BZ #15339]
4776         * posix/tst-getaddrinfo4.c: New test.
4777         * posix/Makefile (tests): Add it.
4779 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4781         [BZ #15339]
4782         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4783         when no services were used.
4784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4785         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4787 2013-05-21  Andreas Schwab  <schwab@suse.de>
4789         [BZ #15014]
4790         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4791         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4792         successful.
4793         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4794         redundant variable declarations and reallocation of buffer when
4795         parsing as IPv6 address.  Always set NSS status when called from
4796         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4797         buffer too small.  Correct computation of needed size.
4798         * nss/Makefile (tests): Add test-digits-dots.
4799         * nss/test-digits-dots.c: New test.
4801 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4803         * benchtests/Makefile: Remove instructions for adding
4804         benchmark tests.
4805         * benchtests/README: New file to explain how to execute and
4806         enhance the benchmark tests.
4808 2013-05-21  Andreas Schwab  <schwab@suse.de>
4810         [BZ #15493]
4811         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4812         * setjmp/tst-sigsetjmp.c: New test.
4814 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4816         * sysdeps/x86_64/memset.S (memset): New implementation.
4817         (__bzero): Likewise.
4818         (__memset_tail): New function.
4820 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4822         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4823         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4824         __memcpy_sse2_unaligned ifunc selection.
4825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4826         Add memcpy-sse2-unaligned.S.
4827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4828         Add: __memcpy_sse2_unaligned.
4830 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4832         [BZ #15490]
4833         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4834         math_force_eval before restoring floating-point envrionment.
4835         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4836         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4837         Likewise.
4838         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4839         <math_private.h>.
4840         (__nearbyintl): Use math_force_eval before restoring
4841         floating-point environment.
4842         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4844         * math/gen-libm-test.pl (special_functions): Remove.
4845         (parse_args): Don't handle TEST_extra.  Handle functions with no
4846         return value.
4847         * math/libm-test.inc (struct test_sincos_data): Replace with
4848         struct test_fFF_11_data.
4849         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4850         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4851         (sincos_test_data): Change element type to struct
4852         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
4853         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4854         RUN_TEST_LOOP_sincos.
4855         * math/README.libm-test: Don't mention special handling of
4856         individual functions.
4857         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4858         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4859         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4860         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4861         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4864         * math/gen-libm-test.pl (get_variable): Remove function.
4865         (parse_args): Don't show pointer parameters to call in test
4866         names.  Use "extra output N" in test names for extra outputs
4867         rather than naming variables.
4869 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
4871         [BZ #15488]
4872         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4873         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4874         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4875         double tests.
4876         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4877         disable.
4878         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4879         check_long_double.
4881         * math/gen-libm-test.pl (@tests): Remove variable.
4882         ($count): Likewise.
4883         (new_test): Remove function.
4884         (show_exceptions): New function.
4885         (special_functions): Use show_exceptions instead of new_test.
4886         (parse_args): Likewise.
4887         (generate_testfile): Pass only function name in generated call to
4888         print_max_error or print_complex_max_error.
4889         (get_ulps): Do not handle complex tests specially.
4890         (output_test): Rename to ...
4891         (get_all_ulps_for_test): ... this.  Return a string rather than
4892         printing to a file.  Require ulps to be present.
4893         (output_ulps): Generate arrays rather than #defines.
4894         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4895         (struct ulp_data): New type.
4896         (BUILD_COMPLEX_ULP): Remove macro.
4897         (compare_ulp_data): New function.
4898         (find_ulps): Likewise.
4899         (find_test_ulps): Likewise.
4900         (find_function_ulps): Likewise.
4901         (find_complex_function_ulps): Likewise.
4902         (print_max_error): Determine allowed ulps using
4903         find_function_ulps.
4904         (print_complex_max_error): Determine allowed ulps using
4905         find_complex_function_ulps.
4906         (check_float_internal): Determine max ulps using find_test_ulps.
4907         (check_float): Do not take max_ulp parameter.  Update call to
4908         check_float_internal.
4909         (check_complex): Likewise.
4910         (check_int): Do not take max_ulp parameter.
4911         (check_long): Likewise.
4912         (check_bool): Likewise.
4913         (check_longlong): Likewise.
4914         (struct test_f_f_data): Remove max_ulp field.
4915         (struct test_ff_f_data): Likewise.
4916         (struct test_ff_f_data_nexttoward): Likewise.
4917         (struct test_fi_f_data): Likewise.
4918         (struct test_fl_f_data): Likewise.
4919         (struct test_if_f_data): Likewise.
4920         (struct test_fff_f_data): Likewise.
4921         (struct test_c_f_data): Likewise.
4922         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4923         (struct test_fF_f1_data): Likewise.
4924         (struct test_ffI_f1_data): Likewise.
4925         (struct test_c_c_data): Remove max_ulp field.
4926         (struct test_cc_c_data): Likewise.
4927         (struct test_f_i_data): Likewise.
4928         (struct test_ff_i_data): Likewise.
4929         (struct test_f_l_data): Likewise.
4930         (struct test_f_L_data): Likewise.
4931         (struct test_sincos_data): Likewise.
4932         (RUN_TEST_f_f): Do not handle ulps.
4933         (RUN_TEST_LOOP_f_f): Likewise.
4934         (RUN_TEST_2_f): Likewise.
4935         (RUN_TEST_LOOP_2_f): Likewise.
4936         (RUN_TEST_fff_f): Likewise.
4937         (RUN_TEST_LOOP_fff_f): Likewise.
4938         (RUN_TEST_c_f): Likewise.
4939         (RUN_TEST_LOOP_c_f): Likewise.
4940         (RUN_TEST_f_f1): Likewise.
4941         (RUN_TEST_LOOP_f_f1): Likewise.
4942         (RUN_TEST_fF_f1): Likewise.
4943         (RUN_TEST_LOOP_fF_f1): Likewise.
4944         (RUN_TEST_fI_f1): Likewise.
4945         (RUN_TEST_LOOP_fI_f1): Likewise.
4946         (RUN_TEST_ffI_f1): Likewise.
4947         (RUN_TEST_LOOP_ffI_f1): Likewise.
4948         (RUN_TEST_c_c): Likewise.
4949         (RUN_TEST_LOOP_c_c): Likewise.
4950         (RUN_TEST_cc_c): Likewise.
4951         (RUN_TEST_LOOP_cc_c): Likewise.
4952         (RUN_TEST_f_i): Likewise.
4953         (RUN_TEST_LOOP_f_i): Likewise.
4954         (RUN_TEST_f_i_tg): Likewise.
4955         (RUN_TEST_LOOP_f_i_tg): Likewise.
4956         (RUN_TEST_ff_i_tg): Likewise.
4957         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4958         (RUN_TEST_f_b): Likewise.
4959         (RUN_TEST_LOOP_f_b): Likewise.
4960         (RUN_TEST_f_b_tg): Likewise.
4961         (RUN_TEST_LOOP_f_b_tg): Likewise.
4962         (RUN_TEST_f_l): Likewise.
4963         (RUN_TEST_LOOP_f_l): Likewise.
4964         (RUN_TEST_f_L): Likewise.
4965         (RUN_TEST_LOOP_f_L): Likewise.
4966         (RUN_TEST_sincos): Likewise.
4967         (RUN_TEST_LOOP_sincos): Likewise.
4969 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
4971         [BZ #15480]
4972         [BZ #15485]
4973         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4974         main case of finite arguments, set rounding mode to FE_TONEAREST
4975         and discard exceptions.
4976         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4977         exceptions.
4978         (remainder_tonearest_test_data): New variable.
4979         (remainder_test_tonearest): New function.
4980         (remainder_towardzero_test_data): New variable.
4981         (remainder_test_towardzero): New function.
4982         (remainder_downward_test_data): New variable.
4983         (remainder_test_downward): New function.
4984         (remainder_upward_test_data): New variable.
4985         (remainder_test_upward): New function.
4986         (main): Call the new test functions.
4988         * math/libm-test.inc (struct test_f_f1_data): Remove field
4989         extra_init.
4990         (struct test_fF_f1_data): Likewise.
4991         (struct test_ffI_f1_data): Likewise.
4992         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
4993         based on value of EXTRA_EXPECTED.
4994         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4995         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
4996         EXTRA_VAR based on value of EXTRA_EXPECTED.
4997         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4998         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
4999         EXTRA_VAR based on value of EXTRA_EXPECTED.
5000         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5001         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5002         EXTRA_VAR based on value of EXTRA_EXPECTED.
5003         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5004         * math/gen-libm-test.pl (parse_args): Don't output initializers
5005         for extra output values.
5007         * math/libm-test.inc (check_int): Expect result to be exactly
5008         equal to expected value and do not handle ulps.
5009         (check_long): Likewise.
5010         (check_longlong): Likewise.
5012         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5013         exceptions.
5014         (cimag_test_data): Likewise.
5015         (conj_test_data): Likewise.
5016         (copysign_test_data): Likewise.
5017         (cproj_test_data): Likewise.
5018         (creal_test_data): Likewise.
5019         (fabs_test_data): Likewise.
5020         (fdim_test_data): Likewise.
5021         (finite_test_data): Likewise.
5022         (floor_test_data): Likewise.
5023         (fmax_test_data): Likewise.
5024         (fmin_test_data): Likewise.
5025         (fmod_test_data): Likewise.
5026         (fpclassify_test_data): Likewise.
5027         (frexp_test_data): Likewise.
5028         (ilogb_test_data): Likewise.
5029         (isfinite_test_data): Likewise.
5030         (isgreater_test_data): Likewise.
5031         (isgreaterequal_test_data): Likewise.
5032         (isinf_test_data): Likewise.
5033         (isless_test_data): Likewise.
5034         (islessequal_test_data): Likewise.
5035         (islessgreater_test_data): Likewise.
5036         (isnan_test_data): Likewise.
5037         (isnormal_test_data): Likewise.
5038         (issignaling_test_data): Likewise.
5039         (isunordered_test_data): Likewise.
5040         (ldexp_test_data): Likewise.
5041         (lrint_test_data): Likewise.
5042         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5043         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5044         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5045         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5046         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5047         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5048         test input.
5049         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5050         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5051         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5052         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5053         that test input.
5054         (lrint_downward_test_data): Test for "inexact" exceptions.
5055         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5056         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5057         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5058         test input.
5059         (lrint_upward_test_data): Test for "inexact" exceptions.
5060         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5061         test input.
5062         (llrint_test_data): Test for "inexact" exceptions.
5063         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5064         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5065         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5066         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5067         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5068         (llrint_downward_test_data): Test for "inexact" exceptions.
5069         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5070         (llrint_upward_test_data): Test for "inexact" exceptions.
5071         (logb_test_data): Likewise.
5072         (logb_downward_test_data): Likewise.
5073         (nextafter_test_data): Likewise.
5074         (nexttoward_test_data): Likewise.
5075         (remainder_test_data): Likewise.
5076         (remquo_test_data): Likewise.
5077         (scalbn_test_data): Likewise.
5078         (scalbln_test_data): Likewise.
5079         (signbit_test_data): Likewise.
5080         (sqrt_test_data): Likewise.
5081         (significand_test_data): Likewise.
5083 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5085         [BZ #15424]
5086         * benchtests/bench-modf.c (struct args): Mark arg0 as
5087         volatile.
5088         * scripts/bench.pl: Mark members of struct args as volatile.
5090 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5092         [BZ # 15497]
5093         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5094         negative infinity on POWER6 or lower.
5095         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5097 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5099         [BZ #15442]
5100         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5101         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5102         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5103         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5104         (_FP_SETQNAN): New macro.
5105         (_FP_SETQNAN_SEMIRAW): Likewise.
5106         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5107         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5108         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5109         (FP_EXTEND): Use _FP_FRAC_SNANP.
5110         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5111         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5112         into account.
5113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5114         New macro.
5115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5116         Likewise.
5118 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5120         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5121         with DIVIDE_BY_ZERO_EXCEPTION.
5122         (gamma_test_data): Likewise.
5123         (lgamma_test_data): Likewise.
5124         (log_test_data): Likewise.
5125         (log10_test_data): Likewise.
5126         (log2_test_data): Likewise.
5127         (tgamma_test_data): Likewise.
5129         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5130         (acos_test_tonearest): Likewise.
5131         (acos_test_towardzero): Likewise.
5132         (acos_test_downward): Likewise.
5133         (acos_test_upward): Likewise.
5134         (acosh_test): Likewise.
5135         (asin_test): Likewise.
5136         (asin_test_tonearest): Likewise.
5137         (asin_test_towardzero): Likewise.
5138         (asin_test_downward): Likewise.
5139         (asin_test_upward): Likewise.
5140         (asinh_test): Likewise.
5141         (atan_test): Likewise.
5142         (atanh_test): Likewise.
5143         (atan2_test): Likewise.
5144         (cabs_test): Likewise.
5145         (cacos_test): Likewise.
5146         (cacosh_test): Likewise.
5147         (casin_test): Likewise.
5148         (casinh_test): Likewise.
5149         (catan_test): Likewise.
5150         (catanh_test): Likewise.
5151         (cbrt_test): Likewise.
5152         (ccos_test): Likewise.
5153         (ccosh_test): Likewise.
5154         (cexp_test): Likewise.
5155         (clog_test): Likewise.
5156         (clog10_test): Likewise.
5157         (cos_test): Likewise.
5158         (cos_test_tonearest): Likewise.
5159         (cos_test_towardzero): Likewise.
5160         (cos_test_downward): Likewise.
5161         (cos_test_upward): Likewise.
5162         (cosh_test): Likewise.
5163         (cosh_test_tonearest): Likewise.
5164         (cosh_test_towardzero): Likewise.
5165         (cosh_test_downward): Likewise.
5166         (cosh_test_upward): Likewise.
5167         (cpow_test): Likewise.
5168         (csin_test): Likewise.
5169         (csinh_test): Likewise.
5170         (csqrt_test): Likewise.
5171         (ctan_test): Likewise.
5172         (ctan_test_tonearest): Likewise.
5173         (ctan_test_towardzero): Likewise.
5174         (ctan_test_downward): Likewise.
5175         (ctan_test_upward): Likewise.
5176         (ctanh_test): Likewise.
5177         (ctanh_test_tonearest): Likewise.
5178         (ctanh_test_towardzero): Likewise.
5179         (ctanh_test_downward): Likewise.
5180         (ctanh_test_upward): Likewise.
5181         (erf_test): Likewise.
5182         (erfc_test): Likewise.
5183         (exp_test): Likewise.
5184         (exp_test_tonearest): Likewise.
5185         (exp_test_towardzero): Likewise.
5186         (exp_test_downward): Likewise.
5187         (exp_test_upward): Likewise.
5188         (exp10_test): Likewise.
5189         (exp2_test): Likewise.
5190         (expm1_test): Likewise.
5191         (fmod_test): Likewise.
5192         (gamma_test): Likewise.
5193         (hypot_test): Likewise.
5194         (j0_test): Likewise.
5195         (j1_test): Likewise.
5196         (jn_test): Likewise.
5197         (lgamma_test): Likewise.
5198         (log_test): Likewise.
5199         (log10_test): Likewise.
5200         (log1p_test): Likewise.
5201         (log2_test): Likewise.
5202         (logb_test_downward): Likewise.
5203         (pow_test): Likewise.
5204         (pow_test_tonearest): Likewise.
5205         (pow_test_towardzero): Likewise.
5206         (pow_test_downward): Likewise.
5207         (pow_test_upward): Likewise.
5208         (remainder_test): Likewise.
5209         (remquo_test): Likewise.
5210         (sin_test): Likewise.
5211         (sin_test_tonearest): Likewise.
5212         (sin_test_towardzero): Likewise.
5213         (sin_test_downward): Likewise.
5214         (sin_test_upward): Likewise.
5215         (sincos_test): Likewise.
5216         (sinh_test): Likewise.
5217         (sinh_test_tonearest): Likewise.
5218         (sinh_test_towardzero): Likewise.
5219         (sinh_test_downward): Likewise.
5220         (sinh_test_upward): Likewise.
5221         (sqrt_test): Likewise.
5222         (tan_test): Likewise.
5223         (tan_test_tonearest): Likewise.
5224         (tan_test_towardzero): Likewise.
5225         (tan_test_downward): Likewise.
5226         (tan_test_upward): Likewise.
5227         (tanh_test): Likewise.
5228         (tgamma_test): Likewise.
5229         (y0_test): Likewise.
5230         (y1_test): Likewise.
5231         (yn_test): Likewise.
5233         * math/gen-libm-test.pl (adjust_arg): Remove function.
5234         (special_function): Remove argument $in_func.  Only handle
5235         generating output for tables of tests, not inside functions.
5236         (parse_args): Likewise.
5237         (generate_testfile): Remove variable $in_func.  Update call to
5238         parse_args.
5239         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5240         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5241         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5242         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5243         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5244         (MAX_VALUE_INIT): Rename macro to max_value.
5245         (MIN_VALUE_INIT): Rename macro to min_value.
5246         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5247         (plus_zero): Remove variable.
5248         (minus_zero): Likewise.
5249         (plus_infty): Likewise.
5250         (minus_infty): Likewise.
5251         (qnan_value): Likewise.
5252         (max_value): Likewise.
5253         (min_value): Likewise.
5254         (min_subnorm_value): Likewise.
5256 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5258         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5259         uint64_t or uint32_t usage.
5260         * crypt/sha256-block.c: Likewise.
5261         * crypt/sha256-crypt.c: Likewise.
5262         * crypt/sha256.c: Likewise.
5263         * crypt/sha512-block.c: Likewise.
5264         * crypt/sha512-crypt.c: Likewise.
5265         * crypt/sha512.c: Likewise.
5266         * debug/backtrace-tst.c: Likewise.
5267         * debug/pcprofiledump.c: Likewise.
5268         * elf/cache.c: Likewise.
5269         * elf/dl-cache.c: Likewise.
5270         * elf/dl-misc.c: Likewise.
5271         * elf/dl-profile.c: Likewise.
5272         * elf/dl-support.c: Likewise.
5273         * elf/ldconfig.c: Likewise.
5274         * elf/sprof.c: Likewise.
5275         * iconv/dummy-repertoire.c: Likewise.
5276         * iconv/iconv_charmap.c: Likewise.
5277         * iconv/skeleton.c: Likewise.
5278         * iconvdata/8bit-generic.c: Likewise.
5279         * iconvdata/cp737.h: Likewise.
5280         * iconvdata/cp775.h: Likewise.
5281         * iconvdata/ibm1008.h: Likewise.
5282         * iconvdata/ibm1025.h: Likewise.
5283         * iconvdata/ibm1046.h: Likewise.
5284         * iconvdata/ibm1097.h: Likewise.
5285         * iconvdata/ibm1112.h: Likewise.
5286         * iconvdata/ibm1122.h: Likewise.
5287         * iconvdata/ibm1123.h: Likewise.
5288         * iconvdata/ibm1124.h: Likewise.
5289         * iconvdata/ibm1129.h: Likewise.
5290         * iconvdata/ibm1130.h: Likewise.
5291         * iconvdata/ibm1132.h: Likewise.
5292         * iconvdata/ibm1133.h: Likewise.
5293         * iconvdata/ibm1137.h: Likewise.
5294         * iconvdata/ibm1140.h: Likewise.
5295         * iconvdata/ibm1141.h: Likewise.
5296         * iconvdata/ibm1142.h: Likewise.
5297         * iconvdata/ibm1143.h: Likewise.
5298         * iconvdata/ibm1144.h: Likewise.
5299         * iconvdata/ibm1145.h: Likewise.
5300         * iconvdata/ibm1146.h: Likewise.
5301         * iconvdata/ibm1147.h: Likewise.
5302         * iconvdata/ibm1148.h: Likewise.
5303         * iconvdata/ibm1149.h: Likewise.
5304         * iconvdata/ibm1153.h: Likewise.
5305         * iconvdata/ibm1154.h: Likewise.
5306         * iconvdata/ibm1155.h: Likewise.
5307         * iconvdata/ibm1156.h: Likewise.
5308         * iconvdata/ibm1157.h: Likewise.
5309         * iconvdata/ibm1158.h: Likewise.
5310         * iconvdata/ibm1160.h: Likewise.
5311         * iconvdata/ibm1161.h: Likewise.
5312         * iconvdata/ibm1162.h: Likewise.
5313         * iconvdata/ibm1163.h: Likewise.
5314         * iconvdata/ibm1164.h: Likewise.
5315         * iconvdata/ibm1166.h: Likewise.
5316         * iconvdata/ibm1167.h: Likewise.
5317         * iconvdata/ibm12712.h: Likewise.
5318         * iconvdata/ibm1390.h: Likewise.
5319         * iconvdata/ibm1399.h: Likewise.
5320         * iconvdata/ibm16804.h: Likewise.
5321         * iconvdata/ibm4517.h: Likewise.
5322         * iconvdata/ibm4899.h: Likewise.
5323         * iconvdata/ibm4909.h: Likewise.
5324         * iconvdata/ibm4971.h: Likewise.
5325         * iconvdata/ibm5347.h: Likewise.
5326         * iconvdata/ibm803.h: Likewise.
5327         * iconvdata/ibm856.h: Likewise.
5328         * iconvdata/ibm901.h: Likewise.
5329         * iconvdata/ibm902.h: Likewise.
5330         * iconvdata/ibm9030.h: Likewise.
5331         * iconvdata/ibm9066.h: Likewise.
5332         * iconvdata/ibm921.h: Likewise.
5333         * iconvdata/ibm922.h: Likewise.
5334         * iconvdata/ibm9448.h: Likewise.
5335         * iconvdata/isiri-3342.h: Likewise.
5336         * iconvdata/jis0201.h: Likewise.
5337         * include/link.h: Likewise.
5338         * include/netdb.h: Likewise.
5339         * inet/check_native.c: Likewise.
5340         * inet/check_pf.c: Likewise.
5341         * inet/getipv4sourcefilter.c: Likewise.
5342         * inet/getnameinfo.c: Likewise.
5343         * inet/getsourcefilter.c: Likewise.
5344         * inet/htonl.c: Likewise.
5345         * inet/setipv4sourcefilter.c: Likewise.
5346         * inet/setsourcefilter.c: Likewise.
5347         * inet/test-inet6_opt.c: Likewise.
5348         * inet/tst-network.c: Likewise.
5349         * locale/C-collate.c: Likewise.
5350         * locale/C-ctype.c: Likewise.
5351         * locale/C-time.c: Likewise.
5352         * locale/C-translit.h: Likewise.
5353         * locale/loadarchive.c: Likewise.
5354         * locale/programs/3level.h: Likewise.
5355         * locale/programs/charmap.c: Likewise.
5356         * locale/programs/charmap.h: Likewise.
5357         * locale/programs/ld-address.c: Likewise.
5358         * locale/programs/ld-collate.c: Likewise.
5359         * locale/programs/ld-ctype.c: Likewise.
5360         * locale/programs/ld-identification.c: Likewise.
5361         * locale/programs/ld-measurement.c: Likewise.
5362         * locale/programs/ld-messages.c: Likewise.
5363         * locale/programs/ld-monetary.c: Likewise.
5364         * locale/programs/ld-name.c: Likewise.
5365         * locale/programs/ld-numeric.c: Likewise.
5366         * locale/programs/ld-paper.c: Likewise.
5367         * locale/programs/ld-telephone.c: Likewise.
5368         * locale/programs/ld-time.c: Likewise.
5369         * locale/programs/linereader.c: Likewise.
5370         * locale/programs/locale.c: Likewise.
5371         * locale/programs/locarchive.c: Likewise.
5372         * locale/programs/locfile.h: Likewise.
5373         * locale/programs/repertoire.c: Likewise.
5374         * locale/programs/simple-hash.c: Likewise.
5375         * locale/programs/simple-hash.h: Likewise.
5376         * malloc/memusage.c: Likewise.
5377         * malloc/memusagestat.c: Likewise.
5378         * nis/nis_defaults.c: Likewise.
5379         * nis/nis_hash.c: Likewise.
5380         * nis/nis_print.c: Likewise.
5381         * nis/nis_xdr.c: Likewise.
5382         * nscd/connections.c: Likewise.
5383         * nscd/hstcache.c: Likewise.
5384         * nscd/nscd_gethst_r.c: Likewise.
5385         * nscd/nscd_getserv_r.c: Likewise.
5386         * nscd/nscd_helper.c: Likewise.
5387         * nscd/servicescache.c: Likewise.
5388         * nss/makedb.c: Likewise.
5389         * nss/nss_db/db-XXX.c: Likewise.
5390         * nss/nss_db/db-initgroups.c: Likewise.
5391         * nss/nss_db/db-netgrp.c: Likewise.
5392         * nss/nss_files/files-network.c: Likewise.
5393         * nss/nss_files/files-parse.c: Likewise.
5394         * posix/bug-regex5.c: Likewise.
5395         * posix/fnmatch_loop.c: Likewise.
5396         * posix/regcomp.c: Likewise.
5397         * posix/regexec.c: Likewise.
5398         * posix/tst-rfc3484-2.c: Likewise.
5399         * posix/tst-rfc3484-3.c: Likewise.
5400         * posix/tst-rfc3484.c: Likewise.
5401         * resolv/nss_dns/dns-canon.c: Likewise.
5402         * resolv/nss_dns/dns-network.c: Likewise.
5403         * resolv/res_init.c: Likewise.
5404         * resolv/res_mkquery.c: Likewise.
5405         * resolv/tst-aton.c: Likewise.
5406         * stdlib/cxa_atexit.c: Likewise.
5407         * stdlib/cxa_finalize.c: Likewise.
5408         * stdlib/gen-fpioconst.c: Likewise.
5409         * stdlib/strtol_l.c: Likewise.
5410         * string/tst-endian.c: Likewise.
5411         * sunrpc/auth_des.c: Likewise.
5412         * sunrpc/clnt_udp.c: Likewise.
5413         * sunrpc/rtime.c: Likewise.
5414         * sunrpc/svcauth_des.c: Likewise.
5415         * sunrpc/xdr.c: Likewise.
5416         * sunrpc/xdr_intXX_t.c: Likewise.
5417         * sunrpc/xdr_rec.c: Likewise.
5418         * sysdeps/generic/ldconfig.h: Likewise.
5419         * sysdeps/generic/ldsodefs.h: Likewise.
5420         * sysdeps/generic/memusage.h: Likewise.
5421         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5422         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5423         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5424         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5425         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5426         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5427         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5428         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5430         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5431         * sysdeps/posix/getaddrinfo.c: Likewise.
5432         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5433         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5434         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5435         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5436         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5437         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5438         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5439         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5440         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5441         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5442         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5443         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5444         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5445         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5446         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5447         * sysdeps/x86_64/dl-tls.h: Likewise.
5448         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5449         * time/alt_digit.c: Likewise.
5450         * time/era.c: Likewise.
5451         * wcsmbs/tst-c16c32-1.c: Likewise.
5453 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5455         * math/libm-test.inc (struct test_sincos_data): New type.
5456         (RUN_TEST_LOOP_sincos): New macro.
5457         (sincos_test_data): New variable.
5458         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5460 2013-05-16  Richard Henderson  <rth@redhat.com>
5462         * math/atest-exp2.c (LIMB64): New macro.
5463         (CONSTSZ): New macro.
5464         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5465         (hexdig): Move ...
5466         (print_mpn_fp): ... to function scope.
5467         (read_mpn_hex): Remove.
5468         (get_log2): Remove.
5469         (exp2_mpn): Use mp_log2.
5470         (main): Use mp_exp1.
5472 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5474         * math/libm-test.inc: Remove comment about not testing "inexact"
5475         exceptions.
5476         (INEXACT_EXCEPTION): New macro.
5477         (NO_INEXACT_EXCEPTION): Likewise.
5478         (INVALID_EXCEPTION_OK): Update value.
5479         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5480         (OVERFLOW_EXCEPTION_OK): Likewise.
5481         (UNDERFLOW_EXCEPTION_OK): Likewise.
5482         (IGNORE_ZERO_INF_SIGN): Likewise.
5483         (ERRNO_UNCHANGED): Likewise.
5484         (ERRNO_EDOM): Likewise.
5485         (ERRNO_ERANGE): Likewise.
5486         (test_exceptions): Handle testing "inexact" exceptions.
5487         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5488         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5489         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5490         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5491         INEXACT_EXCEPTION.
5492         (rint_towardzero_test_data): Likewise.
5493         (rint_downward_test_data): Likewise.
5494         (rint_upward_test_data): Likewise.
5496         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5497         with OVERFLOW_EXCEPTION.
5498         (exp10_test_data): Likewise.
5499         (exp2_test_data): Likewise.
5500         (expm1_test_data): Likewise.
5501         (lgamma_test_data): Likewise.
5502         (pow_test_data): Likewise.
5503         (tgamma_test_data): Likewise.
5504         (yn_test_data): Remove duplicate test of overflow.
5506         * math/libm-test.inc (struct test_cc_c_data): New type.
5507         (RUN_TEST_LOOP_cc_c): New macro.
5508         (cpow_test_data): New variable.
5509         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5511         * math/libm-test.inc (struct test_f_L_data): New type.
5512         (RUN_TEST_LOOP_f_L): New macro.
5513         (llrint_test_data): New variable.
5514         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5515         (llrint_tonearest_test_data): New variable.
5516         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5517         (llrint_towardzero_test_data): New variable.
5518         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5519         (llrint_downward_test_data): New variable.
5520         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5521         (llrint_upward_test_data): New variable.
5522         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5523         (llround_test_data): New variable.
5524         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5526 2013-05-13  Peter Collingbourne  <pcc@google.com>
5528         * math/atest-exp2.c (get_log2): Remove const attribute.
5530 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5532         * math/libm-test.inc (struct test_f_l_data): New type.
5533         (RUN_TEST_LOOP_f_l): New macro.
5534         (lrint_test_data): New variable.
5535         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5536         (lrint_tonearest_test_data): New variable.
5537         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5538         (lrint_towardzero_test_data): New variable.
5539         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5540         (lrint_downward_test_data): New variable.
5541         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5542         (lrint_upward_test_data): New variable.
5543         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5544         (lround_test_data): New variable.
5545         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5547 2013-05-15  Peter Collingbourne  <pcc@google.com>
5549         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5550         (EXTRACT_WORDS64) Use where appropriate.
5551         (INSERT_WORDS64) Likewise.
5553         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5554         constraints with x constraints.
5555         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5557         * malloc/obstack.c (_obstack_compat): Add initializer.
5559 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5561         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5562         si_trapno and add si_addr_lsb to _sifields.sigfault.
5563         (si_trapno): Remove macro.
5564         (si_addr_lsb): Define new macro.
5565         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5567 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5569         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5570         instead of TEST_f_l.
5571         (llrint_test_tonearest): Likewise.
5572         (llrint_test_towardzero): Likewise.
5573         (llrint_test_downward): Likewise.
5574         (llrint_test_upward): Likewise.
5575         (llround_test): Likewise.
5577         * math/libm-test.inc (struct test_f_i_data): Add comment.
5578         (RUN_TEST_LOOP_f_b): New macro.
5579         (RUN_TEST_LOOP_f_b_tg): Likewise.
5580         (finite_test_data): New variable.
5581         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5582         (isfinite_test_data): New variable.
5583         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5584         (isinf_test_data): New variable.
5585         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5586         (isnan_test_data): New variable.
5587         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5588         (isnormal_test_data): New variable.
5589         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5590         (issignaling_test_data): New variable.
5591         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5592         (signbit_test_data): New variable.
5593         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5595         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5596         with INVALID_EXCEPTION.
5597         (acosh_test_data): Likewise.
5598         (asin_test_data): Likewise.
5599         (atanh_test_data): Likewise.
5600         (fmod_test_data): Likewise.
5601         (log_test_data): Likewise.
5602         (log10_test_data): Likewise.
5603         (log2_test_data): Likewise.
5604         (pow_test_data): Likewise.
5605         (sqrt_test_data): Likewise.
5606         (y0_test_data): Likewise.
5607         (y1_test_data): Likewise.
5608         (yn_test_data): Likewise.
5610         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5611         function contents.
5613         * math/libm-test.inc (struct test_ff_i_data): New type.
5614         (RUN_TEST_LOOP_ff_i_tg): New macro.
5615         (isgreater_test_data): New variable.
5616         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5617         (isgreaterequal_test_data): New variable.
5618         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5619         (isless_test_data): New variable.
5620         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5621         (islessequal_test_data): New variable.
5622         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5623         (islessgreater_test_data): New variable.
5624         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5625         (isunordered_test_data): New variable.
5626         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5628 2013-05-14  David S. Miller  <davem@davemloft.net>
5630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5632 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5634         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5636         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5637         extra_test to int.
5638         (struct test_f_i_data): Change type of max_ulp to int.
5640         * math/libm-test.inc (test_ffI_f1_data): New type.
5641         (RUN_TEST_LOOP_ffI_f1): New macro.
5642         (remquo_test_data): New variable.
5643         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5645         * setjmp/tst-setjmp-fp.c: New file.
5646         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5647         (link-libm): New variable.
5648         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5650         * math/libm-test.inc (struct test_f_i_data): New type.
5651         (RUN_TEST_LOOP_f_i): New macro.
5652         (RUN_TEST_LOOP_f_i_tg): Likewise.
5653         (fpclassify_test_data): New variable.
5654         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5655         (ilogb_test_data): New variable.
5656         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5658         * math/libm-test.inc (scalbln_test): Correct function name in END
5659         call.
5661         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5662         (RUN_TEST_LOOP_fI_f1): New macro.
5663         (frexp_test_data): New variable.
5664         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5666         * math/libm-test.inc (struct test_fF_f1_data): New type.
5667         (RUN_TEST_LOOP_fF_f1): New macro.
5668         (modf_test_data): New variable.
5669         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5671         * math/libm-test.inc (struct test_f_f1_data): New type.
5672         (RUN_TEST_LOOP_f_f1): New macro.
5673         (gamma_test_data): New variable.
5674         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5675         (lgamma_test_data): New variable.
5676         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5678 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5680         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5681         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5682         (main): Comment "tls" pseudo-hwcap.
5684 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5686         * math/libm-test.inc (struct test_fl_f_data): New type.
5687         (RUN_TEST_LOOP_fl_f): New variable.
5688         (scalbln_test_data): New variable.
5689         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5691         * math/libm-test.inc (struct test_fi_f_data): New type.
5692         (RUN_TEST_LOOP_fi_f): New macro.
5693         (ldexp_test_data): New variable.
5694         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5695         (scalbn_test_data): New variable.
5696         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5698         * math/libm-test.inc (struct test_c_f_data): New type.
5699         (RUN_TEST_LOOP_c_f): New macro.
5700         (cabs_test_data): New variable.
5701         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5702         (carg_test_data): New variable.
5703         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5704         (cimag_test_data): New variable.
5705         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5706         (creal_test_data): New variable.
5707         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5709         * math/libm-test.inc (struct test_if_f_data): New type.
5710         (RUN_TEST_LOOP_if_f): New macro.
5711         (jn_test_data): New variable.
5712         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5713         (yn_test_data): New variable.
5714         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5716         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5718 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5720         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5721         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5723 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5725         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5726         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5727         (bench-deps): Add bench-timing.h.
5728         * benchtests-bench-skeleton.c: Include bench-timing.h.
5729         (main): Use TIMING_* macros instead of clock_gettime.
5730         * benchtests/bench-timing.h: New file.
5732         [BZ #14582]
5733         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5734         Renamed from _LIB_VERSION.
5735         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5737 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5739         * math/libm-test.inc (struct test_fff_f_data): New type.
5740         (RUN_TEST_LOOP_fff_f): New macro.
5741         (fma_test_data): New variable.
5742         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5743         (fma_towardzero_test_data): New variable.
5744         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5745         (fma_downward_test_data): New variable.
5746         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5747         (fma_upward_test_data): New variable.
5748         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5750         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5751         (struct test_c_c_data): New type.
5752         (RUN_TEST_LOOP_c_c): New macro.
5753         (cacos_test_data): New variable.
5754         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5755         (cacosh_test_data): New variable.
5756         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5757         (casin_test_data): New variable.
5758         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5759         (casinh_test_data): New variable.
5760         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5761         (catan_test_data): New variable.
5762         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5763         (catanh_test_data): New variable.
5764         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5765         (ccos_test_data): New variable.
5766         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5767         (ccosh_test_data): New variable.
5768         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5769         (cexp_test_data): New variable.
5770         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5771         (clog_test_data): New variable.
5772         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5773         (clog10_test_data): New variable.
5774         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5775         (conj_test_data): New variable.
5776         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5777         (cproj_test_data): New variable.
5778         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5779         (csin_test_data): New variable.
5780         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5781         (csinh_test_data): New variable.
5782         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5783         (csqrt_test_data): New variable.
5784         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5785         (ctan_test_data): New variable.
5786         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5787         (ctan_tonearest_test_data): New variable.
5788         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5789         (ctan_towardzero_test_data): New variable.
5790         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5791         (ctan_downward_test_data): New variable.
5792         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5793         (ctan_upward_test_data): New variable.
5794         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5795         (ctanh_test_data): New variable.
5796         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5797         (ctanh_tonearest_test_data): New variable.
5798         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5799         (ctanh_towardzero_test_data): New variable.
5800         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5801         (ctanh_downward_test_data): New variable.
5802         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5803         (ctanh_upward_test_data): New variable.
5804         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5805         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5806         of BUILD_COMPLEX.
5808         * math/libm-test.inc (struct test_ff_f_data): New type.
5809         (struct test_ff_f_data_nexttoward): Likewise.
5810         (RUN_TEST_LOOP_2_f): New macro.
5811         (RUN_TEST_LOOP_ff_f): Likewise.
5812         (atan2_test_data): New variable.
5813         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5814         (copysign_test_data): New variable.
5815         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5816         (fdim_test_data): New variable.
5817         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5818         (fmax_test_data): New variable.
5819         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5820         (fmin_test_data): New variable.
5821         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5822         (fmod_test_data): New variable.
5823         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5824         (hypot_test_data): New variable.
5825         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5826         (nextafter_test_data): New variable.
5827         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5828         (nexttoward_test_data): New variable.
5829         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5830         (pow_test_data): New variable.
5831         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5832         (pow_tonearest_test_data): New variable.
5833         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5834         (pow_towardzero_test_data): New variable.
5835         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5836         (pow_downward_test_data): New variable.
5837         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5838         (pow_upward_test_data): New variable.
5839         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5840         (remainder_test_data): New variable.
5841         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5842         (scalb_test_data): New variable.
5843         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5844         * sysdeps/i386/fpu/libm-test-ulps: Update.
5846 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5848         * math/libm-test.inc (fma_test): Use max_value instead of local
5849         variable fltmax.
5850         (nextafter_test): Likewise.
5852         * math/libm-test.inc (acos_towardzero_test_data): New variable.
5853         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5854         (acos_downward_test_data): New variable.
5855         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5856         (acos_upward_test_data): New variable.
5857         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5858         (acosh_test_data): New variable.
5859         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5860         (asin_test_data): New variable.
5861         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5862         (asin_tonearest_test_data): New variable.
5863         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5864         (asin_towardzero_test_data): New variable.
5865         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5866         (asin_downward_test_data): New variable.
5867         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5868         (asin_upward_test_data): New variable.
5869         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5870         (asinh_test_data): New variable.
5871         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5872         (atan_test_data): New variable.
5873         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5874         (atanh_test_data): New variable.
5875         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5876         (cbrt_test_data): New variable.
5877         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5878         (ceil_test_data): New variable.
5879         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5880         (cos_test_data): New variable.
5881         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5882         (cos_tonearest_test_data): New variable.
5883         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5884         (cos_towardzero_test_data): New variable.
5885         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5886         (cos_downward_test_data): New variable.
5887         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5888         (cos_upward_test_data): New variable.
5889         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5890         (cosh_test_data): New variable.
5891         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5892         (cosh_tonearest_test_data): New variable.
5893         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5894         (cosh_towardzero_test_data): New variable.
5895         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5896         (cosh_downward_test_data): New variable.
5897         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5898         (cosh_upward_test_data): New variable.
5899         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5900         (erf_test_data): New variable.
5901         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5902         (erfc_test_data): New variable.
5903         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5904         (exp_test_data): New variable.
5905         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5906         (exp_tonearest_test_data): New variable.
5907         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5908         (exp_towardzero_test_data): New variable.
5909         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5910         (exp_downward_test_data): New variable.
5911         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5912         (exp_upward_test_data): New variable.
5913         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5914         (exp10_test_data): New variable.
5915         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5916         (exp2_test_data): New variable.
5917         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5918         (expm1_test_data): New variable.
5919         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5920         (fabs_test_data): New variable.
5921         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5922         (floor_test_data): New variable.
5923         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5924         (j0_test_data): New variable.
5925         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5926         (j1_test_data): New variable.
5927         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5928         (log_test_data): New variable.
5929         (log_test): Run tests with RUN_TEST_LOOP_f_f.
5930         (log10_test_data): New variable.
5931         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5932         (log1p_test_data): New variable.
5933         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5934         (log2_test_data): New variable.
5935         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5936         (logb_test_data): New variable.
5937         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5938         (logb_downward_test_data): New variable.
5939         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5940         (nearbyint_test_data): New variable.
5941         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5942         (rint_test_data): New variable.
5943         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5944         (rint_tonearest_test_data): New variable.
5945         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5946         (rint_towardzero_test_data): New variable.
5947         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5948         (rint_downward_test_data): New variable.
5949         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5950         (rint_upward_test_data): New variable.
5951         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5952         (round_test_data): New variable.
5953         (round_test): Run tests with RUN_TEST_LOOP_f_f.
5954         (sin_test_data): New variable.
5955         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5956         (sin_tonearest_test_data): New variable.
5957         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5958         (sin_towardzero_test_data): New variable.
5959         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5960         (sin_downward_test_data): New variable.
5961         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5962         (sin_upward_test_data): New variable.
5963         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5964         (sinh_test_data): New variable.
5965         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5966         (sinh_tonearest_test_data): New variable.
5967         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5968         (sinh_towardzero_test_data): New variable.
5969         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5970         (sinh_downward_test_data): New variable.
5971         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5972         (sinh_upward_test_data): New variable.
5973         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5974         (sqrt_test_data): New variable.
5975         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5976         (tan_test_data): New variable.
5977         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5978         (tan_tonearest_test_data): New variable.
5979         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5980         (tan_towardzero_test_data): New variable.
5981         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5982         (tan_downward_test_data): New variable.
5983         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5984         (tan_upward_test_data): New variable.
5985         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5986         (tanh_test_data): New variable.
5987         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5988         (tgamma_test_data): New variable.
5989         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5990         (trunc_test_data): New variable.
5991         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5992         (y0_test_data): New variable.
5993         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5994         (y1_test_data): New variable.
5995         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5996         (significand_test_data): New variable.
5997         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5999 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6001         [BZ #12387]
6002         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6004 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6006         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6008 2013-05-10  Andreas Jaeger  <aj@suse.de>
6010         [BZ #15448]
6011         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6012         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6014 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6016         * math/gen-libm-test.pl (adjust_arg): New function.
6017         (special_functions): Handle generating output in both functions
6018         and arrays.
6019         (parse_args): Likewise.
6020         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6021         $in_func argument to parse_args.
6022         * math/libm-test.inc (struct test_f_f_data): New type.
6023         (IF_ROUND_INIT_): New macro.
6024         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6025         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6026         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6027         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6028         (ROUND_RESTORE_): Likewise.
6029         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6030         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6031         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6032         (ROUND_RESTORE_FE_UPWARD): Likewise.
6033         (RUN_TEST_LOOP_f_f): New macro.
6034         (acos_test_data): New variable.
6035         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6036         (acos_tonearest_test_data): New variable.
6037         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6039 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6041         * benchtests/bench-skeleton.c (startup): Fix coding style.
6043 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6045         [BZ #6809]
6046         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6047         negative infinity argument.
6048         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6049         negative infinity argument.
6050         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6051         negative infinity argument.
6052         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6053         domain errors.
6055 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6057         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6058         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6059         * iconv/iconv_prog.c (main): Likewise.
6060         * locale/programs/charmap-dir.c (charmap_readdir)
6061         (fopen_uncompressed): Likewise.
6062         * locale/programs/locfile.c (siblings_uncached)
6063         (write_locale_data): Use lstat64 instead of lstat.
6064         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6065         stat.
6067 2013-05-10  Andreas Jaeger  <aj@suse.de>
6069         [BZ #15395]
6070         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6071         localization.
6072         Include <locale.h>.
6074 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6076         * elf/dl-close.c (_dl_close_worker): Add comments.
6078 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6080         [BZ #15359]
6081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6082         high part of pi/2.
6083         (__ieee754_rem_pio2l): Update comments.
6085         [BZ #15429]
6086         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6087         high part of pi/2.
6088         (__ieee754_rem_pio2l): Update comments.
6090         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6091         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6093         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6094         M_PI_4l.
6096         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6097         (M_PI_34_LOG10El): Likewise.
6098         (M_PI2_LOG10El): Likewise.
6099         (M_PI4_LOG10El): Likewise.
6100         (M_PI_LOG10El): Likewise.
6102 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6106 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6108         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6109         (MINUS_ZERO_INIT): Likewise.
6110         (PLUS_INFTY_INIT): Likewise.
6111         (MINUS_INFTY_INIT): Likewise.
6112         (QNAN_VALUE_INIT): Likewise.
6113         (MAX_VALUE_INIT): Likewise.
6114         (MIN_VALUE_INIT): Likewise.
6115         (MIN_SUBNORM_VALUE_INIT): Likewise.
6116         (plus_zero): Initialize with PLUS_ZERO_INIT.
6117         (minus_zero): Initialize with MINUS_ZERO_INIT.
6118         (plus_infty): Initialize with PLUS_INFTY_INIT.
6119         (minus_infty): Initialize with MINUS_INFTY_INIT.
6120         (qnan_value): Initialize with QNAN_VALUE_INIT.
6121         (max_value): Initialize with MAX_VALUE_INIT.
6122         (min_value): Initialize with MIN_VALUE_INIT.
6123         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6125         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6126         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6127         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6128         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6130         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6131         (RUN_TEST_2_f): Likewise.
6132         (RUN_TEST_ff_f): Likewise.
6133         (RUN_TEST_fi_f): Likewise.
6134         (RUN_TEST_fl_f): Likewise.
6135         (RUN_TEST_fff_f): Likewise.
6136         (RUN_TEST_c_f): Likewise.
6137         (RUN_TEST_f_f1): Likewise.
6138         (RUN_TEST_fF_f1): Likewise.
6139         (RUN_TEST_fI_f1): Likewise.
6140         (RUN_TEST_ffI_f1): Likewise.
6141         (RUN_TEST_c_c): Likewise.
6142         (RUN_TEST_cc_c): Likewise.
6143         (RUN_TEST_f_i): Likewise.
6144         (RUN_TEST_f_i_tg): Likewise.
6145         (RUN_TEST_ff_i_tg): Likewise.
6146         (RUN_TEST_f_b): Likewise.
6147         (RUN_TEST_f_b_tg): Likewise.
6148         (RUN_TEST_f_l): Likewise.
6149         (RUN_TEST_f_L): Likewise.
6150         (RUN_TEST_sincos): Likewise.
6151         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6152         whether to show exceptions.  Do not include ");\n" in return
6153         value.
6154         (special_functions): Output call to RUN_TEST_sincos instead of
6155         check_float calls.  Update calls to new_test.
6156         (parse_args): Output call to single RUN_TEST_* macro instead of
6157         check_* calls and other assignments.  Update calls to new_test.
6159         [BZ #2546]
6160         [BZ #2560]
6161         [BZ #5159]
6162         [BZ #15426]
6163         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6164         input to result for tgamma overflow.
6165         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6166         (gamma_coeff): New variable.
6167         (NCOEFF): New macro.
6168         (gamma_positive): New function.
6169         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6170         underflow here.  Use gamma_positive instead of exp (lgamma) for
6171         other arguments.
6172         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6173         (gamma_coeff): New variable.
6174         (NCOEFF): New macro.
6175         (gammaf_positive): New function.
6176         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6177         underflow here.  Use gamma_positive instead of exp (lgamma) for
6178         other arguments.
6179         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6180         (gamma_coeff): New variable.
6181         (NCOEFF): New macro.
6182         (gammal_positive): New function.
6183         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6184         underflow here.  Use gamma_positive instead of exp (lgamma) for
6185         other arguments.
6186         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6187         (gamma_coeff): New variable.
6188         (NCOEFF): New macro.
6189         (gammal_positive): New function.
6190         (__ieee754_gammal_r): Handle positive infinity, overflow and
6191         underflow here.  Handle NaN the same as positive infinity.  Remove
6192         check x < 0xffffffff for negative integers.  Use gamma_positive
6193         instead of exp (lgamma) for other arguments.
6194         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6195         (gamma_coeff): New variable.
6196         (NCOEFF): New macro.
6197         (gammal_positive): New function.
6198         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6199         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6200         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6201         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6202         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6203         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6204         * sysdeps/generic/math_private.h (__gamma_productf): New
6205         prototype.
6206         (__gamma_product): Likewise.
6207         (__gamma_productl): Likewise.
6208         * math/Makefile (libm-calls): Add gamma_product.
6209         * math/libm-test.inc (tgamma_test): Add more tests.
6210         * sysdeps/i386/fpu/libm-test-ulps: Update.
6211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6213 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6215         * benchtests/bench-skeleton.c (main): Preheat CPU.
6217 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6219         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6221 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6223         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6224         and _dl_skip_args_internal.
6226 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6228         * manual/message.texi (Message Translation): Talk about users.
6229         Message to key mapping impacts design.
6231 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6233         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6235         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6237         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6238         * sysdeps/wordsize-64/glob64.c: ... here.
6240         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6241         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6242         New macros.
6244         * debug/getlogin_r_chk.c: Moved to ...
6245         * login/getlogin_r_chk.c: ... here.
6246         * debug/Makefile (routines): Move getlogin_r_chk to ...
6247         * login/Makefile (routines): ... here.
6248         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6249         * login/Versions (libc: GLIBC_2.4): ... here.
6251         * io/poll.c (__poll): Renamed from poll.
6252         Add libc_hidden_def.
6253         (poll): Define as weak alias.
6255         * debug/ptsname_r_chk.c: Moved to ...
6256         * login/ptsname_r_chk.c: ... here.
6257         * debug/Makefile (routines): Move ptsname_r_chk to ...
6258         * login/Makefile (routines): ... here.
6259         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6260         * login/Versions (libc: GLIBC_2.4): ... here.
6262         * posix/getlogin.c: Moved to ...
6263         * login/getlogin.c: ... here.
6264         * posix/getlogin_r.c: Moved to ...
6265         * login/getlogin_r.c: ... here.
6266         * posix/getlogin_r.c: Moved to ...
6267         * login/getlogin_r.c: ... here.
6268         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6269         * login/Makefile (routines): ... here.
6270         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6271         * login/Versions (libc: GLIBC_2.0): ... here.
6273         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6274         (setrlimit): Define as weak alias.
6276         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6277         Call __ names for open, ftruncate, and close.
6278         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6279         (truncate): Define as weak alias.
6281 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6283         * math/gen-libm-test.pl (parse_args): Initialize x before each
6284         test of frexp, modf and remquo.
6286         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6287         test signgam value.
6289 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6291         [BZ #15418]
6292         [BZ #15419]
6293         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6294         internal tests.
6295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6297 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6299         * elf/dl-writev.h: New file.
6300         * elf/dl-misc.c: Include it.
6301         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6302         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6304 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6306         * math/libm-test.inc (noXFails): Remove variable.
6307         (noXPasses): Likewise.
6308         (BUILD_COMPLEX_INT): Remove macro.
6309         (print_screen): Remove xfail argument.
6310         (print_screen_max_error): Likewise.
6311         (update_stats): Likewise.
6312         (print_max_error): Likewise.  Update calls to other affected
6313         functions.
6314         (print_complex_max_error): Likewise.
6315         (test_single_exception): Update calls to print_screen.
6316         (test_single_errno): Likewise.
6317         (check_float_internal): Remove xfail argument.  Update calls to
6318         other affected functions.
6319         (check_float): Likewise.
6320         (check_complex): Likewise.
6321         (check_int): Likewise.
6322         (check_long): Likewise.
6323         (check_bool): Likewise.
6324         (check_longlong): Likewise.
6325         (main): Don't print noXFails and noXPasses.
6326         * math/gen-libm-test.pl (top level): Don't mention expected
6327         failure handling in comment.
6328         (new_test): Don't handle expected failures.
6329         (parse_args): Don't mention expected failure handling in comment.
6330         (generate_testfile): Don't handle expected failures.
6331         (parse_ulps): Likewise.
6332         (print_ulps_file): Likewise.
6333         (get_failure): Remove function.
6334         (output_test): Don't handle expected failures.
6335         * make/README.libm-test: Don't mention expected failure handling.
6337         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6338         (minus_zero): Likewise.
6339         (plus_infty): Likewise.
6340         (minus_infty): Likewise.
6341         (qnan_value): Likewise.
6342         (max_value): Likewise.
6343         (min_value): Likewise.
6344         (min_subnorm_value): Likewise.
6345         (initialize): Do not initialize those variables dynamically.
6347 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6349         * io/open.c (__open_2): Moved to ...
6350         * io/open_2.c: ... this new file.
6351         * io/open64.c (__open64_2): Moved to ...
6352         * io/open64_2.c: ... this new file.
6353         * io/openat.c (__openat_2): Moved to ...
6354         * io/openat_2.c: ... this new file.
6355         * io/openat64.c (__openat64_2): Moved to ...
6356         * io/openat64_2.c: ... this new file.
6357         * io/Makefile (routines): Add them.
6358         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6359         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6360         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6361         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6362         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6363         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6364         (__openat64): Add hidden_ver.
6365         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6366         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6368         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6369         Separately conditionalize setting of GLRO(dl_sysinfo) so
6370         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6371         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6373 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6375         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6376         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6377         definition.
6378         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6379         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6380         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6381         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6382         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6384 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6386         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6387         test signgam value.
6389         * math/libm-test.inc (hypot_test): Do not use
6390         IGNORE_ZERO_INF_SIGN.
6392 2013-05-03  Andreas Jaeger  <aj@suse.de>
6394         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6395         Linux 3.9.
6396         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6397         (PF_MAX): Adjust for VSOCK change.
6399 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6403 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6405         [BZ #15264]
6406         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6407         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6408         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6410 2013-05-02  David S. Miller  <davem@davemloft.net>
6412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6414 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6416         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6418 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6420         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6422 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6424         [BZ #14952]
6425         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6426         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6427         Use __attribute__ ((__gnu_inline__)).
6428         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6429         Don't use __attribute__ ((__gnu_inline__)).
6431 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6433         [BZ #15423]
6434         * math/s_catan.c (__catan): Handle small real or imaginary part of
6435         input specially to avoid spurious underflow.
6436         * math/s_catanf.c (__catanf): Likewise.
6437         * math/s_catanh.c (__catanh): Likewise.
6438         * math/s_catanhf.c (__catanhf): Likewise.
6439         * math/s_catanhl.c (__catanhl): Likewise.
6440         * math/s_catanl.c (__catanl): Likewise.
6441         * math/libm-test.inc (catan_test): Add more tests.
6442         (catanh_test): Likewise.
6443         * sysdeps/i386/fpu/libm-test-ulps: Update.
6444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6446 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6450 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #15416]
6453         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6454         accurately for denominator in atan2.
6455         * math/s_catanf.c (__catanf): Likewise.
6456         * math/s_catanh.c (__catanh): Likewise.
6457         * math/s_catanhf.c (__catanhf): Likewise.
6458         * math/s_catanhl.c (__catanhl): Likewise.
6459         * math/s_catanl.c (__catanl): Likewise.
6460         * math/libm-test.inc (catan_test): Add more tests.
6461         (catanh_test): Likewise.
6462         * sysdeps/i386/fpu/libm-test-ulps: Update.
6463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6467         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6469         * benchtests/Makefile (bench): Remove slow benchmarks.
6470         * benchtests/atan-inputs: Add slow benchmark inputs.
6471         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6472         (BENCH_FUNC): Accept variant offset.
6473         (VARIANT): Define.
6474         * benchtests/bench-skeleton.c (main): Run benchmark for each
6475         variant.
6476         * benchtests/cos-inputs: Add slow benchmark inputs.
6477         * benchtests/exp-inputs: Likewise.
6478         * benchtests/pow-inputs: Likewise.
6479         * benchtests/sin-inputs: Likewise.
6480         * benchtests/slowatan-inputs: Remove.
6481         * benchtests/slowatan.c: Remove.
6482         * benchtests/slowcos-inputs: Remove.
6483         * benchtests/slowcos.c: Remove.
6484         * benchtests/slowexp-inputs: Remove.
6485         * benchtests/slowexp.c: Remove.
6486         * benchtests/slowpow-inputs: Remove.
6487         * benchtests/slowpow.c: Remove.
6488         * benchtests/slowsin-inputs: Remove.
6489         * benchtests/slowsin.c: Remove.
6490         * benchtests/slowtan-inputs: Remove.
6491         * benchtests/slowtan.c: Remove.
6492         * benchtests/tan-inputs: Add slow benchmark inputs.
6493         * scripts/bench.pl: Parse comments and directives.
6495         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6496         in CPPFLAGS.
6497         ($(objpfx)bench-%.c): Remove *-ITER.
6498         * benchtests/bench-modf.c: Remove definition of ITER.
6499         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6500         (main): Loop for DURATION seconds instead of fixed number of
6501         iterations.
6502         * scripts/bench.pl: Don't expect iterations in parameters.
6504 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6506         * io/fchdir.c (__fchdir): Renamed from fchdir.
6507         (fchdir): Define as weak alias.
6509 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6511         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6512         (ERRNO_EDOM): Likewise.
6513         (ERRNO_ERANGE): Likewise.
6514         (noErrnoTests): New variable.
6515         (init_max_error): Set errno to 0.
6516         (test_single_errno): New function.
6517         (test_errno): Likewise.
6518         (check_float_internal): Call test_errno.  Set errno to 0.
6519         (check_complex): Refer to errno tests in comment.
6520         (check_int): Call test_errno.  Set errno to 0.
6521         (check_long): Likewise.
6522         (check_bool): Likewise.
6523         (check_longlong): Likewise.
6524         (cos_test): Use ERRNO_* flags for errno tests instead of
6525         check_int.
6526         (expm1_test): Likewise.
6527         (fmod_test): Likewise.
6528         (ilogb_test): Likewise.
6529         (lgamma_test): Likewise.
6530         (pow_test): Likewise.
6531         (remainder_test): Likewise.
6532         (sin_test): Likewise.
6533         (tan_test): Likewise.
6534         (yn_test): Likewise.
6535         (initialize): Set errno to 0.
6536         (main): Print number of errno tests.
6537         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6539 2013-04-29  Andreas Jaeger  <aj@suse.de>
6541         [BZ #15084]
6542         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6543         and RES_USEVC.
6545         [BZ #15085]
6546         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6547         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6548         unimplemented.
6550         [BZ #15380]
6551         * stdlib/random.c (__initstate): Return NULL if
6552         __initstate fails.
6554         [BZ #15086]
6555         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6556         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6557         RES_SNGLKUPREOP.
6559 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6563 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6565         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6566         of individual tests.
6567         (casin_test): Likewise.
6568         (casinh_test): Likewise.
6570 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6572         [BZ #15409]
6573         * math/s_catan.c (__catan): Handle arguments with large real or
6574         imaginary part separately without squaring.
6575         * math/s_catanf.c (__catanf): Likewise.
6576         * math/s_catanh.c (__catanh): Likewise.
6577         * math/s_catanhf.c (__catanhf): Likewise.
6578         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6579         and redefine.
6580         (__catanhl): Handle arguments with large real or imaginary part
6581         separately without squaring.
6582         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6583         and redefine.
6584         (__catanl): Handle arguments with large real or imaginary part
6585         separately without squaring.
6586         * math/libm-test.inc (catan_test): Add more tests.
6587         (catanh_test): Likewise.
6588         * sysdeps/i386/fpu/libm-test-ulps: Update.
6589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6591 2013-04-27  Andreas Jaeger  <aj@suse.de>
6593         [BZ #15007]
6594         * stdlib/stdlib.h: Update guards for qecvt.
6595         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6596         <stdlib.h>.
6598 2013-04-27  Allan McRae  <allan@archlinux.org>
6600         * sysdeps/i386/fpu/libm-test-ulps: Update.
6602 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6604         [BZ #15406]
6605         * math/s_catan.c: Include <float.h>.
6606         (__catan): Ensure underflow exception occurs for underflowed
6607         result.
6608         * math/s_catanf.c: Include <float.h>.
6609         (__catanf): Ensure underflow exception occurs for underflowed
6610         result.
6611         * math/s_catanh.c: Include <float.h>.
6612         (__catanh): Ensure underflow exception occurs for underflowed
6613         result.
6614         * math/s_catanhf.c: Include <float.h>.
6615         (__catanhf): Ensure underflow exception occurs for underflowed
6616         result.
6617         * math/s_catanhl.c: Include <float.h>.
6618         (__catanhl): Ensure underflow exception occurs for underflowed
6619         result.
6620         * math/s_catanl.c: Include <float.h>.
6621         (__catanl): Ensure underflow exception occurs for underflowed
6622         result.
6623         * math/libm-test.inc (catan_test): Add more tests.
6624         (catanh_test): Likewise.
6626         [BZ #15405]
6627         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6628         underflowed result.
6629         * math/s_ccoshf.c (__ccoshf): Likewise.
6630         * math/s_ccoshl.c (__ccoshl): Likewise.
6631         * math/s_csin.c (__csin): Likewise.
6632         * math/s_csinf.c (__csinf): Likewise.
6633         * math/s_csinh.c (__csinh): Likewise.
6634         * math/s_csinhf.c (__csinhf): Likewise.
6635         * math/s_csinhl.c (__csinhl): Likewise.
6636         * math/s_csinl.c (__csinl): Likewise.
6637         * math/libm-test.inc (ccos_test): Add more tests.
6638         (ccosh_test): Likewise.
6639         (csin_test): Likewise.
6640         (csinh_test): Likewise.
6642 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6644         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6645         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6646         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6647         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6648         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6649         powerpc/power5+/fpu folders.
6650         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6653 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6657 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6659         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6660         additions to variable.
6661         [$(config-machine) = x86_64] (modules-names): Likewise.
6662         ($(objpfx)tst-audit3): Remove dependency.
6663         ($(objpfx)tst-audit3.out): Likewise.
6664         ($(objpfx)tst-audit4): Likewise.
6665         ($(objpfx)tst-audit4.out): Likewise.
6666         ($(objpfx)tst-audit5): Likewise.
6667         ($(objpfx)tst-audit5.out): Likewise.
6668         ($(objpfx)tst-audit6): Likewise.
6669         ($(objpfx)tst-audit6.out): Likewise.
6670         ($(objpfx)tst-audit7): Likewise.
6671         ($(objpfx)tst-audit7.out): Likewise.
6672         (tst-audit3-ENV): Remove variable.
6673         (tst-audit4-ENV): Likewise.
6674         (tst-audit5-ENV): Likewise.
6675         (tst-audit6-ENV): Likewise.
6676         (tst-audit7-ENV): Likewise.
6677         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6678         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6679         addition to variable.
6680         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6681         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6682         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6683         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6684         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6685         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6686         tst-audit3, tst-audit4 and tst-audit5.
6687         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6688         tst-audit6 and tst-audit7.
6689         [$(subdir) = elf] (modules-names): Add audit modules for those
6690         tests.
6691         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6692         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6693         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6694         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6695         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6696         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6697         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6698         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6699         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6700         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6701         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6702         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6703         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6704         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6705         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6706         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6707         Likewise.
6708         [$(subdir) = elf && $(config-cflags-avx) = yes]
6709         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6710         [$(subdir) = elf && $(config-cflags-avx) = yes]
6711         (CFLAGS-tst-auditmod4a.c): Likewise.
6712         [$(subdir) = elf && $(config-cflags-avx) = yes]
6713         (CFLAGS-tst-auditmod4b.c): Likewise.
6714         [$(subdir) = elf && $(config-cflags-avx) = yes]
6715         (CFLAGS-tst-auditmod6b.c): Likewise.
6716         [$(subdir) = elf && $(config-cflags-avx) = yes]
6717         (CFLAGS-tst-auditmod6c.c): Likewise.
6718         [$(subdir) = elf && $(config-cflags-avx) = yes]
6719         (CFLAGS-tst-auditmod7b.c): Likewise.
6720         * elf/tst-audit3.c: Move to ...
6721         * sysdeps/x86_64/tst-audit3.c: ... here.
6722         * elf/tst-audit4.c: Move to ...
6723         * sysdeps/x86_64/tst-audit4.c: ... here.
6724         * elf/tst-audit5.c: Move to ...
6725         * sysdeps/x86_64/tst-audit5.c: ... here.
6726         * elf/tst-audit6.c: Move to ...
6727         * sysdeps/x86_64/tst-audit6.c: ... here.
6728         * elf/tst-audit7.c: Move to ...
6729         * sysdeps/x86_64/tst-audit7.c: ... here.
6730         * elf/tst-auditmod3a.c: Move to ...
6731         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6732         * elf/tst-auditmod3b.c: Move to ...
6733         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6734         * elf/tst-auditmod4a.c: Move to ...
6735         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6736         * elf/tst-auditmod4b.c: Move to ...
6737         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6738         * elf/tst-auditmod5a.c: Move to ...
6739         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6740         * elf/tst-auditmod5b.c: Move to ...
6741         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6742         * elf/tst-auditmod6a.c: Move to ...
6743         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6744         * elf/tst-auditmod6b.c: Move to ...
6745         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6746         * elf/tst-auditmod6c.c: Move to ...
6747         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6748         * elf/tst-auditmod7a.c: Move to ...
6749         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6750         * elf/tst-auditmod7b.c: Move to ...
6751         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6753 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6755         [BZ #15366]
6756         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6757         define unconditionally.
6758         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6759         define unconditionally.
6760         (INT8_C, INT16_C, etc.): Likewise.
6762 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6764         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6765         __ehdr_start with hidden visibility.
6767         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6769 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6771         * math/libm-test.inc (cos_test): Use accurate hex constants.
6772         (sincost_test): Likewise.
6774 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6776         * math/libm-test.inc (catan_test): Add more tests.
6777         (catanh_test): Likewise.
6779         * math/s_catanf.c (__catanf): Use suffixed floating-point
6780         constants.
6781         * math/s_catanhf.c (__catanhf): Likewise.
6782         * math/s_catanhl.c (__catanhl): Likewise.
6783         * math/s_catanl.c (__catanl): Likewise.
6785         [BZ #15394]
6786         * math/s_catan.c (__catan): Calculate imaginary part of result
6787         with log1p not log unless computing log of number close to 0.
6788         * math/s_catanf.c (__catanf): Likewise.
6789         * math/s_catanl.c (__catanl): Likewise.
6790         * math/s_catanh.c (__catanh): Calculate real part of result with
6791         log1p not log unless computing log of number close to 0.
6792         * math/s_catanhf.c (__catanhf): Likewise.
6793         * math/s_catanhl.c (__catanhl): Likewise.
6794         * math/libm-test.inc (catan_test): Add more tests.
6795         (catanh_test): Likewise.
6796         * sysdeps/i386/fpu/libm-test-ulps: Update.
6797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6801         * benchtests/Makefile: Mention files in which fast and slow
6802         paths of math functions are implemented.
6804 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6806         * sysdeps/posix/timespec_get.c: New file.
6808 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6810         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6811         POWER.
6812         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6813         for POWER.
6814         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6815         powerpc/power5/fpu folders.
6816         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6817         * benchtests/Makefile: Add modf testcase.
6818         * benchtests/bench-modf.c: New file: Benchmark test for mo
6820 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6822         [BZ #14888]
6823         * time/Makefile (tests): Add tst-strptime-whitespace.
6824         * time/strptime_l.c (get_number): Use ISSPACE.
6825         (__strptime_internal): Likewise.
6826         * time/tst-strptime-whitespace.c: New test case.
6828 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6830         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6831         member.
6832         (_nss_files_init): Set it here.
6834 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6836         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6837         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6838         unsigned.
6840 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6842         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6844 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6847         size just once.
6849 2013-04-21  David S. Miller  <davem@davemloft.net>
6851         * po/ru.po: Update Russion translation from translation project.
6853 2013-04-17  Adam Conrad  <adconrad@0c3.net>
6855         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6856         and setfsgid.
6858 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
6860         * configure.in: Remove i386 configure warning. Remove i386 case.
6861         * configure: Regenerate.
6862         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
6863         Add example to error message.
6864         * sysdeps/i386/configure: Regenerate.
6866 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6868         * benchtests/Makefile (bench): Add cos, tan, slowcos and
6869         slowtan.
6870         * benchtests/cos-inputs: New file.
6871         * benchtests/slowcos-inputs: New file.
6872         * benchtests/slowcos.c: New file.
6873         * benchtests/slowtan-inputs: New file.
6874         * benchtests/slowtan.c: New file.
6875         * benchtests/tan-inputs: New file.
6877 2013-04-16  Roland McGrath  <roland@hack.frob.com>
6879         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6880         considered kosher.
6882 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6884         * benchtests/Makefile: Include cppflags-iterator.mk to add
6885         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6887         * Makefile.in (bench-clean): New target.
6888         * benchtests/Makefile (bench-clean): Likewise.
6890 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
6892         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6894 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
6896         * stdio-common/tstdiomisc.c: Fix coding-style violation.
6898 2013-04-15  Andreas Schwab  <schwab@suse.de>
6900         * nscd/grpcache.c (cache_addgr): Properly check for short write.
6901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6902         * nscd/pwdcache.c (cache_addpw): Likewise.
6903         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
6904         more than recsize.
6906 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6908         * benchtests/Makefile (bench): Write all output to
6909         bench-out.tmp together.
6911 2013-04-15  Andreas Schwab  <schwab@suse.de>
6913         * nscd/nscd.c (main): Don't fork again after closing files.
6915 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6917         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6919         * benchtests/Rules (bench-deps): Collect dependencies into a
6920         single variable.  Add Makefile to dependencies.
6921         ($(objpfx)bench-%.c): Depend on bench-deps.
6923 2013-04-12  Roland McGrath  <roland@hack.frob.com>
6924             Xavier Roche  <roche+kml2@exalead.com>
6926         [BZ #15361]
6927         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6928         just that it's a file descriptor.
6929         * manual/llio.texi (Synchronizing AIO Operations): Update description
6930         for EBADF error from aio_fsync.
6932 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6934         * Rules (bench): Move target definition...
6935         * benchtests/Makefile: ... here.
6937 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
6939         * math/libm-test.inc (cos_test): Fix PI/2 test.
6940         (sincos_test): Likewise.
6941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6942         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6944 2013-04-11  Andreas Schwab  <schwab@suse.de>
6946         [BZ #13988]
6947         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6948         accept exponent character only when digits were seen.
6949         * stdio-common/Makefile (tests): Add bug26.
6950         * stdio-common/bug26.c: New file.
6952         [BZ #14293]
6953         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6954         non-freeable.
6956 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6958         * Makeconfig (rtld-prefix): Define built linker prefix.
6959         * Rules (run-bench): Use it.
6960         * math/Makefile (run-regen-ulps): Likewise.
6962         * Rules (bench): Remove eval.
6964 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965             Roland McGrath  <roland@hack.frob.com>
6966             Ondrej Bilka  <neleai@seznam.cz>
6968         [BZ #15346]
6969         * time/getdate.c: Include ctype.h and alloca.h.
6970         (__getdate_r): Trim leading and trailing spaces of input.
6971         * time/tst-getdate.c (tests): Add tests with leading and
6972         trailing spaces.
6974 2013-04-08  Roland McGrath  <roland@hack.frob.com>
6976         [BZ #14280]
6977         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6978         when computing value.
6980 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6982         * math/README.libm-test (How can I generate "libm-test-ulps"?):
6983         Use testrun.sh to run libm tests.
6985         [BZ #15309]
6986         * elf/dl-open.c (dl_open_worker): memset all of seen array.
6988 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
6990         [BZ #15264]
6991         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
6995         * Makefile.in (regen-ulps): New target.
6996         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6997         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6998         [ifneq (no,$(PERL)] (regen-ulps): New target.
6999         [ifeq (no,$(PERL)] (regen-ulps): New target.
7000         * math/libm-test.inc (ulps_file_name): Define.
7001         (output_dir): New variable.
7002         (options): Add "output-dir" option.
7003         (parse_opt): Handle 'o' case.
7004         (main): If output_dir is non-NULL use it as a prefix
7005         otherwise use "".
7006         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7008 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7010         [BZ #10060, #10062]
7011         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7012         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7013         fail configure if __sync_val_compare_and_swap is not inlined.
7014         * sysdeps/i386/configure: Regenerate.
7015         * configure.in: Build for i686 when configured for i386.
7016         * configure: Regenerate.
7017         * README: Remove i386 reference.
7019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7021         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7024 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7026         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7027         (lmsnanval): New variables.
7028         (F): Add conversion tests.
7029         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7030         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7032         * stdio-common/tstdiomisc.c (F): Properly collect individual
7033         tests' results.
7035         [BZ #14686, #15336]
7036         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7037         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7038         Instead, use input NaN values or generate a qNaN by arithmetic
7039         operation.  Also fix bugs to comply with the standard.
7040         * math/libm-test.inc (remainder_test): Add more tests.
7042         [BZ #15335, #15342]
7043         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7045         input NaN values or generate a qNaN by arithmetic operation.
7047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7048         unreachable code.
7050         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7051         definitions.
7053 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7055         [BZ #14478]
7056         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7057         underflowed result.
7058         * math/s_cexpf.c (__cexpf): Likewise.
7059         * math/s_cexpl.c (__cexpl): Likewise.
7060         * math/libm-test.inc (cexp_test): Add more tests.
7062 2013-04-03  Andreas Schwab  <schwab@suse.de>
7064         [BZ #15330]
7065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7066         order arrays from heap if bigger than alloca cutoff.
7068 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7070         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7071         (SNAN_TESTS_double): Refer to GCC PR56831.
7072         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7073         GCC PR56828.
7075 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7077         * Rules (bench): Move bench.out after the run is complete.
7079         * Rules (bench): Echo currently running benchmark.
7081         * benchtests/Makefile (bench): Add atan and slowatan.
7082         * benchtests/atan-inputs: New file.
7083         * benchtests/slowatan-inputs: New file.
7084         * benchtests/slowatan.c: New file.
7086         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7087         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7088         its value.
7090         [BZ #15305]
7091         * sysdeps/unix/sysv/linux/kernel-features.h
7092         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7093         __ASSUME_XFS_RESTRICTED_CHOWN.
7094         * sysdeps/unix/sysv/linux/pathconf.c
7095         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7096         Save and restore errno.
7098 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7100         [BZ #15327]
7101         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7102         arguments using __kernel_casinh.
7103         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7104         arguments using __kernel_casinhf.
7105         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7106         arguments using __kernel_casinhl.
7107         * math/libm-test.inc (cacosh_test): Add more tests.
7108         * sysdeps/i386/fpu/libm-test-ulps: Update.
7109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7111 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7113         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7114         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7116         * bench/Makefile (bench): Add sin and slowsin.
7117         * benchtests/sin-inputs: New file.
7118         * benchtests/slowsin-inputs: New file.
7119         * benchtests/slowsin.c: New file.
7121         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7122         (bench): Add slowexp and slowpow.
7123         (exp-ITER): Increase iterations.
7124         (pow-ITER): Likewise.
7125         * benchtests/exp-inputs: Change input.
7126         * benchtests/pow-inputs: Likewise.
7127         * benchtests/slowexp-inputs: New file.
7128         * benchtests/slowexp.c: New file.
7129         * benchtests/slowpow-inputs: New file.
7130         * benchtests/slowpow.c: New file.
7132 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7134         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7135         instructions.
7136         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7137         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7138         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7139         * benchtests/Makefile: Add rint benchtest.
7140         * benchtests/rint-inputs: Input for rint benchtest.
7142 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7144         * Versions.def (libm): Add GLIBC_2.18.
7145         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7146         hidden libm prototypes.
7147         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7148         * math/Makefile (libm-calls): Add s_issignaling.
7149         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7150         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7151         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7152         declaration.
7153         * math/math.h [__USE_GNU] (issignaling): New macro.
7154         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7155         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7156         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7157         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7160         * manual/arith.texi (issignaling): New section.
7161         * manual/libm-err-tab.pl (@all_functions): Update comment.
7162         * math/gen-libm-test.pl (parse_args): Apply special handling for
7163         issignaling.
7164         * math/libm-test.inc (print_float, issignaling_test): New
7165         functions.
7166         (check_float_internal): Add issignaling checks.
7167         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7168         default definition.
7169         * sysdeps/powerpc/math-tests.h: New file.
7170         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7171         tests.
7172         * math/test-snan.c (TEST_FUNC): Likewise.
7174 2013-03-30  David S. Miller  <davem@davemloft.net>
7176         * po/de.po: Update from translation team.
7178 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7180         [BZ #10357]
7181         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7182         imaginary part less than 1.0 and real part less than 0.5
7183         specially.
7184         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7185         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7186         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7187         (cacos_test): Add more tests.
7188         (casin_test): Likewise.
7189         (casinh_test): Likewise.
7190         * sysdeps/i386/fpu/libm-test-ulps: Update.
7191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7195         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7196         ONE with its value.
7198         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7199         (__pow_mp): Replace ONE and MONE with their values.
7200         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7202         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7203         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7204         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7207         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7209         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7210         (__pow_mp): Replace ZERO and MZERO with their values.
7211         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7212         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7213         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7215         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7216         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7217         (__sqr): Likewise.
7219         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7221         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7223 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7225         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7226         Declare with __attribute__ ((weak)).
7227         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7228         Call __call_tls_dtors only if it's not NULL.
7230 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7232         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7233         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7234         magic __ehdr_start linker symbol if it's defined.
7235         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7236         them up here if it was already done.
7238         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7239         (_dl_aux_init): Use const in cast when setting it.
7240         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7241         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7242         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7244         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7245         Declare them here.
7246         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7247         * csu/libc-tls.c: Nor here.
7248         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7250         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7251         (__libc_message): Never call vsyslog.
7253 2013-03-28  Alan Modra  <amodra@gmail.com>
7255         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7256         Define as empty.
7257         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7258         Likewise.
7260 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262         [BZ #15214]
7263         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7264         underflow.
7265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7267 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7269         [BZ #15304]
7270         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7271         Don't add gid passed as argument.
7273         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7275 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7277         [BZ #15307]
7278         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7279         imaginary part between 1.0 and 1.5 and real part less than 0.5
7280         specially.
7281         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7282         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7283         * math/libm-test.inc (cacos_test): Add more tests.
7284         (casin_test): Likewise.
7285         (casinh_test): Likewise.
7286         * sysdeps/i386/fpu/libm-test-ulps: Update.
7287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7289 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7291         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7292         constants.
7293         (norm): Likewise.
7294         (denorm): Likewise.
7295         (__dbl_mp): Likewise.
7296         (add_magnitudes): Likewise.
7297         (sub_magnitudes): Likewise.
7298         (__add): Likewise.
7299         (__sub): Likewise.
7300         (__mul): Likewise.
7301         (__sqr): Likewise.
7302         (__inv): Likewise.
7303         (__dvd): Likewise.
7305         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7306         commented code.
7307         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7308         (__dubcos): Likewise.
7309         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7310         (__ieee754_acos): Likewise.
7311         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7312         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7313         (__exp1): Likewise.
7314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7316         (log1): Likewise.
7317         (my_log2): Likewise.
7318         (checkint): Likewise.
7319         * sysdeps/ieee754/dbl-64/e_remainder.c
7320         (__ieee754_remainder): Likewise.
7321         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7322         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7323         (bsloww): Likewise.
7324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7326         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7327         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7328         MANTISSA_STORE_T to store computations on mantissa.  Use
7329         macros for rounding and division.
7330         (denorm): Likewise.
7331         (__dbl_mp): Likewise.
7332         (add_magnitudes): Likewise.
7333         (sub_magnitudes): Likewise.
7334         (__mul): Likewise.
7335         (__sqr): Likewise.
7336         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7337         powers of two in terms of TWOPOW macro.
7338         (mp_no): Make type of mantissa as MANTISSA_T.
7339         [!RADIXI]: Define RADIXI.
7340         [!TWO52]: Define TWO52.
7341         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7343 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7345         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7346         llroundl symbol when building for PPC32.
7348 2013-03-24  Mark H Weaver  <mhw@netris.org>
7350         * manual/arith.texi (Normalization Functions): Fix prototypes for
7351         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7353 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7355         [BZ #13889]
7356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7357         high value to check if expl overflow.
7358         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7359         to check for underflow and overflow.
7360         * math/libm-test.inc: Add exp test.
7362 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7364         [BZ #11120]
7365         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7366         with NOT_IN_libc.
7368 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7370         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7371         symbol.
7373 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7375         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7376         wrap blocks consisting of several statements.
7378         * sysdeps/generic/math-tests.h: New file.
7379         * sysdeps/i386/fpu/math-tests.h: Likewise.
7380         * math/test-snan.c: Include it.
7381         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7383 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7385         [BZ #15285]
7386         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7387         (__ieee754_j0l): Do not improve calculations using cos of twice
7388         input for inputs above LDBL_MAX / 2.0L.
7389         (__ieee754_y0l): Likewise.
7390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7391         (__ieee754_j1l): Do not improve calculations using cos of twice
7392         input for inputs above LDBL_MAX / 2.0L.
7393         (__ieee754_y1l): Likewise.
7394         * math/libm-test.inc (j0_test): Add another test.
7395         (j1_test): Likewise.
7396         (y0_test): Likewise.
7397         (y1_test): Likewise.
7398         * sysdeps/i386/fpu/libm-test-ulps: Update.
7400 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7402         * Rules ($(objpfx)bench-%.c): Include code from a C source
7403         file.
7405 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7407         [BZ #15287]
7408         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7409         imaginary part 1.0 and real part less than 0.5 specially.
7410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7412         * math/libm-test.inc (cacos_test): Add more tests.
7413         (casin_test): Likewise.
7414         (casinh_test): Likewise.
7415         * sysdeps/i386/fpu/libm-test-ulps: Update.
7416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7420         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7421         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7423 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7425         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7426         * config.make.in (config-cflags-sse4): Remove variable.
7427         (config-cflags-avx): Likewise.
7428         (config-cflags-sse2avx): Likewise.
7429         (config-cflags-novzeroupper): Likewise.
7430         (config-asflags-i686): Likewise.
7431         (have-mfma4): Likewise.
7432         (have-as-vis3): Likewise.
7433         (MIG): Likewise.
7434         * configure.in (MIG): Do not AC_SUBST.
7435         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7436         (libc_cv_cc_sse4): Do not AC_SUBST.
7437         (libc_cv_cc_avx): Likewise.
7438         (libc_cv_cc_sse2avx): Likewise.
7439         (libc_cv_cc_novzeroupper): Likewise.
7440         (libc_cv_cc_fma4): Likewise.
7441         (libc_cv_as_i686): Likewise.
7442         (libc_cv_sparc_as_vis3): Likewise.
7443         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7444         LIBC_CONFIG_VAR.
7445         (config-asflags-i686): Likewise.
7446         (config-cflags-avx): Likewise.
7447         (config-cflags-sse2avx): Likewise.
7448         (have-mfma4): Likewise.
7449         (config-cflags-novzeroupper): Likewise.
7450         * sysdeps/mach/configure.in (MIG): Likewise.
7451         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7452         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7453         LIBC_CONFIG_VAR.
7454         (config-cflags-avx): Likewise.
7455         (config-cflags-sse2avx): Likewise.
7456         (have-mfma4): Likewise.
7457         (config-cflags-novzeroupper): Likewise.
7458         * configure: Regenerated.
7459         * sysdeps/i386/configure: Likewise.
7460         * sysdeps/mach/configure: Likewise.
7461         * sysdeps/sparc/configure: Likewise.
7462         * sysdeps/x86_64/configure: Likewise.
7464 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7466         [BZ #14812]
7467         * locale/programs/localedef.c (options): Put N_ translation marker
7468         on argument names, not just descriptions.
7470 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7472         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7474 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7476         [BZ #14176]
7477         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7479 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7481         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7482         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7483         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7484         [!BEFORE_ABORT] (before_abort): New function.
7485         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7486         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7487         (writev_for_fatal): New function.
7488         (WRITEV_FOR_FATAL): New macro; call that.
7489         (backtrace_and_maps): New function.
7490         (BEFORE_ABORT): New macro; call that.
7491         (struct str_list): Type removed.
7492         (__libc_message, __libc_fatal): Functions removed.
7493         Include <sysdeps/posix/libc_fatal.c> instead.
7495 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7497         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7498         constants.
7499         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7500         double constants.
7502 2013-03-19  Andreas Schwab  <schwab@suse.de>
7504         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7505         * sysdeps/gnu/configure: Regenerate.
7507         * configure.in: Substitute libc_cv_rtlddir.
7508         * configure: Regenerate.
7509         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7510         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7511         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7512         * elf/Makefile (install-others, CFLAGS-interp.c)
7513         (ldso_install, common-ldd-rewrite): Likewise.
7514         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7515         $(inst_slibdir)/$(rtld-installed-name).
7516         * scripts/rellns-sh: Add -p option.
7517         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7518         for source.
7520 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522         * manual/nptl.texi: Renamed to ...
7523         * manual/threads.texi: ... this.
7524         * manual/Makefile (chapters): Update.
7526 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7528         [BZ #14812]
7529         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7530         on argument names, not just descriptions.
7531         * malloc/memusagestat.c (options): Likewise.
7532         * nss/getent.c (options): Likewise.
7534 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7536         [BZ #14812]
7537         * iconv/iconv_prog.c (options): Put N_ translation marker
7538         on argument names, not just descriptions.
7539         * iconv/iconvconfig.c (options): Likewise.
7541 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7543         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7544         implementation which is faster on all x86_64 architectures.
7545         Tested on AMD, Intel Nehalem, SNB, IVB.
7546         * sysdeps/x86_64/strnlen.S: Likewise.
7548         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7549         Remove all multiarch strlen and strnlen versions.
7550         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7551         Remove strlen and strnlen related parts.
7553         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7554         Inline strlen part.
7555         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7557         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7558         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7559         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7560         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7562         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7564 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7566         * manual/memory.texi (Malloc Tunable Parameters):
7567         Sort parameters alphabetically. Add comments for missing entries.
7569 2013-03-17  David S. Miller  <davem@davemloft.net>
7571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7573 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7575         [BZ #15283]
7576         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7577         for arguments at most half maximum finite value.
7578         * math/libm-test.inc (j0_test): Add more tests.
7579         (j1_test): Likewise.
7580         (y0_test): Likewise.
7581         (y1_test): Likewise.
7582         * sysdeps/i386/fpu/libm-test-ulps: Update.
7583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7585         [BZ #14155]
7586         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7587         1 / x and functions P and Q for arguments above 0x1p256L.
7588         (__ieee754_y0l): Likewise.
7589         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7590         (__ieee754_y1l): Likewise.
7591         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7592         (j1_test): Likewise.
7593         (y0_test): Likewise.
7594         (y1_test): Likewise.
7596 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7598         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7599         variable.
7601 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7603         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7604         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7605         zero since it's initialized to EXEC_PAGESIZE.
7607         * sysdeps/unix/sysv/linux/ldsodefs.h
7608         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7609         * sysdeps/generic/ldsodefs.h: ... here.
7611 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7613         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7615         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7616         math/test-snan.c.
7617         * math/test-snan.c: Renamed from
7618         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7619         * math/Makefile (tests): Add test-snan.
7620         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7621         test-powerpc-snan.
7623         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7624         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7625         functions.
7626         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7627         __builtin_nan family of functions.
7628         * math/libm-test.inc (initialize): Initialize qnan_value with
7629         __builtin_nan family of functions.
7630         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7631         Remove variables.
7632         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7633         Remove functions.
7634         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7635         storage class.  Initialize qNaN_var and sNaN_var with
7636         __builtin_nan and __builtin_nans families of functions,
7637         respectively.
7639         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7640         (sqrt_test): Remove duplicate test with qNaN input.
7641         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7642         (round_test, signbit_test, significand_test): Note missing +/-Inf
7643         as well as qNaN tests.
7645         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7646         qNaN_var.  Fix a few strings, too.
7647         * math/libm-test.inc (nan_value): Rename to qnan_value.
7648         * math/gen-libm-test.pl (%beautify): Adjust to that.
7649         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7650         * math/test-misc.c (main): Likewise.
7651         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7652         to __qnan_bytes, and __qnan_union, respectively.
7653         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7654         Likewise.
7655         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7656         and lqnanval, respectively.
7657         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7658         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7659         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7660         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7662         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7663         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7664         doubles.
7666         * math/test-misc.c (main): Fix copy'n'pastos.
7667         * misc/tst-efgcvt.c (special): Likewise.
7669         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7670         Remove declarations.
7672 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7674         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7675         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7676         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7677         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7679 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7681         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7682         macro to return vdso values correctly in IFUNC implementations.
7683         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7684         Optimization by using IFUNC.
7686 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7687             Richard Henderson  <rth@redhat.com>
7688             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7690         * Makefile.in (bench): New target.
7691         * NEWS: Mention the benchmark framework.
7692         * Rules (bench): Likewise.
7693         (binaries-bench): Generate binaries for functions to
7694         benchmark.
7695         * benchtests/Makefile: New makefile for benchmark tests.
7696         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7697         programs.
7698         * benchtests/exp-inputs: New input file for EXP function.
7699         * benchtests/pow-inputs: New input file for POW function.
7700         * scripts/bench.pl: New script to generate source files for
7701         benchmark programs.
7703 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7705         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7706         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7707         computations on mantissa.  Use macros for rounding and
7708         division.
7709         (denorm): Likewise.
7710         (__dbl_mp): Likewise.
7711         (add_magnitudes): Likewise.
7712         (sub_magnitudes): Likewise.
7713         (__mul): Likewise.
7714         (__sqr): Likewise.
7715         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7716         powers of two in terms of TWOPOW macro.
7717         (mp_no): Make type of mantissa as MANTISSA_T.
7718         [!RADIXI]: Define RADIXI.
7719         [!TWO52]: Define TWO52.
7720         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7722         * manual/nptl.texi (cindex): Modify threads to pthreads.
7724 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7726         * sysdeps/x86_64/preconfigure: Regenerated.
7728 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7730         [BZ #14155]
7731         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7732         0x1p28 and above.
7733         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7734         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7735         0x1p28 and above.
7736         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7737         * math/libm-test.inc (j0_test): Do not allow one spurious
7738         underflow exception.
7739         (y1_test): Likewise.
7741 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7743         * manual/Makefile (chapters): Add nptl.
7744         * manual/debug.texi (Debugging Support): Add link to Threads
7745         chapter.
7746         * manual/nptl.texi: New file.
7748         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7750 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7752         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7753         for non-NULL pointer before the memory validity test. Pointed
7754         out by Holger Brunck <holger.brunck@keymile.com>.
7756 2013-03-13  Andreas Schwab  <schwab@suse.de>
7758         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7759         instead of .os.
7761 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7763         * timezone/zic.c: Update from tzcode 2013b.
7765 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7767         * manual/install.texi (Configuring and compiling):
7768         Mention i686 and i586.
7769         * INSTALL: Regenerate.
7771 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7773         * sysdeps/init_array/elf-init.c: New file.
7774         * csu/elf-init.c
7775         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7776         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7778         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7779         __gmon_start__ as global, but as static with a .preinit_array pointer.
7780         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7781         * sysdeps/init_array/crti.S: New file, empty except for comments.
7782         * sysdeps/init_array/crtn.S: Likewise.
7784 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7786         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7787         definining bcopy.
7788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7789         Remove Prefer_SSE_for_memop.
7790         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7791         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7792         HAS_PREFER_SSE_FOR_MEMOP.
7793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7794         memset-x86-64.
7795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7796         Remove bzero, memset ifunc support.
7797         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7798         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7799         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7800         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7802 2013-03-11  Andreas Schwab  <schwab@suse.de>
7804         [BZ #15234]
7805         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7806         by SHLIB_COMPAT.
7807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7808         (GLIBC_2.16): Remove pthread_atfork.
7810 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7812         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7813         (ptestcases.h): Likewise.
7815 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7817         * Makeconfig ($(common-objpfx)config.status): Depend on
7818         sysdeps/*/preconfigure{,.in} too.
7820 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7822         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7823         (__free_hook): Use void * instead of __malloc_ptr_t.
7824         (__malloc_hook): Likewise.
7825         (__realloc_hook): Likewise.
7826         (__memalign_hook): Likewise.
7827         (__after_morecore_hook): Likewise.
7828         * malloc/arena.c (save_malloc_hook): Likewise.
7829         (save_free_hook): Likewise.
7830         * malloc/hooks.c (malloc_hook_ini): Likewise.
7831         (realloc_hook_ini): Likewise.
7832         (memalign_hook_ini): Likewise.
7833         * malloc/malloc.c (malloc_hook_ini): Likewise.
7834         (realloc_hook_ini): Likewise.
7835         (memalign_hook_ini): Likewise.
7836         (__free_hook): Likewise.
7837         (__malloc_hook): Likewise.
7838         (__realloc_hook): Likewise.
7839         (__memalign_hook): Likewise.
7840         (__libc_malloc): Likewise.
7841         (__libc_free): Likewise.
7842         (__libc_realloc): Likewise.
7843         (__libc_memalign): Likewise.
7844         (__libc_valloc): Likewise.
7845         (__libc_pvalloc): Likewise.
7846         (__libc_calloc): Likewise.
7847         (__posix_memalign): Likewise.
7848         * malloc/morecore.c (__sbrk): Likewise.
7849         (__default_morecore): Likewise.
7851         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7853         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7854         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7855         __malloc_ptrdiff_t.
7857         * malloc/malloc.h (__malloc_size_t): Remove macro.
7858         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7859         __malloc_size_t.
7860         (old_memalign_hook): Likewise.
7861         (old_realloc_hook): Likewise.
7862         (struct hdr): Likewise.
7863         (flood): Likewise.
7864         (mallochook): Likewise.
7865         (memalignhook): Likewise.
7866         (reallochook): Likewise.
7867         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7868         (tr_old_realloc_hook): Likewise.
7869         (tr_old_memalign_hook): Likewise.
7870         (tr_mallochook): Likewise.
7871         (tr_reallochook): Likewise.
7872         (tr_memalignhook): Likewise.
7874 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7876         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7877         default_ldbl_pack and using as default implementation.
7878         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7879         implementation.
7880         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7881         redundant definition.
7882         (ldbl_insert_mantissa): Likewise.
7883         (ldbl_canonicalize): Likewise.
7884         (ldbl_nearbyint): Likewise.
7885         (ldbl_pack): Rename to ldbl_pack_ppc.
7886         (ldbl_unpack): Rename to ldbl_unpack_ppc.
7887         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7888         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7890 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7893         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7894         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7895         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7897         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7898         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7899         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7901 2013-03-07  Andreas Jaeger  <aj@suse.de>
7903         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7904         bits/mman-linux.h.
7906 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7908         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7909         Include mpa.h and declare __MPEXP.
7910         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7911         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7912         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7913         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7914         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7915         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7916         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7918         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7919         (__slowpow): Use long double EXPL and LOGL functions to
7920         compute POW.
7921         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7922         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7924         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7925         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7926         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7929         intermediate variable to calculate exponent.
7930         (__sqr): Likewise.
7931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7932         Likewise.
7933         (__sqr): Likewise.
7935         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7936         [!NO__SQR]: Define __sqr.
7937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7938         and NO__SQR.  Remove all code except __mul and __sqr.  Include
7939         sysdeps/ieee754/dbl-64/mpa.c.
7940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7942         [BZ #12723]
7943         * posix/Makefile (tests): Add tst-pathconf.
7944         * posix/tst-pathconf.c: New test case.
7945         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7946         _PC_PIPE_BUF.
7947         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7949 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
7951         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7953 2013-03-06  Andreas Jaeger  <aj@suse.de>
7955         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7956         definition via __MAP_ANONYMOUS.
7958         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7959         it's not part of Linux headers.
7961         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7962         (MAP_HUGE_MASK): Define.
7964         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7965         Define.
7966         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7968         Define.
7969         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7970         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7971         Define.
7972         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7973         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7974         Define.
7975         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7977         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7978         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7979         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7980         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7981         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7982         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7984         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7985         Handle f2fs.
7987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7988         Handle f2fs and efivarfs.
7990         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7991         f2fs.
7993         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7994         (EFIVARFS_MAGIC): Add.
7995         (F2FS_LINK_MAX): Add.
7997 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7999         * stdio-common/vfprintf.c: Replace __builtin_expect with
8000         __glibc_unlikely.
8002 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8004         [BZ #13550]
8005         * sysdeps/generic/bp-sym.h: Remove file.
8006         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8007         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8008         <bp-sym.h> and <bp-asm.h>.
8009         (__longjmp): Don't use BP_SYM.
8010         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8011         and <bp-asm.h>.
8012         (memcpy): Don't use BP_SYM.
8013         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8014         <bp-sym.h> and <bp-asm.h>.
8015         (memcpy): Don't use BP_SYM.
8016         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8017         <bp-asm.h>.
8018         (memcpy): Don't use BP_SYM.
8019         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8020         <bp-asm.h>.
8021         (memset): Don't use BP_SYM.
8022         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8023         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8024         (__bzero): Don't use BP_SYM.
8025         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8026         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8027         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8028         <bp-sym.h> and <bp-asm.h>.
8029         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8030         pointers.
8031         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8032         <bp-sym.h> and <bp-asm.h>.
8033         (memcpy): Don't use BP_SYM.
8034         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8035         <bp-sym.h> and <bp-asm.h>.
8036         (memset): Don't use BP_SYM.
8037         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8038         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8039         (__bzero): Don't use BP_SYM.
8040         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8041         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8042         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8043         <bp-sym.h> and <bp-asm.h>.
8044         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8045         pointers.
8046         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8047         <bp-sym.h> and <bp-asm.h>.
8048         (memcpy): Don't use BP_SYM.
8049         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8050         <bp-sym.h> and <bp-asm.h>.
8051         (memset): Don't use BP_SYM.
8052         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8053         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8054         (__bzero): Don't use BP_SYM.
8055         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8056         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8058         <bp-sym.h> and <bp-asm.h>.
8059         (__memchr): Don't use BP_SYM.
8060         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8061         <bp-sym.h> and <bp-asm.h>.
8062         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8063         pointers.
8064         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8065         <bp-sym.h> and <bp-asm.h>.
8066         (memcpy): Don't use BP_SYM.
8067         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8068         <bp-sym.h> and <bp-asm.h>.
8069         (__mempcpy): Don't use BP_SYM.
8070         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8071         <bp-sym.h> and <bp-asm.h>.
8072         (__memrchr): Don't use BP_SYM.
8073         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8074         <bp-sym.h> and <bp-asm.h>.
8075         (memset): Don't use BP_SYM.
8076         (__bzero): Likewise.
8077         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8078         <bp-sym.h> and <bp-asm.h>.
8079         (__rawmemchr): Don't use BP_SYM.
8080         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8081         <bp-sym.h> and <bp-asm.h>.
8082         (__STRCMP): Don't use BP_SYM.
8083         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8084         <bp-sym.h> and <bp-asm.h>.
8085         (strchr): Don't use BP_SYM.
8086         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8087         <bp-sym.h> and <bp-asm.h>.
8088         (__strchrnul): Don't use BP_SYM.
8089         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8090         <bp-sym.h> and <bp-asm.h>.
8091         (strlen): Don't use BP_SYM.
8092         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8093         <bp-sym.h> and <bp-asm.h>.
8094         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8095         pointers.
8096         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8097         <bp-sym.h> and <bp-asm.h>.
8098         (__strnlen): Don't use BP_SYM.
8099         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8100         <bp-sym.h> and <bp-asm.h>.
8101         (__GI__setjmp): Don't use BP_SYM.
8102         (_setjmp): Likewise.
8103         (__sigsetjmp): Likewise.
8104         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8105         (L(start_addresses)): Don't use BP_SYM.
8106         (_start): Likewise.
8107         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8108         <bp-asm.h>.
8109         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8110         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8111         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8112         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8113         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8114         <bp-asm.h>.
8115         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8116         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8117         about bounded pointers.
8118         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8119         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8120         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8121         <bp-asm.h>.
8122         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8123         about bounded pointers.  Remove GKM FIXME comments.
8124         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8125         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8126         <bp-asm.h>.
8127         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8128         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8129         Remove GKM FIXME comments.
8130         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8131         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8132         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8133         <bp-asm.h>.
8134         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8135         about bounded pointers.  Remove GKM FIXME comment.
8136         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8137         and <bp-asm.h>.
8138         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8139         pointers.
8140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8141         <bp-sym.h> and <bp-asm.h>.
8142         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8144         <bp-sym.h> and <bp-asm.h>.
8145         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8146         comment.
8148 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8150         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8151         call free(NULL).
8153 2013-03-05  David S. Miller  <davem@davemloft.net>
8155         * po/es.po: Update from translation team.
8157 2013-03-05  Andreas Jaeger  <aj@suse.de>
8159         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8160         <bits/mman-linux.h>.
8161         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8162         is fine.
8163         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8164         <bits/mman-linux.h> to end of file.
8165         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8166         is fine.
8167         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8168         <bits/mman-linux.h> to end of file.
8169         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8170         is fine.
8171         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8172         <bits/mman-linux.h> to end of file.
8174         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8175         (MCL_CURRENT, MCL_FUTURE): Define here.
8177 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8179         [BZ #15232]
8180         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8181         attribute_hidden.
8182         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8184 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8186         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8187         fourth parameter needed for rt_sigprocmask syscall.
8188         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8189         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8190         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8191         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8192         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8193         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8195 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8197         [BZ #13550]
8198         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8199         comment about bounded pointers.
8200         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8201         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8203 2013-03-04  Andreas Jaeger  <aj@suse.de>
8205         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8206         common definitions.
8208         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8209         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8210         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8211         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8215 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8217         [BZ #15055]
8218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8219         __ieee754_sqrl instead of __sqrl.
8221 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8223         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8224         * sysdeps/powerpc/fpu_control.h: ... here.
8225         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8226         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8227         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8228         * sysdeps/powerpc/bits/mathinline.h: ... here.
8230 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8232         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8233         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8234         to just [NEED_DL_SYSINFO_DSO].
8235         * elf/dl-support.c: Likewise.
8236         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8237         * elf/rtld.c (dl_main): Likewise.
8238         * elf/setup-vdso.h (setup_vdso): Likewise.
8239         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8240         * sysdeps/unix/sysv/linux/dl-sysdep.c
8241         (_dl_discover_osversion): Likewise.
8243 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8245         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8246         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8248 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8250         * NEWS: Mention libm performance improvements and non-x86 PI
8251         futex support.
8253         * csu/libc-start.c (__pthread_initialize_minimal): Change
8254         function arguments.
8255         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8257 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8259         [BZ #13550]
8260         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8261         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8262         <bp-sym.h> and <bp-asm.h>.
8263         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8264         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8265         and <bp-asm.h>.
8266         (memcpy): Don't use BP_SYM.
8267         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8268         <bp-asm.h>.
8269         (__mpn_add_n): Don't use BP_SYM.
8270         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8271         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8272         and <bp-asm.h>.
8273         (__mpn_addmul_1): Don't use BP_SYM.
8274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8275         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8276         <bp-sym.h>.
8277         (_setjmp): Don't use BP_SYM.
8278         (__novmx_setjmp): Likewise.
8279         (__GI__setjmp): Likewise.
8280         (__vmx_setjmp): Likewise.
8281         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8282         <bp-sym.h>.
8283         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8284         (__bzero): Don't use BP_SYM.
8285         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8286         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8287         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8288         <bp-sym.h> and <bp-asm.h>.
8289         (memcpy): Don't use BP_SYM.
8290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8291         <bp-sym.h> and <bp-asm.h>.
8292         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8294         <bp-sym.h> and <bp-asm.h>.
8295         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8296         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8297         <bp-asm.h>.
8298         (__mpn_lshift): Don't use BP_SYM.
8299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8300         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8301         <bp-asm.h>.
8302         (memset): Don't use BP_SYM.
8303         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8304         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8305         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8306         <bp-asm.h>.
8307         (__mpn_mul_1): Don't use BP_SYM.
8308         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8309         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8310         <bp-sym.h> and <bp-asm.h>.
8311         (memcmp): Don't use BP_SYM.
8312         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8313         <bp-sym.h> and <bp-asm.h>.
8314         (memcpy): Don't use BP_SYM.
8315         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8316         <bp-sym.h> and <bp-asm.h>.
8317         (memset): Don't use BP_SYM.
8318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8319         <bp-sym.h> and <bp-asm.h>.
8320         (strncmp): Don't use BP_SYM.
8321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8322         <bp-sym.h> and <bp-asm.h>.
8323         (memcpy): Don't use BP_SYM.
8324         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8325         <bp-sym.h> and <bp-asm.h>.
8326         (memset): Don't use BP_SYM.
8327         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8328         <bp-sym.h> and <bp-asm.h>.
8329         (__memchr): Don't use BP_SYM.
8330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8331         <bp-sym.h> and <bp-asm.h>.
8332         (memcmp): Don't use BP_SYM.
8333         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8334         <bp-sym.h> and <bp-asm.h>.
8335         (memcpy): Don't use BP_SYM.
8336         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8337         <bp-sym.h> and <bp-asm.h>.
8338         (__mempcpy): Don't use BP_SYM.
8339         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8340         <bp-sym.h> and <bp-asm.h>.
8341         (__memrchr): Don't use BP_SYM.
8342         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8343         <bp-sym.h> and <bp-asm.h>.
8344         (memset): Don't use BP_SYM.
8345         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8346         <bp-sym.h> and <bp-asm.h>.
8347         (__rawmemchr): Don't use BP_SYM.
8348         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8349         <bp-sym.h> and <bp-asm.h>.
8350         (__STRCMP): Don't use BP_SYM.
8351         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8352         <bp-sym.h> and <bp-asm.h>.
8353         (strchr): Don't use BP_SYM.
8354         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8355         <bp-sym.h> and <bp-asm.h>.
8356         (__strchrnul): Don't use BP_SYM.
8357         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8358         <bp-sym.h> and <bp-asm.h>.
8359         (strlen): Don't use BP_SYM.
8360         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8361         <bp-sym.h> and <bp-asm.h>.
8362         (strncmp): Don't use BP_SYM.
8363         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8364         <bp-sym.h> and <bp-asm.h>.
8365         (__strnlen): Don't use BP_SYM.
8366         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8367         <bp-asm.h>.
8368         (__mpn_rshift): Don't use BP_SYM.
8369         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8371         <bp-sym.h> and <bp-asm.h>.
8372         (__sigsetjmp): Don't use BP_SYM.
8373         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8374         (L(start_addresses)): Don't use BP_SYM.
8375         (_start): Likewise.
8376         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8377         <bp-asm.h>.
8378         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8379         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8380         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8381         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8382         <bp-asm.h>.
8383         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8384         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8385         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8386         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8387         <bp-asm.h>.
8388         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8389         comments.
8390         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8391         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8392         <bp-asm.h>.
8393         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8394         FIXME comments.
8395         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8396         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8397         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8398         <bp-asm.h>.
8399         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8400         comment.
8401         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8402         and <bp-asm.h>.
8403         (strncmp): Don't use BP_SYM,
8404         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8405         <bp-asm.h>.
8406         (__mpn_sub_n): Don't use BP_SYM.
8407         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8408         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8409         and <bp-asm.h>.
8410         (__mpn_submul_1): Don't use BP_SYM.
8411         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8413         <bp-sym.h> and <bp-asm.h>.
8414         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8416         <bp-sym.h> and <bp-asm.h>.
8417         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8418         comment.
8420 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8423         Use ZK to minimize writes to Z.
8424         (sub_magnitudes): Simplify code a bit.
8425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8426         Use ZK to minimize writes to Z.
8427         (sub_magnitudes): Simplify code a bit.
8429 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8431         * csu/gmon-start.c: Add special exception to license text.
8433 2013-02-27  Richard Henderson  <rth@redhat.com>
8435         * scripts/config.guess: Update from config.git.
8436         * scripts/config.sub: Likewise.
8438 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8442         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8444         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8446         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8448         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8450 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8452         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8453         [$(build-shared = yes].
8455 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8457         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8458         (__mul): Reduce iterations for calculating mantissa.
8460         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8461         MPTWO.
8462         (__mpranred): Likewise.
8464         [BZ #15160]
8465         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8466         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8468 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8470         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8471         Define __attribute__.
8473 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8475         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8476         unused.
8477         * posix/regex_internal.h (__attribute): Remove.
8478         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8479         (re_string_context_at): Likewise.
8480         (bitset_not): Use __attribute__ and mark function as possibly
8481         unused.
8482         (bitset_merge): Likewise.
8483         (bitset_mask): Likewise.
8484         (re_string_char_size_at): Likewise.
8485         (re_string_wchar_at): Likewise.
8486         (re_string_elem_size_at): Likewise.
8488 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8490         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8491         code.
8492         (cc32): Likewise.
8494         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8495         (__acr): Likewise.
8496         (__cpy): Likewise.
8497         (norm): Likewise.
8498         (denorm): Likewise.
8499         (__dbl_mp): Likewise.
8500         (add_magnitudes): Likewise.
8501         (sub_magnitudes): Likewise.
8502         (__mul): Likewise.
8503         (__inv): Likewise.
8505         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8506         style.
8508         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8509         style.
8511         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8512         code.
8514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8515         up changes with default code.
8516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8517         Likewise.
8519 2013-02-24  Allan McRae  <allan@archlinux.org>
8521         * manual/socket.texi (The Internet Namespace): Order menu items
8522         to match that in the file.
8524         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8525         node listing of the info page menu.
8527 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8529         [BZ #13550]
8530         * sysdeps/i386/bp-asm.h: Remove file.
8531         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8532         (PARMS): Do not use macros from bp-asm.h.
8533         (S1): Likewise.
8534         (S2): Likewise.
8535         (SIZE): Likewise.
8536         (__mpn_add_n): Do not use BP_SYM
8537         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8538         "bp-asm.h".
8539         (PARMS): Do not use macros from bp-asm.h.
8540         (S1): Likewise.
8541         (SIZE): Likewise.
8542         (__mpn_addmul_1): Do not use BP_SYM
8543         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8544         "bp-asm.h".
8545         (PARMS): Do not use macros from bp-asm.h.
8546         (SIGMSK): Likewise.
8547         (_setjmp): Likewise.  Do not use BP_SYM.
8548         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8549         "bp-asm.h".
8550         (PARMS): Do not use macros from bp-asm.h.
8551         (SIGMSK): Likewise.
8552         (setjmp): Likewise.  Do not use BP_SYM.
8553         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8554         "bp-asm.h".
8555         (PARMS): Do not use macros from bp-asm.h.
8556         (__frexp): Do not use BP_SYM.
8557         (frexp): Likewise.
8558         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8559         "bp-asm.h".
8560         (PARMS): Do not use macros from bp-asm.h.
8561         (__frexpf): Do not use BP_SYM.
8562         (frexpf): Likewise.
8563         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8564         "bp-asm.h".
8565         (PARMS): Do not use macros from bp-asm.h.
8566         (__frexpl): Do not use BP_SYM.
8567         (frexpl): Likewise.
8568         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8569         "bp-asm.h".
8570         (PARMS): Do not use macros from bp-asm.h.
8571         (__remquo): Do not use BP_SYM.
8572         (remquo): Likewise.
8573         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8574         "bp-asm.h".
8575         (PARMS): Do not use macros from bp-asm.h.
8576         (__remquof): Do not use BP_SYM.
8577         (remquof): Likewise.
8578         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8579         "bp-asm.h".
8580         (PARMS): Do not use macros from bp-asm.h.
8581         (__remquol): Do not use BP_SYM.
8582         (remquol): Likewise.
8583         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8584         "bp-asm.h".
8585         (PARMS): Do not use macros from bp-asm.h.
8586         (DEST): Likewise.
8587         (SRC): Likewise.
8588         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8589         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8590         "bp-asm.h".
8591         (PARMS): Do not use macros from bp-asm.h.
8592         (strlen): Do not use BP_SYM.
8593         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8594         "bp-asm.h".
8595         (PARMS): Do not use macros from bp-asm.h.
8596         (S1): Likewise.
8597         (S2): Likewise.
8598         (SIZE): Likewise.
8599         (__mpn_add_n): Do not use BP_SYM.
8600         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8601         "bp-asm.h".
8602         (PARMS): Do not use macros from bp-asm.h.
8603         (S1): Likewise.
8604         (SIZE): Likewise.
8605         (__mpn_addmul_1): Do not use BP_SYM.
8606         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8607         weak_alias.
8608         (bzero): Likewise.
8609         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8610         "bp-asm.h".
8611         (PARMS): Do not use macros from bp-asm.h.
8612         (S): Likewise.
8613         (SIZE): Likewise.
8614         (__mpn_lshift): Do not use BP_SYM.
8615         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8616         "bp-asm.h".
8617         (PARMS): Do not use macros from bp-asm.h.
8618         (DEST): Likewise.
8619         (SRC): Likewise.
8620         (LEN): Likewise.
8621         (memcpy): Likewise.  Do not use BP_SYM.
8622         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8623         libc_hidden_def and weak_alias.
8624         (mempcpy): Do not use BP_SYM in weak_alias.
8625         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8626         "bp-asm.h".
8627         (PARMS): Do not use macros from bp-asm.h.
8628         (DEST): Likewise.
8629         (LEN): Likewise.
8630         [!BZERO_P] (CHR): Likewise.
8631         (memset): Likewise.  Do not use BP_SYM.
8632         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8633         "bp-asm.h".
8634         (PARMS): Do not use macros from bp-asm.h.
8635         (S1): Likewise.
8636         (SIZE): Likewise.
8637         (__mpn_mul_1): Do not use BP_SYM.
8638         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8639         "bp-asm.h".
8640         (PARMS): Do not use macros from bp-asm.h.
8641         (S): Likewise.
8642         (SIZE): Likewise.
8643         (__mpn_rshift): Do not use BP_SYM.
8644         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8645         "bp-asm.h".
8646         (PARMS): Do not use macros from bp-asm.h.
8647         (STR): Likewise.
8648         (CHR): Likewise.
8649         (strchr): Likewise.  Do not use BP_SYM.
8650         (index): Do not use BP_SYM in weak_alias.
8651         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8652         "bp-asm.h".
8653         (PARMS): Do not use macros from bp-asm.h.
8654         (DEST): Likewise.
8655         (SRC): Likewise.
8656         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8657         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8658         "bp-asm.h".
8659         (PARMS): Do not use macros from bp-asm.h.
8660         (strlen): Do not use BP_SYM.
8661         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8662         "bp-asm.h".
8663         (PARMS): Do not use macros from bp-asm.h.
8664         (S1): Likewise.
8665         (S2): Likewise.
8666         (SIZE): Likewise.
8667         (__mpn_sub_n): Do not use BP_SYM.
8668         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8669         "bp-asm.h".
8670         (PARMS): Do not use macros from bp-asm.h.
8671         (S1): Likewise.
8672         (SIZE): Likewise.
8673         (__mpn_submul_1): Do not use BP_SYM.
8674         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8675         "bp-asm.h".
8676         (PARMS): Do not use macros from bp-asm.h.
8677         (S1): Likewise.
8678         (S2): Likewise.
8679         (SIZE): Likewise.
8680         (__mpn_add_n): Do not use BP_SYM.
8681         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8682         weak_alias.
8683         (bzero): Likewise.
8684         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8685         "bp-asm.h".
8686         (PARMS): Do not use macros from bp-asm.h.
8687         (BLK2): Likewise.
8688         (LEN): Likewise.
8689         (memcmp): Do not use BP_SYM.
8690         (bcmp): Do not use BP_SYM in weak_alias.
8691         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8692         "bp-asm.h".
8693         (PARMS): Do not use macros from bp-asm.h.
8694         (DEST): Likewise.
8695         (SRC): Likewise.
8696         (LEN): Likewise.
8697         (memcpy): Likewise.  Do not use BP_SYM.
8698         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8699         "bp-asm.h".
8700         (PARMS): Do not use macros from bp-asm.h.
8701         (DEST): Likewise.
8702         (SRC): Likewise.
8703         (LEN): Likewise.
8704         (memmove): Likewise.  Do not use BP_SYM.
8705         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8706         "bp-asm.h".
8707         (PARMS): Do not use macros from bp-asm.h.
8708         (DEST): Likewise.
8709         (SRC): Likewise.
8710         (LEN): Likewise.
8711         (__mempcpy): Likewise.  Do not use BP_SYM.
8712         (mempcpy): Do not use BP_SYM in weak_alias.
8713         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8714         "bp-asm.h".
8715         (PARMS): Do not use macros from bp-asm.h.
8716         (DEST): Likewise.
8717         (LEN): Likewise.
8718         [!BZERO_P] (CHR): Likewise.
8719         (memset): Likewise.  Do not use BP_SYM.
8720         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8721         "bp-asm.h".
8722         (PARMS): Do not use macros from bp-asm.h.
8723         (STR2): Likewise.
8724         (strcmp): Do not use BP_SYM.
8725         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8726         "bp-asm.h".
8727         (PARMS): Do not use macros from bp-asm.h.
8728         (STR): Likewise.
8729         (DELIM): Likewise.
8730         [USE_AS_STRTOK_R] (SAVE): Likewise.
8731         (FUNCTION): Likewise.  Do not use BP_SYM.
8732         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8733         aliases.
8734         (strtok_r): Likewise.
8735         (__GI___strtok_r): Likewise.
8736         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8737         (PARMS): Do not use macros from bp-asm.h.
8738         (S): Likewise.
8739         (SIZE): Likewise.
8740         (__mpn_lshift): Do not use BP_SYM.
8741         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8742         (PARMS): Do not use macros from bp-asm.h.
8743         (STR): Likewise.
8744         (CHR): Likewise.
8745         (__memchr): Do not use BP_SYM.
8746         (memchr): Do not use BP_SYM in weak_alias.
8747         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8748         (PARMS): Do not use macros from bp-asm.h.
8749         (BLK2): Likewise.
8750         (LEN): Likewise.
8751         (memcmp): Do not use BP_SYM.
8752         (bcmp): Do not use BP_SYM in weak_alias.
8753         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8754         (PARMS): Do not use macros from bp-asm.h.
8755         (S1): Likewise.
8756         (SIZE): Likewise.
8757         (__mpn_mul_1): Do not use BP_SYM.
8758         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8759         "bp-asm.h".
8760         (PARMS): Do not use macros from bp-asm.h.
8761         (STR): Likewise.
8762         (CHR): Likewise.
8763         (__rawmemchr): Do not use BP_SYM.
8764         (rawmemchr): Do not use BP_SYM in weak_alias.
8765         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8766         (PARMS): Do not use macros from bp-asm.h.
8767         (S): Likewise.
8768         (SIZE): Likewise.
8769         (__mpn_rshift): Do not use BP_SYM.
8770         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8771         (PARMS): Do not use macros from bp-asm.h.
8772         (SIGMSK): Likewise.
8773         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8774         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8775         (_start): Do not use BP_SYM.
8776         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8777         (PARMS): Do not use macros from bp-asm.h.
8778         (DEST): Likewise.
8779         (SRC): Likewise.
8780         (__stpcpy): Likewise.  Do not use BP_SYM.
8781         (stpcpy): Do not use BP_SYM in weak_alias.
8782         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8783         "bp-asm.h".
8784         (PARMS): Do not use macros from bp-asm.h.
8785         (DEST): Likewise.
8786         (SRC): Likewise.
8787         (LEN): Likewise.
8788         (__stpncpy): Likewise.  Do not use BP_SYM.
8789         (stpncpy): Do not use BP_SYM in weak_alias.
8790         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8791         (PARMS): Do not use macros from bp-asm.h.
8792         (STR): Likewise.
8793         (CHR): Likewise.
8794         (strchr): Likewise.  Do not use BP_SYM.
8795         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8796         "bp-asm.h".
8797         (PARMS): Do not use macros from bp-asm.h.
8798         (STR): Likewise.
8799         (CHR): Likewise.
8800         (__strchrnul): Likewise.  Do not use BP_SYM.
8801         (strchrnul): Do not use BP_SYM in weak_alias.
8802         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8803         "bp-asm.h".
8804         (PARMS): Do not use macros from bp-asm.h.
8805         (STOP): Likewise.
8806         (strcspn): Do not use BP_SYM.
8807         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8808         "bp-asm.h".
8809         (PARMS): Do not use macros from bp-asm.h.
8810         (STR): Likewise.
8811         (STOP): Likewise.
8812         (strpbrk): Likewise.  Do not use BP_SYM.
8813         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8814         "bp-asm.h".
8815         (PARMS): Do not use macros from bp-asm.h.
8816         (STR): Likewise.
8817         (CHR): Likewise.
8818         (strrchr): Likewise.  Do not use BP_SYM.
8819         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8820         (PARMS): Do not use macros from bp-asm.h.
8821         (SKIP): Likewise.
8822         (strspn): Do not use BP_SYM.
8823         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8824         (PARMS): Do not use macros from bp-asm.h.
8825         (STR): Likewise.
8826         (DELIM): Likewise.
8827         (SAVE): Likewise.
8828         (FUNCTION): Likewise.  Do not use BP_SYM.
8829         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8830         aliases.
8831         (strtok_r): Likewise.
8832         (__GI___strtok_r): Likewise.
8833         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8834         (PARMS): Do not use macros from bp-asm.h.
8835         (S1): Likewise.
8836         (S2): Likewise.
8837         (SIZE): Likewise.
8838         (__mpn_sub_n): Do not use BP_SYM.
8839         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8840         "bp-asm.h".
8841         (PARMS): Do not use macros from bp-asm.h.
8842         (S1): Likewise.
8843         (SIZE): Likewise.
8844         (__mpn_submul_1): Do not use BP_SYM.
8845         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8846         <bp-sym.h>.
8847         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8848         and <bp-asm.h>.
8849         (PARMS): Do not use macros from bp-asm.h.
8850         (FLAGS): Likewise.
8851         (PTID): Likewise.
8852         (TLS): Likewise.
8853         (CTID): Likewise.
8854         (__clone): Do not use BP_SYM.
8855         (clone): Do not use BP_SYM in weak_alias.
8856         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8857         and <bp-asm.h>.
8858         (PARMS): Do not use macros from bp-asm.h.
8859         (LEN): Likewise.
8860         (__mmap64): Do not use BP_SYM.
8861         (mmap64): Do not use BP_SYM in weak_alias.
8862         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8863         <bp-sym.h> and <bp-asm.h>.
8864         (PARMS): Do not use macros from bp-asm.h.
8865         (__posix_fadvise64_l64): Do not use BP_SYM.
8866         * sysdeps/unix/sysv/linux/i386/semtimedop.S
8867         (PARMS): Do not use macros from bp-asm.h.
8868         (NSOPS): Likewise.
8869         (semtimedop): Do not use BP_SYM.
8870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8871         and <bp-asm.h>.
8873 2013-02-21  Allan McRae  <allan@archlinux.org>
8875         * manual/message.texi (Charset conversion in gettext):
8876         Move @end statement to beginning of line.
8878 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8881         static.
8882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8883         Likewise.
8885         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8886         (denorm): Likewise.
8887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8890 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8892         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8893         tail-call to the resolved function if pltexit isn't needed.
8895 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8898         or Y being zero as being unlikely.
8899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8900         Likewise.
8902 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
8904         * manual/nss.texi (System Databases and Name Service Switch):
8905         Remove frobnicate @pxref.
8907 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8909         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8910         __attribute__ ((unused)) to __attribute__ ((__unused__)).
8912 2013-02-20  Petr Machata  <pmachata@redhat.com>
8914         * elf/elf.h (R_ARM_TARGET1): New macro.
8915         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8916         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8917         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8918         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8919         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8920         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8921         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8922         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8923         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8924         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8925         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8926         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8927         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8928         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8929         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8930         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8931         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8932         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8933         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8934         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8935         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8936         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8937         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8938         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8939         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8940         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8941         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8942         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8943         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8944         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8945         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8946         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8947         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8948         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8949         (R_ARM_THM_GOT_BREL12): Likewise.
8950         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8951         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8952         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8953         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8954         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8955         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8956         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8957         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8958         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8960 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
8962         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8963         __attribute_used__ to __attribute__ ((unused)).
8965 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8967         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8968         powerpc mpa.c.
8969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8970         comment formatting.
8971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8973 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
8975         [BZ #13550]
8976         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8977         Remove macro.
8978         (ENTER): Remove both macro definitions.
8979         (LEAVE): Likewise.
8980         (CHECK_BOUNDS_LOW): Likewise.
8981         (CHECK_BOUNDS_HIGH): Likewise.
8982         (CHECK_BOUNDS_BOTH): Likewise.
8983         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8984         (RETURN_BOUNDED_POINTER): Likewise.
8985         (RETURN_NULL_BOUNDED_POINTER): Likewise.
8986         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8987         (POP_ERRNO_LOCATION_RETURN): Likewise.
8988         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8989         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8990         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8991         macros.
8992         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8993         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8994         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8995         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8996         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8997         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8998         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8999         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9000         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9001         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9002         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9003         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9004         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9005         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9006         removed macros.
9007         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9008         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9009         macros.
9010         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9011         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9012         * sysdeps/i386/i586/memset.S (memset): Likewise.
9013         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9014         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9015         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9016         macros.
9017         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9018         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9019         Change uses of L(2) to L(out).
9020         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9021         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9022         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9023         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9024         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9025         removed macros.
9026         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9027         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9028         macros.
9029         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9030         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9031         (RETURN): Do not use macro LEAVE.
9032         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9033         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9034         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9035         * sysdeps/i386/i686/memset.S (memset): Likewise.
9036         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9037         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9038         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9039         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9040         Likewise.
9041         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9042         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9043         L(1_2) and L(1_3) into L(1).
9044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9045         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9046         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9047         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9048         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9049         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9050         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9051         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9052         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9053         macros.
9054         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9055         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9056         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9057         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9058         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9059         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9060         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9061         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9062         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9063         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9064         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9065         * sysdeps/i386/strspn.S (strspn): Likewise.
9066         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9067         conditional code.
9068         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9069         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9070         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9071         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9072         L(1_3) into L(1_1).
9073         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9074         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9075         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9076         macros.
9077         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9079 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9081         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9082         macro.
9084 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9086         * math/atest-exp.c (exp_mpn): Remove ROUND.
9087         * math/atest-exp2.c (exp_mpn): Likewise.
9088         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9090         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9091         * stdlib/tst-tls-atexit-lib.c: Likewise.
9092         * stdlib/tst-tls-atexit.c: Likewise.
9094 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9096         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9097         and __attribute_alloc_size__.
9099 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9101         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9102         __attribute_alloc_size__.
9103         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9104         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9106 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9108         * include/programs/xmalloc.h: New file.
9109         * catgets/gencat.c: Include it.
9110         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9111         * elf/pldd.c: Likewise.
9112         * iconv/iconv_charmap.c: Likewise.
9113         * iconv/iconvconfig.c: Likewise.
9114         * iconv/strtab.c: Likewise.
9115         * locale/programs/locale.c: Likewise.
9116         * locale/programs/localedef.h: Likewise.
9117         * locale/programs/simple-hash.c: Likewise.
9118         * nscd/nscd.h: Likewise.
9119         * nss/makedb.c: Likewise.
9120         * sysdeps/generic/ldconfig.h: Likewise.
9122 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9124         * Versions.def: Add GLIBC_2.18.
9125         * include/link.h (struct link_map): New member l_tls_dtor_count.
9126         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9127         (__call_tls_dtors): Likewise.
9128         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9129         __cxa_thread_atexit_impl.
9130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9131         Likewise.
9132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9133         Likewise.
9134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9135         Likewise.
9136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9137         Likewise.
9138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9142         Likewise.
9143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9145         Likewise.
9146         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9147         (tests): Add test case tst-tls-atexit.
9148         (modules-names): Add shared library for tst-tls-atexit.
9149         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9150         (GLIBC_PRIVATE): Add __call_tls_dtors.
9151         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9152         for libstdc++.
9153         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9154         * stdlib/tst-tls-atexit.c: New test case.
9155         * stdlib/tst-tls-atexit-lib.c: New test case.
9157         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9159         * elf/Versions (ld): Add _dl_find_dso_for_object.
9160         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9161         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9162         (dl_open_worker): Use _dl_find_dso_for_object.
9163         * elf/dl-sym.c (do_sym): Likewise.
9164         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9166 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9168         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9169         Syntactic changes only.
9170         (_dl_runtime_profile): Do a tail-call to the resolved function.
9172 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9174         [BZ #13550]
9175         * sysdeps/x86_64/bp-asm.h: Remove file.
9176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9177         <bp-sym.h> and <bp-asm.h>.
9178         (__clone): Do not use BP_SYM.
9179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9180         <bp-sym.h> and <bp-asm.h>.
9181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9182         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9183         "bp-asm.h".
9184         (_setjmp): Do not use BP_SYM.
9185         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9186         "bp-asm.h".
9187         (setjmp): Do not use BP_SYM.
9188         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9189         libc_hidden_def.
9190         (mempcpy): Do not use BP_SYM in weak_alias.
9191         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9192         "bp-asm.h".
9193         (strchr): Do not use BP_SYM.
9194         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9195         "bp-asm.h".
9196         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9197         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9198         (_start): Do not use BP_SYM.
9199         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9200         "bp-asm.h".
9201         (strcat): Do not use BP_SYM.
9202         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9203         "bp-asm.h".
9204         (STRCMP): Do not use BP_SYM.
9205         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9206         "bp-asm.h".
9207         (STRCPY): Do not use BP_SYM.
9208         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9209         "bp-asm.h".
9210         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9211         "bp-asm.h".
9212         (FUNCTION): Do not use BP_SYM.
9213         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9214         weak_alias.
9215         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9217 2013-02-17  Andreas Jaeger  <aj@suse.de>
9219         * time/Versions: Sort entries.
9220         * string/Versions: Likewise.
9221         * resolv/Versions: Likewise.
9222         * posix/Versions: Likewise.
9223         * iconv/Versions: Likewise.
9224         * elf/Versions: Likewise.
9225         * wcsmbs/Versions: Likewise.
9227 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9229         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9230         loop termination condition.
9232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9233         variable to calculate EZ.
9234         (__sqr): Likewise.
9236         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9237         the lower precision input.
9239 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9241         [BZ #13550]
9242         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9243         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9244         (run-via-rtld-prefix): Do not handle %-bp tests.
9245         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9246         (all-object-suffixes): Remove .ob.
9247         (bppfx): Remove variable.
9248         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9249         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9250         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9251         [$(build-bounded) = yes] (libtype.ob): Likewise.
9252         * Makerules (elide-routines.ob): Remove variable.
9253         (do-tests-clean): Do not handle *-bp.out.
9254         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9255         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9256         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9257         (tests): Do not include $(tests-bp.out).
9258         (xtests): Do not include $(xtests-bp.out).
9259         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9260         [$(build-bounded) = yes] ($(addprefix
9261         $(objpfx),$(binaries-bounded))): Remove rule.
9262         ($(objpfx)%-bp.out): Remove rule.
9263         * config.make.in (build-bounded): Remove variable.
9264         * crypt/Makefile [$(build-bounded) = yes]
9265         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9266         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9267         append to variable.
9268         [$(build-bounded) = yes] (install-lib): Likewise.
9269         [$(build-bounded) = yes] (generated): Likewise.
9270         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9271         Remove rule.
9272         * intl/Makefile [$(build-bounded) = yes]
9273         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9274         * math/Makefile [$(build-bounded) = yes]
9275         ($(tests:%=$(objpfx)%-bp): Likewise.
9276         * misc/Makefile [$(build-bounded) = yes]
9277         ($(objpfx)tst-tsearch-bp): Likewise.
9278         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9279         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9280         Remove dependency.
9281         * string/Makefile (o-objects.ob): Remove variable.
9282         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9283         (CFLAGS-.ob): Remove variable.
9284         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9285         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9286         both definitions of variable.
9287         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9288         (ASFLAGS-.ob): Remove variable.
9290 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9292         [BZ #13550]
9293         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9294         Remove __BOUNDED_POINTERS__ from condition.
9295         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9296         * string/bits/string2.h [!__NO_STRING_INLINES &&
9297         !__BOUNDED_POINTERS__]: Likewise.
9298         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9299         Likewise.
9300         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9301         Remove conditional code.
9302         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9303         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9304         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9305         condition.
9307         [BZ #13550]
9308         * csu/libc-start.c: Do not include <bp-sym.h>.
9309         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9310         * elf/dl-open.c: Do not include <bp-sym.h>.
9311         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9312         * math/fegetenv.c: Do not include <bp-sym.h>.
9313         (fegetenv): Do not use BP_SYM in versioned symbols.
9314         * nptl/sysdeps/pthread/bits/libc-lockP.h
9315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9316         <bp-sym.h>.
9317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9318         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9320         (__pthread_mutex_destroy): Likewise.
9321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9322         (__pthread_mutex_lock): Likewise.
9323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9324         (__pthread_mutex_trylock): Likewise.
9325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9326         (__pthread_mutex_unlock): Likewise.
9327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9328         (__pthread_mutexattr_init): Likewise.
9329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9330         (__pthread_mutexattr_destroy): Likewise.
9331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9332         (__pthread_mutexattr_settype): Likewise.
9333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9334         (__pthread_rwlock_init): Likewise.
9335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9336         (__pthread_rwlock_destroy): Likewise.
9337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9338         (__pthread_rwlock_rdlock): Likewise.
9339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9340         (__pthread_rwlock_tryrdlock): Likewise.
9341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9342         (__pthread_rwlock_wrlock): Likewise.
9343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9344         (__pthread_rwlock_trywrlock): Likewise.
9345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9346         (__pthread_rwlock_unlock): Likewise.
9347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9348         (__pthread_key_create): Likewise.
9349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9350         (__pthread_setspecific): Likewise.
9351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9352         (__pthread_getspecific): Likewise.
9353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9354         Likewise.
9355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9356         (_pthread_cleanup_push_defer): Likewise.
9357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9358         (_pthread_cleanup_pop_restore): Likewise.
9359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9360         (pthread_setcancelstate): Likewise.
9361         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9362         <bp-sym.h>.
9363         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9364         (memchr): Do not use BP_SYM in weak_alias.
9365         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9366         (fegetenv): Do not use BP_SYM in versioned symbols.
9367         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9368         (fesetenv): Do not use BP_SYM in versioned symbols.
9369         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9370         (feupdateenv): Do not use BP_SYM in versioned symbols.
9371         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9372         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9373         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9374         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9375         (open64): Do not use BP_SYM in weak_alias.
9376         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9377         (fegetenv): Do not use BP_SYM in versioned symbols.
9378         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9379         (fesetenv): Do not use BP_SYM in versioned symbols.
9380         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9381         (feupdateenv): Do not use BP_SYM in versioned symbols.
9382         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9383         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9384         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9385         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9386         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9387         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9388         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9389         <bp-sym.h>.
9390         (__libc_start_main): Do not use BP_SYM.
9392 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9395         redundant return line.
9396         (norm): Likewise.
9397         (denorm): Likewise.
9398         (dbl_mp): Likewise.
9399         (sub_magnitudes): Likewise.
9400         (__add): Likewise.
9401         (__sub): Likewise.
9402         (__mul): Likewise.
9403         (__inv): Likewise.
9404         (__dvd): Likewise.
9405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9406         (norm): Likewise.
9407         (denorm): Likewise.
9408         (dbl_mp): Likewise.
9409         (sub_magnitudes): Likewise.
9410         (__add): Likewise.
9411         (__sub): Likewise.
9412         (__mul): Likewise.
9413         (__inv): Likewise.
9414         (__dvd): Likewise.
9416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9417         instead of __mul.
9418         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9419         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9420         (cc32): Likewise.
9422         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9423         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9425         of __mul for squares.
9426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9427         function
9428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9429         Likewise.
9430         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9431         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9433 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9435         [BZ #13550]
9436         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9437         code.
9438         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9439         prototype or function definition.  Rename ubp_* variables and
9440         parameters.  Remove argv definitions conditional on
9441         [__BOUNDED_POINTERS__].
9442         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9443         * elf/dl-runtime.c (_dl_fixup): Likewise.
9444         * include/set-hooks.h (RUN_HOOK): Likewise.
9445         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9446         definition.
9447         * string/strcpy.c (strcpy): Do not use __unbounded.
9448         * sysdeps/generic/frame.h (struct layout): Likewise.
9449         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9450         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9451         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9452         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9453         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9454         (__backtrace): Likewise.
9455         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9456         use __ptrvalue.
9457         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9458         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9459         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9460         Likewise.
9461         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9462         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9463         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9464         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9465         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9466         Do not use __unbounded.
9467         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9468         Rename __unboundedrlimits parameter to rlimits in prototype.
9469         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9470         Do not use __unbounded.
9471         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9472         not use __ptrvalue.
9473         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9474         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9475         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9476         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9477         __ptrvalue or __unbounded.
9478         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9479         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9480         use __unbounded.
9481         (__new_msgctl): Do not use __ptrvalue.
9482         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9483         __unbounded.
9484         (__libc_msgrcv): Do not use __ptrvalue.
9485         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9486         startup_info): Do not use __unbounded.
9487         (__libc_start_main): Likewise.  Rename ubp_* variables and
9488         parameters.  Remove argv definitions conditional on
9489         [__BOUNDED_POINTERS__].
9490         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9491         __ptrvalue.
9492         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9493         use __unbounded.
9494         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9495         or __ptrvalue.
9496         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9497         use __unbounded.
9498         (__new_shmctl): Do not use __ptrvalue.
9499         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9500         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9501         Likewise.
9502         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9504         (__libc_sigaction): Likewise.
9505         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9506         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9507         Likewise.
9508         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9510 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9512         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9514         * string/mempcpy.c: Implement by calling memcpy.
9516 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9521         evaluation.
9523         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9524         values in the mantissa.
9526         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9527         minimize writes to Z.
9528         (sub_magnitudes): Simplify code a bit.
9530 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9532         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9533         from the message.  The linker prefixes all warnings with that already.
9535 2013-02-12  Andreas Schwab  <schwab@suse.de>
9537         [BZ #15078]
9538         * posix/regexec.c (extend_buffers): Add parameter min_len.
9539         (check_matching): Pass minimum needed length.
9540         (clean_state_log_if_needed): Likewise.
9541         (get_subexp): Likewise.
9542         * posix/Makefile (tests): Add bug-regex34.
9543         (bug-regex34-ENV): Define.
9544         * posix/bug-regex34.c: New file.
9546         [BZ #11561]
9547         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9548         elements compare against the byte sequence of it, not its name.
9549         * posix/Makefile (tests): Add bug-regex35.
9550         (bug-regex35-ENV): Define.
9551         * posix/bug-regex35.c: New file.
9553 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9555         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9556         comment.
9557         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9558         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9559         (CHECK_EOL): Add undef.
9561 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9563         * bits/stdlib-bsearch.h: New file.
9564         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9565         * stdlib/stdlib.h: Likewise.
9567 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9569         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9570         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9571         declaration.
9572         * manual/search.texi (Array Search Function): Add missing const in
9573         lfind prototype.
9574         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9575         declaration to use rlim_t.
9576         (Basic Scheduling Functions): Remove erroneous const from
9577         sched_getparam prototype.  Remove erroneous * from
9578         sched_get_priority_max and sched_get_priority_min prototypes.
9579         (Resource Usage): Fix summary @comment on vtimes to refer to
9580         sys/vtimes.h rather than vtimes.h.
9581         Add missing *s in vtimes prototype.
9582         (Limits on Resources): Fix ulimit prototype to return long int.
9583         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9584         prototypes to use long int rather than double.
9585         (BSD Random): Fix initstate and setstate to use char *, not void *.
9586         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9587         prototype to make second argument 'struct aiocb64 *const[]'.
9588         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9589         (Status of AIO Operations): Remove erroneous const in aio_return and
9590         aio_return64 prototypes.
9591         (Synchronizing I/O): Fix sync prototype to return void.
9592         * manual/startup.texi (Suboptions): Remove an erroneous const in
9593         getsubopt prototype.
9594         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9595         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9596         use size_t rather than int.
9597         (Scanning All Users): Likewise for getpwent_r.
9598         (Setting Groups): Add missing const to setgroups prototype.
9599         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9600         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9601         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9602         'const void *' rather than 'const char *'.
9603         (Host Address Functions): Likewise for inet_ntop.
9604         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9605         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9606         ssize_t for return value.
9607         (Sending Data): Likewise for send, sendto, sendmsg.
9608         (Socket Option Functions): Add a missing const in setsockopt prototype.
9609         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9610         use wchar_t for the argument.
9611         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9612         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9613         take no arguments.
9614         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9615         double/float/long double for second argument.
9616         Fix return types of significand, significandf, significandl.
9617         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9618         argument in fchmod prototype.
9619         (File Owner): Use uid_t and gid_t in fchown prototype.
9620         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9621         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9622         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9623         use 'const struct dirent **' as argument types to CMP function pointer
9624         argument.
9625         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9626         (File Times): Fix summary magic @comment for struct utimbuf and utime
9627         to refer to utime.h, not time.h.
9628         * manual/string.texi (Argz Functions): Add missing const in
9629         argz_extract and argz_next prototypes.
9630         (Finding Tokens in a String): Likewise for basename.
9631         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9632         (Copying and Concatenation): Fix typo in wmemmove prototype.
9633         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9634         (Signal Stack): Remove erroneous const in sigstack prototype.
9635         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9636         prototype.
9637         (Simple Calendar Time): Likewise for stime.
9638         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9639         prototype.
9640         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9641         say sys/sysctl.h instead.
9642         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9643         and vsyslog prototypes.
9645 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9647         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9648         Remove.
9650 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9652         * misc/sys/mman.h: Fix typo in mremap comment.
9654 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9656         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9657         the '\0' terminator.
9659 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9661         [BZ #13550]
9662         * debug/segfault.c: Don't include <bp-checks.h>.
9663         * sysdeps/generic/bp-checks.h: Remove file.
9664         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9665         (__GETDENTS): Don't use CHECK_N.
9666         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9667         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9668         (__getgroups): Don't use CHECK_N.
9669         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9670         (setgroups): Don't use CHECK_N.
9671         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9672         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9673         (__libc_msgrcv): Don't use CHECK_N.
9674         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9675         (__libc_msgsnd): Don't use CHECK_N.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9677         <bp-checks.h>.
9678         (__libc_pread): Don't use CHECK_N.
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9680         include <bp-checks.h>.
9681         (__libc_pread64): Don't use CHECK_N.
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9683         include <bp-checks.h>.
9684         (__libc_pwrite): Don't use CHECK_N.
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9686         include <bp-checks.h>.
9687         (__libc_pwrite64): Don't use CHECK_N.
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9689         <bp-checks.h>.
9690         (__libc_pread): Don't use CHECK_N.
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9692         include <bp-checks.h>.
9693         (__libc_pread64): Don't use CHECK_N.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9695         include <bp-checks.h>.
9696         (__libc_pwrite): Don't use CHECK_N.
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9698         include <bp-checks.h>.
9699         (__libc_pwrite64): Don't use CHECK_N.
9700         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9701         (do_pread): Don't use CHECK_N.
9702         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9703         (do_pread64): Don't use CHECK_N.
9704         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9705         (do_pwrite): Don't use CHECK_N.
9706         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9707         (do_pwrite64): Don't use CHECK_N.
9708         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9709         (__libc_readv): Don't use CHECK_N.
9710         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9711         (semop): Don't use CHECK_N.
9712         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9713         <bp-checks.h>.
9714         (semtimedop): Don't use CHECK_N.
9715         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9716         (__libc_pread): Don't use CHECK_N.
9717         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9718         <bp-checks.h>.
9719         (__libc_pread64): Don't use CHECK_N.
9720         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9721         <bp-checks.h>.
9722         (__libc_pwrite): Don't use CHECK_N.
9723         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9724         <bp-checks.h>.
9725         (__libc_pwrite64): Don't use CHECK_N.
9726         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9727         <bp-checks.h>.
9728         (__libc_msgrcv): Don't use CHECK_N.
9729         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9730         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9731         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9732         (__libc_writev): Don't use CHECK_N.
9734 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9736         * string/strcpy.c: Removed unused variable.
9738         * Makeconfig (+sysdep-includes): Define with := rather than =.
9739         Use an existing include/ subdir of each sysdeps dir before it.
9741 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9743         * nscd/connection.c (register_traced_file): Comment function.
9744         [HAVE_INOTIFY] (union __inev): Define.
9745         [HAVE_INOTIFY] (inotify_check_files): New function.
9746         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9747         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9748         clear_db_cache.
9749         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9751 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9753         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9754         loaded if not already and that a failure is permanent.
9756 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9758         [BZ #15006]
9759         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9760         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9762 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9764         [BZ #13550]
9765         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9766         (CHECK_1_NULL_OK): Likewise.
9767         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9768         (__fxstat): Do not use CHECK_1.
9769         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9770         <bp-checks.h>.
9771         (___fxstat64): Do not use CHECK_1.
9772         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9773         <bp-checks.h>.
9774         (__fxstatat): Do not use CHECK_1.
9775         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9776         <bp-checks.h>.
9777         (__fxstatat64): Do not use CHECK_1.
9778         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9779         <bp-checks.h>.
9780         (__fxstat): Do not use CHECK_1.
9781         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9782         <bp-checks.h>.
9783         (__fxstatat): Do not use CHECK_1.
9784         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9785         <bp-checks.h>.
9786         (__getresgid): Do not use CHECK_1.
9787         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9788         <bp-checks.h>.
9789         (__getresuid): Do not use CHECK_1.
9790         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9791         <bp-checks.h>.
9792         (__lxstat): Do not use CHECK_1.
9793         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9794         <bp-checks.h>.
9795         (__old_msgctl): Do not use CHECK_1.
9796         (__new_msgctl): Likewise.
9797         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9798         <bp-checks.h>.
9799         (__new_setrlimit): Do not use CHECK_1.
9800         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9801         <bp-checks.h>.
9802         (__old_shmctl): Do not use CHECK_1.
9803         (__new_shmctl): Likewise.
9804         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9805         <bp-checks.h>.
9806         (__xstat): Do not use CHECK_1.
9807         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9808         (__lxstat): Do not use CHECK_1.
9809         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9810         <bp-checks.h>.
9811         (___lxstat64): Do not use CHECK_1.
9812         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9813         (__old_msgctl): Do not use CHECK_1.
9814         (__new_msgctl): Likewise.
9815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9816         <bp-checks.h>.
9817         (__gettimeofday): Do not use CHECK_1.
9818         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9819         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9820         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9821         <bp-checks.h>.
9822         (__gettimeofday): Do not use CHECK_1.
9823         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9824         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9825         (__new_shmctl): Do not use CHECK_1.
9826         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9827         <bp-checks.h>.
9828         (do_sigtimedwait): Do not use CHECK_1.
9829         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9830         <bp-checks.h>.
9831         (do_sigwaitinfo): Do not use CHECK_1.
9832         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9833         <bp-checks.h>.
9834         (msgctl): Do not use CHECK_1.
9835         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9836         <bp-checks.h>.
9837         (shmctl): Do not use CHECK_1.
9838         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9839         (ustat): Do not use CHECK_1.
9840         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9841         <bp-checks.h>.
9842         (__fxstat): Do not use CHECK_1.
9843         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9844         <bp-checks.h>.
9845         (__fxstatat): Do not use CHECK_1.
9846         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9847         <bp-checks.h>.
9848         (__lxstat): Do not use CHECK_1.
9849         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9850         <bp-checks.h>.
9851         (__xstat): Do not use CHECK_1.
9852         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9853         (__xstat): Do not use CHECK_1.
9854         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9855         (___xstat64): Do not use CHECK_1.
9857         [BZ #13550]
9858         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9859         definitions.
9860         (CHECK_BOUNDS_HIGH): Likewise.
9861         * string/strcpy.c: Do not include <bp-checks.h>.
9862         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9864 2013-02-07  Roland McGrath  <roland@hack.frob.com>
9866         * nscd/nscd-client.h (__nscd_drop_map_ref):
9867         Add __attribute__ ((unused)).
9868         * nis/nss-nisplus.h (niserr2nss): Likewise.
9870         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9871         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9873         * csu/libc-tls.c (init_static_tls, init_slotinfo):
9874         Remove inline keyword.
9875         * include/rounding-mode.h (round_away): Likewise.
9876         * libio/wfileops.c (adjust_wide_data): Likewise.
9877         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9878         (__m128i_strloadu_tolower): Likewise.
9879         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9880         (__m128i_strloadu_tolower): Likewise.
9881         * time/mktime.c (ydhms_diff): Likewise.
9882         * locale/elem-hash.h (elem_hash): Likewise.
9883         * locale/setlocale.c (setdata): Likewise.
9884         * posix/regex_internal.h (re_string_char_size_at): Likewise.
9885         (re_string_wchar_at): Likewise.
9886         (bitset_not, bitset_merge, bitset_mask): Likewise.
9887         [!(__GNUC__ > 3)] (inline): Remove macro.
9888         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9889         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9890         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9891         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9892         * string/memcmp.c (memcmp_bytes): Likewise.
9893         * locale/programs/locarchive.c (compute_hashval): Likewise.
9894         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9895         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9896         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9897         * nss/getent.c (print_rpc, print_protocols): Likewise.
9898         (print_passwd, print_group, print_aliases): Likewise.
9899         * nis/nss-nisplus.h (niserr2nss): Likewise.
9900         * nscd/connections.c (restart_p): Likewise.
9901         Change return type to bool.
9903 2013-02-05  Roland McGrath  <roland@hack.frob.com>
9905         * Makeconfig (all-Depend-files): Add existing
9906         $(sorted-subdirs:=/Depend) files.
9907         (all-subdirs): Remove nss.
9908         * sysdeps/unix/inet/Subdirs: Add it here instead.
9909         * hesiod/Depend: New file.
9911         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9912         instead of calling alloca.
9914         * io/lseek.c (__lseek): Rename to __libc_lseek.
9915         Define __lseek as an alias.
9917         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9919 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
9921         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9922         else clause and remove check for non-standard endianness.
9924 2013-02-04  David S. Miller  <davem@davemloft.net>
9926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9928 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
9930         [BZ #13550]
9931         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9932         (__ubp_memchr): Remove prototype.
9933         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9934         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9935         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9936         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9937         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9938         Remove alias.
9939         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9940         (__ubp_memchr): Likewise.
9941         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9942         (__ubp_memchr): Likewise.
9943         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9944         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9945         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9946         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9947         CHECK_STRING.
9948         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9949         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9950         (__getcwd): Do not use CHECK_STRING.
9951         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9952         <bp-checks.h>.
9953         (__real_chown): Do not use CHECK_STRING.
9954         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9955         <bp-checks.h>.
9956         (fchownat): Do not use CHECK_STRING.
9957         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9958         CHECK_STRING.
9959         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9960         <bp-checks.h>.
9961         (__lchown): Do not use CHECK_STRING.
9962         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9963         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9964         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9965         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9967         include <bp-checks.h>.
9968         (truncate64): Do not use CHECK_STRING.
9969         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9970         <bp-checks.h>.
9971         (__real_chown): Do not use CHECK_STRING.
9972         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9973         <bp-checks.h>.
9974         (__lchown): Do not use CHECK_STRING.
9975         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9976         <bp-checks.h>.
9977         (__chown): Do not use CHECK_STRING.
9978         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9979         <bp-checks.h>.
9980         (truncate64): Do not use CHECK_STRING.
9981         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9982         Likewise.
9983         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9984         (__xmknod): Do not use CHECK_STRING.
9985         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9986         <bp-checks.h>.
9987         (__xmknodat): Do not use CHECK_STRING.
9988         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9989         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9991 2013-02-04  Andreas Schwab  <schwab@suse.de>
9993         [BZ #14142]
9994         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9995         * include/netdb.h: Likewise for h_errno.
9996         * elf/tst-stackguard1.c: Include <tls.h>.
9998 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10000         * elf/link.h (struct link_map): Extend the l_addr comment.
10001         * include/link.h (struct link_map): Likewise.
10003 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10005         [BZ #13550]
10006         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10007         (BOUNDED_1): Remove macro.
10008         * debug/backtrace.c: Don't include <bp-checks.h>.
10009         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10010         (__backtrace): Likewise.
10011         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10012         <bp-checks.h>.
10013         (__backtrace): Don't use BOUNDED_1.
10014         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10015         <bp-checks.h>.
10016         (__backtrace): Don't use BOUNDED_1.
10017         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10018         (__backtrace): Don't use BOUNDED_1.
10019         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10020         (shmat): Don't use BOUNDED_N.
10022 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10024         [BZ #13550]
10025         * sysdeps/generic/bp-start.h: Remove file.
10026         * csu/libc-start.c: Don't include <bp-start.h>.
10027         (LIBC_START_MAIN): Set up __environ directly instead of using
10028         INIT_ARGV_and_ENVIRON.
10029         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10030         <bp-start.h>.
10032         [BZ #13550]
10033         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10034         definitions.
10035         (CHECK_FCNTL): Likewise.
10036         (CHECK_N_PAGES): Likewise.
10038         [BZ #13550]
10039         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10040         definitions.
10041         (CHECK_SIGSET_NULL_OK): Likewise.
10042         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10043         <bp-checks.h>.
10044         (sigpending): Don't use CHECK_SIGSET.
10045         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10046         <bp-checks.h>.
10047         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10048         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10049         <bp-checks.h>.
10050         (do_sigsuspend): Don't use CHECK_SIGSET.
10051         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10052         use CHECK_SIGSET.
10053         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10054         (do_sigwait): Don't use CHECK_SIGSET.
10055         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10056         use CHECK_SIGSET.
10057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10058         include <bp-checks.h>.
10059         (sigpending): Don't use CHECK_SIGSET.
10060         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10061         include <bp-checks.h>.
10062         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10063         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10064         <bp-checks.h>.
10065         (sigpending): Don't use CHECK_SIGSET.
10066         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10067         <bp-checks.h>.
10068         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10070         [BZ #13550]
10071         * sysdeps/generic/bp-semctl.h: Remove file.
10072         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10073         <bp-checks.h> and <bp-semctl.h>.
10074         (__old_semctl): Don't use CHECK_SEMCTL.
10075         (__new_semctl): Likewise.
10076         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10077         and <bp-semctl.h>.
10078         (__old_semctl): Don't use CHECK_SEMCTL.
10079         (__new_semctl): Likewise.
10080         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10081         <bp-checks.h> and <bp-semctl.h>.
10082         (__old_semctl): Don't use CHECK_SEMCTL.
10083         (__new_semctl): Likewise.
10084         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10085         <bp-checks.h> and <bp-semctl.h>.
10086         (semctl): Don't use CHECK_SEMCTL.
10088         [BZ #13550]
10089         * Makerules (elide-bp-thunks): Remove variable.
10090         (elide-routines.oS): Don't use $(elide-bp-thunks).
10091         (elide-routines.os): Likewise.
10092         (elide-routines.o): Likewise.
10093         (elide-routines.op): Likewise.
10094         (elide-routines.og): Likewise.
10095         (objects): Don't use $(bp-thunks).
10096         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10097         include.
10098         (common-generated): Do not add s-proto-bp.d.
10099         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10100         (int): Likewise.
10101         (typ): Likewise.
10102         Do not generate makefile rules for bounded-pointer thunks.
10103         * sysdeps/generic/bp-thunks.h: Remove file.
10104         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10105         * sysdeps/unix/s-proto-bp.S: Likewise.
10107         [BZ #15062]
10108         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10109         parts of result separately when argument is not close to line from
10110         -i to i and one part of argument is small.
10111         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10112         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10113         * math/libm-test.inc (cacos_test): Add more tests.
10114         (casin_test): Likewise.
10115         (casinh_test): Likewise.
10116         * sysdeps/i386/fpu/libm-test-ulps: Update.
10117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10119 2013-01-31  David S. Miller  <davem@davemloft.net>
10121         * po/de.po: Update from translation team.
10123 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10125         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10127 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10129         * configure.in (_AC_PROG_CC_C89): New definition.
10130         * configure: Regenerate.
10132         * configure.in (AC_PROG_CPP): New definition.
10133         * configure: Regenerate.
10135 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10137         * debug/tst-backtrace.h: New file.
10138         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10139         (ret): Remove variable.
10140         (x): Likewise.
10141         (FAIL): Remove macro.
10142         (NO_INLINE): Likewise.
10143         (fn1): Use match function instead of strstr.
10144         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10145         (ret): Remove variable.
10146         (x): Likewise.
10147         (FAIL): Remove macro.
10148         (NO_INLINE): Likewise.
10149         (fn): Use match function instead of strstr.
10150         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10151         (ret): Remove variable.
10152         (x): Likewise.
10153         (FAIL): Remove macro.
10154         (NO_INLINE): Likewise.
10155         (handle_signal): Use match function instead of strstr.
10156         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10157         (ret): Remove variable.
10158         (x): Likewise.
10159         (FAIL): Remove macro.
10160         (NO_INLINE): Likewise.
10161         (handle_signal): Use match function instead of strstr.
10163 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10165         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10167 2013-01-23  David S. Miller  <davem@davemloft.net>
10169         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10170         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10171         argument of CAS if possible.
10172         * sysdeps/sparc/sparc64/bits/atomic.h
10173         (__arch_compare_and_exchange_val_32_acq): Likewise.
10174         (__arch_compare_and_exchange_val_64_acq): Likewise.
10176 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10178         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10179         * sysdeps/posix/ulimit.c: ... this.
10180         Include <limits.h>.
10181         * sysdeps/unix/bsd/ulimit.c: Remove file.
10183 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10185         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10186         (LDFLAGS-tst-array5): Likewise.
10188 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10190         [BZ #15036]
10191         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10192         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10193         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10194         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10196 2013-01-21  David S. Miller  <davem@davemloft.net>
10198         * sysdeps/sparc/backtrace.c: New file.
10199         * sysdeps/sparc/sparc32/backtrace.h: New file.
10200         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10201         * sysdeps/sparc/sparc64/backtrace.h: New file.
10202         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10203         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10204         -funwind-tables.
10206 2013-01-21  Andreas Schwab  <schwab@suse.de>
10208         [BZ #15020]
10209         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10210         closed its stdout.
10212 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10215         "mpa2.h".
10216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10218 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10219             Mark Mitchell  <mark@codesourcery.com>
10220             Tom de Vries  <tom@codesourcery.com>
10221             Paul Pluzhnikov  <ppluzhnikov@google.com>
10223         * debug/tst-backtrace2.c: New file.
10224         * debug/tst-backtrace3.c: Likewise.
10225         * debug/tst-backtrace4.c: Likewise.
10226         * debug/tst-backtrace5.c: Likewise.
10227         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10228         (CFLAGS-tst-backtrace3.c): Likewise.
10229         (CFLAGS-tst-backtrace4.c): Likewise.
10230         (CFLAGS-tst-backtrace5.c): Likewise.
10231         (LDFLAGS-tst-backtrace2): Likewise.
10232         (LDFLAGS-tst-backtrace3): Likewise.
10233         (LDFLAGS-tst-backtrace4): Likewise.
10234         (LDFLAGS-tst-backtrace5): Likewise.
10235         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10236         tst-backtrace4 and tst-backtrace5.
10238 2013-01-18  Anton Blanchard  <anton@samba.org>
10239             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10241         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10242         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10243         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10244         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10246         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10247         "+r" and remove output regs list as redundant.  Add explicit inline
10248         asm to specify register of return val to work around compiler codegen
10249         bug.  Remove (int) cast on return value.  Add return type parameter to
10250         use in macro so that this macro does not truncate return value for
10251         64-bit values.
10252         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10253         pass to INTERNAL_VSYSCALL_NCS.
10254         (INLINE_VSYSCALL): Add 'long int' as return type to
10255         INTERNAL_VSYSCALL_NCS macro invocation.
10256         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10257         INTERNAL_VSYSCALL_NCS macro invocation.
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10260 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10262         [BZ #14496]
10263         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10264         Fix application of SIMD FP exception mask.
10266         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10267         mp_no from a power of two.
10268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10269         __mpexp_twomm1.  Use __pow_mp.
10271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10272         multiplication.
10274 2013-01-17  David S. Miller  <davem@davemloft.net>
10276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10278 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10280         [BZ #15023]
10281         * include/complex.h: Condition contents on [!_COMPLEX_H].
10282         (__kernel_casinhf): New prototype.
10283         (__kernel_casinh): Likewise.
10284         (__kernel_casinhl): Likewise.
10285         * math/Makefile (libm_calls): Add k_casinh.
10286         * math/k_casinh.c: New file.
10287         * math/k_casinhf.c: Likewise.
10288         * math/k_casinhl.c: Likewise.
10289         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10290         finite nonzero arguments.
10291         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10292         finite nonzero arguments.
10293         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10294         finite nonzero arguments.
10295         * math/s_casinh.c: Do not include <float.h>.
10296         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10297         * math/s_casinhf.c: Do not include <float.h>.
10298         (__casinhf): Move code for finite nonzero arguments to
10299         k_casinhf.c.
10300         * math/s_casinhl.c: Do not include <float.h>.
10301         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10302         redefine.
10303         (__casinhl): Move code for finite nonzero arguments to
10304         k_casinhl.c.
10305         * math/libm-test.inc (cacos_test): Add more tests.
10306         * sysdeps/i386/fpu/libm-test-ulps: Update.
10307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10309 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10311         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10312         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10313         [!HAVE_MREMAP]: Remove [defined linux] case.
10314         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10316 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10318         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10320 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10322         * elf/elf.h (R_386_SIZE32): New relocation.
10323         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10324         R_386_SIZE32.
10325         (elf_machine_rela): Likewise.
10326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10327         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10329 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10331         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10332         (FP_FAST_FMA): Do not define.
10333         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10334         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10335         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10336         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10337         !_SOFT_FLOAT]: Likewise.
10338         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10339         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10340         value.
10341         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10342         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10343         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10344         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10345         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10346         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10347         file.
10349 2013-01-16  Andreas Schwab  <schwab@suse.de>
10351         [BZ #14327]
10352         * include/stdlib.h (__mktemp): Add declaration.
10353         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10354         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10356 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10358         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10359         definitions.
10360         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10361         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10362         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10363         definitions here.
10364         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10365         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10366         definitions.
10367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10368         and ONE.
10369         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10370         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10371         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10372         definitions.
10373         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10374         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10375         definitions.
10376         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10378         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10380 2013-01-15  David S. Miller  <davem@davemloft.net>
10382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10383         trunc{,f} to libm-sysdep_routes.
10384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10386         file.
10387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10389         file.
10390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10391         file.
10392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10394         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10395         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10396         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10397         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10398         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10399         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10402         nearbyint{,f} to libm-sysdep_routes.
10403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10405         New file.
10406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10407         file.
10408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10409         New file.
10410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10411         file.
10412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10414         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10415         file.
10416         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10417         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10418         file.
10419         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10420         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10421         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10423         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10424         libc_feholdexcept and libc_fesetenv.
10426 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10428         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10430 2013-01-14  David S. Miller  <davem@davemloft.net>
10432         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10433         (SPARC_ASM_VIS2_IFUNC): Likewise.
10434         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10436         use of 'siam' instruction.
10437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10438         Likewise.
10439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10440         Likewise.
10441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10442         Likewise.
10443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10448         file.
10449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10450         file.
10451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10452         file.
10453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10454         file.
10455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10460         new VIS2 routines.
10461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10464         Likewise.
10465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10470         routines to libm-sysdep_routines.
10471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10474         fdim/fdimf to libm-sysdep_routines.
10475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10476         file.
10477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10479         file.
10480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10483         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10484         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10485         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10486         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10488 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10491         to optimize copies.
10493         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10495         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10498         local variable MPTWO.
10499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10500         Likewise.
10502 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10504         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10505         GLOB_NOESCAPE.
10507 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10509         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10511 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10513         * manual/pattern.texi (glob_t): Document gl_flags.
10514         (glob64_t): Likewise.
10516 2013-01-11  David S. Miller  <davem@davemloft.net>
10518         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10519         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10520         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10521         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10522         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10523         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10524         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10525         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10526         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10527         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10528         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10529         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10530         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10532         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10533         sparc V9 rather than using V8 code.
10534         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10535         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10537         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10538         Move to...
10539         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10540         Here.
10542 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10544         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10545         not in the main loop.
10546         * configure: Regenerated.
10548 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10550         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10551         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10552         to just #else.
10553         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10554         [!__GLIBC_HAVE_LONG_LONG] case.
10555         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10556         condition to just #else.
10557         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10558         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10559         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10560         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10561         unconditional.
10562         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10563         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10564         #elif condition to just #else.
10565         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10566         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10567         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10568         #elif condition to just #else.
10570 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10572         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10573         (EF_MIPS_ARCH_64): Fix value.
10574         (EF_MIPS_ARCH_32R2): New.
10575         (EF_MIPS_ARCH_64R2): New.
10577 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10579         * Makeconfig (+link-pie-before-libc): New.
10580         (+link-pie-after-libc): Likewise.
10581         (+link-pie-tests): Likewise.
10582         (+link-pie): Rewritten.
10583         (link-before-libc): Remove $(config-LDFLAGS).
10584         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10585         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10586         (config-LDFLAGS): Renamed to ...
10587         (rtld-LDFLAGS): This.
10588         (rtld-tests-LDFLAGS): New macro.
10589         (link-libc-rpath-link): Likewise.
10590         (link-libc-tests-rpath-link): Likewise.
10591         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10592         (link-libc): Prepand $(link-libc-rpath-link).
10593         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10594         (test-program-prefix): New macro.
10595         (test-via-rtld-prefix): Likewise.
10596         (test-program-cmd): Likewise.
10597         (host-test-program-cmd): Likewise.
10598         * Makefile ($(common-objpfx)testrun.sh): Replace
10599         $(run-program-prefix) with $(test-program-prefix).
10600         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10601         $(rtld-LDFLAGS).
10602         ($(common-objpfx)shlib.lds): Likewise.
10603         (build-module-helper): Likewise.
10604         ($(common-objpfx)format.lds): Likewise.
10605         * Rules (binaries-pie-tests): New.
10606         (binaries-pie-notests): Likewise.
10607         (binaries-pie): Rewritten.
10608         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10609         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10610         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10611         (make-test-out): Replace $(host-built-program-cmd) with
10612         $(host-test-program-cmd).
10613         * config.make.in (build-hardcoded-path-in-tests): New variable.
10614         * configure.in (--enable-hardcoded-path-in-tests): New configure
10615         option.
10616         (hardcoded_path_in_tests): New AC_SUBST.
10617         * configure: Regenerated.
10618         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10619         $(built-program-cmd) with $(test-program-cmd).
10620         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10621         (test_program_cmd): This.
10622         * elf/Makefile ($(objpfx)order.out): Run test with
10623         $(test-program-prefix).
10624         ($(objpfx)order2.out): Likewise.
10625         ($(objpfx)tst-initorder.out): Likewise.
10626         ($(objpfx)tst-initorder2.out): Likewise.
10627         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10628         $(test-program-cmd).
10629         ($(objpfx)tst-array1-static.out): Likewise.
10630         ($(objpfx)tst-array2.out): Likewise.
10631         ($(objpfx)tst-array3.out): Likewise.
10632         ($(objpfx)tst-array4.out): Likewise.
10633         ($(objpfx)tst-array5.out): Likewise.
10634         ($(objpfx)tst-array5-static.out): Likewise.
10635         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10636         $(test-program-cmd).
10637         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10638         $(run-program-prefix) with $(test-program-prefix).
10639         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10640         (test_program_prefix): This.
10641         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10642         $(run-program-prefix) with $(test-program-prefix).
10643         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10644         (test_program_prefix): This.
10645         * iconvdata/tst-tables.sh: Likewise.
10646         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10647         $(run-program-prefix) with $(test-program-prefix).
10648         ($(objpfx)tst-translit.out): Likewise.
10649         ($(objpfx)tst-gettext2.out): Likewise.
10650         ($(objpfx)tst-gettext4.out): Likewise.
10651         ($(objpfx)tst-gettext6.out): Likewise.
10652         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10653         (test_program_prefix): This.
10654         * intl/tst-gettext2.sh: Likewise.
10655         * intl/tst-gettext4.sh  Likewise.
10656         * intl/tst-gettext6.sh: Likewise.
10657         * intl/tst-translit.sh: Likewise.
10658         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10659         with $(test-program-cmd).
10660         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10661         $(run-program-prefix) with $(test-program-prefix).
10662         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10663         (test_program_prefix): This.
10664         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10665         $(run-program-prefix) with $(test-program-prefix).
10666         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10667         (test_program_prefix): This.
10668         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10669         * posix/Makefile ($(objpfx)globtest.out): Replace
10670         $(run-via-rtld-prefix) and $(test-wrapper) with
10671         $(test-program-prefix) and $(test-via-rtld-prefix).
10672         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10673         $(test-program-prefix).
10674         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10675         $(host-test-program-cmd).
10676         (tst-spawn-ARGS): Likewise.
10677         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10678         $(test-program-prefix).
10679         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10680         (test_via_rtld_prefix): This.
10681         (test_wrapper): Renamed to ...
10682         (test_program_prefix): This.
10683         (run_program_prefix): Replaced by test_program_prefix.
10684         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10685         (test_program_prefix): This.
10686         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10687         with $(host-test-program-cmd).
10688         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10689         $(run-program-prefix) with $(test-program-prefix).
10690         ($(objpfx)tst-printf.out): Likewise.
10691         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10692         $(test-program-cmd).
10693         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10694         (test_program_prefix): This.
10695         * stdio-common/tst-unbputc.sh: Likewise.
10696         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10697         $(run-program-prefix) with $(test-program-prefix).
10698         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10699         (test_program_prefix): This.
10700         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10701         $(built-program-cmd) with $(test-program-cmd).
10703 2013-01-11  Andreas Jaeger  <aj@suse.de>
10705         [BZ #15003]
10706         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10707         value. Sync with Linux 3.7.
10709 2013-01-10  David S. Miller  <davem@davemloft.net>
10711         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10712         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10713         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10715 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10717         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10718         never set.
10719         * configure: Regenerated.
10721 2013-01-10  David S. Miller  <davem@davemloft.net>
10723         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10724         sparc V9 rather than using V8 code.
10725         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10726         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10728 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10730         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10731         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10732         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10733         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10734         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10735         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10736         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10737         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10738         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10739         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10740         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10741         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10742         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10743         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10744         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10745         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10746         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10747         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10748         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10749         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10750         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10751         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10752         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10753         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10754         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10755         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10756         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10758 2013-01-10  David S. Miller  <davem@davemloft.net>
10760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10762 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10764         * posix/Makefile (tests-static): New variable.
10765         (tests): Add $(tests-static).
10766         (tst-exec-static-ARGS): New variable.
10767         (tst-spawn-static-ARGS): Likewise.
10768         * posix/tst-exec-static.c: New file.
10769         * posix/tst-spawn-static.c: Likewise.
10770         * posix/tst-exec.c: Support run directly.
10771         * posix/tst-spawn.c: Likewise.
10773 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10775         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10776         long.
10777         * math/bits/mathcalls.h (llrint): Likewise.
10778         (llround): Likewise.
10779         * stdlib/stdlib.h (struct drand48_data): Likewise.
10780         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10781         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10782         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10783         Likewise.
10784         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10785         Likewise.
10786         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10787         (elf_greg_t): Likewise.
10788         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10789         (__jmp_buf): Likewise.
10790         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10791         definitions.
10792         (llrint): Likewise, for all definitions.
10793         (llrintl): Likewise.
10795         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10796         Remove [__GNUC__] condition.
10797         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10798         condition to just [__USE_ISOC99].
10799         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10801 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10803         [BZ #14200]
10804         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10805         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10806         defined.
10807         (_POSIX_V6_ILP32_OFF32): Likewise.
10808         (_XBS5_ILP32_OFF32): Likewise.
10809         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10810         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10812 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10814         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10816         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10817         doubles __mpexp_twomm1.  Adjust usage.
10818         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10819         Remove.
10821 2013-01-10  Andreas Schwab  <schwab@suse.de>
10823         [BZ #14964]
10824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10825         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10827 2013-01-09  David S. Miller  <davem@davemloft.net>
10829         [BZ #15003]
10830         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10831         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10832         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10833         TCP_FASTOPEN): Define.
10834         (tcp_repair_opt): New structure.
10835         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10836         enum values.
10837         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10838         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10839         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10840         (tcp_cookie_transactions): New structure.
10842 2013-01-09  Anton Blanchard  <anton@samba.org>
10844         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10845         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10847         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10849 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
10851         * include/features.h (__USE_ANSI): Remove.
10853 2013-01-09  Roland McGrath  <roland@hack.frob.com>
10855         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10857         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10859 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10861         * sysdeps/s390/fpu/libm-test-ulps: Update.
10863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10865         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10866         (__acr): Likewise.
10867         (__cpy): Likewise.
10868         (norm): Likewise.
10869         (denorm): Likewise.
10870         (__mp_dbl): Likewise.
10871         (__dbl_mp): Likewise.
10872         (add_magnitudes): Likewise.
10873         (sub_magnitudes): Likewise.
10874         (__add): Likewise.
10875         (__sub): Likewise.
10876         (__mul): Likewise.
10877         (__inv): Likewise.
10878         (__dvd): Likewise.
10879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10880         (__acr): Likewise.
10881         (__cpy): Likewise.
10882         (norm): Likewise.
10883         (denorm): Likewise.
10884         (__mp_dbl): Likewise.
10885         (__dbl_mp): Likewise.
10886         (add_magnitudes): Likewise.
10887         (sub_magnitudes): Likewise.
10888         (__add): Likewise.
10889         (__sub): Likewise.
10890         (__mul): Likewise.
10891         (__inv): Likewise.
10892         (__dvd): Likewise.
10893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10894         (__acr): Likewise.
10895         (__cpy): Likewise.
10896         (norm): Likewise.
10897         (denorm): Likewise.
10898         (__mp_dbl): Likewise.
10899         (__dbl_mp): Likewise.
10900         (add_magnitudes): Likewise.
10901         (sub_magnitudes): Likewise.
10902         (__add): Likewise.
10903         (__sub): Likewise.
10904         (__mul): Likewise.
10905         (__inv): Likewise.
10906         (__dvd): Likewise.
10908 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
10910         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10911         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10912         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10913         2 && __USE_EXTERN_INLINES]: Likewise.
10915 2013-01-08  Andreas Jaeger  <aj@suse.de>
10917         [BZ# 14985]
10918         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10919         Remove.
10920         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10921         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10923 2013-01-07  Anton Blanchard  <anton@samba.org>
10925         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10926         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10927         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10928         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10929         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10930         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10931         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10932         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10934         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10935         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10936         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10937         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10939         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10940         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10941         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10943         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10944         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10945         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10946         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10947         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10948         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10949         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10951         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10952         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10953         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10954         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10955         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10957         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10958         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10959         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10960         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10961         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10962         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10963         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10964         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10967         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10969 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
10971         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10972         (__MALLOC_PMT): Likewise.
10973         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10974         [__GNUC__], only on [_LIBC].
10975         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10976         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10977         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10978         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10979         forward declaration.
10980         (realloc_hook_ini): Likewise.
10981         (memalign_hook_ini): Likewise.
10982         (__libc_memalign): Do not use __MALLOC_PMT in variable
10983         declaration.
10984         (__libc_valloc): Likewise.
10985         (__libc_pvalloc): Likewise.
10986         (__libc_calloc): Likewise.
10987         (__posix_memalign): Likewise.
10989         [BZ #14996]
10990         * math/s_casinh.c: Include <float.h>.
10991         (__casinh): Do not do computation with squaring and square root
10992         for large arguments.
10993         * math/s_casinhf.c: Include <float.h>.
10994         (__casinhf): Do not do computation with squaring and square root
10995         for large arguments.
10996         * math/s_casinhl.c: Include <float.h>.
10997         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10998         (__casinhl): Do not do computation with squaring and square root
10999         for large arguments.
11000         * math/libm-test.inc (casin_test): Add more tests.
11001         (casinh_test): Likewise.
11002         * sysdeps/i386/fpu/libm-test-ulps: Update.
11003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11007         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11008         (__x86_64_raw_data_cache_size): Likewise.
11009         (__x86_64_data_cache_size_half): Likewise.
11010         (__x86_64_raw_data_cache_size_half): Likewise.
11011         (__x86_64_shared_cache_size): Likewise.
11012         (__x86_64_raw_shared_cache_size): Likewise.
11013         (__x86_64_shared_cache_size_half): Likewise.
11014         (__x86_64_raw_shared_cache_size_half): Likewise.
11015         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11016         to ...
11017         (__x86_data_cache_size): This.
11018         (__x86_64_raw_data_cache_size): Renamed to ...
11019         (__x86_raw_data_cache_size): This.
11020         (__x86_64_data_cache_size_half): Renamed to ...
11021         (__x86_data_cache_size_half): This.
11022         (__x86_64_raw_data_cache_size_half): Renamed to ...
11023         (__x86_raw_data_cache_size_half): This.
11024         (__x86_64_shared_cache_size): Renamed to ...
11025         (__x86_shared_cache_size): This.
11026         (__x86_64_raw_shared_cache_size): Renamed to ...
11027         (__x86_raw_shared_cache_size): This.
11028         (__x86_64_shared_cache_size_half): Renamed to ...
11029         (__x86_shared_cache_size_half): This.
11030         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11031         (__x86_raw_shared_cache_size_half): This.
11032         * sysdeps/x86_64/memcpy.S: Updated.
11033         * sysdeps/x86_64/memset.S: Likewise.
11034         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11035         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11036         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11038 2013-01-04  David S. Miller  <davem@davemloft.net>
11040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11042 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11044         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11045         1 to avoid redefinition warning.
11046         (__USE_GNU): Don't define.
11047         (init_signaling_nan): Protoize.
11049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11051 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11053         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11055         (__cpymn): Likewise.
11056         (norm): Remove commented code.
11057         (denorm): Likewise.
11058         (__mp_dbl): Likewise.
11059         (__inv): Likewise.
11060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11061         (__cpymn): Likewise.
11062         (norm): Remove commented code.
11063         (denorm): Likewise.
11064         (__mp_dbl): Likewise.
11065         (__inv): Likewise.
11067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11068         mp_no value for 1.0 and 2.0.
11069         (norm): Use RADIXI instead of radixi.d.
11070         (denorm): Likewise.
11071         (__mul): Use 0.0 instead of zero.d.
11072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11073         mp_no value for 1.0 and 2.0.
11074         (norm): Use RADIXI instead of radixi.d.
11075         (denorm): Likewise.
11076         (__mul): Use 0.0 instead of zero.d.
11078 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11080         [BZ #14994]
11081         * math/s_casinh.c (__casinh): Reduce finite argument to first
11082         quadrant then set signs of results at the end.
11083         * math/s_casinhf.c (__casinhf): Likewise.
11084         * math/s_casinhl.c (__casinhl): Likewise.
11085         * math/libm-test.inc (casin_test): Add more tests.
11086         (casinh_test): Likewise.
11087         * sysdeps/i386/fpu/libm-test-ulps: Update.
11088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11092         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11094         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11096         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11097         declarations.
11098         (denorm): Likewise.
11099         (__mp_dbl): Likewise.
11100         (__inv): Likewise.
11102         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11103         and adjust the header comment.
11105         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11106         variable name from declaration.
11108 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11111         Initialize COMMON_CPUID_INDEX_7 element.
11112         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11113         (CPUID_RTM): Likewise.
11114         (HAS_RTM): Likewise.
11115         (COMMON_CPUID_INDEX_7): New enum.
11117 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11119         [BZ #14981]
11120         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11121         size is zero, record memory as freed.
11123 2013-01-03  Andreas Jaeger  <aj@suse.de>
11125         * po/ia.po: Add new Interlingua translation.
11127 2012-01-03  Allan McRae  <allan@archlinux.org>
11129         * locale/programs/localedef.c: Fix description of '--posix' flag.
11131 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11133         * NEWS: Update dates in second copyright notice.
11134         * README: Update copyright dates in example.
11135         * manual/libc.texinfo: Update copyright dates.
11136         * scripts/test-installation.pl: Update copyright date in --version
11137         output.
11139         * hurd/ctty-input.c: Fix copyright notice formatting.
11140         * hurd/ctty-output.c: Likewise.
11141         * hurd/dtable.c: Likewise.
11142         * hurd/hurd-raise.c: Likewise.
11143         * hurd/hurdprio.c: Likewise.
11144         * hurd/msgportdemux.c: Likewise.
11145         * misc/sys/file.h: Likewise.
11146         * misc/sys/ioctl.h: Likewise.
11147         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11148         * sysdeps/mach/hurd/chdir.c: Likewise.
11149         * sysdeps/mach/hurd/fchdir.c: Likewise.
11150         * sysdeps/mach/hurd/rename.c: Likewise.
11151         * sysdeps/mach/hurd/rmdir.c: Likewise.
11152         * sysdeps/mach/hurd/seekdir.c: Likewise.
11153         * sysdeps/mach/hurd/setsid.c: Likewise.
11154         * sysdeps/posix/wait3.c: Likewise.
11156         * All files with FSF copyright notices: Update copyright dates
11157         using scripts/update-copyrights.
11158         * intl/plural.c: Regenerated.
11159         * locale/programs/charmap-kw.h: Likewise.
11160         * locale/programs/locfile-kw.h: Likewise.
11162 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11164         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11165         four values.
11167         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11168         calculation loop and add branch prediction.
11170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11171         check access beyond bounds of m1np.
11173         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11174         MPTWO.
11175         (__inv): Remove local variable MPTWO to use the global
11176         constant.
11177         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11178         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11179         variable MPTWO.
11180         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11181         MP3HALFS static const.
11183 2013-01-01  David S. Miller  <davem@davemloft.net>
11185         * po/ca.po: Update from translation team.
11187 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11189         * scripts/update-copyrights: New file.
11190         * Makeconfig: Reformat copyright notice.
11191         * ctype/ctype.h: Likewise.
11192         * debug/swprintf_chk.c: Likewise.
11193         * elf/dl-cache.c: Likewise.
11194         * elf/dl-debug.c: Likewise.
11195         * elf/dl-object.c: Likewise.
11196         * grp/initgroups.c: Likewise.
11197         * hurd/Makefile: Likewise.
11198         * hurd/hurd/signal.h: Likewise.
11199         * hurd/hurdfault.c: Likewise.
11200         * hurd/hurdioctl.c: Likewise.
11201         * hurd/hurdlookup.c: Likewise.
11202         * hurd/intr-msg.c: Likewise.
11203         * iconv/gconv_open.c: Likewise.
11204         * libio/swprintf.c: Likewise.
11205         * locale/lc-ctype.c: Likewise.
11206         * locale/nl_langinfo.c: Likewise.
11207         * mach/Machrules: Likewise.
11208         * mach/Makefile: Likewise.
11209         * malloc/obstack.h: Likewise.
11210         * manual/Makefile: Likewise.
11211         * manual/tsort.awk: Likewise.
11212         * misc/bits/stab.def: Likewise.
11213         * nis/nis_print_group_entry.c: Likewise.
11214         * nis/nis_table.c: Likewise.
11215         * nis/nss_compat/compat-pwd.c: Likewise.
11216         * nis/nss_compat/compat-spwd.c: Likewise.
11217         * po/Makefile: Likewise.
11218         * posix/fnmatch.c: Likewise.
11219         * posix/regex.h: Likewise.
11220         * resolv/Makefile: Likewise.
11221         * resolv/nss_dns/dns-network.c: Likewise.
11222         * resolv/res_hconf.c: Likewise.
11223         * scripts/gen-sorted.awk: Likewise.
11224         * soft-fp/soft-fp.h: Likewise.
11225         * stdio-common/printf.h: Likewise.
11226         * stdlib/monetary.h: Likewise.
11227         * stdlib/random.c: Likewise.
11228         * stdlib/random_r.c: Likewise.
11229         * sysdeps/generic/Makefile: Likewise.
11230         * sysdeps/gnu/Makefile: Likewise.
11231         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11233         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11235         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11237         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11238         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11241         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11242         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11243         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11244         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11245         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11246         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11247         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11249         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11250         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11251         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11252         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11253         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11254         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11255         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11257         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11258         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11259         * sysdeps/mach/hurd/errnos.awk: Likewise.
11260         * sysdeps/mach/hurd/fork.c: Likewise.
11261         * sysdeps/mach/hurd/getcwd.c: Likewise.
11262         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11263         * sysdeps/mach/hurd/mmap.c: Likewise.
11264         * sysdeps/mach/hurd/utimes.c: Likewise.
11265         * sysdeps/mach/hurd/xmknod.c: Likewise.
11266         * sysdeps/posix/profil.c: Likewise.
11267         * sysdeps/posix/readdir_r.c: Likewise.
11268         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11269         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11270         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11271         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11272         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11275         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11277         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11278         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11279         * sysdeps/pthread/lio_listio.c: Likewise.
11280         * sysdeps/sparc/dl-procinfo.h: Likewise.
11281         * sysdeps/unix/i386/sysdep.S: Likewise.
11282         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11283         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11284         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11285         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11287         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11288         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11289         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11290         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11291         * sysdeps/wordsize-32/divdi3.c: Likewise.
11292         * time/sys/time.h: Likewise.
11293         * wcsmbs/Makefile: Likewise.
11295 2013-01-01  David S. Miller  <davem@davemloft.net>
11297         * po/fr.po: Update from translation team.
11299         * catgets/gencat.c: Update copyright year.
11300         * csu/version.c: Likewise.
11301         * debug/catchsegv.sh: Likewise.
11302         * debug/pcprofiledump.c: Likewise.
11303         * debug/xtrace.sh: Likewise.
11304         * elf/ldconfig.c: Likewise.
11305         * elf/ldd.bash.in: Likewise.
11306         * elf/pldd.c: Likewise.
11307         * elf/sotruss.ksh: Likewise.
11308         * elf/sprof.c: Likewise.
11309         * iconv/iconv_prog.c: Likewise.
11310         * iconv/iconvconfig.c: Likewise.
11311         * locale/programs/locale.c: Likewise.
11312         * locale/programs/localedef.c: Likewise.
11313         * login/programs/pt_chown.c: Likewise.
11314         * malloc/memusage.sh: Likewise.
11315         * malloc/memusagestat.c: Likewise.
11316         * malloc/mtrace.pl: Likewise.
11317         * nscd/nscd.c: Likewise.
11318         * nss/getent.c: Likewise.
11319         * nss/makedb.c: Likewise.
11320         * posix/getconf.c: Likewise.
11322 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11324         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11325         numbers.
11327 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11329         * math/bits/mathcalls.h (modf): Use __nonnull.
11331 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11334         (split): Use macro CN instead of the bare value.
11335         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11336         could be used.
11337         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11338         instead of the bare value.
11339         (power1): Likewise.
11341 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11343         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11344         __ATAN_TWOM.
11345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11347         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11348         their values.
11349         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11351         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11352         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11354 2012-12-28  Andreas Jaeger  <aj@suse.de>
11356         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11357         values are from Linux 3.7.
11359         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11360         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11362 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11364         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11365         TRUE case.
11367         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11368         (norm): Likewise.
11369         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11370         variables with preprocessor constants.
11371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11372         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11373         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11375 2012-12-27  Bruno Haible  <bruno@clisp.org>
11377         [BZ #14317]
11378         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11379         only if needed.
11381 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11384         and use variable directly.
11385         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11387         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11388         MPONE.
11389         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11391         variable MPONE.
11392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11393         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11394         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11395         include directive.  Remove local variable MPONE.
11396         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11397         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11398         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11400 2012-12-25  David S. Miller  <davem@davemloft.net>
11402         * version.h (RELEASE): Set to "development".
11403         (VERSION): Set to "2.17.90".
11404         * NEWS: Add 2.18 section.
11406 2012-12-21  David S. Miller  <davem@davemloft.net>
11408         * po/hr.po: Update from translation team.
11410 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11412         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11414 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11416         * NEWS:  Mention new memcpy for MIPS.
11418 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11420         * manual/contrib.texi (Contributors): Spelling correction.
11422 2012-12-15  David S. Miller  <davem@davemloft.net>
11424         * po/ru.po: Update from translation team.
11426 2012-12-13  David S. Miller  <davem@davemloft.net>
11428         * NEWS: Mention IFUNC testsuite enhancements.
11430         * po/pl.po: Update from translation team.
11431         * po/bg.po: Likewise.
11433         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11434         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11436 2012-12-11  David S. Miller  <davem@davemloft.net>
11438         * po/sv.po: Update from translation team.
11440         * po/vi.po: Update from translation team.
11442         * po/cs.po: Update from translation team.
11444         * po/de.po: Update from translation team.
11445         * po/eo.po: Likewise.
11446         * po/nl.po: Likewise.
11448 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11450         [BZ #14246]
11451         * manual/argp.texi (Argp Helper Functions): Move node to follow
11452         Argp Parsing State.
11454         [BZ #14872]
11455         * manual/conf.texi (Limits on File System Capacity): Mention if
11456         terminating null is included in the max size.
11458 2012-12-10  Andreas Jaeger  <aj@suse.de>
11460         * po/cs.po: Update from translation team.
11462 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11464         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11465         void pointer and cast to uintptr_t.
11466         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11467         path.
11468         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11469         * sysdeps/s390/s390-64/memset.S: Likewise.
11471 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11473         [BZ #14833]
11474         * menual/message.texi (Message Translation): Fix typos.
11475         (Helper programs for gettext): Likewise.
11477 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11479         [BZ #14898]
11480         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11481         Change to -1.
11483 2012-12-07  David S. Miller  <davem@davemloft.net>
11485         * po/libc.pot: Update.
11487 2012-12-07  Richard Henderson  <rth@redhat.com>
11489         [BZ #10114]
11490         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11491         normal/normal case to before the switch.
11492         (_FP_DIV): Likewise.
11494 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11495             Mike Frysinger  <vapier@gentoo.org>
11497         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11498         check for __NR_fadvise64_64.
11500 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11502         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11503         0, not just to plain "0" as a statement.
11504         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11505         with cw.
11507 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11509         * NEWS: Use sourceware.org in Bugzilla URL.
11511 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11514         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11516         * stdio-common/tst-put-error.c (do_test): Add newline to the
11517         padded test to ensure flush.
11519 2012-12-05  Jeff Law  <law@redhat.com>
11521         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11523 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11525         * README: Don't refer to ports add-on as distributed separately.
11526         Mention AArch64 in list of systems supported in the ports add-on.
11528         * LICENSES: Add more non-FSF copyright and license notices.
11530         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11531         ((unused)).
11533         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11535         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11536         10000 as width of padded output.
11538 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11540         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11543         variable LX with __attribute__ ((unused)).
11544         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11545         Likewise.
11546         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11549         with __attribute__ ((unused)).
11551 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11553         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11555 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11557         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11558         (CFLAGS-nldbl-acos.c): New variable.
11559         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11560         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11561         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11562         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11563         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11564         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11565         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11566         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11567         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11568         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11569         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11570         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11571         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11572         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11573         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11574         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11575         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11576         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11577         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11578         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11579         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11580         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11581         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11582         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11583         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11584         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11585         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11586         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11587         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11588         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11589         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11590         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11591         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11592         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11593         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11594         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11595         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11596         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11597         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11598         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11599         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11600         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11601         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11602         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11603         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11604         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11605         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11606         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11607         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11608         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11609         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11610         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11611         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11612         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11613         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11614         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11615         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11616         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11617         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11618         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11619         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11620         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11621         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11622         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11623         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11624         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11625         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11626         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11627         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11628         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11629         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11630         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11631         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11632         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11633         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11634         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11635         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11636         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11637         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11638         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11639         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11640         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11641         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11642         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11643         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11644         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11645         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11646         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11647         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11648         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11649         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11650         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11651         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11652         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11653         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11654         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11655         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11658         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11660         [BZ #14914]
11661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11662         whole low double instead of just low 47 bits when splitting values
11663         into two parts.
11665 2012-12-03  Allan McRae  <allan@archlinux.org>
11667         * manual/stdio.texi (Predefined Printf Handlers): Remove
11668         @hsep and @vsep usage.
11670 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11672         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11673         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11675 2012-12-03  Jeff Law  <law@redhat.com>
11677         * time/sys/time.h (settimeofday): Do not mark TV argument
11678         as __nonnull.
11680 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11682         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11683         when currently writing and seek to current position when not.
11684         * libio/Makefile (tests): Remove bug-fclose1.
11685         * libio/bug-fclose1.c: Delete.
11687 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11689         * manual/arith.texi (feenableexcept): Fix typo.
11690         (fedisableexcept): Likewise.
11692 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11694         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11695         second, differently-typed declaration, rather than a cast.
11697 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11699         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11700         * include/rpc/svc.h: ... here.
11702 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11704         [BZ #13013]
11705         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11706         depending n and resplen2 to catch cases where answer
11707         equals answerp2.
11709 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11711         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11712         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11714 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11716         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11718 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11720         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11722 2012-11-28  Jeff Law  <law@redhat.com>
11724         [BZ #13761]
11725         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11726         dataset_temporary.  Track alloca usage into alloca_used.
11727         If dataset is large allocate and release it via malloc/free.
11729 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11731         [BZ #14197]
11732         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11734 2012-11-28  David S. Miller  <davem@davemloft.net>
11736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11738 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11740         [BZ #14803]
11741         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11742         of pi/2 rounded to nearest to 64 bits.
11743         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11744         nearest to 64 bits.
11745         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11746         bits.
11748 2012-11-28  Jeff Law <law@redhat.com>
11749             Martin Osvald <mosvald@redhat.com>
11751         [BZ #14889]
11752         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11753         * sunrpc/svc.c: Include time.h.
11754         (__svc_accept_failed): New function.
11755         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11756         any reason other than EINTR, call __svc_accept_failed.
11757         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11758         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11760 2012-11-28  Andreas Schwab  <schwab@suse.de>
11762         * scripts/abilist.awk: Also handle indirect functions in .opd
11763         section.
11765 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11767         [BZ #13881]
11768         * sysdeps/x86/fpu/powl_helper.c: New file.
11769         * sysdeps/x86/fpu/Makefile: Likewise.
11770         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11771         (p3): New object.
11772         (__ieee754_powl): Use __powl_helper for finite arguments except
11773         integer exponents below 8.
11774         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11775         (p3): New object.
11776         (__ieee754_powl): Use __powl_helper for finite arguments except
11777         integer exponents below 8.
11778         * math/libm-test.inc (pow_test): Add more tests and enable some
11779         previously disabled tests.
11780         * sysdeps/i386/fpu/libm-test-ulps: Update.
11781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11783 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11784             Carlos O'Donell  <carlos_odonell@mentor.com>
11786         * nss/makedb.c (is_prime): Assert that input is odd and greater
11787         than 4.  Note that fact in a comment too.
11788         (next_prime): Add 4 to input.
11790 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11792         [BZ #11741]
11793         * libio/Makefile (tests): Add test case tst-fwrite-error.
11794         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11795         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11796         * libio/tst-fwrite-error.c: New test case.
11798 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11800         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11801         before casting to void *.
11802         * include/libc-internal.h (__pointer_type): New macro.
11803         (__integer_if_pointer_type_sub): Likewise.
11804         (__integer_if_pointer_type): Likewise.
11805         (cast_to_integer): Likewise.
11806         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11807         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11808         before casting to atomic64_t.
11809         (atomic_exchange_acq): Likewise.
11810         (__arch_exchange_and_add_body): Likewise.
11811         (__arch_add_body): Likewise.
11812         (atomic_add_negative): Likewise.
11813         (atomic_add_zero): Likewise.
11815 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11817         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11818         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11819         (add_fdes): Likewise.
11820         (linear_search_fdes): Likewise.
11821         (binary_search_unencoded_fdes): Likewise.
11823 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11825         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11827 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11829         * configure.in: Autodetect C++ header directories.
11830         * configure: Regenerated.
11832 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11834         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11836 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11840 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11842         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11843         LDBL_MANT_DIG == 106]: Disable some tests.
11844         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11845         Likewise.
11846         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11847         Likewise.
11849         [BZ #14871]
11850         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11851         input for small inputs.  Return +/- pi/2 for large inputs.
11852         * math/libm-test.inc (atan_test): Add more tests.
11854         * sysdeps/generic/unwind-dw2-fde-glibc.c
11855         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11856         __attribute__ ((unused)).
11858         [BZ #14645]
11859         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11860         x * y if x and y are nonzero and z is zero.
11862         [BZ #14811]
11863         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11864         nonzero exponents with absolute value below 0x1p-117 to +/-
11865         0x1p-117.
11867         [BZ #14869]
11868         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11869         up arguments below 2**-450, not just those below 2**-500.
11870         * math/libm-test.inc (hypot_test): Add another test.
11872         [BZ #14868]
11873         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11874         Return a+b for ratio over 2**120, not 2**60.
11875         * math/libm-test.inc (hypot_test): Add another test.
11877         * math/libm-test.inc (clog_test): Use
11878         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11879         (clog10_test): Likewise.
11881         [BZ #6778]
11882         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11884 2012-11-22  Andreas Schwab  <schwab@suse.de>
11886         * sysdeps/i386/fpu/libm-test-ulps: Update.
11888 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
11890         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11891         printf output with newline.
11893 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
11895         [BZ #14865]
11896         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11897         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11898         -z nodlopen, -z initfirst and -z execstack support.
11899         * configure: Regenerated.
11901         * elf/elf.h (DF_1_NODIRECT): New macro.
11902         (DF_1_IGNMULDEF): Likewise.
11903         (DF_1_NOKSYMS): Likewise.
11904         (DF_1_NOHDR): Likewise.
11905         (DF_1_EDITED): Likewise.
11906         (DF_1_NORELOC): Likewise.
11907         (DF_1_SYMINTPOSE): Likewise.
11908         (DF_1_GLOBAUDIT): Likewise.
11909         (DF_1_SINGLETON): Likewise.
11910         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11911         DT_1_SUPPORTED_MASK bits.
11912         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11914 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
11916         * sysdeps/unix/make-syscalls.sh: Document prefixes.
11918 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
11920         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11921         macro.
11923         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11924         (sendmmsg): Move declarations...
11925         * socket/sys/socket.h: ... here.
11926         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11927         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11928         include it from...
11929         * socket/recvmmsg.c: ... this new file.
11930         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11931         (sendmmsg): Rename to __sendmmsg, create weak alias and make
11932         definition of __sendmmsg hidden.
11933         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11934         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11935         Move ENOSYS stub into and include it from...
11936         * socket/sendmmsg.c: ... this new file.
11937         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11938         (sysdep_routines): Move recvmmsg and sendmmsg...
11939         * socket/Makefile (routines): ... here.
11940         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11941         (GLIBC_PRIVATE): Add __sendmmsg.
11942         * include/sys/socket.h (__sendmmsg): Add declarations.
11943         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11944         sendmmsg.
11946 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
11948         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11949         variable I1 with __attribute__ ((unused)).
11950         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11952 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11954         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11955         DUMMY variables with __attribute__ ((unused)).
11957         * bits/byteswap.h: Include <bits/types.h>.
11958         (__bswap_64): Use __uint64_t instead of unsigned long long int.
11960 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11962         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11963         string_t.  Do not manually set errno.
11964         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11965         length with __strnlen.  Make sure to both set errno and return it on
11966         failure.
11968 2012-11-19  David S. Miller  <davem@davemloft.net>
11970         With help from Joseph Myers.
11971         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11972         very large arguments properly.
11973         * math/libm-test.inc (atan_test): New tests.
11974         (atan2_test): New tests.
11975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #14856]
11981         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11982         Define to 3.
11984         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11985         [POSIX] (EADDRNOTAVAIL): Likewise.
11986         [POSIX] (EAFNOSUPPORT): Likewise.
11987         [POSIX] (EALREADY): Likewise.
11988         [POSIX] (ECONNABORTED): Likewise.
11989         [POSIX] (ECONNREFUSED): Likewise.
11990         [POSIX] (ECONNRESET): Likewise.
11991         [POSIX] (EDESTADDRREQ): Likewise.
11992         [POSIX] (EDQUOT): Likewise.
11993         [POSIX] (EHOSTUNREACH): Likewise.
11994         [POSIX] (EIDRM): Likewise.
11995         [POSIX] (EISCONN): Likewise.
11996         [POSIX] (ELOOP): Likewise.
11997         [POSIX] (EMULTIHOP): Likewise.
11998         [POSIX] (ENETDOWN): Likewise.
11999         [POSIX] (ENETUNREACH): Likewise.
12000         [POSIX] (ENOBUFS): Likewise.
12001         [POSIX] (ENODATA): Likewise.
12002         [POSIX] (ENOLINK): Likewise.
12003         [POSIX] (ENOMSG): Likewise.
12004         [POSIX] (ENOPROTOOPT): Likewise.
12005         [POSIX] (ENOSR): Likewise.
12006         [POSIX] (ENOSTR): Likewise.
12007         [POSIX] (ENOTCONN): Likewise.
12008         [POSIX] (ENOTSOCK): Likewise.
12009         [POSIX] (EOPNOTSUPP): Likewise.
12010         [POSIX] (EOVERFLOW): Likewise.
12011         [POSIX] (EPROTO): Likewise.
12012         [POSIX] (EPROTONOSUPPORT): Likewise.
12013         [POSIX] (EPROTOTYPE): Likewise.
12014         [POSIX] (ESTALE): Likewise.
12015         [POSIX] (ETIME): Likewise.
12016         [POSIX] (ETXTBSY): Likewise.
12017         [POSIX] (EWOULDBLOCK): Likewise.
12018         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12019         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12020         [POSIX] (SEEK_CUR): Likewise.
12021         [POSIX] (SEEK_END): Likewise.
12022         [POSIX || UNIX98] (mode_t): Do not require.
12023         [POSIX] (off_t): Likewise.
12024         [POSIX] (pid_t): Likewise.
12025         [POSIX] (sys/stat.h): Do not allow header.
12026         [POSIX] (unistd.h): Likewise.
12027         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12028         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12029         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12030         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12031         require.
12032         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12033         sigevent): Specify elements.
12034         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12035         entry.
12036         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12037         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12039         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12040         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12041         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12042         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12043         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12044         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12045         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12046         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12047         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12048         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12049         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12050         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12051         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12052         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12053         Likewise.
12054         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12055         Likewise.
12056         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12057         Likewise.
12058         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12059         Likewise.
12060         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12061         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12062         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12063         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12064         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12065         Specify lower bound on value.
12066         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12067         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12068         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12069         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12070         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12071         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12072         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12073         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12074         value.
12075         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12076         as optional.
12077         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12078         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12079         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12080         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12081         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12082         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12083         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12084         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12085         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12086         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12087         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12088         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12089         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12090         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12091         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12092         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12093         entry.
12094         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12095         optional.
12096         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12097         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12098         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12099         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12100         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12101         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12102         Likewise.
12103         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12104         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12105         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12106         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12107         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12108         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12109         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12110         as optional.
12111         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12112         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12113         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12114         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12115         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12116         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12117         specify as optional.
12118         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12119         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12120         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12121         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12122         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12123         [XPG3] (NL_LANGMAX): Likewise.
12124         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12125         [POSIX || XPG3] (NL_NMAX): Likewise.
12126         [POSIX || XPG3] (NL_SETMAX): Likewise.
12127         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12128         [XPG3] (NZERO): Likewise.
12129         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12130         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12131         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12132         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12133         (REG_ERANGE): Expect.
12134         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12135         optional-constant.
12136         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12137         Use (void) in prototype.
12138         [POSIX] (*_t): Allow.
12139         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12140         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12141         (WRDE_BADVAL): Expect.
12143         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12144         expect.
12145         [XPG3 || XPG4] (O_RSYNC): Likewise.
12146         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12147         Likewise.
12148         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12149         [XPG3 || XPG4] (sigqueue): Likewise.
12150         [XPG3 || XPG4] (sigtimedwait): Likewise.
12151         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12152         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12153         [XPG3 || XPG4] (vsnprintf): Likewise.
12154         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12155         Likewise.
12156         [XPG3 || XPG4] (blksize_t): Likewise.
12157         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12158         Likewise.
12159         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12160         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12161         [XPG3 || XPG4] (struct itimerspec): Likewise.
12162         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12163         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12164         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12165         [XPG3 || XPG4] (clockid_t): Likewise.
12166         [XPG3 || XPG4] (timer_t): Likewise.
12167         [XPG3 || XPG4] (clock_getres): Likewise.
12168         [XPG3 || XPG4] (clock_gettime): Likewise.
12169         [XPG3 || XPG4] (clock_settime): Likewise.
12170         [XPG3 || XPG4] (nanosleep): Likewise.
12171         [XPG3 || XPG4] (timer_create): Likewise.
12172         [XPG3 || XPG4] (timer_delete): Likewise.
12173         [XPG3 || XPG4] (timer_gettime): Likewise.
12174         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12175         [XPG3 || XPG4] (timer_settime): Likewise.
12176         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12177         [XPG3 || XPG4] (getlogin_r): Likewise.
12178         [XPG3 || XPG4] (pread): Likewise.
12179         [XPG3 || XPG4] (pthread_atfork): Likewise.
12180         [XPG3 || XPG4] (pwrite): Likewise.
12182         [BZ #14835]
12183         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12184         <bits/siginfo.h>.
12186 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12188         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12189         finalizing MALLSTREAM.
12191         * sysdeps/mach/hurd/syncfs.c: New file.
12193 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12195         [BZ #14719]
12196         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12197         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12198         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12199         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12200         (_nss_dns_gethostbyname4_r): Likewise.
12201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12202         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12204 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12206         [BZ #13763]
12207         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12209 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12211         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12212         * elf/cache.c (print_entry): Print ",AArch64" for
12213         FLAG_AARCH64_LIB64
12215         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12216         * elf/cache.c (print_entry): Print ",hard-float" for
12217         FLAG_ARM_LIBHF.
12219 2012-11-18  David S. Miller  <davem@davemloft.net>
12221         With help from Joseph Myers.
12222         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12223         cutoff to 2**-13.
12224         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12225         cutoff to 2**-25.
12226         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12227         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12228         small.
12229         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12230         * math/libm-test.inc (y0_test): New tests.
12231         (y1_test): New tests.
12232         * sysdeps/i386/fpu/libm-test-ulps: Update.
12233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12236 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12238         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12239         64-bit targets.
12240         * configure: Regenerated.
12242 2012-11-17  David S. Miller  <davem@davemloft.net>
12244         [BZ #14811]
12245         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12246         nonzero exponents with absolute value below 0x1p-128 to +/-
12247         0x1p-128.
12249 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12251         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12253         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12255         * posix/getconf-speclist.c: New file.
12256         * posix/posix-envs.def: Likewise.
12257         * posix/confstr.c (START_ENV_GROUP): New macro.
12258         (END_ENV_GROUP): Likewise.
12259         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12260         (KNOWN_PRESENT_ENV_STRING): Likewise.
12261         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12262         (UNKNOWN_ENVIRONMENT): Likewise.
12263         (confstr): Include posix-envs.def instead of handling
12264         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12265         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12266         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12267         (END_ENV_GROUP): Likewise.
12268         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12269         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12270         (UNKNOWN_ENVIRONMENT): Likewise.
12271         (__sysconf): Include posix-envs.def instead of handling associated
12272         cases directly here.
12273         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12274         preprocessing getconf-speclist.c rather than running getconf or
12275         generating empty file.
12277 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12279         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12281 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12283         [BZ #14672]
12284         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12286 2012-11-16  David S. Miller  <davem@davemloft.net>
12288         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12289         smaller than LDBL_EPSILON/2.0L, just return xm1.
12291 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12293         * elf/tst-array1.c (init): Set constructor priority to 1000.
12294         (fini): Set destructor priority to 1000.
12295         * elf/tst-array2dep.c: Likewise.
12297 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12299         [BZ #11741]
12300         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12301         (_IO_new_file_xsputn): Also return EOF if none of the input
12302         data was written when overflow failed.
12303         * libio/iopadn.c (_IO_padn): Likewise.
12304         * libio/iowpadn.c (_IO_wpadn): Likewise.
12305         * stdio-common/tst-put-error.c: Add copyright notice.
12306         (do_test): Add case for printing padded string.
12307         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12308         _IO_padn returned error.
12309         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12310         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12311         return EOF.
12313 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12315         * libio/libioP.h: Add comment note that the references to C++
12316         bits are now obsolete.
12318 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12320         * math/libm-test.inc (check_complex): Use asprintf.
12322 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12324         * debug/pcprofiledump.c (print_version): Update copyright year.
12325         * malloc/memusagestat.c (print_version): Likewise.
12327 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12329         [BZ #14831]
12330         * elf/Makefile (tests): Add tst-audit8.
12331         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12332         ($(objpfx)tst-audit8.out): New target.
12333         (tst-audit8-ENV): New variable.
12334         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12335         audit if l_reloc_result is NULL.
12336         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12337         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12338         * elf/tst-audit8.c: New file.
12340 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12342         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12343         * misc/Makefile (CFLAGS-select.c): Define.
12344         * posix/Makefile (CFLAGS-pause.c): Define.
12346 2012-11-13  David S. Miller  <davem@davemloft.net>
12348         * crypt/Makefile: Move test targets after toplevel Rules
12349         inclusion.  Grab any necessary sysdep routines when linking.
12350         * crypt/md5.c (md5_process_block): Remove define, we will always
12351         name it __md5_process_block.
12352         (md5_finish_ctx): Update md5_process_block call.
12353         (md5_stream): Likewise.
12354         (md5_process_bytes): Likewise.
12355         (md5_process_block): Rename to __md5_process_block and move to ...
12356         * crypt/md5-block.c: ... here.
12357         * crypt/sha256.c (sha256_process_block): Move to ...
12358         * crypt/sha256-block.c: ... here.
12359         * crypt/sha512.c (sha512_process_block): Move to ...
12360         * crypt/sha512-block.c: ... here.
12361         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12362         path.
12363         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12364         * sysdeps/sparc/sparc64/multiarch/Makefile
12365         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12366         crypt subdir.
12367         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12368         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12369         multiarch changes.
12370         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12371         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12372         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12373         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12374         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12375         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12376         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12377         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12378         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12379         file.
12380         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12381         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12382         file.
12383         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12385 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12387         * timezone/tzselect.ksh: Update from tzcode git revision
12388         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12389         * timezone/zdump.c: Likewise.
12390         * timezone/zic.c: Likewise.
12391         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12392         in TZVERSION setting, not $(PKGVERSION).
12393         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12394         REPORT_BUGS_TO settings.
12396         [BZ #14838]
12397         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12398         macro.
12400 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12402         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12403         detection to immediately after _FP_ROUND().
12404         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12405         bits are 0.
12407 2012-11-11  David S. Miller  <davem@davemloft.net>
12409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12410         inttypes.h
12411         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12412         __close rather than their public counterparts.
12414 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12416         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12417         file.
12418         [UNIX98] (sem_timedwait): Do not expect.
12419         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12420         [XPG4 || UNIX98] (sockatmark): Do not expect.
12421         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12422         (clock_getcpuclockid): Do not expect.
12423         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12424         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12425         Do not expect.
12426         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12427         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12428         [UNIX98] (vwscanf): Likewise.
12429         [UNIX98] (vswscanf): Likewise.
12431 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12433         * timezone/version.h: Remove file.
12434         * timezone/README: Do not refer to version.h.
12435         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12436         $(objpfx)version.h.
12437         ($(objpfx)zdump.o): Likewise.
12438         ($(objpfx)version.h): New target.
12440         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12441         2012i.
12442         * timezone/README: Don't mention modification to tzselect.ksh.
12443         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12444         work on unmodified tzselect.ksh.  Substitute version numbers in
12445         tzselect.ksh.
12447         * Makefile (format-me): Remove.
12448         (INSTALL): Adjust indentation.  Use commands directly instead of
12449         using $(format-me).
12451         * aclocal.m4 (ACX_PKGVERSION): New macro.
12452         (ACX_BUGURL): Likewise.
12453         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12454         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12455         (REPORT_BUGS_TO): Likewise.
12456         * configure: Regenerated.
12457         * config.h.in (PKGVERSION): New macro.
12458         (REPORT_BUGS_TO): Likewise.
12459         * config.make.in (PKGVERSION): New variable.
12460         (PKGVERSION_TEXI): Likewise.
12461         (REPORT_BUGS_TO): Likewise.
12462         (REPORT_BUGS_TEXI): Likewise.
12463         * Makefile (format-me): Use -I$(common-objpfx)manual.
12464         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12465         ($(common-objpfx)manual/%): New target.
12466         (manual/%): Remove target.
12467         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12468         (print_version): Use PKGVERSION.
12469         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12470         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12471         and REPORT_BUGS_TO.
12472         ($(objpfx)xtrace): Likewise.
12473         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12474         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12475         (print_version): Use PKGVERSION.
12476         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12477         (do_version): Use PKGVERSION.
12478         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12479         REPORT_BUGS_TO.
12480         (common-ldd-rewrite): Likewise.
12481         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12482         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12483         (print_version): Use PKGVERSION.
12484         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12485         * elf/pldd.c (argp_program_bug_address): Remove variable.
12486         (more_help): New function.
12487         (argp): Use more_help.
12488         (print_version): Use PKGVERSION.
12489         * elf/sln.c (main): Use PKGVERSION.
12490         (usage): Use REPORT_BUGS_TO.
12491         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12492         (top level): Use PKGVERSION.
12493         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12494         (print_version): Use PKGVERSION.
12495         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12496         (print_version): Use PKGVERSION.
12497         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12498         (print_version): Use PKGVERSION.
12499         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12500         (print_version): Use PKGVERSION.
12501         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12502         (print_version): Use PKGVERSION.
12503         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12504         (print_version): Use PKGVERSION.
12505         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12506         and BUGURL.
12507         ($(objpfx)memusage): Likewise.
12508         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12509         (do_version): Use PKGVERSION.
12510         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12511         (print_version): Use PKGVERSION.
12512         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12513         ($PKGVERSION): New variable.
12514         ($REPORT_BUGS_TO): Likewise.
12515         (usage): Use $REPORT_BUGS_TO.
12516         (top level): Use $PKGVERSION.
12517         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12518         ($(objpfx)pkgvers.texi): New rule.
12519         ($(objpfx)stamp-pkgvers): Likewise.
12520         * manual/install.texi: Include pkgvers.texi.
12521         (--with-pkgversion): Document new configure option.
12522         (--with-bugurl): Likewise.
12523         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12524         than necessarily for this particular distribution.  Use
12525         REPORT_BUGS_TO for where to report bugs.
12526         * INSTALL: Regenerated.
12527         * manual/libc.texinfo: Include pkgvers.texi.
12528         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12529         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12530         (print_version): Use PKGVERSION.
12531         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12532         (print_version): Use PKGVERSION.
12533         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12534         (print_version): Use PKGVERSION.
12535         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12536         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12537         macro.
12538         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12539         (print_version): Use PKGVERSION.
12540         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12541         (print_version): Use PKGVERSION.
12542         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12543         and PKGVERSION.
12545         * timezone/checktab.awk: Update from tzcode 2012i.
12546         * timezone/ialloc.c: Likewise.
12547         * timezone/private.h: Likewise.
12548         * timezone/scheck.c: Likewise.
12549         * timezone/tzfile.h: Likewise.
12550         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12551         (TZVERSION): Hardcode tzcode version number.
12552         * timezone/zdump.c: Update from tzcode 2012i.
12553         * timezone/zic.c: Likewise.
12554         * timezone/version.h: New file.
12555         * timezone/README: Describe version.h.  Update upstream location.
12557         [BZ #14824]
12558         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12559         (mktemp): Enable declaration.
12560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12561         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12563         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12564         Likewise.
12565         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12566         Likewise.
12567         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12568         Likewise.
12569         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12570         Likewise.
12571         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12572         Likewise.
12573         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12574         Likewise.
12576         [BZ #14821]
12577         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12578         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12579         for copies of such integer values.
12580         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12581         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12583 2012-11-09  Andreas Jaeger  <aj@suse.de>
12585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12586         definitions and declarations that are provided by
12587         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12589 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12591         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12592         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12593         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12594         definition.
12596 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12598         * elf/elf.h: Update comment before AArch64 relocations.
12600 2012-11-07  David S. Miller  <davem@davemloft.net>
12602         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12603         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12604         (__start_context): Declare.
12605         (__makecontext_ret): Delete.
12606         (__makecontext): Hook up __start_context instead of
12607         __makecontext_ret.
12608         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12609         (sysdep_routines): Add __start_context when in stdlib.
12611 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12613         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12614         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12615         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12616         hardcoded "nm".
12617         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12618         (READELF): New variable.  Use it instead of hardcoded "readelf".
12620 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12622         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12623         * sysdeps/x86/Makefile: Here.
12624         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12625         * sysdeps/x86/tst-xmmymm.sh: This.
12627 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12629         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12630         expectations.
12631         [UNIX98] (pthread_barrier_t): Do not expect.
12632         [UNIX98] (pthread_barrierattr_t): Likewise.
12633         [UNIX98] (pthread_spinlock_t): Likewise.
12634         [UNIX98] (pthread_barrier_destroy): Likewise.
12635         [UNIX98] (pthread_barrier_init): Likewise.
12636         [UNIX98] (pthread_barrier_wait): Likewise.
12637         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12638         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12639         [UNIX98] (pthread_barrierattr_init): Likewise.
12640         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12641         [UNIX98] (pthread_getcpuclockid): Likewise.
12642         [UNIX98] (pthread_mutex_timedlock): Likewise.
12643         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12644         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12645         [UNIX98] (pthread_sigmask): Likewise.
12646         [UNIX98] (pthread_spin_destroy): Likewise.
12647         [UNIX98] (pthread_spin_init): Likewise.
12648         [UNIX98] (pthread_spin_lock): Likewise.
12649         [UNIX98] (pthread_spin_trylock): Likewise.
12650         [UNIX98] (pthread_spin_unlock): Likewise.
12651         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12652         Do not expect.
12653         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12654         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12655         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12656         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12657         [XPG3 || XPG4] (pthread_key_t): Likewise.
12658         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12659         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12660         [XPG3 || XPG4] (pthread_once_t): Likewise.
12661         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12662         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12663         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12664         [XPG3 || XPG4] (pthread_t): Likewise.
12666         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12667         not expect.
12668         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12670         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12671         Change function return type to int.
12673         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12674         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12675         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12676         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12677         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12678         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12679         [!POSIX] (posix_madvise): Likewise.
12680         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12681         && !UNIX98].
12682         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12683         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12684         (mode_t): Likewise.
12685         (posix_mem_offset): Likewise.
12686         (posix_typed_mem_get_info): Likewise.
12687         (posix_typed_mem_open): Likewise.
12689         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12690         Change condition to [XOPEN2K8].
12692         * conform/conformtest.pl: Preprocess allow-header data with -x c
12693         instead of from stdin.
12694         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12695         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12696         [C99-based standards] (cerfc): Likewise.
12697         [C99-based standards] (cexp2): Likewise.
12698         [C99-based standards] (cexpm1): Likewise.
12699         [C99-based standards] (clog10): Likewise.
12700         [C99-based standards] (clog1p): Likewise.
12701         [C99-based standards] (clog2): Likewise.
12702         [C99-based standards] (clgamma): Likewise.
12703         [C99-based standards] (ctgamma): Likewise.
12704         [C99-based standards] (cerff): Likewise.
12705         [C99-based standards] (cerfcf): Likewise.
12706         [C99-based standards] (cexp2f): Likewise.
12707         [C99-based standards] (cexpm1f): Likewise.
12708         [C99-based standards] (clog10f): Likewise.
12709         [C99-based standards] (clog1pf): Likewise.
12710         [C99-based standards] (clog2f): Likewise.
12711         [C99-based standards] (clgammaf): Likewise.
12712         [C99-based standards] (ctgammaf): Likewise.
12713         [C99-based standards] (cerfl): Likewise.
12714         [C99-based standards] (cerfcl): Likewise.
12715         [C99-based standards] (cexp2l): Likewise.
12716         [C99-based standards] (cexpm1l): Likewise.
12717         [C99-based standards] (clog10l): Likewise.
12718         [C99-based standards] (clog1pl): Likewise.
12719         [C99-based standards] (clog2l): Likewise.
12720         [C99-based standards] (clgammal): Likewise.
12721         [C99-based standards] (ctgammal): Likewise.
12722         * conform/data/inttypes.h-data [C99-based standards]: Include
12723         stdint.h-data.  Remove all expectations for stdint.h contents.
12724         [C99-based standards] (PRI*): Do not allow.
12725         [C99-based standards] (SCN*): Likewise.
12726         [C99-based standards] (*_t): Likewise.
12727         [C99-based-standards] (PRId8): Expect macro.
12728         [C99-based-standards] (PRIi8): Likewise.
12729         [C99-based-standards] (PRIo8): Likewise.
12730         [C99-based-standards] (PRIu8): Likewise.
12731         [C99-based-standards] (PRIx8): Likewise.
12732         [C99-based-standards] (PRIX8): Likewise.
12733         [C99-based-standards] (SCNd8): Likewise.
12734         [C99-based-standards] (SCNi8): Likewise.
12735         [C99-based-standards] (SCNo8): Likewise.
12736         [C99-based-standards] (SCNu8): Likewise.
12737         [C99-based-standards] (SCNx8): Likewise.
12738         [C99-based-standards] (PRIdLEAST8): Likewise.
12739         [C99-based-standards] (PRIiLEAST8): Likewise.
12740         [C99-based-standards] (PRIoLEAST8): Likewise.
12741         [C99-based-standards] (PRIuLEAST8): Likewise.
12742         [C99-based-standards] (PRIxLEAST8): Likewise.
12743         [C99-based-standards] (PRIXLEAST8): Likewise.
12744         [C99-based-standards] (SCNdLEAST8): Likewise.
12745         [C99-based-standards] (SCNiLEAST8): Likewise.
12746         [C99-based-standards] (SCNoLEAST8): Likewise.
12747         [C99-based-standards] (SCNuLEAST8): Likewise.
12748         [C99-based-standards] (SCNxLEAST8): Likewise.
12749         [C99-based-standards] (PRIdFAST8): Likewise.
12750         [C99-based-standards] (PRIiFAST8): Likewise.
12751         [C99-based-standards] (PRIoFAST8): Likewise.
12752         [C99-based-standards] (PRIuFAST8): Likewise.
12753         [C99-based-standards] (PRIxFAST8): Likewise.
12754         [C99-based-standards] (PRIXFAST8): Likewise.
12755         [C99-based-standards] (SCNdFAST8): Likewise.
12756         [C99-based-standards] (SCNiFAST8): Likewise.
12757         [C99-based-standards] (SCNoFAST8): Likewise.
12758         [C99-based-standards] (SCNuFAST8): Likewise.
12759         [C99-based-standards] (SCNxFAST8): Likewise.
12760         [C99-based-standards] (PRId16): Likewise.
12761         [C99-based-standards] (PRIi16): Likewise.
12762         [C99-based-standards] (PRIo16): Likewise.
12763         [C99-based-standards] (PRIu16): Likewise.
12764         [C99-based-standards] (PRIx16): Likewise.
12765         [C99-based-standards] (PRIX16): Likewise.
12766         [C99-based-standards] (SCNd16): Likewise.
12767         [C99-based-standards] (SCNi16): Likewise.
12768         [C99-based-standards] (SCNo16): Likewise.
12769         [C99-based-standards] (SCNu16): Likewise.
12770         [C99-based-standards] (SCNx16): Likewise.
12771         [C99-based-standards] (PRIdLEAST16): Likewise.
12772         [C99-based-standards] (PRIiLEAST16): Likewise.
12773         [C99-based-standards] (PRIoLEAST16): Likewise.
12774         [C99-based-standards] (PRIuLEAST16): Likewise.
12775         [C99-based-standards] (PRIxLEAST16): Likewise.
12776         [C99-based-standards] (PRIXLEAST16): Likewise.
12777         [C99-based-standards] (SCNdLEAST16): Likewise.
12778         [C99-based-standards] (SCNiLEAST16): Likewise.
12779         [C99-based-standards] (SCNoLEAST16): Likewise.
12780         [C99-based-standards] (SCNuLEAST16): Likewise.
12781         [C99-based-standards] (SCNxLEAST16): Likewise.
12782         [C99-based-standards] (PRIdFAST16): Likewise.
12783         [C99-based-standards] (PRIiFAST16): Likewise.
12784         [C99-based-standards] (PRIoFAST16): Likewise.
12785         [C99-based-standards] (PRIuFAST16): Likewise.
12786         [C99-based-standards] (PRIxFAST16): Likewise.
12787         [C99-based-standards] (PRIXFAST16): Likewise.
12788         [C99-based-standards] (SCNdFAST16): Likewise.
12789         [C99-based-standards] (SCNiFAST16): Likewise.
12790         [C99-based-standards] (SCNoFAST16): Likewise.
12791         [C99-based-standards] (SCNuFAST16): Likewise.
12792         [C99-based-standards] (SCNxFAST16): Likewise.
12793         [C99-based-standards] (PRId32): Likewise.
12794         [C99-based-standards] (PRIi32): Likewise.
12795         [C99-based-standards] (PRIo32): Likewise.
12796         [C99-based-standards] (PRIu32): Likewise.
12797         [C99-based-standards] (PRIx32): Likewise.
12798         [C99-based-standards] (PRIX32): Likewise.
12799         [C99-based-standards] (SCNd32): Likewise.
12800         [C99-based-standards] (SCNi32): Likewise.
12801         [C99-based-standards] (SCNo32): Likewise.
12802         [C99-based-standards] (SCNu32): Likewise.
12803         [C99-based-standards] (SCNx32): Likewise.
12804         [C99-based-standards] (PRIdLEAST32): Likewise.
12805         [C99-based-standards] (PRIiLEAST32): Likewise.
12806         [C99-based-standards] (PRIoLEAST32): Likewise.
12807         [C99-based-standards] (PRIuLEAST32): Likewise.
12808         [C99-based-standards] (PRIxLEAST32): Likewise.
12809         [C99-based-standards] (PRIXLEAST32): Likewise.
12810         [C99-based-standards] (SCNdLEAST32): Likewise.
12811         [C99-based-standards] (SCNiLEAST32): Likewise.
12812         [C99-based-standards] (SCNoLEAST32): Likewise.
12813         [C99-based-standards] (SCNuLEAST32): Likewise.
12814         [C99-based-standards] (SCNxLEAST32): Likewise.
12815         [C99-based-standards] (PRIdFAST32): Likewise.
12816         [C99-based-standards] (PRIiFAST32): Likewise.
12817         [C99-based-standards] (PRIoFAST32): Likewise.
12818         [C99-based-standards] (PRIuFAST32): Likewise.
12819         [C99-based-standards] (PRIxFAST32): Likewise.
12820         [C99-based-standards] (PRIXFAST32): Likewise.
12821         [C99-based-standards] (SCNdFAST32): Likewise.
12822         [C99-based-standards] (SCNiFAST32): Likewise.
12823         [C99-based-standards] (SCNoFAST32): Likewise.
12824         [C99-based-standards] (SCNuFAST32): Likewise.
12825         [C99-based-standards] (SCNxFAST32): Likewise.
12826         [C99-based-standards] (PRId64): Likewise.
12827         [C99-based-standards] (PRIi64): Likewise.
12828         [C99-based-standards] (PRIo64): Likewise.
12829         [C99-based-standards] (PRIu64): Likewise.
12830         [C99-based-standards] (PRIx64): Likewise.
12831         [C99-based-standards] (PRIX64): Likewise.
12832         [C99-based-standards] (SCNd64): Likewise.
12833         [C99-based-standards] (SCNi64): Likewise.
12834         [C99-based-standards] (SCNo64): Likewise.
12835         [C99-based-standards] (SCNu64): Likewise.
12836         [C99-based-standards] (SCNx64): Likewise.
12837         [C99-based-standards] (PRIdLEAST64): Likewise.
12838         [C99-based-standards] (PRIiLEAST64): Likewise.
12839         [C99-based-standards] (PRIoLEAST64): Likewise.
12840         [C99-based-standards] (PRIuLEAST64): Likewise.
12841         [C99-based-standards] (PRIxLEAST64): Likewise.
12842         [C99-based-standards] (PRIXLEAST64): Likewise.
12843         [C99-based-standards] (SCNdLEAST64): Likewise.
12844         [C99-based-standards] (SCNiLEAST64): Likewise.
12845         [C99-based-standards] (SCNoLEAST64): Likewise.
12846         [C99-based-standards] (SCNuLEAST64): Likewise.
12847         [C99-based-standards] (SCNxLEAST64): Likewise.
12848         [C99-based-standards] (PRIdFAST64): Likewise.
12849         [C99-based-standards] (PRIiFAST64): Likewise.
12850         [C99-based-standards] (PRIoFAST64): Likewise.
12851         [C99-based-standards] (PRIuFAST64): Likewise.
12852         [C99-based-standards] (PRIxFAST64): Likewise.
12853         [C99-based-standards] (PRIXFAST64): Likewise.
12854         [C99-based-standards] (SCNdFAST64): Likewise.
12855         [C99-based-standards] (SCNiFAST64): Likewise.
12856         [C99-based-standards] (SCNoFAST64): Likewise.
12857         [C99-based-standards] (SCNuFAST64): Likewise.
12858         [C99-based-standards] (SCNxFAST64): Likewise.
12859         [C99-based-standards] (PRIdMAX): Likewise.
12860         [C99-based-standards] (PRIiMAX): Likewise.
12861         [C99-based-standards] (PRIoMAX): Likewise.
12862         [C99-based-standards] (PRIuMAX): Likewise.
12863         [C99-based-standards] (PRIxMAX): Likewise.
12864         [C99-based-standards] (PRIXMAX): Likewise.
12865         [C99-based-standards] (SCNdMAX): Likewise.
12866         [C99-based-standards] (SCNiMAX): Likewise.
12867         [C99-based-standards] (SCNoMAX): Likewise.
12868         [C99-based-standards] (SCNuMAX): Likewise.
12869         [C99-based-standards] (SCNxMAX): Likewise.
12870         [C99-based-standards] (PRIdPTR): Likewise.
12871         [C99-based-standards] (PRIiPTR): Likewise.
12872         [C99-based-standards] (PRIoPTR): Likewise.
12873         [C99-based-standards] (PRIuPTR): Likewise.
12874         [C99-based-standards] (PRIxPTR): Likewise.
12875         [C99-based-standards] (PRIXPTR): Likewise.
12876         [C99-based-standards] (SCNdPTR): Likewise.
12877         [C99-based-standards] (SCNiPTR): Likewise.
12878         [C99-based-standards] (SCNoPTR): Likewise.
12879         [C99-based-standards] (SCNuPTR): Likewise.
12880         [C99-based-standards] (SCNxPTR): Likewise.
12881         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12882         allow.
12883         * conform/data/stdint.h-data: Update comments to clarify
12884         requirements.
12885         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
12886         type.
12887         [C99-based standards] (INT8_MAX): Likewise.
12888         [C99-based standards] (INT16_MIN): Likewise.
12889         [C99-based standards] (INT16_MAX): Likewise.
12890         [C99-based standards] (INT32_MIN): Likewise.
12891         [C99-based standards] (INT32_MAX): Likewise.
12892         [C99-based standards] (INT64_MIN): Likewise.
12893         [C99-based standards] (INT64_MAX): Likewise.
12894         [C99-based standards] (UINT8_MAX): Likewise.
12895         [C99-based standards] (UINT16_MAX): Likewise.
12896         [C99-based standards] (UINT32_MAX): Likewise.
12897         [C99-based standards] (UINT64_MAX): Likewise.
12898         [C99-based standards] (INT_LEAST8_MIN): Likewise.
12899         [C99-based standards] (INT_LEAST8_MAX): Likewise.
12900         [C99-based standards] (INT_LEAST16_MIN): Likewise.
12901         [C99-based standards] (INT_LEAST16_MAX): Likewise.
12902         [C99-based standards] (INT_LEAST32_MIN): Likewise.
12903         [C99-based standards] (INT_LEAST32_MAX): Likewise.
12904         [C99-based standards] (INT_LEAST64_MIN): Likewise.
12905         [C99-based standards] (INT_LEAST64_MAX): Likewise.
12906         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12907         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12908         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12909         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12910         [C99-based standards] (INT_FAST8_MIN): Likewise.
12911         [C99-based standards] (INT_FAST8_MAX): Likewise.
12912         [C99-based standards] (INT_FAST16_MIN): Likewise.
12913         [C99-based standards] (INT_FAST16_MAX): Likewise.
12914         [C99-based standards] (INT_FAST32_MIN): Likewise.
12915         [C99-based standards] (INT_FAST32_MAX): Likewise.
12916         [C99-based standards] (INT_FAST64_MIN): Likewise.
12917         [C99-based standards] (INT_FAST64_MAX): Likewise.
12918         [C99-based standards] (UINT_FAST8_MAX): Likewise.
12919         [C99-based standards] (UINT_FAST16_MAX): Likewise.
12920         [C99-based standards] (UINT_FAST32_MAX): Likewise.
12921         [C99-based standards] (UINT_FAST64_MAX): Likewise.
12922         [C99-based standards] (INTPTR_MIN): Likewise.
12923         [C99-based standards] (INTPTR_MAX): Likewise.
12924         [C99-based standards] (UINTPTR_MAX): Likewise.
12925         [C99-based standards] (INTMAX_MIN): Likewise.
12926         [C99-based standards] (INTMAX_MAX): Likewise.
12927         [C99-based standards] (UINTMAX_MAX): Likewise.
12928         [C99-based standards] (PTRDIFF_MIN): Likewise.
12929         [C99-based standards] (PTRDIFF_MAX): Likewise.
12930         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12931         [C99-based standards] (SIZE_MAX): Likewise.
12932         [C99-based standards] (WCHAR_MAX): Likewise.
12933         [C99-based standards] (WINT_MAX): Likewise.
12934         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
12935         constraint on value.
12936         [C99-based standards] (WCHAR_MIN): Likewise.
12937         [C99-based standards] (WINT_MIN): Likewise.
12938         [C99-based standards] (*_t): Allow.
12939         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12940         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12941         Include math.h-data and complex.h-data.  Remove all expectations
12942         of math.h and complex.h contents.
12943         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12944         at end of line.
12945         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12946         (struct tm): Expect tag.
12947         [C99-based-standards] (wcstof): Expect function.
12948         [C99-based-standards] (wcstold): Likewise.
12949         [C99-based-standards] (wcstoll): Likewise.
12950         [C99-based-standards] (wcstoull): Likewise.
12951         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12952         macro-int-constant.  Specify type.
12953         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
12954         constraint on value.
12955         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12956         Specify type.
12957         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12958         Specify value.
12959         [ISO C standards]: Do not allow headers.
12960         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12961         wcs[abcdefghijklmnopqrstuvwxyz]*.
12962         [ISO C standards] (*_t): Do not allow.
12963         * conform/data/wctype.h-data [C99-based standards] (iswblank):
12964         Expect function.
12965         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12966         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12967         Specify type.
12968         [ISO C standards]: Do not allow headers.
12969         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12970         is[abcdefghijklmnopqrstuvwxyz]*.
12971         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12972         to[abcdefghijklmnopqrstuvwxyz]*.
12973         [ISO C standards] (*_t): Do not allow.
12974         * conform/data/stdalign.h-data: New file.
12975         * conform/data/stdbool.h-data: Likewise.
12976         * conform/data/stdnoreturn.h-data: Likewise.
12978 2012-11-07  Roland McGrath  <roland@hack.frob.com>
12980         [BZ #14815]
12981         * manual/filesys.texi (Directory Entries): Typo fix.
12982         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12984 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12986         * elf/elf.h (EM_AARCH64): New macro.
12987         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12988         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12989         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12990         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12991         (R_AARCH64_TLSDESC): Likewise.
12992         (NT_ARM_TLS): Likewise.
12993         (NT_ARM_HW_BREAK): Likewise.
12994         (NT_ARM_HW_WATCH): Likewise.
12996 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12998         [BZ #14811]
12999         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13000         (__ieee754_powl): Saturate nonzero exponents with absolute value
13001         below 0x1p-79 to +/- 0x1p-79.
13002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13003         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13004         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13005         nonzero exponents with absolute value below 0x1p-32 to +/-
13006         0x1p-32.
13007         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13008         (__ieee754_powl): Saturate nonzero exponents with absolute value
13009         below 0x1p-79 to +/- 0x1p-79.
13010         * math/libm-test.inc (pow_test): Add more tests.
13012 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13014         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13015         _dl_s390_cap_flags with kernel. Increase string length.
13016         (_dl_s390_platforms): Add z196 and zEC12.
13018 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13020         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13021         Change XOPEN21K to XOPEN2K.
13023 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13025         * string/memmove.c: Use memcpy when possible.
13027 2012-11-06  Andreas Jaeger  <aj@suse.de>
13029         * po/eo.po: Update from translation team.
13031 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13033         [BZ #14793]
13034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13035         exponent and small x and y exponents, scale x or y up.  Increase
13036         by 2 the exponent used in scaling up.
13037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13038         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13039         * math/libm-test.inc (fma_test): Add more tests.
13040         (fma_test_towardzero): Likewise.
13041         (fma_test_downward): Likewise.
13042         (fma_test_upward): Likewise.
13044 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #14805]
13047         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13048         fenv_t *.
13050         [BZ #14801]
13051         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13052         namespace for names of struct fields.
13053         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13054         fenv_t fields.
13055         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13056         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13058 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13060         [BZ #3665]
13061         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13063 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13065         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13066         PTR_DEMANGLE.
13068         [BZ #5246]
13069         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13070         PTR_DEMANGLE.
13072 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13074         [BZ #14797]
13075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13076         definitely overflow as x * y not x * y + z.
13077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13079         * math/libm-test.inc (fma_test): Add more tests.
13080         (fma_test_towardzero): Likewise.
13081         (fma_test_downward): Likewise.
13082         (fma_test_upward): Likewise.
13084 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13086         [BZ #157]
13088         * include/stub-tag.h: Remove file.
13089         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13090         '#include' of it.
13091         * manual/maint.texi (Porting): Don't reference it.
13092         * Makerules ($(objpfx)stubs): Likewise.
13093         * dirent/closedir.c: Don't include <stub-tag.h>.
13094         * dirent/dirfd.c: Likewise.
13095         * dirent/fdopendir.c: Likewise.
13096         * dirent/getdents.c: Likewise.
13097         * dirent/getdents64.c: Likewise.
13098         * dirent/opendir.c: Likewise.
13099         * dirent/readdir.c: Likewise.
13100         * dirent/readdir64.c: Likewise.
13101         * dirent/readdir64_r.c: Likewise.
13102         * dirent/readdir_r.c: Likewise.
13103         * dirent/rewinddir.c: Likewise.
13104         * dirent/seekdir.c: Likewise.
13105         * dirent/telldir.c: Likewise.
13106         * gmon/profil.c: Likewise.
13107         * grp/setgroups.c: Likewise.
13108         * inet/if_index.c: Likewise.
13109         * io/access.c: Likewise.
13110         * io/chdir.c: Likewise.
13111         * io/chmod.c: Likewise.
13112         * io/chown.c: Likewise.
13113         * io/close.c: Likewise.
13114         * io/dup.c: Likewise.
13115         * io/dup2.c: Likewise.
13116         * io/dup3.c: Likewise.
13117         * io/euidaccess.c: Likewise.
13118         * io/faccessat.c: Likewise.
13119         * io/fchdir.c: Likewise.
13120         * io/fchmod.c: Likewise.
13121         * io/fchmodat.c: Likewise.
13122         * io/fchown.c: Likewise.
13123         * io/fchownat.c: Likewise.
13124         * io/fcntl.c: Likewise.
13125         * io/flock.c: Likewise.
13126         * io/fstatfs.c: Likewise.
13127         * io/fstatfs64.c: Likewise.
13128         * io/fstatvfs.c: Likewise.
13129         * io/fstatvfs64.c: Likewise.
13130         * io/futimens.c: Likewise.
13131         * io/fxstat.c: Likewise.
13132         * io/fxstat64.c: Likewise.
13133         * io/fxstatat.c: Likewise.
13134         * io/fxstatat64.c: Likewise.
13135         * io/getcwd.c: Likewise.
13136         * io/isatty.c: Likewise.
13137         * io/lchmod.c: Likewise.
13138         * io/lchown.c: Likewise.
13139         * io/link.c: Likewise.
13140         * io/linkat.c: Likewise.
13141         * io/lseek.c: Likewise.
13142         * io/lseek64.c: Likewise.
13143         * io/lxstat64.c: Likewise.
13144         * io/mkdir.c: Likewise.
13145         * io/mkdirat.c: Likewise.
13146         * io/mkfifo.c: Likewise.
13147         * io/mkfifoat.c: Likewise.
13148         * io/open.c: Likewise.
13149         * io/open64.c: Likewise.
13150         * io/openat.c: Likewise.
13151         * io/openat64.c: Likewise.
13152         * io/pipe.c: Likewise.
13153         * io/pipe2.c: Likewise.
13154         * io/poll.c: Likewise.
13155         * io/posix_fadvise.c: Likewise.
13156         * io/posix_fadvise64.c: Likewise.
13157         * io/posix_fallocate.c: Likewise.
13158         * io/posix_fallocate64.c: Likewise.
13159         * io/read.c: Likewise.
13160         * io/readlink.c: Likewise.
13161         * io/readlinkat.c: Likewise.
13162         * io/rmdir.c: Likewise.
13163         * io/sendfile.c: Likewise.
13164         * io/sendfile64.c: Likewise.
13165         * io/statfs.c: Likewise.
13166         * io/statfs64.c: Likewise.
13167         * io/statvfs.c: Likewise.
13168         * io/statvfs64.c: Likewise.
13169         * io/symlink.c: Likewise.
13170         * io/symlinkat.c: Likewise.
13171         * io/ttyname.c: Likewise.
13172         * io/ttyname_r.c: Likewise.
13173         * io/umask.c: Likewise.
13174         * io/unlink.c: Likewise.
13175         * io/unlinkat.c: Likewise.
13176         * io/utime.c: Likewise.
13177         * io/utimensat.c: Likewise.
13178         * io/write.c: Likewise.
13179         * io/xmknod.c: Likewise.
13180         * io/xmknodat.c: Likewise.
13181         * io/xstat.c: Likewise.
13182         * io/xstat64.c: Likewise.
13183         * login/getpt.c: Likewise.
13184         * login/grantpt.c: Likewise.
13185         * login/unlockpt.c: Likewise.
13186         * math/e_acoshl.c: Likewise.
13187         * math/e_acosl.c: Likewise.
13188         * math/e_asinl.c: Likewise.
13189         * math/e_atan2l.c: Likewise.
13190         * math/e_atanhl.c: Likewise.
13191         * math/e_coshl.c: Likewise.
13192         * math/e_expl.c: Likewise.
13193         * math/e_fmodl.c: Likewise.
13194         * math/e_gammal_r.c: Likewise.
13195         * math/e_hypotl.c: Likewise.
13196         * math/e_j0l.c: Likewise.
13197         * math/e_j1l.c: Likewise.
13198         * math/e_jnl.c: Likewise.
13199         * math/e_lgammal_r.c: Likewise.
13200         * math/e_log10l.c: Likewise.
13201         * math/e_log2l.c: Likewise.
13202         * math/e_logl.c: Likewise.
13203         * math/e_powl.c: Likewise.
13204         * math/e_rem_pio2l.c: Likewise.
13205         * math/e_sinhl.c: Likewise.
13206         * math/e_sqrtl.c: Likewise.
13207         * math/fclrexcpt.c: Likewise.
13208         * math/fedisblxcpt.c: Likewise.
13209         * math/feenablxcpt.c: Likewise.
13210         * math/fegetenv.c: Likewise.
13211         * math/fegetexcept.c: Likewise.
13212         * math/fegetround.c: Likewise.
13213         * math/feholdexcpt.c: Likewise.
13214         * math/fesetenv.c: Likewise.
13215         * math/fesetround.c: Likewise.
13216         * math/feupdateenv.c: Likewise.
13217         * math/fgetexcptflg.c: Likewise.
13218         * math/fraiseexcpt.c: Likewise.
13219         * math/fsetexcptflg.c: Likewise.
13220         * math/ftestexcept.c: Likewise.
13221         * math/k_cosl.c: Likewise.
13222         * math/k_rem_pio2l.c: Likewise.
13223         * math/k_sinl.c: Likewise.
13224         * math/k_tanl.c: Likewise.
13225         * math/s_asinhl.c: Likewise.
13226         * math/s_atanl.c: Likewise.
13227         * math/s_cbrtl.c: Likewise.
13228         * math/s_erfl.c: Likewise.
13229         * math/s_expm1l.c: Likewise.
13230         * math/s_log1pl.c: Likewise.
13231         * math/s_tanhl.c: Likewise.
13232         * misc/acct.c: Likewise.
13233         * misc/brk.c: Likewise.
13234         * misc/chflags.c: Likewise.
13235         * misc/chroot.c: Likewise.
13236         * misc/fchflags.c: Likewise.
13237         * misc/fgetxattr.c: Likewise.
13238         * misc/flistxattr.c: Likewise.
13239         * misc/fremovexattr.c: Likewise.
13240         * misc/fsetxattr.c: Likewise.
13241         * misc/fsync.c: Likewise.
13242         * misc/ftruncate.c: Likewise.
13243         * misc/futimes.c: Likewise.
13244         * misc/futimesat.c: Likewise.
13245         * misc/getdomain.c: Likewise.
13246         * misc/getdtsz.c: Likewise.
13247         * misc/gethostid.c: Likewise.
13248         * misc/gethostname.c: Likewise.
13249         * misc/getloadavg.c: Likewise.
13250         * misc/getpagesize.c: Likewise.
13251         * misc/getsysstats.c: Likewise.
13252         * misc/getxattr.c: Likewise.
13253         * misc/gtty.c: Likewise.
13254         * misc/ioctl.c: Likewise.
13255         * misc/lgetxattr.c: Likewise.
13256         * misc/listxattr.c: Likewise.
13257         * misc/llistxattr.c: Likewise.
13258         * misc/lremovexattr.c: Likewise.
13259         * misc/lsetxattr.c: Likewise.
13260         * misc/lutimes.c: Likewise.
13261         * misc/madvise.c: Likewise.
13262         * misc/mincore.c: Likewise.
13263         * misc/mlock.c: Likewise.
13264         * misc/mlockall.c: Likewise.
13265         * misc/mmap.c: Likewise.
13266         * misc/mprotect.c: Likewise.
13267         * misc/msync.c: Likewise.
13268         * misc/munlock.c: Likewise.
13269         * misc/munlockall.c: Likewise.
13270         * misc/munmap.c: Likewise.
13271         * misc/preadv.c: Likewise.
13272         * misc/preadv64.c: Likewise.
13273         * misc/ptrace.c: Likewise.
13274         * misc/pwritev.c: Likewise.
13275         * misc/pwritev64.c: Likewise.
13276         * misc/readv.c: Likewise.
13277         * misc/reboot.c: Likewise.
13278         * misc/remap_file_pages.c: Likewise.
13279         * misc/removexattr.c: Likewise.
13280         * misc/revoke.c: Likewise.
13281         * misc/select.c: Likewise.
13282         * misc/setdomain.c: Likewise.
13283         * misc/setegid.c: Likewise.
13284         * misc/seteuid.c: Likewise.
13285         * misc/sethostid.c: Likewise.
13286         * misc/sethostname.c: Likewise.
13287         * misc/setregid.c: Likewise.
13288         * misc/setreuid.c: Likewise.
13289         * misc/setxattr.c: Likewise.
13290         * misc/sstk.c: Likewise.
13291         * misc/stty.c: Likewise.
13292         * misc/swapoff.c: Likewise.
13293         * misc/swapon.c: Likewise.
13294         * misc/sync.c: Likewise.
13295         * misc/syncfs.c: Likewise.
13296         * misc/syscall.c: Likewise.
13297         * misc/truncate.c: Likewise.
13298         * misc/ualarm.c: Likewise.
13299         * misc/usleep.c: Likewise.
13300         * misc/ustat.c: Likewise.
13301         * misc/utimes.c: Likewise.
13302         * misc/vhangup.c: Likewise.
13303         * misc/writev.c: Likewise.
13304         * posix/_exit.c: Likewise.
13305         * posix/alarm.c: Likewise.
13306         * posix/execve.c: Likewise.
13307         * posix/fexecve.c: Likewise.
13308         * posix/fork.c: Likewise.
13309         * posix/fpathconf.c: Likewise.
13310         * posix/getaddrinfo.c: Likewise.
13311         * posix/getegid.c: Likewise.
13312         * posix/geteuid.c: Likewise.
13313         * posix/getgid.c: Likewise.
13314         * posix/getgroups.c: Likewise.
13315         * posix/getlogin.c: Likewise.
13316         * posix/getlogin_r.c: Likewise.
13317         * posix/getpgid.c: Likewise.
13318         * posix/getpid.c: Likewise.
13319         * posix/getppid.c: Likewise.
13320         * posix/getresgid.c: Likewise.
13321         * posix/getresuid.c: Likewise.
13322         * posix/getsid.c: Likewise.
13323         * posix/getuid.c: Likewise.
13324         * posix/glob64.c: Likewise.
13325         * posix/nanosleep.c: Likewise.
13326         * posix/pathconf.c: Likewise.
13327         * posix/pause.c: Likewise.
13328         * posix/posix_madvise.c: Likewise.
13329         * posix/pread.c: Likewise.
13330         * posix/pread64.c: Likewise.
13331         * posix/pwrite.c: Likewise.
13332         * posix/pwrite64.c: Likewise.
13333         * posix/sched_getaffinity.c: Likewise.
13334         * posix/sched_getp.c: Likewise.
13335         * posix/sched_gets.c: Likewise.
13336         * posix/sched_primax.c: Likewise.
13337         * posix/sched_primin.c: Likewise.
13338         * posix/sched_rr_gi.c: Likewise.
13339         * posix/sched_setaffinity.c: Likewise.
13340         * posix/sched_setp.c: Likewise.
13341         * posix/sched_sets.c: Likewise.
13342         * posix/sched_yield.c: Likewise.
13343         * posix/setgid.c: Likewise.
13344         * posix/setlogin.c: Likewise.
13345         * posix/setpgid.c: Likewise.
13346         * posix/setresgid.c: Likewise.
13347         * posix/setresuid.c: Likewise.
13348         * posix/setsid.c: Likewise.
13349         * posix/setuid.c: Likewise.
13350         * posix/sleep.c: Likewise.
13351         * posix/spawni.c: Likewise.
13352         * posix/sysconf.c: Likewise.
13353         * posix/times.c: Likewise.
13354         * posix/wait.c: Likewise.
13355         * posix/wait3.c: Likewise.
13356         * posix/wait4.c: Likewise.
13357         * posix/waitpid.c: Likewise.
13358         * resolv/gai_sigqueue.c: Likewise.
13359         * resource/getpriority.c: Likewise.
13360         * resource/getrlimit.c: Likewise.
13361         * resource/getrusage.c: Likewise.
13362         * resource/nice.c: Likewise.
13363         * resource/setpriority.c: Likewise.
13364         * resource/setrlimit.c: Likewise.
13365         * resource/ulimit.c: Likewise.
13366         * rt/aio_cancel.c: Likewise.
13367         * rt/aio_fsync.c: Likewise.
13368         * rt/aio_read.c: Likewise.
13369         * rt/aio_sigqueue.c: Likewise.
13370         * rt/aio_suspend.c: Likewise.
13371         * rt/aio_write.c: Likewise.
13372         * rt/clock_getres.c: Likewise.
13373         * rt/clock_gettime.c: Likewise.
13374         * rt/clock_nanosleep.c: Likewise.
13375         * rt/clock_settime.c: Likewise.
13376         * rt/lio_listio.c: Likewise.
13377         * rt/mq_close.c: Likewise.
13378         * rt/mq_getattr.c: Likewise.
13379         * rt/mq_notify.c: Likewise.
13380         * rt/mq_open.c: Likewise.
13381         * rt/mq_receive.c: Likewise.
13382         * rt/mq_send.c: Likewise.
13383         * rt/mq_setattr.c: Likewise.
13384         * rt/mq_timedreceive.c: Likewise.
13385         * rt/mq_timedsend.c: Likewise.
13386         * rt/mq_unlink.c: Likewise.
13387         * rt/shm_open.c: Likewise.
13388         * rt/shm_unlink.c: Likewise.
13389         * rt/timer_create.c: Likewise.
13390         * rt/timer_delete.c: Likewise.
13391         * rt/timer_getoverr.c: Likewise.
13392         * rt/timer_gettime.c: Likewise.
13393         * rt/timer_settime.c: Likewise.
13394         * setjmp/__longjmp.c: Likewise.
13395         * setjmp/setjmp.c: Likewise.
13396         * signal/kill.c: Likewise.
13397         * signal/killpg.c: Likewise.
13398         * signal/raise.c: Likewise.
13399         * signal/sigaction.c: Likewise.
13400         * signal/sigaltstack.c: Likewise.
13401         * signal/sigblock.c: Likewise.
13402         * signal/sigignore.c: Likewise.
13403         * signal/sigintr.c: Likewise.
13404         * signal/signal.c: Likewise.
13405         * signal/sigpause.c: Likewise.
13406         * signal/sigpending.c: Likewise.
13407         * signal/sigqueue.c: Likewise.
13408         * signal/sigreturn.c: Likewise.
13409         * signal/sigset.c: Likewise.
13410         * signal/sigsetmask.c: Likewise.
13411         * signal/sigstack.c: Likewise.
13412         * signal/sigsuspend.c: Likewise.
13413         * signal/sigtimedwait.c: Likewise.
13414         * signal/sigvec.c: Likewise.
13415         * signal/sigwait.c: Likewise.
13416         * signal/sigwaitinfo.c: Likewise.
13417         * signal/sysv_signal.c: Likewise.
13418         * socket/accept.c: Likewise.
13419         * socket/accept4.c: Likewise.
13420         * socket/bind.c: Likewise.
13421         * socket/connect.c: Likewise.
13422         * socket/getpeername.c: Likewise.
13423         * socket/getsockname.c: Likewise.
13424         * socket/getsockopt.c: Likewise.
13425         * socket/isfdtype.c: Likewise.
13426         * socket/listen.c: Likewise.
13427         * socket/recv.c: Likewise.
13428         * socket/recvfrom.c: Likewise.
13429         * socket/recvmsg.c: Likewise.
13430         * socket/send.c: Likewise.
13431         * socket/sendmsg.c: Likewise.
13432         * socket/sendto.c: Likewise.
13433         * socket/setsockopt.c: Likewise.
13434         * socket/shutdown.c: Likewise.
13435         * socket/sockatmark.c: Likewise.
13436         * socket/socket.c: Likewise.
13437         * socket/socketpair.c: Likewise.
13438         * stdio-common/ctermid.c: Likewise.
13439         * stdio-common/cuserid.c: Likewise.
13440         * stdio-common/remove.c: Likewise.
13441         * stdio-common/rename.c: Likewise.
13442         * stdio-common/renameat.c: Likewise.
13443         * stdio-common/tempname.c: Likewise.
13444         * stdlib/getcontext.c: Likewise.
13445         * stdlib/makecontext.c: Likewise.
13446         * stdlib/setcontext.c: Likewise.
13447         * stdlib/swapcontext.c: Likewise.
13448         * stdlib/system.c: Likewise.
13449         * streams/fattach.c: Likewise.
13450         * streams/fdetach.c: Likewise.
13451         * streams/getmsg.c: Likewise.
13452         * streams/getpmsg.c: Likewise.
13453         * streams/putmsg.c: Likewise.
13454         * streams/putpmsg.c: Likewise.
13455         * sysdeps/unix/bsd/getpt.c: Likewise.
13456         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13457         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13458         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13460         Likewise.
13461         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13462         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13463         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13464         * sysvipc/msgctl.c: Likewise.
13465         * sysvipc/msgget.c: Likewise.
13466         * sysvipc/msgrcv.c: Likewise.
13467         * sysvipc/msgsnd.c: Likewise.
13468         * sysvipc/semctl.c: Likewise.
13469         * sysvipc/semget.c: Likewise.
13470         * sysvipc/semop.c: Likewise.
13471         * sysvipc/semtimedop.c: Likewise.
13472         * sysvipc/shmat.c: Likewise.
13473         * sysvipc/shmctl.c: Likewise.
13474         * sysvipc/shmdt.c: Likewise.
13475         * sysvipc/shmget.c: Likewise.
13476         * termios/tcdrain.c: Likewise.
13477         * termios/tcflow.c: Likewise.
13478         * termios/tcflush.c: Likewise.
13479         * termios/tcgetattr.c: Likewise.
13480         * termios/tcgetpgrp.c: Likewise.
13481         * termios/tcsendbrk.c: Likewise.
13482         * termios/tcsetattr.c: Likewise.
13483         * termios/tcsetpgrp.c: Likewise.
13484         * time/adjtime.c: Likewise.
13485         * time/clock.c: Likewise.
13486         * time/getitimer.c: Likewise.
13487         * time/gettimeofday.c: Likewise.
13488         * time/setitimer.c: Likewise.
13489         * time/settimeofday.c: Likewise.
13490         * time/stime.c: Likewise.
13491         * time/time.c: Likewise.
13493 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13495         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13496         /usr/old/bin.
13498         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13499         instead of spaces.
13500         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13502 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #14796]
13505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13506         FE_TONEAREST before applying Dekker multiplication and Knuth
13507         addition.  Clear inexact exceptions and check for exact zero
13508         results afterwards.
13509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13510         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13511         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13512         * math/libm-test.inc (fma_test): Add more tests.
13513         (fma_test_towardzero): Likewise.
13514         (fma_test_downward): Likewise.
13515         (fma_test_upward): Likewise.
13516         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13517         function.
13518         (libc_fesetround): New macro.
13519         (libc_fesetroundf): Likewise.
13520         (libc_fesetroundl): Likewise.
13521         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13522         function.
13523         (libc_fesetround_387): Likewise.
13524         (libc_fesetroundf): New macro.
13525         (libc_fesetround): Likewise.
13526         (libc_fesetroundl): Likewise.
13527         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13528         function.
13529         (libc_fesetroundf): New macro.
13530         (libc_fesetround): Likewise.
13531         (libc_fesetroundl): Likewise.
13532         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13533         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13534         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13535         libm_hidden_ver.
13536         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13537         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13538         libm_hidden_def.
13539         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13540         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13541         libm_hidden_ver.
13542         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13543         libm_hidden_def.
13545         [BZ #3439]
13546         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13547         integer constant usable in #if and use that to give value to enum
13548         constant.
13549         (FE_DIVBYZERO): Likewise.
13550         (FE_UNDERFLOW): Likewise.
13551         (FE_OVERFLOW): Likewise.
13552         (FE_INVALID): Likewise.
13553         (FE_INVALID_SNAN): Likewise.
13554         (FE_INVALID_ISI): Likewise.
13555         (FE_INVALID_IDI): Likewise.
13556         (FE_INVALID_ZDZ): Likewise.
13557         (FE_INVALID_IMZ): Likewise.
13558         (FE_INVALID_COMPARE): Likewise.
13559         (FE_INVALID_SOFTWARE): Likewise.
13560         (FE_INVALID_SQRT): Likewise.
13561         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13562         (FE_TONEAREST): Likewise.
13563         (FE_TOWARDZERO): Likewise.
13564         (FE_UPWARD): Likewise.
13565         (FE_DOWNWARD): Likewise.
13566         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13567         (FE_DIVBYZERO): Likewise.
13568         (FE_OVERFLOW): Likewise.
13569         (FE_UNDERFLOW): Likewise.
13570         (FE_INEXACT): Likewise.
13571         (FE_TONEAREST): Likewise.
13572         (FE_DOWNWARD): Likewise.
13573         (FE_UPWARD): Likewise.
13574         (FE_TOWARDZERO): Likewise.
13575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13576         (FE_UNDERFLOW): Likewise.
13577         (FE_OVERFLOW): Likewise.
13578         (FE_DIVBYZERO): Likewise.
13579         (FE_INVALID): Likewise.
13580         (FE_TONEAREST): Likewise.
13581         (FE_TOWARDZERO): Likewise.
13582         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13583         (FE_OVERFLOW): Likewise.
13584         (FE_UNDERFLOW): Likewise.
13585         (FE_DIVBYZERO): Likewise.
13586         (FE_INEXACT): Likewise.
13587         (FE_TONEAREST): Likewise.
13588         (FE_TOWARDZERO): Likewise.
13589         (FE_UPWARD): Likewise.
13590         (FE_DOWNWARD): Likewise.
13591         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13592         (FE_DIVBYZERO): Likewise.
13593         (FE_OVERFLOW): Likewise.
13594         (FE_UNDERFLOW): Likewise.
13595         (FE_INEXACT): Likewise.
13596         (FE_TONEAREST): Likewise.
13597         (FE_DOWNWARD): Likewise.
13598         (FE_UPWARD): Likewise.
13599         (FE_TOWARDZERO): Likewise.
13601 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13603         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13605 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13607         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13608         commands.  Quote $PWD.
13609         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13610         -x" by "export".
13611         (remove_newlines): Remove.
13613 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13615         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13616         * stdlib/stdlib.h (atof): Moved to ...
13617         * include/bits/stdlib-float.h: Here.  New file.
13618         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13619         * stdlib/bits/stdlib-float.h: New file.
13620         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13621         -mno-sse -mno-mmx.
13622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13623         <xmmintrin.h>.
13625 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13627         * conform/conformtest.pl (@headers): Add fenv.h.
13628         * conform/data/fenv.h-data: New file.
13629         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13630         include of <math/fenv.h>.
13632         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13633         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13634         && !UNIX98].  Enables tests for XOPEN2K8.
13635         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13636         POSIX2008]: Likewise.
13638         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13639         (struct rusage): Do not expect type or its members.
13641         [BZ #3439]
13642         * math/math.h (FP_NAN): Define macro to integer constant usable in
13643         #if and use that to give value to enum constant.
13644         (FP_INFINITE): Likewise.
13645         (FP_ZERO): Likewise.
13646         (FP_SUBNORMAL): Likewise.
13647         (FP_NORMAL): Likewise.
13649 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13651         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13652         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13653         arguments.
13655 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13657         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13658         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13659         autoconf-time if not.
13660         * configure.in: Remove AC_PREREQ.
13662 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13664         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13665         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13666         of the internal implementation.
13668 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13670         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13671         except include of <misc/sys/syslog.h>.
13673 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13676         function returns with a NULL context exit with zero.
13678 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13680         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13682 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13684         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13685         (run_program_cmd): This.
13686         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13687         (tst_langinfo): New variable.  Use it.
13689 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13691         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13692         floating point opcodes.
13694 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13696         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13697         variable.
13699         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13701         * sysdeps/mach/hurd/powerpc: Remove directory.
13702         * sysdeps/mach/powerpc: Likewise.
13704 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13706         * scripts/check-local-headers.sh: Ignore c++ headers.
13708 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13710         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13711         __libc_cleanup_region_start argument.
13713 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #14784]
13716         [BZ #14785]
13717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13718         x * y using scaling, not as x * y + z.
13719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13721         * math/libm-test.inc (fma_test): Add more tests.
13722         (fma_test_towardzero): Likewise.
13723         (fma_test_downward): Likewise.
13724         (fma_test_upward): Likewise.
13726 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13728         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13730 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13732         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13733         New variable.
13735 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13737         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13739 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13742         Fix sort order.
13743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13744         Likewise.
13746 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13749         Fix the order of the list for glibc 2.17.
13750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13751         Likewise.
13753 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13757 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13759         [BZ #14610]
13760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13761         for low part of x being zero before using __atanl (y).
13762         * math/libm-test.inc (atan2_test): Add another test.
13764         * manual/install.texi (Configuring and compiling): Document
13765         general use of test-wrapper and test-wrapper-env.
13766         * INSTALL: Regenerated.
13768         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13769         (__fma): Do not extract and scale down low bits on after-rounding
13770         systems when result rounded to normal precision would have normal
13771         exponent.
13772         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13773         (__fmal): Do not extract and scale down low bits on after-rounding
13774         systems when result rounded to normal precision would have normal
13775         exponent.
13776         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13777         (__fmal): Do not extract and scale down low bits on after-rounding
13778         systems when result rounded to normal precision would have normal
13779         exponent.
13780         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13781         macro.
13782         (fma_test): Add more tests.
13783         (fma_test_towardzero): Likewise.
13784         (fma_test_downward): Likewise.
13785         (fma_test_upward): Likewise.
13787 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13789         * sysdeps/i386/tininess.h: Renamed to ...
13790         * sysdeps/x86/tininess.h: This.
13791         * sysdeps/x86_64/tininess.h: Removed.
13793 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13795         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13796         input.  Use $(build-program-cmd).
13797         ($(objpfx)tst-array1-static.out): Likewise.
13798         ($(objpfx)tst-array2.out): Likewise.
13799         ($(objpfx)tst-array3.out): Likewise.
13800         ($(objpfx)tst-array4.out): Likewise.
13801         ($(objpfx)tst-array5.out): Likewise.
13802         ($(objpfx)tst-array5-static.out): Likewise.
13804 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13806         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13807         if defined.
13809         * nss/nsswitch.h (nss_interface_function): Provide new
13810         macro for use with NSS functions.
13811         * grp/initgroups.c: Use new macro.
13812         * nss/getXXbyYY.c: Likewise.
13813         * nss/getXXbyYY_r.c: Likewise.
13814         * nss/getXXent.c: Likewise.
13815         * nss/getXXent_r.c: Likewise.
13816         * sysdeps/posix/getaddrinfo.c: Likewise.
13818 2012-10-30  Andreas Jaeger  <aj@suse.de>
13820         * po/ru.po: Update Russion translation from translation project.
13822 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13824         [BZ #14152]
13825         [BZ #14783]
13826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13827         result and shift together with sticky bit instead of replicating
13828         round-to-nearest rounding.
13829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13831         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13832         missing underflow exceptions.
13833         (fma_test_towardzero): Add more tests.
13834         (fma_test_downward): Likewise.
13835         (fma_test_upward): Likewise.
13837         [BZ #14047]
13838         * sysdeps/generic/tininess.h: New file.
13839         * sysdeps/i386/tininess.h: Likewise.
13840         * sysdeps/sh/tininess.h: Likewise.
13841         * sysdeps/x86_64/tininess.h: Likewise.
13842         * stdlib/tst-strtod-underflow.c: Likewise.
13843         * stdlib/tst-tininess.c: Likewise.
13844         * stdlib/strtod_l.c: Include <tininess.h>.
13845         (round_and_return): Do not set errno for exact underflow cases.
13846         Force an underflow exception when setting errno for underflow.
13847         Determine underflow based on rounding to normal precision if
13848         TININESS_AFTER_ROUNDING.
13849         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13850         ERANGE for exact underflow cases.
13851         * stdlib/Makefile (tests): Add tst-tininess and
13852         tst-strtod-underflow.
13853         ($(objpfx)tst-tininess): Use $(link-libm).
13854         ($(objpfx)tst-strtod-underflow): Likewise.
13856 2012-10-30  Andreas Jaeger  <aj@suse.de>
13858         [BZ#14767]
13859         * elf/Makefile (tests): Remove conditional for have-initfini-array
13860         since this is now always required and the variable does not exist
13861         anymore.
13862         (tests-static): Likewise.
13863         (modules-names): Likewise.
13865         * po/eo.po: Add Esperanto translation from translation project.
13867         * elf/tst-array1.c (fini_array): Make writeable so that it can be
13868         merged with constructor/destructor.
13869         (init_array): Likewise.
13870         * elf/tst-array2dep.c (fini_array): Likewise.
13871         (init_array): Likewise.
13873 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
13875         * manual/message.texi: Delete @cartouche tags.
13877 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
13879         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13880         EOPNOTSUPP.
13881         * sysdeps/mach/hurd/fsync.c: Likewise.
13883         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13884         [_POSIX_REALTIME_SIGNALS]: Change condition to
13885         [_POSIX_REALTIME_SIGNALS > 0].
13887 2012-10-27  Andreas Jaeger  <aj@suse.de>
13889         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13890         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13891         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13892         [__WORDSIZE != 64]: Likewise.
13894 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
13896         *  iconvdata/tst-table.sh: Remove ${SHELL}.
13897         *  iconvdata/tst-tables.sh: Likewise.
13899 2012-10-25  David S. Miller  <davem@davemloft.net>
13901         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13902         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13903         of strtoull.
13905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13906         ifunc-impl-list.c
13907         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13908         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13909         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13910         file.
13912 2012-10-25  Roland McGrath  <roland@hack.frob.com>
13914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13915         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13916         __getdirentries.
13918 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13919             Jim Blandy  <jimb@codesourcery.com>
13921         * scripts/cross-test-ssh.sh: New file.
13922         * manual/install.texi (Configuring and compiling): Document use of
13923         cross-test-ssh.sh.
13924         * INSTALL: Regenerated.
13926 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
13928         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13929         EOPNOTSUPP.
13931 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
13933         * Makeconfig (run-program-prefix): Fix comment.
13935 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13936             Jim Blandy  <jimb@codesourcery.com>
13938         * Makeconfig (test-wrapper): New variable,
13939         (test-wrapper-env): Likewise.
13940         [$(cross-compiling) = yes && $(test-wrapper) != ""]
13941         (run-built-tests): Define to yes.
13942         (run-program-prefix): Use $(test-wrapper).
13943         (built-program-cmd): Likewise.
13944         * Rules (make-test-out): Use $(test-wrapper-env) and
13945         $(host-built-program-cmd).
13946         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13947         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13948         tst-pathopt.sh.
13949         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13950         $(test-wrapper-env) to tst-rtld-load-self.sh.
13951         ($(objpfx)order2.out): Use $(test-wrapper).
13952         ($(objpfx)tst-initorder.out): Likewise.
13953         ($(objpfx)tst-initorder2.out): Likewise.
13954         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13955         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13956         (test_wrapper_env): New variable.  Use it to run ld.so.
13957         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13958         Use it to run ld.so.
13959         (test_wrapper_env): Likewise.
13960         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13961         $(test-wrapper) to run-iconv-test.sh.
13962         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13963         (ICONV): Use $test_wrapper.
13964         * posix/Makefile ($(objpfx)globtest.out): Pass
13965         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13966         globtest.sh, not $(run-program-prefix).
13967         * posix/globtest.sh (run_via_rtld_prefix): New variable.
13968         (test_wrapper): Likewise.
13969         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
13970         set together with run_via_rtld_prefix.
13971         (run_program_prefix): Define in terms of test_wrapper and
13972         run_via_rtld_prefix.
13974 2012-10-24  Roland McGrath  <roland@hack.frob.com>
13976         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13977         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13978         Targets removed.
13980         [BZ #14743]
13981         * include/time.h: Remove librt_hidden_proto (clock_gettime).
13982         Declare __clock_getres, __clock_gettime, __clock_settime,
13983         __clock_nanosleep, and __clock_getcpuclockid.
13984         * rt/clock_gettime.c: Define __clock_gettime as an alias.
13985         Remove librt_hidden_def (clock_gettime).
13986         * sysdeps/unix/clock_gettime.c: Likewise.
13987         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13988         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13989         * rt/clock_getres.c: Define __clock_getres as an alias.
13990         * sysdeps/posix/clock_getres.c: Likewise.
13991         * rt/clock_settime.c: Define __clock_settime as an alias.
13992         * sysdeps/unix/clock_settime.c: Likewise.
13993         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13994         * sysdeps/unix/clock_nanosleep.c: Likewise.
13995         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13996         * rt/clock-compat.c: New file.
13997         * rt/Makefile (librt-routines): Add clock-compat and move
13998         $(clock-routines) to ...
13999         (routines): ... here, new variable.
14000         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14001         Don't add get_clockfreq here.
14002         * rt/Versions (libc: GLIBC_2.17): New version set.
14003         Add clock_* symbols here.
14004         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14006         (GLIBC_2.17): Add clock_* symbols.
14007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14011         Likewise.
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14013         Likewise.
14014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14015         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14018         * NEWS: Mention the move.
14020         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14021         Use __open, __read, __close rather than their public counterparts.
14022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14023         (__get_clockfreq_via_cpuinfo): Likewise.
14024         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14025         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14027         * config.h.in (HAVE_IFUNC): New #undef.
14028         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14029         was successful.
14030         * configure: Regenerated.
14032 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14034         * configure.in: Move READELF check to start of file.
14035         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14036         libc_cv_asm_gnu_indirect_function in the process.
14037         * configure: Regenerated.
14039 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14041         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14042         send the output to /dev/null.
14043         (libc_cv_cc_with_libunwind): Likewise.
14044         (libc_cv_as_noexecstack): Likewise.
14045         * configure: Regenerate.
14047 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14049         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14051         * posix/globtest.sh (TMPDIR): Do not set.
14052         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14053         (testout): Likewise.
14055 2012-10-24  Andreas Jaeger  <aj@suse.de>
14057         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14058         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14059         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14060         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14061         posix_fadvise64, posix_fallocate64.
14063         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14064         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14065         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14066         Likewise.
14067         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14068         Likewise.
14069         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14071         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14072         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14073         <bits/fcntl-linux.h>.
14074         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14076         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14077         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14078         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14079         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14080         [__WORDSIZE != 64]: Likewise.
14082 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14084         * Makeconfig (run-built-tests): New variable.
14085         * Rules [$(cross-compiling) = yes]: Change condition to
14086         [$(run-built-tests) = no].
14087         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14088         to [$(run-built-tests) = yes].
14089         * elf/Makefile [$(cross-compiling) = no]: Likewise
14090         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14091         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14092         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14093         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14094         * io/Makefile [$(cross-compiling) = no]: Likewise.
14095         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14096         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14097         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14098         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14099         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14100         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14101         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14102         * string/Makefile [$(cross-compiling) = no]: Likewise.
14104         * posix/Makefile ($(objpfx)globtest.out): Pass
14105         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14106         $(rtld-installed-name).
14107         * posix/globtest.sh (elf_objpfx): Remove variable.
14108         (rtld_installed_name): Likewise.
14109         (library_path): Likewise.
14110         (run_program_prefix): New variable.  Use for running globtest
14111         binary.
14113 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14114             Joseph Myers  <joseph@codesourcery.com>
14116         * Makeconfig (host-built-program-cmd): New variable.
14117         * elf/Makefile (tst-stackguard1-ARGS): Use
14118         $(host-built-program-cmd).
14119         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14120         (tst-spawn-ARGS): Likewise.
14121         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14123 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14124             Jim Blandy  <jimb@codesourcery.com>
14126         * Makeconfig (run-via-rtld-prefix): New variable.
14127         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14128         (built-program-cmd): Likewise.
14130 2012-10-22  Andreas Jaeger  <aj@suse.de>
14132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14133         __O_RSYNC if it exists, otherwise to O_SYNC.
14135 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14136             Joseph Myers  <joseph@codesourcery.com>
14138         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14139         /dev/null.
14140         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14141         from /dev/null
14142         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14143         /dev/null.
14145 2012-10-22  Andreas Jaeger  <aj@suse.de>
14147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14148         Define always.
14149         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14152         bits/fcntl-linux.h.
14154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14155         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14158         to __O_LARGEFILE.
14159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14160         to __O_LARGEFILE.
14162 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14163             Joseph Myers  <joseph@codesourcery.com>
14165         * config.make.in (NM): New variable.
14167 2012-10-21  Andreas Jaeger  <aj@suse.de>
14169         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14170         definitions and declarations that are provided by
14171         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14173 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14175         [BZ #14683]
14176         * elf/Makefile (tests-static): Add tst-leaks1-static.
14177         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14178         ($(objpfx)tst-leaks1-static): New rule.
14179         ($(objpfx)tst-leaks1-static-mem): Likewise.
14180         (tst-leaks1-static-ENV): New macro.
14181         * elf/dl-open.c (dl_open_worker): Check the main application
14182         only if SHARED is defined.
14183         * elf/tst-leaks1-static.c: New file.
14185 2012-10-20  Andreas Jaeger  <aj@suse.de>
14187         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14188         generic values for Linux.
14189         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14190         and declarations that are provided by <bits/fcntl-linux.h> and
14191         include <bits/fcntl-linux.h>.
14192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14195 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14197         * io/fcntl.h: Move include of <bits/types.h> to the top and
14198         include it unconditionally.
14200 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14202         * wcsmbs/Makefile (tests-ifunc): New variable.
14203         (tests): Add $(tests-ifunc).
14204         * wcsmbs/test-wcschr-ifunc.c: New file.
14205         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14206         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14207         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14208         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14209         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14211         * string/Makefile (tests-ifunc): New variable.
14212         (tests): Add $(tests-ifunc).
14213         * string/test-memccpy.c (TEST_NAME): New macro.
14214         * string/test-memchr.c (TEST_NAME): Likewise.
14215         * string/test-memcmp.c (TEST_NAME): Likewise.
14216         * string/test-memcpy.c (TEST_NAME): Likewise.
14217         * string/test-memmem.c (TEST_NAME): Likewise.
14218         * string/test-memmove.c (TEST_NAME): Likewise.
14219         * string/test-memset.c (TEST_NAME): Likewise.
14220         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14221         * string/test-stpcpy.c (TEST_NAME): Likewise.
14222         * string/test-stpncpy.c (TEST_NAME): Likewise.
14223         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14224         * string/test-strcasestr.c (TEST_NAME): Likewise.
14225         * string/test-strcat.c (TEST_NAME): Likewise.
14226         * string/test-strchr.c (TEST_NAME): Likewise.
14227         * string/test-strcmp.c(TEST_NAME): Likewise.
14228         * string/test-strcpy.c (TEST_NAME): Likewise.
14229         * string/test-strcspn.c (TEST_NAME): Likewise.
14230         * string/test-strlen.c (TEST_NAME): Likewise.
14231         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14232         * string/test-strncmp.c (TEST_NAME): Likewise.
14233         * string/test-strncpy.c (TEST_NAME): Likewise.
14234         * string/test-strnlen.c (TEST_NAME): Likewise.
14235         * string/test-strpbrk.c (TEST_NAME): Likewise.
14236         * string/test-strrchr.c (TEST_NAME): Likewise.
14237         * string/test-strspn.c (TEST_NAME): Likewise.
14238         * string/test-strstr.c (TEST_NAME): Likewise.
14239         * string/test-bcopy-ifunc.c: New file.
14240         * string/test-bzero-ifunc.c: Likewise.
14241         * string/test-memccpy-ifunc.c: Likewise.
14242         * string/test-memchr-ifunc.c: Likewise.
14243         * string/test-memcmp-ifunc.c: Likewise.
14244         * string/test-memcpy-ifunc.c: Likewise.
14245         * string/test-memmem-ifunc.c: Likewise.
14246         * string/test-memmove-ifunc.c: Likewise.
14247         * string/test-mempcpy-ifunc.c: Likewise.
14248         * string/test-memset-ifunc.c: Likewise.
14249         * string/test-rawmemchr-ifunc.c: Likewise.
14250         * string/test-stpcpy-ifunc.c: Likewise.
14251         * string/test-stpncpy-ifunc.c: Likewise.
14252         * string/test-strcasecmp-ifunc.c: Likewise.
14253         * string/test-strcasestr-ifunc.c: Likewise.
14254         * string/test-strcat-ifunc.c: Likewise.
14255         * string/test-strchr-ifunc.c: Likewise.
14256         * string/test-strchrnul-ifunc.c: Likewise.
14257         * string/test-strcmp-ifunc.c: Likewise.
14258         * string/test-strcpy-ifunc.c: Likewise.
14259         * string/test-strcspn-ifunc.c: Likewise.
14260         * string/test-strlen-ifunc.c: Likewise.
14261         * string/test-strncasecmp-ifunc.c: Likewise.
14262         * string/test-strncat-ifunc.c: Likewise.
14263         * string/test-strncmp-ifunc.c: Likewise.
14264         * string/test-strncpy-ifunc.c: Likewise.
14265         * string/test-strnlen-ifunc.c: Likewise.
14266         * string/test-strpbrk-ifunc.c: Likewise.
14267         * string/test-strrchr-ifunc.c: Likewise.
14268         * string/test-strspn-ifunc.c: Likewise.
14269         * string/test-strstr-ifunc.c: Likewise.
14271         * debug/Makefile (tests-ifunc): New variable.
14272         (tests): Add $(tests-ifunc).
14273         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14274         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14275         * debug/test-stpcpy_chk-ifunc.c: New file.
14276         * debug/test-strcpy_chk-ifunc.c: Likewise.
14278 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14280         [BZ #13601]
14281         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14282         header is not read in.
14284 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14286         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14287         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14288         directly.  Pass built executable to script as
14289         $(built-program-cmd).
14290         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14291         $testprogram without using LD_LIBRARY_PATH and $ldso.
14293         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14294         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14295         $(rtld-installed-name).
14296         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14297         (rtld_installed_name): Likewise.
14298         (library_path): Likewise.
14299         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14300         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14301         $(run-program-prefix) to tst-tables.sh.
14302         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14303         it to run tst-table-from and tst-table-to.
14304         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14305         Pass it to tst-table.sh.
14306         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14307         $(run-program-prefix) to tst-gettext.sh.
14308         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14309         tst-translit.sh.
14310         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14311         tst-gettext2.sh.
14312         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14313         to run tst-gettext.
14314         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14315         to run tst-gettext2.
14316         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14317         to run tst-translit.
14318         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14319         $(run-program-prefix) to tst-mtrace.sh.
14320         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14321         to run tst-mtrace.
14322         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14323         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14324         $(rtld-installed-name).
14325         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14326         (rtld_installed_name): Likewise.
14327         (run_program_prefix): New variable.  Use it to run wordexp-test.
14329         * Makeconfig (ARCH): Remove all definitions.
14330         (machine): Likewise.
14331         [ARCH]: Remove conditional code.
14332         [!objdir]: Give error.
14333         [!objdir] (objpfx): Remove.
14334         [!objdir] (common-objpfx): Likewise.
14335         [!objdir] (common-objdir): Likewise.
14336         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14337         AC_CONFIG_FILES call.
14338         * configure: Regenerated.
14340         [BZ #13888]
14341         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14342         or TMPDIR.
14343         (testout): Likewise.
14345         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14346         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14347         $(rtld-installed-name).
14348         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14349         (rtld_installed_name): Likwise.
14350         (runit): Remove function.
14351         (run_getconf): New variable,  Use it for running getconf binary.
14353 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14355         [BZ #14716]
14356         * string/test-memmem.c (check_result): New function.
14357         (do_one_test): Use it.
14358         (check1): New function.
14359         (test_main): Use it.
14361 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14363         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14365 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14367         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14368         (_G_LSEEK64): Likewise.
14369         (_G_MMAP64): Likewise.
14370         (_G_FSTAT64): Likewise.
14371         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14372         (_G_LSEEK64): Likewise.
14373         (_G_MMAP64): Likewise.
14374         (_G_FSTAT64): Likewise.
14375         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14376         unconditional.  Call __mmap64 directly.
14377         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14378         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14379         __lseek64 directly.
14380         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14381         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14382         __mmap64 directly.
14383         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14384         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14385         __lseek64 directly.
14386         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14387         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14388         __lseek64 directly.
14389         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14390         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14391         __lseek64 directly.
14392         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14393         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14394         __fxstat64 directly.
14395         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14396         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14397         unconditional.
14398         (freopen64) [!_G_OPEN64]: Remove conditional code.
14399         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14400         unconditional.
14401         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14402         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14403         unconditional.
14404         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14405         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14406         unconditional.
14407         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14408         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14409         unconditional.
14410         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14411         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14412         unconditional.
14413         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14414         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14415         unconditional.
14416         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14417         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14418         unconditional.
14419         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14421 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14423         [BZ #12140]
14424         * manual/memory.texi (Malloc Tunable Parameters): Add note
14425         about free list pointers overwriting some perturb bytes.
14426         Wording suggested by Roland McGrath.
14428 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14430         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14431         (lgamma_test): Likewise.
14432         (tgamma_test): Likewise.
14434 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14436         [BZ #14700]
14437         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14438         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14440 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14442         * NEWS: Mention BZ #14716.
14443         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14444         when removing AVAILABLE1_USES_J macro.
14446 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14448         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14449         (__bswap_64): __uint64_t for unsigned 64-bit int.
14451 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14453         * include/string.h (memmem): Declare libc hidden alias.
14454         * string/memmem.c (memmem): Define libc hidden alias.
14455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14456         __read, __close instead of open, read, close.
14458 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14461         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14462         global and hidden.
14463         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14464         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14465         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14466         Likewise.
14467         (__rawmemchr_sse2): Likewise.
14468         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14469         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14470         (__strchr_sse2): Likewise.
14471         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14472         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14473         (__strcasecmp_sse2): Likewise.
14474         (__strncasecmp_sse2): Likewise.
14475         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14476         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14477         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14478         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14479         (__strrchr_sse2): Likewise.
14480         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14481         ifunc-impl-list.c.
14482         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14483         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14484         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14485         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14486         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14487         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14490         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14491         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14492         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14493         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14494         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14495         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14496         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14497         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14498         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14499         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14500         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14501         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14502         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14503         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14504         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14505         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14506         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14507         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14508         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14509         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14510         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14511         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14513         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14514         global and hidden.
14515         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14516         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14517         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14518         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14519         Likewise.
14520         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14521         Likewise.
14522         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14523         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14524         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14525         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14526         ifunc-impl-list.c.
14527         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14528         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14529         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14530         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14531         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14532         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14533         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14534         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14535         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14536         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14537         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14538         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14539         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14540         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14541         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14542         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14543         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14544         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14545         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14546         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14547         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14548         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14549         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14550         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14551         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14552         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14553         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14554         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14555         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14556         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14557         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14558         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14559         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14560         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14561         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14562         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14563         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14564         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14565         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14566         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14567         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14569         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14570         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14571         * include/ifunc-impl-list.h: New file.
14572         * misc/ifunc-impl-list.c: Likewise.
14573         * misc/Makefile (routines): Add ifunc-impl-list.
14574         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14575         * string/test-string.h: Include <ifunc-impl-list.h>.
14576         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14577         impl_array): New variables.
14578         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14579         are defined.
14580         (test_init): Call __libc_ifunc_impl_list to initialize
14581         func_list if TEST_IFUNC and TEST_NAME are defined.
14583         * string/Makefile (strop-tests): Add bcopy and bzero.
14584         * string/test-bcopy.c: New file.
14585         * string/test-bzero.c: Likewise.
14586         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14587         defined.
14588         * string/test-memset.c: Support bzero test if TEST_BZERO is
14589         defined.
14590         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14591         __libc_memmove.
14592         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14593         __libc_memset.
14594         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14595         of memset.
14597 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14599         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14600         * configure: Regenerated.
14602         * Makeconfig (+link-static-before-libc): Don't include
14603         $(link-static-libc).
14605         * libio/libio.h (_IO_pos_t): Remove.
14607 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14609         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14610         McGrath.
14612 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14614         * crypt/crypt-entry.c: Include fips-private.h.
14615         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14616         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14617         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14618         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14620 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14622         * crypt/crypt-private.h: Include stdbool.h.
14623         (_ufc_setup_salt_r): Return bool.
14624         * crypt/crypt-entry.c: Include errno.h.
14625         (__crypt_r): Return NULL with EINVAL for bad salt.
14626         * crypt/crypt_util.c (bad_for_salt): New.
14627         (_ufc_setup_salt_r): Check that salt is long enough and within
14628         the specified alphabet.
14629         * crypt/badsalttest.c: New file.
14630         * crypt/Makefile (tests): Add it.
14631         ($(objpfx)badsalttest): New.
14633 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14635         * NEWS: Add entry for BZ #14602.
14637 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14639         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14640         type-generic.
14641         * math/libm-test.inc: Update comment listing what functions and
14642         macros are tested.
14643         (isgreater_test): New function.
14644         (isgreaterequal_test): Likewise.
14645         (isless_test): Likewise.
14646         (islessequal_test): Likewise.
14647         (islessgreater_test): Likewise.
14648         (isunordered_test): Likewise.
14649         (main): Call the new functions.
14651 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14653         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14654         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14655         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14656         * sysdeps/i386/configure: Regenerated.
14657         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14658         * sysdeps/mach/configure: Regenerated.
14659         * sysdeps/mach/hurd/configure: Regenerated.
14660         * sysdeps/powerpc/configure: Regenerated.
14661         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14662         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14663         * sysdeps/s390/s390-32/configure: Regenerated.
14664         * sysdeps/s390/s390-64/configure: Regenerated.
14665         * sysdeps/sh/configure: Regenerated.
14666         * sysdeps/sparc/configure: Regenerated.
14667         * sysdeps/unix/sysv/linux/configure: Regenerated.
14668         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14669         * sysdeps/x86_64/configure: Regenerated.
14671         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14672         defined.  Don't check if MAP is NULL.
14674 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14676         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14677         (_G_stat64): Likewise.
14678         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14679         (_G_stat64): Likewise.
14680         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14681         instead of struct _G_stat64.
14682         * libio/fileops.c (mmap_remap_check): Likewise.
14683         (decide_maybe_mmap): Likewise.
14684         (_IO_new_file_seekoff): Likewise.
14685         (_IO_file_stat): Likewise.
14686         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14687         _G_off64_t.
14688         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14689         instead of struct _G_stat64.
14690         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14692 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14694         [BZ #14602]
14695         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14696         Replace with ...
14697         (CHECK_EOL): New macro.
14698         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14699         CHECK_EOL.
14700         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14701         Replace with CHECK_EOL.
14702         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14703         Replace with CHECK_EOL.
14705 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14707         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14708         type-generic.
14709         * math/libm-test.inc: Update comment listing what functions and
14710         macros are tested.
14711         (finite_test): New function.
14712         (isinf_test): Likewise.
14713         (isnan_test): Likewise.
14714         (fpclassify_test): Test subnormal input.
14715         (isfinite_test): Likewise.
14716         (isnormal_test): Likewise.
14717         (main): Call the new functions.
14719 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14721         [BZ #14660]
14722         * Makerules (%.dynsym): Force C locale when running
14723         $(OBJDUMP) --dynamic-syms.
14725 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14727         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14728         <stdint.h>.
14730 2012-10-06  David S. Miller  <davem@davemloft.net>
14732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14733         upper 32-bits of the length value in %o2 since we use branch-on-register
14734         tests which consider the entire 64-bit register.
14736 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14738         * string/test-strstr.c (check2): Add a test for page boundary.
14740 2012-10-05  David S. Miller  <davem@davemloft.net>
14742         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14743         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14744         file.
14745         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14746         sysdep_routines.
14747         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14748         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14749         and bzero when HWCAP_SPARC_CRYPTO is present.
14751 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14753         [BZ #14602]
14754         * string/test-strstr.c (check2): New function.
14755         (test_main): Call check2.
14757         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14758         and bug-strchr1.
14759         * string/bug-strcasestr1.c (do_test): Moved to ...
14760         * string/test-strcasestr.c (check1): Here.  New function.
14761         (do_one_test): Break out result checking code into ...
14762         (check_result): This.  New function.
14763         (do_one_test): Call check_result.
14764         (test_main): Call check1.
14765         * string/bug-strchr1.c (do_test): Moved to ...
14766         * string/test-strchr.c (check1): Here.  New function.
14767         (do_one_test): Break out result checking code into ...
14768         (check_result): This.  New function.
14769         (do_one_test): Call check_result.
14770         (test_main): Call check1.
14771         * string/bug-strstr1.c (main): Moved to ...
14772         * string/test-strstr.c (check1): Here.  New function.
14773         (do_one_test): Break out result checking code into ...
14774         (check_result): This.  New function.
14775         (do_one_test): Call check_result.
14776         (test_main): Call check1.
14777         * string/bug-strcasestr1.c: Removed.
14778         * string/bug-strchr1.c: Likewise.
14779         * string/bug-strstr1.c: Likewise.
14781         * elf/Makefile (dl-routines): Add hwcaps.
14782         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14783         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14784         (_dl_important_hwcaps): Moved to ...
14785         * elf/dl-hwcaps.c: Here.  New file.
14786         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14788         [BZ #14557]
14789         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14790         if IS_IN_rtld isn't defined.
14792         * elf/dl-support.c (_dl_sysinfo_map): New.
14793         Include "get-dynamic-info.h" and "setup-vdso.h".
14794         (_dl_non_dynamic_init): Call setup_vdso.
14795         * elf/dynamic-link.h: Don't include <assert.h>.
14796         (elf_get_dynamic_info): Moved to ...
14797         * elf/get-dynamic-info.h: Here.  New file.
14798         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14799         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14800         * elf/setup-vdso.h: Here.  New file.
14801         * elf/rtld.c: Include "setup-vdso.h".
14802         (dl_main): Call setup_vdso.
14804 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14806         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14807         creal in comment listing functions tested.  List finite, isinf,
14808         isnan, isless, islessequal, isgreater, isgreaterequal,
14809         islessgreater, isunordered, lgamma_r and pow10 as functions and
14810         macros not tested.  Mention which functions not tested are aliases
14811         for other functions.  Fix typo.  Note that signs of NaNs are not
14812         tested.
14814         * scripts/config.guess: Update from config.git.
14815         * scripts/config.sub: Likewise.
14817 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14819         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14820         * misc/madvise.c (madvise): Renamed to __madvise.
14821         Make madvise a weak alias.
14822         * include/sys/mman.h: Declare __madvise.
14823         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14824         * sysdeps/unix/syscalls.list
14825         (madvise): Make __madvise the strong name, and madvise a weak alias.
14826         * sysdeps/unix/sysv/linux/syscalls.list
14827         (madvise, mmap): Remove redundant entries.
14828         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14829         * malloc/malloc.c (mtrim): Likewise.
14830         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14832 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14834         * sysdeps/mach/hurd/dl-cache.c: File removed.
14835         * config.h.in (USE_LDCONFIG): New #undef.
14836         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14837         * configure: Regenerated.
14838         * elf/Makefile (dl-routines): Add dl-cache only under
14839         [$(use-ldconfig) = yes].
14840         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14841         cache on [USE_LDCONFIG].
14842         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14843         [USE_LDCONFIG].
14844         * elf/rtld.c (dl_main): Likewise.
14846 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14848         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14849         _SC_LEVEL4_CACHE_LINESIZE.
14851 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14853         * sysdeps/unix/bsd/confstr.h: File removed.
14855 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
14857         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14858         sys/sdt-config.h.
14860 2012-10-02  Roland McGrath  <roland@hack.frob.com>
14862         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14863         Make 'mapoff' field ElfW(Off) rather than off_t.
14865 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
14867         * nscd/Makefile: Remove nscd-cflags and all its users.
14868         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14869         (CFLAGS-nonlib): Add compiler flags for nscd modules.
14871         [BZ #10631]
14872         * malloc.c (malloc_printerr): Clarify error message.
14874 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
14876         [BZ #14648]
14877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14878         Set bit_FMA_Usable if FMA is supported.
14879         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14880         macro.
14881         (bit_FMA4_Usable): Updated.
14882         (index_FMA_Usable): New macro.
14883         (CPUID_FMA): Likewise
14884         (HAS_FMA): Defined with bit_FMA_Usable.
14886 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14888         * bits/types.h (__swblk_t): Type removed.
14889         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14890         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14892         (__SWBLK_T_TYPE): Likewise.
14893         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14894         (__SWBLK_T_TYPE): Likewise.
14895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14896         (__SWBLK_T_TYPE): Likewise.
14897         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14898         (__SWBLK_T_TYPE): Likewise.
14900 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
14901             Honza Horak <hhorak@redhat.com>
14903         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14904         (xdr_mapname): Use YPMAXMAP as maxsize.
14905         (xdr_peername): Use YPMAXPEER as maxsize.
14906         (xdr_keydat): Use YPAXRECORD as maxsize.
14907         (xdr_valdat): Use YPMAXRECORD as maxsize.
14909 2012-10-01  Roland McGrath  <roland@hack.frob.com>
14911         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14913         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14914         * csu/init-first.c: ... here.
14915         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14916         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14917         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14918         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14919         * sysdeps/i386/init-first.c: File removed.
14920         * sysdeps/sh/init-first.c: File removed.
14922 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
14924         [BZ #14645]
14925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14926         if x * y might underflow to zero and z is zero.
14927         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14929         * math/libm-test.inc (min_subnorm_value): New variable.
14930         (fma_test): Add more tests.
14931         (fma_test_towardzero): Likewise.
14932         (fma_test_downward): Likewise
14933         (fma_test_upward): Likewise.
14934         (initialize): Set min_subnorm_value.
14936 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
14938         [BZ #14638]
14939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14940         0 + 0.
14941         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14942         mode for addition resulting in exact zero.
14943         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14945         exact 0 + 0.
14946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14948         * math/libm-test.inc (fma_test): Add more tests.
14949         (fma_test_towardzero): New function.
14950         (fma_test_downward): Likewise.
14951         (fma_test_upward): Likewise.
14952         (main): Call the new functions.
14954 2012-09-28  David S. Miller  <davem@davemloft.net>
14956         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14958 2012-09-28  Roland McGrath  <roland@hack.frob.com>
14960         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14961         instead of SIGALRM.
14963         * sysdeps/gnu/_G_config.h: Moved to ...
14964         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14965         * sysdeps/mach/hurd/_G_config.h: Moved to ...
14966         * sysdeps/generic/_G_config.h: ... here.
14968         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
14970         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14972         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14973         Conditionalize target on [libnss_test1.so-version].
14975         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14977         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14978         (elfobjdir): Move out of conditionals.
14980         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14981         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14982         (__nss_lookup_function): Conditionalize label remove_from_tree on
14983         [!DO_STATIC_NSS || SHARED], matching its only use.
14985 2012-09-28  David S. Miller  <davem@davemloft.net>
14987         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14988         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14989         file.
14990         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14991         sysdep_routines.
14992         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14993         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14994         when HWCAP_SPARC_CRYPTO is present.
14996 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14998         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15000 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15002         [BZ #6530]
15003         * stdio-common/vfprintf.c (process_string_arg): Revert
15004         2000-07-22 change.
15006 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15008         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15009         for testcase.
15010         * stdio-common/tst-sprintf.c: Include <locale.h>
15011         (main): Test sprintf's handling of incomplete multibyte
15012         characters.
15014 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15016         * elf/dl-runtime.c (VERSYMIDX): Removed.
15017         * elf/dl-version.c (VERSYMIDX): Likewise.
15018         * elf/do-rel.h (VERSYMIDX): Likewise.
15019         (VALIDX): Likewise.
15020         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15021         * elf/rtld.c (VALIDX): Likewise.
15022         (ADDRIDX): Likewise.
15023         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15024         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15025         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15026         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15027         (VALIDX): Likewise.
15028         (ADDRIDX): Likewise.
15030 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15032         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15034 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15036         [BZ #11438]
15037         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15038         to global scope.
15039         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15040         addresses are in the same scope as 192.0.2/24.
15041         * posix/gai.conf: Document new scope table defaults.
15043 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15045         [BZ #5298]
15046         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15047         for ftell.  Compute offsets from write pointers instead.
15048         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15050 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15052         [BZ #14543]
15053         * libio/Makefile (tests): New test case tst-fseek.
15054         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15055         combination works in wide mode.
15056         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15057         state when the external buffer state changes.
15059 2012-09-27  David S. Miller  <davem@davemloft.net>
15061         [BZ #14376]
15062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15063         pass reloc->r_addend in as the 'high' argument to
15064         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15068 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15070         * rt/tst-aio2.c: Include <pthread.h>.
15071         * rt/tst-aio3.c: Likewise.
15073 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15075         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15077 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15079         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15080         contents on [SHARED].
15082 2012-09-26  Marek Polacek  <polacek@redhat.com>
15084         [BZ #14530]
15085         [BZ #13741]
15086         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15087         for C++ and GCC <4.3 as well as for non GCC compilers.
15089 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15093 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15095         * Makefile.in (all, install): Declare with .PHONY.
15096         Reported by Michael Hope <michael.hope@linaro.org>.
15098 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15100         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15101         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15102         system header.
15103         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15104         Likewise.
15105         (sydep_routines): Add the new and the internal functions.
15106         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15107         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15109         (GLIBC_2.17): Add the new function.
15110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15111         (GLIBC_2.17): Likewise.
15112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15113         (GLIBC_2.17): Likewise.
15114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15115         (GLIBC_2.17): Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15118 2012-09-25  Alan Modra  <amodra@gmail.com>
15120         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15121         Add release barrier before setting once_control to say
15122         initialisation is done.  Add hints on lwarx.  Use macro in
15123         place of isync.
15124         (clear_once_control): Add release barrier.
15126 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15128         [BZ #13629]
15129         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15130         specially.
15131         * math/s_clog10.c (__clog10): Likewise.
15132         * math/s_clog10f.c (__clog10f): Likewise.
15133         * math/s_clog10l.c (__clog10l): Likewise.
15134         * math/s_clogf.c (__clogf): Likewise.
15135         * math/s_clogl.c (__clogl): Likewise.
15136         * math/Makefile (libm-calls): Add x2y2m1.
15137         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15138         (__x2y2m1): Likewise.
15139         (__x2y2m1l): Likewise.
15140         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15141         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15142         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15143         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15144         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15145         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15146         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15147         * sysdeps/i386/fpu/libm-test-ulps: Update.
15148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150         [BZ #14621]
15151         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15152         int as type of variable DEPTH.
15153         (glob): Use size_t instead of int as type of variables NEWCOUNT
15154         and OLD_PATHC.
15156 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15158         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15159         Add s_sincosf-sse2.
15160         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15161         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15162         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15163         macros for using routine as __sincosf_ia32.
15164         Use macro for function declaration and weak_alias.
15165         * sysdeps/i386/fpu/libm-test-ulps: Update.
15167         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15170         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15171         subnormal argument.
15172         * math/s_cexpf.c (__cexpf): Likewise.
15173         * math/s_csinf.c (__csinf): Likewise.
15174         * math/s_csinhf.c (__csinhf): Likewise.
15175         * math/s_ctanf.c (__ctanf): Likewise.
15176         * math/s_ctanhf.c (__ctanhf): Likewise.
15177         * math/s_ccosh.c (__ccoshf): Likewise.
15178         * math/s_cexp.c (__cexpl): Likewise.
15179         * math/s_csin.c (__csin): Likewise.
15180         * math/s_csinh.c (__csinh): Likewise.
15181         * math/s_ctan.c (__ctan): Likewise.
15182         * math/s_ctanh.c (ctanh): Likewise.
15183         * math/s_ccoshl.c (__ccoshl): Likewise.
15184         * math/s_cexpl.c (__cexpl): Likewise.
15185         * math/s_csinl.c (__csinl): Likewise.
15186         * math/s_csinhl.c (__csinhl): Likewise.
15187         * math/s_ctanl.c (__ctanl): Likewise.
15188         * math/s_ctanhl.c (__ctanhl): Likewise.
15190 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15192         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15193         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15194         (_IO_off_t): Define to __off_t, not _G_off_t.
15195         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15196         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15197         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15198         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15199         type of __dummy and __dummy2 fields.
15200         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15201         (_G_ssize_t): Likewise.
15202         (_G_off_t): Likewise.
15203         (_G_pid_t): Likewise.
15204         (_G_uid_t): Likewise.
15205         (_G_wchar_t): Likewise.
15206         (_G_wint_t): Likewise.
15207         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15208         (_G_ssize_t): Likewise.
15209         (_G_off_t): Likewise.
15210         (_G_pid_t): Likewise.
15211         (_G_uid_t): Likewise.
15212         (_G_wchar_t): Likewise.
15213         (_G_wint_t): Likewise.
15214         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15215         (_G_ssize_t): Likewise.
15216         (_G_off_t): Likewise.
15217         (_G_pid_t): Likewise.
15218         (_G_uid_t): Likewise.
15219         (_G_wchar_t): Likewise.
15220         (_G_wint_t): Likewise.
15222 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15224         * malloc/arena.c: Include malloc-sysdep.h.
15225         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15226         is sufficient to shrink the heap or an unmap is needed.
15227         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15228         new function check_may_shrink_heap.
15229         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15230         new function check_may_shrink_heap.
15232 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15234         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15235         comments.
15237 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15239         * catgets/test-gencat.sh: Add "set -e".
15240         * elf/tst-pathopt.sh: Likewise.
15241         * grp/tst_fgetgrent.sh: Likewise.
15242         * iconvdata/run-iconv-test.sh: Likewise.
15243         * intl/tst-gettext.sh: Likewise.
15244         * intl/tst-gettext2.sh: Likewise.
15245         * intl/tst-gettext4.sh: Likewise.
15246         * intl/tst-gettext6.sh: Likewise.
15247         * intl/tst-translit.sh: Likewise.
15248         * io/ftwtest-sh: Likewise.
15249         * libio/test-freopen.sh: Likewise.
15250         * malloc/tst-mtrace.sh: Likewise.
15251         * posix/globtest.sh: Likewise.
15252         * posix/tst-getconf.sh: Likewise.
15253         * posix/wordexp-tst.sh: Likewise.
15254         * stdio-common/tst-printf.sh: Likewise.
15255         * stdio-common/tst-unbputc.sh: Likewise.
15256         * stdlib/tst-fmtmsg.sh: Likewise.
15257         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15258         * catgets/Makefile: Do not specify -e option when running
15259         testsuite shell scripts.
15260         * elf/Makefile: Likewise.
15261         * grp/Makefile: Likewise.
15262         * iconvdata/Makefile: Likewise.
15263         * intl/Makefile: Likewise.
15264         * io/Makefile: Likewise.
15265         * libio/Makefile: Likewise.
15266         * malloc/Makefile: Likewise.
15267         * posix/Makefile: Likewise.
15268         * stdio-common/Makefile: Likewise.
15269         * stdlib/Makefile: Likewise.
15270         * sysdeps/x86_64/Makefile: Likewise.
15272         * io/ftwtest-sh: Add copyright header.
15273         * posix/globtest.sh: Likewise.
15274         * posix/tst-getconf.sh: Likewise.
15275         * posix/wordexp-tst.sh: Likewise.
15276         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15278 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15280         [BZ #13679]
15281         * Makeconfig (+link): Defined as $(+link-static) if
15282         $(build-shared) isn't yes.
15283         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15284         isn't yes.
15285         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15287         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15289         [BZ #14562]
15290         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15291         new chunk size with MALLOC_ALIGN_MASK.
15293 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15295         [BZ #5044]
15296         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15297         <rounding-mode.h>.
15298         (__printf_fphex): Determine rounding using get_rounding_mode and
15299         round_away.
15300         * stdio-common/tst-printf-round.c (struct hex_test): New
15301         structure.
15302         (hex_tests): New variable.
15303         (test_hex_in_one_mode): New function.
15304         (do_test): Also run tests for hex float output.
15306 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15308         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15309         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15310         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15311         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15312         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15313         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15314         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15315         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15317 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15319         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15320         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15321         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15322         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15324 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15326         [BZ #14579]
15327         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15328         mode only.
15329         * elf/tst-rtld-load-self.sh: New test.
15330         * elf/Makefile: Run it.
15332 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15334         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15335         (tst-writev-ENV): Remove.
15336         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15338 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15340         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15342 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15344         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15345         unconditional.
15346         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15347         Likewise.
15348         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15349         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15350         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15351         Likewise.
15353 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15355         [BZ #14587]
15356         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15357         * config.make.in (have-cpp-asm-debuginfo): Removed.
15358         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15359         * configure: Regenerated.
15361 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15363         [BZ #5044]
15364         * stdio-common/printf_fp.c: Include <stdbool.h> and
15365         <rounding-mode.h>.
15366         (___printf_fp): Determine rounding using get_rounding_mode and
15367         round_away.
15368         * stdio-common/tst-printf-round.c: New file.
15369         * stdio-common/Makefile (tests): Add tst-printf-round.
15370         (link-libm): New variable.
15371         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15373 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15375         [BZ #14576]
15376         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15377         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15378         Likewise.
15379         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15380         Likewise.
15382 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15384         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15385         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15386         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15387         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15389 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #14518]
15392         * include/rounding-mode.h: New file.
15393         * sysdeps/generic/get-rounding-mode.h: Likewise.
15394         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15395         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15396         (MAX_VALUE): New macro.
15397         (MIN_VALUE): Likewise.
15398         (overflow_value): New function.
15399         (underflow_value): Likewise.
15400         (round_and_return): Use overflow_value and underflow_value to
15401         determine return values in overflow and underflow cases.  Use
15402         round_away to determine rounding depending on rounding mode.
15403         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15404         determine return values in overflow and underflow cases.
15405         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15406         (struct test_results): New structure.
15407         (struct test): Use struct test_results to store expected results
15408         for all rounding modes.
15409         (TEST): Include expected results for all rounding modes.
15410         (test_in_one_mode): New function.
15411         (do_test): Use test_in_one_mode to compute and check results.
15412         Check results for all rounding modes.
15413         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15414         $(link-libm).
15416 2012-12-09  Allan McRae  <allan@archlinux.org>
15418         * sysdeps/i386/fpu/libm-test-ulps: Update
15420 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15422         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15423         (_G_int32_t): Likewise.
15424         (_G_uint16_t): Likewise.
15425         (_G_uint32_t): Likewise.
15426         (_G_HAVE_BOOL): Likewise.
15427         (_G_HAVE_ATEXIT): Likewise.
15428         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15429         (_G_HAVE_IO_FILE_OPEN): Likewise.
15430         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15431         (_G_int32_t): Likewise.
15432         (_G_uint16_t): Likewise.
15433         (_G_uint32_t): Likewise.
15434         (_G_HAVE_BOOL): Likewise.
15435         (_G_HAVE_ATEXIT): Likewise.
15436         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15437         (_G_HAVE_IO_FILE_OPEN): Likewise.
15438         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15439         (_G_int32_t): Likewise.
15440         (_G_uint16_t): Likewise.
15441         (_G_uint32_t): Likewise.
15442         (_G_HAVE_BOOL): Likewise.
15443         (_G_HAVE_ATEXIT): Likewise.
15444         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15445         (_G_HAVE_IO_FILE_OPEN): Likewise.
15447 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15449         * csu/libc-tls.c: Update copyright years.
15451 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15453         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15454         [!_G_USING_THUNKS]: Remove conditional code.
15455         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15456         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15458         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15459         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15460         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15461         (_G_VTABLE_LABEL_PREFIX): Likewise.
15462         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15463         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15464         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15465         (_G_VTABLE_LABEL_PREFIX): Likewise.
15466         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15467         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15468         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15469         (_G_VTABLE_LABEL_PREFIX): Likewise.
15470         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15472 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15474         * libio/Makefile: Include ../Makeconfig before tests.
15475         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15476         only if $(build-shared) is yes.
15478         * iconv/gconv_db.c: Update copyright years.
15480 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15482         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15483         unwind info if defined PIC. Fix special cases description.
15484         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15486         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15487         DP_HI_MASK entry.
15488         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15490 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15492         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15494         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15495         is NULL.
15497         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15498         (LDLIBS-tst-chk4): This.
15499         (LDFLAGS-tst-chk5): Renamed to ...
15500         (LDLIBS-tst-chk5): This.
15501         (LDFLAGS-tst-chk6): Renamed to ...
15502         (LDLIBS-tst-chk6): This.
15503         (LDFLAGS-tst-lfschk4): Renamed to ...
15504         (LDLIBS-tst-lfschk4): This.
15505         (LDFLAGS-tst-lfschk5): Renamed to ...
15506         (LDLIBS-tst-lfschk5): This.
15507         (LDFLAGS-tst-lfschk6): Renamed to ...
15508         (LDLIBS-tst-lfschk6): This.
15510         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15511         on $(common-objpfx)soversions.mk.
15513 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15515         [BZ #10014]
15516         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15517         example host name.
15519 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15521         * malloc/arena.c (arena_get_retry): New function that gets
15522         another arena for the caller to try its request on.
15523         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15524         current arena cannot fulfill the request.
15525         (__libc_memalign): Likewise.
15526         (__libc_memalign): Likewise.
15527         (__libc_pvalloc): Likewise.
15528         (__libc_calloc): Likewise.
15530 2012-09-05  John Tobey  <john.tobey@gmail.com>
15532         [BZ #13542]
15533         * manual/arith.texi (Operations on Complex): Fix description
15534         of carg branch cut.
15536 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15538         [BZ #10014]
15539         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15540         host name.
15542         [BZ #10038]
15543         * manual/memory.texi (Memory): Make order of menu items match
15544         order of sections.
15546 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15548         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15549         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15550         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15552 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15554         * csu/libc-tls.c (static_dtv): Renamed to ...
15555         (_dl_static_dtv): This.  Make it global.
15556         (_dl_initial_dtv): Removed.
15557         (__libc_setup_tls): Updated.
15558         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15559         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15560         DL_INITIAL_DTV.
15562 2012-09-06  Petr Machata  <pmachata@redhat.com>
15564         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15565         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15566         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15567         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15569 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15571         [BZ #14545]
15572         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15573         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15574         freeing dtv[-1].
15576 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15578         [BZ #14544]
15579         * Makeconfig (link-static-before-libc): Replace $(+prector)
15580         with $(+prectorT).
15581         (link-static-after-libc): Replace $(+postctor) with
15582         $(+postctorT).
15583         (link-bounded): Replace $(+prector)/$(+postctor) with
15584         $(+prectorT)/$(+postctorT).
15585         (+prectorT): New macro.
15586         (+postctorT): Likewise.
15588 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15590         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15591         (round_str): Handle values above the maximum for IBM long double
15592         as inexact.
15593         * stdlib/tst-strtod-round.c (tests): Regenerated.
15595 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15597         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15598         assembler flag.
15599         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15600         zarch_nohighgprs around the zarch optimized routines.
15601         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15602         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15604         for zarch.
15606 2012-09-05  David S. Miller  <davem@davemloft.net>
15608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15610         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15611         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15612         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15613         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15614         entries.
15616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15618         * malloc/arena.c: Fold copyright years.
15619         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15621 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15623         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15625 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15627         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15629 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15631         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15632         change internal state upon failure.
15634 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15636         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15637         * malloc/memusage.c (mmap): Likewise.
15638         (mmap64, mremap): Likewise.  Adjust name in comment.
15640 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15642         * libio/fileops.c: Fix typos in comments.
15643         * libio/oldfileops.c: Likewise.
15644         * libio/wfileops.c: Likewise.
15646 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15648         [BZ #1349]
15649         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15650         (tst-malloc-usable-ENV): Set environment for test case.
15651         * malloc/hooks.c (malloc_check_get_size): New function to get
15652         requested size.
15653         * malloc/malloc.c (musable): Use malloc_check_get_size.
15654         * malloc/tst-malloc-usable.c: New test case.
15656 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15658         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15660 2012-09-05  Allan McRae  <allan@archlinux.org>
15662         [BZ #13966]
15663         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15664         determine header location.
15665         * configure: Regenerated.
15667 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15669         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15670         float format.
15671         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15672         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15673         format.
15674         (test): Regenerate.
15676 2012-09-04  David S. Miller  <davem@davemloft.net>
15678         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15679         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15680         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15682 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15684         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15685         failures.
15687         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15689 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15691         [BZ #9914]
15692         * libio/iogetdelim.c: Include <limits.h>.
15693         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15694         + len + 1 would overflow.
15696 2012-09-03  Andreas Jaeger  <aj@suse.de>
15698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15699         * sysdeps/i386/fpu/libm-test-ulps: Update.
15701 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15703         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15704         Add s_sinf-sse2, s_conf-sse2.
15706         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15707         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15708         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15709         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15711         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15712         for using routine as __sinf_ia32.
15713         Use macro for function declaration and weak_alias.
15714         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15715         for using routine as __cosf_ia32.
15716         Use macro for function declaration and weak_alias.
15718         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15719         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15721         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15722         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15725         * math/libm-test.inc (cos_test): Add more test cases.
15726         (sin_test): Likewise.
15727         (sincos_test): Likewise.
15729 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15732         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15733         hidden.
15734         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15736 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15738         [BZ #14538]
15739         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15740         first element of the GOT.
15741         (elf_machine_load_address): Return the difference between
15742         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15744 2012-09-01  Allan McRae  <allan@archlinux.org>
15746         [BZ #13412]
15747         * configure.in (AWK): Require gawk version 3.0 or later.
15748         * configure: Regenerated.
15750 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15752         * sysdeps/unix/sysv/linux/kernel-features.h
15753         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15755         [__NR_clock_getres]: Make code unconditional.
15756         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15757         (clock_getcpuclockid): Remove code left unreachable by removal of
15758         conditionals.
15759         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15760         code unconditional.
15761         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15762         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15763         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15764         Make code unconditional.
15765         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15766         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15767         * sysdeps/unix/sysv/linux/clock_settime.c
15768         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15769         conditional code.
15770         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15771         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15773 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15775         [BZ #14476]
15776         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15777         scripts/test-installation.pl.
15779         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15780         and $ld_so_version if it is set.
15782 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15784         [BZ #14516]
15785         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15786         failure if reading from procfs failed.
15787         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15789 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15791         * sysdeps/unix/sysv/linux/kernel-features.h
15792         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15793         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15794         Remove conditional code.
15795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15796         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15797         Remove conditional code.
15798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15799         * sysdeps/unix/sysv/linux/i386/fxstat.c
15800         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15802         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15803         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15805         * sysdeps/unix/sysv/linux/i386/lxstat.c
15806         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15807         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15808         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15809         Remove conditional code.
15810         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15811         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15812         Remove conditional code.
15813         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15814         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15815         <kernel-features.h>.
15816         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15817         Remove.
15818         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15819         Remove conditional code.
15820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15821         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15822         Remove conditional.
15824 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15826         [BZ #5400]
15827         * NEWS: Add fixed bug number.
15829 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15831         [BZ #14519]
15832         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15833         underflowing exponent in case of negative sign.
15834         * stdlib/tst-strtod-round-data: Add more tests.
15835         * stdlib/tst-strtod-round.c (tests): Regenerated.
15837         [BZ #3479]
15838         * stdlib/strtod_l.c (NDIG): Remove.
15839         (HEXNDIG): Likewise.
15840         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15841         smallest representable value.
15842         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15843         lie within an exact representation of 1/2 ulp of the result.
15844         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15845         unconditionally.
15846         (TENS_P9_IDX): Define unconditionally.
15847         (TENS_P9_SIZE): Likewise.
15848         (TENS_P10_IDX): Likewise.
15849         (TENS_P10_SIZE): Likewise.
15850         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15851         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15852         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15853         entries for 10^2^13 and 10^2^14.
15854         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15855         (TENS_P13_IDX): Define.
15856         (TENS_P13_SIZE): Likewise.
15857         (TENS_P14_IDX): Likewise.
15858         (TENS_P14_SIZE): Likewise.
15859         (_fpioconst_pow10): Change array size to
15860         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
15861         unconditional.
15862         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15863         1024]: Add entries for 10^2^13 and 10^2^14.
15864         [LAST_POW10 > _LAST_POW10]: Remove #error.
15865         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15866         (_fpioconst_pow10): Change array size to
15867         FPIOCONST_POW10_ARRAY_SIZE.
15868         * stdlib/gen-fpioconst.c: New file.
15869         * stdlib/gen-tst-strtod-round.c: Likewise.
15870         * stdlib/tst-strtod-round-data: Likewise.
15871         * stdlib/tst-strtod-round.c: Likewise.
15872         * stdlib/Makefile (tests): Add tst-strtod-round.
15874         [BZ #14459]
15875         * stdlib/strtod_l.c: Include <stdint.h>.
15876         (NDEBUG): Do not define.
15877         (round_and_return): Change EXPONENT parameter to type intmax_t.
15878         Rearrange calculations to avoid internal overflow possibilities.
15879         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15880         Rearrange calculations to avoid internal overflow possibilities.
15881         Assert that number fits inside MPNSIZE limbs.
15882         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15883         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
15884         calculations and add assertions to avoid internal overflow
15885         possibilities.  Add casts to avoid signed/unsigned operations.
15886         * stdlib/tst-strtod-overflow.c: New file.
15887         * stdlib/Makefile (tests): Add tst-strtod-overflow.
15889 2012-08-25  Marek Polacek  <polacek@redhat.com>
15891         * time/time.h: Fix some typos in comments.
15893 2012-08-23  Roland McGrath  <roland@hack.frob.com>
15895         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15896         * posix/tst-rfc3484-2.c: Likewise.
15897         * posix/tst-rfc3484-3.c: Likewise.
15899 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
15901         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15902         (EF_ARM_ABI_FLOAT_HARD): Likewise.
15904 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
15906         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15907         #include of fxstatat64.c.
15909 2012-08-22  Roland McGrath  <roland@hack.frob.com>
15911         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15912         * shadow/getspent_r.c: Likewise.
15913         * shadow/getspnam.c: Likewise.
15914         * shadow/getspnam_r.c: Likewise.
15915         * gshadow/getsgent.c: Likewise.
15916         * gshadow/getsgent_r.c: Likewise.
15917         * gshadow/getsgnam.c: Likewise.
15918         * gshadow/getsgnam_r.c: Likewise.
15919         * inet/getnetbyad.c: Likewise.
15920         * inet/getnetbyad_r.c: Likewise.
15921         * inet/getnetbynm.c: Likewise.
15922         * inet/getnetbynm_r.c: Likewise.
15923         * inet/getnetent.c: Likewise.
15924         * inet/getnetent_r.c: Likewise.
15925         * inet/getproto.c: Likewise.
15926         * inet/getproto_r.c: Likewise.
15927         * inet/getprtent.c: Likewise.
15928         * inet/getprtent_r.c: Likewise.
15929         * inet/getprtname.c: Likewise.
15930         * inet/getprtname_r.c: Likewise.
15931         * inet/getrpcbyname.c: Likewise.
15932         * inet/getrpcbyname_r.c: Likewise.
15933         * inet/getrpcbynumber.c: Likewise.
15934         * inet/getrpcbynumber_r.c: Likewise.
15935         * inet/getrpcent.c: Likewise.
15936         * inet/getrpcent_r.c: Likewise.
15937         * inet/getaliasent.c: Likewise.
15938         * inet/getaliasent_r.c: Likewise.
15939         * inet/getaliasname.c: Likewise.
15940         * inet/getaliasname_r.c: Likewise.
15941         * nscd/getgrgid_r.c: Likewise.
15942         * nscd/getgrnam_r.c: Likewise.
15943         * nscd/gethstbyad_r.c: Likewise.
15944         * nscd/gethstbynm3_r.c: Likewise.
15945         * nscd/getpwnam_r.c: Likewise.
15946         * nscd/getpwuid_r.c: Likewise.
15947         * nscd/getsrvbynm_r.c: Likewise.
15948         * nscd/getsrvbypt_r.c: Likewise.
15949         * nscd/gai.c: Likewise.
15951         * configure.in (build_nscd): New substituted variable, set
15952         by --disable-build-nscd and defaults to $use_nscd.
15953         * configure: Regenerated.
15954         * config.make.in (build-nscd): New substituted variable.
15955         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15956         Change conditional to require [$(build-nscd) = yes] as well.
15957         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15959         [BZ# 13696]
15960         * configure.in (use_nscd): New substituted variable, set by
15961         --disable-nscd.  If enabled, define USE_NSCD.
15962         * configure: Regenerated.
15963         * config.h.in: Add USE_NSCD.
15964         * config.make.in (use-nscd): New substituted variable.
15965         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15966         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15967         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15968         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15969         (CFLAGS-getgrnam_r.c): Likewise.
15970         (CFLAGS-initgroups.c): Likewise.
15971         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15972         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15973         Variables removed.
15974         * inet/getnetgrent_r.c
15975         (nscd_setnetgrent): New function, broken out of ...
15976         (setnetgrent): ... here.  Call it.
15977         (innetgr): Conditionalize nscd bits on [USE_NSCD].
15978         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15979         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15980         * nscd/Makefile (routines, aux): Move definitions after include of
15981         Makeconfig.  Conditionalize on [$(use-nscd) != no].
15982         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15983         Conditionalize on [USE_NSCD].
15984         (is_nscd, nscd_init_cb): Likewise.
15985         (nss_load_library): Conditionalize init callback on [USE_NSCD].
15986         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15987         * nss/nss_db/db-init.c: Likewise.
15988         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15989         [USE_NSCD].
15990         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15991         (make_request): Use it.
15992         (cache_valid_p): New function.
15993         (__check_pf): Use it.
15994         * NEWS: Add item for --disable-nscd.
15996 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
15998         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15999         to support sed >= 4.2.1-20-ga9bf076.
16000         * configure: Regenerated.
16002 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16004         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16005         Conditionalize whole body on [IREL].
16007 2012-08-22  Jeff Law <law@redhat.com>
16009         [BZ #14505]
16010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16011         if the family is PF_UNSPEC.
16013 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16015         * Makerules (lib-version): Rename from V.
16016         (install-lib-nosubdir): Change V to lib-version.
16018 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16020         [BZ #14252]
16021         * powerpc32/power6/wcschr.c: New file.
16022         * powerpc32/power6/wcscpy.c: New file.
16023         * powerpc32/power6/wcsrchr.c: New file.
16024         * powerpc64/power6/wcschr.c: New file.
16025         * powerpc64/power6/wcscpy.c: New file.
16026         * powerpc64/power6/wcsrchr.c: New file.
16028 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16030         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16031         (two_way_short_needle): Use it.
16032         * string/strstr.c (AVAILABLE1_USES_J): Define.
16033         * string/strcasestr.c: Likewise.
16035         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16036         array references.
16037         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16039         [BZ #11607]
16040         * NEWS: Add an entry.
16041         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16042         define their defaults.
16043         (two_way_short_needle): Detect end-of-string on-the-fly.
16044         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16045         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16046         * string/bug-strcasestr1.c: New test.
16047         * string/Makefile: Run it.
16049 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16051         [BZ #11607]
16052         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16053         the first character.
16055 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16057         * csu/elf-init.c (__libc_csu_irel): Function removed.
16058         * csu/libc-start.c (apply_irel): New function.
16059         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16061 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16063         * sysdeps/unix/sysv/linux/kernel-features.h
16064         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16065         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16066         <kernel-features.h>.
16067         [__NR_fadvise64_64]: Make code unconditional.
16068         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16069         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16070         !__NR_fadvise64_64)]: Likewise.
16071         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16072         !__NR_fadvise64_64))]: Likewise.
16073         [__NR_fadvise64]: Make code unconditional.
16074         [!__NR_fadvise64]: Remove conditional code.
16075         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16076         <kernel-features.h>.
16077         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16078         unconditional.
16079         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16080         conditional code.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16082         not include <kernel-features.h>.
16083         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16084         unconditional.
16085         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16086         conditional code.
16087         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16088         include <kernel-features.h>.
16089         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16090         unconditional.
16091         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16092         conditional code.
16094 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16096         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16097         slight instruction rearrangements per scrollpipe analysis.
16098         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16100 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16102         * manual/syslog.texi (syslog; vsyslog, closelog):
16103         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16104         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16106         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16107         DSOCAPS to match condition on defining it.
16109 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16111         * sysdeps/unix/sysv/linux/kernel-features.h
16112         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16114         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16115         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16117         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16118         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16120         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16121         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16123         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16124         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16126         * sysdeps/unix/sysv/linux/kernel-features.h
16127         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16128         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16129         unconditional.
16130         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16131         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16132         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16133         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16134         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16135         Make code unconditional.
16136         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16137         (__mmap64) [!__NR_mmap2]: Likewise.
16138         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16139         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16140         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16141         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16142         [__NR_mmap2]: Make code unconditional.
16143         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16144         (__mmap64) [!__NR_mmap2]: Likewise.
16146 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16148         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16150 2012-08-18  Andreas Jaeger  <aj@suse.de>
16152         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16154 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16156         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16157         * include/unistd.h (__have_sock_cloexec): Likewise.
16158         (__have_pipe2): Likewise.
16159         (__have_dup3): Likewise.
16161 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16163         [BZ #9685]
16164         * include/unistd.h (__have_pipe2): Change define into an extern int.
16165         (__have_dup3): Likewise.
16166         * socket/have_sock_cloexec.c: Include fcntl.h.
16167         (__have_pipe2): New variable.
16168         (__have_dup3): Likewise.
16170 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16172         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16174 2012-08-17  Marek Polacek  <polacek@redhat.com>
16176         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16177         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16179 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16181         * configure.in: Add AC_SUBST for sysheaders.
16182         * configure: Regenerated.
16183         * config.make.in (sysheaders): New substituted variable.
16185         * sysdeps/unix/mkfifo.c: Moved ...
16186         * sysdeps/posix/mkfifo.c: ... here.
16187         * sysdeps/unix/mkfifoat.c: Moved ...
16188         * sysdeps/posix/mkfifoat.c: ... here.
16190         * sysdeps/unix/utime.c: Moved ...
16191         * sysdeps/posix/utime.c: ... here.
16193         * sysdeps/unix/time.c: Moved ...
16194         * sysdeps/posix/time.c: ... here.
16195         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16196         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16198         * sysdeps/unix/nice.c: Moved ...
16199         * sysdeps/posix/nice.c: ... here.
16201         * sysdeps/unix/alarm.c: Moved ...
16202         * sysdeps/posix/alarm.c: ... here.
16204         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16206 2012-08-17  Jeff Law <law@redhat.com>
16208         * intl/Makefile (codeset_mo): New variable.
16209         ($(codeset_mo)): New target.
16210         (tst-codeset.out): Depend on that.  Remove explicit rule.
16211         (tst-gettext3.out, tst-gettext5.out): Likewise.
16212         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16213         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16214         * intl/tst-codeset.sh: Remove.
16215         * intl/tst-gettext3.sh: Likewise.
16216         * intl/tst-gettext5.sh: Likewise.
16218 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16220         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16221         * sysdeps/unix/syscalls.list: ... here.
16223         * sysdeps/posix/getaddrinfo.c
16224         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16225         (gaiconf_init, gaiconf_reload): Use them.
16226         [!_STATBUF_ST_NSEC]
16227         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16228         Define using time_t rather than struct timespec.
16230         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16231         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16232         Macros removed.
16233         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16234         [!NO_THREADS].
16235         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16236         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16237         Likewise.
16239         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16240         __libc_cleanup_push argument.
16242         * bits/param.h: New file.
16243         * misc/sys/param.h: New file.
16244         * include/sys/param.h: New file.
16245         * misc/Makefile (headers): Add bits/param.h.
16246         * sysdeps/generic/sys/param.h: File removed.
16247         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16248         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16249         * sysdeps/mach/hurd/bits/param.h: New file.
16250         * sysdeps/mach/hurd/sys/param.h: File removed.
16252         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16253         last change.
16255         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16256         [_IO_MTSAFE_IO].
16257         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16258         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16259         New macros.
16261         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16262         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16263         rather than -D_IO_MTSAFE_IO conditionally.
16264         * stdio-common/Makefile (CPPFLAGS): Likewise.
16265         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16266         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16267         Use $(libio-mtsafe).
16268         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16269         of -D_IO_MTSAFE_IO.
16270         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16271         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16272         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16273         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16274         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16275         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16276         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16277         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16278         (CFLAGS-fread_u_chk.c): Likewise.
16279         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16280         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16281         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16282         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16283         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16284         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16285         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16286         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16287         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16289         * libio/Makefile: Test [$(libc-reentrant) = yes]
16290         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16292         * Makeconfig
16293         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16294         * sysdeps/pthread/configure: File removed.
16295         * sysdeps/pthread/Makeconfig: New file.
16296         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16297         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16299 2012-08-16  Gary Benson  <gbenson@redhat.com>
16301         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16302         unmapping the first object in a namespace.
16304 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16306         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16307         (__internal_setnetgrent): ... this.  Add internal_function to
16308         definition.  Add libc_hidden_def.
16309         (setnetgrent): Update caller.
16310         (internal_endnetgrent): Renamed to ...
16311         (__internal_endnetgrent): ... this.  Add internal_function to
16312         definition.  Add libc_hidden_def.
16313         (endnetgrent): Update caller.
16314         (internal_getnetgrent_r): Renamed to ...
16315         (__internal_getnetgrent_r): ... this.  Add internal_function to
16316         definition.  Add libc_hidden_def.
16317         (__getnetgrent_r): Update caller.
16318         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16320 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16322         * stdlib/longlong.h: Update from GCC.
16324 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16326         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16327         on _QL, which is set by umul_ppmm but never used.
16328         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16329         variables, which are set by GMP macros but never used.
16330         * stdio-common/_itowa.c (_itowa): Likewise.
16331         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16332         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16334 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16336         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16337         struct La_sh_regs is not constant.
16338         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16339         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16340         and struct La_sparc64_regs are not constant.
16342 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16344         * sysdeps/unix/sysv/linux/kernel-features.h
16345         (__ASSUME_POSIX_TIMERS): Remove.
16346         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16348         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16349         Make code unconditional.
16350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16351         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16352         Make code unconditional.
16353         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16354         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16355         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16356         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16357         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16358         Make code unconditional.
16359         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16360         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16361         (__libc_missing_posix_timers): Remove.
16363 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16365         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16366         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16368         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16370         * elf/dl-sym.c: Include <stdlib.h>.
16372         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16373         constants, which avoids warnings in 32-bit builds.
16375         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16376         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16378         * misc/lseek.c: File moved to ...
16379         * io/lseek.c: ... here.
16381         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16383         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16384         shifting LEN more than 31 bits at once.
16386 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16388         [BZ #14195]
16389         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16390         segmentation fault for a case of two empty input strings.
16391         * string/test-strncasecmp.c (check1): Renamed to...
16392         (bz12205): ...this.
16393         (bz14195): Add new testcase for two empty input strings and N > 0.
16394         (test_main): Call new testcase, adapt for renamed function.
16396 2012-08-15  Andreas Jaeger  <aj@suse.de>
16398         [BZ #14090]
16399         * crypt/md5test2.c: New test, based on test supplied by Serge
16400         Belyshev <belyshev@depni.sinp.msu.ru>.
16401         * crypt/Makefile (xtests): Add md5test-giant..
16402         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16404 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16406         [BZ #14090]
16407         * crypt/md5.c (md5_process_block): Don't assume the buffer
16408         length is less than 2**32.
16409         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16410         length is less than 2**64.
16412 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16414         * string/str-two-way.h: Include <sys/param.h>.
16415         (MAX): Macro removed.
16417         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16418         Move #define and #undef of memmove to just before and after
16419         including <string.h>.
16421         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16422         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16423         and after including <string.h>.  Move declarations of
16424         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16425         to before #include "string/memmove.c".
16427         * include/dirent.h: Declare __getdirentries.
16429         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16430         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16432 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16434         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16435         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16436         * sysdeps/i386/configure: Regenerated.
16437         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16438         STABS_CURRENT_FILE, and STABS_FUN.
16439         (END): Remove call to STABS_FUN_END.
16440         (STABS_CURRENT_FILE1): Delete.
16441         (STABS_CURRENT_FILE): Likewise.
16442         (STABS_FUN): Likewise.
16443         (STABS_FUN_END): Likewise.
16444         (STABS_FUN2): Likewise.
16445         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16446         * sysdeps/x86_64/configure: Regenerated.
16448 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16450         * elf/dl-open.c: Include <atomic.h>.
16451         * elf/dl-lookup.c: Likewise.
16453 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16455         * sysdeps/unix/sysv/linux/kernel-features.h
16456         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16457         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16458         unconditionally.
16459         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16460         unconditionally.
16461         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16462         condition on __ASSUME_CLONE_THREAD_FLAGS.
16464 2012-08-14  Andreas Jaeger  <aj@suse.de>
16466         * sysdeps/i386/fpu/libm-test-ulps: Update.
16468 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16470         * include/atomic.h (atomic_exchange_and_add): Split into ...
16471         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16472         New atomic macros.
16474 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16478 2012-08-13  Jeff Law <law@redhat.com>
16480         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16481         null byte in the output string.
16483 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16485         * sysdeps/unix/sysv/linux/kernel-features.h
16486         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16487         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16488         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16489         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16490         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16491         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16492         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16494 2012-08-09  Jeff Law <law@redhat.com>
16496         [BZ #13939]
16497         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16498         When avoid_arena is set, don't retry in the that arena.  Pick the
16499         next one, whatever it might be.
16500         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16501         (arena_lock): Pass in new parameter to arena_get2.
16502         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16503         arena_get2.
16504         (__libc_malloc): Unify retrying after main arena failure with
16505         __libc_memalign version.
16506         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16508 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16510         [BZ #14166]
16511         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16512         to __redirect_strstr.
16513         (__strstr_sse42): Use typeof __redirect_strstr.
16514         (__strstr_ia32): Likewise.
16515         (__libc_strstr): New prototype.
16516         (strstr): Renamed to ...
16517         (__libc_strstr): This.
16518         (strstr): New strong alias of __libc_strstr.
16519         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16520         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16521         __redirect_time.
16522         Include <time.h>.
16523         (__libc_time): New prototype.
16524         (time_ifunc): Replace time with __libc_time.
16525         (time): New strong alias and hidden definition of __libc_time.
16526         (__GI_time): Remove strong alias.
16527         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16528         Include <stddef.h>.
16529         (memmove): Redefined to __redirect_memmove.
16530         (__memmove_sse2): Use typeof __redirect_memmove.
16531         (__memmove_ssse3): Likewise.
16532         (__memmove_ssse3_back): Likewise.
16533         (__libc_memmove): New prototype.
16534         (memmove): Renamed to ...
16535         (__libc_memmove): This.
16536         (memmove): New strong alias of __libc_memmove.
16538 2012-08-08  Mark Salter  <msalter@redhat.com>
16540         * elf/elf.h
16541         (R_MN10300_TLS_GD): Define.
16542         (R_MN10300_TLS_LD): Likewise.
16543         (R_MN10300_TLS_LDO): Likewise.
16544         (R_MN10300_TLS_GOTIE): Likewise.
16545         (R_MN10300_TLS_IE): Likewise.
16546         (R_MN10300_TLS_LE): Likewise.
16547         (R_MN10300_TLS_DTPMOD): Likewise.
16548         (R_MN10300_TLS_DTPOFF): Likewise.
16549         (R_MN10300_TLS_TPOFF): Likewise.
16550         (R_MN10300_SYM_DIFF): Likewise.
16551         (R_MN10300_ALIGN): Likewise.
16552         (R_MN10300_NUM): Update.
16554 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16557         Remove.
16559 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16561         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16563         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16564         sysdeps/unix -> sysdeps/posix move.
16565         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16567 2012-08-07      Allan McRae     <allan@archlinux.org>
16569         [BZ #14303]
16570         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16571         (SUNOS_CPP): Likewise.
16572         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16573         not found.
16574         (open_input): Call CPP using execvp.
16576 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16578         * sysdeps/unix/sysv/linux/kernel-features.h
16579         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16580         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16581         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16582         (__ASSUME_WAITID_SYSCALL): Likewise.
16583         * sysdeps/unix/sysv/linux/dl-execstack.c
16584         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16585         code unconditional.
16586         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16587         conditional code.
16588         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16589         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16590         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16591         code.
16592         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16593         unconditional.
16594         [__ASSUME_WAITID_SYSCALL]: Likewise.
16595         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16597 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16599         * sysdeps/unix/closedir.c: Renamed to ...
16600         * sysdeps/posix/closedir.c: ... here.
16601         * sysdeps/unix/dirfd.c: Renamed to ...
16602         * sysdeps/posix/dirfd.c: ... here.
16603         * sysdeps/unix/dirstream.h: Renamed to ...
16604         * sysdeps/posix/dirstream.h: ... here.
16605         * sysdeps/unix/fdopendir.c: Renamed to ...
16606         * sysdeps/posix/fdopendir.c: ... here.
16607         * sysdeps/unix/opendir.c: Renamed to ...
16608         * sysdeps/posix/opendir.c: ... here.
16609         * sysdeps/unix/readdir.c: Renamed to ...
16610         * sysdeps/posix/readdir.c: ... here.
16611         * sysdeps/unix/readdir_r.c: Renamed to ...
16612         * sysdeps/posix/readdir_r.c: ... here.
16613         * sysdeps/unix/rewinddir.c: Renamed to ...
16614         * sysdeps/posix/rewinddir.c: ... here.
16615         * sysdeps/unix/seekdir.c: Renamed to ...
16616         * sysdeps/posix/seekdir.c: ... here.
16617         * sysdeps/unix/telldir.c: Renamed to ...
16618         * sysdeps/posix/telldir.c: ... here.
16619         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16620         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16621         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16622         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16624         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16625         * bits/fcntl.h: ... here.
16627         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16628         not 0.
16629         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16630         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16631         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16632         (struct flock): Move l_start, l_len to the beginning.
16633         Use __pid_t for l_pid.
16634         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16635         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16636         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16637         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16638         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16639         [__USE_LARGEFILE64] (struct flock64): New type.
16640         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16642         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16643         * bits/dirent.h: ... here.
16645         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16646         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16648 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16651         Change from 2.6.0 to 2.6.16.
16652         * sysdeps/unix/sysv/linux/configure: Regenerated.
16653         * sysdeps/unix/sysv/linux/kernel-features.h
16654         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16655         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16656         version.
16657         (__ASSUME_UTIMES): Likewise.
16658         (__ASSUME_CLONE_STOPPED): Remove.
16659         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16660         architectures, not kernel version.
16661         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16662         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16663         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16664         (__ASSUME_WAITID_SYSCALL): Likewise.
16665         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16666         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16667         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16668         refer to older versions.
16670 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16672         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16673         Define alphasort64 as an alias.
16674         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16675         Define versionsort64 as an alias.
16676         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16677         Define scandir64 as an alias.
16678         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16679         Define scandirat64 as an alias.
16680         * dirent/alphasort64.c (alphasort64):
16681         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16682         * dirent/versionsort64.c: Likewise.
16683         * dirent/scandir64.c: Likewise.
16684         * dirent/scandirat64.c: Likewise.
16685         * sysdeps/wordsize-64/alphasort.c: File removed.
16686         * sysdeps/wordsize-64/alphasort64.c: File removed.
16687         * sysdeps/wordsize-64/scandir.c: File removed.
16688         * sysdeps/wordsize-64/scandir64.c: File removed.
16689         * sysdeps/wordsize-64/scandirat.c: File removed.
16690         * sysdeps/wordsize-64/scandirat64.c: File removed.
16691         * sysdeps/wordsize-64/versionsort.c: File removed.
16692         * sysdeps/wordsize-64/versionsort64.c: File removed.
16693         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16694         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16695         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16696         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16697         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16698         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16699         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16700         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16702         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16704         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16706         [defined __arch64__ || defined __sparcv9]
16707         (__INO_T_MATCHES_INO64_T): New macro.
16708         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16709         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16710         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16711         * sysdeps/unix/sysv/linux/bits/dirent.h
16712         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16713         (_DIRENT_MATCHES_DIRENT64): New macro.
16715         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16716         Define lockf64 as an alias.
16717         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16718         Define fseeko64 as an alias.
16719         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16720         Define ftello64 as an alias.
16721         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16722         Define _IO_fgetpos64 and fgetpos64 as aliases.
16723         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16724         Define _IO_fsetpos64 and fsetpos64 as aliases.
16725         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16726         Conditionalize body on this.
16727         * libio/fseeko64.c: Likewise.
16728         * libio/ftello64.c: Likewise.
16729         * libio/iofgetpos64.c: Likewise.
16730         * libio/iofsetpos64.c: Likewise.
16731         * sysdeps/wordsize-64/lockf.c: File removed.
16732         * sysdeps/wordsize-64/lockf64.c: File removed.
16733         * sysdeps/wordsize-64/fseeko.c: File removed.
16734         * sysdeps/wordsize-64/fseeko64.c: File removed.
16735         * sysdeps/wordsize-64/ftello.c: File removed.
16736         * sysdeps/wordsize-64/ftello64.c: File removed.
16737         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16738         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16739         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16740         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16741         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16742         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16743         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16745         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16747         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16748         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16749         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16750         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16752         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16754         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16756         [defined __arch64__ || defined __sparcv9]
16757         (__OFF_T_MATCHES_OFF64_T): New macro.
16758         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16759         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16761         (__OFF_T_MATCHES_OFF64_T): New macro.
16763 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16765         * stdlib/secure-getenv.c (__secure_getenv): Replace
16766         GLIBC_2_16 with GLIBC_2_17.
16768 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16770         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16771         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16773 2012-08-03  David S. Miller  <davem@davemloft.net>
16775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16777 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16780         Remove.
16781         (__ASSUME_CORRECT_SI_PID): Likewise.
16782         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16783         (__ASSUME_TMPFS_NAME): Likewise.
16784         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16785         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16786         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16787         (HAVE_AUX_SECURE): Make definition unconditional.
16788         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16789         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16791 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16793         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16794         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16795         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16796         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16797         __eloop_threshold instead of SYMLOOP_MAX.
16799         * sysdeps/generic/eloop-threshold.h: New file.
16800         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16801         of MAXSYMLINKS.
16802         * elf/chroot_canon.c (chroot_canon): Likewise.
16804 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16806         [BZ #13717]
16807         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16808         Change to 2.6.0 everywhere.
16809         * sysdeps/unix/sysv/linux/configure: Regenerated.
16810         * sysdeps/unix/sysv/linux/kernel-features.h
16811         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16812         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16813         kernel versions.
16814         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16815         (__ASSUME_FUTEX_REQUEUE): Remove.
16816         (__ASSUME_STATFS64): Define unconditionally.
16817         (__ASSUME_AT_SECURE): Likewise.
16818         (__ASSUME_CORRECT_SI_PID): Likewise.
16819         (__ASSUME_TGKILL): Define without depending on kernel version for
16820         i386.
16821         (__ASSUME_UTIMES): Likewise.
16822         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16823         kernel version.
16824         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16825         (__ASSUME_TMPFS_NAME): Likewise.
16826         * README: Update reference to Linux kernel versions.
16828 2012-08-02  Marek Polacek  <polacek@redhat.com>
16830         [BZ# 14150]
16831         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16832         libc_cv_asm_type_prefix with %.
16833         * configure: Regenerated.
16834         * include/libc-symbols.h: Remove comment about
16835         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16836         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16837         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16838         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16839         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16840         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16841         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16842         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16843         * elf/tst-unique2mod1.c: Likewise.
16844         * elf/tst-unique1mod2.c: Likewise.
16845         * elf/tst-unique1mod1.c: Likewise.
16846         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16847         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16848         Replace ASM_TYPE_DIRECTIVE with .type.
16849         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16850         * sysdeps/i386/sysdep.h: Likewise.
16851         * sysdeps/x86_64/sysdep.h: Likewise.
16852         * sysdeps/sh/sysdep.h: Likewise.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16854         Do not define ASM_TYPE_DIRECTIVE.
16855         * sysdeps/powerpc/sysdep.h: Likewise.
16856         * sysdeps/powerpc/powerpc32/sysdep.h:
16857         Replace ASM_TYPE_DIRECTIVE with .type.
16858         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16859         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16860         * sysdeps/i386/fpu/e_powf.S: Likewise.
16861         * sysdeps/i386/fpu/e_expl.S: Likewise.
16862         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16863         * sysdeps/i386/fpu/e_acosh.S: Likewise.
16864         * sysdeps/i386/fpu/e_pow.S: Likewise.
16865         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16866         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16867         * sysdeps/i386/fpu/s_expm1.S: Likewise.
16868         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16869         * sysdeps/i386/fpu/e_log2.S: Likewise.
16870         * sysdeps/i386/fpu/e_log2l.S: Likewise.
16871         * sysdeps/i386/fpu/e_scalb.S: Likewise.
16872         * sysdeps/i386/fpu/e_powl.S: Likewise.
16873         * sysdeps/i386/fpu/e_log10f.S: Likewise.
16874         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16875         * sysdeps/i386/fpu/e_logl.S: Likewise.
16876         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16877         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16878         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16879         * sysdeps/i386/fpu/e_log2f.S: Likewise.
16880         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16881         * sysdeps/i386/fpu/e_log.S: Likewise.
16882         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16883         * sysdeps/i386/fpu/e_logf.S: Likewise.
16884         * sysdeps/i386/fpu/e_log10l.S: Likewise.
16885         * sysdeps/i386/fpu/e_atanh.S: Likewise.
16886         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16887         * sysdeps/i386/fpu/e_log10.S: Likewise.
16888         * sysdeps/i386/fpu/s_frexp.S: Likewise.
16889         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16890         * sysdeps/i386/fpu/s_asinh.S: Likewise.
16891         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16892         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16893         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16894         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16895         * sysdeps/i386/i686/strtok.S: Likewise.
16896         * sysdeps/i386/i386-mcount.S: Likewise.
16897         * sysdeps/i386/strtok.S: Likewise.
16898         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16899         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16900         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16901         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16902         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16903         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16904         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16905         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16906         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16907         * sysdeps/x86_64/_mcount.S: Likewise.
16908         * sysdeps/x86_64/strtok.S: Likewise.
16909         * sysdeps/sh/_mcount.S: Likewise.
16911 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16913         * libio/iofopen.c: Include <fcntl.h>.
16914         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16915         (_IO_fopen64, fopen64): Define as aliases.
16916         * libio/iofopen64.c: Include <fcntl.h>.
16917         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16918         Conditionalize body on this.
16919         * sysdeps/wordsize-64/iofopen.c: File removed.
16920         * sysdeps/wordsize-64/iofopen64.c: File removed.
16922 2012-08-01  Marek Polacek  <polacek@redhat.com>
16924         * libc/Makeconfig: Use elf in place of binfmt-subdir.
16925         Use dlfcn directly instead of a variable.
16926         (binfmt-subdir): Do not define.
16927         (dlfcn): Likewise.
16929 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
16931         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16932         Remove all definitions.
16933         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16934         <kernel-features.h>.
16935         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16936         (miss_F_GETOWN_EX): Remove all definitions.
16937         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16938         macro definition.
16939         [!__ASSUME_FCNTL64]: Remove conditional code.
16940         [__ASSUME_FCNTL64]: Make code unconditional.
16941         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16942         <kernel-features.h>.
16943         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16944         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16945         (lockf64) [__NR_fcntl64]: Make code unconditional.
16946         (lockf64) [__ASSUME_FCNTL64]: Likewise.
16948         * sysdeps/unix/sysv/linux/kernel-features.h
16949         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16950         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16951         Make code unconditional.
16952         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16953         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16955         [__NR_vfork]: Make code unconditional.
16956         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16957         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16959         [__NR_vfork]: Make code unconditional.
16960         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16961         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16963 2012-08-01  Roland McGrath  <roland@hack.frob.com>
16965         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16966         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16968         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16969         Define mkstemp64 as an alias.
16970         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16971         Define mkstemps64 as an alias.
16972         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16973         Define mkostemp64 as an alias.
16974         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16975         Define mkostemps64 as an alias.
16976         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16977         Conditionalize body on this.
16978         * misc/mkostemp64.c: Likewise.
16979         * misc/mkostemps64.c: Likewise.
16980         * misc/mkstemps64.c: Likewise.
16981         * sysdeps/wordsize-64/mkstemp64.c: File removed.
16982         * sysdeps/wordsize-64/mkostemp64.c: File removed.
16983         * sysdeps/wordsize-64/mkostemp.c: File removed.
16984         * sysdeps/wordsize-64/mkstemp.c: File removed.
16985         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16986         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16987         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16988         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16990         [BZ #14138]
16991         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16992         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16993         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16994         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16996         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16997         compat_symbol macros from <shlib-compat.h> rather than the underlying
16998         default_symbol_version and symbol_version macros, so that DEFAULT
16999         lines in shlib-versions are respected.
17000         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17002 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17004         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17005         Declare with warn_unused_result.
17006         (setgid, setregid, setegid, setresgid): Likewise.
17007         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17008         Likewise.
17009         * WUR-REPORT: Remove set*id functions.
17011 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17013         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17015 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17017         [BZ #10191]
17018         * include/sys/socket.h (__libc_accept, __libc_accept4):
17019         Add attribute_hidden.
17020         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17022         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17023         use of PTR_MANGLE.
17024         * inet/getnetgrent_r.c (setup): Likewise.
17026         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17028 2012-07-31  David S. Miller  <davem@davemloft.net>
17030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17032 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17034         [BZ #13629]
17035         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17036         value between 1.0 and 2.0 and smaller part has absolute value less
17037         than 1.0.
17038         * math/s_clog10.c (__clog10): Likewise.
17039         * math/s_clog10f.c (__clog10f): Likewise.
17040         * math/s_clog10l.c (__clog10l): Likewise.
17041         * math/s_clogf.c (__clogf): Likewise.
17042         * math/s_clogl.c (__clogl): Likewise.
17043         * math/libm-test.inc (clog_test): Add more tests.
17044         (clog10_test): Likewise.
17045         * sysdeps/i386/fpu/libm-test-ulps: Update.
17046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17048 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17050         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17051         Exit with zero in case no suitable GID is found, and write a
17052         message to standard error.
17054 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17056         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17057         rather than to 1.
17058         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17059         (MAXPATHLEN): Removed.
17060         (NOGROUP, NODEV): New macros.
17061         (setbit, clrbit, isset, isclr): New macros.
17062         (howmany, roundup, powerof2): New macros.
17063         (DEV_BSIZE): New macro.
17065         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17066         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17068         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17069         definition on [!__NO_LONG_DOUBLE_MATH].
17071         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17072         PTR_MANGLE and PTR_DEMANGLE.
17074         * socket/accept4.c (accept4): Rename to __libc_accept4.
17075         Define accept4 as a weak alias.
17077         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17078         on [_DIRENT_HAVE_D_TYPE].
17079         * io/ftw.c (ftw_dir): Likewise.
17081         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17083         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17085         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17086         Use the BSD numbers rather than the arbitrary ones we had.
17087         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17088         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17089         (SIGXCPU, SIGXFSZ): New macros.
17090         (_NSIG): Now 32.
17092         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17093         initializer on [_LIBC_REENTRANT].
17095         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17096         definitions inside [_POSIX_MAPPED_FILES].
17098         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17100         * dirent/opendir.c: Include <fcntl.h>.
17102         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17103         (__libc_getspecific): Likewise.
17104         (__libc_key_create): Likewise.
17106         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17107         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17108         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17109         (tmpfile64): Define as alias.
17110         * sysdeps/wordsize-64/tmpfile.c: File removed.
17111         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17112         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17113         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17115         * stdio-common/vfscanf.c: Include <stdbool.h>.
17116         * nss/makedb.c: Likewise.
17117         * stdio-common/_i18n_number.h: Likewise.
17118         * argp/argp-help.c: Likewise.
17119         * posix/wordexp.c: Likewise.
17120         * sysdeps/posix/spawni.c: Likewise.
17121         * nss/nss_files/files-initgroups.c: Likewise.
17122         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17123         * nss/nss_files/files-initgroups.c: Likewise.
17124         * nss/nss_db/db-netgrp.c: Likewise.
17125         * nss/nss_db/db-initgroups.c: Likewise.
17126         * io/fchmodat.c: Include <sys/stat.h>.
17128         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17129         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17131         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17132         [HAVE_MMAP].
17134         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17135         Add multiple inclusion protection.
17137 2012-07-27  David S. Miller  <davem@davemloft.net>
17139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17141 2012-07-27  Gary Benson  <gbenson@redhat.com>
17143         [BZ #14298]
17144         * elf/rtld.c: Include <stap-probe.h>.
17145         (dl_main): Added static probes "init_start" and "init_complete".
17146         * elf/dl-load.c: Include <stap-probe.h>.
17147         (lose): Take new parameter "nsid".
17148         Added static probe "map_failed".
17149         (_dl_map_object_from_fd): Pass namespace id to lose.
17150         Added static probe "map_start".
17151         (open_verify): Pass namespace id to lose.
17152         * elf/dl-open.c: Include <stap-probe.h>.
17153         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17154         and "reloc_complete".
17155         * elf/dl-close.c: Include <stap-probe.h>.
17156         (_dl_close_worker): Added static probes "unmap_start" and
17157         "unmap_complete".
17158         * elf/rtld-debugger-interface.txt: New file documenting the above.
17160 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17162         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17163         rather than a string variable.
17164         * sunrpc/rpc_main.c (h_output): Likewise.
17165         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17167 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17169         * inet/check_native.c: New file.
17171 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17173         [BZ #13629]
17174         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17175         if larger part has absolute value 1.0.
17176         * math/s_clog10.c (__clog10): Likewise.
17177         * math/s_clog10f.c (__clog10f): Likewise.
17178         * math/s_clog10l.c (__clog10l): Likewise.
17179         * math/s_clogf.c (__clogf): Likewise.
17180         * math/s_clogl.c (__clogl): Likewise.
17181         * math/libm-test.inc (clog_test): Add more tests.
17182         (clog10_test): Likewise.
17183         * sysdeps/i386/fpu/libm-test-ulps: Update.
17184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17187         (pltexit): Likewise.
17188         (La_regs): Likewise.
17189         (La_retval): Likewise.
17190         (int_retval): Likewise.
17191         Update #error for removed macros to refer only to definitions in
17192         tst-audit.h.
17193         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17194         macro.
17195         (pltexit): Likewise.
17196         (La_regs): Likewise.
17197         (La_retval): Likewise.
17198         (int_retval): Likewise.
17199         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17200         macro.
17201         (pltexit): Likewise.
17202         (La_regs): Likewise.
17203         (La_retval): Likewise.
17204         (int_retval): Likewise.
17205         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17206         macro.
17207         (pltexit): Likewise.
17208         (La_regs): Likewise.
17209         (La_retval): Likewise.
17210         (int_retval): Likewise.
17211         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17212         macro.
17213         (pltexit): Likewise.
17214         (La_regs): Likewise.
17215         (La_retval): Likewise.
17216         (int_retval): Likewise.
17217         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17218         macro.
17219         (pltexit): Likewise.
17220         (La_regs): Likewise.
17221         (La_retval): Likewise.
17222         (int_retval): Likewise.
17223         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17224         macro.
17225         (pltexit): Likewise.
17226         (La_regs): Likewise.
17227         (La_retval): Likewise.
17228         (int_retval): Likewise.
17229         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17230         macro definitions in tst-audit.h.
17231         * sysdeps/i386/tst-audit.h: New file.
17232         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17233         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17234         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17235         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17236         * sysdeps/sh/tst-audit.h: Likewise.
17237         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17238         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17239         * sysdeps/x86_64/tst-audit.h: Likewise.
17241 2012-07-26  Andreas Jaeger  <aj@suse.de>
17243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17244         ptrace.
17246         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17247         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17248         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17249         PTRACE_O_MASK.
17250         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17251         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17252         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17254         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17255         value.
17257         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17258         _sigsys.
17259         (si_call_addr, si_syscall, si_arch): Define new macro.
17260         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17261         _sigsys.
17262         (si_call_addr, si_syscall, si_arch): Define new marcro.
17263         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17264         _sigsys.
17265         (si_call_addr, si_syscall, si_arch): Define new macro.
17266         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17267         _sigsys.
17268         (si_call_addr, si_syscall, si_arch): Define new macro.
17270 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #13717]
17273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17274         Change to 2.4.21 where previously 2.4.1.
17275         * sysdeps/unix/sysv/linux/configure: Regenerated.
17276         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17277         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17278         Linux kernel version.
17279         (__ASSUME_STD_AUXV): Remove.
17280         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17281         kernel version.
17282         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17283         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17284         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17285         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17286         (__ASSUME_NETLINK_SUPPORT): Likewise.
17287         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17288         (__no_netlink_support): Remove conditional definition.
17289         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17290         Remove.
17291         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17292         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17293         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17294         (if_nameindex_ioctl): Remove.
17295         (if_nameindex_netlink): Do not handle __no_netlink_support.
17296         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17297         code.
17298         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17299         Remove conditional code.
17300         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17301         code.
17302         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17303         unconditional.
17304         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17305         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17306         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17307         Remove.
17308         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17309         [!__ASSUME_STD_AUXV]: Remove conditional code.
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17311         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17312         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17314         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17315         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17316         code.
17317         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17319         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17320         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17321         conditional code.
17322         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17324         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17325         code.
17326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17327         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17328         conditional code.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17330         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17331         code unconditional.
17332         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17333         conditional code.
17334         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17335         unconditional.
17336         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17337         conditional code.
17338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17339         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17340         unconditional.
17341         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17342         conditional code.
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17344         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17345         code unconditional.
17346         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17347         conditional code.
17348         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17349         unconditional.
17350         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17351         conditional code.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17353         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17354         code unconditional.
17355         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17356         conditional code.
17357         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17358         unconditional.
17359         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17360         conditional code.
17362 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17364         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17365         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17366         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17367         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17368         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17369         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17370         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17371         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17372         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17373         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17374         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17375         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17376         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17377         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17378         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17379         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17380         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17381         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17382         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17384         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17385         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17388 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17390         * Versions.def: Add GLIBC_2.17.
17391         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17392         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17393         Introduce __libc_secure_getenv.
17394         * stdlib/Versions (2.17): Add secure_getenv
17395         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17396         * stdlib/secure-getenv.c: Rename __secure_getenv to
17397         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17398         symbol __secure_getenv for GLIBC_2.0.
17399         * stdlib/tst-secure-getenv.c: New.
17400         * stdlib/Makefile (tests): Add testcase.
17401         * manual/startup.texi (Environment Access): Document
17402         secure_getenv.
17403         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17404         __libc_secure_getenv.
17405         * inet/ruserpass.c (ruserpass): Likewise.
17406         * malloc/mtrace.c (mtrace): Likewise.
17407         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17408         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17409         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17410         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17411         HAVE_SECURE_GETENV.
17412         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17413         __secure_getenv to __libc_secure_getenv.
17414         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17416         Likewise.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17418         Likewise.
17419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17427 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17429         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17430         (struct La_i86_retval): Likewise.
17431         (struct La_x86_64_regs): Likewise.
17432         (struct La_x86_64_retval): Likewise.
17433         (struct La_x32_regs): Likewise.
17434         (struct La_x32_retval): Likewise.
17435         (struct La_ppc32_regs): Likewise.
17436         (struct La_ppc32_retval): Likewise.
17437         (struct La_ppc64_regs): Likewise.
17438         (struct La_ppc64_retval): Likewise.
17439         (struct La_sh_regs): Likewise.
17440         (struct La_sh_retval): Likewise.
17441         (struct La_s390_32_regs): Likewise.
17442         (struct La_s390_32_retval): Likewise.
17443         (struct La_s390_64_regs): Likewise.
17444         (struct La_s390_64_retval): Likewise.
17445         (struct La_sparc32_regs): Likewise.
17446         (struct La_sparc32_retval): Likewise.
17447         (struct La_sparc64_regs): Likewise.
17448         (struct La_sparc64_retval): Likewise.
17449         (struct audit_ifaces): Remove architecture-specific pltenter and
17450         pltexit members.
17451         * sysdeps/i386/ldsodefs.h: New file.
17452         * sysdeps/powerpc/ldsodefs.h: Likewise.
17453         * sysdeps/s390/ldsodefs.h: Likewise.
17454         * sysdeps/sh/ldsodefs.h: Likewise.
17455         * sysdeps/sparc/ldsodefs.h: Likewise.
17456         * sysdeps/x86_64/ldsodefs.h: Likewise.
17458 2012-07-25  Marek Polacek  <polacek@redhat.com>
17460         [BZ #6808]
17461         * math/libm-test.inc (yn_test): Add another test.
17462         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17463         to ERANGE when the result is +-Inf.
17464         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17465         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17466         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17469 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17471         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17472         equal to 0.
17473         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17474         clock_t.
17475         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17477 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17479         * configure.in <sysdeps resolving>: Correct printing
17480         Implies_before.
17481         * configure: Regenerate.
17483 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17485         * math/w_ilogb.c: Include <limits.h>.
17486         * math/w_ilogbl.c: Likewise.
17488 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17490         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17491         va_copy.  Document allowing for unavailable va_copy only as
17492         pre-C99 compatibility.
17493         * manual/string.texi (Copying and Concatenation): Use va_copy
17494         instead of __va_copy in concat example.
17496 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17498         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17499         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17500         it if not null.
17502         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17503         with O_NOLINK passed to __file_name_lookup.
17505         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17506         with O_NOLINK passed to __file_name_lookup.
17508         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17509         negative N or less than NGIDS.
17511         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17512         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17513         enough.  Use memcpy instead of strncpy.
17515 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17517         * elf/Makefile (check-data): Remove.
17518         (localplt.data): New vpath directive.
17519         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17520         instead of $(check-data).
17521         * scripts/data/localplt-generic.data: Move to ...
17522         * sysdeps/generic/localplt.data: ... here.
17523         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17524         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17525         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17527         ... here.
17528         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17530         ... here.
17531         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17533         ... here.
17534         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17536         ... here.
17537         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17539         ... here.
17540         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17542         ... here.
17544 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17546         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17547         PPC32 and PPC64 files.
17548         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17549         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17551 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17553         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17554         __makecontext_ret to ...
17555         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17556         ... here and call exit if uc_link is NULL.  New file.
17557         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17558         __makecontext_ret.S.
17559         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17560         __makecontext_ret to ...
17561         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17562         ... here and call exit if uc_link is NULL.  New file.
17563         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17564         __makecontext_ret.S.
17566 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17568         * elf/elf.h (R_390_IRELATIVE): New definition.
17569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17570         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17571         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17572         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17573         (elf_machine_lazy_rel): Likewise.
17574         * sysdeps/s390/dl-irel.h: New file.
17575         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17576         * sysdeps/s390/s390-64/memset.S: New asm code.
17577         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17578         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17579         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17580         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17581         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17582         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17583         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17584         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17585         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17586         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17587         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17588         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17589         * sysdeps/s390/s390-32/memset.S: New asm code.
17590         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17592 2012-07-17  Marek Polacek  <polacek@redhat.com>
17594         [BZ #14349]
17595         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17596         * sysdeps/s390/s390-64/configure.in: Likewise.
17597         * sysdeps/sparc/configure.in: Likewise.
17598         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17599         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17600         * sysdeps/i386/configure.in: Likewise.
17601         * sysdeps/x86_64/configure.in: Likewise.
17602         * sysdeps/sh/configure.in: Likewise.
17603         * sysdeps/s390/s390-32/configure: Regenerated.
17604         * sysdeps/s390/s390-64/configure: Likewise.
17605         * sysdeps/x86_64/configure: Likewise.
17606         * sysdeps/sh/configure: Likewise.
17607         * sysdeps/powerpc/powerpc64/configure: Likewise.
17608         * sysdeps/powerpc/powerpc32/configure: Likewise.
17609         * sysdeps/sparc/configure: Likwise.
17610         * sysdeps/i386/configure: Likewise.
17612         * elf/dl-open.c: Comment fixes.
17614 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17616         * Makefile [CXX] (check-data): Remove.
17617         [CXX] (c++-types.data): New vpath directive.
17618         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17619         vpath.  Do not allow for C++ type data being missing.
17620         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17621         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17622         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17623         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17624         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17625         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17626         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17628         ... here.
17629         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17631         ... here.
17632         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17634         ... here.
17635         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17637         ... here.
17638         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17640         ... here.
17641         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17643         ... here.
17644         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17646         ... here.
17647         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17650         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17651         definitions to architecture-specific files.
17652         (TLS_IE): Likewise.
17653         (TLS_LD): Likewise.
17654         (TLS_GD): Likewise.
17655         * sysdeps/i386/tls-macros.h: New file.
17656         * sysdeps/powerpc/tls-macros.h: Likewise.
17657         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17658         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17659         * sysdeps/sh/tls-macros.h: Likewise.
17660         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17661         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17662         * sysdeps/x86_64/tls-macros.h: Likewise.
17664 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17666         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17667         zero value for regular exit case.
17669         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17670         (__start_context): Preserve zero value for regular exit case.
17672 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17673             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17675         * manual/setjmp.texi (setcontext): Clarify normal process
17676         termination when uc_link is the null pointer.
17677         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17678         exit call.
17680 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17682         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17683         preprocessor.  Test for each exception mask separately.
17685 2012-07-16  Andreas Jaeger  <aj@suse.de>
17687         * po/ru.po: Update from translation team.
17689 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17691         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17692         equal to 0.
17693         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17694         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17695         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17696         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17699 2012-07-13  Andreas Jaeger  <aj@suse.de>
17701         * po/fr.po: Update from translation team.
17703 2012-07-12  Marek Polacek  <polacek@redhat.com>
17705         [BZ #14173]
17706         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17707         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17708         loop condition.
17710 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17712         [BZ #13717]
17713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17714         Change to 2.4.1 where previously 2.4.0.
17715         * sysdeps/unix/sysv/linux/configure: Regenerated.
17716         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17717         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17718         version.
17719         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17720         (__ASSUME_AT_CLKTCK): Remove.
17721         (__ASSUME_AT_PAGESIZE): Likewise.
17722         (__ASSUME_AT_XID): Likewise.
17723         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17724         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17725         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17726         unconditionally.
17727         (HAVE_AUX_PAGESIZE): Likewise.
17728         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17729         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17730         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17732 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17734         [BZ #14307]
17735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17736         the temporary buffer used to invoke __gethostbyname2_r,
17737         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17738         host_data / struct gaih_addrtuple.
17739         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17740         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17741         header file nss/nsswitch.h.
17742         * nss/nsswitch.h (global scope): Add definition of implementation
17743         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17744         resolv/nss_dns/dns-host.c).
17746 2012-07-11  Andreas Jaeger  <aj@suse.de>
17748         * po/fr.po: Update from translation team.
17750         * po/sv.po: Update from translation team
17751         * po/fr.po: Another update from translation team.
17753 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17756         for subnormals or multiply small sinh result by itself.
17757         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17760 2012-07-11  David S. Miller  <davem@davemloft.net>
17762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17764 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17766         [BZ #14347]
17767         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17768         (INTERNAL_MARK): Shift it here.
17770 2012-07-10  Marek Polacek  <polacek@redhat.com>
17772         [BZ #14151]
17773         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17774         libc_cv_asm_global_directive with .globl.
17775         * configure: Regenerated.
17776         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17777         with .globl.
17778         * sysdeps/i386/configure: Regenerated.
17779         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17780         with .globl.
17781         * sysdeps/x86_64/configure: Regenerated.
17782         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17783         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17784         * elf/tst-unique2mod2.c: Likewise.
17785         * elf/tst-unique2mod1.c: Likewise.
17786         * elf/tst-unique1mod2.c: Likewise.
17787         * elf/tst-unique1mod1.c: Likewise.
17788         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17789         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17790         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17791         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17792         * sysdeps/mach/sysdep.h: Likewise.
17793         * sysdeps/i386/sysdep.h: Likewise.
17794         * sysdeps/i386/i386-mcount.S: Likewise.
17795         * sysdeps/x86_64/_mcount.S: Likewise.
17796         * sysdeps/x86_64/sysdep.h: Likewise.
17797         * sysdeps/sh/_mcount.S: Likewise.
17798         * sysdeps/sh/sysdep.h: Likewise.
17799         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17800         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17801         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17802         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17803         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17804         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17805         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17806         * locale/localeinfo.h: Likewise.
17807         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17808         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17810 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17812         [BZ #14336]
17813         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17814         system".
17815         * manual/message.texi (The Uniforum approach): Likewise.
17816         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17817         (glibc iconv Implementation): Likewise.
17819 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17821         [BZ #14337]
17822         * math/s_clog.c (__clog): Avoid scaling a value down where that
17823         could result in underflow.
17824         * math/s_clog10.c (__clog10): Likewise.
17825         * math/s_clog10f.c (__clog10f): Likewise.
17826         * math/s_clog10l.c (__clog10l): Likewise.
17827         * math/s_clogf.c (__clogf): Likewise.
17828         * math/s_clogl.c (__clogl): Likewise.
17829         * math/libm-test.inc (clog_test): Add more tests.
17830         (clog10_test): Likewise.
17831         * sysdeps/i386/fpu/libm-test-ulps: Update.
17832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17834 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17836         [BZ #14283]
17837         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17838         by 7 not 8 to examine high bit of fractional part.
17840         [BZ #14042]
17841         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17842         for call to __mcount_internal.
17843         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17844         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17845         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17847 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17849         [BZ #14154]
17850         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17851         approximation for values within 0x1p-13f of an odd multiple of
17852         pi/4.
17853         * math/libm-test.inc (tan_test): Do not allow spurious underflow
17854         exception.  Add more tests.
17855         * sysdeps/i386/fpu/libm-test-ulps: Update.
17857         [BZ #6778]
17858         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17859         inputs and return -1 for them.  Do not check for +Inf in case not
17860         reachable for +Inf.
17861         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17862         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17863         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17864         and return -1 for them.  Do not check for +Inf in case not
17865         reachable for +Inf.
17866         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17867         define.
17868         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17869         and return -1 for them.  Do not check for +Inf in case not
17870         reachable for +Inf.
17871         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
17872         spurious underflow.
17873         * sysdeps/i386/fpu/libm-test-ulps: Update.
17874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
17878         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17880 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
17882         [BZ #14157]
17883         [BZ #14331]
17884         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17885         could result in spurious underflow.  Scale down values above
17886         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17887         * math/s_csqrtf.c (__csqrtf): Likewise.
17888         * math/s_csqrtl.c (__csqrtl): Likewise.
17889         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
17890         spurious underflow.
17891         * sysdeps/i386/fpu/libm-test-ulps: Update.
17892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17894 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17896         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17897         xopen-msg.sed.
17898         * catgets/xopen-msg.awk: New file.
17899         * catgets/xopen-msg.sed: Removed.
17901         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17902         po2text.sed.
17903         * intl/po2test.awk: New file.
17904         * intl/po2test.sed: Removed.
17906 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
17908         [BZ #14328]
17909         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17910         or multiply small sinh result by itself.
17911         * math/s_ctanf.c (__ctanf): Likewise.
17912         * math/s_ctanh.c (__ctanh): Likewise.
17913         * math/s_ctanhf.c (__ctanhf): Likewise.
17914         * math/s_ctanhl.c (__ctanhl): Likewise.
17915         * math/s_ctanl.c (__ctanl): Likewise.
17916         * math/libm-test.inc (ctan_test_tonearest): New function.
17917         (ctan_test_towardzero): Likewise.
17918         (ctan_test_downward): Likewise.
17919         (ctan_test_upward): Likewise.
17920         (ctanh_test_tonearest): Likewise.
17921         (ctanh_test_towardzero): Likewise.
17922         (ctanh_test_downward): Likewise.
17923         (ctanh_test_upward): Likewise.
17924         (main): Call these new functions.
17925         * sysdeps/i386/fpu/libm-test-ulps: Update.
17926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
17930         * .gitignore: Delete /ports entry.
17932 2012-07-03  Andreas Jaeger  <aj@suse.de>
17934         * po/bg.po: Update from translation team.
17935         * po/cs.po: Likewise.
17936         * po/de.po: Likewise.
17937         * po/hr.po: Likewise.
17938         * po/nl.pl: Likewise.
17939         * po/pl.po: Likewise.
17940         * po/vi.po: Likewise.
17942 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
17944         * Makeconfig [!+link] (+link-before-libc): New variable.
17945         [!+link] (+link-after-libc): Likewise.
17946         [!+link] (+link-tests): Likewise.
17947         [!+link] (+link): Define in terms of $(+link-before-libc) and
17948         $(+link-after-libc).
17949         [!+link-static] (+link-static-before-libc): New variable.
17950         [!+link-static] (+link-static-after-libc): Likewise.
17951         [!+link-static] (+link-static-tests): Likewise.
17952         [!+link-static] (+link-static): Define in terms of
17953         $(+link-static-before-libc) and $(+link-static-after-libc).
17954         [build-shared] (link-libc-before-gnulib): New variable.
17955         [build-shared] (link-libc-tests): Likewise.
17956         [build-shared] (link-libc): Define in terms of
17957         $(link-libc-before-gnulib).
17958         [!build-shared] (link-libc-tests): New variable.
17959         (link-libc-static-tests): New variable.
17960         [!gnulib] (gnulib-arch): New variable.
17961         [!gnulib] (gnulib-tests): Likewise.
17962         [!gnulib] (static-gnulib-arch): Likewise.
17963         [!gnulib] (static-gnulib-tests): Likewise.
17964         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
17965         Define with "=" instead of ":=".
17966         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
17967         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
17968         * Rules (binaries-all-notests): New variable.
17969         (binaries-all-tests): Likewise.
17970         (binaries-static-notests): Likewise.
17971         (binaries-static-tests): Likewise.
17972         (binaries-all): Define using $(binaries-all-notests) and
17973         $(binaries-all-tests).
17974         (binaries-static): Define using $(binaries-static-notests) and
17975         $(binaries-static-tests).
17976         (binaries-shared-tests): New variable.
17977         (binaries-shared-notests): Likewise.
17978         (binaries-shared): Remove variable.
17979         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17980         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17981         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17982         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17983         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17984         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17985         * elf/Makefile (sln-modules): New variable.
17986         (extra-objs): Add $(sln-modules:=.o).
17987         (ldconfig-modules): Add static-stubs.
17988         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17989         * elf/static-stubs.c: New file.
17991         [BZ #14283]
17992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17993         by 7 not 8 to examine high bit of fractional part.  Use volatile
17994         variables when splitting into final array of floats if
17995         __FLT_EVAL_METHOD__ != 0.
17996         * math/libm-test.inc (cos_test): Add another test.
17997         (sin_test): Likewise.
17998         * sysdeps/i386/fpu/libm-test-ulps: Update.
18000         [BZ #14273]
18001         * math/libm-test.inc (cosh_test): Add more tests.
18003         * version.h (RELEASE): Set to "development".
18004         (VERSION): Set to "2.16.90".
18006 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18008         * NEWS: Update copyright. Remove last-updated date.
18009         Mention math library bug fixes and timezone data changes.
18010         * README: Mention GNU/Hurd, x32, and HPPA support status.
18012 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18014         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18016 2012-06-27  Andreas Jaeger  <aj@suse.de>
18018         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18020 2012-06-25  Andreas Jaeger  <aj@suse.de>
18022         * sysdeps/s390/fpu/libm-test-ulps: Update.
18024 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18025             Thomas Schwinge  <thomas@codesourcery.com>
18027         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18028         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18029         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18030         fanotify_mark.
18032 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18034         * sysdeps/mach/start.c: Remove file.
18035         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18036         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18037         * sysdeps/sh/init-first.c: Likewise.
18039         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18040         registers for frame unwinding purposes, add CFI directives.
18041         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18042         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18043         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18044         Likewise.
18046         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18047         __fortify_fail returning.
18048         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18050         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18051         sysdeps/sh/____longjmp_chk.S.
18052         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18053         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18054         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18055         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18057         * sysdeps/sh/abort-instr.h: New file.
18058         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18059         process in case exit returns.
18061         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18062         initialize the GOT register before use.
18064         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18065         calculation of ARGC > 4.
18067         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18068         meaningful names to some local labels.
18070 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18071             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18073         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18074         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18075         (__arch_compare_and_exchange_val_16_acq): Likewise.
18076         (__arch_compare_and_exchange_val_32_acq): Likewise.
18077         (atomic_exchange_and_add): Fix gUSA sequence.
18078         (atomic_add): Likewise.
18079         (atomic_add_negative): Likewise.
18080         (atomic_add_zero): Likewise.
18081         (atomic_bit_test_set): Likewise.
18083 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18085         [BZ #13579]
18086         * include/link.h (struct link_map): Add l_free_initfini.
18087         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18088         l_initfini.
18089         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18090         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18091         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18092         set.
18094 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18096         * configure.in: Use AC_LANG_SOURCE.
18097         * configure: Regenerate.
18099 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18101         * configure.in (libc_cv_localstatedir): New substituted variable.
18102         * configure: Regenerated.
18103         * config.make.in (localstatedir): New variable, substituted from
18104         libc_cv_localstatedir.
18105         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18106         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18107         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18108         * sysdeps/gnu/configure: Regenerated.
18110 2012-06-21  Jeff Law  <law@redhat.com>
18112         [BZ #14277]
18113         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18114         free.  Simplify list management for _LIBC case.
18116 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18118         [BZ #14273]
18119         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18120         Clear sign bit of 64-bit integer value before comparing against
18121         overflow value.
18123         * sysdeps/mach/configure: Regenerated.
18125 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18127         [BZ #14278]
18128         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18130 2012-06-21  Jeff Law  <law@redhat.com>
18132         [BZ #13882]
18133         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18134         uint16_t for elements in the "seen" array to avoid char overflows.
18135         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18136         * elf/dl-open.c (dl_open_worker): Likewise.
18138 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18140         * scripts/list-sources.sh: Scan PORTS for translations.
18141         * po/libc.pot: Regenerated.
18143 2012-06-21  Andreas Jaeger  <aj@suse.de>
18145         [BZ #12194]
18146         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18147         warning.
18148         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18149         * bits/byteswap-16.h (__bswap_16): Likewise.
18150         * bits/byteswap.h (__bswap_constant_16): Likewise.
18152 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18154         [BZ #14117]
18155         * sysdeps/i386/fpu_control.h: Removed.
18156         * sysdeps/x86_64/fpu_control.h: Moved to ...
18157         * sysdeps/x86/fpu_control.h: Here.
18159         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18160         (_FPU_SETCW): Likewise.
18162 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18164         [BZ #14117]
18165         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18166         * sysdeps/x86/fpu/bits/mathinline.h: This.
18167         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18169         [BZ #14050]
18170         [BZ #14117]
18171         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18172         functions if __x86_64__ is defined.
18174 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18176         * string/endian.h: Add !__ASSEMBLER__ condition for including
18177         conversion interfaces.
18179 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #14241]
18182         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18183         of ABS(x) in calculating zero to negative powers other than odd
18184         integers.
18185         * math/libm-test.inc (pow_test): Add more tests.
18187 2012-06-15  Andreas Jaeger  <aj@suse.de>
18189         * manual/contrib.texi (Contributors): Update entry of Liubov
18190         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18191         Machado Filho.
18193 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18195         * string/string.h: Add __wur to GNU version of strerror_r.
18197 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18199         [BZ #14229]
18200         * string/Makefile (tests): Add tst-strtok_r.
18201         * string/tst-strtok_r.c: New file.
18202         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18203         RAX_LP/RDX_LP on SAVE_PTR.
18205 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18207         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18209 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18211         * libm_test.inc (csqrt_test): Allow more spurious underflow
18212         exceptions.
18213         (j0_test): Likewise.
18214         (j1_test): Likewise.
18215         (y0_test): Likewise.
18216         (y1_test): Likewise.
18218 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18220         * po/Makefile (libc.pot): Use UTF-8 charset.
18222 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18224         [BZ #14210]
18225         Suppress sign-conversion warning from FD_SET.
18226         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18227         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18228         not unsigned long int.
18229         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18231 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18233         [BZ #14050]
18234         [BZ #14117]
18235         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18236         __extern_always_inline instead of __extern_inline.
18237         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18238         (__signbit): Likewise.
18239         (__signbitl): Support C++ namespace.
18240         (lrintf): New inline function.
18241         (lrint): Likewise.
18242         (llrintf): Likewise.
18243         (llrint): Likewise.
18244         (fmaxf): Likewise.
18245         (fmax): Likewise.
18246         (fminf): Likewise.
18247         (fmin): Likewise.
18248         (rint): Likewise.
18249         (rintf): Likewise.
18250         (ceil): Likewise.
18251         (ceilf): Likewise.
18252         (floor): Likewise.
18253         (floorf): Likewise.
18254         (nearbyint): Likewise.
18255         (nearbyintf): Likewise.
18257 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18260         non-default versions.
18262 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18264         [BZ #14218]
18265         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18267 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18269         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18270         (FE_UPWARD, FE_DOWNWARD): Don't define.
18271         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18272         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18274         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18275         reading it.
18276         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18277         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18279 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18281         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18283         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18284         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18286 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18288         [BZ #14117]
18289         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18290         * sysdeps/i386/fpu/Implies: New file.
18291         * sysdeps/x86_64/fpu/Implies: Likewise.
18292         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18293         * sysdeps/x86/fpu/bits/fenv.h: This.
18295         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18296         __SSE_MATH__.
18298 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18300         [BZ #14134]
18301         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18302         character 0xffff that matches the last element of the
18303         conversion table.
18305 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18308         fmodl commit.
18310 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18313         values higher than 25.6283.
18315 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18318         subnormal exponent extraction and add some __builtin_expect.
18319         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18320         Fix for subnormal mantissa calculation.
18322 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18324         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18325         cpu2 is -1 and errno is not ENOSYS.
18327 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18329         [BZ #14117]
18330         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18331         * sysdeps/x86/bits/string.h: This.
18332         * sysdeps/x86_64/bits/string.h: Removed.
18334         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18335         if not compiling for x86-64, but compiling for >= i486.
18337         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18338         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18340         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18341         New macro from Linux kernel 3.4.0.
18342         (FP_XSTATE_MAGIC2): Likewise.
18343         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18344         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18345         (struct _fpx_sw_bytes): New struct.
18346         (struct _xsave_hdr): Likewise.
18347         (struct _ymmh_state): Likewise.
18348         (struct _xstate): Likewise.
18350         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18351         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18352         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18353         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18354         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18355         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18357         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18358         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18359         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18360         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18361         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18362         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18364 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18366         [BZ #13743]
18367         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18368         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18369         (sysdep_headers): Include sys/platform/ppc.h.
18370         * sysdeps/powerpc/test-gettimebase.c: Test for
18371         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18372         * manual/Makefile (appendices): Include platform.texi.
18373         * manual/contrib.texi (Contributors): Update @node pointers.
18374         * manual/maint.texi (Maintenance): Likewise.
18375         (Platform): New node.
18376         * manual/platform.texi: New file.  Document the new features.
18378 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18379             Jakub Jelinek  <jakub@redhat.com>
18381         [BZ #14188]
18382         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18383         where __builtin_expect is unavailable.
18385 2012-06-03  David S. Miller  <davem@davemloft.net>
18387         * stdlib/longlong.h: Updated from GCC.
18389 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18391         [BZ #14042]
18392         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18393         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18394         __mcount_internal.
18395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18396         (GLIBC_2.16): Likewise.
18398 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18400         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18402 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18405         (default-abi): New variable.
18406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18407         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18408         variable.
18409         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18410         Likewise.
18411         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18412         Likewise.
18413         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18414         Likewise.
18416         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18417         definition.  Document in comment.
18419 2012-06-01  David S. Miller  <davem@davemloft.net>
18421         * stdlib/longlong.h: Updated from GCC.
18423 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18425         [BZ #14117]
18426         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18427         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18428         sys/debugreg.h sys/io.h here.
18429         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18430         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18431         sys/io.h.
18432         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18433         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18434         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18435         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18436         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18437         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18439         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18440         Define only if __x86_64__ is defined.
18442 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18444         [BZ #14048]
18445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18446         Use int64_t for variable i.
18447         * math/libm-test.inc (fmod_test): Add more tests.
18449         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18450         z computation is not scheduled after fetestexcept.
18451         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18452         Use math_force_eval instead of asm to ensure calculation scheduled
18453         before exception test.
18454         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18455         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18457 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18460         computation is not scheduled after fetestexcept.
18462 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18464         [BZ #14117]
18465         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18466         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18468 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18470         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18471         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18473 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18475         [BZ #14117]
18476         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18477         <bits/wordsize.h>.
18478         (__WCHAR_MIN): Support __WORDSIZE == 64.
18479         (__WCHAR_MAX): Likewise.
18481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18482         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18484         [BZ #14183]
18485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18486         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18488         [BZ #14117]
18489         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18490         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18492         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18493         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18495         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18496         Defined to 1 if __x86_64__ isn't defined.
18497         (_STAT_VER_LINUX_OLD): New.
18498         (st_atime): Remove duplicate.
18499         (st_mtime): Likewise.
18500         (st_ctime): Likewise.
18502 2012-05-31  David S. Miller  <davem@davemloft.net>
18504         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18505         entries.
18507 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18509         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18510         gen-libm-test.pl.
18512         [BZ #14132]
18513         * elf/dl-reloc.c: Include <_itoa.h>.
18514         (_dl_reloc_bad_type): Remove use of INTUSE.
18515         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18516         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18517         * stdio-common/psiginfo.c (psiginfo): Likewise.
18518         * stdio-common/psignal.c (psignal): Likewise.
18519         * string/strsignal.c (strsignal): Likewise.
18520         * include/signal.h (_sys_siglist): Declare hidden proto.
18521         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18522         INTVARDEF with libc_hidden_data_def.
18523         * stdio-common/itoa-udigits.c: Likewise.
18524         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18525         (_itoa_lower_digits_internal): Remove declaration.
18526         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18527         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18528         (_sys_sigabbrev_internal): Remove aliases.
18529         (_sys_siglist): Define hidden alias.
18531 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18534         bits/sysctl.h.
18536 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18538         [BZ #14117]
18539         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18540         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18542         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18543         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18544         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18545         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18546         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18547         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18549         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18550         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18551         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18553         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18554         with __addr.
18555         (insw): Likewise.
18556         (insl): Likewise.
18557         (outsb): Likewise.
18558         (outsw): Likewise.
18559         (outsl): Likewise.
18561         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18562         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18563         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18565         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18566         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18567         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18568         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18569         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18570         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18572         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18573         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18575         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18576         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18578         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18580         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18582         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18583         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18584         to ...
18585         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18587         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18588         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18589         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18591         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18592         for x86-64.
18593         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18595 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18597         * math/math.h (M_El): Use two more decimal places.
18598         (M_LOG2El): Likewise.
18599         (M_LOG10El): Likewise.
18600         (M_LN2l): Likewise.
18601         (M_LN10l): Likewise.
18602         (M_PIl): Likewise.
18603         (M_PI_2l): Likewise.
18604         (M_PI_4l): Likewise.
18605         (M_1_PIl): Likewise.
18606         (M_2_PIl): Likewise.
18607         (M_2_SQRTPIl): Likewise.
18608         (M_SQRT2l): Likewise.
18609         (M_SQRT1_2l): Likewise.
18611 2012-05-31  David S. Miller  <davem@davemloft.net>
18613         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18614         values between float registers.
18615         * sysdeps/sparc/sparc64/memset.S: Likewise.
18616         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18618 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18620         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18621         -D_FORTIFY_SOURCE=1.
18622         (CPPFLAGS-tst-longjmp_chk.c): Define.
18623         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18624         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18625         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18626         CFLAGS-tst-wchar-h.c.
18628 2012-05-31  Marek Polacek  <polacek@redhat.com>
18630         [BZ #14132]
18631         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18632         __endmntent_internal): Remove declaration.
18633         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18634         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18635         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18637 2012-05-30  David S. Miller  <davem@davemloft.net>
18639         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18640         (___Q_simulate_exceptions): Use real FP ops rather than writing
18641         into the %fsr.
18642         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18643         Likewise.
18645 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18647         [BZ #14117]
18648         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18649         * sysdeps/x86/bits/xtitypes.h: This.
18651         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18652         * sysdeps/x86/bits/wordsize.h: This.
18654         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18655         * sysdeps/x86/bits/huge_vall.h: This.
18657         * sysdeps/i386/bits/select.h: Removed.
18658         * sysdeps/x86_64/bits/select.h: Renamed to ...
18659         * sysdeps/x86/bits/select.h: This.
18661         * sysdeps/i386/bits/setjmp.h: Removed.
18662         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18663         * sysdeps/x86/bits/setjmp.h: This.
18665         * sysdeps/i386/bits/mathdef.h: Removed.
18666         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18667         * sysdeps/x86/bits/mathdef.h: This.
18669 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18671         [BZ #14132]
18672         * include/sys/socket.h (__connect_internal)
18673         (__libc_sa_len_internal): Remove declaration.
18674         (__connect, __libc_sa_len): Declare hidden_proto.
18675         (SA_LEN): Remove use of INTUSE.
18676         * socket/connect.c: Add libc_hidden_def.
18677         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18678         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18679         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18680         alias.
18681         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18682         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18683         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18684         of adding _internal alias.
18686 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18688         [BZ #14117]
18689         * sysdeps/i386/bits/link.h: Removed.
18690         * sysdeps/i386/bits/linkmap.h: Likewise.
18691         * sysdeps/x86_64/bits/link.h: Renamed to ...
18692         * sysdeps/x86/bits/link.h: This.
18693         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18694         * sysdeps/x86/bits/linkmap.h: This.
18696         * sysdeps/i386/bits/endian.h: Removed.
18697         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18698         * sysdeps/x86/bits/endian.h: This.
18700         * sysdeps/i386/bits/byteswap.h: Removed.
18701         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18702         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18703         * sysdeps/x86/bits/byteswap.h: This.
18704         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18705         * sysdeps/x86/bits/byteswap-16.h: This.
18706         * sysdeps/i386/Implies: Add x86.
18707         * sysdeps/x86_64/Implies: Likewise.
18709 2012-05-30  David S. Miller  <davem@davemloft.net>
18711         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18712         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18713         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18714         (FP_TRAPPING_EXCEPTIONS): Define.
18715         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18716         (FP_TRAPPING_EXCEPTIONS): Define.
18717         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18718         subnormals only when inexact has been signalled or underflow
18719         exceptions are enabled.
18720         (_FP_PACK_CANONICAL): Likewise.
18722 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18724         [BZ #14183]
18725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18726         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18728 2012-05-30  Richard Henderson  <rth@twiddle.net>
18730         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18731         with #ifndef NOT_IN_libc.
18733         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18734         marked to avoid plt entry.
18736 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18738         [BZ #14112]
18739         * Makeconfig (default-abi): New macro.
18740         (abi-includes): Likewise.
18741         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18742         $(abi-$(default-abi)-lib-soname) for soname if defined.
18743         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18744         abi-variants.
18745         * Makefile (installed-stubs): Likewise.
18746         * include/stubs-biarch.h: Removed.
18747         * scripts/lib-names.awk: Only handle one library at a time.
18748         * scripts/soversions.awk: Remove WORDSIZE support.
18749         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18750         entries.
18751         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18752         Removed.
18753         (syscall-list-default-condition): Likewise.
18754         (syscall-list-default-condition): Likewise.
18755         (syscall-list-includes): Likewise.
18756         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18757         syscall-list-* with abi-*.  Handle undefined abi-variants.
18758         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18759         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18760         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18761         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18762         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18763         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18764         Removed.
18765         (syscall-list-32-options): Likewise.
18766         (syscall-list-32-condition): Likewise.
18767         (syscall-list-64-options): Likewise.
18768         (syscall-list-64-condition): Likewise.
18769         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18770         macro.
18771         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18772         Renamed to ...
18773         (abi-*): This.
18774         (abi-64-ld-soname): New macro.
18775         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18776         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18777         Renamed to ...
18778         (abi-*): This.
18779         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18780         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18782 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18784         * sysdeps/unix/sysv/linux/kernel-features.h
18785         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18786         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18787         include <kernel-features.h>.
18788         [!__NR_ftruncate64]: Remove conditional code.
18789         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18790         [__NR_ftruncate64]: Make code unconditional.
18791         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18792         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18793         include <kernel-features.h>.
18794         [!__NR_ftruncate64]: Remove conditional code.
18795         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18796         [__NR_ftruncate64]: Make code unconditional.
18797         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18799         include <kernel-features.h>.
18800         [!__NR_ftruncate64]: Remove conditional code.
18801         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18802         [__NR_ftruncate64]: Make code unconditional.
18803         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18805         include <kernel-features.h>.
18806         [!__NR_ftruncate64]: Remove conditional code.
18807         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18808         [__NR_ftruncate64]: Make code unconditional.
18809         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18811         * configure.in (libc_cv_fpie): Weaken to a compile test using
18812         LIBC_TRY_CC_OPTION.
18813         * configure: Regenerated.
18815 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18821         Refreshed.
18822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18828         Refreshed.
18830 2012-05-27  David S. Miller  <davem@davemloft.net>
18832         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18833         (___Q_zero): New.
18834         (__Q_simulate_exceptions): Return void.  Change to simulate
18835         exceptions by writing into the %fsr.
18836         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18837         (__Qp_handle_exceptions): Likewise.
18838         (numbers): Delete.
18839         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18840         __Qp_handle_exceptions.
18841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18842         __Qp_handle_exceptions.
18843         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18844         as unused and give dummy FP_RND_NEAREST initializer.
18845         (FP_INHIBIT_RESULTS): Define.
18846         (___Q_simulate_exceptions): Update declaration.
18847         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18848         formatting.
18849         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18850         as unused and give dummy FP_RND_NEAREST initializer.
18851         (__Qp_handle_exceptions): Update declaration.
18852         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18853         formatting.
18855 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
18857         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18858         the temporary FPU control word.
18859         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18860         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18861         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18862         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18863         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18864         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18865         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18867         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18868         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18869         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18871 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18873         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18874         fields.
18876 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
18878         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18879         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18880         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18881         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18882         Likewise.
18883         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18884         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18885         Likewise.
18887 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
18889         * po/h.po: Update from translation team.
18891 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
18893         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18895         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18896         handling of denormals.
18897         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18898         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18899         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18900         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18902         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18903         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18904         Likewise.
18906 2012-05-26  Marek Polacek  <polacek@redhat.com>
18908         [BZ #14152]
18909         * math/libm-test.inc (fma_test): Don't always expect underflow
18910         exception.
18912 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18914         [BZ #12416]
18915         * elf/tst-execstack.c: Include stackinfo.h.
18916         (do_test): Adjust test case to ensure that pthread_getattr_np
18917         behaviour remains the same after marking stack executable.
18919 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18921         * sysdeps/unix/sysv/linux/kernel-features.h
18922         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18923         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18924         kernel-features.h.
18925         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18926         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18927         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18928         kernel-features.h.
18929         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18930         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18932 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
18934         * configure.in: Define the default includes to being none.
18935         * configure: Regenerated.
18937 2012-05-25  Roland McGrath  <roland@hack.frob.com>
18939         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18940         * sysdeps/x86_64/setjmp.S: Likewise.
18941         * sysdeps/i386/bsd-setjmp.S: Likewise.
18942         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18943         * sysdeps/i386/setjmp.S: Likewise.
18944         * sysdeps/i386/__longjmp.S: Likewise.
18945         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18946         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18948         * include/stap-probe.h: New file.
18949         * configure.in: Handle --enable-systemtap.
18950         * configure: Regenerated.
18951         * config.h.in (USE_STAP_PROBE): New #undef.
18952         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18953         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18954         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18956 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
18958         [BZ #13717]
18959         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18960         to 2.4.0 where earlier.
18961         * sysdeps/unix/sysv/linux/configure: Regenerated.
18962         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
18971         [__ASSUME_32BITUIDS]: Make code unconditional.
18972         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18973         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18974         <kernel-features.h>.
18975         [__ASSUME_32BITUIDS]: Make code unconditional.
18976         [!__ASSUME_32BITUIDS]: Remove conditional code.
18977         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18978         <kernel-features.h>.
18979         [__ASSUME_32BITUIDS]: Make code unconditional.
18980         [!__ASSUME_32BITUIDS]: Remove conditional code.
18981         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18982         <kernel-features.h>.
18983         [__ASSUME_32BITUIDS]: Make code unconditional.
18984         [!__ASSUME_32BITUIDS]: Remove conditional code.
18985         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18986         <kernel-features.h>.
18987         [__ASSUME_32BITUIDS]: Make code unconditional.
18988         [!__ASSUME_32BITUIDS]: Remove conditional code.
18989         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18990         <kernel-features.h>.
18991         [__ASSUME_32BITUIDS]: Make code unconditional.
18992         [!__ASSUME_32BITUIDS]: Remove conditional code.
18993         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18994         <kernel-features.h>.
18995         [__ASSUME_32BITUIDS]: Make code unconditional.
18996         [!__ASSUME_32BITUIDS]: Remove conditional code.
18997         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18998         <kernel-features.h>.
18999         [__ASSUME_32BITUIDS]: Make code unconditional.
19000         [!__ASSUME_32BITUIDS]: Remove conditional code.
19001         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19002         <kernel-features.h>.
19003         [__ASSUME_32BITUIDS]: Make code unconditional.
19004         [!__ASSUME_32BITUIDS]: Remove conditional code.
19005         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19006         <kernel-features.h>.
19007         [__ASSUME_32BITUIDS]: Make code unconditional.
19008         [!__ASSUME_32BITUIDS]: Remove conditional code.
19009         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19010         <kernel-features.h>.
19011         [__ASSUME_32BITUIDS]: Make code unconditional.
19012         [!__ASSUME_32BITUIDS]: Remove conditional code.
19013         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19014         <kernel-features.h>.
19015         [__NR_setresgid] (__setresgid): Do not declare.
19016         [__ASSUME_32BITUIDS]: Make code unconditional.
19017         [!__ASSUME_32BITUIDS]: Remove conditional code.
19018         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19019         <kernel-features.h>.
19020         [__NR_setresuid] (__setresuid): Do not declare.
19021         [__ASSUME_32BITUIDS]: Make code unconditional.
19022         [!__ASSUME_32BITUIDS]: Remove conditional code.
19023         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19024         <kernel-features.h>.
19025         [__ASSUME_32BITUIDS]: Make code unconditional.
19026         [!__ASSUME_32BITUIDS]: Remove conditional code.
19027         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19028         <kernel-features.h>.
19029         [__ASSUME_32BITUIDS]: Make code unconditional.
19030         [!__ASSUME_32BITUIDS]: Remove conditional code.
19031         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19032         <kernel-features.h>.
19033         [__ASSUME_32BITUIDS]: Make code unconditional.
19034         [!__ASSUME_32BITUIDS]: Remove conditional code.
19035         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19036         <kernel-features.h>.
19037         [__ASSUME_32BITUIDS]: Make code unconditional.
19038         [!__ASSUME_32BITUIDS]: Remove conditional code.
19039         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19040         <kernel-features.h>.
19041         [__ASSUME_32BITUIDS]: Make code unconditional.
19042         [!__ASSUME_32BITUIDS]: Remove conditional code.
19043         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19044         <kernel-features.h>.
19045         [__ASSUME_32BITUIDS]: Make code unconditional.
19046         [!__ASSUME_32BITUIDS]: Remove conditional code.
19047         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19048         <kernel-features.h>.
19049         [__ASSUME_32BITUIDS]: Make code unconditional.
19050         [!__ASSUME_32BITUIDS]: Remove conditional code.
19051         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19052         <kernel-features.h>.
19053         [__ASSUME_32BITUIDS]: Make code unconditional.
19054         [!__ASSUME_32BITUIDS]: Remove conditional code.
19055         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19056         <kernel-features.h>.
19057         [__ASSUME_32BITUIDS]: Make code unconditional.
19058         [!__ASSUME_32BITUIDS]: Remove conditional code.
19059         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19060         <kernel-features.h>.
19061         [__ASSUME_32BITUIDS]: Make code unconditional.
19062         [!__ASSUME_32BITUIDS]: Remove conditional code.
19063         * sysdeps/unix/sysv/linux/kernel-features.h
19064         (__ASSUME_SETRESUID_SYSCALL): Remove.
19065         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19066         (__ASSUME_32BITUIDS): Likewise.
19067         (__ASSUME_LDT_WORKS): Likewise.
19068         (__ASSUME_O_DIRECTORY): Likewise.
19069         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19070         architecture but not kernel version.
19071         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19072         (__ASSUME_MMAP2_SYSCALL): Likewise.
19073         (__ASSUME_STAT64_SYSCALL): Likewise.
19074         (__ASSUME_IPC64): Likewise.
19075         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19076         <kernel-features.h>.
19077         [__ASSUME_32BITUIDS]: Make code unconditional.
19078         [!__ASSUME_32BITUIDS]: Remove conditional code.
19079         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19080         <kernel-features.h>.
19081         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19082         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19083         132096]: Remove conditional code.
19084         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19085         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19086         <kernel-features.h>.
19087         [__ASSUME_32BITUIDS]: Make code unconditional.
19088         [!__ASSUME_32BITUIDS]: Remove conditional code.
19089         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19090         <kernel-features.h>.
19091         [__ASSUME_32BITUIDS]: Make code unconditional.
19092         [!__ASSUME_32BITUIDS]: Remove conditional code.
19093         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19094         <kernel-features.h>.
19095         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19096         unconditional.
19097         (__setresgid): Do not declare.
19098         [__ASSUME_32BITUIDS]: Make code unconditional.
19099         [!__ASSUME_32BITUIDS]: Remove conditional code.
19100         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19101         <kernel-features.h>.
19102         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19103         unconditional.
19104         (__setresuid): Do not declare.
19105         [__ASSUME_32BITUIDS]: Make code unconditional.
19106         [!__ASSUME_32BITUIDS]: Remove conditional code.
19107         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19108         <kernel-features.h>.
19109         [__ASSUME_32BITUIDS]: Make code unconditional.
19110         [!__ASSUME_32BITUIDS]: Remove conditional code.
19111         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19112         <kernel-features.h>.
19113         [__ASSUME_32BITUIDS]: Make code unconditional.
19114         [!__ASSUME_32BITUIDS]: Remove conditional code.
19116 2012-05-25  Richard Henderson  <rth@twiddle.net>
19118         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19119         dl_hwcap to ifunc resolver.
19120         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19121         elf_ifunc_invoke.
19122         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19123         dl_hwcap to ifunc resolver.
19124         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19126 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19128         [BZ #14153]
19129         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19130         for |x| <= 2**-26, not 2**-57.
19131         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19132         exception.
19134 2012-05-24  Jeff Law  <law@redhat.com>
19136         * stdio-common/Makefile (tests): Add bug25.
19137         * stdio-common/bug25.c: New test.
19139 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19141         [BZ #13576]
19142         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19143         multiple of MALLOC_ALIGNMENT in size.
19144         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19146 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19148         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19149         Require >= 256.
19150         (FILENAME_MAX): Use macro-int-constant.
19151         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19152         (_IOFBF): Use macro-int-constant.
19153         (_IOLBF): Likewise.
19154         (_IONBF): Likewise.
19155         (SEEK_CUR): Likewise.
19156         (SEEK_END): Likewise.
19157         (SEEK_SET): Likewise.
19158         (TMP_MAX): Likewise.
19159         (EOF): Use macro-int-constant.  Require < 0.
19160         (NULL): Use macro-constant.  Require == 0.
19161         (stdin): Require type to be FILE *.
19162         (stdout): Likewise.
19163         (stderr): Likewise.
19164         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19165         macro-int-constant.
19166         (EXIT_SUCCESS): Likewise.
19167         (NULL): Use macro-constant.  Require == 0.
19168         (RAND_MAX): Use macro-int-constant.
19169         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19170         [C99-based standards] (strtof): Require function.
19171         [C99-based standards] (strtold): Likewise.
19172         [C99-based standards] (strtoll): Likewise.
19173         [C99-based standards] (strtoull): Likewise.
19174         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19175         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19176         [ISO || ISO99 || ISO11] (math.h): Likewise.
19177         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19178         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19181 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19183         [BZ #14132]
19184         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19185         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19186         * intl/dgettext.c (DCGETTEXT): Likewise.
19187         * intl/gettext.c (DCGETTEXT): Likewise.
19188         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19189         * posix/regex_internal.h (gettext): Likewise.
19190         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19191         Remove declaration.
19192         * include/argz.h (__argz_count_internal)
19193         (__argz_stringify_internal): Remove declaration.
19194         (__argz_count, __argz_stringify): Declare hidden proto.
19195         * intl/dcgettext.c: Remove use of INTDEF.
19196         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19197         * string/argz-stringify.c: Likewise.
19198         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19199         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19200         Declare hidden proto.
19201         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19202         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19203         Declare hidden proto.
19204         * include/stdio.h (__asprintf_internal): Don't declare.
19205         (__asprintf): Don't define as macro.  Declare hidden proto.
19206         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19207         (__fsetlocking): Declare hidden proto.
19208         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19209         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19210         hidden proto.
19211         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19212         (_IO_setlinebuf): Remove use of INTUSE.
19213         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19214         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19215         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19216         Remove declaration.
19217         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19218         (_IO_do_flush): Remove use of INTUSE.
19219         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19220         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19221         (_IO_adjust_column, _IO_least_wmarker)
19222         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19223         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19224         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19225         (_IO_default_doallocate, _IO_wdefault_doallocate)
19226         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19227         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19228         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19229         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19230         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19231         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19232         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19233         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19234         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19235         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19236         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19237         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19238         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19239         proto.
19240         (_IO_flush_all_internal, _IO_adjust_column_internal)
19241         (_IO_default_uflow_internal, _IO_default_finish_internal)
19242         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19243         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19244         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19245         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19246         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19247         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19248         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19249         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19250         (_IO_file_close_internal, _IO_file_close_it_internal)
19251         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19252         (_IO_file_init_internal, _IO_file_attach_internal)
19253         (_IO_file_fopen_internal, _IO_file_read_internal)
19254         (_IO_file_sync_internal, _IO_file_seek_internal)
19255         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19256         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19257         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19258         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19259         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19260         (_IO_list_all_internal, _IO_link_in_internal)
19261         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19262         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19263         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19264         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19265         (_IO_do_write_internal, _IO_padn_internal)
19266         (_IO_getline_info_internal, _IO_getline_internal)
19267         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19268         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19269         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19270         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19271         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19272         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19273         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19274         with libc_hidden_ver, remove use of INTUSE.
19275         * libio/genops.c: Likewise.
19276         * libio/freopen.c: Likewise.
19277         * libio/freopen64.c: Likewise.
19278         * libio/iofclose.c: Likewise.
19279         * libio/iofdopen.c: Likewise.
19280         * libio/iofflush.c: Likewise.
19281         * libio/iofflush_u.c: Likewise.
19282         * libio/iofgets.c: Likewise.
19283         * libio/iofgets_u.c: Likewise.
19284         * libio/iofopen.c: Likewise.
19285         * libio/iofopncook.c: Likewise.
19286         * libio/iofread.c: Likewise.
19287         * libio/iofread_u.c: Likewise.
19288         * libio/ioftell.c: Likewise.
19289         * libio/iofwrite.c: Likewise.
19290         * libio/iogetline.c: Likewise.
19291         * libio/iogets.c: Likewise.
19292         * libio/iogetwline.c: Likewise.
19293         * libio/iopadn.c: Likewise.
19294         * libio/iopopen.c: Likewise.
19295         * libio/ioseekoff.c: Likewise.
19296         * libio/ioseekpos.c: Likewise.
19297         * libio/iosetbuffer.c: Likewise.
19298         * libio/iosetvbuf.c: Likewise.
19299         * libio/ioungetc.c: Likewise.
19300         * libio/ioungetwc.c: Likewise.
19301         * libio/iovdprintf.c: Likewise.
19302         * libio/iovsprintf.c: Likewise.
19303         * libio/iovsscanf.c: Likewise.
19304         * libio/memstream.c: Likewise.
19305         * libio/obprintf.c: Likewise.
19306         * libio/oldfileops.c: Likewise.
19307         * libio/oldiofclose.c: Likewise.
19308         * libio/oldiofdopen.c: Likewise.
19309         * libio/oldiofopen.c: Likewise.
19310         * libio/oldiopopen.c: Likewise.
19311         * libio/oldstdfiles.c: Likewise.
19312         * libio/putc.c: Likewise.
19313         * libio/setbuf.c: Likewise.
19314         * libio/setlinebuf.c: Likewise.
19315         * libio/stdfiles.c: Likewise.
19316         * libio/strops.c: Likewise.
19317         * libio/vasprintf.c: Likewise.
19318         * libio/vscanf.c: Likewise.
19319         * libio/vsnprintf.c: Likewise.
19320         * libio/vswprintf.c: Likewise.
19321         * libio/wfiledoalloc.c: Likewise.
19322         * libio/wfileops.c: Likewise.
19323         * libio/wgenops.c: Likewise.
19324         * libio/wmemstream.c: Likewise.
19325         * libio/wstrops.c: Likewise.
19326         * libio/__fpurge.c: Likewise.
19327         * libio/__fsetlocking.c: Likewise.
19328         * assert/assert.c: Likewise.
19329         * debug/fgets_chk.c: Likewise.
19330         * debug/fgets_u_chk.c: Likewise.
19331         * debug/fread_chk.c: Likewise.
19332         * debug/fread_u_chk.c: Likewise.
19333         * debug/gets_chk.c: Likewise.
19334         * debug/obprintf_chk.c: Likewise.
19335         * debug/vasprintf_chk.c: Likewise.
19336         * debug/vdprintf_chk.c: Likewise.
19337         * debug/vsnprintf_chk.c: Likewise.
19338         * debug/vsprintf_chk.c: Likewise.
19339         * malloc/mtrace.c: Likewise.
19340         * misc/error.c: Likewise.
19341         * misc/syslog.c: Likewise.
19342         * stdio-common/asprintf.c: Likewise.
19343         * stdio-common/fxprintf.c: Likewise.
19344         * stdio-common/getw.c: Likewise.
19345         * stdio-common/isoc99_fscanf.c: Likewise.
19346         * stdio-common/isoc99_scanf.c: Likewise.
19347         * stdio-common/isoc99_vfscanf.c: Likewise.
19348         * stdio-common/isoc99_vscanf.c: Likewise.
19349         * stdio-common/isoc99_vsscanf.c: Likewise.
19350         * stdio-common/printf-prs.c: Likewise.
19351         * stdio-common/printf_fp.c: Likewise.
19352         * stdio-common/printf_fphex.c: Likewise.
19353         * stdio-common/printf_size.c: Likewise.
19354         * stdio-common/putw.c: Likewise.
19355         * stdio-common/scanf.c: Likewise.
19356         * stdio-common/sprintf.c: Likewise.
19357         * stdio-common/tmpfile.c: Likewise.
19358         * stdio-common/vfprintf.c: Likewise.
19359         * stdio-common/vfscanf.c: Likewise.
19360         * stdlib/strfmon_l.c: Likewise.
19361         * sunrpc/openchild.c: Likewise.
19362         * sunrpc/xdr_stdio.c: Likewise.
19363         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19364         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19366 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19368         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19370         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19371         in the third column, to generate for the shared library an IFUNC
19372         that uses _dl_vdso_vsym.
19373         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19374         * Makeconfig (object-suffixes-noshared): New variable.
19376         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19377         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19378         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19379         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19381         [BZ #14132]
19382         * include/sys/time.h (__gettimeofday): Remove macro.
19383         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19384         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19385         Remove INTDEF.
19386         (__gettimeofday): Add libc_hidden_def.
19387         (gettimeofday): Add libc_hidden_weak.
19388         * sysdeps/mach/gettimeofday.c: Likewise.
19389         * sysdeps/posix/gettimeofday.c: Likewise.
19390         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19393         (__gettimeofday_internal): Remove strong_alias.
19394         (__gettimeofday): Add libc_hidden_def.
19395         (gettimeofday): Add libc_hidden_weak.
19396         * sysdeps/unix/syscalls.list (gettimeofday):
19397         Remove __gettimeofday_internal alias.
19399 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19400             H.J. Lu  <hongjiu.lu@intel.com>
19402         [BZ #12495]
19403         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19404         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19405         (largebin_index_32_big): New.
19406         (largebin_index): Use it for 16-byte alignment.
19407         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19408         correction with front_misalign.
19410 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19414         Likewise.
19415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19416         Likewise.
19417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19418         Likewise.
19419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19420         Likewise.
19421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19422         Likewise.
19423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19424         Likewise.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19426         Likewise.
19427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19428         Likewise.
19429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19430         Likewise.
19431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19432         Likewise.
19433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19434         Likewise.
19435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19436         Likewise.
19438         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19439         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19441 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19443         [BZ #10846]
19444         [BZ #14036]
19445         * math/libm-test.inc (exp_test): Add test from bug 14036.
19446         (pow_test): Add test from bug 10846.
19448         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19449         and other flags.
19450         (special_function): Do not include flags in test name.
19451         (parse_args): Likewise.
19452         * sysdeps/i386/fpu/libm-test-ulps: Update.
19453         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19454         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19455         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19458         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19459         exceptions.
19460         * math/libm-test.inc ("Philosophy"): Update comment about
19461         exception testing.
19462         (UNDERFLOW_EXCEPTION): New macro.
19463         (UNDERFLOW_EXCEPTION_OK): Likewise.
19464         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19465         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19466         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19467         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19468         (INVALID_EXCEPTION_OK): Update value.
19469         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19470         (OVERFLOW_EXCEPTION_OK): Likewise.
19471         (IGNORE_ZERO_INF_SIGN): Likewise.
19472         (test_exceptions): Handle underflow exceptions.
19473         (acos_test): Update for underflow exception expectations.
19474         (cexp_test): Likewise.
19475         (clog_test): Likewise.
19476         (clog10_test): Likewise.
19477         (csqrt_test): Likewise.
19478         (ctan_test): Likewise.
19479         (ctanh_test): Likewise.
19480         (exp_test): Likewise.
19481         (exp10_test): Likewise.
19482         (exp2_test): Likewise.
19483         (expm1_test): Likewise.
19484         (fma_test): Likewise.
19485         (j0_test): Likewise.
19486         (jn_test): Likewise.
19487         (nexttoward_test): Likewise.
19488         (pow_test): Likewise.
19489         (scalbn_test): Likewise.
19490         (scalbln_test): Likewise.
19491         (tan_test): Likewise.
19492         (y1_test): Likewise.
19493         * sysdeps/i386/fpu/libm-test-ulps: Update.
19494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19496 2012-05-23  David S. Miller  <davem@davemloft.net>
19498         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19499         (__libc_sigaction): Remove unused local variables.
19501 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19503         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19505 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19507         mktime: avoid signed integer overflow
19508         * time/mktime.c (__mktime_internal): Do not mishandle the case
19509         where diff == INT_MIN.
19511         mktime: simplify computation of average
19512         * time/mktime.c (ranged_convert): Use new time_t_avg function
19513         instead of rolling our own (probably-slower) code.
19515         mktime: do not assume signed right shift propagates sign bit
19516         * time/mktime.c (isdst_differ): New static function.
19517         (__mktime_internal): No need to normalize tm_isdst now.
19518         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19519         tm_isdst values.
19521         mktime: merge another wrapv change from gnulib
19522         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19523         from some compilers.
19525         mktime: remove incorrect attempt at unusual arithmetics
19526         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19527         The code didn't really work on such machines anyway.
19528         (TYPE_MINIMUM): Assume two's complement.
19529         (twos_complement_arithmetic): Verify that long_int and time_t
19530         are two's complement (or unsigned, in the latter case).
19532         mktime: check signed shifts on long_int and time_t, too
19533         * time/mktime.c (SHR): Check that shifts work as desired
19534         on the types long_int and time_t too, as SHR is used on
19535         such types.
19537         mktime: do not assume 'long' is wide enough
19538         * time/mktime.c (verify): Move decl up.
19539         (long_int): New type.
19540         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19541         to remove assumption in the code that 'long' is wide enough to
19542         store year values.  This assumption is not true on x32 and on
19543         some non-glibc platforms.
19545         mktime: merge wrapv change from gnulib
19546         * time/mktime.c (WRAPV): New macro.
19547         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19548         (guess_time_tm, __mktime_internal): Do not assume that signed
19549         integer overflow wraps around; modern compilers generate code
19550         where this assumption is no longer valid.
19552 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19554         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19555         Replace "jmp L(pseudo_end)" with "ret".
19556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19557         Likewise.
19559 2012-05-23  Andreas Jaeger  <aj@suse.de>
19561         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19562         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19564 2012-05-23  Andreas Jaeger  <aj@suse.de>
19565             Maximilian Attems  <max@stro.at>
19567         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19568         New macros.
19570 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19572         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19573         code so that pseudo_end is just ret and the stack pointer is
19574         correct also for static library in error case.
19576 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19578         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19579         move to syscalls.list.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19585         * manual/install.texi (Running make install): Do not mention Linux
19586         kernel version for which pt_chown is not needed.
19587         (Linux): Do not mention problems with nscd with 2.0 kernels.
19588         * INSTALL: Regenerated.
19590 2012-05-23  Andreas Jaeger  <aj@suse.de>
19592         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19593         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19594         macro.
19595         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19596         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19597         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19598         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19599         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19600         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19601         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19602         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19603         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19604         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19605         * sysdeps/unix/sysv/linux/bits/in.h
19606         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19608 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19610         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19611         (PREPARE_VERSION): Just use assert instead, it will be elided
19612         under [NDEBUG] anyway.
19614 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19616         * sysdeps/unix/sysv/linux/Makefile: Include
19617         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19618         (sysdep_routines): Remove sysctl.
19619         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19620         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19621         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19622         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19623         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19625 2012-05-22  Andreas Jaeger  <aj@suse.de>
19627         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19628         that pseudo_end is just ret and the stack pointer is correct also
19629         for static library in error case.
19631 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19633         [BZ #14122]
19634         * nss/nsswitch.c (defconfig_entries): New variable.
19635         (__nss_database_lookup): Don't leak defconfig entries.
19636         (nss_parse_service_list): Don't leak on error paths.
19637         (free_database_entries): New function.
19638         (free_defconfig): New function.
19639         (free_mem): Move common code to free_database_entries.
19641 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19643         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19644         Add arch_prctl.
19645         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19647         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19648         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19650         New macro.
19651         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19652         (INTERNAL_SYSCALL_TYPES): Likewise.
19653         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19654         (LOAD_REGS_TYPES_[1-6]): Likewise.
19655         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19656         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19658 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19660         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19661         copysignl for GLIBC_2_0.
19662         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19663         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19665         logbl for GLIBC_2_0.
19666         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19667         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19669 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19672         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19674         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19675         Use "neg %eax".
19677         * time/mktime.c: Update copyright years.
19679 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19681         mktime: merge comment-quoting-style change from gnulib
19682         * time/mktime.c: Quote 'like this' in comments.
19683         The GNU coding standards suggest that we no longer quote `like this',
19684         as "`" and "'" are typically rendered asymmetrically nowadays.
19685         The typical gnulib style is to quote 'like this' when quoting
19686         code, and "like this" when quoting English.
19688         * time/mktime.c (compile-command): Add "-I.".
19690         mktime: merge mktime-internal.h change from gnulib
19691         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19693         mktime: merge time_r change from gnulib
19694         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19696         mktime: merge DEBUG change from gnulib
19697         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19698         case system <time.h> has a #define.
19700         mktime: merge <sys/types.h> change from gnulib
19701         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19702         since <time.t> is now guaranteed to define time_t.
19704         mktime: merge HAVE_CONFIG_H change from gnulib
19705         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19707 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19710         Use "neg %eax".
19712         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19713         __rlim_t cast.
19714         (struct rusage): Use anonymous union to pad each field to
19715         __syscall_slong_t.
19717 2012-05-21  David S. Miller  <davem@davemloft.net>
19719         * Makefules (o-iterator): Remove .s cases.
19720         (compile-command.s): Delete.
19721         (COMPILE.s): Delete.
19722         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19724 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19726         * configure.in (libc_cv_predef_stack_protector): Only consider
19727         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19728         * configure: Regenerated.
19730 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19733         New macro.  Use R*LP on int and pointer.
19734         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19735         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19736         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19737         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19739         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19740         [__WORDSIZE_TIME64_COMPAT32] instead of
19741         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19742         (struct utmp): Likewise.
19743         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19744         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19745         Renamed to ...
19746         (__WORDSIZE_TIME64_COMPAT32): This.
19747         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19748         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19749         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19750         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19751         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19752         (__WORDSIZE_TIME64_COMPAT32): New macro.
19754 2012-05-21  Andreas Jaeger  <aj@suse.de>
19756         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19757         only if [SHARED]. Add prototype for __wcschr_ia32.
19759 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19761         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19762         of %rbp unmolested in the jmp_buf while mangling the low bits.
19763         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19764         unmolested high bits of %rbp while demangling the low bits.
19765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19767 2012-05-21  Andreas Jaeger  <aj@suse.de>
19769         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19770         * sunrpc/svc_simple.c: Use it for registerrpc.
19771         * sunrpc/xcrypt.c: Use it for passwd2des.
19773         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19775 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19777         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19778         Don't define if [__SYSCALL_WORDSIZE != 32].
19779         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19780         New macro.
19782 2012-05-21  Bruno Haible  <bruno@clisp.org>
19783             Andreas Jaeger  <aj@suse.de>
19785         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19786         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19787         inptr and inend for must_buffer_ch.
19788         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19789         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19790         * stdio-common/Makefile (tests): Remove bug15.
19791         (bug15-ENV): Remove macro.
19792         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19793         anymore.
19795 2012-05-19  Andreas Jaeger  <aj@suse.de>
19796             Roland McGrath  <roland@hack.frob.com>
19798         * manual/contrib.texi: Completely rewritten. It contains now an
19799         alphabetical list of contributors and their contributions.
19801 2012-05-21  Richard Henderson  <rth@twiddle.net>
19803         * misc/getauxval.c (__getauxval): Use unsigned long int.
19804         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19805         (getauxval): Use unsigned long int.
19807 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19809         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19811 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19813         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19814         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19815         __alignof__ (long double).
19817 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19821 2012-05-20  Richard Henderson  <rth@twiddle.net>
19823         * misc/getauxval.c: New file.
19824         * misc/sys/auxv.h: New file.
19825         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19826         (routines): Add getauxval.
19827         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19828         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19829         * elf/dl-sysdep.c (_dl_auxv): Remove.
19830         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19831         * elf/dl-support.c (_dl_auxv): New variable.
19832         (_dl_aux_init): Initialize it.
19833         * manual/startup.texi (Auxiliary Vector): New node.
19834         * sysdeps/generic/bits/hwcap.h: New file.
19835         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19836         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19837         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19838         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19839         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19840         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19842         Update.
19843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19852 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19856 2012-05-19  David S. Miller  <davem@davemloft.net>
19858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19860 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19862         [BZ #14123]
19863         * math/s_ccosh.c: Include <float.h>
19864         (__ccosh): Avoid internal overflow calculating sinh and cosh
19865         values before multiplying by sin and cos values.
19866         * math/s_ccoshf.c: Likewise.
19867         * math/s_ccoshl.c: Likewise.
19868         * math/s_csin.c: Likewise.
19869         * math/s_csinf.c: Likewise.
19870         * math/s_csinl.c: Likewise.
19871         * math/s_csinh.c: Likewise.
19872         * math/s_csinhf.c: Likewise.
19873         * math/s_csinhl.c: Likewise.
19874         * math/libm-test.inc (ccos_test): Add more tests.
19875         (ccosh_test): Likewise.
19876         (csin_test): Likewise.
19877         (csinh_test): Likewise.
19878         * sysdeps/i386/fpu/libm-test-ulps: Update.
19879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19883         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19884         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19886         * sysdeps/x86_64/x32/_itoa.h: Add comment.
19888 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
19890         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19891         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19892         * sysdeps/powerpc/soft-fp/Versions: Likewise.
19893         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19894         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19895         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19896         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19897         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19898         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19899         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19900         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19901         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19902         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19903         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19904         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19905         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19906         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19907         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19908         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19909         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19910         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19911         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19912         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19913         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19914         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19915         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19916         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19917         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19918         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19919         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19920         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19922 2012-05-18  Andreas Jaeger  <aj@suse.de>
19924         * csu/.gitignore: Delete.
19926 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19928         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19929         (timex): Use __syscall_slong_t.
19931 2012-05-18  Andreas Jaeger  <aj@suse.de>
19932             Carlos O'Donell  <carlos_odonell@mentor.com>
19934         * manual/install.texi (Configuring and compiling): Update
19935         description about files modified in the source directory.
19936         * INSTALL: Regenerated.
19938 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19940         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19941         value.  Use "or" to set return value to -1.
19942         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19943         negate return value.
19945 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19947         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19948         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19949         failure if the compiler has Graphite support disabled.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19951         Likewise.
19952         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19953         CFLAGS-memmove.c): Likewise.
19954         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19955         Likewise.
19957 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19959         * sysdeps/x86_64/x32/_itoa.h: New file.
19961         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19962         getdents system call only if kernel and user dirents have the
19963         same d_ino and d_off.
19965         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19966         LLONG_MAX != LONG_MAX.
19967         (_itoa_word): Use _ITOA_WORD_TYPE on value.
19968         (_fitoa_word): Likewise.
19970         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19971         years.
19972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19973         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19974         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19976         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19977         include <bits/wordsize.h>.  Check __x86_64__ instead of
19978         __WORDSIZE.
19979         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19980         if __x86_64__ is defined.  Use anonymous union on fpstate.
19982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19983         anonymous union.
19985 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
19987         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19988         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19989         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19990         Refer to _rtld_local_ro instead of _rtld_global_ro.
19991         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19992         Likewise.
19993         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19994         Likewise.
19995         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19996         Likewise.
19997         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19998         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19999         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20001         * sysdeps/powerpc/powerpc32/dl-machine.c
20002         (__elf_machine_runtime_setup) [PROF]: Don't reference
20003         _dl_prof_resolve.
20005 2012-05-18  Andreas Jaeger  <aj@suse.de>
20007         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20008         function only available for GCCs before 3.4 since GCC 3.4
20009         introduced a builtin.
20010         (lrint): Likewise.
20011         (llrintf): Likewise.
20012         (llrint): Likewise.
20013         (fmaxf): Likewise.
20014         (fmax): Likewise.
20015         (fminf): Likewise.
20016         (fmin): Likewise.
20017         (rint): Likewise.
20018         (rintf): Likewise.
20019         (nearbyint): Likewise.
20020         (nearbyintf): Likewise.
20021         (ceil): Likewise.
20022         (ceilf): Likewise.
20023         (floor): Likewise.
20024         (floorf): Likewise.
20026 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20028         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20029         on both fields and cast pointer to __syscall_ulong_t.
20031         * bits/types.h (__fsword_t): New type.
20032         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20033         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20035         (__FSWORD_T_TYPE): Likewise.
20036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20037         (__FSWORD_T_TYPE): Likewise.
20038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20039         (__FSWORD_T_TYPE): Likewise.
20040         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20041         (__FSWORD_T_TYPE): Likewise.
20042         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20043         __SWORD_TYPE with __fsword_t.
20044         (statfs64): Likewise.
20046 2012-05-17  David S. Miller  <davem@davemloft.net>
20048         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20050 2012-05-17  Andreas Jaeger  <aj@suse.de>
20052         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20053         warning.
20055 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20057         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20059 2012-05-17  Andreas Jaeger  <aj@suse.de>
20061         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20062         when it is used.
20064 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20066         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20068 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20070         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20071         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20073 2012-05-17  Andreas Jaeger  <aj@suse.de>
20074             Carlos O'Donell  <carlos_odonell@mentor.com>
20076         [BZ #14059]
20077         * sysdeps/x86_64/multiarch/init-arch.h
20078         (bit_YMM_Usable): Rename to...
20079         (bit_AVX_Usable): ... this.
20080         (bit_FMA4_Usable): New macro.
20081         (bit_XMM_state): New macro.
20082         (bit_YMM_state): New macro.
20083         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20084         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20085         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20086         (CPUID_OSXSAVE): New macro.
20087         (CPUID_AVX): New macro.
20088         (CPUID_FMA4): New macro.
20089         (index_YMM_Usable): Rename to...
20090         (index_AVX_Usable): ... this.
20091         (HAS_AVX): Use HAS_ARCH_FEATURE.
20092         (HAS_FMA4): Likewise.
20093         (HAS_YMM_USABLE): Remove.
20094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20095         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20096         are present.
20097         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20098         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20099         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20100         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20101         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20103 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20105         * math/libm-test.c: Support platforms without multiple rounding modes.
20106         * math/bug-nextafter.c: Support platforms without FP exceptions.
20107         * math/bug-nexttoward.c: Likewise.
20108         * math/test-fenv.c: Likewise.
20109         * math/test-misc.c: Likewise.
20110         * stdlib/bug-getcontext.c: Likewise.
20112 2012-05-17  Andreas Jaeger  <aj@suse.de>
20114         * manual/examples/search.c (critter_cmp): Change signature to
20115         avoid warnings.
20116         * manual/string.texi (Collation Functions): Likewise.
20118 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20120         * bits/types.h: Fold copyright years.
20121         * bits/typesizes.h: Likewise.
20122         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20123         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20125         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20126         * time/time.h: Likewise.
20128 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20130         [BZ #208]
20131         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20132         in instead of returning them.  Return void.
20133         (__libc_mallinfo): Accumulate over all arenas.
20134         (__malloc_stats): Adjust for change in int_mallinfo interface.
20136 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20138         [BZ #10375]
20139         * configure.in (NM): Add AC_CHECK_TOOL for it.
20140         (libc_extra_cflags): New substituted variable.
20141         Check for -fstack-protector being used implicitly.
20142         * configure: Regenerated.
20143         * config.make.in (config-extra-cflags): New variable,
20144         gets @libc_extra_cflags@.
20145         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20147         [BZ #10375]
20148         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20149         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20150         * configure: Regenerated.
20151         * config.make.in (CPPUNDEFS): New substituted variable.
20152         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20153         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20154         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20156 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20158         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20159         (mq_attr): Use __syscall_slong_t.
20161 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20163         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20164         Check __x86_64__ instead of __WORDSIZE.
20165         (_STAT_VER_LINUX): Likewise.
20166         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20167         __syscall_ulong_t and __syscall_slong_t.
20168         (stat64): Likewise.
20170 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20172         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20176         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20178 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20180         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20181         __syscall_ulong_t.
20183         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20184         include <bits/wordsize.h>.  Check __x86_64__ instead of
20185         __WORDSIZE.
20186         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20187         defined.
20188         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20191         include <bits/wordsize.h>.  Check __x86_64__ instead of
20192         __WORDSIZE.
20193         (user_regs_struct): Use "__extension__ unsigned long long"
20194         instead of "unsigned long" if __x86_64__ is defined.
20195         (user): Likewise.  Pad after pointer field if __ILP32__ is
20196         defined.
20198 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20200         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20201         versions 5 to 9.
20202         * configure: Regenerated.
20203         * manual/install.texi (texinfo): Increase version requirement to
20204         4.5 or later.
20205         * INSTALL: Regenerated.
20207         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20209 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20211         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20213         * sysdeps/x86_64/x32/ffs.c: New file.
20215         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20216         __syscall_ulong_t.
20217         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20218         defined.  Use __syscall_ulong_t.
20219         (shminfo): Use __syscall_ulong_t.
20220         (shm_info): Likewise.
20222         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20223         __syscall_ulong_t.
20225         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20226         <bits/wordsize.h>.
20227         (msgqnum_t): Use __syscall_ulong_t.
20228         (msglen_t): Likewise.
20229         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20230         __syscall_ulong_t.
20232         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20233         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20235         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20237         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20238         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20240         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20241         __syscall_slong_t.
20243         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20244         include <bits/wordsize.h>.  Check __x86_64__ instead of
20245         __WORDSIZE.
20247         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20248         "unsigned long long int" if __x86_64__ is defined.
20249         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20251         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20252         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20253         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20255         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20256         <stdint.h>.
20257         (GET_PC): Cast to uintptr_t first.
20258         (GET_FRAME): Likewise.
20259         (GET_STACK): Likewise.
20261         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20267         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20268         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20269         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20270         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20271         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20272         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20273         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20274         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20275         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20276         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20277         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20278         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20279         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20280         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20281         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20282         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20283         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20284         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20285         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20286         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20287         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20288         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20289         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20291 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20293         * Makerules (+depfiles): Also collect depfiles from .oS in
20294         $(extra-objs).
20295         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20296         .oS, $(libnldbl-routines)).
20298         * Makerules (native-compile-mkdep-flags): Define.
20299         * sunrpc/Makefile (extra-objs): Add $(addprefix
20300         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20301         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20302         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20303         calling $(make-target-directory).
20305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20307         * bits/types.h (__snseconds_t): Removed.
20308         * time/time.h (struct timespec): Replace __snseconds_t with
20309         __syscall_slong_t.
20310         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20311         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20312         Likewise.
20313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20314         (__SNSECONDS_T_TYPE): Likewise.
20315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20316         (__SNSECONDS_T_TYPE): Likewise.
20317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20318         (__SNSECONDS_T_TYPE): Likewise.
20320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20322         * sysdeps/mach/hurd/bits/typesizes.h
20323         (__SYSCALL_SLONG_TYPE): New macro.
20324         (__SYSCALL_ULONG_TYPE): Likewise.
20326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20328         * bits/types.h (__syscall_slong_t): New type.
20329         (__syscall_ulong_t): Likewise.
20331         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20332         (__SYSCALL_ULONG_TYPE): Likewise.
20333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20334         (__SYSCALL_SLONG_TYPE): Likewise.
20335         (__SYSCALL_ULONG_TYPE): Likewise.
20336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20337         (__SYSCALL_SLONG_TYPE): Likewise.
20338         (__SYSCALL_ULONG_TYPE): Likewise.
20339         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20340         (__SYSCALL_SLONG_TYPE): Likewise.
20341         (__SYSCALL_ULONG_TYPE): Likewise.
20343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20345         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20346         Add sigaltstack-offsets.sym.
20347         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20348         <sigaltstack-offsets.h>.
20349         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20350         longjmp_msg pointer.
20351         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20352         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20353         signal stack.
20354         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20356 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20358         * elf/stackguard-macros.h: Remove file.
20359         * sysdeps/generic/stackguard-macros.h: New file.
20360         * sysdeps/i386/stackguard-macros.h: Likewise.
20361         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20362         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20363         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20364         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20365         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20366         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20367         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20368         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20369         <elf/stackguard-macros.h>.
20371         [BZ #14109]
20372         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20373         __aligned__ in attribute.
20374         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20375         (gregset_t): Likewise.
20377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20379         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20380         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20381         * sysdeps/x86_64/x32/Implies-after: New file.
20383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20385         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20386         and access return value for _dl_profile_fixup.  Use R10_LP to
20387         load frame size.
20389 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20391         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20395         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20396         * sysdeps/x86_64/x32/sysdep.h: New file.
20398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20400         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20401         * sysdeps/x86_64/setjmp.S: Likewise.
20403 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20405         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20406         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20407         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20408         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20409         remove unused global constant.
20411 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20413         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20414         include of <not-cancel.h>.
20416 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20418         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20420 2012-05-15  Jeff Law  <law@redhat.com>
20421             Andreas Jaeger  <aj@suse.de>
20423         [BZ #13594]
20424         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20425         out from...
20426         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20427         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20428         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20429         code changing __hst_map_handle.map.
20431 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20433         * configure.in (sysnames): Look for Implies-before and Implies-after
20434         files.
20435         * configure: Regenerated.
20437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20439         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20440         8-byte data alignment with LP_SIZE alignment.
20442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20444         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20445         into R10_LP.
20447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20449         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20453         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20454         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20455         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20456         Likewise.
20457         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20461         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20462         (stackinfo_sub_sp): Likewise.
20464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20467         RAX_LP.
20469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20472         into R*_LP.
20474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20476         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20477         sizes into R*_LP.
20479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20481         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20485         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20486         into R11_LP and load __x86_64_shared_cache_size_half into
20487         R8_LP.
20489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20491         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20492         R8_LP.
20494 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20497         logb for POWER7.
20498         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20499         logbf for POWER7.
20500         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20501         logbl for POWER7.
20502         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20503         powerpc32/power7/fpu/s_logb.c via #include.
20504         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20505         powerpc32/power7/fpu/s_logbf.c via #include.
20506         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20507         powerpc32/power7/fpu/s_logbl.c via #include.
20509 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20511         * README.libm: Remove file.
20513 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20515         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20516         count for x32.  Use R*_LP and omit operand-size suffix.
20518 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20520         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20521         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20522         * sysdeps/x86_64/x32/shlib-versions: New file.
20524 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20526         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20527         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20528         Use _dl_fatal_printf instead.
20530 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20532         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20533         set if not set by the user.  Do not allow for being unset.
20534         * sysdeps/unix/sysv/linux/configure: Regenerated.
20536 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20538         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20539         the `q' suffix from lea and replace .quad with ASM_ADDR.
20541 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20544         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20545         instead of $17.
20546         (PTR_DEMANGLE): Likewise.
20548 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20550         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20551         (LP_OP): Likewise.
20552         (ASM_ADDR): Likewise.
20553         (RAX_LP): Likewise.
20554         (RBP_LP): Likewise.
20555         (RBX_LP): Likewise.
20556         (RCX_LP): Likewise.
20557         (RDI_LP): Likewise.
20558         (RSI_LP): Likewise.
20559         (RSP_LP): Likewise.
20560         (R8_LP): Likewise.
20561         (R9_LP): Likewise.
20562         (R10_LP): Likewise.
20563         (R10_LP): Likewise.
20564         (R11_LP): Likewise.
20565         (R12_LP): Likewise.
20566         (R13_LP): Likewise.
20567         (R14_LP): Likewise.
20568         (R15_LP): Likewise.
20570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20572         * sysdeps/x86_64/x32/dl-machine.h: New file.
20574 2012-05-14  Andreas Jaeger  <aj@suse.de>
20576         * manual/Makefile (subdir): Remove export of subdir.
20577         (all): Remove target.
20578         (.PHONY): Remove all from list.
20579         (mkinstalldirs): Remove.
20580         (.PHONY): Remove installdirs from list.
20581         ($(inst_infodir)/libc.info): Use make-target-directory.
20582         (installdirs): Remove.
20583         (subdir_%): Remove.
20584         (glibc-targets): Remove.
20585         (lib): Remove.
20586         (stubs): Remove.
20587         ($(objpfx)stubs ../po/manual.pot): Remove.
20588         ($(objpfx)stamp%): Remove.
20589         (make-target-directory): Remove.
20590         (subdir_install): Remove.
20591         (routines): Remove.
20592         (aux): Remove.
20593         (sources): Remove.
20594         (objects): Remove.
20595         (headers): Remove.
20597         [BZ #13750]
20598         * manual/.gitignore: Remove, it's not needed anymore.
20599         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20600         all files in it.
20601         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20602         directory.
20603         (texis): Renamed to $(objpfx)texis.
20604         (texis-path): New, contains path to generated files.
20605         (chapters.%): Use texis-path for complete path, add extra argument
20606         libc-texinfo.sh.
20607         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20608         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20609         (summary,texi, stamp-summary): Use complete path of
20610         files. Generate files in build dir.
20611         (dir-add.texi): Build in build dir.
20612         (libm-err.texi,stamp-libm-err): Likewise.
20613         (version.texi, stamp-version): Likewise.
20614         (.%c.texi): Likewise.
20615         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20616         (mostlyclean): Remove target.
20617         (realclean): Remove target.
20618         (generated): Add new variable with contents from mostlyclean and
20619         realclean, remove entries duplicated in common-mostlyclean, add
20620         stamp-libm-err and stamp-version.
20621         (generated-dirs): Add libc directory.
20622         ($(inst_infodir)/libc.info): Install files from build dir.
20624         * manual/install.texi (Configuring and compiling): Adjust since
20625         the info files are not part of the tar ball anymore.
20627 2012-05-14  Andreas Jaeger  <aj@suse.de>
20629         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20630         variable.
20632 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #13717]
20635         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20636         to 2.2.0 where earlier.
20637         * sysdeps/unix/sysv/linux/configure: Regenerated.
20638         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20639         Remove conditional code.
20640         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20641         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20642         Remove conditional code.
20643         [!__NR_lchown]: Likewise.
20644         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20645         [__NR_lchown]: Likewise.
20646         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20647         comment referencing __ASSUME_LCHOWN_SYSCALL.
20648         * sysdeps/unix/sysv/linux/i386/sigaction.c
20649         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20650         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20651         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20652         Remove conditional code.
20653         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20654         (__protocol_available): Remove #if 0 code.
20655         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20656         conditional code.
20657         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20658         * sysdeps/unix/sysv/linux/kernel-features.h
20659         (__ASSUME_GETCWD_SYSCALL): Don't define.
20660         (__ASSUME_REALTIME_SIGNALS): Likewise.
20661         (__ASSUME_PREAD_SYSCALL): Likewise.
20662         (__ASSUME_PWRITE_SYSCALL): Likewise.
20663         (__ASSUME_POLL_SYSCALL): Likewise.
20664         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20665         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20666         non-SPARC.
20667         (__ASSUME_SIOCGIFNAME): Don't define.
20668         (__ASSUME_MSG_NOSIGNAL): Likewise.
20669         (__ASSUME_SENDFILE): Define unconditionally.
20670         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20671         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20672         conditional code.
20673         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20674         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20675         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20676         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20677         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20678         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20679         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20681         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20684         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20687         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20688         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20690         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20693         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20694         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20696         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20699         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20704         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20705         Remove conditional code.
20706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20707         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20708         Remove conditional code.
20709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20710         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20711         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20712         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20713         Remove conditional code.
20714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20715         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20716         Remove conditional code.
20717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20718         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20719         Remove conditional code.
20720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20721         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20722         Remove conditional code.
20723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20724         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20725         Remove conditional code.
20726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20727         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20730         * sysdeps/unix/sysv/linux/sigaction.c
20731         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20732         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20733         * sysdeps/unix/sysv/linux/sigpending.c
20734         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20735         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20736         * sysdeps/unix/sysv/linux/sigprocmask.c
20737         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20738         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20739         * sysdeps/unix/sysv/linux/sigsuspend.c
20740         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20741         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20742         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20743         (__libc_missing_rt_sigs): Remove.
20744         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20745         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20746         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20747         Remove conditional code.
20748         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20749         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20750         return 1.
20751         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20752         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20753         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20754         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20756 2012-05-14  Andreas Jaeger  <aj@suse.de>
20758         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20759         it's not used in glibc.
20760         (__coshm1): Likewise.
20761         (__acosh1p): Likewise.
20762         (__sgn): Likewise.
20764         * manual/string.texi (Copying and Concatenation): Add missing
20765         variable in concat example.
20766         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20770         [BZ #14103]
20771         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20772         __builtin_clzl with __builtin_clzll.
20774 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20776         [BZ #14104]
20777         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20778         libc_freeres_ptr.
20780 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20782         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20783         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20784         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20785         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20787 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20789         * NEWS: Update ia64 info.
20791 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20793         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20794         used as bcopy.
20796 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20798         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20799         * sysdeps/unix/syscalls.list (dup3): Likewise.
20800         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20801         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20803 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20805         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20806         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20808 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20810         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20811         thread pointer.
20812         (TLS_IE): Use mov/add instead of movq/addq to load thread
20813         pointer.
20814         (TLS_GD_PREFIX): New.
20815         (TLS_GD): Use it.
20817 2012-05-11  David S. Miller  <davem@davemloft.net>
20819         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20820         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20821         (_FPU_SETCW): Likewise.
20823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20825         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20826         is 32-byte aligned.
20828 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20830         [BZ #11837]
20831         * iconvdata/gb18030.c: Update tables.
20832         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20833         characters specially.
20834         (BODY for TO_LOOP): Add encoding of missing ranges.
20836 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20838         [BZ #13673]
20839         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20840         * sysdeps/mach/hurd/dup3.c: Likewise.
20841         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20842         * sysdeps/powerpc/memmove.c:: Likewise.
20844 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20846         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20847         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20851         * elf/elf.h (R_X86_64_RELATIVE64): New.
20852         (R_X86_64_NUM): Updated.
20853         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20854         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
20855         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20856         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20857         tst-quad1pie tst-quad2pie
20858         (modules-names): Add tst-quadmod1 tst-quadmod2.
20859         ($(objpfx)tst-quad1): New dependency.
20860         ($(objpfx)tst-quad2): Likewise.
20861         ($(objpfx)tst-quad1pie): Likewise.
20862         ($(objpfx)tst-quad2pie): Likewise.
20863         * sysdeps/x86_64/tst-quad1.c: New file.
20864         * sysdeps/x86_64/tst-quad1pie.c: New file.
20865         * sysdeps/x86_64/tst-quad2.c: Likewise.
20866         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20867         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20868         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20869         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20870         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20874         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20875         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20876         * streams/stropts.h (t_scalar_t): Define type.
20878         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20879         (_PATH_PRESERVE): Set to "/var/lib".
20880         (_PATH_RWHODIR): Set to "/var/spool/rwho".
20882         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20883         instead of int.
20885         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20886         if __dir_mkfile succeeded.
20888         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20889         checking for _hurd_dtablesize.  Unlock it right after having
20890         finished _hurd_dtable allocation.
20892 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20894         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20895         * sysdeps/mach/hurd/configure: Regenerated.
20896         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20897         special-casing to...
20898         * sysdeps/gnu/configure.in: ... this new file.
20899         * sysdeps/unix/sysv/linux/configure: Regenerated.
20900         * sysdeps/gnu/configure: New generated file.
20902         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20903         for Linux: use nsec instead of usec, as well as:
20904         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20905         members of type struct timespec.
20906         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20907         New macros.
20908         (struct stat64): Likewise.
20909         (_STATBUF_ST_NSEC): New macro.
20910         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20912         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20913         __strtoul_internal rather than strtoul.
20915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20917         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20918         and reject them.
20920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20922         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20923         which preserves existing values.
20924         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20926 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20928         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20929         TIMEOUT values.  Return EINVAL for NFDS values either negative or
20930         greater than FD_SETSIZE.
20932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20934         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20935         allocated, call __vm_protect to finish enabling the existing space, and
20936         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20937         allocate the remainder.
20939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20941         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20942         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
20944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20946         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20947         sysdeps/mach/hurd/readlink.c.
20949         * posix/tst-sysconf.c (posix_options): Only use
20950         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20951         _POSIX_SYNCHRONIZED_IO when they are defined
20952         * sysdeps/mach/hurd/bits/posix_opt.h:
20953         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20954         (_XOPEN_REALTIME): Undefine macro.
20955         (_XOPEN_REALTIME_THREADS): Undefine macro.
20956         (_XOPEN_SHM): Undefine macro.
20957         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20958         macro to -1.
20959         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20960         macro to -1.
20961         (_POSIX_ASYNC_IO): Undefine macro.
20962         (_POSIX_PRIORITIZED_IO): Undefine macro.
20963         (_POSIX_SPIN_LOCKS): Define macro to -1.
20965         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20966         SA_NODEFER, SA_RESETHAND.
20967         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20968         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20969         F_DUPFD_CLOEXEC.
20971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20973         * elf/Makefile (pldd-modules): Define unconditionally.
20975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20977         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20979 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20981         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20982         Return ENOENT when name is empty.
20983         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20987         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20989         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20993         Fix mlock in all cases except non-readable pages.
20994         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20995         instead of VM_PROT_ALL as parameter to __vm_wire function.
20997         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20998         (__mkdir): When path is `/', just fail with EEXIST.
20999         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21003         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21004         <sys/uio.h> (for writev).
21005         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21006         and <sys/param.h> (for MIN).
21008 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21010         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21011         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21012         if interrupted.
21014 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21016         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21017         Depend on against $(link-rpcuserlibs).
21019 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21021         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21022         (__libc_stack_end): Do not use attribute_relro.
21023         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21024         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21025         to libthread-provided value.
21026         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21027         attribute_relro.
21029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21031         [BZ #3748]
21032         * bits/libc-lock.h (__libc_once_get): New macro.
21033         * sysdeps/mach/bits/libc-lock.h: Likewise.
21034         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21036         instead of using implementation details.
21038         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21039         * libio/freopen.c: Likewise.
21040         * libio/freopen64.c: Likewise.
21041         * misc/syslog.c: Likewise.
21042         * nscd/connections.c: Likewise.
21043         * nscd/netgroupcache.c: Likewise.
21044         * sysdeps/posix/getcwd.c: Likewise.
21046 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21048         * math/w_ilogbf.c: Add #include <limits.h>.
21050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21052         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21053         path instead of returning without unlocking.
21055         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21056         immediate-write ioctls.
21057         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21061         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21062         __builtin_frame_address instead of making assumptions about the
21063         location of the return address relative to DATA.  Force early load of
21064         the return address.
21065         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21066         __builtin_frame_address.
21068         dup3 for GNU Hurd.
21069         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21070         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21071         implement dup3 and do some further code clean-ups.
21072         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21073         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21077         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21079         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21080         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21081         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21082         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21083         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21084         d->port.lock.
21086         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21087         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21088         when handler == SIG_ERR, not when handler != SIG_ERR.
21090 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21092         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21093         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21094         definitions.
21096         accept4 for GNU Hurd.
21097         * include/sys/socket.h (__libc_accept4): New prototype.
21098         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21099         to implement __libc_accept4.
21100         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21101         __libc_accept4.
21102         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21104         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21105         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21106         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21107         signal-defines.sym.
21109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21111         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21115         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21116         assertion on O_CLOEXEC flag.
21117         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21118         * hurd/intern-fd.c: Likewise.
21119         * hurd/port2fd.c: Likewise.
21121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21123         [BZ #3906]
21124         * bits/in.h (IPV6_PKTINFO): Define new macro.
21125         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21127 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21129         [BZ #13954]
21130         [BZ #13955]
21131         [BZ #13956]
21132         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21134         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21135         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21137         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21138         * math/libm-test.inc (logb_test) : Additional logb tests.
21140 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21141             Andreas Jaeger  <aj@suse.de>
21143         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21144         * configure: Regenerated.
21145         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21146         * config.make.in (link-obsolete-rpc): New substituted variable.
21147         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21148         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21149         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21150         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21151         so that libc.a contains the symbols.
21152         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21153         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21154         * sunrpc/auth_none.c: Likewise.
21155         * sunrpc/auth_unix.c: Likewise.
21156         * sunrpc/authdes_prot.c: Likewise.
21157         * sunrpc/authuxprot.c: Likewise.
21158         * sunrpc/clnt_gen.c: Likewise.
21159         * sunrpc/clnt_perr.c: Likewise.
21160         * sunrpc/clnt_raw.c: Likewise.
21161         * sunrpc/clnt_simp.c: Likewise.
21162         * sunrpc/clnt_tcp.c: Likewise.
21163         * sunrpc/clnt_udp.c: Likewise.
21164         * sunrpc/clnt_unix.c: Likewise.
21165         * sunrpc/des_crypt.c: Likewise.
21166         * sunrpc/des_soft.c: Likewise.
21167         * sunrpc/get_myaddr.c: Likewise.
21168         * sunrpc/key_call.c: Likewise.
21169         * sunrpc/key_prot.c: Likewise.
21170         * sunrpc/netname.c: Likewise.
21171         * sunrpc/pm_getmaps.c: Likewise.
21172         * sunrpc/pm_getport.c: Likewise.
21173         * sunrpc/pmap_clnt.c: Likewise.
21174         * sunrpc/pmap_prot.c: Likewise.
21175         * sunrpc/pmap_prot2.c: Likewise.
21176         * sunrpc/pmap_rmt.c: Likewise.
21177         * sunrpc/publickey.c: Likewise.
21178         * sunrpc/rpc_cmsg.c: Likewise.
21179         * sunrpc/rpc_common.c: Likewise.
21180         * sunrpc/rpc_dtable.c: Likewise.
21181         * sunrpc/rpc_prot.c: Likewise.
21182         * sunrpc/rpc_thread.c: Likewise.
21183         * sunrpc/rtime.c: Likewise.
21184         * sunrpc/svc.c: Likewise.
21185         * sunrpc/svc_auth.c: Likewise.
21186         * sunrpc/svc_raw.c: Likewise.
21187         * sunrpc/svc_run.c: Likewise.
21188         * sunrpc/svc_tcp.c: Likewise.
21189         * sunrpc/svc_udp.c: Likewise.
21190         * sunrpc/svc_unix.c: Likewise.
21191         * sunrpc/svcauth_des.c: Likewise.
21192         * sunrpc/xcrypt.c: Likewise.
21193         * sunrpc/xdr.c: Likewise.
21194         * sunrpc/xdr_array.c: Likewise.
21195         * sunrpc/xdr_float.c: Likewise.
21196         * sunrpc/xdr_intXX_t.c: Likewise.
21197         * sunrpc/xdr_mem.c: Likewise.
21198         * sunrpc/xdr_rec.c: Likewise.
21199         * sunrpc/xdr_ref.c: Likewise.
21200         * sunrpc/xdr_sizeof.c: Likewise.
21201         * sunrpc/xdr_stdio.c: Likewise.
21203 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21206         change.  Update copyright years.
21208 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21210         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21212 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21213             Joseph Myers  <joseph@codesourcery.com>
21214             Paul Pluzhnikov  <ppluzhnikov@google.com>
21216         [BZ #14012]
21217         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21218         requiring rpcgen.
21219         [cross-compiling] (extra-libs): Likewise.
21220         [cross-compiling] (extra-libs-others): Likewise.
21221         [cross-compiling] (librpcsvc-routines): Likewise.
21222         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21223         [cross-compiling] (omit-deps): Likewise.
21224         (sunrpc-CPPFLAGS): New variable.
21225         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21226         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21227         (cross-rpcgen-objs): New variable.
21228         (extra-objs): Append $(cross-rpcgen-objs).
21229         ($(cross-rpcgen-objs)): New rule.
21230         ($(objpfx)cross-rpcgen): Likewise.
21231         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21232         comment.
21233         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21234         ($(objpfx)x%.stmp): Likewise.
21235         * sunrpc/proto.h [IS_IN_build] (_): Define.
21236         [IS_IN_build] (_libc_intl_domainname): Likewise.
21238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21241         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21242         and R_X86_64_TPOFF64.
21244 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21246         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21247         sysdeps/unix/sysv/syscalls.list.
21248         (stime): Likewise.
21249         (utime): Likewise.
21250         * sysdeps/unix/sysv/syscalls.list: Remove file.
21252 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21254         [BZ #3440]
21255         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21256         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21257         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21258         (__LC_IDENTIFICATION): Make these macros useful in #if
21259         expressions, as required by C99.
21261 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21263         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21264         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21265         after this.
21267 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21269         * stdlib/longlong.h: Updated from GCC.
21271 2012-05-09  Andreas Jaeger  <aj@suse.de>
21273         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21274         default is first entry.
21275         (run_mode): Set type.
21276         (main): Remove informal message about syslog.
21277         (options): Fix typo.
21279         [BZ #14053]
21280         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21281         to asm.
21282         (lrint): Likewise.
21283         (llrintf): Likewise.
21284         (llrint): Likewise.
21285         (rint): Likewise.
21286         (rintf): Likewise.
21287         (nearbyint): Likewise.
21288         (nearbyintf): Likewise.
21290 2012-05-09  Andreas Jaeger  <aj@suse.de>
21291             Pedro Alves  <palves@redhat.com>
21293         * nscd/nscd.c (run_mode): Use enum.
21294         (main): Cleanup coding style issue.
21296 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21297             Andreas Jaeger  <aj@suse.de>
21299         * nscd/nscd.c (go_background): Replaced with...
21300         (run_mode): ... this.
21301         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21302         (options): Add -F --foreground.
21303         (main): Implement it.
21304         (parse_opt): Parse it.
21306 2012-05-09  Andreas Jaeger  <aj@suse.de>
21308         [BZ #14083]
21309         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21310         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21311         -Wconversion warning.
21312         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21313         Likewise.
21315 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21317         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21318         == 0.
21319         (LC_ALL): Use macro-int-constant.
21320         (LC_COLLATE): Likewise.
21321         (LC_CTYPE): Likewise.
21322         (LC_MESSAGES): Likewise.
21323         (LC_MONETARY): Likewise.
21324         (LC_NUMERIC): Likewise.
21325         (LC_TIME): Likewise.
21326         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21327         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21328         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21329         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21330         Specify type.
21331         [C99-based standards] (float_t): Expect type.
21332         [C99-based standards] (double_t): Expect type.
21333         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21334         type.
21335         [C99-based standards] (HUGE_VALL): Likewise.
21336         [C99-based standards] (INFINITY): Likewise.
21337         [C99-based standards] (NAN): Likewise.
21338         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21339         [C99-based standards] (FP_NAN): Likewise.
21340         [C99-based standards] (FP_NORMAL): Likewise.
21341         [C99-based standards] (FP_SUBNORMAL): Likewise.
21342         [C99-based standards] (FP_ZERO): Likewise.
21343         [C99-based standards] (FP_FAST_FMA): Use
21344         optional-macro-int-constant.  Specify type.  Require == 1.
21345         [C99-based standards] (FP_FAST_FMAF): Likewise.
21346         [C99-based standards] (FP_FAST_FMAL): Likewise.
21347         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21348         [C99-based standards] (FP_ILOGBNAN): Likewise.
21349         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21350         Specify type.
21351         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21352         [C99-based standards] (math_errhandling): Specify type.
21353         [ISO99 || ISO11] (signgam): Do not allow.
21354         [non-C99-based standards] (copysignf): Do not allow.
21355         [non-C99-based standards] (exp2f): Likewise.
21356         [non-C99-based standards] (log2f): Likewise.
21357         [non-C99-based standards] (modff): Allow.
21358         [non-C99-based standards] (erff): Do not allow.
21359         [non-C99-based standards] (erfcf): Likewise.
21360         [non-C99-based standards] (gammaf): Likewise.
21361         [non-C99-based standards] (hypotf): Likewise.
21362         [non-C99-based standards] (j0f): Likewise.
21363         [non-C99-based standards] (j1f): Likewise.
21364         [non-C99-based standards] (jnf): Likewise.
21365         [non-C99-based standards] (lgammaf): Likewise.
21366         [non-C99-based standards] (tgammaf): Likewise.
21367         [non-C99-based standards] (y0f): Likewise.
21368         [non-C99-based standards] (y1f): Likewise.
21369         [non-C99-based standards] (ynf): Likewise.
21370         [non-C99-based standards] (isnanf): Likewise.
21371         [non-C99-based standards] (acoshf): Likewise.
21372         [non-C99-based standards] (asinhf): Likewise.
21373         [non-C99-based standards] (atanhf): Likewise.
21374         [non-C99-based standards] (cbrtf): Likewise.
21375         [non-C99-based standards] (expm1f): Likewise.
21376         [non-C99-based standards] (ilogbf): Likewise.
21377         [non-C99-based standards] (log1pf): Likewise.
21378         [non-C99-based standards] (logbf): Likewise.
21379         [non-C99-based standards] (nextafterf): Likewise.
21380         [non-C99-based standards] (remainderf): Likewise.
21381         [non-C99-based standards] (rintf): Likewise.
21382         [non-C99-based standards] (scalbf): Likewise.
21383         [non-C99-based standards] (copysignl): Likewise.
21384         [non-C99-based standards] (exp2l): Likewise.
21385         [non-C99-based standards] (log2l): Likewise.
21386         [non-C99-based standards] (modfl): Allow.
21387         [non-C99-based standards] (erfl): Do not allow.
21388         [non-C99-based standards] (erfcl): Likewise.
21389         [non-C99-based standards] (gammal): Likewise.
21390         [non-C99-based standards] (hypotl): Likewise.
21391         [non-C99-based standards] (j0l): Likewise.
21392         [non-C99-based standards] (j1l): Likewise.
21393         [non-C99-based standards] (jnl): Likewise.
21394         [non-C99-based standards] (lgammal): Likewise.
21395         [non-C99-based standards] (tgammal): Likewise.
21396         [non-C99-based standards] (y0l): Likewise.
21397         [non-C99-based standards] (y1l): Likewise.
21398         [non-C99-based standards] (ynl): Likewise.
21399         [non-C99-based standards] (isnanl): Likewise.
21400         [non-C99-based standards] (acoshl): Likewise.
21401         [non-C99-based standards] (asinhl): Likewise.
21402         [non-C99-based standards] (atanhl): Likewise.
21403         [non-C99-based standards] (cbrtl): Likewise.
21404         [non-C99-based standards] (expm1l): Likewise.
21405         [non-C99-based standards] (ilogbl): Likewise.
21406         [non-C99-based standards] (log1pl): Likewise.
21407         [non-C99-based standards] (logbl): Likewise.
21408         [non-C99-based standards] (nextafterl): Likewise.
21409         [non-C99-based standards] (remainderl): Likewise.
21410         [non-C99-based standards] (rintl): Likewise.
21411         [non-C99-based standards] (scalbl): Likewise.
21412         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21413         [non-C99-based standards] (FP_*): Do not allow.
21414         [C99-based standards] (FP_*): Change to
21415         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21416         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21417         allow.
21418         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21419         (SIG_ERR): Likewise.
21420         [X/Open-based standards] (SIG_HOLD): Likewise.
21421         (SIG_IGN): Likewise.
21422         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21423         positive value.
21424         (SIGFPE): Likewise.
21425         (SIGILL): Likewise.
21426         (SIGINT): Likewise.
21427         (SIGSEGV): Likewise.
21428         (SIGTER): Likewise.
21429         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21430         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21431         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21432         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21433         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21434         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21435         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21436         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21437         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21438         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21439         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21440         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21441         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21442         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21443         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21444         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21445         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21446         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21447         [X/Open-based standards] (SIGTRAP): Likewise.
21448         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21449         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21450         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21451         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21452         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21453         allow.
21455 2012-05-08  Ian Wienand  <ianw@vmware.com>
21457         [BZ #14080]
21458         * time/tzset.c (__tzset_parse_tz): Update default rules for
21459         daylight time changes in the Energy Policy Act of 2005.
21461 2012-05-09  Andreas Jaeger  <aj@suse.de>
21463         [BZ #13983]
21464         * elf/ldconfig.c (parse_conf): Change string to make clear that
21465         ldconfig only issued a warning if ld.so.conf does not exist.
21467 2012-05-08  David S. Miller  <davem@davemloft.net>
21469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21470         movxtod instead of popping the value on the stack.
21472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21474 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21476         * config.h.in: Add HAVE_ARM_PCS_VFP.
21478 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21480         [BZ #13979]
21481         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21482         checking but the checks are disabled for any reason.
21484 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21486         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21487         and ELF64_R_TYPE with ELFW(R_TYPE).
21489 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21491         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21492         (ulimit): Likewise.
21494         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21495         (settimeofday): Likewise.
21497 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21499         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21500         a struct th_u2 inside the union, and move tu_block/tu_code into
21501         a new th_u3 union of tu_block/tu_code inside of that.  Move
21502         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21503         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21504         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21505         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21506         (th_stuff): Change to th_u1.tu_stuff.
21507         (th_data): Define.
21508         (th_msg): Change to th_u1.th_u2.tu_data.
21510 2012-05-07  David S. Miller  <davem@davemloft.net>
21512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21514         [BZ #14074]
21515         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21516         (SETUP_PIC_REG): Use it.
21517         (SETUP_PIC_REG_LEAF): Use it.
21519 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21521         [BZ #13885]
21522         [BZ #13923]
21523         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21524         USE_AS_EXPM1L.
21525         (EXPL_FINITE): Likewise.
21526         (FLDLOG): Likewise.
21527         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21528         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21529         e_expl.S.
21530         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21531         USE_AS_EXPM1L.
21532         (EXPL_FINITE): Likewise.
21533         (FLDLOG): Likewise.
21534         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21535         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21536         e_expl.S.
21537         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21538         test of -max_value argument for long double.
21539         * sysdeps/i386/fpu/libm-test-ulps: Update.
21540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21542 2012-05-06  David S. Miller  <davem@davemloft.net>
21544         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21545         quad soft-float symbols whose references which are compiler
21546         generated.
21547         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21549 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21551         [BZ #13884]
21552         [BZ #13914]
21553         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21554         USE_AS_EXP10L.
21555         (EXPL_FINITE): Likewise.
21556         (FLDLOG): Likewise.
21557         (c0): Likewise.
21558         (c1): Likewise.
21559         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21560         Adjust comments for base varying.
21561         (__expl_finite): Change alias to EXPL_FINITE.
21562         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21563         e_expl.S.
21564         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21565         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21566         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21567         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21568         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21569         USE_AS_EXP10L.
21570         (EXPL_FINITE): Likewise.
21571         (FLDLOG): Likewise.
21572         (c0): Likewise.
21573         (c1): Likewise.
21574         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21575         Adjust comments for base varying.
21576         (__expl_finite): Change alias to EXPL_FINITE.
21577         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21578         tests for bugs.
21579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21581         [BZ #14064]
21582         * math/libm-test.inc (check_float_internal): Correct ulp
21583         calculation for subnormal expected results.
21585 2012-05-06  Andreas Jaeger  <aj@suse.de>
21587         * Makeconfig (+math-flags): New, set to -frounding-math.
21588         (+cflags): Add +math-flags so that all of glibc gets compiled with
21589         it.
21591         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21593 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21595         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21596         Disable one test.
21598         [BZ #13787]
21599         [BZ #13922]
21600         [BZ #14036]
21601         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21602         (__ieee754_expl): Allow for and saturate large arguments.
21603         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21604         (u_threshold): Likewise.
21605         (__exp): Call __ieee754_exp before checking for overflow and
21606         underflow.
21607         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21608         (u_threshold): Likewise.
21609         (__expf): Call __ieee754_expf before checking for overflow and
21610         underflow.
21611         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21612         (u_threshold): Likewise.
21613         (__expl): Call __ieee754_expl before checking for overflow and
21614         underflow.
21615         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21616         (__ieee754_expl): Allow for and saturate large arguments.
21617         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21618         missing overflow exception on overflow.
21619         (expm1_test): Do not allow missing overflow exception on overflow.
21621         * sysdeps/i386/fpu/e_expl.c: Move to ...
21622         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21623         rather than using inline asm.
21624         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21625         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21626         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21628         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21629         (nice): Likewise.
21630         (poll): Likewise.
21631         (signal): Likewise.
21632         (time): Likewise.
21633         (times): Likewise.
21635 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21637         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21638         sysdeps/unix/common/syscalls.list.
21639         (fchmod): Likewise.
21640         (fchown): Likewise.
21641         (ftruncate): Likewise.
21642         (getrusage): Likewise.
21643         (gettimeofday): Likewise.
21644         (setpgid): Likewise.
21645         (setregid): Likewise.
21646         (setreuid): Likewise.
21647         (sigaction): Likewise.
21648         (truncate): Likewise.
21649         (vhangup): Likewise.
21650         * sysdeps/unix/common/syscalls.list: Remove file.
21651         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21652         * sysdeps/unix/sysv/linux/Implies: Likewise.
21654 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21656         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21658         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21659         Moved to ...
21660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21661         Here.
21662         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21663         to ...
21664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21665         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21666         to ...
21667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21668         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21669         to ...
21670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21671         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21672         to ...
21673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21674         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21675         to ...
21676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21677         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21678         to ...
21679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21680         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21681         to ...
21682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21683         Here.
21684         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21685         to ...
21686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21687         Here.
21688         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21689         to ...
21690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21691         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21692         Moved to ...
21693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21694         Here.
21695         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21696         to ...
21697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21701         * sysdeps/unix/common/bits/dirent.h: Remove file.
21702         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21704         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21705         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21706         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21707         * sysdeps/unix/bsd/isatty.c: Likewise.
21708         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21709         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21710         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21712 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21714         [BZ #13563]
21715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21716         long double comparison inaccuracies.
21717         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21720 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21722         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21727         [BZ #14049]
21728         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21729         nonzero digits before rounding a hex value.
21730         * stdlib/tst-strtod.c (tests): Add another test.
21732 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21734         * sysdeps/s390/fpu/libm-test-ulps: Update.
21736 2012-05-03  Andreas Jaeger  <aj@suse.de>
21738         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21739         does not get optimized out.
21740         (malloc_opt_barrier): New.
21742 2012-05-03  Andreas Jaeger  <aj@suse.de>
21743             Roland McGrath  <roland@hack.frob.com>
21745         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21746         intermediate file deletion.
21747         (generated): Add .symlist files.
21749 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21751         [BZ #13775]
21752         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21753         Redirect under this condition.
21754         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21755         [__USE_GNU] (__dprintf_chk): Not under this condition.
21756         [__USE_GNU] (__vdprintf_chk): Likewise.
21757         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21758         under this condition.
21759         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21760         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21761         [__USE_XOPEN2K8] (vdprintf): Likewise.
21762         [__USE_GNU] (__dprintf_chk): Not under this condition.
21763         [__USE_GNU] (__vdprintf_chk): Likewise.
21764         [__USE_GNU] (dprintf): Likewise.
21765         [__USE_GNU] (vdprintf): Likewise.
21767 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21769         * elf/Makefile (common-generated): Set this instead of generated for
21770         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21771         $(all-built-dso)-derived lists.
21773 2012-05-03  Andreas Jaeger  <aj@suse.de>
21775         * sysdeps/i386/fpu/libm-test-ulps: Update.
21777         * FAQ: Removed.
21778         * FAQ.in: Likewise.
21779         * scripts/gen-FAQ.pl: Likewise.
21780         * manual/install.texi (Installation): Point to online location of
21781         FAQ.
21782         * Makefile (files-for-dist): Remove FAQ.
21783         (FAQ): Remove.
21785 2012-05-02  Allan McRae  <allan@archlinux.org>
21787         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21788         (LDFLAGS-reldepmod5.so): Likewise.
21789         (LDFLAGS-reldep6mod1.so): Likewise.
21790         (LDFLAGS-reldep6mod4.so): Likewise.
21791         (LDFLAGS-reldep8mod3.so): Likewise.
21792         (LDFLAGS-unload4mod1.so): Likewise.
21793         (LDFLAGS-unload4mod2.so): Likewise.
21794         (LDFLAGS-tst-initorder): Likewise.
21795         (LDFLAGS-tst-initordera2.so): Likewise.
21796         (LDFLAGS-tst-initordera3.so): Likewise.
21797         (LDFLAGS-tst-initordera4.so): Likewise.
21798         (LDFLAGS-tst-initorderb2.so): Likewise.
21799         (LDFLAGS-noload): Likewise.
21800         (LDFLAGS-next): Likewise.
21801         (LDFLAGS-order2mod1.so): Likewise.
21802         (LDFLAGS-order2mod2.so): Likewise.
21803         (LDFLAGS-tst-initorder2): Likewise.
21804         (LDFLAGS-tst-initorder2a.so): Likewise.
21805         (LDFLAGS-tst-initorder2b.so): Likewise.
21806         (LDFLAGS-tst-initorder2c.so): Likewise.
21807         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21809 2012-05-02  David S. Miller  <davem@davemloft.net>
21811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21813 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21815         [BZ #14055]
21816         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21818 2012-05-02  Andreas Jaeger  <aj@suse.de>
21820         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21821         since we manipulate rounding mode.
21822         (CPPFLAGS-test-idouble.c): Likewise.
21823         (CPPFLAGS-test-ifloat.c): Likewise.
21824         (CFLAGS-test-ldouble.c): Likewise.
21825         (CFLAGS-test-double.c): Likewise.
21826         (CFLAGS-test-float.c): Likewise.
21827         (CFLAGS-test-misc.c): Likewise.
21828         (CFLAGS-test-test-fenv.c): Likewise.
21830 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21832         [BZ #2550]
21833         [BZ #2570]
21834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21835         comparisons to determine direction to adjust input.
21837 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21839         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21840         output to the target.
21842         * scripts/localplt.awk: New file.
21843         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21844         (check-localplt-CFLAGS): Variable removed.
21845         ($(all-built-dso:=.jmprel)): New static pattern rule.
21846         (generated): Add those targets.
21847         (localplt-built-dso): New variable.
21848         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21850         * elf/check-localplt.c: File removed.
21852         * scripts/check-execstack.awk: New file.
21853         * elf/Makefile ($(objpfx)check-execstack): Target removed.
21854         (check-execstack-CFLAGS): Variable removed.
21855         ($(objpfx)check-execstack.h): Target removed.
21856         ($(objpfx)execstack-default): New target.
21857         (generated): Add that instead of check-execstack.h.
21858         ($(all-built-dso:=.phdr)): New static pattern rule.
21859         (generated): Add those targets.
21860         * elf/check-execstack.c: File removed.
21862         * scripts/check-textrel.awk: New file.
21863         * elf/Makefile ($(objpfx)check-textrel): Target removed.
21864         (check-textrel-CFLAGS): Variable removed.
21865         (all-built-dso): Use := to define.o
21866         ($(all-built-dso:=.dyn)): New static pattern rule.
21867         (generated): Add those targets.
21868         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21869         * config.make.in (READELF): New substituted variable.
21870         * elf/check-textrel.c: File removed.
21872 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21874         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21875         allow.
21876         * conform/data/ctype.h-data [C99-based standards] (isblank):
21877         Expect function.
21878         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21879         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21880         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21881         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21882         Specify type.  Require positive value.
21883         (EILSEQ): Likewise.
21884         (ERANGE): Likewise.
21885         [ISO || POSIX] (EILSEQ): Do not expect.
21886         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21887         Specify type.  Require positive value.
21888         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21889         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21890         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21891         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21892         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21893         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21894         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21895         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21896         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21897         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21898         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21899         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21900         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21901         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21902         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21903         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21904         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21905         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21906         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21907         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21908         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21909         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21910         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21911         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21912         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21913         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21914         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21915         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21916         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21917         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21918         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21919         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21920         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21921         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21922         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21923         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21924         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21925         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21926         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21927         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21928         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21929         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21930         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21931         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21932         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21933         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21934         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21935         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21936         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21937         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21938         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21939         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21940         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21941         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21942         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21943         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21944         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21945         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21946         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21947         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21948         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21949         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21950         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21951         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21952         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21953         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21954         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21955         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21956         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21957         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21958         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21959         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21960         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21961         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21962         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21963         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21964         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21965         Require >= 2.
21966         (FLT_ROUNDS): Expect as macro, not constant.
21967         (FLT_MANT_DIG): Use macro-int-constant.
21968         (DBL_MANT_DIG): Likewise.
21969         (LDBL_MANT_DIG): Likewise.
21970         (FLT_DIG): Likewise.
21971         (DBL_DIG): Likewise.
21972         (LDBL_DIG): Likewise.
21973         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
21974         (DBL_MIN_EXP): Likewise.
21975         (LDBL_MIN_EXP): Likewise.
21976         (FLT_MAX_EXP): Use macro-int-constant.
21977         (DBL_MAX_EXP): Likewise.
21978         (LDBL_MAX_EXP): Likewise.
21979         (FLT_MAX_10_EXP): Likewise.
21980         (DBL_MAX_10_EXP): Likewise.
21981         (LDBL_MAX_10_EXP): Likewise.
21982         (FLT_MAX): Use macro-constant.
21983         (DBL_MAX): Likewise.
21984         (LDBL_MAX): Likewise.
21985         (FLT_EPSILON): Use macro-constant.  Give upper bound.
21986         (DBL_EPSILON): Likewise.
21987         (LDBL_EPSILON): Likewise.
21988         (FLT_MIN): Likewise.
21989         (DBL_MIN): Likewise.
21990         (LDBL_MIN): Likewise.
21991         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21992         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21993         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21994         [ISO11] (FLT_HAS_SUBNORM): Likewise.
21995         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21996         [ISO11] (DBL_DECIMAL_DIG): Likewise.
21997         [ISO11] (FLT_DECIMAL_DIG): Likewise.
21998         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21999         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22000         [ISO11] (FLT_TRUE_MIN): Likewise.
22001         [ISO11] (LDBL_TRUE_MIN): Likewise.
22002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22003         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22004         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22005         (SCHAR_MAX): Likewise.
22006         (UCHAR_MAX): Likewise.
22007         (CHAR_MIN): Likewise.
22008         (CHAR_MAX): Likewise.
22009         (MB_LEN_MAX): Use macro-int-constant.
22010         (SHRT_MIN): Use macro-int-constant.  Specify type.
22011         (SHRT_MAX): Likewise.
22012         (USHRT_MAX): Likewise.
22013         (INT_MAX): Likewise.
22014         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22015         bound negative.
22016         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22017         bound with "U".
22018         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22019         bound with "L".
22020         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22021         bound negative.  Suffix upper bound with "L".
22022         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22023         bound with "UL".
22024         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22025         Specify type.
22026         [C99-based standards] (LLONG_MAX): Likewise.
22027         [C99-based standards] (ULLONG_MAX): Likewise.
22028         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22029         == 0.
22030         [ISO11] (max_align_t): Require type.
22031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22033         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22034         from $CFLAGS, without defining away __attribute__ calls.
22035         (checknamespace): Use $CFLAGS_namespace.
22037         * conform/conformtest.pl (@keywords): Only include C99 keywords
22038         for standards based on C99 or C11.
22040         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22041         Disable tests.
22042         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22043         UNIX98]: Likewise.
22045         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22046         usability of symbols in #if.
22048         * conform/conformtest.pl: If macro or constant types start
22049         "promoted:", expect the symbol to be of the following type
22050         promoted by the integer promotions.
22052         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22053         in one place.  Also handle "macro-constant".
22055         * conform/conformtest.pl: Only accept expected macro values with
22056         "==".  Parse all "macro" lines in one place.
22057         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22059         * conform/conformtest.pl: Handle braced types on "constant" lines
22060         instead of handling "typed-constant".
22061         * conform/data/signal.h-data: Use "constant" instead of
22062         "typed-constant".
22064         * conform/conformtest.pl: Handle "optional-" at start of lines in
22065         one place rather than duplicating several cases.  Handle each
22066         format of "macro" line with initial "optional-".
22068         * conform/conformtest.pl: Only accept expected constant or
22069         optional-constant values with "==".  Parse all "constant" lines in
22070         one place.  Parse all "optional-constant" lines in one place.
22071         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22072         * conform/data/fmtmsg.h-data: Likewise.
22073         * conform/data/netinet/in.h-data: Likewise.
22074         * conform/data/tar.h-data: Likewise.
22075         * conform/data/limits.h-data: Use "==" form on "constant" and
22076         "optional-constant" lines.
22078         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22079         Use -std=c99 for XOPEN2K.
22080         (@knownproblems): Remove.
22081         (newtoken): Don't check %isknown.
22083         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22084         Do not expect macro.
22085         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22086         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22087         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22088         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22089         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22090         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22091         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22092         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22093         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22094         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22095         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22096         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22097         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22098         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22099         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22100         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22101         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22102         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22103         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22104         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22105         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22106         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22107         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22108         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22109         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22110         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22111         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22112         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22113         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22114         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22115         [XPG3] (acosh): Likewise.
22116         [XPG3] (asinh): Likewise.
22117         [XPG3] (atanh): Likewise.
22118         [XPG3] (cbrt): Likewise.
22119         [XPG3] (expm1): Likewise.
22120         [XPG3] (ilogb): Likewise.
22121         [XPG3] (log1p): Likewise.
22122         [XPG3] (logb): Likewise.
22123         [XPG3] (nextafter): Likewise.
22124         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22125         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22126         [XPG3] (remainder): Likewise.
22127         [XPG3] (rint): Likewise.
22128         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22129         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22130         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22131         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22132         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22133         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22134         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22135         [UNIX98 || XOPEN2K] (scalb): Expect.
22136         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22137         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22138         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22139         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22140         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22141         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22142         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22143         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22144         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22145         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22146         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22147         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22148         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22149         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22150         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22151         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22152         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22153         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22154         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22155         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22156         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22157         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22158         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22159         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22160         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22161         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22162         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22163         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22164         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22165         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22166         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22167         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22168         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22169         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22170         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22171         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22172         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22173         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22174         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22175         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22176         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22177         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22178         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22179         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22180         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22181         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22182         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22183         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22184         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22185         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22186         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22187         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22188         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22189         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22190         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22191         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22192         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22193         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22194         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22195         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22196         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22197         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22198         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22199         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22200         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22201         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22202         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22203         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22204         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22205         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22206         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22207         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22208         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22209         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22210         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22211         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22212         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22213         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22214         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22215         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22216         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22217         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22218         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22219         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22220         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22221         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22222         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22223         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22224         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22225         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22226         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22227         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22228         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22229         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22230         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22231         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22232         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22233         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22234         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22235         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22236         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22237         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22238         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22239         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22240         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22241         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22242         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22243         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22244         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22245         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22246         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22247         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22248         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22249         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22250         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22251         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22252         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22253         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22254         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22255         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22256         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22257         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22258         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22259         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22260         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22261         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22262         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22263         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22264         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22265         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22266         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22267         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22268         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22269         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22270         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22271         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22272         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22274         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22275         _XOPEN_SOURCE_EXTENDED for XPG4.
22277         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22279         * Makeconfig (localtime): Remove variable.
22280         (inst_localtime-file): Likewise.
22282 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22285         Update.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22287         Update.
22288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22289         Update.
22290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22291         Update.
22292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22293         Update.
22294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22295         Update.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22297         Update.
22298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22299         Update.
22300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22301         Update.
22303 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22305         [BZ #2550]
22306         [BZ #2570]
22307         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22308         comparisons to determine direction to adjust input.
22309         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22310         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22311         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22312         Likewise.
22313         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22314         Likewise.
22315         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22316         Likewise.
22317         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22318         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22319         Likewise.
22320         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22321         Likewise.
22322         * math/libm-test.inc (nexttoward_test): Add more tests.
22324 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22326         [BZ #14040]
22327         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22328         in version GLIBC_2.1, not GLIBC_2.0.
22329         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22330         Likewise.
22332 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22334         [BZ #13942]
22335         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22336         (1 - x) * (1 + x).
22337         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22338         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22339         * math/libm-test.inc (acos_test): Add more tests.
22340         (asin_test): Likewise.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344         [BZ #14034]
22345         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22346         of square root.
22347         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22348         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22349         * math/libm-test.inc (acos_test_tonearest): New function.
22350         (acos_test_towardzero): Likewise.
22351         (acos_test_downward): Likewise.
22352         (acos_test_upward): Likewise.
22353         (asin_test_tonearest): Likewise.
22354         (asin_test_towardzero): Likewise.
22355         (asin_test_downward): Likewise.
22356         (asin_test_upward): Likewise.
22357         (main): Call the new functions.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22361         [BZ #13884]
22362         [BZ #13924]
22363         * math/e_exp10.c: Include <float.h>.
22364         (__ieee754_exp10): Handle underflow here rather than multiplying
22365         large negative argument by M_LN10.
22366         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22367         of __ieee754_expf.
22368         * math/e_exp10l.c: Include <float.h>.
22369         (__ieee754_exp10l): Handle underflow here rather than multiplying
22370         large negative argument by M_LN10l.
22371         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22372         spurious overflow exception on underflow.
22374 2012-04-29  Marek Polacek  <polacek@redhat.com>
22376         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22377         (__fortify_function): New macro.
22378         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22379         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22380         __extern_always_inline.
22381         * libio/bits/stdio2.h: Likewise.
22382         * libio/bits/stdio.h: Likewise.
22383         * string/string.h: Likewise.
22384         * string/bits/string3.h: Likewise.
22385         * include/stdio.h: Likewise.
22386         * stdlib/bits/stdlib.h: Likewise.
22387         * stdlib/stdlib.h: Likewise.
22388         * rt/bits/mqueue2.h: Likewise.
22389         * rt/mqueue.h: Likewise.
22390         * posix/bits/unistd.h: Likewise.
22391         * posix/unistd.h: Likewise.
22392         * io/bits/poll2.h: Likewise.
22393         * io/bits/fcntl2.h: Likewise.
22394         * io/fcntl.h: Likewise.
22395         * io/sys/poll.h: Likewise.
22396         * misc/bits/syslog.h: Likewise.
22397         * misc/bits/syslog-ldbl.h: Likewise.
22398         * misc/sys/syslog.h: Likewise.
22399         * socket/bits/socket2.h: Likewise.
22400         * socket/sys/socket.h: Likewise.
22401         * debug/tst-chk1.c: Likewise.
22402         * wcsmbs/bits/wchar2.h: Likewise.
22403         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22404         * wcsmbs/wchar.h: Likewise.
22406 2012-04-29  Andreas Jaeger  <aj@suse.de>
22408         * Makerules (tests): Remove enable-check-abi protection.
22409         (check-abi-warn): Remove.
22410         (check-abi-%): Remove check-abi-warn usage.
22412         * configure.in: Remove check-abi configure option.
22413         * configure: Regenerated.
22414         * config.make.in (enable-check-abi): Remove.
22416 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22418         [BZ #14033]
22419         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22420         double functions to double *_finite functions.
22422         [BZ #13941]
22423         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22424         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22425         LDBL_MIN_EXP.
22426         * stdio-common/Makefile (tests): Add tst-sprintf3.
22427         * stdio-common/tst-sprintf3.c: New file.
22429         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22430         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22432 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22434         * conform/conformtest.pl: Remove duplicate typed-constant
22435         handling.
22437 2012-04-28  David S. Miller  <davem@davemloft.net>
22439         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22440         (check-abi-%): Remove AWK script prerequisite and explicit
22441         abilist directory.
22442         (check-abi): Rewrite to just diff the symlist with the abilist.
22443         (config-tls, config-abi-config): Delete, no longer used.
22444         (update-abi-%): Remove AWK script and explicit abilist directory.
22445         (update-abi): Rewrite to simply compare and conditionally copy the
22446         symlist and the sysdep abilist file.  Remove update-abi-config
22447         checks.
22448         * abilist/ld.abilist: Remove.
22449         * abilist/libBrokenLocale.abilist: Remove.
22450         * abilist/libanl.abilist: Remove.
22451         * abilist/libcrypt.abilist: Remove.
22452         * abilist/libdl.abilist: Remove.
22453         * abilist/librt.abilist: Remove.
22454         * abilist/libthread_db.abilist: Remove.
22455         * abilist/libutil.abilist: Remove.
22456         * scripts/extract-abilist.awk: Remove.
22457         * scripts/merge-abilist.awk: Remove.
22458         * sysdeps/generic/libcidn.abilist: New file.
22459         * sysdeps/generic/libnss_compat.abilist: New file.
22460         * sysdeps/generic/libnss_db.abilist: New file.
22461         * sysdeps/generic/libnss_dns.abilist: New file.
22462         * sysdeps/generic/libnss_files.abilist: New file.
22463         * sysdeps/generic/libnss_hesiod.abilist: New file.
22464         * sysdeps/generic/libnss_nis.abilist: New file.
22465         * sysdeps/generic/libnss_nisplus.abilist: New file.
22466         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22467         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22468         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22469         file.
22470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22471         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22472         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22473         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22474         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22475         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22476         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22477         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22478         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22479         file.
22480         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22481         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22482         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22483         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22484         file.
22485         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22486         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22487         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22488         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22489         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22490         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22491         file.
22492         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22493         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22494         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22495         file.
22496         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22498         New file.
22499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22500         New file.
22501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22502         New file.
22503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22504         New file.
22505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22506         New file.
22507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22508         New file.
22509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22510         New file.
22511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22512         New file.
22513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22514         New file.
22515         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22516         New file.
22517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22518         New file.
22519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22520         New file.
22521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22522         New file.
22523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22524         file.
22525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22526         New file.
22527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22528         New file.
22529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22530         file.
22531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22532         New file.
22533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22534         New file.
22535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22536         file.
22537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22538         New file.
22539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22540         New file.
22541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22542         New file.
22543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22544         New file.
22545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22546         New file.
22547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22548         New file.
22549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22551         file.
22552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22553         New file.
22554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22555         file.
22556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22557         file.
22558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22559         file.
22560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22561         file.
22562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22563         file.
22564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22565         New file.
22566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22567         file.
22568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22569         file.
22570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22571         New file.
22572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22573         file.
22574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22576         file.
22577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22578         New file.
22579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22580         file.
22581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22582         file.
22583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22584         file.
22585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22586         file.
22587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22588         file.
22589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22590         New file.
22591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22592         file.
22593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22594         file.
22595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22596         New file.
22597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22598         file.
22599         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22600         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22601         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22602         file.
22603         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22604         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22605         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22606         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22607         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22609         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22610         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22611         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22612         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22615         file.
22616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22617         New file.
22618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22619         file.
22620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22621         file.
22622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22623         file.
22624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22625         file.
22626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22627         file.
22628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22629         New file.
22630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22631         New file.
22632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22633         file.
22634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22635         New file.
22636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22637         file.
22638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22640         file.
22641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22642         New file.
22643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22644         file.
22645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22646         file.
22647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22648         file.
22649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22650         file.
22651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22652         file.
22653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22654         New file.
22655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22656         New file.
22657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22658         file.
22659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22660         New file.
22661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22662         file.
22664 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22666         * conform/conformtest.pl: Fix typo in handling typed-constant from
22667         allow-header.
22669 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22671         * README: Cut down references to pre-2.6 Linux kernels and
22672         Linuxthreads.  Update lists of configurations in libc and ports
22673         and sort alphabetically.  Say "or newer" with Linux kernel version
22674         requirements.
22676         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22678 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22680         [BZ #887]
22681         * math/libm-test.inc (logb_test_downward): New test to expose
22682         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22683         rounding mode.
22685 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22687         [BZ #14027]
22688         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22689         to be done.
22690         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22691         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22693 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22695         * sysdeps/unix/i386/brk.S: Remove file.
22696         * sysdeps/unix/i386/dl-brk.S: Likewise.
22697         * sysdeps/unix/i386/pipe.S: Likewise.
22698         * sysdeps/unix/i386/sigreturn.S: Likewise.
22699         * sysdeps/unix/i386/syscall.S: Likewise.
22700         * sysdeps/unix/i386/vfork.S: Likewise.
22701         * sysdeps/unix/i386/wait.S: Likewise.
22703         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22704         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22706         * configure.in (arm*-none*): Do not allow without
22707         --enable-hacker-mode.
22708         (netbsd*): Remove case setting base_os.
22709         (386bsd*): Likewise.
22710         (freebsd*): Likewise.
22711         (bsdi*): Likewise.
22712         (osf*): Likewise.
22713         (sunos*): Likewise.
22714         (ultrix*): Likewise.
22715         (newsos*): Likewise.
22716         (dynix*): Likewise.
22717         (*bsd*): Likewise.
22718         (sysv*): Likewise.
22719         (isc*): Likewise.
22720         (esix*): Likewise.
22721         (sco*): Likewise.
22722         (minix*): Likewise.
22723         (irix4*): Likewise.
22724         (irix6*): Likewise.
22725         (solaris[2-9]*): Likewise.
22726         (none): Likewise.
22727         * configure: Regenerated.
22729 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         [BZ #11521]
22732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22733         overflow or cancellation in calculating denominator.
22734         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22735         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22736         down expression to avoid unexpected rounding in newer GCCs.
22737         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22739 2012-04-26  David S. Miller  <davem@davemloft.net>
22741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22742         long-double compat symbols.
22743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22757 2012-04-25  David S. Miller  <davem@davemloft.net>
22759         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22760         HWCAP_* values only after the memory barriers have been defined.
22761         (atomic_full_barrier): Define.
22762         (atomic_read_barrier): Define.
22763         (atomic_write_barrier): Define.
22765 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22767         * shlib-versions: Add libgcc_s version information.
22768         * sysdeps/generic/libgcc_s.h: Remove.
22769         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22770         libgcc_s.h.
22771         * sysdeps/gnu/unwind-resume.c: Likewise.
22772         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22774 2012-04-25  David S. Miller  <davem@davemloft.net>
22776         * sysdeps/unix/sparc/brk.S: Delete.
22777         * sysdeps/unix/sparc/dl-brk.S: Delete.
22778         * sysdeps/unix/sparc/pipe.S: Delete.
22779         * sysdeps/unix/sparc/sysdep.S: Delete.
22780         * sysdeps/unix/sparc/sysdep.h: Delete.
22781         * sysdeps/unix/sparc/vfork.S: Delete.
22782         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22783         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22784         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22785         ret_ERRVAL, r0, r1, MOVE): Define.
22786         (JUMPTARGET): Remove.
22787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22788         sysdeps/unix/sparc/sysdep.h
22789         (ENTRY, END): Remove.
22790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22792 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22794         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22795         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22796         -DIS_IN_build.
22798         * timezone/README: Update upstream location and email address for
22799         tzcode and tzdata.
22800         * timezone/zdump.c: Update from tzcode 2012b.
22801         * timezone/zic.c: Likewise.
22803         * configure.in (libc_cv_as_needed): Remove test.
22804         * configure: Regenerated.
22805         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22806         conditional definition.
22807         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22808         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22809         * config.make.in (have-as-needed): Remove variable.
22811 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22812             Paul Pluzhnikov  <ppluzhnikov@google.com>
22814         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22815         strings correctly.
22817 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22819         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22820         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22821         * sysdeps/sh/strlen.S: Likewise.
22823 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22825         * sysdeps/unix/fork.S: Remove file.
22826         * sysdeps/unix/i386/fork.S: Likewise.
22827         * sysdeps/unix/sparc/fork.S: Likewise.
22829         * sysdeps/unix/system.c: Remove file.
22830         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22832         * sysdeps/unix/getegid.S: Remove file.
22833         * sysdeps/unix/geteuid.S: Likewise.
22835 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22837         * scripts/check-localplt.awk: New file.
22838         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22839         of diff.
22840         * scripts/data/localplt-generic.data: Add a comment.
22842         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22843         NODE when __dir_mkfile failed.
22844         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22845         Reported by Ludovic Courtès <ludo@gnu.org>.
22847 2012-04-24  Andreas Jaeger  <aj@suse.de>
22849         * Makerules (common-clean): Also remove gen-as-const-headers
22850         files.
22852 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22854         * Makerules (native-compile): Do not change working directory for
22855         build.  Use $(OUTPUT_OPTION) in command.
22856         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22858 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860         [BZ #13886]
22861         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22862         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22863         * math/libm-test.inc (floor_test): Add more tests.
22864         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22866 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22868         * sysdeps/unix/getdents.c: Remove file.
22869         * sysdeps/unix/sysv/getdents.c: Likewise.
22870         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22872         * sysdeps/unix/syscalls.list (madvise): Add syscall from
22873         sysdeps/unix/mman/syscalls.list.
22874         (mmap): Likewise.
22875         (mprotect): Likewise.
22876         (msync): Likewise.
22877         (munmap): Likewise.
22878         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22879         * sysdeps/unix/mman/syscalls.list: Remove.
22880         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22882         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22883         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22884         * configure: Regenerated.
22885         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22886         $(libgcc_s_suffix).
22887         * config.make.in (libgcc_s_suffix): Remove variable.
22889 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
22891         * sysdeps/unix/sysv/gethostname.c: Move to ...
22892         * sysdeps/posix/gethostname.c: ... here.
22894         * sysdeps/unix/execve.S: Remove file.
22896         * sysdeps/unix/_exit.S: Remove file.
22898 2012-04-23  Andreas Jaeger  <aj@suse.de>
22900         [BZ #13739]
22901         * manual/Makefile: Remove make dist support, there's no
22902         need for a stand-alone documentation tar ball.
22903         (TEXI2DVI): Define always, it's not in Makeconfig.
22904         (dist): Removed.
22905         (tar-it): Removed.
22906         (edition): Removed.
22907         (glibc-doc-$(edition).tar): Removed
22908         (%.Z): Removed.
22909         (%.gz): Removed.
22910         (%.uu): Removed.
22911         (ETAGS): Remove, it's in Makeconfig.
22912         (move-if-change): Remove, it's in Makeconfig.
22914 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
22916         [BZ #13970]
22917         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22918         (strtod, strtof, strtold, strtol, strtoul, strtoq)
22919         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22920         (strtod_l, strtof_l, strtold_l): Remove __wur.
22921         It is not necessarily an error to ignore strtol's return value.
22922         One can reliably look at the stored endptr to decide whether
22923         the number had valid syntax.
22925 2012-04-21  Andreas Jaeger  <aj@suse.de>
22927         [BZ #13739]
22928         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22930 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
22932         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22933         * sysdeps/unix/sysv/Versions: Remove file.
22935 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
22937         [BZ #13927]
22938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22940 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
22942         [BZ #7064]
22943         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22944         version from __vm86.
22946 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
22948         * sysdeps/unix/common/lxstat.c: Remove file.
22949         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22951         * sysdeps/unix/sysv/Makefile: Remove file.
22953         * sysdeps/unix/sysv/direct.h: Remove file.
22955         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22956         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22957         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22958         * sysdeps/unix/sysv/bits/signum.h: Likewise.
22959         * sysdeps/unix/sysv/bits/stat.h: Likewise.
22960         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22961         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22963         * sysdeps/unix/sysv/setrlimit.c: Remove file.
22965         * sysdeps/unix/xmknod.c: Remove file.
22966         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22968         * sysdeps/unix/sysv/settimeofday.c: Remove file.
22970         * sysdeps/unix/sysv/i386/time.S: Remove file.
22972         * sysdeps/unix/fxstat.c: Remove file.
22973         * sysdeps/unix/xstat.c: Likewise.
22974         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22976         * sysdeps/unix/sysv/sigaction.c: Remove file.
22978         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22979         (sysdep_headers): Remove variable.
22980         [termio.h not in sysdep_headers] (generated): Likewise.
22981         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22982         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22983         * sysdeps/unix/sysv/tcdrain.c: Likewise.
22984         * sysdeps/unix/sysv/tcflow.c: Likewise.
22985         * sysdeps/unix/sysv/tcflush.c: Likewise.
22986         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22987         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22988         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22989         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22990         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22992         * sysdeps/unix/siglist.c: Remove file.
22994         * sysdeps/unix/getppid.S: Remove file.
22996         * sysdeps/unix/mkdir.c: Remove file.
22997         * sysdeps/unix/rmdir.c: Likewise.
22999 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23001         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23002         ERR_MAX value.
23003         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23004         errlist-compat value.
23006 2012-04-18  David S. Miller  <davem@davemloft.net>
23008         * sysdeps/generic/memcopy.h (reg_char): Delete.
23009         * debug/strcat_chk.c: Use char, not reg_char.
23010         * debug/strcpy_chk.c: Likewise.
23011         * debug/strncat_chk.c: Likewise.
23012         * debug/strncpy_chk.c: Likewise.
23013         * string/memchr.c: Likewise.
23014         * string/memrchr.c: Likewise.
23015         * string/rawmemchr.c: Likewise.
23016         * string/strcat.c: Likewise.
23017         * string/strchr.c: Likewise.
23018         * string/strchrnul.c: Likewise.
23019         * string/strcmp.c: Likewise.
23020         * string/strcpy.c: Likewise.
23021         * string/strncat.c: Likewise.
23022         * string/strncmp.c: Likewise.
23023         * string/strncpy.c: Likewise.
23025 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23027         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23028         __builtin_memcopy is called when src and dest ranges are known to not
23029         overlap.
23031 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23034         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23035         fwd_align_merge macro call.
23036         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23037         bwd_align_merge macro call.
23038         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23040 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23042         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23043         bwd_align_merge macros.
23044         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23045         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23046         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23048 2012-04-18  David S. Miller  <davem@davemloft.net>
23050         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23052 2012-04-18  Andreas Jaeger  <aj@suse.de>
23054         [BZ# 6794]
23055         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23056         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23057         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23059         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23060         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23061         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23063         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23064         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23065         Adjust for changed ldbl-128 files.
23067         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23068         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23069         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23071 2012-04-17  David S. Miller  <davem@davemloft.net>
23073         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23075 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23077         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23078         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23079         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23080         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23081         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23082         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23084 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23086         [BZ #6794]
23087         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23088         * math/libm-test.inc: Add ilogb errno and exception tests.
23089         * math/w_ilogb.c: New file: ilogb wrapper.
23090         * math/w_ilogbf.c: New file: ilogbf wrapper.
23091         * math/w_ilogbl.c: New file: ilogbl wrapper.
23092         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23093         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23094         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23095         exception being thrown with 0.0 as argument.
23096         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23097         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23098         exception being thrown with 0.0 as argument.
23099         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23100         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23101         exception being thrown with 0.0 as argument.
23102         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23103         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23104         exception being thrown with 0.0 as argument.
23105         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23106         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23107         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23108         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23109         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23110         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23111         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23112         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23113         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23115 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23117         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23118         with altivec.
23120 2012-04-16  Marek Polacek  <polacek@redhat.com>
23122         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23124 2012-04-16  Marek Polacek  <polacek@redhat.com>
23126         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23127         operands of fdivp instruction.
23129 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23131         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23132         * elf/tst-auditmod3b.c: Likewise.
23133         * elf/tst-auditmod4b.c: Likewise.
23134         * elf/tst-auditmod5b.c: Likewise.
23135         * elf/tst-auditmod6b.c: Likewise.
23136         * elf/tst-auditmod6c.c: Likewise.
23137         * elf/tst-auditmod7b.c: Likewise.
23138         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23139         * sysdeps/x86_64/preconfigure.in: Likewise.
23140         * sysdeps/x86_64/preconfigure: Regenerated.
23142 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23144         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23145         __ILP32__.
23147 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23150         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23152 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23154         [BZ #13973]
23155         * locale/iso-639.def: Fix gl language name. Spotted by
23156         Yaron Shahrabani.
23158 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23160         [BZ #2074]
23161         * libio/libio.h (__io_write_fn): Update comment.
23163 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23165         [BZ #2074]
23166         * stdio.texi (Hook Functions): The user provided writer function
23167         is not allowed to return -1.
23169 2012-04-11  David S. Miller  <davem@davemloft.net>
23171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23173 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23175         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23176         Add a leading slash to rtkaio.
23178 2012-04-11  Jim Meyering  <meyering@redhat.com>
23180         [BZ #11959]
23181         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23182         It is not necessarily an error to ignore fwrite's return
23183         value.  One can reliably use ferror to test for errors after
23184         the fact.
23186 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23188         * bits/types.h (__snseconds_t): New type.
23189         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23191         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23193         (__SNSECONDS_T_TYPE): Likewise.
23194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23195         (__SNSECONDS_T_TYPE): Likewise.
23196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23197         (__SNSECONDS_T_TYPE): Likewise.
23199 2012-04-10  Andreas Jaeger  <aj@suse.de>
23201         [BZ #2636]
23202         * manual/time.texi (Processor Time): Return type of times is
23203         elapsed real time since an arbitrary point in the past.
23204         (CPU Time): Move CLK_TCK from here...
23205         (Processor Time): ...to here.  Correct description.
23206         * manual/conf.texi (Constants for Sysconf): Correct description of
23207         _SC_CLK_TCK.
23209 2012-04-10  David S. Miller  <davem@davemloft.net>
23211         [BZ #13967]
23212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23213         where the is a gap between DT_REL(A) and DT_JMPREL.
23215 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23217         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23218         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23219         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23221 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23223         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23224         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23225         (dl_main): Handle --inhibit-cache.
23226         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23227         _dl_inhibit_cache.
23228         * elf/dl-load.c (_dl_map_object): Use it.
23229         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23231 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23233         [BZ #13872]
23234         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23235         (__ieee754_powl): Saturate large exponents rather than testing for
23236         overflow of y*log2(x).
23237         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23238         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23239         exceptions.
23241         [BZ #11521]
23242         * math/s_ctan.c: Include <float.h>.
23243         (__ctan): Avoid internal overflow or cancellation in calculating
23244         denominator.
23245         * math/s_ctanf.c: Likewise.
23246         * math/s_ctanl.c: Likewise.
23247         * math/s_ctanh.c: Likewise.
23248         * math/s_ctanhf.c: Likewise.
23249         * math/s_ctanhl.c: Likewise.
23250         * math/libm-test.inc (ctan_test): Add more tests.
23251         (ctanh_test): Likewise.
23252         * sysdeps/i386/fpu/libm-test-ulps: Update.
23253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23255 2012-04-09  Andreas Jaeger  <aj@suse.de>
23257         [BZ #6894]
23258         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23259         is an optional BSD extension.
23261         [BZ #10254]
23262         * manual/stdio.texi (Opening Streams): Document additional fopen
23263         parameters.
23265 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23267         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23268         %eax without telling the compiler.
23270 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23272         [BZ # 13963]
23273         * manual/install.texi: Use sourceware.org.
23275 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23277         [BZ #13873]
23278         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23279         (__ieee754_pow): Generate overflow and underflow using huge*huge
23280         and tiny*tiny rather than just returning constant infinity or zero
23281         for large exponents.
23282         * math/libm-test.inc (pow_test): Require overflow exceptions for
23283         applicable cases of large exponents.
23285         [BZ #706]
23286         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23287         (__ieee754_pow): Use iterative multiplication algorithm only for
23288         integer exponents with absolute value below 1024.  Check for odd
23289         integer exponents when using algorithm for real exponents.
23290         * math/libm-test.inc (pow_test): Add more tests.
23291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23293 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23295         [BZ #13705]
23296         * math/libm-test.inc (exp_test): Do not allow overflow exception
23297         on underflow test.
23299 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23301         [BZ #13705]
23302         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23303         instead of __kernel_standard_f.
23305 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23307         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23308         * sysdeps/x86_64/memset_chk.S: Likewise.
23310 2012-04-08  Andreas Jaeger  <aj@suse.de>
23312         [BZ #10153]
23313         * manual/startup.texi (Environment Access): Describe return value
23314         for putenv and setenv.
23316         [BZ #6895]
23317         * manual/filesys.texi (Directory Entries): Add description for
23318         DT_LNK.
23320         [BZ #6890]
23321         * manual/filesys.texi (Directory Entries): Clarify that it's file
23322         system not operating system in the description of DT_UNKNOWN.
23324         [BZ #6578]
23325         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23327 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23329         [BZ #6649]
23330         * manual/llio.texi (Opening and Closing Files): Add cross
23331         reference to explain mode argument.
23333 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23335         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23336         * sysdeps/x86_64/memset_chk.S: Likewise.
23338 2012-04-07  David S. Miller  <davem@davemloft.net>
23340         * elf/elf.h (R_SPARC_WDISP10): Define.
23341         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23342         R_SPARC_SIZE32.
23343         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23344         R_SPARC_SIZE64 and R_SPARC_H34.
23346 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23348         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23349         conditions and remove no longer applicable assertion.
23351 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23353         * bits/byteswap.h: Include <features.h>.
23354         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23355         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23357 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23359         * bits/byteswap.h (__bswap_16): Removed.
23360         Include <bits/byteswap-16.h> to get __bswap_16.
23361         * sysdeps/i386/bits/byteswap.h: Likewise.
23362         * sysdeps/s390/bits/byteswap.h: Likewise.
23363         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23364         * bits/byteswap-16.h: New file.
23365         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23366         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23367         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23368         * string/Makefile (headers): Add bits/byteswap-16.h.
23370 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23372         [BZ #13895]
23373         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23374         extra indirection.
23375         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23376         * nss/tst-nss-static.c: New.
23378 2012-04-06  Robert Millan  <rmh@gnu.org>
23380         [BZ #6486]
23381         * manual/llio.texi (File Position Primitive): lseek
23382         refers to WHENCE when it really means OFFSET.
23384 2012-04-06  Andreas Jaeger  <aj@suse.de>
23386         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23387         strncmp declarations.
23389         * abilist/libc.abilist: Add __poll and __ppoll.
23391 2012-04-05  David S. Miller  <davem@davemloft.net>
23393         * scripts/check-local-headers.sh: Accept a host triplet in the
23394         path matched by the exclude regexp.
23396         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23397         definition.
23398         * sysdeps/powerpc/powerpc32/dl-machine.h
23399         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23400         * sysdeps/s390/s390-32/dl-machine.h
23401         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23402         * sysdeps/sparc/sparc32/dl-machine.h
23403         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23404         * sysdeps/sparc/sparc64/dl-machine.h
23405         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23407         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23408         lazy binding.
23409         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23410         undefined symbol errors.
23412         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23413         DT_NEEDED entries.
23415 2012-04-05  Michael Matz  <matz@suse.de>
23417         [BZ #13592]
23418         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23420 2012-04-05  Andreas Jaeger  <aj@suse.de>
23422         [BZ #13908]
23423         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23424         comment.
23426 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23428         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23429         which ROUND is no valid rounding mode.
23431 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23433         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23434         read again.
23435         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23437 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23439         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23440         an exception using FPU order intentionally.
23442 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23444         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23445         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23446         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23447         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23449 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23451         [BZ #12340]
23452         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23453         EINVAL when BUFLEN is too smal.
23455 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23457         [BZ #13553]
23458         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23459         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23461 2012-04-03  Andreas Jaeger  <aj@suse.de>
23463         [BZ #13938]
23464         * manual/setjmp.texi (System V contexts): Fix sentence.
23466         [BZ #13926]
23467         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23468         New macro for this case.
23469         [!__GNUC__] (__bswap_64): New inline function for this case.
23470         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23471         * bits/byteswap.h: Likewise.
23472         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23473         ull, guard with __GLIBC_HAVE_LONG_LONG.
23475         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23476         __GLIBC_HAVE_LONG_LONG.
23478         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23479         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23481 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23483         [BZ #13691]
23484         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23485         inptr and inend, rather than using last_ch.
23487 2012-04-02  David S. Miller  <davem@davemloft.net>
23489         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23490         * stdio-common/printf-parse.h (read_int): Change return type to
23491         'int', return -1 on INT_MAX overflow.
23492         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23493         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23494         overflows INT_MAX.  Check for overflow of in-format-string precision
23495         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23496         SIZE_MAX not INT_MAX for integer overflow test.
23497         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23498         skip the construct in the format string but do not record anything.
23499         * stdio-common/bug22.c: Adjust to test both width/prevision
23500         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23501         explicitly for proper errno values.
23503 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23505         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23506         CHAR_MAX.
23507         * string/test-strcmp.c [! WIDE]: Likewise.
23508         * time/tst-mktime2.c: Likewise for INT_MAX.
23509         * string/test-string.h: #include <sys/param.h> for MIN.
23511         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23512         * sysdeps/i386/init-first.c (init): Likewise.
23513         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23514         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23515         * sysdeps/sh/init-first.c (init): Likewise.
23517 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23519         * po/ru.po: Update from translation team.
23520         * po/vi.po: Likewise.
23522 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23524         * resolv/nss_dns/dns-host.c: Merge copyright years.
23526 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23529         Optimize memcpy with prefetch if
23530         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23531         src, dst pointers have unequal 16 byte alignments.
23533 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23535         [BZ #13928]
23536         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23537         from a CNAME entry and return the minimum ttl for the query.
23538         (gaih_getanswer_slice): Likewise.
23540 2012-03-30  Jeff Law  <law@redhat.com>
23542         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23543         due to long keys.
23544         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23545         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23547         * resolv/nss_dns/dns-host.c: Update copyright year.
23549 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23551         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23552         requests to save a system call.  Fix check that all bytes are sent.
23554         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23555         comments for sendmmsg.
23557 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23559         [BZ #13691]
23560         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23561         with only 1 character between 0x0041 and 0x01b0.
23562         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23563         * wcsmbs/tst-mbsnrtowcs.c: New file.
23565 2012-03-29  David S. Miller  <davem@davemloft.net>
23567         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23568         small copies by hand.
23570 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23572         [BZ #13761]
23573         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23574         _nss_compat_initgroups_dyn): Fall back to malloc/free
23575         for large group memberships.
23577 2012-03-28  David S. Miller  <davem@davemloft.net>
23579         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23580         that branches into memcpy.
23581         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23582         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23583         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23584         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23585         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23586         bits.
23587         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23588         implementation too.
23589         * sysdeps/sparc/mempcpy.S: New file.
23591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23592         the IFUNC routine in the libc case.
23593         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23595         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23596         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23597         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23598         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23599         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23600         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23601         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23602         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23604         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23605         loop to 256 bytes instead of 64 bytes and fix test signedness.
23607         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23608         * sysdeps/sparc/sparc32/Makefile: rather than here...
23609         * sysdeps/sparc/sparc64/Makefile: and here.
23611 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23613         * malloc/mallocbug.c: Avoid warnings about unused variables.
23615 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23617         [BZ #13760]
23618         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23619         in the right place. Discard and retry query if response is
23620         larger than input buffer size.
23622 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23624         [BZ #369]
23625         [BZ #2678]
23626         [BZ #3866]
23627         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23628         x for large integer exponent.
23629         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23630         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23631         sign of result as needed afterwards.
23632         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23633         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23634         result for underflowing pow the same as for overflow.
23635         (__kernel_standard_l): Handle powl overflow and underflow here
23636         rather than calling __kernel_standard.
23637         * math/libm-test.inc (pow_test): Add more tests.
23639         [BZ #3868]
23640         [BZ #13879]
23641         [BZ #13910]
23642         [BZ #13911]
23643         [BZ #13912]
23644         [BZ #13913]
23645         [BZ #13915]
23646         [BZ #13916]
23647         [BZ #13917]
23648         [BZ #13918]
23649         [BZ #13919]
23650         [BZ #13920]
23651         [BZ #13921]
23652         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23653         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23654         (__kernel_standard_l): New function.
23655         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23656         __kernel_standard.
23657         * math/w_acosl.c (__acosl): Likewise.
23658         * math/w_asinl.c (__asinl): Likewise.
23659         * math/w_atan2l.c (__atan2l): Likewise.
23660         * math/w_atanhl.c (__atanhl): Likewise.
23661         * math/w_coshl.c (__coshl): Likewise.
23662         * math/w_exp10l.c (__exp10l): Likewise.
23663         * math/w_exp2l.c (__exp2l): Likewise.
23664         * math/w_fmodl.c (__fmodl): Likewise.
23665         * math/w_hypotl.c (__hypotl): Likewise.
23666         * math/w_j0l.c (__j0l, __y0l): Likewise.
23667         * math/w_j1l.c (__j1l, __y1l): Likewise.
23668         * math/w_jnl.c (__jnl, __ynl): Likewise.
23669         * math/w_lgammal.c (__lgammal): Likewise.
23670         * math/w_log10l.c (__log10l): Likewise.
23671         * math/w_log2l.c (__log2l): Likewise.
23672         * math/w_logl.c (__logl): Likewise.
23673         * math/w_powl.c (__powl): Likewise.
23674         * math/w_remainderl.c (__remainderl): Likewise.
23675         * math/w_scalbl.c (sysv_scalbl): Likewise.
23676         * math/w_sinhl.c (__sinhl): Likewise.
23677         * math/w_sqrtl.c (__sqrtl): Likewise.
23678         * math/w_tgammal.c (__tgammal): Likewise.
23679         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23680         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23681         * math/libm-test.inc (acos_test): Add more tests.
23682         (acosh_test): Likewise.
23683         (asin_test): Likewise.
23684         (atanh_test): Likewise.
23685         (exp_test): Likewise.
23686         (exp10_test): Likewise.
23687         (exp2_test): Likewise.
23688         (expm1_test): Likewise.
23689         (lgamma_test): Likewise.
23690         (log_test): Likewise.
23691         (log10_test): Likewise.
23692         (log1p_test): Likewise.
23693         (log2_test): Likewise.
23694         (pow_test): Do not allow some spurious overflow exceptions.
23695         (sqrt_test): Add more tests.
23696         (tgamma_test): Likewise.
23697         (y0_test): Likewise.
23698         (y1_test): Likewise.
23699         (yn_test): Likewise.
23701 2012-03-27  Anton Blanchard  <anton@samba.org>
23703         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23704         MAP_HUGETLB.
23705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23706         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23709 2012-03-27  David S. Miller  <davem@davemloft.net>
23711         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23713         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23714         have-as-vis3 check.
23716 2012-03-27  Andreas Jaeger  <aj@suse.de>
23718         * sysdeps/x86_64/elf/configure.in: Moved to ...
23719         * sysdeps/x86_64/configure.in: ... here.
23720         * sysdeps/x86_64/elf/start.S: Moved to ...
23721         * sysdeps/x86_64/start.S: ... here.
23722         * sysdeps/x86_64/elf/configure: Delete.
23724         * sysdeps/x86_64/configure.in: Merge contents from
23725         sysdeps/i386/configure.in (without i686 check).
23727         * sysdeps/i386/elf/Versions: Merge into ...
23728         * sysdeps/i386/Versions: ... this.
23729         * sysdeps/i386/elf/Versions: Delete file.
23730         * sysdeps/i386/elf/start.S: Moved to ...
23731         * sysdeps/i386/start.S: ...here.
23732         * sysdeps/i386/elf/configure.in: Merge into...
23733         * sysdeps/i386/configure.in: ...here.
23734         * sysdeps/i386/elf/configure.in: Delete file.
23735         * sysdeps/i386/elf/configure: Delete file.
23737         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23738         * debug/backtracesyms.c: ... here.
23739         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23740         * debug/backtracesymsfd.c: ... here.
23741         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23742         * sysdeps/generic/ifunc-sel.h: ... here.
23744         * sysdeps/unix/i386/start.c: Delete file.
23745         * sysdeps/unix/sparc/start.c: Delete file.
23746         * sysdeps/unix/start.c: Delete file.
23748         * sysdeps/sh/elf/configure.in: Moved to ...
23749         * sysdeps/sh/configure.in: ... here.
23750         * sysdeps/sh/elf/start.S: Moved to ...
23751         * sysdeps/sh/start.S: ... here.
23752         * sysdeps/sh/elf/configure: Delete file.
23754         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23755         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23756         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23757         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23758         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23759         * sysdeps/powerpc/powerpc64/start.S: here.
23760         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23761         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23762         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23763         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23764         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23766         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23767         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23768         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23769         * sysdeps/powerpc/powerpc32/start.S: ... here.
23770         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23771         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23772         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23774         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23775         * sysdeps/powerpc/ifunc-sel.h: ... here.
23776         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23777         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23779         * sysdeps/sparc/elf/configure.in: Moved to ...
23780         * sysdeps/sparc/configure.in: ... here.
23781         * sysdeps/sparc/elf/configure: Delete file.
23782         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23783         * sysdeps/sparc/sparc32/start.S: ... here.
23784         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23785         * sysdeps/sparc/sparc64/start.S: ... here.
23786         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23787         * sysdeps/sparc/sparc32/Makefile: ... this.
23788         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23789         * sysdeps/sparc/sparc64/Makefile: ... this.
23791         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23792         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23793         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23794         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23795         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23796         * sysdeps/s390/s390-32/setjmp.S: ... here.
23797         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23798         * sysdeps/s390/s390-32/configure.in: ... here.
23799         * sysdeps/s390/s390-32/elf/configure: Delete file.
23800         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23801         * sysdeps/s390/s390-32/start.S: ... here.
23803         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23804         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23805         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23806         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23807         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23808         * sysdeps/s390/s390-64/setjmp.S: ... here.
23809         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23810         * sysdeps/s390/s390-64/configure.in: ... here
23811         * sysdeps/s390/s390-64/elf/configure: Delete file.
23812         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23813         * sysdeps/s390/s390-64/start.S: ... here.
23814         * sysdeps/s390/s390-64/elf/configure: Delete.
23816         * configure.in: Remove support for elf directories in sysdeps.
23818         * configure: Regenerated.
23819         * sysdeps/i386/configure: Regenerated.
23820         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23821         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23822         * sysdeps/s390/s390-32/configure: Regenerated.
23823         * sysdeps/s390/s390-64/configure: Regenerated.
23824         * sysdeps/sh/configure: Regenerated.
23825         * sysdeps/sparc/configure: Regenerated.
23826         * sysdeps/x86_64/configure: Regenerated.
23828 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23833         denormal result into account.
23835 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23837         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23838         Reported by Allan McRae <allan@archlinux.org>.
23840 2012-03-23  Jeff Law  <law@redhat.com>
23842         * nss/getnssent.c (__nss_getent): Fix typo.
23844 2012-03-23  David S. Miller  <davem@davemloft.net>
23846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23848 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23850         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23851         to pad to uint64_t for each field.
23852         (dl_tls_index): Replace unsigned long with uint64_t.
23854 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
23855         Paul Pluzhnikov  <ppluzhnikov@google.com>
23857         [BZ #6528]
23858         * grp/Makefile (otherlibs): Don't set it.
23859         * inet/Makefile (otherlibs): Likewise.
23860         * login/Makefile (otherlibs): Likewise.
23861         * nscd/Makefile (otherlibs): Likewise.
23862         * posix/Makefile (otherlibs): Likewise.
23863         * pwd/Makefile (otherlibs): Likewise.
23864         * rt/Makefile (otherlibs): Likewise.
23865         * sunrpc/Makefile (otherlibs): Likewise.
23866         * nss/Makefile (otherlibs): Likewise.
23867         Add libnss_files to routines and static-only-routines.
23868         ($(objpfx)getent): Remove rule.
23869         * resolv/Makefile: Add libnss_dns and libresolv to routines and
23870         static-only-routines.
23872 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23874         [BZ #13892]
23875         * math/s_cexp.c: Include <float.h>.
23876         (__cexp): Handle exp result overflowing not necessarily
23877         overflowing both real and imaginary parts of result.
23878         * math/s_cexpf.c: Likewise.
23879         * math/s_cexpl.c: Likewise.
23880         * math/libm-test.inc (cexp_test): Add more tests.
23881         * sysdeps/i386/fpu/libm-test-ulps: Update.
23882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23886         * include/link.h (ELFW): New macro.
23887         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23888         Replace ELF64_R_TYPE with ELFW(R_TYPE).
23890 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23892         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23893         with uint64_t.
23895 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23897         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23898         declaration.
23899         (struct La_x32_retval): Likewise.
23901 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23903         * sysdeps/x86_64/preconfigure.in: New file.
23904         * sysdeps/x86_64/preconfigure: New generated file.
23906 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
23908         [BZ #13824]
23909         * math/e_exp2l.c: Include <float.h>.
23910         (__ieee754_exp2l): Handle overflow and underflow cases
23911         separately.  Only pass fractional part of argument to
23912         __ieee754_expl.
23913         * math/libm-test.inc (exp2_test): Add more tests.
23915         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23916         negating x to take absolute value.
23917         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23918         Likewise.
23919         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23920         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23921         Likewise.
23922         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23923         computing low part if x was negated.
23924         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23926 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23928         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23929         la_x32_gnu_pltexit.
23930         (pltexit): Cast int_retval to ptrdiff_t.
23931         * elf/tst-auditmod3b.c: Likewise.
23932         * elf/tst-auditmod4b.c: Likewise.
23933         * elf/tst-auditmod5b.c: Likewise.
23934         * elf/tst-auditmod6b.c: Likewise.
23935         * elf/tst-auditmod6c.c: Likewise.
23936         * elf/tst-auditmod7b.c: Likewise.
23938         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23939         and x32_gnu_pltexit.
23941         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23942         __ELF_NATIVE_CLASS.
23943         (La_x32_regs): New macro.
23944         (La_x32_retval): Likewise.
23945         (la_x32_gnu_pltenter): New function prototype.
23946         (la_x32_gnu_pltexit): Likewise.
23948 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
23950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23951         exponent.
23953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23955         * configure.in (libc_cv_cc_nofma): Check for option to disable
23956         generation of FMA instructions.
23957         * configure: Regenerate.
23958         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23959         * sysdeps/ieee754/dbl-64/Makefile: New file.
23960         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23961         Remove brandred-fma4.
23962         (CFLAGS-brandred-fma4.c): Remove.
23963         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23964         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23965         define.
23966         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23967         define.
23969 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23971         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23972         LLONG_MAX != LONG_MAX.
23973         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23974         (_fitoa_word): Likewise.
23975         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23976         LLONG_MAX != LONG_MAX.
23977         * stdio-common/_itowa.h: Include <_itoa.h>.
23978         (_itowa_word): Use _ITOA_WORD_TYPE on value.
23979         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
23980         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
23981         only if not defined.
23982         (_ITOA_WORD_TYPE): Likewise.
23983         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23984         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23986 2012-03-21  David S. Miller  <davem@davemloft.net>
23988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23992         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23993         of x86_64 when setting libc_cv_slibdir, libdir and
23994         libc_cv_localedir.
23995         * sysdeps/unix/sysv/linux/configure: Regenerated.
23997 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23999         * manual/lang.texi (Old Varargs): Remove section.
24000         (How Variadic): Update menu.
24001         (va_start): Do not mention varargs.h.
24003 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24004             Joseph Myers  <joseph@codesourcery.com>
24006         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24007         link test.
24008         * configure: Regenerated.
24010 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24012         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24013         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24014         conformtest.pl
24016 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24018         * NOTES: Remove.
24019         * Makefile (files-for-dist): Remove NOTES.
24020         (NOTES): Remove rule.
24021         * README: Don't refer to NOTES.
24022         * manual/creature.texi: Don't include macros.texi.
24023         * manual/intro.texi (creature.texi): Remove comment referring to
24024         NOTES.
24026         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24027         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24028         * configure: Regenerated.
24029         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24030         LIBC_TRY_CC_OPTION.
24031         (libc_cv_as_i686): Likewise.
24032         (libc_cv_cc_avx): Likewise.
24033         (libc_cv_cc_sse2avx): Likewise.
24034         (libc_cv_cc_fma4): Likewise.
24035         (libc_cv_cc_novzeroupper): Likewise.
24036         * sysdeps/i386/configure: Regenerated.
24038         [BZ #13883]
24039         * sysdeps/i386/fpu/s_cexp.S: Remove.
24040         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24041         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24042         * math/libm-test.inc (cexp_test): Add more tests.
24043         * sysdeps/i386/fpu/libm-test-ulps: Update.
24044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24046 2012-03-21  Allan McRae  <allan@archlinux.org>
24048         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24050 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24052         [BZ #13871]
24053         * math/w_exp2.c: Do not include <float.h>.
24054         (o_threshold, u_threshold): Remove.
24055         (__exp2): Calculate result before checking finiteness and calling
24056         __kernel_standard.
24057         * math/w_exp2f.c: Likewise.
24058         * math/w_exp2l.c: Likewise.
24059         * math/libm-test.inc (exp2_test): Require overflow exception for
24060         1e6 input.
24062         [BZ #3866]
24063         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24064         range of signed 64-bit integers before using fistpll.  Remove
24065         checks for whether integers fit in mantissa bits.
24066         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24067         the range of signed 32-bit integers before using fistpl.  Remove
24068         checks for whether integers fit in mantissa bits.
24069         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24070         (__ieee754_powl): Test for y outside the range of signed 64-bit
24071         integers before using fistpll.  Reduce 64-bit values to 63-bit
24072         ones as needed.
24073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24074         divide-by-zero is raised for zero to large negative powers.
24075         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24076         (__ieee754_powl): Test for y outside the range of signed 64-bit
24077         integers before using fistpll.  Reduce 64-bit values to 63-bit
24078         ones as needed.
24079         * math/libm-test.inc (pow_test): Add more tests.
24081 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24083         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24084         <stdio-common/_itoa.h>.
24085         * debug/segfault.c: Likewise.
24086         * elf/dl-cache.c: Likewise.
24087         * elf/dl-minimal.c: Likewise.
24088         * elf/dl-misc.c: Likewise.
24089         * elf/dl-sysdep.c: Likewise.
24090         * elf/dl-version.c: Likewise.
24091         * elf/rtld.c: Likewise.
24092         * hurd/hurdsock.c: Likewise.
24093         * hurd/lookup-retry.c: Likewise.
24094         * malloc/malloc.c: Likewise.
24095         * malloc/mtrace.c: Likewise.
24096         * nscd/nscd_getgr_r.c: Likewise.
24097         * nscd/nscd_getpw_r.c: Likewise.
24098         * nscd/nscd_getserv_r.c: Likewise.
24099         * posix/getopt_init.c: Likewise.
24100         * posix/wordexp.c: Likewise.
24101         * stdio-common/_itoa.c: Likewise.
24102         * stdio-common/printf_fphex.c: Likewise.
24103         * stdio-common/vfprintf.c: Likewise.
24104         * string/_strerror.c: Likewise.
24105         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24106         * sysdeps/i386/i686/hp-timing.h: Likewise.
24107         * sysdeps/mach/_strerror.c: Likewise.
24108         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24109         * sysdeps/mach/hurd/sethostid.c: Likewise.
24110         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24111         * sysdeps/mach/xpg-strerror.c: Likewise.
24112         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24113         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24114         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24115         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24116         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24117         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24118         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24119         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24120         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24121         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24122         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24123         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24124         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24125         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24126         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24127         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24128         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24129         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24130         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24131         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24132         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24134         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24136         * stdio-common/_itoa.h: Moved to ...
24137         * sysdeps/generic/_itoa.h: Here.
24139         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24141         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24142         instead of "_itoa.h" and "_itowa.h".
24143         * stdio-common/vfprintf.: Likewise.
24145 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24147         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24148         <bits/wordsize.h>.
24149         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24150         (__signbit): Likwise.
24151         (llrintf): Likwise.
24152         (llrint): Likwise.
24154 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24156         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24157         __WORDSIZE != 64.
24159 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24161         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24162         OVERFLOW_EXCEPTION_OK.
24163         * math/libm-test.inc ("Philosophy"): Update comment about
24164         exception testing.
24165         (OVERFLOW_EXCEPTION): Define.
24166         (OVERFLOW_EXCEPTION_OK): Likewise.
24167         (INVALID_EXCEPTION_OK): Renumber.
24168         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24169         (IGNORE_ZERO_INF_SIGN): Likewise.
24170         (test_exceptions): Handle FE_OVERFLOW.
24171         (exp10_test): Expect overflow exceptions.
24172         (exp2_test): Likewise.
24173         (expm1_test): Likewise.
24174         (nextafter_test): Likewise.
24175         (pow_test): Likewise.
24176         (scalbn_test): Likewise.
24177         (scalbln_test): Likewise.
24179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24181         * sysdeps/x86_64/bits/atomic.h
24182         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24183         64bit integer.
24184         (atomic_exchange_acq): Likewise.
24185         (__arch_exchange_and_add_body): Likewise.
24186         (__arch_add_body): Likewise.
24187         (atomic_add_negative): Likewise.
24188         (atomic_add_zero): Likewise.
24190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24192         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24193         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24195 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24197         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24198         Check __x86_64__ instead of __WORDSIZE.
24200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24202         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24204 2012-03-19  David S. Miller  <davem@davemloft.net>
24206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24208         * sysdeps/sparc/fpu/fenv_private.h: New file.
24209         * sysdeps/sparc/fpu/math_private.h: Use it.
24210         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24211         Remove.
24212         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24213         (libc_feholdexcept_setroundl): Remove.
24214         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24215         Remove.
24216         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24217         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24221         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24222         int64_t instead of long int.
24223         (INSERT_WORDS64): Likwise.
24225 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24227         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24228         _Unwind_GetCFA return to _Unwind_Ptr first.
24230 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24232         [BZ #13629]
24233         * math/s_clog.c: Include <float.h>.
24234         (__clog): Scale large or subnormal inputs.
24235         * math/s_clogf.c: Likewise.
24236         * math/s_clogl.c: Likewise.
24237         * math/s_clog10.c: Include <float.h>.
24238         (M_LOG10_2): Define.
24239         (__clog10): Scale large or subnormal inputs.
24240         * math/s_clog10f.c: Likewise.
24241         * math/s_clog10l.c: Likewise.
24242         * math/libm-test.inc (clog_test): Add more tests.
24243         (clog10_test): Likewise.
24244         * sysdeps/i386/fpu/libm-test-ulps: Update.
24245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24247         [BZ #11451]
24248         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24249         x and y.
24250         * math/libm-test.inc (atan2_test): Add another test.
24252         * Makerules (common-objdir-compile): Remove.
24253         * sysdeps/unix/Makefile (config-generated): Do not add
24254         $(unix-generated) to variable.
24255         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24256         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24257         Remove rule.
24258         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24259         Likewise.
24260         [generic bits/local_lim.h] (before-compile): Do not append to
24261         variable.
24262         [generic bits/local_lim.h] (common-generated): Likewise.
24263         [generic sys/param.h] (before-compile): Do not append to variable.
24264         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24265         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24266         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24267         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24268         include.
24269         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24270         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24271         [generic sys/param.h] ($(addprefix
24272         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24273         [generic sys/param.h] (common-generated): Do not append to
24274         variable.
24275         [generic sys/param.h] (sysdep_headers): Likewise.
24276         [generic bits/errno.h] (before-compile): Do not append to
24277         variable.
24278         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24279         rule.
24280         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24281         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24282         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24283         [generic bits/errno.h] (common-generated): Do not append to
24284         variable.
24285         [generic bits/ioctls.h] (before-compile): Do not append to
24286         variable.
24287         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24288         rule.
24289         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24290         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24291         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24292         rule.
24293         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24294         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24295         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24296         [generic bits/ioctls.h] (common-generated): Do not append to
24297         variable.
24298         [generic sys/syscall.h] (syscall.h): Remove variable.
24299         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24300         rule.
24301         [generic sys/syscall.h] (before-compile): Do not append to
24302         variable.
24303         [generic sys/syscall.h] (common-generated): Likewise.
24304         * sysdeps/unix/errnos-tmpl.c: Remove file.
24305         * sysdeps/unix/errnos.awk: Likewise.
24306         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24307         * sysdeps/unix/ioctls.awk: Likewise.
24308         * sysdeps/unix/mk-local_lim.c: Likewise.
24309         * sysdeps/unix/snarf-ioctls: Likewise.
24311 2012-03-19  Richard Henderson  <rth@twiddle.net>
24313         * sysdeps/i386/fpu/fenv_private.h: New file.
24314         * sysdeps/i386/fpu/math_private.h: Use it.
24315         (math_opt_barrier, math_force_eval): Remove.
24316         (libc_feholdexcept_setround_53bit): Remove.
24317         (libc_feupdateenv_53bit): Remove.
24318         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24319         (math_opt_barrier, math_force_eval): Remove.
24320         (libc_feholdexcept): Remove.
24321         (libc_feholdexcept_setround): Remove.
24322         (libc_fetestexcept, libc_fesetenv): Remove.
24323         (libc_feupdateenv_test): Remove.
24324         (libc_feupdateenv, libc_feholdsetround): Remove.
24325         (libc_feresetround): Remove.
24327         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24328         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24330         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24331         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24332         (libc_feupdateenv_testl): New.
24333         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24334         (libc_feupdateenv_testf): New.
24335         (libc_feupdateenv): Use libc_feupdateenv_test.
24336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24337         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24339         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24340         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24341         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24342         (libc_feresetround_noex): New.
24343         (libc_feresetround_noexf): New.
24344         (libc_feresetround_noexl): New.
24345         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24346         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24347         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24348         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24349         SET_RESTORE_ROUND.
24350         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24351         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24352         (__cos): Likewise.
24353         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24354         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24355         SET_RESTORE_ROUND_NOEX.
24356         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24357         SET_RESTORE_ROUND_NOEXF.
24358         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24359         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24360         (libc_feholdsetroundf): New.
24361         (libc_feresetround, libc_feresetroundf): New.
24363         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24364         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24365         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24367         * sysdeps/generic/math_private.h: Include <fenv.h>.
24368         (default_libc_feholdexcept): New.
24369         (default_libc_feholdexcept_setround): New.
24370         (default_libc_fesetenv, default_libc_feupdateenv): New.
24371         (libc_feholdexcept): Only define if undefined.
24372         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24373         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24374         (libc_feholdexcept_setroundl): Likewise.
24375         (libc_feholdexcept_setround_53bit): Likewise.
24376         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24377         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24378         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24379         (libc_feupdateenv_53bit): Likewise.
24380         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24381         (libc_feholdexcept): Convert from macro to inline function.
24382         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24383         (libc_fesetenv, libc_feupdateenv): Likewise.
24385         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24386         not previously defined.
24387         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24388         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24389         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24390         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24391         * sysdeps/ieee754/flt-32/math_private.h: New file.
24392         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24393         math_private.h below SET_FLOAT_WORD.
24394         (__isnan, __isinf_ns, __finite): Remove.
24395         (__isnanf, __isinf_nsf, __finitef): Remove.
24397 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24401 2012-03-17  David S. Miller  <davem@davemloft.net>
24403         [BZ #6471]
24404         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24405         for 2.16.
24407 2012-03-16  David S. Miller  <davem@davemloft.net>
24409         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24410         warnings.
24412         [BZ #6471]
24413         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24414         properly.
24415         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24416         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24417         sysdep_routines when subdir is sysvipc.
24418         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24419         __getshmlba helper.
24421         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24423 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24425         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24426         [__LP64__].
24428 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24430         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24431         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24432         (__lround): Renamed to ...
24433         (__llround): This.  Replace long int with long long int.
24434         Define lround functions as aliases of llround functions.
24435         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24437 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24439         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24440         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24441         adresses to uintptr_t.  Replace "long int" and "unsigned long
24442         int" with "greg_t" on va_arg.
24444 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24446         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24447         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24449         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24450         Move e_machine check before EI_CLASS check.  Handle x32
24451         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24452         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24453         SKIP_EM_IA_64 and include
24454         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24456         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24457         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24458         (add_system_dir): New macro.
24460         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24461         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24463 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24465         [BZ #2551]
24466         [BZ #2552]
24467         [BZ #2553]
24468         [BZ #2554]
24469         [BZ #2562]
24470         [BZ #2563]
24471         [BZ #2565]
24472         [BZ #2566]
24473         [BZ #2576]
24474         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24475         (y0): Likewise.
24476         * math/w_j0f.c (j0f): Likewise.
24477         (y0f): Likewise.
24478         * math/w_j0l.c (__j0l): Likewise.
24479         (__y0l): Likewise.
24480         * math/w_j1.c (j1): Likewise.
24481         (y1): Likewise.
24482         * math/w_j1f.c (j1f): Likewise.
24483         (y1f): Likewise.
24484         * math/w_j1l.c (__j1l): Likewise.
24485         (__y1l): Likewise.
24486         * math/w_jn.c (jn): Likewise.
24487         (yn): Likewise.
24488         * math/w_jnf.c (jnf): Likewise.
24489         (ynf): Likewise.
24490         * math/w_jnl.c (__jnl): Likewise.
24491         (__ynl): Likewise.
24492         * math/libm-test.inc (j0_test): Add more tests.
24493         (j1_test): Likewise.
24494         (jn_test): Likewise.  Add trailing semicolon to existing test.
24495         (y0_test): Likewise.
24496         (y1_test): Likewise.
24497         * sysdeps/i386/fpu/libm-test-ulps: Update.
24498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24500         [BZ #13851]
24501         [BZ #13854]
24502         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24503         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24504         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24505         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24506         (__tanl): Set errno for infinite argument.
24507         * sysdeps/i386/fpu/mptan.c: Remove.
24508         * sysdeps/i386/fpu/s_tan.S: Likewise.
24509         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24510         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24511         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24512         * math/libm-test.inc (tan_test): Add more tests and enable more
24513         tests for double and long double.
24514         * sysdeps/i386/fpu/libm-test-ulps: Update.
24515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24517 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24519         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24520         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24522 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24524         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24525         * configure.in: Use it for both main tree and add-ons.
24526         * configure: Regenerated.
24528 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24530         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24532 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24534         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24535         in comment.
24537         [BZ #13851]
24538         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24539         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24540         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24543         infinite argument.
24544         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24546         != 0 for prec == 2.
24547         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24548         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24549         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24550         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24551         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24552         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24553         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24554         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24555         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24556         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24557         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24558         * math/libm-test.inc (cos_test): Add more tests and enable more
24559         tests for long double.
24560         (sin_test): Likewise.
24561         (sincos_test): Likewise.
24562         * sysdeps/i386/fpu/libm-test-ulps: Update.
24563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24565 2012-03-16  David S. Miller  <davem@davemloft.net>
24567         * sysdeps/sparc/fpu/math_private.h: New file.
24569 2012-03-15  David S. Miller  <davem@davemloft.net>
24571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24572         file.
24573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24575         file.
24576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24582         sysdep routines.
24583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24585         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24586         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24588         * sysdeps/sparc/sparc-ifunc.h: New file.
24589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24590         sparc-ifunc.h
24591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24593         Likewise.
24594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24595         Likewise.
24596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24600         Likewise.
24601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24606         Likewise.
24607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24608         Likewise.
24609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24613         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24616         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24627         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24629         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24630         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24631         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24634 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24636         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24637         scaling.
24638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24640 2012-03-15  Andreas Jaeger  <aj@suse.de>
24642         [BZ #13852]
24643         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24644         ieee754/flt-32 implementation for sin, cos and sincos.
24645         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24646         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24647         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24648         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24649         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24650         ieee754/flt-32 implementation for tan.
24652         * math/libm-test.inc (cos_test): Enable some large input tests for
24653         float as well
24654         (sin_test): Likewise.
24655         (sincos_test): Likewise.
24656         (tan_test): Add tests for large input.
24658         * sysdeps/i386/fpu/libm-test-ulps: Update.
24660 2012-03-15  Andreas Jaeger  <aj@suse.de>
24662         [BZ #13658]
24663         * math/libm-test.inc (cos_test): Add more test cases.
24664         (sin_test): Likewise.
24665         (sincos_test): Likewise.
24667 2012-03-15  Andreas Jaeger  <aj@suse.de>
24669         [BZ #13837]
24670         * math/libm-test.inc (cos_test): Add a test case for large input
24671         value.
24672         (sin_test): Likewise.
24673         (sincos_test): Likewise.
24675 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24676         Joseph Myers  <joseph@codesourcery.com>
24678         [BZ #13658]
24679         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24680         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24681         * sysdeps/i386/fpu/branred.c: Likewise.
24682         * sysdeps/i386/fpu/dosincos.c: Likewise.
24683         * sysdeps/i386/fpu/mpa.c: Likewise.
24684         * sysdeps/i386/fpu/s_cos.S: Likewise.
24685         * sysdeps/i386/fpu/s_sin.S: Likewise.
24686         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24687         * sysdeps/i386/fpu/sincos32.c: Likewise.
24689         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24690         Define.
24691         (libc_feupdateenv_53bit): Define.
24692         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24693         Define.
24694         (libc_feupdateenv_53bit): Define.
24696         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24697         53 bit (without extend i386 double precision).
24699         * math/libm-test.inc (sincos_test): Add tests for large input.
24700         (sin): Likewise.
24701         (cos): Likewise.
24703         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24705 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24709 2012-03-15  David S. Miller  <davem@davemloft.net>
24711         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24712         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24713         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24714         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24719         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24720         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24725         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24727         file.
24728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24730         file.
24731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24733         file.
24734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24736         file.
24737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24739         fmin/fmax sysdep routines.
24740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24742 2012-03-14  David S. Miller  <davem@davemloft.net>
24744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24747         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24748         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24749         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24750         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24751         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24752         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24759         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24760         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24761         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24762         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24763         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24764         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24765         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24766         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24767         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24768         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24769         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24770         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24771         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24773         routines.
24774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24775         file.
24776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24778         file.
24779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24781         file.
24782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24784         file.
24785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24787         file.
24788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24790         file.
24791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24792         file.
24793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24794         file.
24795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24796         file.
24797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24798         New file.
24799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24800         file.
24801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24802         file.
24803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24805         file.
24806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24808         file.
24809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24811         file.
24812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24814         VIS3 routines.
24816         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24817         New file.
24819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24821         * sysdeps/sparc/configure.in: New file.
24822         * sysdeps/sparc/configure: Generate.
24823         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24824         * configure: Regenerate.
24825         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24826         * config.make.in (have-as-vis3): New.
24827         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24828         available use -Av9d instead of -Av9a.
24829         * sysdeps/sparc/sparc64/Makefile: Likewise.
24830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24832         New file.
24833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24834         file.
24835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24836         New file.
24837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24838         file.
24839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24840         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24841         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24842         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24843         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24845         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24846         fzeros/fnegs to load 0x80000000 into a float register instead of
24847         using the stack.
24848         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24850 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24853         bits/syscall.h.
24854         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24855         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24856         ($(inst_includedir)/bits/syscall.h): Remove rule.
24857         ($(objpfx)bits/syscall.d): Include instead of
24858         $(objpfx)syscall-list.d.
24859         (generated): Change syscall-list.h and syscall-list.d to
24860         bits/syscall.h and bits/syscall.d.
24862 2012-03-14  Roland McGrath  <roland@hack.frob.com>
24864         [BZ #13846]
24865         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24867 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #13841]
24870         * math/s_csqrt.c: Include <float.h>.
24871         (__csqrt): Scale large or subnormal inputs.
24872         * math/s_csqrtf.c: Likewise.
24873         * math/s_csqrtl.c: Likewise.
24874         * math/libm-test.inc (csqrt_test): Add more tests.
24875         * sysdeps/i386/fpu/libm-test-ulps: Update.
24876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24878         [BZ #13840]
24879         * math/libm-test.inc (hypot_test): Add more tests.
24881 2012-03-13  David S. Miller  <davem@davemloft.net>
24883         [BZ #13840]
24884         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24885         double-precision for the calculation instead of scaling.
24887 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
24889         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24890         manipulate bits before adding and subtracting TWO52[sx].
24891         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24892         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24893         Likewise.
24894         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24896 2012-03-13  David S. Miller  <davem@davemloft.net>
24898         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24899         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24901         rtld-global-offsets.h
24902         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24904         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24905         large parameters.
24907         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24909         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24910         'err' in the ifdef scope in which it is actually used.
24912         * nss/nss_db/db-init.c: Include string.h
24914 2012-03-12  David S. Miller  <davem@davemloft.net>
24916         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24917         masking out of the most significant byte of random value used.
24918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24919         Fix coding style in previous change.
24921         * sysdeps/unix/sysv/linux/kernel-features.h
24922         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24923         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24924         expression.
24925         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24926         later.
24928 2012-03-11  David S. Miller  <davem@davemloft.net>
24930         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24931         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24932         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24933         for 'resultvar' otherwise things get truncated on 64-bit.
24935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24936         Fix masking out of the most significant byte of random value used.
24938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24940 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
24942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24944 2012-03-09  David S. Miller  <davem@davemloft.net>
24946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24947         variables with appropriate CPP guards.
24948         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24949         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
24950         on resulting framesize and the management of the outregs buffer for pltexit.
24951         Preserve floating point return values across _dl_call_pltexit call.
24952         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24953         framesize and the management of the outregs buffer for pltexit.
24954         Preserve floating point return values across _dl_call_pltexit
24955         call.
24956         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24957         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24958         (print_exit): Fix format string for return register value.
24960 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
24962         * sunrpc/Makefile (others): Add rpcgen.
24963         ($(objpfx)rpcgen): Remove special build rule and dependency on
24964         libc.
24965         * sunrpc/rpcgen.c: New file.
24967 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
24969         [BZ #13673]
24970         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24971         * stdio-common/bug-vfprintf-nargs.c: Likewise.
24972         * sysdeps/i386/crti.S: Likewise.
24973         * sysdeps/i386/crtn.S: Likewise.
24974         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24975         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24976         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24977         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24978         * sysdeps/sh/crti.S: Likewise.
24979         * sysdeps/sh/crtn.S: Likewise.
24980         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24982         [BZ #13673]
24983         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24984         with URL.
24985         * locale/programs/locfile-kw.gperf: Likewise.
24986         * locale/programs/charmap-kw.h: Regenerated.
24987         * locale/programs/locfile-kw.h: Likewise.
24989         [BZ #13673]
24990         * intl/plural.y: Replace FSF snail mail address with URL.
24991         * intl/plural.c: Regenerated.
24993 2012-03-09  Richard Henderson  <rth@twiddle.net>
24995         * include/math_private.h: Remove file.
24996         * math/math_private.h: Move file ...
24997         * sysdeps/generic/math_private.h: ... here.
24999         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25000         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25001         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25003         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25004         and <math_private.h>.
25005         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25006         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25007         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25008         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25009         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25010         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25011         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25012         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25013         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25014         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25016         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25017         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25019         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25020         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25021         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25022         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25023         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25024         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25026         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25027         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25029         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25031         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25032         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25033         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25035         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25037         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25038         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25039         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25040         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25041         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25042         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25043         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25045         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25046         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25047         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25048         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25049         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25050         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25051         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25052         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25053         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25054         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25055         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25056         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25057         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25058         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25059         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25060         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25061         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25062         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25063         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25064         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25065         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25066         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25067         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25068         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25069         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25070         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25071         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25072         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25073         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25074         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25075         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25076         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25077         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25078         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25079         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25082         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25083         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25084         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25085         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25086         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25088         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25089         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25090         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25091         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25092         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25093         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25094         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25095         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25096         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25097         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25098         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25099         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25100         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25101         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25102         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25103         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25104         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25105         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25106         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25107         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25108         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25109         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25110         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25111         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25112         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25113         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25115         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25116         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25117         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25118         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25119         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25120         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25121         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25122         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25123         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25124         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25125         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25126         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25127         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25128         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25129         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25130         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25131         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25132         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25133         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25134         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25135         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25136         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25137         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25138         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25139         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25140         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25141         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25142         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25143         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25144         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25145         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25146         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25147         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25148         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25149         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25150         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25151         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25152         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25153         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25154         * sysdeps/ieee754/k_standard.c: Likewise.
25155         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25156         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25157         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25158         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25159         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25160         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25161         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25162         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25163         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25164         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25165         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25167         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25168         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25169         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25170         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25171         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25172         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25173         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25174         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25175         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25176         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25177         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25178         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25179         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25180         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25181         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25182         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25183         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25184         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25185         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25186         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25188         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25189         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25190         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25191         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25192         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25193         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25194         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25196         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25198         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25200         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25203         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25204         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25205         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25206         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25207         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25208         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25211         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25212         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25213         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25214         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25215         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25216         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25217         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25221         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25227         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25228         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25229         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25232         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25234         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25235         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25236         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25237         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25238         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25239         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25240         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25241         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25244         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25245         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25246         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25247         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25248         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25249         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25250         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25251         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25252         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25253         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25254         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25256         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25257         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25259         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25260         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25261         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25262         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25263         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25264         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25265         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25266         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25267         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25268         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25269         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25270         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25271         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25272         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25273         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25274         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25275         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25276         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25277         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25278         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25279         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25280         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25281         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25282         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25283         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25284         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25285         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25286         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25287         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25288         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25289         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25290         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25291         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25292         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25293         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25294         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25295         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25296         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25297         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25298         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25299         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25300         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25301         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25302         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25303         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25304         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25305         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25306         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25307         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25308         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25309         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25310         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25311         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25312         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25313         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25314         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25315         * sysdeps/ieee754/s_lib_version.c: Likewise.
25316         * sysdeps/ieee754/s_matherr.c: Likewise.
25317         * sysdeps/ieee754/s_signgam.c: Likewise.
25318         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25319         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25320         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25321         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25322         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25323         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25324         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25325         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25326         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25327         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25328         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25329         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25330         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25331         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25332         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25333         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25334         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25335         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25336         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25337         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25340 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25342         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25343         * sunrpc/rpc_main.c: Likewise.
25344         * sunrpc/rpc_svcout.c: Likewise.
25346 2012-03-09  David S. Miller  <davem@davemloft.net>
25348         * include/math_private.h: New file.
25350 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25352         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25353         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25354         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25355         from <bits/socket_type.h>.
25356         (enum __socket_type): Don't define here.
25357         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25359         bits/socket_type.h.
25361         [BZ #13566]
25362         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25363         checking __USE_GNU.
25365         * Makerules ($(inst_includedir)/%.h): New rule.
25366         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25367         (install-others): Remove variable setting.
25368         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25370 2012-03-08  Richard Henderson  <rth@twiddle.net>
25372         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25373         from macro to inline function; merge with the
25374         !__LIBC_INTERNAL_MATH_INLINES version.
25375         (__ieee754_sqrtf): Likewise.
25377         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25378         to inline function.
25379         (__rintf, __floor, __floorf): Likewise.
25381         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25382         macro to inline function.
25383         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25385         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25386         not <math/math_private.h>.
25388 2012-03-08  David S. Miller  <davem@davemloft.net>
25390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25391         copyright year.
25392         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25394 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25396         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25397         normalization.
25398         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25399         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25401 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25403         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25404         be defined individually, they must be defined as a block.  Define
25405         S for printing a string instead of hidint the different by using a
25406         macro for adding the 'l'.
25407         * stdio-common/tst-fphex-wide.c: Adjust.
25409 2012-03-07  Marek Polacek  <polacek@redhat.com>
25411         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25413 2012-03-08  Marek Polacek  <polacek@redhat.com>
25415         [BZ #13806]
25416         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25417         * stdio-common/tst-fphex.c: Define a few macros to make the
25418         test reusable.  Use them.
25419         * stdio-common/tst-fphex-wide.c: New file.
25421 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25423         [BZ #6911]
25424         * manual/macros.texi (gnusystems): New macro.
25425         (nongnusystems): Likewise.
25426         (gnulinuxhurdsystems): Likewise.
25427         (gnuhurdsystems): Likewise..
25428         (gnulinuxsystems): Likewise.
25429         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25430         variants of the GNU system, not "GNU system".
25431         * manual/conf.texi: Likewise.
25432         * manual/errno.texi: Likewise.  Update example of errno macro
25433         expansion.
25434         * manual/filesys.texi: Likewise.
25435         (getumask): Document as specific to GNU/Hurd.
25436         * manual/install.texi: Likewise.  Reword some references to
25437         GNU/Linux.
25438         * manual/intro.texi: Likewise.
25439         * manual/io.texi: Likewise.
25440         (File Name Portability): Detail which constraints are inapplicable
25441         to all GNU systems and which are only inapplicable to GNU/Hurd.
25442         * manual/job.texi: Likewise.
25443         * manual/llio.texi: Likewise.
25444         (O_NOCTTY): Document as present on GNU/Linux.
25445         * manual/maint.texi: Likewise.
25446         * manual/memory.texi: Likewise.
25447         * manual/pattern.texi: Likewise.
25448         * manual/pipe.texi: Likewise.
25449         * manual/process.texi: Likewise.
25450         * manual/resource.texi: Likewise.
25451         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25452         child on GNU/Hurd.
25453         * manual/setjmp.texi: Likewise.
25454         * manual/signal.texi: Likewise.
25455         * manual/startup.texi: Likewise.
25456         * manual/stdio.texi: Likewise.
25457         * manual/terminal.texi: Likewise.
25458         (ONLCR): Document as POSIX.
25459         (OXTABS): Document availability on GNU/Linux as XTABS.
25460         (ONOEOT): Document availability separately from other bits.
25461         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25462         * manual/time.texi: Likewise.
25463         * manual/users.texi: Likewise.
25464         * INSTALL: Regenerated.
25465         * sysdeps/gnu/errlist.c: Regenerated.
25467         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25468         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25469         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25470         puts.
25471         * configure: Regenerated.
25473 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25475         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25476         default includes instead of AC_HEADER_CHECK.
25477         * sysdeps/i386/configure: Regenerated.
25479         [BZ #10716]
25480         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25481         * math/s_cacoshf.c (__cacoshf): Likewise.
25482         * math/s_cacoshl.c (__cacoshl): Likewise.
25483         * math/s_casinh.c (__casinh): Set signs of result from argument.
25484         * math/s_casinhf.c (__casinhf): Likewise.
25485         * math/s_casinhl.c (__casinhl): Likewise.
25486         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25487         (casinh_test): Add more tests.
25488         * sysdeps/i386/fpu/libm-test-ulps: Update.
25489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25491 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25493         * po/zh_TW.po: Update from translation team.
25495         * login/Makefile (distribute): Remove variable.
25496         * catgets/Makefile: Likewise.
25497         * mach/Makefile: Likewise.
25498         * malloc/Makefile: Likewise.
25499         * misc/Makefile: Likewise.
25500         * iconv/Makefile: Likewise.
25501         * nscd/Makefile: Likewise.
25502         * hurd/Makefile: Likewise.
25503         * manual/Makefile: Likewise.
25504         * locale/Makefile: Likewise.
25505         * intl/Makefile: Likewise.
25506         * conform/Makefile: Likewise.
25507         * nss/Makefile: Likewise.
25508         * time/Makefile: Likewise.
25509         * soft-fp/Makefile: Likewise.
25510         * dirent/Makefile: Likewise.
25511         * gmon/Makefile: Likewise.
25512         * po/Makefile: Likewise.
25513         * rt/Makefile: Likewise.
25514         * socket/Makefile: Likewise.
25515         * math/Makefile: Likewise.
25516         * signal/Makefile: Likewise.
25517         * debug/Makefile: Likewise.
25518         * elf/Makefile: Likewise.
25519         * timezone/Makefile: Likewise.
25520         * stdlib/Makefile: Likewise.
25521         * iconvdata/Makefile: Likewise.
25522         * sunrpc/Makefile: Likewise.
25523         * io/Makefile: Likewise.
25524         * argp/Makefile: Likewise.
25525         * inet/Makefile: Likewise.
25526         * hesiod/Makefile: Likewise.
25527         * grp/Makefile: Likewise.
25528         * csu/Makefile: Likewise.
25529         * wctype/Makefile: Likewise.
25530         * crypt/Makefile: Likewise.
25531         * libio/Makefile: Likewise.
25532         * string/Makefile: Likewise.
25533         * nis/Makefile: Likewise.
25534         * resolv/Makefile: Likewise.
25535         * stdio-common/Makefile: Likewise.
25536         * wcsmbs/Makefile: Likewise.
25537         * dlfcn/Makefile: Likewise.
25538         * posix/Makefile: Likewise.
25540         [BZ #6959]
25541         * timezone/Makefile: Don't install timezone files, just the programs
25542         and scripts.
25544 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25546         * nss/databases.def: Add missing gshadow entry.
25548         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25550 2012-03-06  Marek Polacek  <polacek@redhat.com>
25552         [BZ #13726]
25553         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25554         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25555         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25556         * stdio-common/tst-long-dbl-fphex.c: New file.
25558 2012-03-06  David S. Miller  <davem@davemloft.net>
25560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25561         (set_obp_int): New function.
25562         (get_obp_int): New function.
25563         (__get_clockfreq_via_dev_openprom): Likewise.
25564         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25565         Avoid unused variable warnings on 'val' and use builtin_expect.
25566         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25567         __builtin_expect.
25568         (INLINE_CLONE_SYSCALL): Likewise.
25570 2012-03-05  David S. Miller  <davem@davemloft.net>
25572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25574 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25579         only for |x| >= 40.
25580         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25582 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25584         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25585         Replace gettimeofday with __vdso_gettimeofday.
25587         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25588         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25589         __vdso_clock_gettime and __vdso_getcpu.
25591         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25592         time with __vdso_time.
25594 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25596         * manual/lang.texi (size_t): Note types to which size_t may be
25597         equivalent with the GNU C Library, but do not describe when
25598         differences between them are significant.
25600 2012-03-05  Andreas Jaeger  <aj@suse.de>
25602         * sysdeps/i386/fpu/libm-test-ulps: Update.
25604 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25606         [BZ #3976]
25607         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25608         (__ieee754_pow): Save and restore rounding mode and use
25609         round-to-nearest for main computations.
25610         * math/libm-test.inc (pow_test_tonearest): New function.
25611         (pow_test_towardzero): Likewise.
25612         (pow_test_downward): Likewise.
25613         (pow_test_upward): Likewise.
25614         (main): Call the new functions.
25615         * sysdeps/i386/fpu/libm-test-ulps: Update.
25616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25618         [BZ #3976]
25619         * math/libm-test.inc (cosh_test_tonearest): New function.
25620         (cosh_test_towardzero): Likewise.
25621         (cosh_test_downward): Likewise.
25622         (cosh_test_upward): Likewise.
25623         (sinh_test_tonearest): Likewise.
25624         (sinh_test_towardzero): Likewise.
25625         (sinh_test_downward): Likewise.
25626         (sinh_test_upward): Likewise.
25627         (main): Call the new functions.
25628         * sysdeps/i386/fpu/libm-test-ulps: Update.
25629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25631 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25633         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25634         default stack guard is set in last bytes.
25635         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25637 2012-03-05  Kees Cook  <keescook@chromium.org>
25639         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25641         [BZ #13656]
25642         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25643         possibly allocate from heap instead of stack.
25644         * stdio-common/bug-vfprintf-nargs.c: New file.
25645         * stdio-common/Makefile (tests): Add nargs overflow test.
25647 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25651 2012-03-03  Marek Polacek  <polacek@redhat.com>
25653         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25654         * math/math_private.h: Likewise.
25655         * stdlib/tst-strtod.c: Likewise.
25656         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25657         * sysdeps/x86_64/bits/atomic.h: Likewise.
25659 2012-03-02  David S. Miller  <davem@davemloft.net>
25661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25665         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25666         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25667         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25668         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25670 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25672         [BZ #13792]
25673         * manual/examples/README: New file, says the example source files
25674         can be used under GPL>=2.
25675         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25676         line containing just "*/".
25677         * manual/examples/add.c: Add copyright header (GPL>=2).
25678         * manual/examples/argp-ex1.c: Likewise.
25679         * manual/examples/argp-ex2.c: Likewise.
25680         * manual/examples/argp-ex3.c: Likewise.
25681         * manual/examples/argp-ex4.c: Likewise.
25682         * manual/examples/atexit.c: Likewise.
25683         * manual/examples/db.c: Likewise.
25684         * manual/examples/dir.c: Likewise.
25685         * manual/examples/dir2.c: Likewise.
25686         * manual/examples/execinfo.c: Likewise.
25687         * manual/examples/filecli.c: Likewise.
25688         * manual/examples/filesrv.c: Likewise.
25689         * manual/examples/fmtmsgexpl.c: Likewise.
25690         * manual/examples/genpass.c: Likewise.
25691         * manual/examples/inetcli.c: Likewise.
25692         * manual/examples/inetsrv.c: Likewise.
25693         * manual/examples/isockad.c: Likewise.
25694         * manual/examples/longopt.c: Likewise.
25695         * manual/examples/memopen.c: Likewise.
25696         * manual/examples/memstrm.c: Likewise.
25697         * manual/examples/mkfsock.c: Likewise.
25698         * manual/examples/mkisock.c: Likewise.
25699         * manual/examples/mygetpass.c: Likewise.
25700         * manual/examples/pipe.c: Likewise.
25701         * manual/examples/popen.c: Likewise.
25702         * manual/examples/rprintf.c: Likewise.
25703         * manual/examples/search.c: Likewise.
25704         * manual/examples/select.c: Likewise.
25705         * manual/examples/setjmp.c: Likewise.
25706         * manual/examples/sigh1.c: Likewise.
25707         * manual/examples/sigusr.c: Likewise.
25708         * manual/examples/stpcpy.c: Likewise.
25709         * manual/examples/strdupa.c: Likewise.
25710         * manual/examples/strftim.c: Likewise.
25711         * manual/examples/strncat.c: Likewise.
25712         * manual/examples/subopt.c: Likewise.
25713         * manual/examples/swapcontext.c: Likewise.
25714         * manual/examples/termios.c: Likewise.
25715         * manual/examples/testopt.c: Likewise.
25716         * manual/examples/testpass.c: Likewise.
25717         * manual/examples/timeval_subtract.c: Likewise.
25719         [BZ #13792]
25720         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25721         function to ...
25722         * manual/timeval_subtract.c.texi: ... here, new file.
25724 2012-03-02  David S. Miller  <davem@davemloft.net>
25726         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25728 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #3976]
25731         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25732         (__sin): Save and restore rounding mode and use round-to-nearest
25733         for all computations.
25734         (__cos): Save and restore rounding mode and use round-to-nearest
25735         for all computations.
25736         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25737         <fenv.h>.
25738         (tan): Save and restore rounding mode and use round-to-nearest for
25739         all computations.
25740         * math/libm-test.inc (cos_test_tonearest): New function.
25741         (cos_test_towardzero): Likewise.
25742         (cos_test_downward): Likewise.
25743         (cos_test_upward): Likewise.
25744         (sin_test_tonearest): Likewise.
25745         (sin_test_towardzero): Likewise.
25746         (sin_test_downward): Likewise.
25747         (sin_test_upward): Likewise.
25748         (tan_test_tonearest): Likewise.
25749         (tan_test_towardzero): Likewise.
25750         (tan_test_downward): Likewise.
25751         (tan_test_upward): Likewise.
25752         (main): Call the new functions.
25753         * sysdeps/i386/fpu/libm-test-ulps: Update.
25754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25756         [BZ #10135]
25757         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25758         small n, then large n, before computing and testing k+n.
25759         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25760         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25761         Likewise.
25762         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25763         Likewise.
25764         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25765         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25766         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25767         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25768         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25769         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25770         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25771         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25772         * math/libm-test.inc (scalbn_test): Add more tests.
25773         (scalbln_test): Likewise.
25775         * manual/filesys.texi (mode_t): Describe constraints on size and
25776         signedness, not exact equivalence to a particular type.
25777         (ino_t): Likewise.
25778         (ino64_t): Likewise.
25779         (dev_t): Likewise.
25780         (nlink_t): Likewise.
25781         (blkcnt_t): Likewise.
25782         (blkcnt64_t): Likewise.
25783         * manual/llio.texi (off_t): Likewise.
25785         [BZ #3976]
25786         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25787         (__ieee754_exp): Save and restore rounding mode and use
25788         round-to-nearest for all computations.
25789         * math/libm-test.inc (exp_test_tonearest): New function.
25790         (exp_test_towardzero): Likewise.
25791         (exp_test_downward): Likewise.
25792         (exp_test_upward): Likewise.
25793         (main): Call the new functions.
25794         * sysdeps/i386/fpu/libm-test-ulps: Update.
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25797 2012-03-01  Chris Demetriou  <cgd@google.com>
25799         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25800         have predictable order.
25802 2012-03-01  David S. Miller  <davem@davemloft.net>
25804         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25806         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25807         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25808         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25809         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25811         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25812         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25813         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25815         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25816         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25817         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25818         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25819         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25823         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25824         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25825         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25827         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25828         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25829         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25830         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25831         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25832         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25834         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25835         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25836         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25837         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25838         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25839         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25840         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25841         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25843         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25844         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25845         * sysdeps/sparc/elf/configure: Regenerated.
25847 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25849         * configure.in (AS, LD): Require binutils 2.20 or later.
25850         * configure: Regenerated.
25851         * manual/install.texi (Tools for Compilation): Give binutils 2.20
25852         as required minimum version.
25853         * INSTALL: Regenerated.
25855         [BZ #2541]
25856         [BZ #4108]
25857         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25858         before squaring exponent.
25859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25860         bottom long double and 27 bits of top long double before squaring
25861         exponent.
25862         * math/libm-test.inc (erfc_test): Add more tests.
25863         * sysdeps/i386/fpu/libm-test-ulps: Update.
25864         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25867 2012-03-01  Kai Tietz  <ktietz@redhat.com>
25869         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25870         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25871         containing bit-fields.
25872         * soft-fp/extended.h (_FP_UNION_E): Likewise.
25873         * soft-fp/single.h (_FP_UNION_S): Likewise.
25874         * soft-fp/double.h (_FP_UNION_D): Likewise.
25876 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25878         [BZ #13786]
25879         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25880         not include ../strcmp.S.
25881         [USE_AS_STRNCASECMP_L]: Likewise.
25882         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25883         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25884         * sysdeps/i386/i686/multiarch/strncase_l-c.c
25885         (__strncasecmp_l_ia32): Define as alias to
25886         __strncasecmp_l_nonascii.
25888         [BZ #5794]
25889         * math/libm-test.inc (expm1_test): Add test for bug 5794.
25890         * sysdeps/i386/fpu/libm-test-ulps: Update.
25891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25896 2012-02-29  Jeff Law  <law@redhat.com>
25898         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25899         out of bounds read.
25901 2012-02-29  Marek Polacek  <polacek@redhat.com>
25903         [BZ #13706]
25904         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25905         * elf/Makefile: Add rules to run tst-unused-dep.out.
25907 2012-02-28  David S. Miller  <davem@davemloft.net>
25909         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25910         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25911         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25912         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25913         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25914         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25916 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
25918         * math/libm-test.inc (llround_test): Move one test from
25919         lround_test.  Use TEST_f_L in moved test.
25920         (lround_test): Move misplaced test to llround_test.  Add testcase
25921         from bug 2561.
25923 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
25925         * sysdeps/x86_64/fpu/e_expf.S: New file.
25926         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25928 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
25930         [BZ #13637]
25931         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25932         of remain_len that may cause incomplete multi-byte character and
25933         false match.
25934         * posix/bug-regex33.c: New file.
25935         * posix/Makefile (tests): Add bug-regex33.
25937 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
25939         * manual/macros.texi: New file.
25940         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25941         * manual/libc.texinfo: Include macros.texi.
25942         * manual/creatute.texi: Likewise.
25943         * manual/install.texi: Likewise.
25944         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25945         @glibcadj{} in references to the GNU C Library.
25946         * manual/charset.texi: Likewise.
25947         * manual/conf.texi: Likewise.
25948         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
25949         when not using those macros.
25950         * manual/creature.texi: Likewise.
25951         * manual/crypt.texi: Likewise.
25952         * manual/errno.texi: Likewise.
25953         * manual/filesys.texi: Likewise.
25954         * manual/header.texi: Likewise.
25955         * manual/install.texi: Likewise.
25956         * manual/intro.texi: Likewise.
25957         * manual/io.texi: Likewise.
25958         * manual/job.texi: Likewise.
25959         * manual/lang.texi: Likewise.
25960         * manual/libc.texiinfo: Likewise.
25961         * manual/llio.texi: Likewise.
25962         * manual/locale.texi: Likewise.
25963         * manual/maint.texi: Likewise.
25964         * manual/math.texi: Likewise.
25965         * manual/memory.texi: Likewise.
25966         * manual/message.texi: Likewise.
25967         * manual/nss.texi: Likewise.
25968         * manual/pattern.texi: Likewise.
25969         * manual/process.texi: Likewise.
25970         * manual/resource.texi: Likewise.
25971         * manual/search.texi: Likewise.
25972         * manual/setjmp.texi: Likewise.
25973         * manual/signal.texi: Likewise.
25974         * manual/socket.texi: Likewise.
25975         * manual/startup.texi: Likewise.
25976         * manual/stdio.texi: Likewise.
25977         * manual/string.texi: Likewise.
25978         * manual/sysinfo.texi: Likewise.
25979         * manual/syslog.texi: Likewise.
25980         * manual/terminal.texi: Likewise.
25981         * manual/time.texi: Likewise.
25982         * manual/users.texi: Likewise.
25983         * INSTALL: Regenerated.
25984         * NOTES: Regenerated.
25985         * sysdeps/gnu/errlist.c: Regenerated.
25987 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
25989         * include/dirent.h: Include <dirstream.h> before
25990         <dirent/dirent.h>.
25992 2012-02-28  David S. Miller  <davem@davemloft.net>
25994         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25995         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25996         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25997         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25999 2012-02-27  David S. Miller  <davem@davemloft.net>
26001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26003         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26004         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26007         frame pointer instead of stack pointer relative arg slot.
26008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26009         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26010         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26012 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26014         [BZ #3992]
26015         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26017 2012-02-27  David S. Miller  <davem@davemloft.net>
26019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26023         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26024         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26025         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26026         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26028 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26030         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26031         later.  Allow versions 5-9.
26032         * configure: Regenerated.
26033         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26034         required minimum version and 4.6 as recommended version.  Do not
26035         mention bugs in GCC 2.7 and 2.8.
26036         * INSTALL: Regenerated.
26038 2012-02-27  David S. Miller  <davem@davemloft.net>
26040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26044         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26045         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26046         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26047         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26050         manipulate bits before adding and subtracting TWO112[sx].
26051         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26053 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26055         [BZ #13775]
26056         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26057         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26058         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26059         being in POSIX, because they are in 1003.1-2008.
26061         * rt/tst-aio.c: Include <fcntl.h>.
26062         * rt/tst-aio7.c: Likewise.
26063         * rt/tst-aio64.c: Likewise.
26065         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26067 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26069         * manual/install.texi (--with-headers): Describe headers as
26070         interface headers, not private headers.
26071         (Specific advice for GNU/Linux systems): Describe use of headers
26072         from "make headers_install", not private headers from older
26073         kernels.
26074         * INSTALL: Regenerated.
26075         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26076         Change to 2.6.19.
26077         * sysdeps/unix/sysv/linux/configure: Regenerated.
26079         * manual/llio.texi (fclean): Remove documentation.
26081         * manual/Makefile (libc-texi-generated): New variable.  Include
26082         version.texi.
26083         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26084         $(libc-texi-generated), not duplicated list of files.
26085         (version.texi, stamp-version): New rules.
26086         (realclean): Remove $(libc-texi-generated), not individual files
26087         from that list.  Do not remove dir-add.texinfo.
26088         * manual/libc.texinfo: Comment out uses of edition numbers and
26089         references to printed manual.  Remove last-updated dates.
26090         (EDITION): Comment out.
26091         (ISBN): Likewise.
26092         (VERSION, UPDATED): Remove.
26093         (version.texi): Include.
26095 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26097         * sysdeps/posix/spawni.c: Include <signal.h>.
26098         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26099         * sysdeps/pthread/aio_fsync.c: Likewise.
26101 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26103         * conform/Makefile (tests): Run only when not cross-compiling and
26104         when fast-check is not defined.
26106         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26107         * conform/data/limits.h-data: Fixes for POSIX2008.
26108         * conform/run-conformtest.sh: Run all tests.
26109         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26110         headers.
26111         * include/bits/dlfcn.h: Likewise.
26112         * include/langinfo.h: Likewise.
26113         * include/monetary.h: Likewise.
26114         * include/sys/poll.h: Likewise.
26116         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26117         for __USE_GNU.
26118         * posix/spawn.h: Define __need_sigset_t.
26119         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26120         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26121         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26122         to get sigevent_t only.
26123         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26124         only for __USE_GNU.
26125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26126         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26127         process_vm_writev only for __USE_GNU.
26128         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26130         * conform/Makefile: For now ignore errors from run-conformtest.
26131         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26132         POSIX to avoid namespace pollution.  Don't prepend headers.
26133         * conform/data/aio.h-data: Fixes for POSIX testing.
26134         * conform/data/fcntl.h-data: Likewise.
26135         * conform/data/glob.h-data: Likewise.
26136         * conform/data/grp.h-data: Likewise.
26137         * conform/data/pthread.h-data: Likewise.
26138         * conform/data/pwd.h-data: Likewise.
26139         * conform/data/signal.h-data: Likewise.
26140         * conform/data/spawn.h-data: Likewise.
26141         * conform/data/stdio.h-data: Likewise.
26142         * conform/data/stdlib.h-data: Likewise.
26143         * conform/data/stropts.h-data: Likewise.
26144         * conform/data/sys/mman.h-data: Likewise.
26145         * conform/data/sys/stat.h-data: Likewise.
26146         * conform/data/sys/types.h-data: Likewise.
26147         * conform/data/sys/wait.h-data: Likewise.
26148         * conform/data/time.h-data: Likewise.
26149         * conform/data/unistd.h-data: Likewise.
26150         * conform/data/utime.h-data: Likewise.
26152         * io/sys/stat.h: fchmod was always in POSIX.
26153         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26154         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26155         * rt/aio.h: Define __need_timespec before including <time.h>.
26156         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26157         struct.  Add forward declaration of pthread_attr_t and use it in
26158         sigevent.
26159         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26160         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26161         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26162         always remove CLK_TCK definition.
26164 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26166         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26168 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26170         * conform/run-conformtest.sh: New file.
26171         * conform/Makefile: Run run-conformtest for tests.
26172         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26173         support.
26175         * conform/data/uchar.h-data: New file.
26176         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26177         * conform/data/arpa/inet.h-data: Likewise.
26178         * conform/data/assert.h-data: Likewise.
26179         * conform/data/complex.h-data: Likewise.
26180         * conform/data/cpio.h-data: Likewise.
26181         * conform/data/ctype.h-data: Likewise.
26182         * conform/data/dirent.h-data: Likewise.
26183         * conform/data/dlfcn.h-data: Likewise.
26184         * conform/data/errno.h-data: Likewise.
26185         * conform/data/fcntl.h-data: Likewise.
26186         * conform/data/float.h-data: Likewise.
26187         * conform/data/fmtmsg.h-data: Likewise.
26188         * conform/data/fnmatch.h-data: Likewise.
26189         * conform/data/ftw.h-data: Likewise.
26190         * conform/data/glob.h-data: Likewise.
26191         * conform/data/grp.h-data: Likewise.
26192         * conform/data/iconv.h-data: Likewise.
26193         * conform/data/inttypes.h-data: Likewise.
26194         * conform/data/langinfo.h-data: Likewise.
26195         * conform/data/libgen.h-data: Likewise.
26196         * conform/data/limits.h-data: Likewise.
26197         * conform/data/locale.h-data: Likewise.
26198         * conform/data/math.h-data: Likewise.
26199         * conform/data/monetary.h-data: Likewise.
26200         * conform/data/mqueue.h-data: Likewise.
26201         * conform/data/ndbm.h-data: Likewise.
26202         * conform/data/net/if.h-data: Likewise.
26203         * conform/data/netdb.h-data: Likewise.
26204         * conform/data/netinet/in.h-data: Likewise.
26205         * conform/data/nl_types.h-data: Likewise.
26206         * conform/data/poll.h-data: Likewise.
26207         * conform/data/pthread.h-data: Likewise.
26208         * conform/data/pwd.h-data: Likewise.
26209         * conform/data/regex.h-data: Likewise.
26210         * conform/data/sched.h-data: Likewise.
26211         * conform/data/search.h-data: Likewise.
26212         * conform/data/semaphore.h-data: Likewise.
26213         * conform/data/setjmp.h-data: Likewise.
26214         * conform/data/signal.h-data: Likewise.
26215         * conform/data/spawn.h-data: Likewise.
26216         * conform/data/stdarg.h-data: Likewise.
26217         * conform/data/stdio.h-data: Likewise.
26218         * conform/data/stdlib.h-data: Likewise.
26219         * conform/data/string.h-data: Likewise.
26220         * conform/data/strings.h-data: Likewise.
26221         * conform/data/stropts.h-data: Likewise.
26222         * conform/data/sys/ipc.h-data: Likewise.
26223         * conform/data/sys/mman.h-data: Likewise.
26224         * conform/data/sys/msg.h-data: Likewise.
26225         * conform/data/sys/resource.h-data: Likewise.
26226         * conform/data/sys/select.h-data: Likewise.
26227         * conform/data/sys/sem.h-data: Likewise.
26228         * conform/data/sys/shm.h-data: Likewise.
26229         * conform/data/sys/socket.h-data: Likewise.
26230         * conform/data/sys/stat.h-data: Likewise.
26231         * conform/data/sys/statvfs.h-data: Likewise.
26232         * conform/data/sys/time.h-data: Likewise.
26233         * conform/data/sys/timeb.h-data: Likewise.
26234         * conform/data/sys/times.h-data: Likewise.
26235         * conform/data/sys/types.h-data: Likewise.
26236         * conform/data/sys/uio.h-data: Likewise.
26237         * conform/data/sys/un.h-data: Likewise.
26238         * conform/data/sys/utsname.h-data: Likewise.
26239         * conform/data/sys/wait.h-data: Likewise.
26240         * conform/data/syslog.h-data: Likewise.
26241         * conform/data/tar.h-data: Likewise.
26242         * conform/data/termios.h-data: Likewise.
26243         * conform/data/utime.h-data: Likewise.
26244         * conform/data/utmpx.h-data: Likewise.
26245         * conform/data/varargs.h-data: Likewise.
26246         * conform/data/wchar.h-data: Likewise.
26247         * conform/data/wctype.h-data: Likewise.
26248         * conform/data/wordexp.h-data: Likewise.
26250         * include/stropts.h: New file.
26251         * include/uchar.h: New file.
26252         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26253         * include/assert.h: Likewise.
26254         * include/ctype.h: Likewise.
26255         * include/dirent.h: Likewise.
26256         * include/dlfcn.h: Likewise.
26257         * include/fcntl.h: Likewise.
26258         * include/fnmatch.h: Likewise.
26259         * include/glob.h: Likewise.
26260         * include/grp.h: Likewise.
26261         * include/libio.h: Likewise.
26262         * include/locale.h: Likewise.
26263         * include/math.h: Likewise.
26264         * include/net/if.h: Likewise.
26265         * include/netdb.h: Likewise.
26266         * include/netinet/in.h: Likewise.
26267         * include/pthread.h: Likewise.
26268         * include/pwd.h: Likewise.
26269         * include/regex.h: Likewise.
26270         * include/sched.h: Likewise.
26271         * include/search.h: Likewise.
26272         * include/setjmp.h: Likewise.
26273         * include/signal.h: Likewise.
26274         * include/stdio.h: Likewise.
26275         * include/stdlib.h: Likewise.
26276         * include/string.h: Likewise.
26277         * include/sys/cdefs.h: Likewise.
26278         * include/sys/mman.h: Likewise.
26279         * include/sys/msg.h: Likewise.
26280         * include/sys/resource.h: Likewise.
26281         * include/sys/select.h: Likewise.
26282         * include/sys/socket.h: Likewise.
26283         * include/sys/stat.h: Likewise.
26284         * include/sys/statvfs.h: Likewise.
26285         * include/sys/time.h: Likewise.
26286         * include/sys/times.h: Likewise.
26287         * include/sys/uio.h: Likewise.
26288         * include/sys/utsname.h: Likewise.
26289         * include/sys/wait.h: Likewise.
26290         * include/termios.h: Likewise.
26291         * include/time.h: Likewise.
26292         * include/ulimit.h: Likewise.
26293         * include/unistd.h: Likewise.
26294         * include/utime.h: Likewise.
26295         * include/wchar.h: Likewise.
26296         * include/wctype.h: Likewise.
26297         * include/wordexp.h: Likewise.
26299         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26301         * time/time.h: TIME_UTC must be a macro.
26302         Make timespec_get available for ISO C11 only as well.
26304 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26306         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26307         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26309 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26311         * configure.in: Use -o not -a in test for unsupported multi-arch.
26313 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26315         * manual/texinfo.tex: Update to version 2012-01-19.16.
26317 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26319         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26321 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26323         [BZ #13738]
26324         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26325         * manual/fdl-1.3.texi: New file.
26326         * manual/fdl-1.1.texi: File removed.
26328         [BZ #13738]
26329         * manual/libc.texinfo (FDL_VERSION): New @set.
26330         Use it for mention of FDL in cover text.
26331         (Documentation License): Use it in @include file name.
26333 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26334             Roland McGrath  <roland@hack.frob.com>
26336         [BZ #5461]
26337         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26338         not LONG_LONG_MAX and LONG_LONG_MIN.
26339         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26340         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26341         name.
26342         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26344 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26346         [BZ #2547]
26347         [BZ #11365]
26348         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26349         manipulate bits before adding and subtracting TWO23[sx].
26350         * math/libm-test.inc (nearbyint_test): Add more tests.
26352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26354         [BZ #2548]
26355         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26356         bits before adding and subtracting TWO23[sx].
26357         * math/libm-test.inc (rint_test): Add more tests.
26358         (rint_test_tonearest): Likewise.
26359         (rint_test_towardzero): Likewise.
26360         (rint_test_downward): Likewise.
26361         (rint_test_upward: Likewise.
26363 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26365         [BZ #10110]
26366         * include/stdc-predef.h: New file.  Extracted from features.h.
26367         * include/features.h: Include stdc-predef.h.
26368         * Makefile (headers): Add stdc-predef.h.
26369         * CONFORMANCE (Compiler limitations): Update.
26371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26373         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26375 2012-02-21  David S. Miller  <davem@davemloft.net>
26377         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26378         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26380 2012-02-20  David S. Miller  <davem@davemloft.net>
26382         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26383         using a normal save/restore sequence, rather than allocating a
26384         dummy stack frame just to store a frame pointer and restore.
26385         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26387 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26389         * manual/install.texi: Fix stray word in line-wrapped comment.
26391 2012-02-20  David S. Miller  <davem@davemloft.net>
26393         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26394         both binutils and gcc support GOTDATA.
26396         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26397         "rd %pc" in the PIC register setup sequences.
26399         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26400         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26402         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26403         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26405         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26408         (SYSCALL_ERROR_HANDLER): Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26412         (SYSCALL_ERROR_HANDLER): Likewise.
26414         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26415         (HAVE_GCC_GOTDATA): New.
26416         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26417         relocation support in both binutils and gcc.
26418         * sysdeps/sparc/elf/configure: Regenerate.
26420         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26421         * sysdeps/sparc/sparc32/elf/configure: Delete.
26422         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26423         * sysdeps/sparc/sparc64/elf/configure: Delete.
26424         * sysdeps/sparc/elf/configure.in: New file.
26425         * sysdeps/sparc/elf/configure: Generate.
26427         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26428         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26429         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26430         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26431         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26433 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26435         * manual/install.texi: Do not mention specific glibc version
26436         numbers.
26437         * manual/libc.texinfo (VERSION, UPDATED): Update.
26438         (@copying): Use @copyright{} and range of years.
26440 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26442         [BZ #13695]
26443         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26444         [crti.S not in sysdirs] (generated): Do not append.
26445         [crti.S not in sysdirs] (omit-deps): Likewise.
26446         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26447         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26448         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26449         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26450         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26451         Likewise.
26452         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26453         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26454         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26455         * csu/defs.awk: Remove file.
26456         * sysdeps/generic/initfini.c: Likewise.
26457         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26458         variable.
26459         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26460         Likewise.
26462 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26464         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26465         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26466         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26468         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26469         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26470         <bits/epoll.h>.
26471         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26472         (__EPOLL_PACKED): Define to empty if not defined by
26473         <bits/epoll.h>.
26474         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26476         bits/epoll.h.
26478 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26480         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26481         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26482         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26483         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26484         <bits/timerfd.h>.
26485         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26487         bits/timerfd.h.
26489 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26491         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26492         in C locale.
26493         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26494         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26495         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26498 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26500         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26501         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26503 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26505         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26506         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26507         defined.
26508         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26509         Likewise.
26510         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26511         entry for 2.16.
26513 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26515         * math/w_acos.c: Use non-signaling floating-point comparisons.
26516         * math/w_acosf.c: Likewise.
26517         * math/w_acosh.c: Likewise.
26518         * math/w_acoshf.c: Likewise.
26519         * math/w_acoshl.c: Likewise.
26520         * math/w_acosl.c: Likewise.
26521         * math/w_asin.c: Likewise.
26522         * math/w_asinf.c: Likewise.
26523         * math/w_asinl.c: Likewise.
26524         * math/w_atanh.c: Likewise.
26525         * math/w_atanhf.c: Likewise.
26526         * math/w_atanhl.c: Likewise.
26527         * math/w_exp2.c: Likewise.
26528         * math/w_exp2f.c: Likewise.
26529         * math/w_exp2l.c: Likewise.
26530         * math/w_j0.c: Likewise.
26531         * math/w_j0f.c: Likewise.
26532         * math/w_j0l.c: Likewise.
26533         * math/w_j1.c: Likewise.
26534         * math/w_j1f.c: Likewise.
26535         * math/w_j1l.c: Likewise.
26536         * math/w_jn.c: Likewise.
26537         * math/w_jnf.c: Likewise.
26538         * math/w_log.c: Likewise.
26539         * math/w_log10.c: Likewise.
26540         * math/w_log10f.c: Likewise.
26541         * math/w_log10l.c: Likewise.
26542         * math/w_log2.c: Likewise.
26543         * math/w_log2f.c: Likewise.
26544         * math/w_log2l.c: Likewise.
26545         * math/w_logf.c: Likewise.
26546         * math/w_logl.c: Likewise.
26547         * math/w_sqrt.c: Likewise.
26548         * math/w_sqrtf.c: Likewise.
26549         * math/w_sqrtl.c: Likewise.
26550         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26551         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26552         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26553         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26554         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26556 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26558         [BZ #9739]
26559         * manual/string.texi (strnlen): Use correct parameter name in
26560         equivalent expression.
26562 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26564         [BZ #11174]
26565         * manual/users.texi (seteuid): Consistently use neweuid for
26566         argument name.
26568 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26570         [BZ #13704]
26571         * manual/nss.texi (Services in the NSS configuration): Correct
26572         list of services in example configuration file.
26574 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26576         [BZ #11322]
26577         * manual/arith.texi: Remove statements about negative zero
26578         behaving identically to zero.
26580 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26582         [BZ #5993]
26583         * manual/install.texi: Do not document upgrading from libc5.
26585 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26587         [BZ #4596]
26588         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26590 2012-02-18  David S. Miller  <davem@davemloft.net>
26592         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26593         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26594         %o7 across the call.
26595         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26596         instead.
26597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26598         SETUP_PIC_REG_LEAF.
26599         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26600         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26601         * sysdeps/sparc/crtn.S: Likewise.
26603 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26605         * aout/Makefile: Remove.
26607 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26609         [BZ #13058]
26610         * manual/examples/argp-ex1.c (main): Format definition in GNU
26611         style.
26612         * manual/examples/argp-ex2.c (main): Likewise.
26613         * manual/examples/argp-ex3.c (main): Likewise.
26614         * manual/examples/argp-ex4.c (main): Likewise.
26615         * manual/examples/longopt.c (main): Use new-style prototype
26616         definition.
26617         * manual/examples/strncat.c (main): Specify return type and use
26618         (void) for arguments.
26619         * manual/examples/subopt.c (main): Use char **argv argument.
26621 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26623         [BZ #5077]
26624         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26625         rounding modes.
26627 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26629         [BZ #6907]
26630         * manual/string.texi (strchr): Change when strchrnul is
26631         recommended.
26633 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26635         [BZ #174]
26636         * manual/locale.texi (setlocale): Document LOCPATH.
26638 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26640         [BZ #10210]
26641         * manual/process.texi (execle): Move @dots{} before last argument.
26643 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26645         [BZ #12047]
26646         * manual/charset.texi (Generic Charset Conversion): Fix typo
26647         (LC_TYPE -> LC_CTYPE).
26649 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26651         [BZ #5805]
26652         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26653         (scalbnf): Likewise.
26654         (scalbnl): Likewise.
26655         (scalbln): Likewise.
26656         (scalblnf): Likewise.
26657         (scalblnl): Likewise.
26658         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26659         (vwarnx): Likewise.
26660         (verr): Likewise.
26661         (verrx): Likewise.
26662         * manual/filesys.texi (telldir): Use braces around return type.
26663         * manual/llio.texi (mmap): Add space after comma.
26664         (mmap64): Likewise.
26665         * manual/math.texi (jn): Use @var{} on parameter names.
26666         (jnf): Likewise.
26667         (jnl): Likewise.
26668         (yn): Likewise.
26669         (ynf): Likewise.
26670         (ynl): Likewise.
26671         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26672         line.
26673         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26674         "...".
26675         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26676         (sched_get_priority_max): Likewise.
26677         * manual/signal.texi (sigvec): Add space after comma.
26678         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26679         names.
26680         (if_indextoname): Likewise.
26681         (if_freenameindex): Likewise.
26682         (sendto): Use ',' instead of '.' in prototype.
26683         * manual/startup.texi (syscall): Use @dots{} instead of literal
26684         "...".
26685         * manual/stdio.texi (__fpending): Separate initial words of
26686         paragraph from @deftypefun line.
26687         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26688         "...".
26689         (vsyslog): Use @var{} on parameter names.
26690         * manual/terminal.texi (stty): Use @var{} on parameter names.
26691         * manual/users.texi (getutmp): Use @var{} on parameter names.
26692         (getutmpx): Likewise.
26694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26696         [BZ #6884]
26697         * manual/stdio.texi (fopen): Fix typos in description of
26698         ",ccs=STRING".
26700 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26702         [BZ #4026]
26703         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26704         get clock_id definition.
26706 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26708         [BZ #4822]
26709         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26710         (madvise): Cast every argument to void on its own.
26712 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #9902]
26715         * manual/startup.texi (Exit Status): Fix typo.
26717 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #10140]
26720         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26721         * manual/examples/argp-ex2.c: Likewise.
26722         * manual/examples/argp-ex3.c: Likewise.
26724 2012-02-16  Richard Henderson  <rth@redhat.com>
26726         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26727         * sysdeps/s390/s390-32/initfini.c: Remove.
26728         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26729         * sysdeps/s390/s390-64/initfini.c: Remove.
26731 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26733         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26734         compiler output for sysdeps/generic/initfini.c.
26735         * sysdeps/sh/elf/initfini.c: Remove file.
26737 2012-02-16  David S. Miller  <davem@davemloft.net>
26739         [BZ #11494]
26740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26742         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26743         * sysdeps/sparc/crti.S: New file.
26744         * sysdeps/sparc/crtn.S: New file.
26745         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26746         * sysdeps/sparc/sparc64/Makefile: Likewise.
26748 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26750         [BZ #3335]
26751         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26753 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26755         [BZ #4822]
26756         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26758         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26759         (write, read, close): Likewise.
26760         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26762 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26764         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26765         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26766         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26767         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26768         <bits/signalfd.h>.
26769         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26771         bits/signalfd.h.
26773 2012-02-14  Marek Polacek  <polacek@redhat.com>
26775         * sysdeps/x86_64/crti.S: New file.
26776         * sysdeps/x86_64/crtn.S: New file.
26777         * sysdeps/x86_64/elf/initfini.c: Remove file.
26779 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26781         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26782         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26783         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26784         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26785         <bits/inotify.h>.
26786         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26788         bits/inotify.h.
26790 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26792         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26793         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26794         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26795         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26796         <bits/eventfd.h>.
26797         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26799         bits/eventfd.h.
26801 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26803         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26804         __feraiseexcept instead of feraiseexcept.
26806         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26807         nanosleep invocations.
26808         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26809         strings, and add error checking for a nanosleep invocations.
26811 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26813         Replace FSF snail mail address with URLs, as per GNU coding standards.
26814         Most of the snail mail addresses were wrong anyway, and omitting
26815         them makes the source code easier to maintain.  Almost all of the
26816         changes are to license notices and to locale LC_IDENTIFICATION
26817         addresses, except for this one:
26818         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26819         not its snail mail address.
26821 2012-02-09  Richard Henderson  <rth@twiddle.net>
26823         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26824         of kernel-features.h.
26826         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26828 2012-02-08  Marek Polacek  <polacek@redhat.com>
26830         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26831         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26832         * sysdeps/gnu/_G_config.h: Likewise.
26833         * sysdeps/generic/_G_config.h: Likewise.
26835 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26837         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26838         tests.
26839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26841         * sysdeps/powerpc/powerpc32/crti.S: New file.
26842         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26843         * sysdeps/powerpc/powerpc64/crti.S: New file.
26844         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26846         * Makeconfig (have-initfini): Don't set.
26847         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26848         * configure.in (nopic_initfini): Don't substitute.
26849         * config.h.in (HAVE_INITFINI): Don't #undef.
26850         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26851         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26853 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
26855         Support crti.S and crtn.S provided directly by architectures.
26856         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26857         [crti.S in sysdirs] (omit-deps): Likewise.
26858         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26859         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26860         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26861         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26862         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26863         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26864         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26865         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26866         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26867         compiler output for sysdeps/generic/initfini.c.
26868         * sysdeps/i386/elf/Makefile: Remove file.
26869         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26871 2012-02-07  Marek Polacek  <polacek@redhat.com>
26873         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26874         * sysdeps/gnu/_G_config.h: Likewise.
26875         * sysdeps/mach/hurd/_G_config.h: Likewise.
26877 2012-02-07  Marek Polacek  <polacek@redhat.com>
26879         * math/Makefile (tests): Add tst-CMPLX2.
26880         * math/tst-CMPLX2.c: New file.
26882 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
26884         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26886         * math/libm-test.inc (jn_test): Add missing L suffix.
26888 2012-02-06  Marek Polacek  <polacek@redhat.com>
26890         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26891         * sysdeps/i386/fpu/e_powf.S: Likewise.
26892         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26893         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26894         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26895         * sysdeps/i386/fpu/e_pow.S: Likewise.
26896         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26897         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26898         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26899         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26900         * sysdeps/i386/fpu/e_log2.S: Likewise.
26901         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26902         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26903         * sysdeps/i386/fpu/e_powl.S: Likewise.
26904         * sysdeps/i386/fpu/s_log1p.S: Likewise.
26905         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26906         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26907         * sysdeps/i386/fpu/e_logl.S: Likewise.
26908         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26909         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26910         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26911         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26912         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26913         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26914         * sysdeps/i386/fpu/e_log.S: Likewise.
26915         * sysdeps/i386/fpu/s_cexp.S: Likewise.
26916         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26917         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26918         * sysdeps/i386/fpu/e_logf.S: Likewise.
26919         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26920         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26921         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26922         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26923         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26924         * sysdeps/i386/fpu/e_log10.S: Likewise.
26925         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26926         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26927         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26928         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26929         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26930         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26931         * sysdeps/i386/asm-syntax.h: Likewise.
26932         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26934         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26935         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26936         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26937         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26938         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26939         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26940         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26941         * sysdeps/powerpc/sysdep.h: Likewise.
26942         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26943         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26945 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26947         [BZ #411]
26948         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26950 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
26952         * sysdeps/i386/sysdep.h: Include <features.h>.
26953         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26954         version.
26956 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
26958         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26959         Define.
26960         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26961         LOAD_PIC_REG_STR.
26963 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26965         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26966         (SETUP_PIC_REG): Use GET_PC_THUNK.
26967         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26968         macro.
26970 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
26972         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26973         for non-PIC compilation.
26974         (SETUP_PIC_REG): Add .p2align directive.
26975         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26976         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26977         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26978         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26979         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26980         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26981         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26982         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26983         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26984         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26985         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26986         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26987         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26988         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26989         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26990         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26991         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26992         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26993         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26994         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26996         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26997         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26998         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26999         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27001         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27002         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27003         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27004         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27005         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27006         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27007         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27008         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27009         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27010         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27011         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27012         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27013         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27014         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27015         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27017 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27019         * math/tst-CMPLX.c: Include <stdio.h>.
27021 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27023         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27024         float.
27025         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27026         * sysdeps/sparc/bits/mathdef.h: Likewise.
27028 2012-01-31  Marek Polacek  <polacek@redhat.com>
27030         * libio/libio.h: Don't define _PARAMS.
27031         * locale/programs/config.h: Don't define PARAMS.
27032         * stdlib/strtol_l.c: Likewise.
27033         (__strtol_l): Remove PARAMS from the prototype.
27035 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27037         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27038         names.  Just use the correct names.  Remove unnecessary wrapper
27039         functions.
27040         * malloc/arena.c: Likewise.
27041         * malloc/hooks.c: Likewise.
27043         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27044         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27045         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27047 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27049         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27050         into tail calls.
27051         (update_get_addr): New function.
27052         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27053         GET_ADDR_MODULE parameter.
27055 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27057         * crypt/cert.c: Remove __STDC__ conditionals.
27058         * crypt/crypt-entry.c: Likewise.
27059         * crypt/crypt_util.c: Likewise.
27060         * libio/filedoalloc.c: Likewise.
27061         * libio/fileops.c: Likewise.
27062         * libio/genops.c: Likewise.
27063         * libio/iofclose.c: Likewise.
27064         * libio/iofdopen.c: Likewise.
27065         * libio/iofopen.c: Likewise.
27066         * libio/iofopen64.c: Likewise.
27067         * libio/iogetdelim.c: Likewise.
27068         * libio/iopopen.c: Likewise.
27069         * libio/obprintf.c: Likewise.
27070         * libio/oldfileops.c: Likewise.
27071         * libio/oldiofclose.c: Likewise.
27072         * libio/oldiofdopen.c: Likewise.
27073         * libio/oldiofopen.c: Likewise.
27074         * libio/oldiopopen.c: Likewise.
27075         * libio/wfiledoalloc.c: Likewise.
27076         * libio/wgenops.c: Likewise.
27077         * locale/programs/xmalloc.c: Likewise.
27078         * misc/syslog.c: Likewise.
27079         * stdio-common/xbug.c: Likewise.
27080         * string/memchr.c: Likewise.
27081         * string/memcmp.c: Likewise.
27082         * string/memrchr.c: Likewise.
27083         * string/rawmemchr.c: Likewise.
27084         * sysdeps/posix/getcwd.c: Likewise.
27085         * time/strftime_l.c: Likewise.
27087 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27089         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27090         * config.make.in (config-cflags-sse2avx): Define.
27091         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27092         Fix typo.
27094 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27096         * scripts/config.guess: Update from upstream config git repository.
27097         * scripts/config.sub: Likewise.
27099 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27101         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27102         (EM_NUM): Update.
27103         (R_TILEPRO_*, R_TILEGX_*): New macros.
27105         * scripts/firstversions.awk: Fix bug in version range handling.
27107         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27109         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27111         * include/sys/epoll.h: New file.
27112         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27113         libc_hidden_def.
27115 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27117         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27118         Avoid unnecessary __WORDSIZE == 64 test.
27119         (fmaxf): Use VEX format if possible.
27120         (fmax): Likewise.
27121         (fminf): Likewise.
27122         (fmin): Likewise.
27124         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27125         * math/math_private.h: Remove libc_fegetround* and
27126         libc_fesetround*.
27127         * sysdeps/i386/configure.in: Check for -msse2avx.
27128         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27129         also if SSE2AVX is defined.
27130         Remove libc_fegetround* and libc_fesetround*.
27131         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27132         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27133         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27134         of HAS_YMM_USABLE.
27135         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27136         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27137         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27139         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27141         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27143 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27145         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27146         size is not set.
27147         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27149 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27151         [BZ #13618]
27152         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27153         relocation.
27154         * Makeconfig (libm): Define.
27155         * elf/Makefile: Add rules to build and run tst-relsort1.
27156         * elf/tst-relsort1.c: New file.
27157         * elf/tst-relsort1mod1.c: New file.
27158         * elf/tst-relsort1mod2.c: New file.
27160 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27162         * math/s_ldexp.c: Remove __STDC__ conditionals.
27163         * math/s_ldexpf.c: Likewise.
27164         * math/s_ldexpl.c: Likewise.
27165         * math/s_nextafter.c: Likewise.
27166         * math/s_nexttowardf.c: Likewise.
27167         * math/s_significand.c: Likewise.
27168         * math/s_significandf.c: Likewise.
27169         * math/s_significandl.c: Likewise.
27170         * math/w_jnl.c: Likewise.
27171         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27172         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27173         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27174         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27175         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27176         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27177         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27178         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27179         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27180         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27181         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27182         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27183         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27184         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27185         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27186         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27187         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27188         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27190         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27191         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27192         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27193         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27195         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27196         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27197         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27198         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27199         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27200         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27201         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27202         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27203         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27204         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27205         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27206         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27207         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27208         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27209         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27210         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27211         * sysdeps/ieee754/k_standard.c: Likewise.
27212         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27213         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27215         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27216         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27217         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27224         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27226         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27228         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27230         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27231         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27232         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27233         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27234         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27235         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27236         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27237         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27241         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27242         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27243         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27244         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27245         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27247         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27248         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27249         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27250         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27251         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27252         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27253         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27254         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27255         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27256         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27257         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27259         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27260         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27261         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27262         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27263         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27264         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27265         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27266         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27267         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27268         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27269         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27270         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27271         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27272         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27273         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27274         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27275         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27276         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27277         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27278         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27279         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27280         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27281         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27282         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27283         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27284         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27285         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27286         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27287         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27288         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27289         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27290         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27291         * sysdeps/ieee754/s_matherr.c: Likewise.
27292         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27293         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27297 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27299         * crypt/md5.h: Remove __STDC__ conditionals.
27300         * libio/libioP.h: Likewise.
27301         * locale/programs/config.h: Likewise.
27302         * sysdeps/generic/sysdep.h: Likewise.
27303         * sysdeps/i386/asm-syntax.h: Likewise.
27304         * sysdeps/s390/asm-syntax.h: Likewise.
27305         * sysdeps/unix/sysdep.h: Likewise.
27306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27309 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27311         * libio/libio.h: Remove __STDC__ conditionals.
27312         * malloc/obstack.h: Likewise.
27313         * math/complex.h: Likewise.
27314         * math/math.h: Likewise.
27315         * sysdeps/generic/_G_config.h: Likewise.
27316         * sysdeps/gnu/_G_config.h: Likewise.
27317         * sysdeps/mach/hurd/_G_config.h: Likewise.
27318         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27319         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27320         * sysdeps/sparc/bits/mathdef.h: Likewise.
27322 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27324         [BZ #13583]
27325         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27326         Clean up HAS_* macros.
27327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27328         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27329         possible.
27330         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27331         HAS_AVX.
27332         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27333         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27334         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27335         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27336         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27338 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27340         * elf/tst-unique3.cc (gets): Remove declaration.
27341         * elf/tst-unique3lib.cc (gets): Likewise.
27342         * elf/tst-unique3lib2.cc (gets): Likewise.
27343         * elf/tst-unique4.cc (gets): Likewise.
27345 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27347         * include/stdio.h: Add C++ protection.  Add gets declarations and
27348         definitions.
27349         * debug/tst-chk1.c: Don't declare gets here.
27350         * stdio-common/tst-gets.c: Likewise.
27352 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27354         * posix/glob: Remove directory.
27356 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27358         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27360 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27362         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27363         of the non-standard EPFNOSUPPORT.
27365 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27367         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27368         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27369         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27371 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27373         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27375 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27377         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27378         transient errors.
27379         * nscd/grpcache.c (cache_addgr): Likewise.
27380         * nscd/hstcache.c (cache_addhst): Likewise.
27381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27382         * nscd/pwdcache.c (cache_addpw): Likewise.
27383         * nscd/servicescache.c (cache_addserv): Likewise.
27385 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27387         * malloc/malloc.c: Various cleanups.
27388         * malloc/hooks.c: Likewise.
27390         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27391         * stdlib/bug-fmtmsg1.c: New file.
27393         * stdlib/fmtmsg.c (init): Add missing unlock.
27394         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27396 2012-01-12  Marek Polacek  <polacek@redhat.com>
27398         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27399         and _GNU_SOURCE.
27401 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27403         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27404         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27405         macro to ensure uniqueness of label name.
27406         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27407         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27409 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27411         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27413         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27414         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27415         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27418 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27420         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27422         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27423         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27424         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27426         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27428         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27429         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27430         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27433         * math/bits/math-finite.h: Add ldexp support.
27435 2012-01-10  Marek Polacek  <polacek@redhat.com>
27437         * locale/programs/localedef.h (show_archive_content): Add noreturn
27438         attribute.
27440 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27442         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27444 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27446         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27448         * io/Makefile (headers): Add bits/poll2.h.
27450 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27453         typo #include statement.
27455 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27457         * include/sys/cdefs.h: Define __attribute_alloc_size.
27458         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27459         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27460         * elf/pldd.c: Likewise.
27461         * iconv/iconv_charmap.c: Likewise.
27462         * iconv/iconvconfig.c: Likewise.
27463         * iconv/strtab.c: Likewise.
27464         * locale/programs/locale.c: Likewise.
27465         * locale/programs/localedef.h: Likewise.
27466         * locale/programs/simple-hash.c: Likewise.
27467         * nscd/nscd.h: Likewise.
27468         * nss/makedb.c: Likewise.
27469         * sysdeps/generic/ldconfig.h: Likewise.
27470         * locale/programs/localedef.c: Remove xmalloc prototype.
27471         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27473 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27476         appropriate.
27478 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27480         * math/Makefile (tests): Add tst-CMPLX.
27481         * math/tst-CMPLX.c: New file.
27483         * math/complex.h (CMPLXL): Fix typo.
27485         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27486         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27487         GLIBC_2.16.
27488         * debug/tst-chk1.c: Add poll and ppoll tests.
27489         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27490         * include/sys/poll.h: Add hidden proto for ppoll.
27491         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27492         * sysdeps/mach/hurd/ppoll.c: Likewise.
27493         * io/ppoll.c: Likewise.
27494         * debug/poll_chk.c: New file.
27495         * debug/ppoll_chk.c: New file.
27496         * include/bits/poll2.h: New file.
27497         * io/bits/poll2.h: New file.
27499         [BZ #1350]
27500         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27502         * configure.in: static is always set to yes.  Remove.
27503         * config.make.in: Don't set build-static.
27504         * Makeconfig: Remove use of build-static.
27505         * dlfcn/Makefile: Likewise.
27506         * elf/Makefile: Likewise.
27507         * math/Makefile: Likewise.
27508         * misc/Makefile: Likewise.
27509         * nptl/Makefile: Likewise.
27510         * sysdeps/mach/hurd/Makefile: Likewise.
27512         * configure.in: PWD_P is not used anymore.
27513         * config.make.in: Remove PWD_P entry.
27515         * configure.in: Remove last remnants of RANLIB.
27516         No need to check for signed size_t anymore.
27517         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27518         and IA-64.
27519         Remove __builtin_expect test because we require at least gcc 3.4.
27520         * aclocal.m4: Likewise.
27522         * wcsmbs/mbrtoc16.c: Implement using towc function.
27523         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27524         * wcsmbs/wcsmbsload.c: Likewise.
27525         * iconv/gconv_simple.c: Likewise.
27526         * iconv/gconv_int.h: Likewise.
27527         * iconv/gconv_builtin.h: Likewise.
27528         * iconv/iconv_prog.c: Remove CHAR16 handling.
27530         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27532         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27534         * configure.in: Remove --with-elf and --enable-bounded options.
27535         Dont set base_machine for ia64.  More non-ELF conditions removed.
27536         Remove testing and setting of leading underscore information.
27537         * config.make.in (build-bounded): Set to no.
27538         * config.h.in: Remove NO_UNDERSCORES entry.
27539         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27540         them.
27541         * csu/start.c: Remove !NO_UNDERSCORE code.
27542         * locale/localeinfo.h: Likewise.
27543         * sysdeps/generic/machine-gmon.h: Likewise.
27544         * sysdeps/generic/sysdep.h: Likewise.
27545         * sysdeps/i386/sysdep.h: Likewise.
27546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27547         * sysdeps/mach/sysdep.h: Likewise.
27548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27550         * sysdeps/sh/sysdep.h: Likewise.
27551         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27552         * sysdeps/unix/i386/sysdep.S: Likewise.
27553         * sysdeps/unix/sparc/start.c: Likewise.
27554         * sysdeps/unix/sparc/sysdep.S: Likewise.
27555         * sysdeps/unix/sparc/sysdep.h: Likewise.
27556         * sysdeps/unix/start.c: Likewise.
27557         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27558         * sysdeps/x86_64/sysdep.h: Likewise.
27560 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27562         [BZ #13553]
27563         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27564         for non-gcc.
27565         * argp/argp-fmtstream.h: Use const instead __const.
27566         * argp/argp.h: Likewise.
27567         * assert/assert.h: Likewise.
27568         * bits/fenv.h: Likewise.
27569         * bits/sched.h: Likewise.
27570         * bits/sigset.h: Likewise.
27571         * bits/sigthread.h: Likewise.
27572         * catgets/nl_types.h: Likewise.
27573         * conform/data/pthread.h-data: Likewise.
27574         * crypt/crypt-private.h: Likewise.
27575         * crypt/crypt.h: Likewise.
27576         * crypt/crypt_util.c: Likewise.
27577         * ctype/ctype.h: Likewise.
27578         * debug/execinfo.h: Likewise.
27579         * debug/mbsnrtowcs_chk.c: Likewise.
27580         * debug/mbsrtowcs_chk.c: Likewise.
27581         * debug/wcsnrtombs_chk.c: Likewise.
27582         * debug/wcsrtombs_chk.c: Likewise.
27583         * debug/wcstombs_chk.c: Likewise.
27584         * dirent/dirent.h: Likewise.
27585         * dlfcn/dlfcn.h: Likewise.
27586         * elf/neededtest4.c: Likewise.
27587         * grp/grp.h: Likewise.
27588         * gshadow/gshadow.h: Likewise.
27589         * iconv/gconv.h: Likewise.
27590         * iconv/gconv_int.h: Likewise.
27591         * iconv/gconv_simple.c: Likewise.
27592         * iconv/iconv.h: Likewise.
27593         * iconv/loop.c: Likewise.
27594         * iconv/skeleton.c: Likewise.
27595         * include/aio.h: Likewise.
27596         * include/aliases.h: Likewise.
27597         * include/argz.h: Likewise.
27598         * include/arpa/inet.h: Likewise.
27599         * include/assert.h: Likewise.
27600         * include/dirent.h: Likewise.
27601         * include/dlfcn.h: Likewise.
27602         * include/execinfo.h: Likewise.
27603         * include/fcntl.h: Likewise.
27604         * include/fenv.h: Likewise.
27605         * include/glob.h: Likewise.
27606         * include/grp.h: Likewise.
27607         * include/libintl.h: Likewise.
27608         * include/mntent.h: Likewise.
27609         * include/netdb.h: Likewise.
27610         * include/pwd.h: Likewise.
27611         * include/rpc/netdb.h: Likewise.
27612         * include/sched.h: Likewise.
27613         * include/search.h: Likewise.
27614         * include/shadow.h: Likewise.
27615         * include/signal.h: Likewise.
27616         * include/stdio.h: Likewise.
27617         * include/stdlib.h: Likewise.
27618         * include/string.h: Likewise.
27619         * include/sys/socket.h: Likewise.
27620         * include/sys/stat.h: Likewise.
27621         * include/sys/statfs.h: Likewise.
27622         * include/sys/statvfs.h: Likewise.
27623         * include/sys/syslog.h: Likewise.
27624         * include/sys/time.h: Likewise.
27625         * include/sys/uio.h: Likewise.
27626         * include/time.h: Likewise.
27627         * include/unistd.h: Likewise.
27628         * include/utmp.h: Likewise.
27629         * include/wchar.h: Likewise.
27630         * include/wctype.h: Likewise.
27631         * inet/aliases.h: Likewise.
27632         * inet/arpa/inet.h: Likewise.
27633         * inet/netinet/ether.h: Likewise.
27634         * inet/netinet/in.h: Likewise.
27635         * intl/libintl.h: Likewise.
27636         * io/bits/fcntl2.h: Likewise.
27637         * io/fcntl.h: Likewise.
27638         * io/ftw.h: Likewise.
27639         * io/sys/poll.h: Likewise.
27640         * io/sys/stat.h: Likewise.
27641         * io/sys/statfs.h: Likewise.
27642         * io/sys/statvfs.h: Likewise.
27643         * io/utime.h: Likewise.
27644         * libio/bits/stdio.h: Likewise.
27645         * libio/bits/stdio2.h: Likewise.
27646         * libio/libio.h: Likewise.
27647         * libio/libioP.h: Likewise.
27648         * libio/stdio.h: Likewise.
27649         * locale/lc-ctype.c: Likewise.
27650         * locale/locale.h: Likewise.
27651         * login/utmp.h: Likewise.
27652         * malloc/arena.c: Likewise.
27653         * malloc/malloc.c: Likewise.
27654         * malloc/malloc.h: Likewise.
27655         * malloc/mcheck.c: Likewise.
27656         * malloc/mtrace.c: Likewise.
27657         * math/bits/mathcalls.h: Likewise.
27658         * math/fenv.h: Likewise.
27659         * math/math_private.h: Likewise.
27660         * misc/bits/error.h: Likewise.
27661         * misc/bits/syslog.h: Likewise.
27662         * misc/err.h: Likewise.
27663         * misc/error.h: Likewise.
27664         * misc/fstab.h: Likewise.
27665         * misc/mntent.h: Likewise.
27666         * misc/regexp.h: Likewise.
27667         * misc/search.h: Likewise.
27668         * misc/sgtty.h: Likewise.
27669         * misc/sys/mman.h: Likewise.
27670         * misc/sys/syslog.h: Likewise.
27671         * misc/sys/uio.h: Likewise.
27672         * misc/sys/xattr.h: Likewise.
27673         * misc/ttyent.h: Likewise.
27674         * nis/rpcsvc/ypclnt.h: Likewise.
27675         * nss/nss.h: Likewise.
27676         * posix/bits/unistd.h: Likewise.
27677         * posix/fnmatch.h: Likewise.
27678         * posix/glob.h: Likewise.
27679         * posix/sched.h: Likewise.
27680         * posix/spawn.h: Likewise.
27681         * posix/sys/wait.h: Likewise.
27682         * posix/unistd.h: Likewise.
27683         * posix/wordexp.h: Likewise.
27684         * pwd/pwd.h: Likewise.
27685         * resolv/netdb.h: Likewise.
27686         * resource/sys/resource.h: Likewise.
27687         * rt/aio.h: Likewise.
27688         * rt/bits/mqueue2.h: Likewise.
27689         * rt/mqueue.h: Likewise.
27690         * shadow/shadow.h: Likewise.
27691         * signal/signal.h: Likewise.
27692         * socket/send.c: Likewise.
27693         * socket/sendto.c: Likewise.
27694         * socket/sys/socket.h: Likewise.
27695         * stdio-common/printf.h: Likewise.
27696         * stdlib/bits/stdlib.h: Likewise.
27697         * stdlib/fmtmsg.h: Likewise.
27698         * stdlib/monetary.h: Likewise.
27699         * stdlib/stdlib.h: Likewise.
27700         * stdlib/ucontext.h: Likewise.
27701         * streams/stropts.h: Likewise.
27702         * string/argz.h: Likewise.
27703         * string/bits/string2.h: Likewise.
27704         * string/string.h: Likewise.
27705         * string/strings.h: Likewise.
27706         * sunrpc/rpc/auth.h: Likewise.
27707         * sunrpc/rpc/auth_des.h: Likewise.
27708         * sunrpc/rpc/clnt.h: Likewise.
27709         * sunrpc/rpc/netdb.h: Likewise.
27710         * sunrpc/rpc/pmap_clnt.h: Likewise.
27711         * sunrpc/rpc/xdr.h: Likewise.
27712         * sysdeps/generic/inttypes.h: Likewise.
27713         * sysdeps/generic/net/if.h: Likewise.
27714         * sysdeps/generic/sys/swap.h: Likewise.
27715         * sysdeps/gnu/net/if.h: Likewise.
27716         * sysdeps/gnu/utmpx.h: Likewise.
27717         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27718         * sysdeps/i386/i486/bits/string.h: Likewise.
27719         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27720         * sysdeps/s390/bits/string.h: Likewise.
27721         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27722         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27723         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27724         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27725         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27726         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27727         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27728         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27729         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27730         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27731         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27732         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27733         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27734         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27735         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27736         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27737         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27739         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27741         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27742         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27743         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27744         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27745         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27746         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27747         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27748         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27749         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27750         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27751         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27752         * sysvipc/sys/ipc.h: Likewise.
27753         * sysvipc/sys/msg.h: Likewise.
27754         * sysvipc/sys/sem.h: Likewise.
27755         * sysvipc/sys/shm.h: Likewise.
27756         * termios/termios.h: Likewise.
27757         * time/sys/time.h: Likewise.
27758         * time/time.h: Likewise.
27759         * wcsmbs/bits/wchar2.h: Likewise.
27760         * wcsmbs/uchar.h: Likewise.
27761         * wcsmbs/wchar.h: Likewise.
27762         * wctype/wctype.h: Likewise.
27764         [BZ #13551]
27765         * Makeconfig: Remove all but ELF support including AIX support.
27766         * Makerules: Likewise.
27767         * config.h.in: Likewise.
27768         * config.make.in: Likewise.
27769         * configure: Likewise.
27770         * configure.in: Likewise.
27771         * csu/Makefile: Likewise.
27772         * csu/version.c: Likewise.
27773         * debug/Makefile: Likewise.
27774         * dlfcn/Makefile: Likewise.
27775         * elf/Makefile: Likewise.
27776         * extra-lib.mk: Likewise.
27777         * iconv/Makefile: Likewise.
27778         * include/libc-symbols.h: Likewise.
27779         * include/shlib-compat.h: Likewise.
27780         * resolv/Makefile: Likewise.
27781         * resolv/res_libc.c: Likewise.
27782         * rt/Makefile: Likewise.
27783         * sysdeps/i386/asm-syntax.h: Likewise.
27784         * sysdeps/i386/sysdep.h: Likewise.
27785         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27786         * sysdeps/mach/sysdep.h: Likewise.
27787         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27788         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27789         * sysdeps/s390/asm-syntax.h: Likewise.
27790         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27791         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27792         * sysdeps/sh/sysdep.h: Likewise.
27793         * sysdeps/unix/sparc/sysdep.h: Likewise.
27794         * sysdeps/wordsize-32/divdi3.c: Likewise.
27795         * sysdeps/x86_64/sysdep.h: Likewise.
27797         * argp/Versions: Remove _argp_unlock_xxx.
27799         [BZ #13559]
27800         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27801         * abilist/libBrokenLocale.abilist: Likewise.
27802         * abilist/libanl.abilist: Likewise.
27803         * abilist/libc.abilist: Likewise.
27804         * abilist/libcrypt.abilist: Likewise.
27805         * abilist/libdl.abilist: Likewise.
27806         * abilist/libm.abilist: Likewise.
27807         * abilist/libnsl.abilist: Likewise.
27808         * abilist/libpthread.abilist: Likewise.
27809         * abilist/libresolv.abilist: Likewise.
27810         * abilist/librt.abilist: Likewise.
27811         * abilist/libthread_db.abilist: Likewise.
27812         * abilist/libutil.abilist: Likewise.
27813         * abilist/libnss_db.abilist: New file.
27815         * scripts/abilist.awk: Add support for indirect functions.
27817         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27819         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27821         * shlib-versions: Remove entries for ports architectures.
27823         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27824         files in ports.
27825         * elf/stackguard-macros.h: Remove support for IA-64.
27826         * elf/tst-auditmod1.c: Likewise.
27827         * sysdeps/generic/ldsodefs.h: Likewise.
27829         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27830         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27831         configure files.
27833         [BZ #13552]
27834         * configure.in: Remove --enable-omitfp support.
27835         * FAQ.in: Adjust.
27836         * config.make.in: Likewise.
27837         * Makeconfig: Likewise.
27838         * manual/install.texi: Likewise.
27840         In case anyone cares, the IA-64 architecture could move to ports.
27841         * sysdeps/ia64/*: Removed.
27842         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27843         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27845         [BZ #13555]
27846         * configure.in: Remove entries for unsupported architectures.
27848         [BZ #13533]
27849         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27850         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
27851         routines.
27852         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27853         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27854         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
27855         fall back to using wcrtomb.
27856         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27857         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
27858         renaming.
27859         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27860         * wcsmbs/tst-c16c32-1.c: New file.
27862         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27863         local variable.
27865         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27867         * elf/tst-unique3.cc: Add explicit declaration of gets.
27868         * elf/tst-unique3lib.cc: Likewise.
27869         * elf/tst-unique3lib2.cc: Likewise.
27870         * elf/tst-unique4.cc: Likewise.
27872         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27874 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
27876         [BZ #13566]
27877         * assert/assert.h (static_assert): Don't define for C++.
27878         * libio/stdio.h (gets): Do declare for C++ <= C++11.
27879         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27881 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
27883         * iconv/loop.c (single loop): Fix assertion in storing of
27884         remaining bytes.
27886         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27888 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
27890         * posix/getconf.c: Update copyright year.
27891         * nss/getent.c: Likewise.
27892         * nss/makedb.c: Likewise.
27893         * iconv/iconvconfig.c: Likewise.
27894         * iconv/iconv_prog.c: Likewise.
27895         * elf/ldconfig.c: Likewise.
27896         * elf/pldd.c: Likewise.
27897         * elf/sotruss.ksh: Likewise.
27898         * catgets/gencat.c: Likewise.
27899         * csu/version.c: Likewise.
27900         * elf/ldd.bash.in: Likewise.
27901         * elf/sprof.c (print_version): Likewise.
27902         * locale/programs/locale.c: Likewise.
27903         * locale/programs/localedef.c: Likewise.
27904         * login/programs/pt_chown.c: Likewise.
27905         * nscd/nscd.c (print_version): Likewise.
27906         * debug/xtrace.sh: Likewise.
27907         * malloc/memusage.sh: Likewise.
27908         * malloc/mtrace.pl: Likewise.
27909         * debug/catchsegv.sh: Likewise.
27911 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
27913         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27914         pure attribute.
27916 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
27918         [BZ #13533]
27919         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27920         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27921         transformations.
27922         * iconv/gconv_int.h: Likewise.
27923         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27924         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27925         from libc for GLIBC_2.16.
27926         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27927         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27928         * wcsmbs/uchar.h: Really define mbstate_t.
27929         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27930         * wcsmbs/c16rtomb.c: New file.
27931         * wcsmbs/mbrtoc16.c: New file.
27932         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27933         for C/POSIX locale.
27934         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27935         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27937         * wcsmbs/wchar.h: Add missing __restrict.
27939 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
27941         [BZ #13532]
27942         * time/Makefile (routines): Add timespec_get.
27943         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27944         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
27945         timespec for ISO C11.
27946         * time/timespec_get.c: New file.
27947         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27948         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27950         [BZ #13531]
27951         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27952         * stdlib/stdlib.h: Declare aligned_alloc.
27953         * Versions.def: Add GLIBC_2.16 for libc.
27954         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27956         [BZ 13527]
27957         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27958         ISO C11.
27960         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27961         code.
27963         [BZ #13528]
27964         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27966         [BZ #13529]
27967         * assert/assert.h (static_assert): Define.
27969         * version.h: Update for 2.16 development version.
27971         [BZ #13526]
27972         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27973         _ISOC11_SOURCE.
27975         * version.h (RELEASE): Bump for 2.15 release.
27976         * include/features.h (__GLIBC_MINOR__): Bump to 15.
27978         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27979         Patch by Marek Polacek <mpolacek@redhat.com>.
27981         * bits/byteswap.h: Protect long long constants with __extension__.
27982         * sysdeps/i386/bits/byteswap.h: Likewise.
27983         * sysdeps/ia64/bits/byteswap.h: Likewise.
27984         * sysdeps/s390/bits/byteswap.h: Likewise.
27985         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27987 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27989         [BZ #13540]
27990         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27991         destination buffer.
27992         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27994 2011-12-23  Marek Polacek  <polacek@redhat.com>
27996         * elf/dl-addr.c (determine_info): Add inline keyword.
27997         * elf/tst-auditmod4b.c (check_avx): Likewise.
27998         * elf/tst-auditmod6b.c (check_avx): Likewise.
27999         * elf/tst-auditmod6c.c (check_avx): Likewise.
28000         * elf/tst-auditmod7b.c (check_avx): Likewise.
28002 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28004         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28005         !__SSE_MATH__.
28007 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28009         [BZ #13540]
28010         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28011         processing for last bytes.
28013 2011-08-06  Bruno Haible  <bruno@clisp.org>
28015         [BZ #13061]
28016         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28017         U+0385, not to U+1FEE.
28019         [BZ #13062]
28020         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28021         entry for U+00A5 U+0301.
28023 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28025         [BZ #13166]
28026         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28027         buffer for the output is too small.
28029         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28030         optimization.
28032         [BZ #13185]
28033         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28034         SSE flags if possible.
28036 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28038         [BZ #13540]
28039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28040         processing for last bytes.
28042 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28044         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28045         (syscall-list-default-options, syscall-list-default-condition)
28046         (syscall-list-includes): Define.
28047         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28048         list of ABIs and options and #if conditions for each ABI.  Do not
28049         handle common syscalls between ABIs specially.
28050         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28051         Remove.
28052         (syscall-list-variants, syscall-list-32bit-options)
28053         (syscall-list-32bit-condition, syscall-list-64bit-options)
28054         (syscall-list-64bit-condition): Define.
28055         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28056         (syscall-list-variants, syscall-list-32bit-options)
28057         (syscall-list-32bit-condition, syscall-list-64bit-options)
28058         (syscall-list-64bit-condition): Define.
28059         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28060         Remove.
28061         (syscall-list-variants, syscall-list-32bit-options)
28062         (syscall-list-32bit-condition, syscall-list-64bit-options)
28063         (syscall-list-64bit-condition): Define.
28064         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28065         Remove.
28066         (syscall-list-variants, syscall-list-32bit-options)
28067         (syscall-list-32bit-condition, syscall-list-64bit-options)
28068         (syscall-list-64bit-condition): Define.
28070 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28072         * locale/iso-639.def: Add brx entry.
28074         [BZ #13328]
28075         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28076         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28078         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28079         __feraiseexcept_renamed.
28081 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28083         [BZ #13538]
28084         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28085         EPOLLET with unsigned values.
28086         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28087         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28089         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28090         to large cancellation.
28091         * math/s_cacoshf.c: Likewise.
28092         * math/s_cacoshl.c: Likewise.
28094 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28096         [BZ #13305]
28097         [BZ #12786]
28098         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28099         * math/s_cacoshf.c: Likewise.
28100         * math/s_cacoshl.c: Likewise.
28102 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28104         [BZ #13439]
28105         * iconv/gconv.h: Define __GCONV_SWAP.
28106         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28107         * iconvdata/utf-16.c: Likewise.
28108         * iconvdata/utf-32.c: Likewise.
28110 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28112         [BZ #13524]
28113         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28114         numerator after shifting it by one limb.
28116 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28118         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28119         under [__USE_EXTERN_INLINES].
28121 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28123         [BZ #13446]
28124         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28126 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28128         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28129         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28130         optimized code.
28131         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28132         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28133         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28134         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28135         for strncasecmp/strncasecmp_l compilation.
28136         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28137         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28139 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28141         [BZ #13484]
28142         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28143         of __asm__.
28145 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28147         [BZ #13506]
28148         * time/tzfile.c (__tzfile_read): Check values from file header.
28150 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28152         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28153         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28154         * powerpc/powerpc32/dl-start.S: Likewise.
28155         * powerpc/powerpc32/elf/start.S: Likewise.
28156         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28157         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28158         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28159         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28160         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28161         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28162         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28163         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28164         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28165         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28166         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28167         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28168         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28169         * powerpc/powerpc32/memset.S: Likewise.
28170         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28171         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28172         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28173         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28174         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28175         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28176         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28177         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28178         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28179         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28180         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28181         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28182         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28184 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28186         * math/libm-test.inc: Added more nearbyint tests.
28187         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28189         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28192 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28194         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28195         FD_CLOEXEC.
28197 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28199         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28200         Add wcscpy-ssse3 wcscpy-c.
28201         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28202         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28203         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28204         * sysdeps/x86_64/wcschr.S: New file.
28205         * sysdeps/x86_64/wcsrchr.S: New file.
28206         * string/test-strcmp.c: Remove checking of wcscmp function for
28207         wrong alignments.
28208         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28209         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28210         wcsrchr-sse2 wcsrchr-c.
28211         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28212         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28213         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28214         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28215         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28216         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28217         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28218         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28219         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28220         * wcsmbc/wcschr.c (WCSCHR): New macro.
28222 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28224         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28225         * wcsmbs/test-wcsrchr.c: New file.
28226         * string/test-strrchr.c: Add wcsrchr support.
28227         (WIDE): New macro.
28228         * wcsmbs/test-wcscpy.c: New file.
28229         * string/test-strcpy.c: Add wcscpy support.
28230         (WIDE): New macro.
28232 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28234         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28235         the inner loop.
28237 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28239         [BZ #13472]
28240         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28242 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28244         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28245         Minor optimizations.
28247         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28248         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28249         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28251 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28253         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28254         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28255         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28256         for gcc to avoid warnings.
28257         * inet/Makefile (tests): Add tst-checks.
28258         * inet/tst-checks.c: New file.
28260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28261         warning.
28263         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28264         __wmemcmp_sse2.
28266         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28267         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28269         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28271 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28273         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28274         problem.
28276         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28278 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28280         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28281         conditional on GCC version.
28282         (__arch_compare_and_exchange_val_8_acq)
28283         (__arch_compare_and_exchange_val_16_acq)
28284         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28285         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28286         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28288 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28290         * sysdeps/sh/backtrace.c: New file.
28292 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28294         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28295         parenthesis.
28297 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28299         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28300         falling back to utime.
28302 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28304         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28305         expectations for float.
28307 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28309         * locale/weight.h (findidx): Add parameter len.
28310         * locale/weightwc.h (findidx): Likewise.
28311         * posix/fnmatch_loop.c (FCT): Adjust caller.
28312         * posix/regcomp.c (build_equiv_class): Likewise.
28313         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28314         * posix/regexec.c (check_node_accept_bytes): Likewise.
28315         * string/strcoll_l.c (STRCOLL): Likewise.
28316         * string/strxfrm_l.c (STRXFRM): Likewise.
28318 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28320         * Makefile.in: Remove CVSOPT handling.
28321         * configure.in: Remove use of AC_REVISION.
28322         * iconvdata/Makefile (distribute): No need to filter out CVS.
28323         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28324         handling.
28326 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28328         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28329         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28330         [USE_AS_STRNCASECMP_L]: Likewise.
28331         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28332         NO_TLS_DIRECT_SEG_REFS.
28333         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28334         Fix argument offsets for non-PIC.
28335         [USE_AS_STRNCASECMP_L]: Likewise.
28336         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28337         NO_TLS_DIRECT_SEG_REFS.
28339 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28341         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28342         O_CLOEXEC.
28343         * locale/loadlocale.c (_nl_load_locale): Likewise.
28345 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28347         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28348         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28349         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28350         (SYSCALL_GETTIME): Set errno on error.
28352         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28353         count references to noai6ai_cached.
28355 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28357         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28359         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28360         FD_CLOEXEC for /proc/self/maps.
28362         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28363         FD_CLOEXEC for /proc/meminfo.
28365         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28366         gai.conf.
28368         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28369         FD_CLOEXEC for given file.
28371         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28373         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28374         FD_CLOEXEC for /etc/hosts.
28375         (_gethtent): Likewise.
28377         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28379         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28380         cancellation and set FD_CLOEXEC for /etc/netgroup.
28382         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28383         reading /etc/publickey.
28385         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28386         allow cancellation when reading /etc/group.
28388         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28389         cancellation.
28390         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28392         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28393         when using data file.
28395         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28397         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28398         (write_nis_obj): Use "c" and "e" in fopen.
28400         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28402         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28404         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28406         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28408         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28409         locale.alias.
28411         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28413         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28415         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28417         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28418         file parsing and set FD_CLOEXEC.
28420 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28422         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28424 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28426         * malloc/arena.c (arena_get2): Don't call reused_arena when
28427         _int_new_arena failed.
28429 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28431         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28432         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28433         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28434         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28435         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28436         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28437         to compile strcasecmp and strncasecmp.
28438         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28439         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28443 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28445         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28446         locale-defines.sym to gen-as-const-headers.
28447         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28448         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28450         to compile strcasecmp and strncasecmp.
28451         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28452         strcasecmp_l and strncasecmp_l.
28453         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28454         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28455         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28456         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28457         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28458         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28459         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28460         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28461         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28462         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28463         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28465 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28467         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28468         result of SYSDEP_GETTIME_CPU to retval.
28469         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28470         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28472         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28473         variable.
28475         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28476         mantissa words.
28477         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28479         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28480         from unused variable.
28482         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28483         DWARF definitions.
28484         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28485         for assembling.
28487         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28488         over namespaces.
28490         * sunrpc/rpc_prot.c (rejected): Fix case value.
28492         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28493         unsigned long long int to avoid warnings in shift.
28495         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28496         of use of trans.
28497         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28498         variable tmp.
28500         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28501         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28502         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28504         * nis/nis_table.c (nis_list): Use variable of correct type for
28505         result of __follow_path call.
28507 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28509         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28510         of math functions ceil, trunc, floor, round, and sqrt, when
28511         avaliable on the platform.
28512         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28513         name clash.
28514         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28515         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28516         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28518 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28520         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28521         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28523 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28525         * include/unistd.h: Fix __readlink return type.
28526         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28528 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28530         * stdlib/ucontext.h: Undo last change for makecontext.
28532 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28534         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28536         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28537         * setjmp/setjmp.h: Mark functions as non-leaf.
28538         * setjmp/bits/setjmp2.h: Likewise.
28539         * stdlib/ucontext.h: Likewise.
28541 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28543         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28544         (reused_arena): Don't check arena limit.
28545         (arena_get2): Atomically check arena limit.
28547 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28549         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28550         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28552         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28553         instructions.
28555 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28557         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28558         handler when locking.
28560         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28561         Fix size of allocated buffer.
28563 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28565         [BZ #10103]
28566         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28567         declarations for long double functions.
28568         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28570         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28572 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28574         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28575         installed.
28577         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28578         is disabled.
28580 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28582         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28584 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28586         * include/alloca.h (stackinfo_alloca_round): Define.
28587         (extend_alloca): Use it.
28588         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28589         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28590         here.
28592         * scripts/check-local-headers.sh: Ignore libaudit.h.
28594         * nscd/Makefile (extra-objs): Make recursively expanded.
28596 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28598         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28599         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28601         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28602         * posix/tst-rfc3484-2.c: Likewise.
28603         * posix/tst-rfc3484-3.c: Likewise.
28605         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28606         process_vm_writev.
28607         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28608         process_vm_writev.
28609         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28610         process_vm_writev from libc using GLIBC_2.15 version.
28612         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28614 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28616         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28617         stack usage.
28619 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28621         [BZ #13367]
28622         * nss/getent.c (initgroups_keys): Show error message in case no group
28623         names are given.
28625         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28626         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28627         __bump_nl_timestamp.
28628         * nscd/connections (nscd_init): When host database is served open
28629         netlink socket and request notification about configuration changes.
28630         (main_loop_poll): Track netlink file descriptor and bump timestamp
28631         in case data becomes available.
28632         (main_loop_epoll): Likewise.
28633         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28634         (database_pers_head): Add extra_data fileds.
28635         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28636         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28637         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28638         Adjust caller.
28639         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28640         in6ai data, call __free_in6ai.
28641         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28642         Add -DHAVE_NETLINK.
28643         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28644         interface information.  Reuse previous data if netlink timestamp
28645         is not changed.
28646         (__bump_nl_timestamp): New function.
28647         (__free_in6ai): New function.
28649 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28651         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28652         close_not_cancel_no_status here.
28653         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28655 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28657         [BZ #13276]
28658         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28659         return value.
28661         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28662         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28663         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28665 2011-07-03  Andreas Jaeger  <aj@suse.de>
28667         [BZ #10709]
28668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28669         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28670         * math/libm-test.inc (sin_test): Add test case.
28672 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28674         [BZ #13337]
28675         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28676         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28678         * elf/chroot_canon.c (chroot_canon): Cleanups.
28680         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28682         [BZ #13335]
28683         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28684         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28686         * string/test-strchr.c: Make usable for strchrnul testing.
28687         * string/test-strchrnul.c: New file.
28688         * string/Makefile (strop-tests): Add strchrnul.
28690         * po/it.po: Update from translation team.
28691         * po/es.po: Likewise.
28693 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28695         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28696         the three constants needed as parameters.  Drop the others.
28697         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28698         __m128i_strloadu_tolower.
28699         Create and initialize variable zero and use it in all the places
28700         where _mm_setzero_si128 was used.
28702         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28703         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28704         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28706         anymore.
28707         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28708         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28709         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28710         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28711         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28712         __mpranred, __mptan.
28713         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28714         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28715         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28716         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28717         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28718         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28719         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28720         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28721         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28723 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28725         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28726         redefine if SHARED.
28727         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28730         wide char related routines to wcsmbs subdir.
28732 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28734         [BZ #13344]
28735         * misc/sys/cdefs.h (__THROWNL): Define.
28736         * posix/unistd.h: Use __THREADNL instead of __THREAD
28737         for memory synchronization functions.
28739 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28741         [BZ #13349]
28742         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28743         doesn't exist.
28744         * manual/stdio.texi (Obstack Streams): Node removed.
28746 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28748         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28749         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28750         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28752         * math/math_private.h (math_force_eval): Allow non-addressable
28753         arguments.
28754         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28756 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28758         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28759         file is not needed.
28761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28762         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28763         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28764         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28765         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28766         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28767         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28768         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28769         Add AVX variants.
28770         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28771         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28772         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28773         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28774         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28775         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28776         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28777         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28778         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28779         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28780         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28781         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28782         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28783         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28784         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28785         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28786         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28787         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28788         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28790         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28791         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28794         place.  Use VEX encoding when compiling for AVX.
28796 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28798         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28799         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28801         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28803 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28805         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28806         useless if() expression.
28807         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28808         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28809         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28810         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28812         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28813         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28814         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28816         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28817         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28819         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28820         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28821         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28822         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28823         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28825         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28827         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28829 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28831         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28832         condition.
28833         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28835 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28837         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28838         .text section.  Avoid duplicate constants.
28839         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28841         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28842         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28846         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28847         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28849         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28850         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28851         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28852         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28853         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28854         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28855         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28856         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28857         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28858         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28859         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28860         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28861         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28862         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28863         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28864         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28865         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28866         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28867         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28868         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28869         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28870         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28871         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28872         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28873         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28874         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28875         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28876         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28877         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28878         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28879         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28880         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28881         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28882         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28883         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28885 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
28887         * sysdeps/x86_64/dla.h: Move to ...
28888         * sysdeps/x86_64/fpu/dla.h: ...here.
28889         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28890         situations.  Use __builtin_fma only for gcc 4.6 and up.
28892         * config.make.in: Add have-mfma4 entry.
28893         * configure.in: Substitute libc_cv_cc_fma4.
28894         * math/Makefile (dbl-only-routines): Add sincostab.
28895         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28896         Use __sincostab not sincos.
28897         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28898         name is a macro.
28899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
28903         using __copysign.
28904         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
28905         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
28906         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28907         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28908         and __inv.
28909         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28910         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28911         __copysign.
28912         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
28913         define aliases when function name is a macro.
28914         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28915         sysdeps/ieee754/dbl-64/sincos.tbl.
28916         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28917         fma4-enabled routines.
28918         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28919         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28920         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28921         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28922         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28923         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28924         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28925         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28926         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28927         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28928         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28929         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28930         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28931         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28932         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28933         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28934         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28935         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28936         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28937         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28938         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28939         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28940         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28941         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28943         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28944         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28945         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28946         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28947         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28949         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28950         rename.
28951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28952         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28954         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28955         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28957         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28960 2011-10-24  Andreas Schwab  <schwab@redhat.com>
28962         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28964 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28968         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28969         prediction.
28970         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28972         * string/strnlen.c: Don't define STRNLEN, reverse logic.
28973         Remove unused variable magic_bits.
28974         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28976         * string/strnlen.c: Define and use STRNLEN macro.
28977         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28978         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28979         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28980         * wcsmbs/wcslen.c: Define and use WCSLEN.
28981         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28982         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28983         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28984         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28985         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28986         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28987         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28989 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28992         strnlen-sse2-no-bsf.
28993         Rename strlen-no-bsf to strlen-sse2-no-bsf.
28994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28995         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28996         Add strnlen support.
28997         (USE_AS_STRNLEN): New macro.
28998         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28999         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29000         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29001         * sysdeps/x86_64/wcslen.S: New file.
29003 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29005         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29006         XMM-moves are used for copying on small sizes.
29008 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29010         * wcsmbs/Makefile (strop-tests): Add wcschr.
29011         * wcsmbs/test-wcschr.c: New file.
29012         * string/test-strchr.c: Update.
29013         Add wcschr support.
29014         (WIDE): New macro.
29016 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29018         * wcsmbs/Makefile (strop-tests): Add wcslen.
29019         * wcsmbs/test-wcslen.c: New file.
29020         * string/test-strlen.c: Update.
29021         Add wcslen support.
29022         (WIDE): New macro.
29024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29026         * po/it.po: Update from translation team.
29028 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29030         * sysdeps/x86_64/wcscmp.S: Update.
29031         Fix wrong comparison semantics.
29032         wcscmp shall use signed comparison not unsigned.
29033         Don't use substraction to avoid overflow bug.
29034         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29035         * wcsmbc/wcscmp.c: Likewise.
29036         * string/test-strcmp.c: Likewise.
29037         Add new tests to check cases with negative values.
29039 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29041         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29042         * sysdeps/x86_64/dla.h: ...here.  New file.
29043         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29053 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29055         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29056         __ynl_finite aliases.
29058 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29062         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29063         define DLA_FMA.
29064         [DLA_FMA] (EMULV): Use DLA_FMA.
29065         [DLA_FMA] (MUL12): Use EMULV.
29066         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29067         that are not needed.
29068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29076 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29078         * math/s_nan.c: Undef __nan.
29079         * math/s_nanf.c: Undef __nanf.
29080         * math/s_nanl.c: Undef __nanl.
29081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29082         "math_private.h".
29084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29086         * math/s_catan.c: Add branch predictions.
29087         * math/s_catanf.c: Likewise.
29088         * math/s_catanh.c: Likewise.
29089         * math/s_catanhf.c: Likewise.
29090         * math/s_catanhl.c: Likewise.
29091         * math/s_catanl.c: Likewise.
29092         * math/s_cexp.c: Likewise.
29093         * math/s_cexpf.c: Likewise.
29094         * math/s_cexpl.c: Likewise.
29095         * math/s_clog.c: Likewise.
29096         * math/s_clog10.c: Likewise.
29097         * math/s_clog10f.c: Likewise.
29098         * math/s_clog10l.c: Likewise.
29099         * math/s_clogf.c: Likewise.
29100         * math/s_clogl.c: Likewise.
29101         * math/s_csqrt.c: Likewise.
29102         * math/s_csqrtf.c: Likewise.
29103         * math/s_csqrtl.c: Likewise.
29104         * math/s_ctanf.c: Likewise.
29105         * math/s_ctanh.c: Likewise.
29106         * math/s_ctanhf.c: Likewise.
29107         * math/s_ctanhl.c: Likewise.
29108         * math/s_ctanl.c: Likewise.
29110         * math/math_private.h: Define __nan, __nanf, __nanl.
29111         * math/s_cacosh.c: Include <math_private.h>.
29112         * math/s_cacoshl.c: Likewise.
29113         * math/s_casinh.c: Likewise.
29114         * math/s_casinhf.c: Likewise.
29115         * math/s_casinhl.c: Likewise.
29116         * math/s_ccos.c: Rely entire on ccosh.
29117         * math/s_ccosf.c: Rely entire on ccoshf.
29118         * math/s_ccosl.c: Rely entirely on ccoshl.
29119         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29120         Remove tests for FE_INVALID.
29121         * math/s_ccoshf.c: Likewise.
29122         * math/s_ccoshl.c: Likewise.
29123         * math/s_csin.c: Likewise.
29124         * math/s_csinf.c: Likewise.
29125         * math/s_csinh.c Likewise.
29126         * math/s_csinhf.c: Likewise.
29127         * math/s_csinhl.c: Likewise.
29128         * math/s_csinl.c: Likewise.
29129         * math/s_ctan.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29131         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29132         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29134 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29137         compilation problems.
29139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29140         __builtin_expect.
29142 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29144         * sysdeps/i386/configure.in: Test for -mfma4 option.
29145         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29146         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29147         COMMON_CPUID_INDEX_80000001.
29148         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29149         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29150         use it if FMA3 is not supported.
29151         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29153         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29154         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29156 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29158         [BZ #12892]
29159         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29160         it would create a cycle with a link time dependency.
29162 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29164         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29165         instruction.
29166         * string/Makefile (strop-tests): Add rawmemchr.
29167         * string/test-rawmemchr.c: New file.
29169         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29170         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29171         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29172         when compiling str{,n}casecmp and when AVX is available.  Hook up
29173         new optimized code in initializers.
29175 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29177         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29178         __feraiseexcept instead of feraiseexcept.
29180 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29182         * math/math_private.h: Define defaults for libc_fetestexcept and
29183         libc_feupdateenv.
29184         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29185         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29186         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29187         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29188         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29189         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29190         libc_fetestexcept and libc_feupdateenv.
29192         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29193         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29194         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29195         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29196         libc_feholdexcept_setround.
29198         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29199         Add s_nearbyint-c and s_nearbyintf-c.
29200         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29201         nearbyintf inlines.
29202         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29203         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29204         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29205         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29207         * math/math_private.h: Define defaults for libc_fegetround,
29208         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29209         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29210         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29211         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29212         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29213         standard functions.
29214         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29215         Remove comments and hacks for old compiler versions.
29216         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29217         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29218         libc_feholdexceptl.
29220 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29222         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29223         (__feraiseexcept_renamed): Add __NTH.
29224         (feraiseexcept): Add __NTH.  Rename local variables to fix
29225         namespace violations.
29227 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29229         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29231         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29233         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29234         recently added interfaces.
29235         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29237         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29238         about macro parameter expansion.
29240         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29241         __NO_MATH_INLINES is defined.  Cleanups.
29243         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29244         and __floorf is target has SSE4.1.
29245         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29246         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29247         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29248         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29250         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29251         name.
29252         (floorf): Likewise.
29254         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29256 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29258         * misc/sys/cdefs.h: Fix last change.
29260         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29261         database lookup.
29263 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29265         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29267         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29268         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29269         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29270         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29271         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29272         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29273         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29274         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29275         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29276         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29277         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29278         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29279         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29280         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29281         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29282         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29283         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29284         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29285         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29286         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29287         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29288         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29290         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29291         ceil, ceilf, floor, floorf.
29293         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29294         Perform IRELATIVE relocations last.
29296         * elf/do-rel.h: Add another parameter nrelative, replacing the
29297         local variable with the same name.  Change name of the function
29298         to end in Rel or Rela (uppercase).
29299         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29300         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29301         elf_dynamic_do_##reloc function.
29303 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29305         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29306         is sufficient, at least on modern CPUs.
29308         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29310         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29311         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29313         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29314         __expl_finite.
29315         * math/bits/math-finite.h: Add entries for exp.
29316         * math/e_expl.c: Add __*_finite alias.
29317         * sysdeps/i386/fpu/e_exp.S: Likewise.
29318         * sysdeps/i386/fpu/e_expf.S: Likewise.
29319         * sysdeps/i386/fpu/e_expl.c: Likewise.
29320         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29321         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29324         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29325         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29326         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29328         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29329         is sufficient, at least on modern CPUs.
29331         * ctype/ctype-info.c (__ctype_init): Define.
29332         * include/ctype.h (__ctype_init): Declare.
29333         (__ctype_b_loc): The variable is always initialized.
29334         (__ctype_toupper_loc): Likewise.
29335         (__ctype_tolower_loc): Likewise.
29336         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29337         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29339 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29341         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29343         * configure.in: Also look in $cxxmachine/include for C++ system
29344         headers.
29346 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29348         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29349         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29350         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29351         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29352         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29353         (USE_AS_WMEMCMP): New macro.
29354         Fixing indents.
29355         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29356         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29357         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29358         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29360         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29361         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29362         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29363         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29364         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29365         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29366         (USE_AS_WMEMCMP): New macro.
29367         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29368         * sysdeps/string/test-memcmp.c: Update.
29369         Fix simple_wmemcmp.
29370         Add new tests.
29371         * wcsmbs/wmemcmp.c: Update.
29372         (WMEMCMP): New macro.
29373         Fix overflow bug.
29375 2011-10-12  Andreas Jaeger  <aj@suse.de>
29377         [BZ #13268]
29378         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29380 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29382         * libio/iofwide.c (do_length): Avoid warning.
29384         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29386 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29388         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29390         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29391         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29392         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29393         * sysdeps/i386/i686/fpu/e_log.S: New file.
29394         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29395         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29397         * ctype/ctype.h: Add support for inlined isXXX functions when
29398         compiling C++ code.
29400 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29402         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29404         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29406 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29408         [BZ #13291]
29409         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29411 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29413         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29414         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29415         feraiseexcept.
29417         * sysdeps/x86_64/memrchr.S: Check for zero size.
29419         * string/stratcliff.c: Add memrchr tests.
29421 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29423         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29424         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29425         rawmemchr-sse2 rawmemchr-sse2-bsf.
29426         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29427         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29428         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29429         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29430         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29431         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29432         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29433         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29434         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29435         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29436         * string/memrchr.c (MEMRCHR): New macro.
29438 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29440         Add integration with gcc's -ffinite-math-only and optimize wrapper
29441         functions in libm.
29442         * Versions.def: Define GLIBC_2.15 version for libm.
29443         * math/Makefile (headers): Add bits/math-finite.h.
29444         * math/bits/math-finite.h: New file.
29445         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29446         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29447         * math/e_acoshl.c: Add __*_finite alias.
29448         * math/e_acosl.c: Likewise.
29449         * math/e_asinl.c: Likewise.
29450         * math/e_atan2l.c: Likewise.
29451         * math/e_atanhl.c: Likewise.
29452         * math/e_coshl.c: Likewise.
29453         * math/e_exp10.c: Likewise.
29454         * math/e_exp10f.c: Likewise.
29455         * math/e_exp10l.c: Likewise.
29456         * math/e_exp2l.c: Likewise.
29457         * math/e_fmodl.c: Likewise.
29458         * math/e_gammal_r.c: Likewise.
29459         * math/e_hypotl.c: Likewise.
29460         * math/e_j0l.c: Likewise.
29461         * math/e_j1l.c: Likewise.
29462         * math/e_jnl.c: Likewise.
29463         * math/e_lgammal_r.c: Likewise.
29464         * math/e_log10l.c: Likewise.
29465         * math/e_log2l.c: Likewise.
29466         * math/e_logl.c: Likewise.
29467         * math/e_powl.c: Likewise.
29468         * math/e_sinhl.c: Likewise.
29469         * math/e_sqrtl.c: Likewise.
29470         * math/e_scalb.c: Completely rewritten and optimized.
29471         * math/e_scalbf.c: Likewise.
29472         * math/e_scalbl.c: Likewise.
29473         * math/w_acos.c: Likewise.
29474         * math/w_acosf.c: Likewise.
29475         * math/w_acosl.c: Likewise.
29476         * math/w_acosh.c: Likewise.
29477         * math/w_acoshf.c: Likewise.
29478         * math/w_acoshl.c: Likewise.
29479         * math/w_asin.c: Likewise.
29480         * math/w_asinf.c: Likewise.
29481         * math/w_asinl.c: Likewise.
29482         * math/w_atan2.c: Likewise.
29483         * math/w_atan2f.c: Likewise.
29484         * math/w_atan2l.c: Likewise.
29485         * math/w_atanh.c: Likewise.
29486         * math/w_atanhf.c: Likewise.
29487         * math/w_atanhl.c: Likewise.
29488         * math/w_exp10.c: Likewise.
29489         * math/w_exp10f.c: Likewise.
29490         * math/w_exp10l.c: Likewise.
29491         * math/w_fmod.c: Likewise.
29492         * math/w_fmodf.c: Likewise.
29493         * math/w_fmodl.c: Likewise.
29494         * math/w_j0.c: Likewise.
29495         * math/w_j0f.c: Likewise.
29496         * math/w_j0l.c: Likewise.
29497         * math/w_j1.c: Likewise.
29498         * math/w_j1f.c: Likewise.
29499         * math/w_j1l.c: Likewise.
29500         * math/w_jn.c: Likewise.
29501         * math/w_jnf.c: Likewise.
29502         * math/w_log.c: Likewise.
29503         * math/w_logf.c: Likewise.
29504         * math/w_logl.c: Likewise.
29505         * math/w_log10.c: Likewise.
29506         * math/w_log10f.c: Likewise.
29507         * math/w_log10l.c: Likewise.
29508         * math/w_log2.c: Likewise.
29509         * math/w_log2f.c: Likewise.
29510         * math/w_log2l.c: Likewise.
29511         * math/w_pow.c: Likewise.
29512         * math/w_powf.c: Likewise.
29513         * math/w_powl.c: Likewise.
29514         * math/w_remainder.c: Likewise.
29515         * math/w_remainderf.c: Likewise.
29516         * math/w_remainderl.c: Likewise.
29517         * math/w_scalb.c: Likewise.
29518         * math/w_scalbf.c: Likewise.
29519         * math/w_scalbl.c: Likewise.
29520         * math/w_sqrt.c: Likewise.
29521         * math/w_sqrtf.c: Likewise.
29522         * math/w_sqrtl.c: Likewise.
29523         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29524         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29525         used.
29526         * math/math_private.h: Declare __kernel_standard_f.
29527         * math/w_cosh.c: Remove cruft and optimize a bit.
29528         * math/w_coshf.c: Likewise.
29529         * math/w_coshl.c: Likewise.
29530         * math/w_exp2.c: Likewise.
29531         * math/w_exp2f.c: Likewise.
29532         * math/w_exp2l.c: Likewise.
29533         * math/w_hypot.c: Likewise.
29534         * math/w_hypotf.c: Likewise.
29535         * math/w_hypotl.c: Likewise.
29536         * math/w_lgamma.c: Likewise.
29537         * math/w_lgamma_r.c: Likewise.
29538         * math/w_lgammaf.c: Likewise.
29539         * math/w_lgammaf_r.c: Likewise.
29540         * math/w_lgammal.c: Likewise.
29541         * math/w_lgammal_r.c: Likewise.
29542         * math/w_sinh.c: Likewise.
29543         * math/w_sinhf.c: Likewise.
29544         * math/w_sinhl.c: Likewise.
29545         * math/w_tgamma.c: Likewise.
29546         * math/w_tgammaf.c: Likewise.
29547         * math/w_tgammal.c: Likewise.
29548         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29549         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29550         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29551         Minor optimizations.  Pretty printing.  Remove cruft.
29552         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29553         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29554         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29555         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29556         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29557         * sysdeps/i386/fpu/e_asin.S: Likewise.
29558         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29559         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29560         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29561         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29562         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29563         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29564         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29565         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29566         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29567         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29568         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29569         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29570         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29571         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29572         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29573         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29574         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29575         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29576         * sysdeps/i386/fpu/e_log.S: Likewise.
29577         * sysdeps/i386/fpu/e_log10.S: Likewise.
29578         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29580         * sysdeps/i386/fpu/e_log2.S: Likewise.
29581         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29582         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29583         * sysdeps/i386/fpu/e_logf.S: Likewise.
29584         * sysdeps/i386/fpu/e_logl.S: Likewise.
29585         * sysdeps/i386/fpu/e_pow.S: Likewise.
29586         * sysdeps/i386/fpu/e_powf.S: Likewise.
29587         * sysdeps/i386/fpu/e_powl.S: Likewise.
29588         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29589         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29590         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29591         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29593         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29594         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29595         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29596         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29597         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29598         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29600         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29601         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29602         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29603         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29604         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29606         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29607         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29608         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29610         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29611         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29613         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29614         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29615         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29616         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29617         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29618         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29619         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29620         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29621         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29622         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29623         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29624         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29625         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29626         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29627         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29628         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29629         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29630         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29631         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29632         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29633         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29634         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29635         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29636         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29637         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29638         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29639         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29640         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29641         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29642         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29643         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29644         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29645         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29646         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29647         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29648         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29665         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29666         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29667         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29671         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29673         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29674         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29675         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29677         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29678         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29679         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29680         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29683         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29684         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29685         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29686         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29687         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29688         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29689         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29690         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29691         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29692         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29693         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29694         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29695         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29696         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29697         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29698         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29699         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29700         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29701         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29702         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29704         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29705         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29706         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29707         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29708         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29709         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29710         (__isnanf): Likewise.
29711         (__isinf_ns): Likewise.
29712         (__isinf_nsf): Likewise.
29713         (__finite): Likewise.
29714         (__finitef): Likewise.
29715         (__ieee754_sqrt): Define as macro.
29716         (__ieee754_sqrtf): Define as macro.
29717         (__ieee754_sqrtl): Define as macro.
29718         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29719         inlined copy.
29720         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29721         __FINITE_MATH_ONLY__ consistent.
29722         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29724 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29726         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29727         of rawmemchr.
29729         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29731 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29733         * po/ja.po: Update from translation team.
29735 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29737         * locale/programs/locarchive.c (prepare_address_space): New function.
29738         (create_archive, enlarge_archive, open_archive): Use it.
29740         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29741         inside [SHARED], where it is used.
29743         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29745         * nss/getent.c (netgroup_keys): Remove unused variable.
29746         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29748 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29750         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29751         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29752         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29753         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29754         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29755         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29756         * math/Makefile (libm-calls): Add s_isinf_ns.
29757         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29758         * math/multc3.c: Likewise.
29759         * math/s_casin.c: Likewise.
29760         * math/s_casinf.c: Likewise.
29761         * math/s_casinl.c: Likewise.
29762         * math/s_ccos.c: Likewise.
29763         * math/s_ccosf.c: Likewise.
29764         * math/s_ccosl.c: Likewise.
29765         * math/s_ctan.c: Likewise.
29766         * math/s_ctanf.c: Likewise.
29767         * math/s_ctanh.c: Likewise.
29768         * math/s_ctanhf.c: Likewise.
29769         * math/s_ctanhl.c: Likewise.
29770         * math/s_ctanl.c: Likewise.
29771         * math/w_fmod.c: Likewise.
29772         * math/w_fmodf.c: Likewise.
29773         * math/w_fmodl.c: Likewise.
29774         * math/w_remainder.c: Likewise.
29775         * math/w_remainderf.c: Likewise.
29776         * math/w_remainderl.c: Likewise.
29777         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29778         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29781         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29782         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29783         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29784         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29786         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29787         of the number.
29788         * stdio-common/printf_fphex.c: Likewise.
29789         * stdio-common/printf_size.c: Likewise.
29791         * math/e_exp10.c: Include math_private.h using <...> not "...".
29792         * math/e_exp10f.c: Likewise.
29793         * math/e_exp10l.c: Likewise.
29794         * math/e_exp2l.c: Likewise.
29795         * math/e_j0l.c: Likewise.
29796         * math/e_j1l.c: Likewise.
29797         * math/e_jnl.c: Likewise.
29798         * math/e_lgammal_r.c: Likewise.
29799         * math/e_rem_pio2l.c: Likewise.
29800         * math/e_scalb.c: Likewise.
29801         * math/e_scalbf.c: Likewise.
29802         * math/e_scalbl.c: Likewise.
29803         * math/k_cosl.c: Likewise.
29804         * math/k_sinl.c: Likewise.
29805         * math/k_tanl.c: Likewise.
29806         * math/s_cacoshf.c: Likewise.
29807         * math/s_catan.c: Likewise.
29808         * math/s_catanf.c: Likewise.
29809         * math/s_catanh.c: Likewise.
29810         * math/s_catanhf.c: Likewise.
29811         * math/s_catanhl.c: Likewise.
29812         * math/s_catanl.c: Likewise.
29813         * math/s_ccosh.c: Likewise.
29814         * math/s_ccoshf.c: Likewise.
29815         * math/s_ccoshl.c: Likewise.
29816         * math/s_cexp.c: Likewise.
29817         * math/s_cexpf.c: Likewise.
29818         * math/s_cexpl.c: Likewise.
29819         * math/s_clog.c: Likewise.
29820         * math/s_clog10.c: Likewise.
29821         * math/s_clog10f.c: Likewise.
29822         * math/s_clog10l.c: Likewise.
29823         * math/s_clogf.c: Likewise.
29824         * math/s_clogl.c: Likewise.
29825         * math/s_csin.c: Likewise.
29826         * math/s_csinf.c: Likewise.
29827         * math/s_csinh.c: Likewise.
29828         * math/s_csinhf.c: Likewise.
29829         * math/s_csinhl.c: Likewise.
29830         * math/s_csinl.c: Likewise.
29831         * math/s_csqrt.c: Likewise.
29832         * math/s_csqrtf.c: Likewise.
29833         * math/s_csqrtl.c: Likewise.
29834         * math/s_ctan.c: Likewise.
29835         * math/s_ctanf.c: Likewise.
29836         * math/s_ctanh.c: Likewise.
29837         * math/s_ctanhf.c: Likewise.
29838         * math/s_ctanhl.c: Likewise.
29839         * math/s_ctanl.c: Likewise.
29840         * math/s_ldexp.c: Likewise.
29841         * math/s_ldexpf.c: Likewise.
29842         * math/s_ldexpl.c: Likewise.
29843         * math/s_significand.c: Likewise.
29844         * math/s_significandf.c: Likewise.
29845         * math/s_significandl.c: Likewise.
29846         * math/w_acos.c: Likewise.
29847         * math/w_acosf.c: Likewise.
29848         * math/w_acosh.c: Likewise.
29849         * math/w_acoshf.c: Likewise.
29850         * math/w_acoshl.c: Likewise.
29851         * math/w_acosl.c: Likewise.
29852         * math/w_asin.c: Likewise.
29853         * math/w_asinf.c: Likewise.
29854         * math/w_asinl.c: Likewise.
29855         * math/w_atan2.c: Likewise.
29856         * math/w_atan2f.c: Likewise.
29857         * math/w_atan2l.c: Likewise.
29858         * math/w_atanh.c: Likewise.
29859         * math/w_atanhf.c: Likewise.
29860         * math/w_atanhl.c: Likewise.
29861         * math/w_cosh.c: Likewise.
29862         * math/w_coshf.c: Likewise.
29863         * math/w_coshl.c: Likewise.
29864         * math/w_dremf.c: Likewise.
29865         * math/w_exp10.c: Likewise.
29866         * math/w_exp10f.c: Likewise.
29867         * math/w_exp10l.c: Likewise.
29868         * math/w_exp2.c: Likewise.
29869         * math/w_exp2f.c: Likewise.
29870         * math/w_fmod.c: Likewise.
29871         * math/w_fmodf.c: Likewise.
29872         * math/w_fmodl.c: Likewise.
29873         * math/w_hypot.c: Likewise.
29874         * math/w_hypotf.c: Likewise.
29875         * math/w_hypotl.c: Likewise.
29876         * math/w_j0.c: Likewise.
29877         * math/w_j0f.c: Likewise.
29878         * math/w_j0l.c: Likewise.
29879         * math/w_j1.c: Likewise.
29880         * math/w_j1f.c: Likewise.
29881         * math/w_j1l.c: Likewise.
29882         * math/w_jn.c: Likewise.
29883         * math/w_jnf.c: Likewise.
29884         * math/w_jnl.c: Likewise.
29885         * math/w_lgamma.c: Likewise.
29886         * math/w_lgamma_r.c: Likewise.
29887         * math/w_lgammaf.c: Likewise.
29888         * math/w_lgammaf_r.c: Likewise.
29889         * math/w_lgammal.c: Likewise.
29890         * math/w_lgammal_r.c: Likewise.
29891         * math/w_log.c: Likewise.
29892         * math/w_log10.c: Likewise.
29893         * math/w_log10f.c: Likewise.
29894         * math/w_log10l.c: Likewise.
29895         * math/w_log2.c: Likewise.
29896         * math/w_log2f.c: Likewise.
29897         * math/w_log2l.c: Likewise.
29898         * math/w_logf.c: Likewise.
29899         * math/w_logl.c: Likewise.
29900         * math/w_pow.c: Likewise.
29901         * math/w_powf.c: Likewise.
29902         * math/w_powl.c: Likewise.
29903         * math/w_remainder.c: Likewise.
29904         * math/w_remainderf.c: Likewise.
29905         * math/w_remainderl.c: Likewise.
29906         * math/w_scalb.c: Likewise.
29907         * math/w_scalbf.c: Likewise.
29908         * math/w_scalbl.c: Likewise.
29909         * math/w_sinh.c: Likewise.
29910         * math/w_sinhf.c: Likewise.
29911         * math/w_sinhl.c: Likewise.
29912         * math/w_sqrt.c: Likewise.
29913         * math/w_sqrtf.c: Likewise.
29914         * math/w_sqrtl.c: Likewise.
29915         * math/w_tgamma.c: Likewise.
29916         * math/w_tgammaf.c: Likewise.
29917         * math/w_tgammal.c: Likewise.
29919         * po/ja.po: Update from translation team.
29921 2011-09-29  Andreas Jaeger  <aj@suse.de>
29923         [BZ #13179]
29924         * sunrpc/netname.c (netname2host): Fix logic.
29926         [BZ #6779]
29927         [BZ #6783]
29928         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29929         correctly.
29930         * math/w_remainder.c (__remainder): Likewise.
29931         * math/w_remainderf.c (__remainderf): Likewise.
29932         * math/libm-test.inc (remainder_test): Add test cases.
29934 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29936         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
29937         sdiv_qrnnd.
29939 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29941         * string/test-memcmp.c: Avoid unncessary #defines.
29942         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29944 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29946         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29947         Use new sse2 version for core i3 - i7 as it's faster
29948         than sse42 version.
29949         (bit_Prefer_PMINUB_for_stringop): New.
29950         * sysdeps/x86_64/rawmemchr.S: Update.
29951         Replace with faster SSE2 version.
29952         * sysdeps/x86_64/memrchr.S: New file.
29953         * sysdeps/x86_64/memchr.S: Update.
29954         Replace with faster SSE2 version.
29956 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
29958         * elf/dl-load.c (lose): Add cast to avoid warning.
29960 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
29962         * po/ca.po: Update from translation team.
29964         * inet/getnetgrent_r.c: Hook up nscd.
29965         * nscd/Makefile (routines): Add nscd_netgroup.
29966         (nscd-modules): Add netgroupcache.
29967         (CFLAGS-netgroupcache.c): Define.
29968         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29969         (cache_search): Add const to second parameter.
29970         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29971         INNETGR.
29972         (dbs): Add netgrdb entry.
29973         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29974         (verify_persistent_db): Handle netgrdb.
29975         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29976         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29977         GETFDNETGR.
29978         (netgroup_response_header): Define.
29979         (innetgroup_response_header): Define.
29980         (datahead): Add netgroup_response_header and innetgroup_response_header
29981         elements.
29982         * nscd/nscd.conf: Add entries for netgroup cache.
29983         * nscd/nscd.h (dbtype): Add netgrdb.
29984         (_PATH_NSCD_NETGROUP_DB): Define.
29985         (netgroup_iov_disabled): Declare.
29986         (xmalloc, xcalloc, xrealloc): Move declarations here.
29987         (cache_search): Adjust prototype.
29988         Add netgroup-related prototypes.
29989         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29990         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29991         (__nscd_innetgr): Declare.
29992         * nscd/selinux.c (perms): Use access_vector_t as element type and
29993         add netgroup-related initializers.
29994         * nscd/netgroupcache.c: New file.
29995         * nscd/nscd_netgroup.c: New file.
29996         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29997         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29998         For four parameters use innetgr.
29999         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30000         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30001         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30002         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30004         * nscd/connections.c (register_traced_file): Don't register file
30005         for disabled databases.
30007 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30009         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30011         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30012         from tree and freeing node.
30014 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30016         * nss/nsswitch.c (__nss_database_lookup): Handle
30017         nss_parse_service_list out of memory case.
30019 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30021         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30022         out of memory case.
30024 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30026         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30027         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30028         pass it down.
30029         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30030         elf_machine_rela, elf_machine_lazy_rel.
30031         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30032         (ELF_DYNAMIC_DO_REL): Likewise.
30033         (ELF_DYNAMIC_DO_RELA): Likewise.
30034         (ELF_DYNAMIC_RELOCATE): Likewise.
30035         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30036         to ELF_DYNAMIC_DO_REL.
30037         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30038         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30039         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30040         elf_machine_rela.
30041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30042         skip_ifunc, don't call ifunc function if non-zero.
30043         (elf_machine_rela): Likewise.
30044         (elf_machine_lazy_rel): Likewise.
30045         (elf_machine_lazy_rela): Likewise.
30046         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30047         (elf_machine_lazy_rel): Likewise.
30048         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30049         Likewise.
30050         (elf_machine_lazy_rel): Likewise.
30051         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30052         Likewise.
30053         (elf_machine_lazy_rel): Likewise.
30054         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30055         (elf_machine_lazy_rel): Likewise.
30056         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30057         (elf_machine_lazy_rel): Likewise.
30058         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30059         (elf_machine_lazy_rel): Likewise.
30060         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30061         (elf_machine_lazy_rel): Likewise.
30062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30063         (elf_machine_lazy_rel): Likewise.
30064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30065         (elf_machine_lazy_rel): Likewise.
30067 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30069         * nss/nss_files/files-init.c (_nss_files_init): Use static
30070         initialization for all the *_traced_file variables.
30072 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30074         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30076 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30078         [BZ #13226]
30079         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30081 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30084         Reread the line before reparsing it.
30086 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30088         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30090 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30091             Maxim Kuvyrkov  <maxim@codesourcery.com>
30092             Joseph Myers  <joseph@codesourcery.com>
30094         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30095         if needed for __stack_chk_guard.
30097 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30099         * sysdeps/posix/spawni.c (script_execute): Always define it.
30100         It will be optimized away if unused.
30101         (maybe_script_execute): New function.
30102         (__spawni): Call it.
30104         * Makerules: Don't include tls.make.
30105         (config-tls): Always set to thread.
30106         * tls.make.c: File removed.
30108 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30110         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30111         * config.make.in (CPPFLAGS-config): New substituted variable.
30113 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30115         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30117         [BZ #13192]
30118         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30119         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30121 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30123         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30124         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30126         (CALL_FAIL): Likewise.
30127         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30128         (CALL_FAIL): Macro removed.
30129         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30131 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30133         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30134         for __FINITE_MATH_ONLY__ == 1.
30136 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30138         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30139         __ieee754_sqrt instead of sqrt.
30140         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30141         __ieee754_sqrtf instead of sqrtf.
30142         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30143         __floorf instead of floorf.
30144         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30145         __floorf, __truncf instead of floorf, truncf.
30147 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30149         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30151         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30152         __extern_always_inline.
30153         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30154         32-bit.
30156 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30158         * elf/rtld.c (dl_main): Also relocate in dependency order when
30159         doing symbol dependency testing.
30161 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30163         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30164         Always define `refsym'.
30166 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30168         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30169         (__FD_ELT): Renamed from __FDELT.
30170         * misc/bits/select2.h (__FD_ELT): Likewise.
30171         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30172         __FD_MASK instead of __FDELT, __FDMASK.
30173         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30174         Likewise.
30175         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30176         Likewise.
30178         * elf/Makefile (gen-ldd): Fix pattern.
30180         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30181         (init_tls): Likewise.
30183 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30185         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30187 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30189         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30190         `struct cmsghdr *' instead of `void *'.
30191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30192         Likewise.
30194 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30196         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30197         if non-absolute.
30198         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30199         ldd_rewrite_script.
30201 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30203         * configure.in: Remove --with-tls option.
30204         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30205         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30206         out in case it is missing.
30207         * sysdeps/ia64/elf/configure.in: Likewise.
30208         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30209         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30210         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30211         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30212         * sysdeps/sh/elf/configure.in: Likewise.
30213         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30214         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30215         * sysdeps/x86_64/elf/configure.in: Likewise.
30216         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30217         * sysdeps/mach/hurd/tls.h: Likewise.
30219         [BZ #13067]
30220         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30222         [BZ #13090]
30223         * configure.in: Fix use of AC_INIT.
30225         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30227 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30229         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30230         __set_errno.
30231         * malloc/hooks.c: Likewise.
30233         [BZ #11929]
30234         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30235         variables statically.
30236         (narenas): Initialize.
30237         (list_lock): Initialize.
30238         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30239         initializtion of main_arena and list_lock.  Small cleanups.
30240         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30241         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30242         Add initializers to main_arena and mp_.
30243         (malloc_state): Remove pagesize member.  Change all users to use
30244         GLRO(dl_pagesize).
30246         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30247         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30248         is always initialized.
30250         * malloc/malloc.c: Removed unused configurations and dead code.
30251         * malloc/arena.c: Likewise.
30252         * malloc/hooks.c: Likewise.
30253         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30255         * include/tls.h: Removed.  USE___THREAD must always be defined.
30256         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30257         * elf/dl-libc.c: Likewise.
30258         * elf/dl-tsd.c: Likewise.
30259         * include/errno.h: Likewise.
30260         * include/netdb.h: Likewise.
30261         * include/resolv.h: Likewise.
30262         * inet/herrno-loc.c: Likewise.
30263         * inet/herrno.c: Likewise.
30264         * malloc/arena.c: Likewise.
30265         * malloc/hooks.c: Likewise.
30266         * malloc/malloc.c: Likewise.
30267         * resolv/res-state.c: Likewise.
30268         * resolv/res_libc.c: Likewise.
30269         * sysdeps/i386/dl-machine.h: Likewise.
30270         * sysdeps/ia64/dl-machine.h: Likewise.
30271         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30272         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30273         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30274         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30275         * sysdeps/sh/dl-machine.h: Likewise.
30276         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30277         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30278         * sysdeps/unix/i386/sysdep.S: Likewise.
30279         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30280         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30282         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30283         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30285         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30289         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30290         * sysdeps/x86_64/dl-machine.h: Likewise.
30291         * tls.make.c: Likewise.
30293         * configure.in: Remove --with-__thread option.  Make tests for
30294         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30295         tls_model attribute fail if no support is available.  Remove
30296         USE_IN_LIBIO.
30297         * Makeconfig: Adjust for dropped configure option.  All features are
30298         now mandatory.
30299         * Makerules: Likewise.
30300         * Versions.def: Likewise.
30301         * argp/argp-fmtstream.c: Likewise.
30302         * argp/argp-fmtstream.h: Likewise.
30303         * argp/argp-help.c: Likewise.
30304         * assert/assert.c: Likewise.
30305         * config.h.in: Likewise.
30306         * config.make.in: Likewise.
30307         * configure: Likewise.
30308         * configure.in: Likewise.
30309         * csu/Versions: Likewise.
30310         * csu/init.c: Likewise.
30311         * elf/tst-audit2.c: Likewise.
30312         * elf/tst-tls10.c: Likewise.
30313         * elf/tst-tls10.h: Likewise.
30314         * elf/tst-tls11.c: Likewise.
30315         * elf/tst-tls12.c: Likewise.
30316         * elf/tst-tls14.c: Likewise.
30317         * elf/tst-tlsmod11.c: Likewise.
30318         * elf/tst-tlsmod12.c: Likewise.
30319         * elf/tst-tlsmod13.c: Likewise.
30320         * elf/tst-tlsmod13a.c: Likewise.
30321         * elf/tst-tlsmod14a.c: Likewise.
30322         * elf/tst-tlsmod15b.c: Likewise.
30323         * elf/tst-tlsmod16a.c: Likewise.
30324         * elf/tst-tlsmod16b.c: Likewise.
30325         * elf/tst-tlsmod7.c: Likewise.
30326         * elf/tst-tlsmod8.c: Likewise.
30327         * elf/tst-tlsmod9.c: Likewise.
30328         * gmon/gmon.c: Likewise.
30329         * grp/fgetgrent_r.c: Likewise.
30330         * grp/putgrent.c: Likewise.
30331         * hurd/fopenport.c: Likewise.
30332         * include/libc-symbols.h: Likewise.
30333         * include/tls.h: Likewise.
30334         * intl/gettextP.h: Likewise.
30335         * intl/loadinfo.h: Likewise.
30336         * locale/global-locale.c: Likewise.
30337         * locale/localeinfo.h: Likewise.
30338         * mach/devstream.c: Likewise.
30339         * malloc/arena.c: Likewise.
30340         * malloc/set-freeres.c: Likewise.
30341         * misc/err.c: Likewise.
30342         * misc/getttyent.c: Likewise.
30343         * misc/mntent_r.c: Likewise.
30344         * posix/getopt.c: Likewise.
30345         * posix/wordexp.c: Likewise.
30346         * pwd/fgetpwent_r.c: Likewise.
30347         * resolv/Versions: Likewise.
30348         * resolv/res_hconf.c: Likewise.
30349         * shadow/fgetspent_r.c: Likewise.
30350         * shadow/putspent.c: Likewise.
30351         * stdio-common/printf_fphex.c: Likewise.
30352         * stdio-common/tmpfile.c: Likewise.
30353         * stdlib/abort.c: Likewise.
30354         * stdlib/fmtmsg.c: Likewise.
30355         * sunrpc/auth_unix.c: Likewise.
30356         * sunrpc/clnt_perr.c: Likewise.
30357         * sunrpc/clnt_tcp.c: Likewise.
30358         * sunrpc/clnt_udp.c: Likewise.
30359         * sunrpc/clnt_unix.c: Likewise.
30360         * sunrpc/openchild.c: Likewise.
30361         * sunrpc/svc_simple.c: Likewise.
30362         * sunrpc/svc_tcp.c: Likewise.
30363         * sunrpc/svc_udp.c: Likewise.
30364         * sunrpc/svc_unix.c: Likewise.
30365         * sunrpc/xdr.c: Likewise.
30366         * sunrpc/xdr_array.c: Likewise.
30367         * sunrpc/xdr_rec.c: Likewise.
30368         * sunrpc/xdr_ref.c: Likewise.
30369         * sunrpc/xdr_stdio.c: Likewise.
30371 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30373         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30375 2011-07-03  Andreas Jaeger  <aj@suse.de>
30377         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30378         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30379         regenerate with gen-libm-tests.pl.
30381 2010-05-12  Petr Baudis  <pasky@suse.cz>
30383         [BZ #11589]
30384         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30385         around j0() zero points by switching to j1().
30386         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30387         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30389         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30391 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30393         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30394         instead of 0.
30395         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30396         instead of 0.
30397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30398         Patch in part by Pavel Roskin <proski@gnu.org>.
30400         [BZ #13138]
30401         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30402         realloc.
30403         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30404         Free memory block if necessary.
30406         [BZ #12847]
30407         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30408         be NULL.  Don't lock in this case.
30410 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30412         * elf/elf.h (ELFOSABI_GNU): New macro.
30413         (ELFOSABI_LINUX): Define to that.
30415 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30417         * string/strncat.c (strncat): Undef the symbol in case it has been
30418         defined in bits/string.h.
30420 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30422         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30424         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30425         link map.
30427 2011-08-17  Andreas Jaeger  <aj@suse.de>
30429         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30431 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30432             Ian Lance Taylor  <iant@google.com>
30434         * math/libm-test.inc (lround_test): New testcase.
30435         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30437 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30439         * Makefile: Remove support for automatic cvs check-ins.
30440         * Makerules: Likewise.
30441         * config.make.in: Likewise.
30442         * configure.in: Likewise.
30443         * intl/Makefile: Likewise.
30444         * locale/Makefile: Likewise.
30445         * po/Makefile: Likewise.
30446         * posix/Makefile: Likewise.
30447         * sysdeps/gnu/Makefile: Likewise.
30448         * sysdeps/mach/hurd/Makefile: Likewise.
30449         * sysdeps/sparc/sparc32/Makefile: Likewise.
30451         [BZ #13118]
30452         * posix/Makefile (bug-regex32-ENV): Define.
30453         Patch by John Stanley <jpsinthemix@verizon.net>.
30455         * misc/Makefile (headers): Add bits/select2.h.
30456         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30457         * misc/bits/select2.h: New file.
30458         * include/bits/select2.h: New file.
30459         * debug/Makefile (routines): Add fdelt_chk.
30460         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30461         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30462         FD_ISSET.
30463         * debug/fdelt_chk.c: New file.
30465         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30466         * wcsmbs/test-wmemcmp.c: Likewise.
30467         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30468         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30470 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30472         * string/Makefile (strop-tests): Add memcmp.
30473         * string/test-wmemcmp.c: New file.
30474         * string/test-memcmp.c: Add wmemcmp support.
30476 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30478         [BZ #13153]
30479         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30480         2011-07-19 change.
30482         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30483         garbage value in a __mach_port_mod_refs call in the cases of the
30484         task-self and thread-self ports.
30486 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30488         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30490 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30492         * elf/dl-load.c (lose): Check for non-null L.
30494 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30496         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30498         * elf/dl-libc.c (dlerror_run): Pass back error code from
30499         dl_catch_error.
30501         [BZ #13123]
30502         * elf/dl-load.c (lose): Free l_origin if it is valid.
30504         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30505         names.
30506         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30507         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30508         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30509         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30510         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30511         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30513 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30515         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30516         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30517         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30518         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30519         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30520         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30521         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30522         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30523         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30524         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30526 2011-08-15  Alan Modra  <amodra@gmail.com>
30528         [BZ #13092]
30529         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30530         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30531         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30532         ppc_mcount to static-only-routines.
30533         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30534         __mcount_internal.
30535         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30536         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30538 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30540         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30541         for finite and infinity parameters.
30543 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30545         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30546         and add nop instructions for throughput optimization.
30547         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30549 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30551         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30552         aligned copy for power7 with vector-scalar instructions.
30553         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30555 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30558         AVX check.
30560 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30562         [BZ #13144]
30563         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30564         last change.
30566 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30568         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30569         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30570         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30571         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30572         clock_gettime.
30574 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30576         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30577         Forgot to demangle the pointer.
30579         * sysdeps/i386/sysdep.h: Define atom_text_section.
30580         * sysdeps/x86_64/sysdep.h: Likewise.
30581         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30582         section with atom_text_section.
30583         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30584         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30585         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30586         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30587         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30589         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30590         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30591         already be defined.  Change to take two parameters and don't assign
30592         result to variable.  Adjust all users.
30593         Define INTERNAL_GETTIME if not already defined.
30594         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30595         call.
30596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30597         HAVE_CLOCK_GETTIME_VSYSCALL.
30598         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30601         gettimeofday vsyscall, just use time.
30603 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30606         <errno.h>.
30608 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30610         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30611         syscall on x86-64.
30612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30613         syscall.
30614         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30615         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30616         syscall if possible.
30618 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30620         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30621         e_ident.  Don't pass to find_mapsXX.
30622         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30624 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30627         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30628         * sysdeps/x86_64/multiarch/strchr.S: Update.
30629         Check bit_slow_BSF bit.
30630         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30631         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30632         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30634 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30636         [BZ #13134]
30637         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30638         before glibc 2.15.
30639         (tryshell): Define.
30640         (__spawni): Change last parameter to be flag.  Test
30641         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30642         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30643         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30644         * posix/spawni.c: Likewise.
30645         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30646         * posix/spawnp.c: Likewise.  Change normal version to use
30647         SPAWN_XFLAGS_USE_PATH.
30648         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30649         SPAWN_XFLAGS_TRY_SHELL.
30651         [BZ #13150]
30652         * posix/glob.h: Remove gcc 1.x support.
30654         [BZ #13068]
30655         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30657 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30659         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30660         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30661         strrchr-sse2-bsf
30662         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30663         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30664         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30666         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30669 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30671         * sysdeps/x86_64/wcscmp.S: New file.
30673         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30674         wcscmp-c wcscmp-sse2
30675         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30676         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30677         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30678         * wcsmbs/wcscmp.c: Allow renaming.
30680 2011-09-05  David S. Miller  <davem@davemloft.net>
30682         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30683         stack slot, rather than the struct return pointer slot.
30684         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30685         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30687         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30689 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30691         * po/ja.po: Update from translation team.
30693         [BZ #13144]
30694         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30695         kernel in 64-bit binaries.
30697 2011-09-01  David S. Miller  <davem@davemloft.net>
30699         * elf/elf.h (HWCAP_SPARC_*): Move to..
30700         * sysdeps/sparc/sysdep.h: this new file and add new values.
30701         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30702         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30703         _DL_HWCAP_COUNT to 24.
30704         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30705         entries.
30706         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30707         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30708         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30709         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30710         instead of magic constants.
30711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30713 2011-08-31  David S. Miller  <davem@davemloft.net>
30715         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30717         Reimplement to do errno handling inline.
30718         (SYSCALL_ERROR_HANDLER): New macro.
30719         (__SYSCALL_STRING): Do not do errno handling in asm.
30720         (__CLONE_SYSCALL_STRING): Delete.
30721         (__INTERNAL_SYSCALL_STRING): Delete.
30722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30723         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30724         (PSEUDO): Reimplement to do errno handling inline.
30725         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30726         (SYSCALL_ERROR_HANDLER): New macro.
30727         (__SYSCALL_STRING): Do not do errno handling in asm.
30728         (__CLONE_SYSCALL_STRING): Delete.
30729         (__INTERNAL_SYSCALL_STRING): Delete.
30730         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30731         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30732         i386.
30733         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30734         (inline_syscall*): Add 'err' argument.
30735         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30736         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30737         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30738         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30740         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30741         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30743 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30745         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30747 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30749         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30750         directive.
30752 2011-08-24  David S. Miller  <davem@davemloft.net>
30754         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30756 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30758         * elf/Makefile: Add rules to build and run unload8 test.
30759         * elf/unload8.c: New file.
30760         * elf/unload8mod1.c: New file.
30761         * elf/unload8mod1x.c: New file.
30762         * elf/unload8mod2.c: New file.
30763         * elf/unload8mod3.c: New file.
30765         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30766         it wasn't used.
30768 2011-08-23  David S. Miller  <davem@davemloft.net>
30770         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30771         subtract stack bias.
30772         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30773         %sp not %fp in calculations.
30774         (_JMPBUF_UNWINDS_ADJ): Likewise.
30776         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30777         (aio_suspend): Call it to force an exception region around the
30778         AIO_MISC_WAIT() invocation.
30780 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30782         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30783         backslash.
30785 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30787         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30788         protection macro.
30789         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30790         and <dl-machine.h>.
30791         (Elf64_FuncDesc): Remove.
30793 2011-08-22  David S. Miller  <davem@davemloft.net>
30795         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30796         sigaltstack check, add missing cfi directives.
30797         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30798         missing cfi directives, and sigaltstack handling.
30800 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30802         [BZ #11724]
30803         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30804         object is seen twice.
30805         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30807         * elf/Makefile (distribute): Add tst-initorder2.c.
30808         (tests): Add tst-initorder2.
30809         (modules-names): Add tst-initorder2a tst-initorder2b
30810         tst-initorder2c tst-initorder2d.  Add rules to build them.
30811         ($(objpfx)tst-initorder2.out): New rule.
30812         * elf/tst-initorder2.c: New file.
30813         * elf/tst-initorder2.exp: New file.
30815 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30819         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30820         dependencies back to end of function.
30822         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30823         $(elfobjdir)/ld.so.
30825 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30828         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30830         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30831         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30832         of __vdso_gettimeofday.
30833         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30834         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30835         attribute_hidden.
30836         (_libc_vdso_platform_setup): Remove initialization of
30837         __vdso_gettimeofday and __vdso_time.
30839 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30841         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30842         and fgetc_unlocked.
30843         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30844         getc_unlocked.
30846         * elf/dl-open.c (add_to_global): Report additions to the global scope
30847         for LD_DEBUG=scopes.
30848         (dl_open_worker): Also print scope of newly loaded dependencies.
30849         (_dl_show_scope): Indicate if there is no scope.
30851         [BZ #13114]
30852         * stdio-common/Makefile (tests): Add bug24.
30853         * stdio-common/bug24.c: New file.
30855 2011-08-19  Andreas Jaeger  <aj@suse.de>
30857         [BZ #13114]
30858         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30859         non-existant file when using close-on-exec mode.
30861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30864         the very first instruction.
30866         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30867         the CFI state in the end.
30868         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30869         inclusion of dl-trampoline.h.
30870         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30872 2011-08-19  Andreas Schwab  <schwab@redhat.com>
30874         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30875         expectations for long double.
30877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30878         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30880 2011-08-14  David S. Miller  <davem@davemloft.net>
30882         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30883         artificual limit depends upon the system page size.
30885 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30887         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30888         * resolv/Makefile: Define CFLAGS-libresolv.
30890 2011-08-17  Andreas Schwab  <schwab@redhat.com>
30892         * nss/makedb.c (compute_tables): Make variables used in nested
30893         function static.
30895 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
30897         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30898         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30899         if buffer was too small.
30901         * elf/pldd.c (main): Attach to all threads in the process.
30902         Rewrite /proc handling to use *at functions.
30904 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
30906         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30907         specifies first scope to show.
30908         (dl_open_worker): Update callers.  Move printing scope of new
30909         object to before the relocation.
30910         * elf/rtld.c (dl_main): Update _dl_show_scope call.
30911         * sysdeps/generic/ldsodefs.h: Update declaration.
30913         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30914         string for the scope number.
30916 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
30918         * nscd/servicescache.c (cache_addserv): Make sure written is always
30919         initialized.
30921 2011-08-14  Roland McGrath  <roland@hack.frob.com>
30923         * sysdeps/i386/i486/bits/atomic.h
30924         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30925         statement expression, so as to suppress "set but not used" warning.
30926         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30928         * string/strncat.c (STRNCAT): Use prototype definition.
30930         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30931         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30932         -Iprograms here.
30933         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30934         (localedef-modules): Add localedef.
30935         (locale-modules): Add locale.
30937         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30938         * elf/rtld.c (dl_main): Invert order of assignment in last change,
30939         to avoid a warning.
30941 2011-08-14  David S. Miller  <davem@davemloft.net>
30943         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30944         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30946 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
30948         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30949         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30950         * elf/rtld.c (dl_main): Set l_name of vDSO.
30951         Call _dl_show_scope when DL_DEBUG_SCOPES.
30952         (process_dl_debug): Recognize scopes flag and also set it for all.
30953         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30954         Declare _dl_show_scope.
30956         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30957         (do_dlopen): Pass caller_dlopen to dl_open.
30958         (__libc_dlopen_mode): Initialize caller_dlopen.
30960         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30961         of libc.  Make tolower call locale-independent.  Optimize a bit by
30962         using isdigit instead of isalnum.
30963         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30965 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
30967         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30968         was a dependency or dynamically loaded.
30970 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
30972         * intl/l10nflist.c: Allow architecture-specific pop function.
30973         * sysdeps/x86_64/l10nflist.c: New file.
30975         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30976         classification.
30978 2011-08-10  Andreas Schwab  <schwab@redhat.com>
30980         * include/dirent.h: Add libc_hidden_proto for scandirat and
30981         scandirat64.  Don't declare __scandirat64.
30982         * dirent/scandirat.c: Add libc_hidden_def.
30983         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30984         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30986 2011-08-10  David S. Miller  <davem@davemloft.net>
30988         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30989         enum.
30990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30991         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30992         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30994 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
30996         * Versions.def [libc]: Add GLIBC_2.15.
30997         * dirent/Makefile (routines): Add scandirat and scandirat64.
30998         * dirent/Versions [libc]: Export scandirat and scandirat64 for
30999         GLIBC_2.15.
31000         * dirent/dirent.h: Declare scandirat and scandirat64.
31001         * dirent/scandirat.c: New file.
31002         * dirent/scandirat64.c: New file.
31003         * sysdeps/wordsize-64/scandirat.c: New file.
31004         * sysdeps/wordsize-64/scandirat64.c: New file.
31005         * dirent/opendir.c: Define opendirat.
31006         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31007         using scandirat.
31008         * dirent/scandir64.c: Adjust for scandir.c change.
31009         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31010         __scandirat64, and __scandir_cancel_handler.
31011         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31012         additional parameter and use openat instead of open (outside of ld.so).
31013         Add new __opendir as wrapper around __opendirat.
31014         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31015         here without requiring old scandirat implementation.
31017 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31019         * dirent/scandir.c (cancel_handler): Renamed to
31020         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31021         defined.  Adjust users.
31022         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31023         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31025 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31027         * string/test-string.h (IMPL): Use __STRING to expand name and then
31028         stringify it.
31030         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31031         of cleanups.
31033 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31035         * string/Makefile: Update.
31036         (strop-tests): Append strncat.
31037         * string/test-wcscmp.c: New file.
31038         New comprehensive test for wcscmp.
31039         * string/test-strcmp.c: Update.
31040         (WIDE): New define.
31042 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31044         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31045         line.
31047 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31050         encoding to ACE if AI_IDN.
31052 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31054         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31055         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31057 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31059         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31060         Fix overflow bug in strncat.
31061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31063         * string/test-strncat.c: Update.
31064         Add new tests for checking overflow bugs.
31066 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31068         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31069         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31070         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31071         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31073         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31074         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31075         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31076         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31079         (USE_AS_STRCAT): Define.
31080         Add strcat and strncat support.
31081         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31083 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31085         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31086         __n bigger than INT_MAX+1.
31087         (__strncmp_g): Likewise.
31089 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31091         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31092         * libio/stido.h: Likewise.
31094         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31095         (AF_NFC): Define.
31096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31097         (AF_NFC): Define.
31099         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31101         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31102         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31103         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31105         [BZ #13021]
31106         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31107         installed.
31109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31110         typo.
31111         (_dl_x86_64_save_sse): Likewise.
31113 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31115         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31116         OSXSAVE.
31117         (_dl_x86_64_save_sse): Likewise.
31119         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31121         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31123 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31126         change.
31127         (_dl_x86_64_save_sse): Use correct AVX check.
31129 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31132         bug in strncpy/strncat.
31133         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31135 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31137         * string/tester.c (test_strcat): Add tests for different alignments
31138         of source and destination.
31139         (test_strncat): Likewise.
31141 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31143         [BZ #12852]
31144         * posix/glob.c (glob): Check passed in values before using them in
31145         expressions to avoid some overflows.
31146         (glob_in_dir): Likewise.
31148         [BZ #13007]
31149         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31150         check for AVX enablement so that we don't crash with old kernels and
31151         new hardware.
31152         * elf/tst-audit4.c: Add same checks here.
31153         * elf/tst-audit6.c: Likewise.
31155         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31157 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31159         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31161 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31163         * po/cs.po: Update from translation team.
31164         * po/bg.po: Likewise.
31166 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31168         * misc/sys/cdefs.h: Add support for const attribute.
31169         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31170         to gnu_dev_{major,minor,makedev} functions.
31172 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31174         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31176 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31178         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31179         strlen results.
31181 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31184         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31185         register in order to avoid conflicts with the soft frame pointer
31186         being held in r11 when necessary.
31187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31188         (INTERNAL_VSYSCALL_NCS): Likewise.
31190 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31192         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31193         * elf/dl-fini.c (_dl_fini): Adjust caller.
31194         * elf/dl-close.c (_dl_close_worker): Likewise.
31195         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31197 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31199         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31200         "aux_cache->nlibs < 0".
31202         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31203         in the reload-count case.
31205 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31208         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31209         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31210         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31211         * sysdeps/x86_64/multiarch/strcat.S: New file.
31212         * sysdeps/x86_64/multiarch/strncat.S: New file.
31213         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31214         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31215         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31216         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31217         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31218         (USE_AS_STRCAT): Define.
31219         Add strcat and strncat support.
31220         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31221         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31222         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31223         * string/strncat.c: Update.
31224         (USE_AS_STRNCAT): Define.
31225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31226         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31227         and i7.
31228         * sysdeps/x86_64/multiarch/init-arch.h
31229         (bit_Prefer_PMINUB_for_stringop): New.
31230         (index_Prefer_PMINUB_for_stringop): Likewise.
31231         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31232         bit_Prefer_PMINUB_for_stringop.
31234 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31236         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31237         buffer64.
31238         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31239         of casting of buffer.
31240         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31241         buffer32 and buffer64.
31242         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31243         writes instead of casting of buffer.
31244         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31245         buffer32.
31246         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31247         casting of buffer.
31249 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31251         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31253 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31255         * nscd/nscd.c (termination_handler): Don't do anything for a database
31256         if it has not yet been initialized.
31258 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31260         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31262 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31264         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31266 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31268         * po/nl.po: Update from translation team.
31269         * po/sv.po: Likewise.
31271 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31273         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31274         now disallowed by GCC.
31276         * configure.in (use-default-link): Default to yes if a test -shared
31277         link meets our qualifications.
31278         * configure: Regenerated.
31280         * config.make.in (output-format): New variable.
31281         * configure.in: Check for ld --print-output-format support.
31282         * configure: Regenerated.
31283         * Makerules ($(common-objpfx)format.lds)
31284         [$(output-format) != unknown]: Just use $(output-format),
31285         instead of the linker-script munging.
31287 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31289         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31290         of $(common-objpfx)shlib.lds.
31291         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31293         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31294         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31296         * configure.in (-z relro check): Adjust test code to add a large
31297         writable data section after it.
31298         * configure: Regenerated.
31300 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31302         * configure.in (-z relro check): Fix test code to make the variable
31303         truly const.
31304         * configure: Regenerated.
31306 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31308         * nscd/nscd.h (struct traced_file): Define.
31309         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31310         elements.  Add traced_files.
31311         (inotify_fd): Declare.
31312         (register_traced_file): Declare.
31313         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31314         (inotify_fd): Export.
31315         (resolv_conf_descr): Remove.
31316         (nscd_init): Move inotify descriptor creation to main.
31317         Don't register files for notification here.
31318         (register_traced_file): New function.
31319         (invalidate_cache): Don't use reset_res to determine whether to call
31320         res_init, go through the list of registered files.
31321         (main_loop_poll): The inotify descriptors are now stored in the
31322         structures for the traced files.
31323         (main_loop_epoll): Likewise
31324         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31325         to __nss_disable_nscd.
31326         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31327         for a database anymore.  Check the records for all the registered
31328         files instead.
31329         * nss/Makefile (libnss_files-routines): Add files-init.
31330         (libnss_db-routines): Add db-init.
31331         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31332         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31333         * nss/nss_db/db-init.c: New file.
31334         * nss/nss_files/files-init.c: New file.
31335         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31336         __nss_lookup_function.
31337         (__nss_lookup_function): Call nss_load_library.
31338         (nss_load_all_libraries): New function.
31339         (__nss_disable_nscd): Take parameter with callback function for files
31340         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31341         used for the cached services.
31342         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31343         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31344         options for features to all the files in nscd.
31346         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31348 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31350         * csu/elf-init.c (__libc_csu_init): Comment typo.
31352 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31354         * po/pl.po: Update from translation team.
31355         * po/ja.po: Likewise.
31356         * po/ru.po: Likewise.
31357         * po/ko.po: Likewise.
31358         * po/fr.po: Likewise.
31360 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31362         * configure.in (.ctors/.dtors header and trailer check):
31363         Use an empirical test on a built program.
31364         * configure: Regenerated.
31366         * configure.in (-z relro check): Use an empirical test on a built DSO.
31367         Detect, but do not require, on ia64.
31368         * configure: Regenerated.
31370         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31371         Update tests that use readelf to use $READELF instead.
31372         * configure: Regenerated.
31374 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31376         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31377         if the result is not used.
31379 2011-07-05  Andreas Jaeger  <aj@suse.de>
31381         [BZ#9696]
31382         * stdlib/tst-strtod.c: Add testcase.
31384 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31386         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31387         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31388         The latter has a higher limit.  Take additional parameter to pass to
31389         the new function.
31390         (__pathconf): Pass file to __statfs_link_max.
31391         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31392         __statfs_link_max.
31393         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31394         __statfs_link_max.
31396         [BZ #12868]
31397         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31398         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31399         Handle Lustre.
31400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31401         (__statfs_filesize_max): Likewise.
31402         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31404 2011-07-05  Andreas Jaeger  <aj@suse.de>
31406         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31408 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31410         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31411         `status' variable.
31412         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31413         Likewise.
31415 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31417         * Makefile (strop-tests): Add strncat.
31418         * string/test-strncat.c: New file.
31420 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31422         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31424 2011-06-21  Andreas Jaeger  <aj@suse.de>
31426         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31427         Copy rule from iconvdata/Makefile.
31429 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31431         [BZ #12922]
31432         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31433         but no long options are defined, just return 'W'.
31435 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31437         [BZ #9696]
31438         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31440 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31442         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31443         netgroups to read.
31444         (innetgr): Likewise.
31446 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31448         * config.make.in (install_root): Default to $(DESTDIR).
31450 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31454 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31456         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31458         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31459         containing directory rather than embedding absolute directory names.
31461         * scripts/check-local-headers.sh: Rewritten using awk.
31462         Match by word, not by line.  Print error messages for matches.
31463         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31465         * Makerules [shlib-lds-flags empty]:
31466         ($(common-objpfx)libc_pic.opts): New target.
31467         ($(common-objpfx)libc_pic.os.clean): New target.
31468         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31470         * config.make.in (OBJCOPY): New variable.
31471         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31472         * configure: Regenerated.
31474         * config.make.in (use-default-link): New variable.
31475         * configure.in (use_default_link): Grok --with-default-link to set it.
31476         * configure: Regenerated.
31477         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31478         (shlib-lds, shlib-lds-flags): Define to empty.
31480         * Makerules (shlib-lds): New variable.
31481         (shlib-lds-flags): New variable.
31482         (build-shlib, build-moduile, build-module-asneeded): Use it.
31483         ($(common-objpfx)libc.so): Use $(shlib-lds).
31484         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31485         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31487         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31488         DT_FLAGS/DT_FLAGS_1 with zero flags.
31490         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31491         linker script munging.
31493 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31495         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31496         as 128-bit value.
31497         * crypt/sha512.c (sha512_process_block): Perform total addition using
31498         128-bit if possible.
31499         (__sha512_finish_ctx): Likewise.
31500         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31501         as 64-bit value.
31502         * crypt/sha256.c (SWAP64): Define.
31503         (sha256_process_block): Perform total addition using 64-bit if
31504         possible.
31505         (__sha256_finish_ctx): Likewise.
31507 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31509         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31511         * nscd/hstcache.c (cache_addhst): Likewise.
31512         * nscd/grpcache.c (cache_addgr): Likewise.
31513         * nscd/aicache.c (addhstaiX): Likewise
31514         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31516 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31518         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31519         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31520         * nscd/hstcache.c (cache_addhst): Likewise.
31521         * nscd/grpcache.c (cache_addgr): Likewise.
31522         * nscd/aicache.c (addhstaiX): Likewise
31524 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31526         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31527         domain only when needed.
31529 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31532         is always restored.
31534 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31536         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31537         are re-adding the entry.
31538         * nscd/servicescache.c (cache_addserv): Likewise.
31540 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31542         * sysdeps/generic/dl-irel.h: fix protection against multiple
31543         inclusions.
31544         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31546 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31548         [BZ #12935]
31549         * malloc/memusage.sh: Fix quoting in message.
31550         * debug/xtrace.sh: Likewise.
31552         * configure.in: Remove support for --experimental-malloc option, make
31553         it the default.
31554         * config.make.in: Likewise.
31555         * malloc/Makefile: Likewise.
31557 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31559         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31560         two-byte characters.
31562 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31564         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31565         AC_CACHE_CHECK invocation.
31566         * configure: Regenerated.
31568         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31570 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31572         [BZ #12350]
31573         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31574         bit from old_res_options.
31576         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31578         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31579         value type for setfct.
31581 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31584         __gettimeofday instead of gettimeofday.
31586 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31588         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31590 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31592         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31594         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31595         info.
31597 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31600         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31601         strcpy-sse2-unaligned strncpy-sse2-unaligned
31602         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31603         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31604         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31605         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31606         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31607         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31609         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31610         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31611         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31612         (STRCPY): Support SSE2 and SSSE3 versions.
31614 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31616         [BZ #12874]
31617         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31618         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31619         kernels which artificially limit size of requests.
31621 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31623         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31624         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31625         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31626         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31627         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31628         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31629         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31630         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31631         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31632         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31633         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31634         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31635         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31636         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31637         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31639         Enable unaligned load optimization for Intel Core i3, i5 and i7
31640         processors.
31641         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31642         Define.
31643         (index_Fast_Unaligned_Load): Define.
31644         (HAS_FAST_UNALIGNED_LOAD): Define.
31646 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31648         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31650 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31652         [BZ #12907]
31653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31654         until it is clear that the information is realy needed.
31655         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31657 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31661 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31663         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31664         /sys/devices/system/cpu/online if it is usable.
31666         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31667         reading the information from the /proc filesystem to once a second.
31669 2011-06-21  Andreas Jaeger  <aj@suse.de>
31671         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31672         NULL after inclusion of kernel headers.
31674 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31676         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31677         calls to internal_setent.
31679         [BZ #12885]
31680         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31681         addresses using gethostbyname4_r ignore IPv4 addresses.
31683         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31684         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31686         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31688 2011-06-20  David S. Miller  <davem@davemloft.net>
31690         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31691         inclusions.
31692         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31694         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31695         (elf_irel): Use it.
31696         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31697         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31698         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31699         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31700         * sysdeps/x86_64/dl-irel.h: Likewise.
31702         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31703         * elf/dl-sym.c: Likewise.
31705 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31707         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31708         need to dereference resplen2.
31710 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31712         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31714 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31716         * Makeconfig: Define vardbdir and inst_vardbdir.
31717         * nss/Makefile: Add rules to install db-Makefile.
31719         * nss/nss_db/db-XXX.c: Cleanup.
31721         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31722         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31723         GLIBC_PRIVATE.
31724         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31725         * nss/makedb.c: Implement -g option to specify that value strings
31726         are generated and should not be added to table iterated over for
31727         get*ent calls.
31728         * nss/nss_db/db-initgroups.c: New file.
31730         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31731         interface.
31733         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31734         (internal_getgrouplist): Adjust to name change.
31735         Update use_initgroups_entry if this is not the first call.
31736         * nss/databases.def: Add initgroups entry.
31738         * nss/makedb.c (compute_tables): Check result of multiple hash table
31739         sizes to minimize maximum chain length.
31741 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31743         * Versions.def: Add entry for libnss_db.
31744         * shlib-versions: Likewise.
31745         * nss/Makefile: Add rules to build libnss_db.
31746         * nss/Versions: Add libnss_db information.  Organize libnss_files
31747         entries better.
31748         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31749         makedb progra.  Some minor improvements to generate smaller files.
31750         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31751         here from...
31752         * nss/makedb.c: ...here.
31753         Improve database format to be smaller and require less memory at
31754         runtime.
31755         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31756         db anymore.
31757         * nss/nss_db/db-netgrp.c: Likewise.
31758         * nss/nss_db/db-open.c: Likewise.
31759         * nss/nss_files/flies-XXX.x: Adjust comments.
31760         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31761         * nss/nss_files/files-grp.c: Likewise.
31762         * nss/nss_files/files-hosts.c: Likewise.
31763         * nss/nss_files/files-network.c: Likewise.
31764         * nss/nss_files/files-proto.c: Likewise.
31765         * nss/nss_files/files-pwd.c: Likewise.
31766         * nss/nss_files/files-rpc.c: Likewise.
31767         * nss/nss_files/files-service.c: Likewise.
31768         * nss/nss_files/files-sgrp.c: Likewise.
31769         * nss/nss_files/files-spwd.c: Likewise.
31770         * nss/nss_db/db-alias.c: Removed.
31771         * nss/nss_db/dummy-db.h: Removed.
31773 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31775         * nss/makedb.c: Rewritten to not use database library.
31776         * nss/Makefile: Update to build new makedb program.
31778 2011-06-14  Andreas Jaeger  <aj@suse.de>
31780         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31781         memset declaration.
31783 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31786         tmpbuf.
31788 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31790         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31791         * elf/Makefile ($(objpfx)ld.so): Likewise.
31793         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31794         Don't list ld.so twice in dependencies.
31796         * posix/bug-regex31.c: Include <stdlib.h>.
31798         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31800         * nis/nss_compat/compat-spwd.c
31801         (getspent_next_nss_netgr): Remove unused variable.
31802         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31804         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31805         nonmembers" output to use the right array.
31807         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31809         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31811         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31812         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31813         * catgets/gencat.c (read_input_file): Likewise.
31814         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31816         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31817         variable definition inside #if's controlling its use.
31819         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31821         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31823         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31825         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31826         unreachable code.
31828         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31830         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31831         * configure: Regenerated.
31833         * Makerules: Revert last change.
31834         * elf/Makefile: Likewise.
31836 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31838         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31839         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31840         (reloc-link): Likewise.
31842 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31844         * elf/Makefile: Add rules to build pldd.
31845         * elf/pldd.c: New file.
31846         * elf/pldd-xx.c: New file.
31848 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31850         * version.h: Update for 2.15 development version.
31852 2011-06-07  David S. Miller  <davem@davemloft.net>
31854         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31855         ifuncs.
31856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31857         elf_machine_lazy_rel): Likewise.
31858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31860         elf_machine_lazy_rel): Likewise.
31861         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31862         dl_hwcap via passed in argument.
31863         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31864         Likewise.
31866 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31868         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
31870 2011-06-06  Roland McGrath  <roland@hack.frob.com>
31872         [BZ #12849]
31873         * manual/fdl-1.1.texi: New file, verbatim from:
31874         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31875         * manual/lgpl-2.1.texi: New file, verbatim from:
31876         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31877         * manual/Makefile (licenses): New variable, list those new file names.
31878         (texis): Use it.
31879         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31881         * manual/fdl.texi: File removed.
31882         * manual/lesser.texi: File removed.
31883         * manual/libc.texinfo (Copying, Documentation License):
31884         Use new @include file names, put @appendix directive before @include.
31886 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
31888         [BZ #12841]
31889         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31890         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31891         (mq_open): Add __NTH.
31893 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
31895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31896         Assume Intel Core i3/i5/i7 processor if AVX is available.
31898 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31901         typo.
31903 2011-05-31  Andreas Schwab  <schwab@redhat.com>
31905         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31906         memory.  Use alloca_account.  Fix memory leak when retrying.
31908 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
31910         * version.h (RELEASE): Bump for 2.14 release.
31911         * include/features.h (__GLIBC_MINOR__): Bump to 14.
31913         * config.make.in (RANLIB): Remove entry.
31915 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
31917         * po/Makefile (po-sed-cmd): Add ksh to extensions.
31918         (libc.pot): Work around missing support for .ksh extension in xgettext.
31920         [BZ #12684]
31921         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31922         if both request failed.
31923         (send_dg): In case of server errors clear resplen or *resplen2.
31925         [BZ #12454]
31926         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31927         when there are multiple maps.
31928         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31929         (_dl_fini): Remove test here.
31931         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31933 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
31935         [BZ #12350]
31936         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31937         bit from old_res_options.
31938         (gaih_inet): Likewise.
31940         [BZ #11099]
31941         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31942         as signed.
31944         * resolv/res_init.c (res_setoptions): Make the code more compact.
31946         [BZ #11558]
31947         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31948         set RES_USEVC.
31950         [BZ #11634]
31951         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31953         * malloc/malloc.h: Mark malloc hook variables as deprecated.
31955         [BZ #11781]
31956         * malloc/malloc.h: Declare malloc hook variables as volatile.
31958         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31959         in last patch.
31961         [BZ #11799]
31962         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31963         raise in the comment.
31964         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31965         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31966         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31968 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
31970         [BZ #12811]
31971         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31972         grow the buffers more if it already has to be sufficient.
31973         (build_wcs_upper_buffer): Likewise.
31974         * posix/regexec.c (check_matching): Likewise.
31975         (clean_state_log_if_needed): Likewise.
31976         (extend_buffers): Don't enlarge buffers beyond size of the input
31977         buffer.
31978         Patches mostly by Emil Wojak <emil@wojak.eu>.
31979         * posix/bug-regex32.c: New file.
31980         * posix/Makefile (tests): Add bug-regex32.
31982         * locale/findlocale.c (_nl_find_locale): Return right away if
31983         _nl_explode_name failed.
31984         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31986         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31988         * debug/xtrace.sh: Unify messages.
31989         * malloc/memusage.sh: Likewise.
31991         [BZ #12813]
31992         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31993         time symbol from vDSO.  Substitute with vsyscall if not available.
31994         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31995         __vdso_time.
31997         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31998         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31999         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32000         Add sendmmsg and internal_sendmmsg.
32001         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32002         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32003         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32005         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32006         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32007         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32009 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32011         [BZ #12813]
32012         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32013         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32014         available.
32015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32016         __vdso_getcpu.
32018         [BZ #12814]
32019         * iconvdata/Makefile (tests): Add bug-iconv9.
32020         * iconvdata/bug-iconv9.c: New file.
32022 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32024         [BZ #12814]
32025         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32027 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32029         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32030         (struct user_regs_struct): Change intcs field back to cs.
32032 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32034         * po/ja.po: Update from translation team.
32036 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32038         [BZ #12795]
32039         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32040         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32042 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32044         * stdlib/longlong.h: Update from GCC.
32046 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32048         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32049         parameter name.
32050         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32051         Add parameter name.
32052         (__sysconf): Pass it down.
32054 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32056         [BZ #12671]
32057         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32058         some situations.
32059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32060         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32061         add in in __libc_use_alloca calls.  Adjust callers.
32062         (glob): Use malloc in some situations.
32064         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32065         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32066         pltexit.
32068 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32070         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32071         and CLOCK_BOOTTIME_ALARM.
32073         [BZ #12782]
32074         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32075         is returned.
32077         * string/_strerror.c (__strerror_r): Print negative errors as signed
32078         numbers.
32080         [BZ #12777]
32081         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32082         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32083         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32085         * configure.in: Fix typo in redirection and correct removal of test
32086         files in two cases.
32088         [BZ #12788]
32089         * locale/setlocale.c (new_composite_name): Fix test to check for
32090         identical name of all categories.
32092         [BZ #12792]
32093         * libio/filedoalloc.c (local_isatty): New function.
32094         (_IO_file_doallocate): Use local_isatty.
32095         * stdio-common/perror.c (perror): In case a new stream is used
32096         forward the stream error.
32097         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32098         error flag.
32100 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32102         [BZ #11869]
32103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32104         alloca.
32105         * include/alloca.h (extend_alloca_account): Define.
32107         [BZ #11857]
32108         * posix/regex.h: Fix comments with documentation of user-accessible
32109         fields after compilation and describe correct free'ing of pattern
32110         after re_compile_pattern.
32111         Patch by Reuben Thomas <rrt@sc3d.org>.
32113 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32115         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32116         and -mno-altivec to prevent the compiler from using Altivec and/or
32117         VSX instructions when the corresponding registers are not available.
32119 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32121         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32123 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32125         * libio/freopen.c (freopen): Use __dup2, not dup2.
32126         * libio/freopen64.c (freopen64): Likewise.
32128 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32130         [BZ #12775]
32131         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32132         * math/Makefile (tests): Add test-powl.
32133         (CFLAGS-test-powl.c): Define.
32134         * math/test-powl.c: New file.
32136 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32138         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32140 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32142         [BZ #11837]
32143         * iconvdata/gb18030.c: Update to GB18020-2005.
32145 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32147         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32148         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32149         Patch by Aharon Robbins <arnold@skeeve.com>.
32151         [BZ #11892]
32152         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32153         on the stack.
32155         [BZ #11895]
32156         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32157         through underflows.
32159         [BZ #12766]
32160         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32161         point to strings before performing equality test for error_one_per_line
32162         mode.
32164         [BZ #11697]
32165         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32167         [BZ #11820]
32168         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32169         (struct user_fpregs_struct): Avoid __uint*_t types.
32171         [BZ #6420]
32172         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32173         symbol info.  Use it instead of calling _dl_addr locally.
32174         (lock_and_info): New function.
32175         (tr_freehook): Call lock_and_info and pass symbol info as additional
32176         parameter to tr_where.
32177         (tr_mallochook): Likewise.
32178         (tr_reallochook): Likewise.
32179         (tr_memalignhook): Likewise.
32181         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32182         used and couldn't be at all thread-safe.
32184 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32186         * libio/freopen.c (freopen): Don't close old file descriptor
32187         before the new one is opened.  Instead dup the new file descriptor
32188         to the old one after the new stream is created.
32189         * libio/freopen64.c (freopen64): Likewise.
32190         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32191         * libio/fileops.c (_IO_new_file_close_it): Handle new
32192         _IO_FLAGS2_NOCLOSE flag.
32193         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32194         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32195         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32196         _IO_FLAGS2_NOCLOSE flag.
32197         * include/unistd.h: Add hidden_proto for dup3.
32198         Define __have_dup3.
32199         * io/dup3.c: Define hidden symbol.
32200         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32202         [BZ #7101]
32203         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32204         when an incomplete long option is used.
32205         * posix/tst-getopt_long1.c: New file.
32206         * posix/Makefile (tests): Add tst-getopt_long1.
32208         [BZ #10138]
32209         * scripts/config.guess: Update from autoconf-2.68.
32210         * scripts/config.sub: Likewise.
32212         [BZ #10157]
32213         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32214         tests into ...
32215         (has_cpuclock): ...this.  New function.
32216         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32217         macro here based on has_cpuclock code.
32219         [BZ #10149]
32220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32221         First byte (not low byte) is now always NUL.
32222         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32225         Use non-cancelable interfaces.
32227         [BZ #9809]
32228         * locale/iso-639.def: Add entry for Sorani.
32230         [BZ #11901]
32231         * include/stdlib.h: Move include protection to the right place.
32232         Define abort_msg_s.  Declare __abort_msg with it.
32233         * stdlib/abort.c (__abort_msg): Adjust type.
32234         * assert/assert.c (__assert_fail_base): New function.  Majority
32235         of code from __assert_fail.  Allocate memory for __abort_msg with
32236         mmap.
32237         (__assert_fail): Now call __assert_fail_base.
32238         * assert/assert-perr.c: Remove bulk of implementation.  Use
32239         __assert_fail_base.
32240         * include/assert.hL Declare __assert_fail_base.
32241         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32242         mmap.
32243         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32245 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32247         [BZ #11952]
32248         [BZ #12453]
32249         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32250         until all modules are registered in the DTV.
32251         * elf/Makefile: Add rules to build and run tst-tls19.
32252         * elf/tst-tls19.c: New file.
32253         * elf/tst-tls19mod1.c: New file.
32254         * elf/tst-tls19mod2.c: New file.
32255         * elf/tst-tls19mod3.c: New file.
32256         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32258         [BZ #12083]
32259         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32260         correctly.
32262         [BZ #12601]
32263         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32264         two-byte sequence errors.
32265         * iconvdata/Makefile (tests): Add bug-iconv8.
32266         * iconvdata/bug-iconv8.c: New file.
32268         [BZ #12626]
32269         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32270         buf2 definition.
32272         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32274         [BZ #12432]
32275         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32276         (dummy_getcfa): New function.
32277         (init): Get _Unwind_GetCFA address, use dummy if not found.
32278         (backtrace_helper): In recursion check, also check whether CFA changes.
32279         (__backtrace): Completely initialize arg.
32281         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32282         storing incomplete byte sequence in state object.  Avoid testing for
32283         guaranteed too small input if we know there is enough data available.
32285 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32287         * Makeconfig (+link-pie): Indent.
32288         * Rules (binaries-pie): Define if $(have-fpie) and
32289         $(build-shared).
32290         (binaries-shared): Also filter out $(binaries-pie).
32291         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32292         * nscd/Makefile (others-pie): Add nscd.
32293         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32294         ($(objpfx)nscd): Remove command override.
32295         * login/Makefile (others-pie): Add pt_chown.
32296         ($(objpfx)pt_chown): Remove command override.
32297         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32298         remove command overrides.
32300 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32302         * libio/tst_putwc.c: Fix error messages.
32304         [BZ #12724]
32305         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32306         currently writing and seek to current position when not.
32307         * libio/Makefile (tests): Add bug-fclose1.
32308         * libio/bug-fclose1.c: New file.
32310 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32312         [BZ #12511]
32313         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32314         don't set DF_1_NODELETE here.
32315         (do_lookup_x): When entering new entry test for copy relocation
32316         and if necessary set DF_1_NODELETE flag.
32317         * elf/tst-unique4.cc: New file.
32318         * elf/tst-unique4.h: New file.
32319         * elf/tst-unique4lib.cc: New file.
32320         * elf/Makefile: Add rules to build and run tst-unique4.
32321         Patch by Piotr Bury <pbury@goahead.com>.
32323 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32325         [BZ #12052]
32326         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32328         [BZ #12625]
32329         * misc/mntent_r.c (addmntent): Flush the stream after the output
32331         [BZ #12393]
32332         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32333         (is_trusted_path_normalize): Skip initial colon.  Append slash
32334         to empty buffer.  Duplicate is_trusted_path code but allow
32335         constructed patch to be prefix.
32336         (is_dst): Allow $ORIGIN followed by /.
32337         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32338         Correct testing of result of is_trusted_path_normalize
32339         (decompose_rpath): Fix warning.
32341 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32343         [BZ #11257]
32344         * grp/initgroups.c (internal_getgrouplist): When we found the service
32345         list through the initgroups entry in nsswitch.conf do not always
32346         continue on a successful lookup.  Don't always use the
32347         __nss_group_database value if it is set.
32348         * nss/nsswitch.conf (initgroups): Change action for successful db
32349         lookup to continue for compatibility.
32351 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32353         [BZ #11532]
32354         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32355         and CP774 modules.
32356         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32357         and CP774 modules.
32358         * iconvdata/tst-tables.sh: Likewise.
32359         * iconvdata/cp770.c: New file.
32360         * iconvdata/cp771.c: New file.
32361         * iconvdata/cp772.c: New file.
32362         * iconvdata/cp773.c: New file.
32363         * iconvdata/cp774.c: New file.
32364         * iconvdata/testdata/CP770: New file.
32365         * iconvdata/testdata/CP770..UTF8: New file.
32366         * iconvdata/testdata/CP771: New file.
32367         * iconvdata/testdata/CP771..UTF8: New file.
32368         * iconvdata/testdata/CP772: New file.
32369         * iconvdata/testdata/CP772..UTF8: New file.
32370         * iconvdata/testdata/CP773: New file.
32371         * iconvdata/testdata/CP773..UTF8: New file.
32372         * iconvdata/testdata/CP774: New file.
32373         * iconvdata/testdata/CP774..UTF8: New file.
32375         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32376         END CHARMAP line.
32377         * iconvdata/gen-8bit-gap.sh: Likewise.
32378         * iconvdata/gen-8bit.sh: Likewise.
32380         * locale/iso-639.def: Add ary entry.
32382         [BZ #11258]
32383         * locale/C-translit.h.in: Add U20A1 transliteration.
32385         [BZ #12178]
32386         * locale/iso-639.def: Add wae entry.
32387         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32389         [BZ #12545]
32390         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32391         for n.
32393         [BZ #12711]
32394         * locale/C-translit.h.in: Add entry for U20B9.
32395         Patch by pravin.d.s@gmail.com.
32397 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32399         [BZ #12713]
32400         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32401         ENAMETOOLONG use generic getcwd.
32402         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32403         in rtld.  Use *stat64.
32404         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32405         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32406         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32407         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32408         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32409         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32410         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32411         __fstatat64 macros.
32412         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32413         * dirent/rewinddir.c: Add libc_hidden_def.
32414         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32415         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32417         * include/dirent.h (__alloc_dir): Add flags parameter.
32418         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32419         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32420         __alloc_dir.
32421         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32422         from fdopendir if O_CLOEXEC is already set.
32424 2011-03-15  Alan Modra  <amodra@gmail.com>
32426         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32427         l_tls_firstbyte_offset non-zero.  Save padding offset in
32428         l_tls_firstbyte_offset for later use.
32429         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32430         freeing static tls block.
32432 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32434         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32435         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32436         being defined by the kernel headers.
32438 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32440         [BZ #12734]
32441         * resolv/resolv.h: Define RES_NOTLDQUERY.
32442         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32443         no-tld-query and set RES_NOTLDQUERY.
32444         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32445         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32446         modern BIND to search name as TLD unless forbidden.
32448 2011-05-07  Petr Baudis  <pasky@suse.cz>
32449             Ulrich Drepper  <drepper@gmail.com>
32451         [BZ #12393]
32452         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32453         (is_trusted_path): ...to here.
32454         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32455         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32456         using is_trusted_path_normalize() in setuid scripts.
32458 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32461         __BEGIN/__END_DECLS.
32463 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32465         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32466         NSS_STATUS_NOTFOUND if no record was found.
32468 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32470         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32471         (headers-not-in-tirpc): Remove rpc/netdb.h
32472         * resolv/netdb.h: Revert last change.
32474 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32476         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32477         circular dependency between libgcc.a and libc.a.
32479 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32481         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32482         * nis/Makefile: Don't install rpcsvc/*.
32483         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32484         instead of <rpc/types.h>.
32485         (MAXHOSTNAMELEN): Define.
32487 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32489         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32491 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32493         [BZ #12714]
32494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32495         gethostbyname4_r when IPv6 results are possible.
32497 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32499         [BZ #12723]
32500         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32501         _PC_PIPE_BUF handling.
32503 2011-04-30  Bruno Haible  <bruno@clisp.org>
32505         [BZ #12717]
32506         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32507         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32508         to 'int'.
32509         * inet/getnameinfo.c (getnameinfo): Likewise.
32511 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32513         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32514         to groups setting in database lookup.
32515         * nss/nsswitch.conf: Add initgroups entry.
32517 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32519         [BZ #12685]
32520         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32521         mode string.
32522         Patch by Eric Blake <eblake@redhat.com>.
32524 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32526         * sunrpc/Makefile (need-export-routines): Add svc_run.
32527         (routines): Remove svc_run.
32528         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32529         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32530         * sunrpc/svc_run.c (svc_run): Likewise.
32531         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32533 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32535         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32536         problem in reallocation in last patch.
32538 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32540         * sunrpc/Makefile: Move inclusion of Rules.
32542 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32544         * nss/nss_files/files-initgroups.c: New file.
32545         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32546         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32547         _nss_files_initgroups_dyn.
32549 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32551         * elf/elf.h (R_ARM_IRELATIVE): Define.
32553 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32555         * po/ru.po: Update from translation team.
32557 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32559         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32560         dependencies.
32562 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32564         [BZ #12653]
32565         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32566         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32567         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32568         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32571 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32573         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32574         differing bytes.
32575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32581         [BZ #12420]
32582         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32583         storing it.
32584         * stdlib/bug-getcontext.c: New file.
32585         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32587 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32589         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32590         instructions into .machine "z9-109".
32591         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32592         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32594 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32596         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32597         between environment variables and auxiliary vector.
32599 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32601         * Makefile: Add rules to build linkobj/libc.so.
32602         * include/libc-symbols.h: Define libc_hidden_nolink.
32603         * include/rpc/auth.h: Mark functions which are to be hidden.
32604         * include/rpc/auth_des.h: Likewise.
32605         * include/rpc/auth_unix.h: Likewise.
32606         * include/rpc/clnt.h: Likewise.
32607         * include/rpc/des_crypt.h: Likewise.
32608         * include/rpc/key_prot.h: Likewise.
32609         * include/rpc/pmap_clnt.h: Likewise.
32610         * include/rpc/pmap_prot.h: Likewise.
32611         * include/rpc/pmap_rmt.h: Likewise.
32612         * include/rpc/rpc_msg.h: Likewise.
32613         * include/rpc/svc.h: Likewise.
32614         * include/rpc/svc_auth.h: Likewise.
32615         * include/rpc/xdr.h: Likewise.
32616         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32617         * nss/Makefile: Likewise.
32618         * sunrpc/Makefile: Don't install headers.  Build library with normal
32619         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32620         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32621         for the compat linking library.  Remove use of INTDEF/INTUSE.
32622         * sunrpc/auth_none.c: Likewise.
32623         * sunrpc/auth_unix.c: Likewise.
32624         * sunrpc/authdes_prot.c: Likewise.
32625         * sunrpc/authuxprot.c: Likewise.
32626         * sunrpc/clnt_gen.c: Likewise.
32627         * sunrpc/clnt_perr.c: Likewise.
32628         * sunrpc/clnt_raw.c: Likewise.
32629         * sunrpc/clnt_simp.c: Likewise.
32630         * sunrpc/clnt_tcp.c: Likewise.
32631         * sunrpc/clnt_udp.c: Likewise.
32632         * sunrpc/clnt_unix.c: Likewise.
32633         * sunrpc/des_crypt.c: Likewise.
32634         * sunrpc/des_soft.c: Likewise.
32635         * sunrpc/get_myaddr.c: Likewise.
32636         * sunrpc/key_call.c: Likewise.
32637         * sunrpc/key_prot.c: Likewise.
32638         * sunrpc/netname.c: Likewise.
32639         * sunrpc/pm_getmaps.c: Likewise.
32640         * sunrpc/pm_getport.c: Likewise.
32641         * sunrpc/pmap_clnt.c: Likewise.
32642         * sunrpc/pmap_prot.c: Likewise.
32643         * sunrpc/pmap_prot2.c: Likewise.
32644         * sunrpc/pmap_rmt.c: Likewise.
32645         * sunrpc/publickey.c: Likewise.
32646         * sunrpc/rpc_cmsg.c: Likewise.
32647         * sunrpc/rpc_common.c: Likewise.
32648         * sunrpc/rpc_dtable.c: Likewise.
32649         * sunrpc/rpc_prot.c: Likewise.
32650         * sunrpc/rpc_thread.c: Likewise.
32651         * sunrpc/rtime.c: Likewise.
32652         * sunrpc/svc.c: Likewise.
32653         * sunrpc/svc_auth.c: Likewise.
32654         * sunrpc/svc_authux.c: Likewise.
32655         * sunrpc/svc_raw.c: Likewise.
32656         * sunrpc/svc_run.c: Likewise.
32657         * sunrpc/svc_simple.c: Likewise.
32658         * sunrpc/svc_tcp.c: Likewise.
32659         * sunrpc/svc_udp.c: Likewise.
32660         * sunrpc/svc_unix.c: Likewise.
32661         * sunrpc/svcauth_des.c: Likewise.
32662         * sunrpc/xcrypt.c: Likewise.
32663         * sunrpc/xdr.c: Likewise.
32664         * sunrpc/xdr_array.c: Likewise.
32665         * sunrpc/xdr_float.c: Likewise.
32666         * sunrpc/xdr_intXX_t.c: Likewise.
32667         * sunrpc/xdr_mem.c: Likewise.
32668         * sunrpc/xdr_rec.c: Likewise.
32669         * sunrpc/xdr_ref.c: Likewise.
32670         * sunrpc/xdr_sizeof.c: Likewise.
32671         * sunrpc/xdr_stdio.c: Likewise.
32673 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32675         [BZ #12650]
32676         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32677         * sysdeps/ia64/dl-tls.h: Likewise.
32678         * sysdeps/powerpc/dl-tls.h: Likewise.
32679         * sysdeps/s390/dl-tls.h: Likewise.
32680         * sysdeps/sh/dl-tls.h: Likewise.
32681         * sysdeps/sparc/dl-tls.h: Likewise.
32682         * sysdeps/x86_64/dl-tls.h: Likewise.
32683         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32685 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32687         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32688         rpath element also skip the following colon.
32689         (expand_dynamic_string_token): Add is_path parameter and pass
32690         down to DL_DST_REQUIRED and _dl_dst_substitute.
32691         (decompose_rpath): Call expand_dynamic_string_token with
32692         non-zero is_path.  Ignore empty rpaths.
32693         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32694         with zero is_path.
32696 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32699         Make cancelable.
32701 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32703         [BZ #12655]
32704         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32705         Patch by Filipe David Manana <fdmanana@apache.org>.
32707 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32709         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32710         Maintain aligned stack.
32711         (CHECK_RSP): Remove unused macro.
32713 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32715         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32716         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32718 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32720         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32722         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32724 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32726         [BZ #12518]
32727         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32728         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32729         * sysdeps/x86_64/memmove.c: New file.
32730         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32731         (memcpy): Renamed to ...
32732         (__new_memcpy): This.
32733         (memcpy): Provide GLIBC_2_14 memcpy.
32734         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32735         (memcpy): Provide GLIBC_2_2_5 memcpy.
32737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32739         [BZ #12631]
32740         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32742 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32744         * misc/syncfs.c: New file.
32745         * misc/Makefile (routines): Add syncfs.
32746         * posix/unistd.h: Declare syncfs.
32747         * sysdeps/unix/syscalls.list: Add syncfs.
32749 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32751         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32752         open_by_handle_at.
32753         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32754         * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
32759         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32761 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32763         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32764         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32765         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32767         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32769         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32771         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32772         sync_file_range.c with -fexceptions.
32773         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32774         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32775         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32776         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32777         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32778         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32780         sync_file_range as cancellation point
32781         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32782         now a wrapper around __call_sync_file_range with cancellation handling.
32783         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32784         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32785         function name to __call_sync_file_range.
32786         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32787         Add call_sync_file_range.
32789 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32792         bits/timex.h.
32794 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32796         * iconv/iconv.h: Fix typo in comment.
32797         * io/fcntl.h: Likewise.
32798         * libio/stdio.h: Likewise.
32799         * posix/spawn.h: Likewise.
32800         * posix/unistd.h: Likewise.
32801         * stdlib/stdlib.h: Likewise.
32802         * time/time.h: Likewise.
32803         * wcsmbs/wchar.h: Likewise.
32805         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32806         open_by_handle): Add.
32807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32808         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32809         Augment a few comments.
32810         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32812         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32814         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32815         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32816         open_by_handle.
32818         * io/fcntl.h (AT_EMPTY_PATH): Define.
32820 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32822         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32823         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32824         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32825         to...
32826         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32827         * Versions.def: Add GLIBC_2.14.
32828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32829         Export.
32831 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32833         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32834         round counter.
32835         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32837 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32839         [BZ #12597]
32840         * string/test-strncmp.c (do_page_test): New function.
32841         (check2): Likewise.
32842         (test_main): Call check2.
32843         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32845 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32847         [BZ #12587]
32848         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32849         Handle cache information in CPU leaf 4.
32850         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32852 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
32854         [BZ #12583]
32855         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32856         character representation.
32857         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32859 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
32861         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32862         END(__isnan) to END(__isnanf) to match function entry point/label
32863         EALIGN(__isnanf,...).
32865 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
32867         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32869 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
32871         [BZ #12510]
32872         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32873         copy from the symbol referenced in the relocation to initialize the
32874         used variable.
32875         Patch by Piotr Bury <pbury@goahead.com>.
32876         * elf/Makefile: Add rules to build and tst-unique3.
32877         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32878         * elf/tst-unique3.cc: New file.
32879         * elf/tst-unique3.h: New file.
32880         * elf/tst-unique3lib.cc: New file.
32881         * elf/tst-unique3lib2.cc: New file.
32883         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32885 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
32887         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32888         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
32889         to _start.
32891 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
32893         * elf/dl-load.c (_dl_map_object): If we are looking for the first
32894         to-be-loaded object along a path to loader is ld.so.
32896 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32897             Ulrich Drepper  <drepper@gmail.com>
32899         * sysdeps/x86_64/memset.S: After aligning destination, code
32900         branches to different locations depending on the value of
32901         misalignment, when multiarch is enabled. Fix this.
32903 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
32905         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32906         Set _x86_64_preferred_memory_instruction for AMD processsors.
32907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32908         Set bit_Prefer_SSE_for_memop for AMD processors.
32910 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
32912         * libio/fmemopen.c (fmemopen): Optimize a bit.
32914 2011-03-03  Andreas Schwab  <schwab@redhat.com>
32916         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32918 2011-03-03  Roland McGrath  <roland@redhat.com>
32920         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32922 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
32924         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
32925         __bzero_ultra1 instead of __memset_ultra1.
32927 2011-02-23  Andreas Schwab  <schwab@redhat.com>
32928             Ulrich Drepper  <drepper@gmail.com>
32930         [BZ #12509]
32931         * include/link.h (struct link_map): Add l_orig_initfini.
32932         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32933         returning unsuccessfully.
32934         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32935         close of a file loaded at startup, restore the original l_initfini
32936         list.
32937         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32938         list, store the pointer.
32939         * elf/Makefile ($(objpfx)noload-mem): New rule.
32940         (noload-ENV): Define.
32941         (tests): Add $(objpfx)noload-mem.
32942         * elf/noload.c: Include <memcheck.h>.
32943         (main): Call mtrace.  Close all opened handles.
32945 2011-02-17  Andreas Schwab  <schwab@redhat.com>
32947         [BZ #12454]
32948         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32949         dependencies are missing.
32951 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32953         Fix __if_freereq crash: Unlike the generic version which uses free,
32954         Hurd needs munmap.
32955         * sysdeps/mach/hurd/ifreq.h: New file.
32957 2011-01-27  Petr Baudis  <pasky@suse.cz>
32958             Ulrich Drepper  <drepper@gmail.com>
32960         [BZ 12445]#
32961         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32962         to extend_alloca().
32963         * stdio-common/bug23.c: New file.
32964         * stdio-common/Makefile (tests): Add bug23.
32966 2010-09-28  Andreas Schwab  <schwab@redhat.com>
32967             Ulrich Drepper  <drepper@gmail.com>
32969         [BZ #12489]
32970         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32971         before performing relro protection.  At old place add assertion
32972         to make sure nothing changed.
32974 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
32975             Glauber de Oliveira Costa  <glommer@gmail.com>
32977         * elf/elf.h: Add new ARM TLS relocs.
32979 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32982         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32983         cast from r3.
32984         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
32985         'tests' variable.
32986         * sysdeps/wordsize-64/tst-writev.c: New file.
32988 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
32990         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32991         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32992         insns in _dl_start to prevent a TOC reference before relocs are
32993         resolved.
32995 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
32997         [BZ #12469]
32998         * Makeconfig: Remove RANLIB definition.
32999         * Makerules: Don't use RANLIB.
33000         * aclocal.m4: Remove ranlib test.
33001         * configure.in: No need to check for ranlib.
33002         * elf/rtld-Rules: Don't use RANLIB.
33004 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33006         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33007         protection macro.
33008         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33009         inclusion protection macro.
33011         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33012         SIGRTMIN and SIGRTMAX and print information in that case only when
33013         SIGRTMIN is defined.
33015 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33017         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33018         arginfo fn returning -1.
33020         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33021         and thousands string is zero terminated.
33023 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33026         sysdeps/unix/sysv/linux/bits/socket.h.
33028 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33030         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33031         (__CPU_COUNT): Remove old macros.
33032         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33033         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33034         (__CPU_ALLOC, __CPU_FREE): Add macros.
33035         (__sched_cpualloc, __sched_cpufree): Add declarations.
33037 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33039         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33040         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33041         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33042         (readdhstai): Return value of addhstaiX call.
33043         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33044         (addgrbyX): Return value returned by cache_addgr.
33045         (readdgrbyname): Return value returned by addgrbyX.
33046         (readdgrbygid): Likewise.
33047         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33048         (addpwbyX): Return value returned by cache_addpw.
33049         (readdpwbyname): Return value returned by addhstbyX.
33050         (readdpwbyuid): Likewise.
33051         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33052         (addservbyX): Return value returned by cache_addserv.
33053         (readdservbyname): Return value returned by addservbyX:
33054         (readdservbyport): Likewise.
33055         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33056         (addhstbyX): Return value returned by cache_addhst.
33057         (readdhstbyname): Return value returned by addhstbyX.
33058         (readdhstbyaddr): Likewise.
33059         (readdhstbynamev6): Likewise.
33060         (readdhstbyaddrv6): Likewise.
33061         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33062         (readdinitgroups): Return value returned by addinitgroupsX.
33063         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33064         (prune_cache): Keep track of timeout value of re-added entries.
33065         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33066         * nscd/nscd.h: Adjust prototypes of readd* functions.
33068 2011-02-04  Roland McGrath  <roland@redhat.com>
33070         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33071         (nis_stats): Likewise.
33072         * nis/nis_modify.c (nis_modify): Likewise.
33073         * nis/nis_remove.c (nis_remove): Likewise.
33074         * nis/nis_add.c (nis_add): Likewise.
33076         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33078         * posix/fnmatch_loop.c: Add some consts.
33080         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33082 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33084         [BZ #12460]
33085         * config.make.in (config-cflags-novzeroupper): Define.
33086         * configure.in: Substitute libc_cv_cc_novzeroupper.
33087         * elf/Makefile (AVX-CFLAGS): Define.
33088         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33089         (CFLAGS-tst-auditmod4a.c): Likewise.
33090         (CFLAGS-tst-auditmod4b.c): Likewise.
33091         (CFLAGS-tst-auditmod6b.c): Likewise.
33092         (CFLAGS-tst-auditmod6c.c): Likewise.
33093         (CFLAGS-tst-auditmod7b.c): Likewise.
33094         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33096 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33098         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33099         function to the callback.
33100         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33102 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33104         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33105         of errno.
33107 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33109         [BZ #11724]
33110         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33111         of constructors.
33112         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33113         of destructors.
33114         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33116         [BZ #11724]
33117         * elf/Makefile: Add rules to build and run new test.
33118         * elf/tst-initorder.c: New file.
33119         * elf/tst-initorder.exp: New file.
33120         * elf/tst-initordera1.c: New file.
33121         * elf/tst-initordera2.c: New file.
33122         * elf/tst-initordera3.c: New file.
33123         * elf/tst-initordera4.c: New file.
33124         * elf/tst-initorderb1.c: New file.
33125         * elf/tst-initorderb2.c: New file.
33126         * elf/tst-order-a1.c: New file.
33127         * elf/tst-order-a2.c: New file.
33128         * elf/tst-order-a3.c: New file.
33129         * elf/tst-order-a4.c: New file.
33130         * elf/tst-order-b1.c: New file.
33131         * elf/tst-order-b2.c: New file.
33132         * elf/tst-order-main.c: New file.
33133         New test case by George Gensure <werkt0@gmail.com>.
33135 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33138         decoding ACE if AI_CANONIDN.
33140 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33142         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33144 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33146         * version.h (RELEASE): Bump for 2.13 release.
33147         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33149         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33151         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33152         MADV_NOHUGEPAGE.
33153         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33154         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33155         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33156         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33157         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33158         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33160         * posix/getconf.c: Update copyright year.
33161         * catgets/gencat.c: Likewise.
33162         * csu/version.c: Likewise.
33163         * debug/catchsegv.sh: Likewise.
33164         * debug/xtrace.sh: Likewise.
33165         * elf/ldconfig.c: Likewise.
33166         * elf/ldd.bash.in: Likewise.
33167         * elf/sprof.c (print_version): Likewise.
33168         * iconv/iconv_prog.c: Likewise.
33169         * iconv/iconvconfig.c: Likewise.
33170         * locale/programs/locale.c: Likewise.
33171         * locale/programs/localedef.c: Likewise.
33172         * malloc/memusage.sh: Likewise.
33173         * malloc/mtrace.pl: Likewise.
33174         * nscd/nscd.c (print_version): Likewise.
33175         * nss/getent.c: Likewise.
33177         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33178         PF_CAIF, and PF_ALG.
33179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33181 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33183         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33184         (modules-names): Use them.
33185         (ifunc-test-modules, ifunc-pie-tests): Define.
33186         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33187         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33188         (test-extras): Likewise.
33189         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33190         $(compile-command.c).
33191         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33192         (all-built-dso): Define.
33193         (check-textrel.out, check-execstack.out): Depend on it.
33195         * configure.in: Don't override --enable-multi-arch.
33197 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33199         [BZ #6812]
33200         * nscd/hstcache.c (tryagain): Define.
33201         (cache_addhst): Return tryagain not notfound for temporary errors.
33202         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33203         failed.
33205 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33207         [BZ #10563]
33208         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33209         to make the syscall.
33210         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33212         [BZ #12378]
33213         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33214         and fall back to matching as normal character if the string ends before
33215         the matching ']' is found.  This is what POSIX requires.
33216         * posix/testfnm.c: Adjust test result.
33217         * posix/globtest.sh: Adjust test result.  Add new test.
33218         * posix/tst-fnmatch.input: Likewise.
33219         * posix/tst-fnmatch2.c: Add new test.
33221 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33223         * elf/Makefile (check-execstack): Revert last change.  Depend on
33224         check-execstack.h.
33225         (check-execstack.h): New target.
33226         (generated): Add check-execstack.h.
33227         * elf/check-execstack.c: Include "check-execstack.h".
33228         (main): Revert last change.
33229         (handle_file): Return zero if GNU_STACK is absent and
33230         DEFAULT_STACK_PERMS doesn't include PF_X.
33232 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33234         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33235         in child fails because the descriptor is already closed.
33236         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33237         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33238         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33240         [BZ #12397]
33241         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33242         syscall.
33244         [BZ #10484]
33245         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33246         temporary buffer used to handle multi lookups locally.
33247         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33249 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33251         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33252         loader is ld.so.
33254 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33256         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33257         alignment for SSE2.
33259 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33261         [BZ #12394]
33262         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33263         characters.  When rounding increased number of integer digits recompute
33264         number of groups.
33265         * stdio-common/tst-grouping.c: New file.
33266         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33268 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33270         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33271         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33273         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33274         void.
33275         * bits/select.h: Likewise.
33277 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33279         * po/ja.po: Update from translation team.
33281 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33283         [BZ #11155]
33284         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33285         implementation just like for lxstat, fxstatat, et al.
33287 2010-12-27  Jim Meyering  <meyering@redhat.com>
33289         [BZ #12348]
33290         * posix/regexec.c (build_trtable): Return failure indication upon
33291         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33293 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33295         [BZ #12201]
33296         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33297         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33298         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33299         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33301         [BZ #12207]
33302         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33304         [BZ #12204]
33305         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33306         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33308 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33310         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33311         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33312         script has SORT_BY_INIT_PRIORITY.
33313         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33314         NO_CTORS_DTORS_SECTIONS is defined.
33315         * elf/soinit.c: Likewise.
33316         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33317         NO_CTORS_DTORS_SECTIONS is defined.
33318         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33319         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33320         * sysdeps/sh/init-first.c: Likewise.
33321         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33323 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33325         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33326         always use the slow path.
33328 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33330         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33331         similar rule which adds the sysdep directories to the header search in
33332         order to pick up the correct platform stackinfo.h.
33333         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33334         perform test if it is, otherwise return successfully without testing.
33335         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33336         DEFAULT_STACK_PERMS define in stackinfo.h.
33337         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33338         defined in stackinfo.h.
33339         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33340         DEFAULT_STACK_PERMS defined in stackinfo.h.
33341         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33342         * sysdeps/ia64/stackinfo.h: Likewise.
33343         * sysdeps/s390/stackinfo.h: Likewise.
33344         * sysdeps/sh/stackinfo.h: Likewise.
33345         * sysdeps/sparc/stackinfo.h: Likewise.
33346         * sysdeps/x86_64/stackinfo.h: Likewise.
33347         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33348         PF_X for powerpc64.  Retain PF_X for powerpc32.
33350 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33352         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33353         accurately.
33354         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33355         GETDENTS_64BIT_ALIGNED.
33357 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33359         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33361 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33363         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33364         _GNU_SOURCE.
33366         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33367         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33368         Remove __restrict.
33369         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33370         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33372 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33374         [BZ #11655]
33375         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33376         are initialized.
33378 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33380         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33382 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33384         * po/it.po: Update from translation team.
33386 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33389         unused codes.
33391 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33393         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33395 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33397         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33398         specially.
33399         (gaih_getanswer_slice): Likewise.
33401 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33403         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33405 2010-05-31  Petr Baudis  <pasky@suse.cz>
33407         [BZ #11149]
33408         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33409         silently even in the chroot mode.
33411 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33413         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33414         last patch a bit.  Pretty printing
33416 2010-05-31  Petr Baudis <pasky@suse.cz>
33418         [BZ #10085]
33419         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33420         initialization of skip_initgroups_dyn.
33422 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33424         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33427 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33429         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33431 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33433         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33434         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33435         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33436         ($(objpfx)tst-fnmatch-mem): New rule.
33437         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33438         * posix/tst-fnmatch.c (main): Call mtrace.
33440 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33443         Support Intel processor model 6 and model 0x2c.
33445 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33447         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33448           signed comparison.
33450 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33452         [BZ #12205]
33453         * string/test-strncasecmp.c (check_result): New function.
33454         (do_one_test): Use it.
33455         (check1): New function.
33456         (test_main): Use it.
33457         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33458         Support strcasecmp and strncasecmp.
33460 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33462         [BZ #12194]
33463         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33464         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33466 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33468         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33469         IFUNC support.
33470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33471         memset-x86-64.
33472         * sysdeps/x86_64/multiarch/bzero.S: New file.
33473         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33474         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33475         * sysdeps/x86_64/multiarch/memset.S: New file.
33476         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33478         Set bit_Prefer_SSE_for_memop for Intel processors.
33479         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33480         Define.
33481         (index_Prefer_SSE_for_memop): Define.
33482         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33484 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33486         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33487         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33489 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33491         [BZ #12191]
33492         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33493         (__x86_64_raw_data_cache_size_half): Likewise.
33494         (__x86_64_raw_shared_cache_size): Likewise.
33495         (__x86_64_raw_shared_cache_size_half): Likewise.
33497         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33498         (__x86_64_raw_data_cache_size_half): Likewise.
33499         (__x86_64_raw_shared_cache_size): Likewise.
33500         (__x86_64_raw_shared_cache_size_half): Likewise.
33501         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33502         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33503         and __x86_64_raw_shared_cache_size_half.  Round
33504         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33505         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33506         to multiple of 256 bytes.
33508 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33510         [BZ #12167]
33511         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33512         of inacessible symlinks.  Verify result of symlink before returning it.
33513         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33514         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33516 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33518         * math/math.h (isinf): Fix typo in comment.
33520 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33522         * po/da.po: Update from translation team.
33524 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33526         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33527         is added to the list.
33529 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33530             Ulrich Drepper  <drepper@gmail.com>
33532         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33533         the global list here.  Move code to...
33534         (_dl_add_to_namespace_list): ...here.  New function.
33535         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33536         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33537         * elf/dl-load.c (lose): Don't remove the element from the list.
33538         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33539         (_dl_map_object): Likewise.
33541 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33543         [BZ #12159]
33544         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33545         into all bytes of SSE register.
33546         Patch by Richard Li <richardpku@gmail.com>.
33548 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33550         [BZ #12140]
33551         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33552         perturbing.
33554 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33556         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33557         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33558         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33559         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33561         submachine.
33562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33564 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33566         * include/dlfcn.h (__RTLD_SECURE): Define.
33567         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33568         mode & __RTLD_SECURE instead.
33569         (open_path): Rename preloaded parameter to secure.
33570         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33571         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33572         * elf/dl-deps.c (openaux): Likewise.
33573         * elf/rtld.c (struct map_args): Remove is_preloaded.
33574         (map_doit): Don't use it.
33575         (dl_main): Likewise.
33576         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33577         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33579 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33581         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33582         (sysd-rules-targets): Remove duplicates.
33583         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33584         rtld-%.$o dependency.
33586 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33588         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33589         _dl_map_object do it.
33591 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33593         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33594         fast fma builtins, define the macros in the C99 standard.
33595         (FP_FAST_FMAF): Likewise.
33596         (FP_FAST_FMAL): Likewise.
33597         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33599         * bits/mathdef.h: Update copyright year.
33600         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33602 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33604         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33605         builtins, define the macros in the C99 standard.
33606         (FP_FAST_FMAF): Likewise.
33607         (FP_FAST_FMAL): Likewise.
33608         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33609         multiply/add.
33610         (FP_FAST_FMAF): Likewise.
33612 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33614         [BZ #3268]
33615         * math/libm-test.inc (fma_test): Some new testcases.
33616         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33617         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33618         y and infinite z.  Do multiplication by C already in long double.
33619         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33621         y and infinite z.  Do bitwise or of inexact bit into u.d.
33622         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33623         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33624         * sysdeps/i386/fpu/s_fma.S: Removed.
33625         * sysdeps/i386/fpu/s_fmal.S: Removed.
33627 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33629         [BZ #3268]
33630         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33632         computation is not scheduled after fetestexcept.  Fix value
33633         of minimum denormal long double.
33635 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33637         [BZ #3268]
33638         * math/libm-test.inc (fma_test): Add some more tests.
33639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33640         correctly.
33642 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33644         * scripts/data/localplt-s390-linux-gnu.data: New file.
33645         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33647 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33649         [BZ #3268]
33650         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33651         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33652         instead of dbl-64.
33653         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33654         inlines.
33655         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33657         if one of x and y is very large and the other is subnormal.
33658         * sysdeps/s390/fpu/s_fmaf.c: New file.
33659         * sysdeps/s390/fpu/s_fma.c: New file.
33660         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33661         * sysdeps/powerpc/fpu/s_fma.S: New file.
33662         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33663         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33664         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33666 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33668         [BZ #3268]
33669         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33670         fma tests.
33671         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33672         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33673         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33674         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33675         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33676         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33679 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33681         [BZ #12078]
33682         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33683         * posix/bug-regex31.input: Add test case.
33685 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33687         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33688         * posix/bug-regex31.input: New file.
33690         [BZ #12078]
33691         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33692         (parse_sub_exp): Fix last change, use postorder.
33694         * posix/bug-regex31.c: New file.
33695         * posix/Makefile: Add rules to build and run bug-regex31.
33697         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33699         [BZ #12078]
33700         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33702         [BZ #12108]
33703         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33704         to have entries in sys_siglist.
33706         [BZ #12093]
33707         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33708         be NULL.
33710 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33712         [BZ #3268]
33713         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33714         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33715         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33716         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33717         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33718         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33719         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33720         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33721         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33722         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33723         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33724         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33725         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33726         * math/ftestexcept.c (fetestexcept): Likewise.
33727         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33728         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33729         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33730         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33731         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33732         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33733         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33735 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33737         [BZ #12107]
33738         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33739         newline.
33741 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33743         * string/bug-strstr1.c: New file.
33744         * string/Makefile: Add rules to build and run bug-strstr1.
33746 2010-10-05  Eric Blake  <eblake@redhat.com>
33748         [BZ #12092]
33749         * string/str-two-way.h (two_way_long_needle): Always clear memory
33750         when skipping input due to the shift table.
33752 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33754         [BZ #12005]
33755         * malloc/mcheck.c: Handle large requests.
33757         [BZ #12077]
33758         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33759         for strncmp and strncasecmp.
33760         * string/stratcliff.c: Add tests for strcmp and strncmp.
33761         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33763 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33765         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33766         __set_fpscr.
33768 2010-09-30  Andreas Jaeger  <aj@suse.de>
33770         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33771         (CGROUP_SUPER_MAGIC): Define.
33772         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33773         Handle btrfs and cgroup file systems.
33774         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33775         Likewise.
33777 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33779         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33780         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33782 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33784         [BZ #12067]
33785         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33786         trying to locate the ELF header.
33788 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33790         [BZ #11611]
33791         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33792         Mask out sign-bit copies when constructing f_fsid.
33794 2010-09-24  Petr Baudis <pasky@suse.cz>
33796         * debug/stack_chk_fail_local.c: Add missing licence exception.
33797         * debug/warning-nop.c: Likewise.
33799 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33802         implementing getdents64 using getdents syscall, set d_type if
33803         __ASSUME_GETDENTS32_D_TYPE.
33805 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33807         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33808         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33810 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33812         [BZ #12037]
33813         * posix/unistd.h: Undo change of feature selection for ftruncate from
33814         2010-01-11.
33816 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33818         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33819         detection.
33821 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33823         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33824         fanotify_mark.
33825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33827 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33829         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33830         variables after CHECK_SP call.
33831         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33833 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33834             Ulrich Drepper  <drepper@redhat.com>
33836         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33837         re-relocationg ld.so.
33838         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33839         _dl_init_paths call.
33840         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33841         here anymore.
33843 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33845         * resolv/res_init.c (__res_vinit): Count the default server we added.
33847 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33848             Ulrich Drepper  <drepper@redhat.com>
33850         [BZ #11968]
33851         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33852         (____longjmp_chk): Use %ebx for saving value across system call.
33853         Add unwind info.
33855 2010-09-06  Andreas Schwab  <schwab@redhat.com>
33857         * manual/Makefile: Don't mix pattern rules with normal rules.
33859 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
33861         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33862         operation.
33863         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33864         * libio/iofopncook.c (_IO_cookie_init): Likewise.
33865         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33866         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33868         Likewise.
33870 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
33872         [BZ #11979]
33873         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33874         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33876 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
33878         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33879         * sysdeps/x86_64/addmul_1.S: Likewise.
33880         * sysdeps/x86_64/lshift.S: Likewise.
33881         * sysdeps/x86_64/mul_1.S: Likewise.
33882         * sysdeps/x86_64/rshift.S: Likewise.
33883         * sysdeps/x86_64/sub_n.S: Likewise.
33884         * sysdeps/x86_64/submul_1.S: Likewise.
33886 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33888         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33889         Define __sched_param instead of SCHED_* and sched_param when
33890         <bits/sched.h> is included with __need_schedparam defined.
33891         * bits/sched.h [__need_schedparam]
33892         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
33893         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33894         (__defined_schedparam): Define to 1.
33895         (__sched_param): New structure, identical to sched_param.
33896         (__need_schedparam): Undefine.
33898 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
33900         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33901         (epoll_create1): Declare.
33903         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33905 2010-08-31  Andreas Schwab  <schwab@redhat.com>
33907         [BZ #7066]
33908         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33909         shifting retval into place.
33911 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
33913         * nis/rpcsvc/nis.h: Update copyright notice.
33914         * nis/rpcsvc/nis.x: Likewise.
33915         * nis/rpcsvc/nis_callback.h: Likewise.
33916         * nis/rpcsvc/nis_callback.x: Likewise.
33917         * nis/rpcsvc/nis_object.x: Likewise.
33918         * nis/rpcsvc/nis_tags.h: Likewise.
33919         * nis/rpcsvc/yp.h: Likewise.
33920         * nis/rpcsvc/yp.x: Likewise.
33921         * nis/rpcsvc/ypupd.h: Likewise.
33922         * nis/yp_xdr.c: Likewise.
33923         * nis/ypupdate_xdr.c: Likewise.
33925         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
33926         mainly the body of pmap_getport.  Add parameters to specify timeouts.
33927         (pmap_getport): Use __libc_rpc_getport.
33928         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33929         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33930         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33932 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33935         fanotify_mark.
33937 2010-08-27  Roland McGrath  <roland@redhat.com>
33939         * sysdeps/i386/i686/multiarch/Makefile
33940         (CFLAGS-varshift.c): New variable.
33942 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
33944         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33945         * sysdeps/i386/i686/multiarch/varshift.c: New file.
33947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33949         * sysdeps/x86_64/strlen.S: Minimal code improvement.
33951 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
33953         * sysdeps/x86_64/strlen.S: Unroll the loop.
33954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33955         strlen-sse2 strlen-sse2-bsf.
33956         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33957         __strlen_no_bsf if bit_Slow_BSF is set.
33958         (__strlen_sse42): Removed.
33959         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33960         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33962 2010-08-25  Roland McGrath  <roland@redhat.com>
33964         * sysdeps/x86_64/multiarch/varshift.S: File removed.
33965         * sysdeps/x86_64/multiarch/varshift.c: New file.
33966         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33967         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33968         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33969         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33971 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
33973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33974         strlen-sse2 strlen-sse2-bsf.
33975         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33976         __strlen_sse2_bsf if bit_Slow_BSF is unset.
33977         (__strlen_sse2): Removed.
33978         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33979         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33981         bit_Slow_BSF for Atom.
33982         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33983         (index_Slow_BSF): Define.
33984         (HAS_SLOW_BSF): Define.
33986 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
33988         [BZ #10851]
33989         * resolv/res_init.c (__res_vinit): When no server address at all
33990         is given default to loopback.
33992 2010-08-24  Roland McGrath  <roland@redhat.com>
33994         * configure.in: Remove config-name.h generation.
33995         * configure: Regenerated.
33996         * config-name.in: File removed.
33997         * scripts/config-uname.sh: New file.
33998         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33999         ($(objdir)config-name.h): New target.
34001         * sunrpc/rpc_parse.h: Avoid nested comment.
34003 2010-08-24  Richard Henderson  <rth@redhat.com>
34004             Ulrich Drepper  <drepper@redhat.com>
34005             H.J. Lu  <hongjiu.lu@intel.com>
34007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34009         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34010         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34011         _mm_alignr_epi8 with _mm_loadu_si128.
34012         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34013         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34014         (__m128i_shift_right): Removed.
34015         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34016         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34017         * sysdeps/x86_64/multiarch/varshift.h: New file.
34018         * sysdeps/x86_64/multiarch/varshift.S: New file.
34020 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34022         * configure.in: Move assembler checks to before sysdep dir checking.
34024 2010-08-20  Petr Baudis  <pasky@suse.cz>
34026         * LICENSES: Sync the sunrpc license.
34028 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34030         * sunrpc/auth_des.c: Update copyright notice once again.
34031         * sunrpc/auth_none.c: Likewise.
34032         * sunrpc/auth_unix.c: Likewise.
34033         * sunrpc/authdes_prot.c: Likewise.
34034         * sunrpc/authuxprot.c: Likewise.
34035         * sunrpc/bindrsvprt.c: Likewise.
34036         * sunrpc/clnt_gen.c: Likewise.
34037         * sunrpc/clnt_perr.c: Likewise.
34038         * sunrpc/clnt_raw.c: Likewise.
34039         * sunrpc/clnt_simp.c: Likewise.
34040         * sunrpc/clnt_tcp.c: Likewise.
34041         * sunrpc/clnt_udp.c: Likewise.
34042         * sunrpc/clnt_unix.c: Likewise.
34043         * sunrpc/des_crypt.c: Likewise.
34044         * sunrpc/des_soft.c: Likewise.
34045         * sunrpc/get_myaddr.c: Likewise.
34046         * sunrpc/getrpcport.c: Likewise.
34047         * sunrpc/key_call.c: Likewise.
34048         * sunrpc/key_prot.c: Likewise.
34049         * sunrpc/openchild.c: Likewise.
34050         * sunrpc/pm_getmaps.c: Likewise.
34051         * sunrpc/pm_getport.c: Likewise.
34052         * sunrpc/pmap_clnt.c: Likewise.
34053         * sunrpc/pmap_prot.c: Likewise.
34054         * sunrpc/pmap_prot2.c: Likewise.
34055         * sunrpc/pmap_rmt.c: Likewise.
34056         * sunrpc/rpc/auth.h: Likewise.
34057         * sunrpc/rpc/auth_unix.h: Likewise.
34058         * sunrpc/rpc/clnt.h: Likewise.
34059         * sunrpc/rpc/des_crypt.h: Likewise.
34060         * sunrpc/rpc/key_prot.h: Likewise.
34061         * sunrpc/rpc/netdb.h: Likewise.
34062         * sunrpc/rpc/pmap_clnt.h: Likewise.
34063         * sunrpc/rpc/pmap_prot.h: Likewise.
34064         * sunrpc/rpc/pmap_rmt.h: Likewise.
34065         * sunrpc/rpc/rpc.h: Likewise.
34066         * sunrpc/rpc/rpc_des.h: Likewise.
34067         * sunrpc/rpc/rpc_msg.h: Likewise.
34068         * sunrpc/rpc/svc.h: Likewise.
34069         * sunrpc/rpc/svc_auth.h: Likewise.
34070         * sunrpc/rpc/types.h: Likewise.
34071         * sunrpc/rpc/xdr.h: Likewise.
34072         * sunrpc/rpc_clntout.c: Likewise.
34073         * sunrpc/rpc_cmsg.c: Likewise.
34074         * sunrpc/rpc_common.c: Likewise.
34075         * sunrpc/rpc_cout.c: Likewise.
34076         * sunrpc/rpc_dtable.c: Likewise.
34077         * sunrpc/rpc_hout.c: Likewise.
34078         * sunrpc/rpc_main.c: Likewise.
34079         * sunrpc/rpc_parse.c: Likewise.
34080         * sunrpc/rpc_parse.h: Likewise.
34081         * sunrpc/rpc_prot.c: Likewise.
34082         * sunrpc/rpc_sample.c: Likewise.
34083         * sunrpc/rpc_scan.c: Likewise.
34084         * sunrpc/rpc_scan.h: Likewise.
34085         * sunrpc/rpc_svcout.c: Likewise.
34086         * sunrpc/rpc_tblout.c: Likewise.
34087         * sunrpc/rpc_util.c: Likewise.
34088         * sunrpc/rpc_util.h: Likewise.
34089         * sunrpc/rpcinfo.c: Likewise.
34090         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34091         * sunrpc/rpcsvc/key_prot.x: Likewise.
34092         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34093         * sunrpc/rpcsvc/mount.x: Likewise.
34094         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34095         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34096         * sunrpc/rpcsvc/rex.x: Likewise.
34097         * sunrpc/rpcsvc/rstat.x: Likewise.
34098         * sunrpc/rpcsvc/rusers.x: Likewise.
34099         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34100         * sunrpc/rpcsvc/spray.x: Likewise.
34101         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34102         * sunrpc/rtime.c: Likewise.
34103         * sunrpc/svc.c: Likewise.
34104         * sunrpc/svc_auth.c: Likewise.
34105         * sunrpc/svc_authux.c: Likewise.
34106         * sunrpc/svc_raw.c: Likewise.
34107         * sunrpc/svc_run.c: Likewise.
34108         * sunrpc/svc_simple.c: Likewise.
34109         * sunrpc/svc_tcp.c: Likewise.
34110         * sunrpc/svc_udp.c: Likewise.
34111         * sunrpc/svc_unix.c: Likewise.
34112         * sunrpc/svcauth_des.c: Likewise.
34113         * sunrpc/xcrypt.c: Likewise.
34114         * sunrpc/xdr.c: Likewise.
34115         * sunrpc/xdr_array.c: Likewise.
34116         * sunrpc/xdr_float.c: Likewise.
34117         * sunrpc/xdr_mem.c: Likewise.
34118         * sunrpc/xdr_rec.c: Likewise.
34119         * sunrpc/xdr_ref.c: Likewise.
34120         * sunrpc/xdr_sizeof.c: Likewise.
34121         * sunrpc/xdr_stdio.c: Likewise.
34123         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34124         handling.
34126 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34128         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34130 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34132         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34133         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34134         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34135         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34136         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34137         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34138         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34139         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34140         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34141         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34142         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34143         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34144         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34145         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34147 2010-07-26  Anton Blanchard  <anton@samba.org>
34149         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34150         * malloc/arena.c (heap_trim): Likewise.
34152 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34154         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34155         here.  Not...
34156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34157         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34159 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34161         * sysdeps/i386/elf/Makefile: New file.
34163 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34165         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34166         from fanotify_init.
34167         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34168         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34170 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34172         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34173         of strncasecmp_l.
34174         * sysdeps/multiarch/strcmp.S: Likewise.
34176 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34178         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34179         strncase_l-nonascii.
34180         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34181         Add strncase_l-ssse3.
34182         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34183         * sysdeps/x86_64/strcmp.S: Likewise.
34184         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34185         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34186         * sysdeps/x86_64/strncase.S: New file.
34187         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34188         * sysdeps/x86_64/strncase_l.S: New file.
34189         * string/Makefile (strop-tests): Add strncasecmp.
34190         * string/test-strncasecmp.c: New file.
34192         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34193         warning.
34195         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34196         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34198 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34200         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34202 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34204         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34205         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34206         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34208 2010-05-01  Alan Modra  <amodra@gmail.com>
34210         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34211         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34212         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34213         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34214         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34215         tidying.  Don't tail-call __sigjmp_save for static lib.
34216         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34217         save location.
34218         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34219         (CALL_MCOUNT): Add eh info, and nop after bl.
34220         (TAIL_CALL_SYSCALL_ERROR): New macro.
34221         (PSEUDO_RET): Use it.
34222         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34223         Correct save location of integer regs and cr.
34224         (_dl_profile_resolve): Correct cr save location.  Delete nops
34225         after bl when SHARED.  Reduce cfi size a little by better
34226         placement of cfi directives.
34227         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34228         make a stack frame.  Instead use parm save area as a temp.
34229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34230         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34232         Don't make a stack frame for parent, use parm save area.
34233         Increase child stack frame to 112 bytes.  Don't save unused reg,
34234         and adjust reg usage.  Set up cfi on error recovery and
34235         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34237         (__makecontext): Add dummy nop after jump to exit.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34239         Use correct parm save area and cr save, reduce stack frame.
34240         Correct cfi for possible PSEUDO_RET frame setup.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34242         Branch to local label emitted by PSEUDO_RET rather than
34243         __syscall_error.
34245 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34247         [BZ #11904]
34248         * locale/programs/locale.c (print_assignment): New function.
34249         (show_locale_vars): Use it.
34251 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34253         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34254         field.
34255         (struct statfs64): Likewise.
34256         (_STATFS_F_FLAGS): Define.
34257         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34258         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34259         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34260         (ST_VALID): Define locally.
34261         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34262         __statvfs_getflags, use the provided value.
34263         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34264         __ASSUME_STATFS_F_FLAGS.
34266         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34268         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34269         Add sys/fanotify.h.
34270         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34271         fanotify_mask for GLIBC_2.13.
34272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34273         fanotify_init and fanotify_mark.
34274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34275         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34277         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34278         Add prlimit.
34279         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34280         prlimit64 for GLIBC_2.13.
34281         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34282         prlimit64.
34283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34284         syscall.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34286         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34287         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34288         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34290         add prlimit alias.
34291         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34293         [BZ #11903]
34294         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34295         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34297         * nss/Makefile: Add rules to build and run tst-nss-test1.
34298         * shlib-versions: Add entry for libnss_test1.
34299         * nss/nss_test1.c: New file.
34300         * nss/tst-nss-test1.c: New file.
34302         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34303         (__nss_configure_lookup): Set appropriate entry in
34304         __nss_configure_lookup to true.
34305         * nss/nsswitch.h: Define enum with indeces of databases in
34306         databases and __nss_database_custom arrays.  Declare
34307         __nss_database_custom.
34308         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34309         to avoid using nscd when custom rules are installed.
34310         * nss/getXXbyYY_r.c: Likewise.
34311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34313         * nss/nss_files/files-parse.c: Whitespace fixes.
34315 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34317         [BZ #11883]
34318         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34319         * posix/fnmatch_loop.c: Likewise.
34321 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34323         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34324         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34325         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34326         * Versions.def [GLIBC_2.13]: Add.
34328 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34330         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34331         Also fail if tpwd after pwuid call is NULL.
34333 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34335         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34336         when converting to ms.
34338 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34340         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34341         EOPNOTSUPP errors with ENOTTY.
34342         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34343         EOPNOTSUPP errors with ENOTTY.
34345 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34347         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34348         Add strcasecmp_l-ssse3.
34349         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34350         strcasecmp.
34351         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34352         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34353         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34355 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34357         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34359         * string/Makefile (strop-tests): Add strcasecmp.
34360         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34361         strcasecmp_l-nonascii.
34362         (gen-as-const-headers): Add locale-defines.sym.
34363         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34364         * sysdeps/x86_64/strcasecmp.S: New file.
34365         * sysdeps/x86_64/strcasecmp_l.S: New file.
34366         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34367         * sysdeps/x86_64/locale-defines.sym: New file.
34368         * string/test-strcasecmp.c: New file.
34370         * string/test-strcasestr.c: Test both ends of the range of characters.
34371         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34373 2010-07-29  Roland McGrath  <roland@redhat.com>
34375         [BZ #11856]
34376         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34378 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34380         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34381         for ld.so.
34383 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34385         * manual/memory.texi (Malloc Tunable Parameters): Document
34386         M_PERTURB.
34388 2010-07-26  Roland McGrath  <roland@redhat.com>
34390         [BZ #11840]
34391         * configure.in (-fgnu89-inline check): Set and substitute
34392         gnu89_inline, not libc_cv_gnu89_inline.
34393         * configure: Regenerated.
34394         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34396 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34398         * string/test-strnlen.c: New file.
34399         * string/Makefile (strop-tests): Add strnlen.
34400         * string/tester.c (test_strnlen): Add a few more test cases.
34401         * string/tst-strlen.c: Better error reporting.
34403         * sysdeps/x86_64/strnlen.S: New file.
34405 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34407         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34408         lower-latency instructions.
34410 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34412         * string/test-strcasestr.c: New file.
34413         * string/test-strstr.c: New file.
34414         * string/Makefile (strop-tests): Add strstr and strcasestr.
34415         * string/str-two-way.h: Don't undefine MAX.
34416         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34418 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34421         strcasestr-nonascii.
34422         (CFLAGS-strcasestr-nonascii.c): Define.
34423         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34425         Remove unused attribute.
34427 2010-07-20  Roland McGrath  <roland@redhat.com>
34429         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34430         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34431         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34432         like LD_HWCAP_MASK can disable hwcaps.
34434 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34436         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34438 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34440         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34441         call in strcasestr.
34442         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34443         __strcasestr_sse42_nonascii.
34444         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34445         strcasestr-nonascii.c.
34446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34448 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34450         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34451         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34452         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34453         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34455 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34457         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34458         fcntl.
34460 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34462         [BZ #11577]
34463         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34464         dl_signal_cerror.
34466 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34468         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34469         _PC_PIPE_BUF using F_GETPIPE_SZ.
34471 2010-07-05  Roland McGrath  <roland@redhat.com>
34473         * manual/arith.texi (Rounding Functions): Fix rint description
34474         implicit in round description.
34476 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34478         * elf/Makefile: Fix linking for a few tests to make recent linker
34479         happy.
34481 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34483         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34484         $(common-objpfx)libc_nonshared.a.
34486 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34488         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34489         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34490         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34491         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34492         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34493         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34494         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34495         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34510         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34511         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34512         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34513         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34514         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34515         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34516         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34517         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34518         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34519         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34520         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34521         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34537 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34539         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34540         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34541         * string/memmove.c (memmove): Renamed to ...
34542         (MEMMOVE): ...this.  Default to memmove.
34543         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34544         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34545         (END_CHK): Define.
34546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34547         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34548         mempcpy-ssse3-back memmove-ssse3-back.
34549         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34550         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34551         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34552         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34553         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34554         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34555         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34556         * sysdeps/x86_64/multiarch/memmove.c: New file.
34557         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34558         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34559         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34560         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34561         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34562         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34563         Define.
34564         (index_Fast_Copy_Backward): Define.
34565         (HAS_ARCH_FEATURE): Define.
34566         (HAS_FAST_REP_STRING): Define.
34567         (HAS_FAST_COPY_BACKWARD): Define.
34569 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34571         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34572         Restore proper fallback handling.
34574 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34576         [BZ #11701]
34577         * posix/group_member.c (__group_member): Correct checking loop.
34579         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34580         OOM in getpwuid_r correctly.  Return error number when the caller
34581         should return, otherwise -1.
34582         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34583         call returning > 0 value.
34584         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34586 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34588         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34589         libc_nonshared.a from targets in modules-names.
34591 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34593         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34594         requires it.
34596 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34598         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34599         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34600         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34603 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34605         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34607 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34610         and F_GETPIPE_SZ.
34611         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34615         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34616         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34618 2010-06-14  Roland McGrath  <roland@redhat.com>
34620         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34622 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34624         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34625         __REDIRECT followed by __THROW.
34626         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34627         * posix/getopt.h (getopt): Likewise.
34629 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34631         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34632         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34633         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34634         in AT_FLAGS.
34635         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34636         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34638 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34640         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34642 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34644         [BZ #11640]
34645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34646         Properly check family and model.
34648 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34650         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34652 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34654         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34656 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34658         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34659         symbol reference.
34661 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34663         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34664         symbol reference.
34666 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34668         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34669         and internal_recvmmsg.
34670         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34671         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34672         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34673         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34675         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34676         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34677         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34679 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34681         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34683 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34685         POWER7 optimizations.
34686         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34687         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34689 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34691         * version.h: Update for 2.13 development version.
34693 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34695         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34696         exceptions.  Return 0.
34698 2010-05-07  Roland McGrath  <roland@redhat.com>
34700         * elf/ldconfig.c (main): Add a const.
34702 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34704         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34705         (args_options): Add no-idn option.
34706         (ahosts_keys_int): Add idn_flags to ai_flags.
34707         (parse_option): Handle 'i' option to clear idn_flags.
34709         * malloc/malloc.c (_int_free): Possible race in the most recently
34710         added check.  Only act on the data if no current modification
34711         happened.
34713 See ChangeLog.17 for earlier changes.