Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).
[platform/upstream/glibc.git] / ChangeLog
1 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #15416]
4         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5         accurately for denominator in atan2.
6         * math/s_catanf.c (__catanf): Likewise.
7         * math/s_catanh.c (__catanh): Likewise.
8         * math/s_catanhf.c (__catanhf): Likewise.
9         * math/s_catanhl.c (__catanhl): Likewise.
10         * math/s_catanl.c (__catanl): Likewise.
11         * math/libm-test.inc (catan_test): Add more tests.
12         (catanh_test): Likewise.
13         * sysdeps/i386/fpu/libm-test-ulps: Update.
14         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15
16 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17
18         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19
20         * benchtests/Makefile (bench): Remove slow benchmarks.
21         * benchtests/atan-inputs: Add slow benchmark inputs.
22         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23         (BENCH_FUNC): Accept variant offset.
24         (VARIANT): Define.
25         * benchtests/bench-skeleton.c (main): Run benchmark for each
26         variant.
27         * benchtests/cos-inputs: Add slow benchmark inputs.
28         * benchtests/exp-inputs: Likewise.
29         * benchtests/pow-inputs: Likewise.
30         * benchtests/sin-inputs: Likewise.
31         * benchtests/slowatan-inputs: Remove.
32         * benchtests/slowatan.c: Remove.
33         * benchtests/slowcos-inputs: Remove.
34         * benchtests/slowcos.c: Remove.
35         * benchtests/slowexp-inputs: Remove.
36         * benchtests/slowexp.c: Remove.
37         * benchtests/slowpow-inputs: Remove.
38         * benchtests/slowpow.c: Remove.
39         * benchtests/slowsin-inputs: Remove.
40         * benchtests/slowsin.c: Remove.
41         * benchtests/slowtan-inputs: Remove.
42         * benchtests/slowtan.c: Remove.
43         * benchtests/tan-inputs: Add slow benchmark inputs.
44         * scripts/bench.pl: Parse comments and directives.
45
46         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47         in CPPFLAGS.
48         ($(objpfx)bench-%.c): Remove *-ITER.
49         * benchtests/bench-modf.c: Remove definition of ITER.
50         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51         (main): Loop for DURATION seconds instead of fixed number of
52         iterations.
53         * scripts/bench.pl: Don't expect iterations in parameters.
54
55 2013-04-29  Roland McGrath  <roland@hack.frob.com>
56
57         * io/fchdir.c (__fchdir): Renamed from fchdir.
58         (fchdir): Define as weak alias.
59
60 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61
62         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
63         (ERRNO_EDOM): Likewise.
64         (ERRNO_ERANGE): Likewise.
65         (noErrnoTests): New variable.
66         (init_max_error): Set errno to 0.
67         (test_single_errno): New function.
68         (test_errno): Likewise.
69         (check_float_internal): Call test_errno.  Set errno to 0.
70         (check_complex): Refer to errno tests in comment.
71         (check_int): Call test_errno.  Set errno to 0.
72         (check_long): Likewise.
73         (check_bool): Likewise.
74         (check_longlong): Likewise.
75         (cos_test): Use ERRNO_* flags for errno tests instead of
76         check_int.
77         (expm1_test): Likewise.
78         (fmod_test): Likewise.
79         (ilogb_test): Likewise.
80         (lgamma_test): Likewise.
81         (pow_test): Likewise.
82         (remainder_test): Likewise.
83         (sin_test): Likewise.
84         (tan_test): Likewise.
85         (yn_test): Likewise.
86         (initialize): Set errno to 0.
87         (main): Print number of errno tests.
88         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
89
90 2013-04-29  Andreas Jaeger  <aj@suse.de>
91
92         [BZ #15084]
93         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
94         and RES_USEVC.
95
96         [BZ #15085]
97         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
98         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
99         unimplemented.
100
101         [BZ #15380]
102         * stdlib/random.c (__initstate): Return NULL if
103         __initstate fails.
104
105         [BZ #15086]
106         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
107         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
108         RES_SNGLKUPREOP.
109
110 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
111
112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
113
114 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
115
116         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
117         of individual tests.
118         (casin_test): Likewise.
119         (casinh_test): Likewise.
120
121 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
122
123         [BZ #15409]
124         * math/s_catan.c (__catan): Handle arguments with large real or
125         imaginary part separately without squaring.
126         * math/s_catanf.c (__catanf): Likewise.
127         * math/s_catanh.c (__catanh): Likewise.
128         * math/s_catanhf.c (__catanhf): Likewise.
129         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
130         and redefine.
131         (__catanhl): Handle arguments with large real or imaginary part
132         separately without squaring.
133         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
134         and redefine.
135         (__catanl): Handle arguments with large real or imaginary part
136         separately without squaring.
137         * math/libm-test.inc (catan_test): Add more tests.
138         (catanh_test): Likewise.
139         * sysdeps/i386/fpu/libm-test-ulps: Update.
140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
141
142 2013-04-27  Andreas Jaeger  <aj@suse.de>
143
144         [BZ #15007]
145         * stdlib/stdlib.h: Update guards for qecvt.
146         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
147         <stdlib.h>.
148
149 2013-04-27  Allan McRae  <allan@archlinux.org>
150
151         * sysdeps/i386/fpu/libm-test-ulps: Update.
152
153 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
154
155         [BZ #15406]
156         * math/s_catan.c: Include <float.h>.
157         (__catan): Ensure underflow exception occurs for underflowed
158         result.
159         * math/s_catanf.c: Include <float.h>.
160         (__catanf): Ensure underflow exception occurs for underflowed
161         result.
162         * math/s_catanh.c: Include <float.h>.
163         (__catanh): Ensure underflow exception occurs for underflowed
164         result.
165         * math/s_catanhf.c: Include <float.h>.
166         (__catanhf): Ensure underflow exception occurs for underflowed
167         result.
168         * math/s_catanhl.c: Include <float.h>.
169         (__catanhl): Ensure underflow exception occurs for underflowed
170         result.
171         * math/s_catanl.c: Include <float.h>.
172         (__catanl): Ensure underflow exception occurs for underflowed
173         result.
174         * math/libm-test.inc (catan_test): Add more tests.
175         (catanh_test): Likewise.
176
177         [BZ #15405]
178         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
179         underflowed result.
180         * math/s_ccoshf.c (__ccoshf): Likewise.
181         * math/s_ccoshl.c (__ccoshl): Likewise.
182         * math/s_csin.c (__csin): Likewise.
183         * math/s_csinf.c (__csinf): Likewise.
184         * math/s_csinh.c (__csinh): Likewise.
185         * math/s_csinhf.c (__csinhf): Likewise.
186         * math/s_csinhl.c (__csinhl): Likewise.
187         * math/s_csinl.c (__csinl): Likewise.
188         * math/libm-test.inc (ccos_test): Add more tests.
189         (ccosh_test): Likewise.
190         (csin_test): Likewise.
191         (csinh_test): Likewise.
192
193 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
194
195         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
196         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
197         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
198         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
199         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
200         powerpc/power5+/fpu folders.
201         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
202
203
204 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
205
206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
207
208 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
209
210         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
211         additions to variable.
212         [$(config-machine) = x86_64] (modules-names): Likewise.
213         ($(objpfx)tst-audit3): Remove dependency.
214         ($(objpfx)tst-audit3.out): Likewise.
215         ($(objpfx)tst-audit4): Likewise.
216         ($(objpfx)tst-audit4.out): Likewise.
217         ($(objpfx)tst-audit5): Likewise.
218         ($(objpfx)tst-audit5.out): Likewise.
219         ($(objpfx)tst-audit6): Likewise.
220         ($(objpfx)tst-audit6.out): Likewise.
221         ($(objpfx)tst-audit7): Likewise.
222         ($(objpfx)tst-audit7.out): Likewise.
223         (tst-audit3-ENV): Remove variable.
224         (tst-audit4-ENV): Likewise.
225         (tst-audit5-ENV): Likewise.
226         (tst-audit6-ENV): Likewise.
227         (tst-audit7-ENV): Likewise.
228         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
229         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
230         addition to variable.
231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
232         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
233         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
234         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
235         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
236         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
237         tst-audit3, tst-audit4 and tst-audit5.
238         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
239         tst-audit6 and tst-audit7.
240         [$(subdir) = elf] (modules-names): Add audit modules for those
241         tests.
242         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
243         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
244         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
245         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
246         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
247         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
248         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
249         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
250         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
251         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
252         [$(subdir) = elf] (tst-audit3-ENV): New variable.
253         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
254         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
255         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
256         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
257         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
258         Likewise.
259         [$(subdir) = elf && $(config-cflags-avx) = yes]
260         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
261         [$(subdir) = elf && $(config-cflags-avx) = yes]
262         (CFLAGS-tst-auditmod4a.c): Likewise.
263         [$(subdir) = elf && $(config-cflags-avx) = yes]
264         (CFLAGS-tst-auditmod4b.c): Likewise.
265         [$(subdir) = elf && $(config-cflags-avx) = yes]
266         (CFLAGS-tst-auditmod6b.c): Likewise.
267         [$(subdir) = elf && $(config-cflags-avx) = yes]
268         (CFLAGS-tst-auditmod6c.c): Likewise.
269         [$(subdir) = elf && $(config-cflags-avx) = yes]
270         (CFLAGS-tst-auditmod7b.c): Likewise.
271         * elf/tst-audit3.c: Move to ...
272         * sysdeps/x86_64/tst-audit3.c: ... here.
273         * elf/tst-audit4.c: Move to ...
274         * sysdeps/x86_64/tst-audit4.c: ... here.
275         * elf/tst-audit5.c: Move to ...
276         * sysdeps/x86_64/tst-audit5.c: ... here.
277         * elf/tst-audit6.c: Move to ...
278         * sysdeps/x86_64/tst-audit6.c: ... here.
279         * elf/tst-audit7.c: Move to ...
280         * sysdeps/x86_64/tst-audit7.c: ... here.
281         * elf/tst-auditmod3a.c: Move to ...
282         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
283         * elf/tst-auditmod3b.c: Move to ...
284         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
285         * elf/tst-auditmod4a.c: Move to ...
286         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
287         * elf/tst-auditmod4b.c: Move to ...
288         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
289         * elf/tst-auditmod5a.c: Move to ...
290         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
291         * elf/tst-auditmod5b.c: Move to ...
292         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
293         * elf/tst-auditmod6a.c: Move to ...
294         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
295         * elf/tst-auditmod6b.c: Move to ...
296         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
297         * elf/tst-auditmod6c.c: Move to ...
298         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
299         * elf/tst-auditmod7a.c: Move to ...
300         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
301         * elf/tst-auditmod7b.c: Move to ...
302         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
303
304 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
305
306         [BZ #15366]
307         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
308         define unconditionally.
309         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
310         define unconditionally.
311         (INT8_C, INT16_C, etc.): Likewise.
312
313 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
314
315         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
316         __ehdr_start with hidden visibility.
317
318         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
319
320 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
321
322         * math/libm-test.inc (cos_test): Use accurate hex constants.
323         (sincost_test): Likewise.
324
325 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
326
327         * math/libm-test.inc (catan_test): Add more tests.
328         (catanh_test): Likewise.
329
330         * math/s_catanf.c (__catanf): Use suffixed floating-point
331         constants.
332         * math/s_catanhf.c (__catanhf): Likewise.
333         * math/s_catanhl.c (__catanhl): Likewise.
334         * math/s_catanl.c (__catanl): Likewise.
335
336         [BZ #15394]
337         * math/s_catan.c (__catan): Calculate imaginary part of result
338         with log1p not log unless computing log of number close to 0.
339         * math/s_catanf.c (__catanf): Likewise.
340         * math/s_catanl.c (__catanl): Likewise.
341         * math/s_catanh.c (__catanh): Calculate real part of result with
342         log1p not log unless computing log of number close to 0.
343         * math/s_catanhf.c (__catanhf): Likewise.
344         * math/s_catanhl.c (__catanhl): Likewise.
345         * math/libm-test.inc (catan_test): Add more tests.
346         (catanh_test): Likewise.
347         * sysdeps/i386/fpu/libm-test-ulps: Update.
348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
350 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
351
352         * benchtests/Makefile: Mention files in which fast and slow
353         paths of math functions are implemented.
354
355 2013-04-23  Roland McGrath  <roland@hack.frob.com>
356
357         * sysdeps/posix/timespec_get.c: New file.
358
359 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
360
361         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
362         POWER.
363         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
364         for POWER.
365         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
366         powerpc/power5/fpu folders.
367         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
368         * benchtests/Makefile: Add modf testcase.
369         * benchtests/bench-modf.c: New file: Benchmark test for mo
370
371 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
372
373         [BZ #14888]
374         * time/Makefile (tests): Add tst-strptime-whitespace.
375         * time/strptime_l.c (get_number): Use ISSPACE.
376         (__strptime_internal): Likewise.
377         * time/tst-strptime-whitespace.c: New test case.
378
379 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
380
381         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
382         member.
383         (_nss_files_init): Set it here.
384
385 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
386
387         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
388         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
389         unsigned.
390
391 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
392
393         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
394
395 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
396
397         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
398         size just once.
399
400 2013-04-21  David S. Miller  <davem@davemloft.net>
401
402         * po/ru.po: Update Russion translation from translation project.
403
404 2013-04-17  Adam Conrad  <adconrad@0c3.net>
405
406         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
407         and setfsgid.
408
409 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
410
411         * configure.in: Remove i386 configure warning. Remove i386 case.
412         * configure: Regenerate.
413         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
414         Add example to error message.
415         * sysdeps/i386/configure: Regenerate.
416
417 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
418
419         * benchtests/Makefile (bench): Add cos, tan, slowcos and
420         slowtan.
421         * benchtests/cos-inputs: New file.
422         * benchtests/slowcos-inputs: New file.
423         * benchtests/slowcos.c: New file.
424         * benchtests/slowtan-inputs: New file.
425         * benchtests/slowtan.c: New file.
426         * benchtests/tan-inputs: New file.
427
428 2013-04-16  Roland McGrath  <roland@hack.frob.com>
429
430         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
431         considered kosher.
432
433 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
434
435         * benchtests/Makefile: Include cppflags-iterator.mk to add
436         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
437
438         * Makefile.in (bench-clean): New target.
439         * benchtests/Makefile (bench-clean): Likewise.
440
441 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
442
443         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
444
445 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
446
447         * stdio-common/tstdiomisc.c: Fix coding-style violation.
448
449 2013-04-15  Andreas Schwab  <schwab@suse.de>
450
451         * nscd/grpcache.c (cache_addgr): Properly check for short write.
452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
453         * nscd/pwdcache.c (cache_addpw): Likewise.
454         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
455         more than recsize.
456
457 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
458
459         * benchtests/Makefile (bench): Write all output to
460         bench-out.tmp together.
461
462 2013-04-15  Andreas Schwab  <schwab@suse.de>
463
464         * nscd/nscd.c (main): Don't fork again after closing files.
465
466 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
467
468         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
469
470         * benchtests/Rules (bench-deps): Collect dependencies into a
471         single variable.  Add Makefile to dependencies.
472         ($(objpfx)bench-%.c): Depend on bench-deps.
473
474 2013-04-12  Roland McGrath  <roland@hack.frob.com>
475             Xavier Roche  <roche+kml2@exalead.com>
476
477         [BZ #15361]
478         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
479         just that it's a file descriptor.
480         * manual/llio.texi (Synchronizing AIO Operations): Update description
481         for EBADF error from aio_fsync.
482
483 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
484
485         * Rules (bench): Move target definition...
486         * benchtests/Makefile: ... here.
487
488 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
489
490         * math/libm-test.inc (cos_test): Fix PI/2 test.
491         (sincos_test): Likewise.
492         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
493         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
494
495 2013-04-11  Andreas Schwab  <schwab@suse.de>
496
497         [BZ #13988]
498         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
499         accept exponent character only when digits were seen.
500         * stdio-common/Makefile (tests): Add bug26.
501         * stdio-common/bug26.c: New file.
502
503         [BZ #14293]
504         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
505         non-freeable.
506
507 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
508
509         * Makeconfig (rtld-prefix): Define built linker prefix.
510         * Rules (run-bench): Use it.
511         * math/Makefile (run-regen-ulps): Likewise.
512
513         * Rules (bench): Remove eval.
514
515 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
516             Roland McGrath  <roland@hack.frob.com>
517             Ondrej Bilka  <neleai@seznam.cz>
518
519         [BZ #15346]
520         * time/getdate.c: Include ctype.h and alloca.h.
521         (__getdate_r): Trim leading and trailing spaces of input.
522         * time/tst-getdate.c (tests): Add tests with leading and
523         trailing spaces.
524
525 2013-04-08  Roland McGrath  <roland@hack.frob.com>
526
527         [BZ #14280]
528         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
529         when computing value.
530
531 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
532
533         * math/README.libm-test (How can I generate "libm-test-ulps"?):
534         Use testrun.sh to run libm tests.
535
536         [BZ #15309]
537         * elf/dl-open.c (dl_open_worker): memset all of seen array.
538
539 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
540
541         [BZ #15264]
542         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
543
544 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
545
546         * Makefile.in (regen-ulps): New target.
547         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
548         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
549         [ifneq (no,$(PERL)] (regen-ulps): New target.
550         [ifeq (no,$(PERL)] (regen-ulps): New target.
551         * math/libm-test.inc (ulps_file_name): Define.
552         (output_dir): New variable.
553         (options): Add "output-dir" option.
554         (parse_opt): Handle 'o' case.
555         (main): If output_dir is non-NULL use it as a prefix
556         otherwise use "".
557         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
558
559 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
560
561         [BZ #10060, #10062]
562         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
563         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
564         fail configure if __sync_val_compare_and_swap is not inlined.
565         * sysdeps/i386/configure: Regenerate.
566         * configure.in: Build for i686 when configured for i386.
567         * configure: Regenerate.
568         * README: Remove i386 reference.
569
570 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
571
572         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
573         * sysdeps/s390/s390-64/sysdep.h: Likewise.
574
575 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
576
577         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
578         (lmsnanval): New variables.
579         (F): Add conversion tests.
580         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
581         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
582
583         * stdio-common/tstdiomisc.c (F): Properly collect individual
584         tests' results.
585
586         [BZ #14686, #15336]
587         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
588         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
589         Instead, use input NaN values or generate a qNaN by arithmetic
590         operation.  Also fix bugs to comply with the standard.
591         * math/libm-test.inc (remainder_test): Add more tests.
592
593         [BZ #15335, #15342]
594         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
596         input NaN values or generate a qNaN by arithmetic operation.
597
598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
599         unreachable code.
600
601         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
602         definitions.
603
604 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
605
606         [BZ #14478]
607         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
608         underflowed result.
609         * math/s_cexpf.c (__cexpf): Likewise.
610         * math/s_cexpl.c (__cexpl): Likewise.
611         * math/libm-test.inc (cexp_test): Add more tests.
612
613 2013-04-03  Andreas Schwab  <schwab@suse.de>
614
615         [BZ #15330]
616         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
617         order arrays from heap if bigger than alloca cutoff.
618
619 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
620
621         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
622         (SNAN_TESTS_double): Refer to GCC PR56831.
623         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
624         GCC PR56828.
625
626 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
627
628         * Rules (bench): Move bench.out after the run is complete.
629
630         * Rules (bench): Echo currently running benchmark.
631
632         * benchtests/Makefile (bench): Add atan and slowatan.
633         * benchtests/atan-inputs: New file.
634         * benchtests/slowatan-inputs: New file.
635         * benchtests/slowatan.c: New file.
636
637         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
639         its value.
640
641         [BZ #15305]
642         * sysdeps/unix/sysv/linux/kernel-features.h
643         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
644         __ASSUME_XFS_RESTRICTED_CHOWN.
645         * sysdeps/unix/sysv/linux/pathconf.c
646         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
647         Save and restore errno.
648
649 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
650
651         [BZ #15327]
652         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
653         arguments using __kernel_casinh.
654         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
655         arguments using __kernel_casinhf.
656         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
657         arguments using __kernel_casinhl.
658         * math/libm-test.inc (cacosh_test): Add more tests.
659         * sysdeps/i386/fpu/libm-test-ulps: Update.
660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
662 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
663
664         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
665         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
666
667         * bench/Makefile (bench): Add sin and slowsin.
668         * benchtests/sin-inputs: New file.
669         * benchtests/slowsin-inputs: New file.
670         * benchtests/slowsin.c: New file.
671
672         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
673         (bench): Add slowexp and slowpow.
674         (exp-ITER): Increase iterations.
675         (pow-ITER): Likewise.
676         * benchtests/exp-inputs: Change input.
677         * benchtests/pow-inputs: Likewise.
678         * benchtests/slowexp-inputs: New file.
679         * benchtests/slowexp.c: New file.
680         * benchtests/slowpow-inputs: New file.
681         * benchtests/slowpow.c: New file.
682
683 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
684
685         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
686         instructions.
687         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
688         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
689         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
690         * benchtests/Makefile: Add rint benchtest.
691         * benchtests/rint-inputs: Input for rint benchtest.
692
693 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
694
695         * Versions.def (libm): Add GLIBC_2.18.
696         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
697         hidden libm prototypes.
698         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
699         * math/Makefile (libm-calls): Add s_issignaling.
700         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
701         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
702         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
703         declaration.
704         * math/math.h [__USE_GNU] (issignaling): New macro.
705         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
706         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
707         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
708         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
709         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
710         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
711         * manual/arith.texi (issignaling): New section.
712         * manual/libm-err-tab.pl (@all_functions): Update comment.
713         * math/gen-libm-test.pl (parse_args): Apply special handling for
714         issignaling.
715         * math/libm-test.inc (print_float, issignaling_test): New
716         functions.
717         (check_float_internal): Add issignaling checks.
718         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
719         default definition.
720         * sysdeps/powerpc/math-tests.h: New file.
721         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
722         tests.
723         * math/test-snan.c (TEST_FUNC): Likewise.
724
725 2013-03-30  David S. Miller  <davem@davemloft.net>
726
727         * po/de.po: Update from translation team.
728
729 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
730
731         [BZ #10357]
732         * math/k_casinh.c (__kernel_casinh): Handle arguments with
733         imaginary part less than 1.0 and real part less than 0.5
734         specially.
735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
737         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
738         (cacos_test): Add more tests.
739         (casin_test): Likewise.
740         (casinh_test): Likewise.
741         * sysdeps/i386/fpu/libm-test-ulps: Update.
742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
743
744 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
745
746         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
747         ONE with its value.
748
749         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
750         (__pow_mp): Replace ONE and MONE with their values.
751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
753         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
754         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
755         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
756         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
757
758         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
759
760         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
761         (__pow_mp): Replace ZERO and MZERO with their values.
762         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
764         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
766         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
767         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
768         (__sqr): Likewise.
769
770         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
771
772         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
773
774 2013-03-28  Roland McGrath  <roland@hack.frob.com>
775
776         * include/stdlib.h [!SHARED] (__call_tls_dtors):
777         Declare with __attribute__ ((weak)).
778         * stdlib/exit.c (__libc_atexit) [!SHARED]:
779         Call __call_tls_dtors only if it's not NULL.
780
781 2013-03-28  Roland McGrath  <roland@hack.frob.com>
782
783         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
784         didn't do it already, then set _dl_phdr and _dl_phnum based on the
785         magic __ehdr_start linker symbol if it's defined.
786         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
787         them up here if it was already done.
788
789         * elf/dl-support.c (_dl_phdr): Make pointer to const.
790         (_dl_aux_init): Use const in cast when setting it.
791         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
792         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
793         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
794
795         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
796         Declare them here.
797         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
798         * csu/libc-tls.c: Nor here.
799         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
800
801         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
802         (__libc_message): Never call vsyslog.
803
804 2013-03-28  Alan Modra  <amodra@gmail.com>
805
806         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
807         Define as empty.
808         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
809         Likewise.
810
811 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812
813         [BZ #15214]
814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
815         underflow.
816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
817
818 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
819
820         [BZ #15304]
821         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
822         Don't add gid passed as argument.
823
824         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
825
826 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
827
828         [BZ #15307]
829         * math/k_casinh.c (__kernel_casinh): Handle arguments with
830         imaginary part between 1.0 and 1.5 and real part less than 0.5
831         specially.
832         * math/k_casinhf.c (__kernel_casinhf): Likewise.
833         * math/k_casinhl.c (__kernel_casinhl): Likewise.
834         * math/libm-test.inc (cacos_test): Add more tests.
835         (casin_test): Likewise.
836         (casinh_test): Likewise.
837         * sysdeps/i386/fpu/libm-test-ulps: Update.
838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
839
840 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
841
842         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
843         constants.
844         (norm): Likewise.
845         (denorm): Likewise.
846         (__dbl_mp): Likewise.
847         (add_magnitudes): Likewise.
848         (sub_magnitudes): Likewise.
849         (__add): Likewise.
850         (__sub): Likewise.
851         (__mul): Likewise.
852         (__sqr): Likewise.
853         (__inv): Likewise.
854         (__dvd): Likewise.
855
856         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
857         commented code.
858         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
859         (__dubcos): Likewise.
860         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
861         (__ieee754_acos): Likewise.
862         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
863         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
864         (__exp1): Likewise.
865         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
867         (log1): Likewise.
868         (my_log2): Likewise.
869         (checkint): Likewise.
870         * sysdeps/ieee754/dbl-64/e_remainder.c
871         (__ieee754_remainder): Likewise.
872         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
874         (bsloww): Likewise.
875         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
876
877         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
878         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
879         MANTISSA_STORE_T to store computations on mantissa.  Use
880         macros for rounding and division.
881         (denorm): Likewise.
882         (__dbl_mp): Likewise.
883         (add_magnitudes): Likewise.
884         (sub_magnitudes): Likewise.
885         (__mul): Likewise.
886         (__sqr): Likewise.
887         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
888         powers of two in terms of TWOPOW macro.
889         (mp_no): Make type of mantissa as MANTISSA_T.
890         [!RADIXI]: Define RADIXI.
891         [!TWO52]: Define TWO52.
892         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
893
894 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
895
896         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
897         llroundl symbol when building for PPC32.
898
899 2013-03-24  Mark H Weaver  <mhw@netris.org>
900
901         * manual/arith.texi (Normalization Functions): Fix prototypes for
902         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
903
904 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
905
906         [BZ #13889]
907         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
908         high value to check if expl overflow.
909         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
910         to check for underflow and overflow.
911         * math/libm-test.inc: Add exp test.
912
913 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
914
915         [BZ #11120]
916         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
917         with NOT_IN_libc.
918
919 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
920
921         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
922         symbol.
923
924 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
925
926         * math/gen-libm-test.pl (parse_args, special_functions): Properly
927         wrap blocks consisting of several statements.
928
929         * sysdeps/generic/math-tests.h: New file.
930         * sysdeps/i386/fpu/math-tests.h: Likewise.
931         * math/test-snan.c: Include it.
932         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
933
934 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
935
936         [BZ #15285]
937         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
938         (__ieee754_j0l): Do not improve calculations using cos of twice
939         input for inputs above LDBL_MAX / 2.0L.
940         (__ieee754_y0l): Likewise.
941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
942         (__ieee754_j1l): Do not improve calculations using cos of twice
943         input for inputs above LDBL_MAX / 2.0L.
944         (__ieee754_y1l): Likewise.
945         * math/libm-test.inc (j0_test): Add another test.
946         (j1_test): Likewise.
947         (y0_test): Likewise.
948         (y1_test): Likewise.
949         * sysdeps/i386/fpu/libm-test-ulps: Update.
950
951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
952
953         * Rules ($(objpfx)bench-%.c): Include code from a C source
954         file.
955
956 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
957
958         [BZ #15287]
959         * math/k_casinh.c (__kernel_casinh): Handle arguments with
960         imaginary part 1.0 and real part less than 0.5 specially.
961         * math/k_casinhf.c (__kernel_casinhf): Likewise.
962         * math/k_casinhl.c (__kernel_casinhl): Likewise.
963         * math/libm-test.inc (cacos_test): Add more tests.
964         (casin_test): Likewise.
965         (casinh_test): Likewise.
966         * sysdeps/i386/fpu/libm-test-ulps: Update.
967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
968
969 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
970
971         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
972         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
973
974 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
975
976         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
977         * config.make.in (config-cflags-sse4): Remove variable.
978         (config-cflags-avx): Likewise.
979         (config-cflags-sse2avx): Likewise.
980         (config-cflags-novzeroupper): Likewise.
981         (config-asflags-i686): Likewise.
982         (have-mfma4): Likewise.
983         (have-as-vis3): Likewise.
984         (MIG): Likewise.
985         * configure.in (MIG): Do not AC_SUBST.
986         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
987         (libc_cv_cc_sse4): Do not AC_SUBST.
988         (libc_cv_cc_avx): Likewise.
989         (libc_cv_cc_sse2avx): Likewise.
990         (libc_cv_cc_novzeroupper): Likewise.
991         (libc_cv_cc_fma4): Likewise.
992         (libc_cv_as_i686): Likewise.
993         (libc_cv_sparc_as_vis3): Likewise.
994         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
995         LIBC_CONFIG_VAR.
996         (config-asflags-i686): Likewise.
997         (config-cflags-avx): Likewise.
998         (config-cflags-sse2avx): Likewise.
999         (have-mfma4): Likewise.
1000         (config-cflags-novzeroupper): Likewise.
1001         * sysdeps/mach/configure.in (MIG): Likewise.
1002         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1003         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1004         LIBC_CONFIG_VAR.
1005         (config-cflags-avx): Likewise.
1006         (config-cflags-sse2avx): Likewise.
1007         (have-mfma4): Likewise.
1008         (config-cflags-novzeroupper): Likewise.
1009         * configure: Regenerated.
1010         * sysdeps/i386/configure: Likewise.
1011         * sysdeps/mach/configure: Likewise.
1012         * sysdeps/sparc/configure: Likewise.
1013         * sysdeps/x86_64/configure: Likewise.
1014
1015 2013-03-20  Roland McGrath  <roland@hack.frob.com>
1016
1017         [BZ #14812]
1018         * locale/programs/localedef.c (options): Put N_ translation marker
1019         on argument names, not just descriptions.
1020
1021 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1022
1023         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1024
1025 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
1026
1027         [BZ #14176]
1028         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1029
1030 2013-03-19  Roland McGrath  <roland@hack.frob.com>
1031
1032         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1033         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1034         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1035         [!BEFORE_ABORT] (before_abort): New function.
1036         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1037         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1038         (writev_for_fatal): New function.
1039         (WRITEV_FOR_FATAL): New macro; call that.
1040         (backtrace_and_maps): New function.
1041         (BEFORE_ABORT): New macro; call that.
1042         (struct str_list): Type removed.
1043         (__libc_message, __libc_fatal): Functions removed.
1044         Include <sysdeps/posix/libc_fatal.c> instead.
1045
1046 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
1047
1048         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1049         constants.
1050         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1051         double constants.
1052
1053 2013-03-19  Andreas Schwab  <schwab@suse.de>
1054
1055         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1056         * sysdeps/gnu/configure: Regenerate.
1057
1058         * configure.in: Substitute libc_cv_rtlddir.
1059         * configure: Regenerate.
1060         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1061         * Makeconfig (rtlddir, inst_rtlddir): New variables.
1062         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1063         * elf/Makefile (install-others, CFLAGS-interp.c)
1064         (ldso_install, common-ldd-rewrite): Likewise.
1065         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1066         $(inst_slibdir)/$(rtld-installed-name).
1067         * scripts/rellns-sh: Add -p option.
1068         * Makerules (make-shlib-link): Use rellns-sh to get relative name
1069         for source.
1070
1071 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1072
1073         * manual/nptl.texi: Renamed to ...
1074         * manual/threads.texi: ... this.
1075         * manual/Makefile (chapters): Update.
1076
1077 2013-03-18  Roland McGrath  <roland@hack.frob.com>
1078
1079         [BZ #14812]
1080         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1081         on argument names, not just descriptions.
1082         * malloc/memusagestat.c (options): Likewise.
1083         * nss/getent.c (options): Likewise.
1084
1085 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
1086
1087         [BZ #14812]
1088         * iconv/iconv_prog.c (options): Put N_ translation marker
1089         on argument names, not just descriptions.
1090         * iconv/iconvconfig.c (options): Likewise.
1091
1092 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
1093
1094         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1095         implementation which is faster on all x86_64 architectures.
1096         Tested on AMD, Intel Nehalem, SNB, IVB.
1097         * sysdeps/x86_64/strnlen.S: Likewise.
1098
1099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1100         Remove all multiarch strlen and strnlen versions.
1101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1102         Remove strlen and strnlen related parts.
1103
1104         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1105         Inline strlen part.
1106         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1107
1108         * sysdeps/x86_64/multiarch/strlen.S: Remove.
1109         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1110         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1111         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1112         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1113         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1114
1115 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
1116
1117         * manual/memory.texi (Malloc Tunable Parameters):
1118         Sort parameters alphabetically. Add comments for missing entries.
1119
1120 2013-03-17  David S. Miller  <davem@davemloft.net>
1121
1122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1123
1124 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
1125
1126         [BZ #15283]
1127         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1128         for arguments at most half maximum finite value.
1129         * math/libm-test.inc (j0_test): Add more tests.
1130         (j1_test): Likewise.
1131         (y0_test): Likewise.
1132         (y1_test): Likewise.
1133         * sysdeps/i386/fpu/libm-test-ulps: Update.
1134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135
1136         [BZ #14155]
1137         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1138         1 / x and functions P and Q for arguments above 0x1p256L.
1139         (__ieee754_y0l): Likewise.
1140         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1141         (__ieee754_y1l): Likewise.
1142         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1143         (j1_test): Likewise.
1144         (y0_test): Likewise.
1145         (y1_test): Likewise.
1146
1147 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
1148
1149         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1150         variable.
1151
1152 2013-03-15  Roland McGrath  <roland@hack.frob.com>
1153
1154         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1155         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1156         zero since it's initialized to EXEC_PAGESIZE.
1157
1158         * sysdeps/unix/sysv/linux/ldsodefs.h
1159         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1160         * sysdeps/generic/ldsodefs.h: ... here.
1161
1162 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
1163
1164         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1165
1166         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1167         math/test-snan.c.
1168         * math/test-snan.c: Renamed from
1169         sysdeps/powerpc/fpu/test-powerpc-snan.c.
1170         * math/Makefile (tests): Add test-snan.
1171         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1172         test-powerpc-snan.
1173
1174         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1175         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
1176         functions.
1177         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
1178         __builtin_nan family of functions.
1179         * math/libm-test.inc (initialize): Initialize qnan_value with
1180         __builtin_nan family of functions.
1181         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1182         Remove variables.
1183         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1184         Remove functions.
1185         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
1186         storage class.  Initialize qNaN_var and sNaN_var with
1187         __builtin_nan and __builtin_nans families of functions,
1188         respectively.
1189
1190         * math/libm-test.inc (acosh_test): Also test with qNaN input.
1191         (sqrt_test): Remove duplicate test with qNaN input.
1192         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1193         (round_test, signbit_test, significand_test): Note missing +/-Inf
1194         as well as qNaN tests.
1195
1196         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1197         qNaN_var.  Fix a few strings, too.
1198         * math/libm-test.inc (nan_value): Rename to qnan_value.
1199         * math/gen-libm-test.pl (%beautify): Adjust to that.
1200         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1201         * math/test-misc.c (main): Likewise.
1202         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1203         to __qnan_bytes, and __qnan_union, respectively.
1204         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1205         Likewise.
1206         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1207         and lqnanval, respectively.
1208         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1209         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1210         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1211         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1212
1213         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1214         * math/test-misc.c (main) [__x86_64__]: Enable test for long
1215         doubles.
1216
1217         * math/test-misc.c (main): Fix copy'n'pastos.
1218         * misc/tst-efgcvt.c (special): Likewise.
1219
1220         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1221         Remove declarations.
1222
1223 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1224
1225         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1226         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1227         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1228         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1229
1230 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1231
1232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1233         macro to return vdso values correctly in IFUNC implementations.
1234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1235         Optimization by using IFUNC.
1236
1237 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1238             Richard Henderson  <rth@redhat.com>
1239             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1240
1241         * Makefile.in (bench): New target.
1242         * NEWS: Mention the benchmark framework.
1243         * Rules (bench): Likewise.
1244         (binaries-bench): Generate binaries for functions to
1245         benchmark.
1246         * benchtests/Makefile: New makefile for benchmark tests.
1247         * benchtests/bench-skeleton.c: New skeleton file for benchmark
1248         programs.
1249         * benchtests/exp-inputs: New input file for EXP function.
1250         * benchtests/pow-inputs: New input file for POW function.
1251         * scripts/bench.pl: New script to generate source files for
1252         benchmark programs.
1253
1254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1255
1256         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1257         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1258         computations on mantissa.  Use macros for rounding and
1259         division.
1260         (denorm): Likewise.
1261         (__dbl_mp): Likewise.
1262         (add_magnitudes): Likewise.
1263         (sub_magnitudes): Likewise.
1264         (__mul): Likewise.
1265         (__sqr): Likewise.
1266         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
1267         powers of two in terms of TWOPOW macro.
1268         (mp_no): Make type of mantissa as MANTISSA_T.
1269         [!RADIXI]: Define RADIXI.
1270         [!TWO52]: Define TWO52.
1271         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1272
1273         * manual/nptl.texi (cindex): Modify threads to pthreads.
1274
1275 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
1276
1277         * sysdeps/x86_64/preconfigure: Regenerated.
1278
1279 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
1280
1281         [BZ #14155]
1282         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1283         0x1p28 and above.
1284         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1285         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1286         0x1p28 and above.
1287         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1288         * math/libm-test.inc (j0_test): Do not allow one spurious
1289         underflow exception.
1290         (y1_test): Likewise.
1291
1292 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1293
1294         * manual/Makefile (chapters): Add nptl.
1295         * manual/debug.texi (Debugging Support): Add link to Threads
1296         chapter.
1297         * manual/nptl.texi: New file.
1298
1299         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1300
1301 2013-03-14  Petr Baudis  <pasky@ucw.cz>
1302
1303         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1304         for non-NULL pointer before the memory validity test. Pointed
1305         out by Holger Brunck <holger.brunck@keymile.com>.
1306
1307 2013-03-13  Andreas Schwab  <schwab@suse.de>
1308
1309         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1310         instead of .os.
1311
1312 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
1313
1314         * timezone/zic.c: Update from tzcode 2013b.
1315
1316 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
1317
1318         * manual/install.texi (Configuring and compiling):
1319         Mention i686 and i586.
1320         * INSTALL: Regenerate.
1321
1322 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1323
1324         * sysdeps/init_array/elf-init.c: New file.
1325         * csu/elf-init.c
1326         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1327         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1328
1329         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1330         __gmon_start__ as global, but as static with a .preinit_array pointer.
1331         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1332         * sysdeps/init_array/crti.S: New file, empty except for comments.
1333         * sysdeps/init_array/crtn.S: Likewise.
1334
1335 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1336
1337         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1338         definining bcopy.
1339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1340         Remove Prefer_SSE_for_memop.
1341         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1342         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1343         HAS_PREFER_SSE_FOR_MEMOP.
1344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1345         memset-x86-64.
1346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1347         Remove bzero, memset ifunc support.
1348         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1349         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1350         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1351         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1352
1353 2013-03-11  Andreas Schwab  <schwab@suse.de>
1354
1355         [BZ #15234]
1356         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1357         by SHLIB_COMPAT.
1358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1359         (GLIBC_2.16): Remove pthread_atfork.
1360
1361 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1362
1363         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1364         (ptestcases.h): Likewise.
1365
1366 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1367
1368         * Makeconfig ($(common-objpfx)config.status): Depend on
1369         sysdeps/*/preconfigure{,.in} too.
1370
1371 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1372
1373         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1374         (__free_hook): Use void * instead of __malloc_ptr_t.
1375         (__malloc_hook): Likewise.
1376         (__realloc_hook): Likewise.
1377         (__memalign_hook): Likewise.
1378         (__after_morecore_hook): Likewise.
1379         * malloc/arena.c (save_malloc_hook): Likewise.
1380         (save_free_hook): Likewise.
1381         * malloc/hooks.c (malloc_hook_ini): Likewise.
1382         (realloc_hook_ini): Likewise.
1383         (memalign_hook_ini): Likewise.
1384         * malloc/malloc.c (malloc_hook_ini): Likewise.
1385         (realloc_hook_ini): Likewise.
1386         (memalign_hook_ini): Likewise.
1387         (__free_hook): Likewise.
1388         (__malloc_hook): Likewise.
1389         (__realloc_hook): Likewise.
1390         (__memalign_hook): Likewise.
1391         (__libc_malloc): Likewise.
1392         (__libc_free): Likewise.
1393         (__libc_realloc): Likewise.
1394         (__libc_memalign): Likewise.
1395         (__libc_valloc): Likewise.
1396         (__libc_pvalloc): Likewise.
1397         (__libc_calloc): Likewise.
1398         (__posix_memalign): Likewise.
1399         * malloc/morecore.c (__sbrk): Likewise.
1400         (__default_morecore): Likewise.
1401
1402         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1403
1404         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1405         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1406         __malloc_ptrdiff_t.
1407
1408         * malloc/malloc.h (__malloc_size_t): Remove macro.
1409         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1410         __malloc_size_t.
1411         (old_memalign_hook): Likewise.
1412         (old_realloc_hook): Likewise.
1413         (struct hdr): Likewise.
1414         (flood): Likewise.
1415         (mallochook): Likewise.
1416         (memalignhook): Likewise.
1417         (reallochook): Likewise.
1418         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1419         (tr_old_realloc_hook): Likewise.
1420         (tr_old_memalign_hook): Likewise.
1421         (tr_mallochook): Likewise.
1422         (tr_reallochook): Likewise.
1423         (tr_memalignhook): Likewise.
1424
1425 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426
1427         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1428         default_ldbl_pack and using as default implementation.
1429         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1430         implementation.
1431         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1432         redundant definition.
1433         (ldbl_insert_mantissa): Likewise.
1434         (ldbl_canonicalize): Likewise.
1435         (ldbl_nearbyint): Likewise.
1436         (ldbl_pack): Rename to ldbl_pack_ppc.
1437         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1438         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1439         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1440
1441 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1442
1443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1444         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1445         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1446         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1448         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1449         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1450         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1451
1452 2013-03-07  Andreas Jaeger  <aj@suse.de>
1453
1454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1455         bits/mman-linux.h.
1456
1457 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1458
1459         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1460         Include mpa.h and declare __MPEXP.
1461         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1463         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1464         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1466         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1467         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1468
1469         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1470         (__slowpow): Use long double EXPL and LOGL functions to
1471         compute POW.
1472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1473         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1474         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1476         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1478
1479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1480         intermediate variable to calculate exponent.
1481         (__sqr): Likewise.
1482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1483         Likewise.
1484         (__sqr): Likewise.
1485
1486         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1487         [!NO__SQR]: Define __sqr.
1488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1489         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1490         sysdeps/ieee754/dbl-64/mpa.c.
1491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1492
1493         [BZ #12723]
1494         * posix/Makefile (tests): Add tst-pathconf.
1495         * posix/tst-pathconf.c: New test case.
1496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1497         _PC_PIPE_BUF.
1498         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1499
1500 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1501
1502         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1503
1504 2013-03-06  Andreas Jaeger  <aj@suse.de>
1505
1506         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1507         definition via __MAP_ANONYMOUS.
1508
1509         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1510         it's not part of Linux headers.
1511
1512         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1513         (MAP_HUGE_MASK): Define.
1514
1515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1516         Define.
1517         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1518         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1519         Define.
1520         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1521         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1522         Define.
1523         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1524         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1525         Define.
1526         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1527
1528         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1529         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1530         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1531         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1532         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1534
1535         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1536         Handle f2fs.
1537
1538         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1539         Handle f2fs and efivarfs.
1540
1541         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1542         f2fs.
1543
1544         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1545         (EFIVARFS_MAGIC): Add.
1546         (F2FS_LINK_MAX): Add.
1547
1548 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1549
1550         * stdio-common/vfprintf.c: Replace __builtin_expect with
1551         __glibc_unlikely.
1552
1553 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1554
1555         [BZ #13550]
1556         * sysdeps/generic/bp-sym.h: Remove file.
1557         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1558         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1559         <bp-sym.h> and <bp-asm.h>.
1560         (__longjmp): Don't use BP_SYM.
1561         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1562         and <bp-asm.h>.
1563         (memcpy): Don't use BP_SYM.
1564         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1565         <bp-sym.h> and <bp-asm.h>.
1566         (memcpy): Don't use BP_SYM.
1567         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1568         <bp-asm.h>.
1569         (memcpy): Don't use BP_SYM.
1570         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1571         <bp-asm.h>.
1572         (memset): Don't use BP_SYM.
1573         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1574         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1575         (__bzero): Don't use BP_SYM.
1576         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1577         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1578         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1579         <bp-sym.h> and <bp-asm.h>.
1580         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1581         pointers.
1582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1583         <bp-sym.h> and <bp-asm.h>.
1584         (memcpy): Don't use BP_SYM.
1585         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1586         <bp-sym.h> and <bp-asm.h>.
1587         (memset): Don't use BP_SYM.
1588         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1589         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1590         (__bzero): Don't use BP_SYM.
1591         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1592         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1593         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1594         <bp-sym.h> and <bp-asm.h>.
1595         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1596         pointers.
1597         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1598         <bp-sym.h> and <bp-asm.h>.
1599         (memcpy): Don't use BP_SYM.
1600         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1601         <bp-sym.h> and <bp-asm.h>.
1602         (memset): Don't use BP_SYM.
1603         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1604         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1605         (__bzero): Don't use BP_SYM.
1606         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1607         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1609         <bp-sym.h> and <bp-asm.h>.
1610         (__memchr): Don't use BP_SYM.
1611         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1612         <bp-sym.h> and <bp-asm.h>.
1613         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1614         pointers.
1615         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1616         <bp-sym.h> and <bp-asm.h>.
1617         (memcpy): Don't use BP_SYM.
1618         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1619         <bp-sym.h> and <bp-asm.h>.
1620         (__mempcpy): Don't use BP_SYM.
1621         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1622         <bp-sym.h> and <bp-asm.h>.
1623         (__memrchr): Don't use BP_SYM.
1624         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1625         <bp-sym.h> and <bp-asm.h>.
1626         (memset): Don't use BP_SYM.
1627         (__bzero): Likewise.
1628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1629         <bp-sym.h> and <bp-asm.h>.
1630         (__rawmemchr): Don't use BP_SYM.
1631         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1632         <bp-sym.h> and <bp-asm.h>.
1633         (__STRCMP): Don't use BP_SYM.
1634         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1635         <bp-sym.h> and <bp-asm.h>.
1636         (strchr): Don't use BP_SYM.
1637         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1638         <bp-sym.h> and <bp-asm.h>.
1639         (__strchrnul): Don't use BP_SYM.
1640         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1641         <bp-sym.h> and <bp-asm.h>.
1642         (strlen): Don't use BP_SYM.
1643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1644         <bp-sym.h> and <bp-asm.h>.
1645         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1646         pointers.
1647         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1648         <bp-sym.h> and <bp-asm.h>.
1649         (__strnlen): Don't use BP_SYM.
1650         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1651         <bp-sym.h> and <bp-asm.h>.
1652         (__GI__setjmp): Don't use BP_SYM.
1653         (_setjmp): Likewise.
1654         (__sigsetjmp): Likewise.
1655         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1656         (L(start_addresses)): Don't use BP_SYM.
1657         (_start): Likewise.
1658         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1659         <bp-asm.h>.
1660         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1661         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1662         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1663         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1664         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1665         <bp-asm.h>.
1666         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1667         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1668         about bounded pointers.
1669         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1670         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1671         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1672         <bp-asm.h>.
1673         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1674         about bounded pointers.  Remove GKM FIXME comments.
1675         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1676         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1677         <bp-asm.h>.
1678         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1679         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1680         Remove GKM FIXME comments.
1681         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1682         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1683         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1684         <bp-asm.h>.
1685         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1686         about bounded pointers.  Remove GKM FIXME comment.
1687         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1688         and <bp-asm.h>.
1689         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1690         pointers.
1691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1692         <bp-sym.h> and <bp-asm.h>.
1693         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1695         <bp-sym.h> and <bp-asm.h>.
1696         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1697         comment.
1698
1699 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1700
1701         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1702         call free(NULL).
1703
1704 2013-03-05  David S. Miller  <davem@davemloft.net>
1705
1706         * po/es.po: Update from translation team.
1707
1708 2013-03-05  Andreas Jaeger  <aj@suse.de>
1709
1710         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1711         <bits/mman-linux.h>.
1712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1713         is fine.
1714         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1715         <bits/mman-linux.h> to end of file.
1716         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1717         is fine.
1718         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1719         <bits/mman-linux.h> to end of file.
1720         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1721         is fine.
1722         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1723         <bits/mman-linux.h> to end of file.
1724
1725         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1726         (MCL_CURRENT, MCL_FUTURE): Define here.
1727
1728 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1729
1730         [BZ #15232]
1731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1732         attribute_hidden.
1733         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1734
1735 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1736
1737         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1738         fourth parameter needed for rt_sigprocmask syscall.
1739         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1740         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1741         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1742         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1743         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1744         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1745
1746 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1747
1748         [BZ #13550]
1749         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1750         comment about bounded pointers.
1751         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1752         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1753
1754 2013-03-04  Andreas Jaeger  <aj@suse.de>
1755
1756         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1757         common definitions.
1758
1759         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1760         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1761         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1763         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1765
1766 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767
1768         [BZ #15055]
1769         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1770         __ieee754_sqrl instead of __sqrl.
1771
1772 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1773
1774         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1775         * sysdeps/powerpc/fpu_control.h: ... here.
1776         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1777         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1778         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1779         * sysdeps/powerpc/bits/mathinline.h: ... here.
1780
1781 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1782
1783         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1784         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1785         to just [NEED_DL_SYSINFO_DSO].
1786         * elf/dl-support.c: Likewise.
1787         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1788         * elf/rtld.c (dl_main): Likewise.
1789         * elf/setup-vdso.h (setup_vdso): Likewise.
1790         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1791         * sysdeps/unix/sysv/linux/dl-sysdep.c
1792         (_dl_discover_osversion): Likewise.
1793
1794 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1795
1796         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1797         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1798
1799 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1800
1801         * NEWS: Mention libm performance improvements and non-x86 PI
1802         futex support.
1803
1804         * csu/libc-start.c (__pthread_initialize_minimal): Change
1805         function arguments.
1806         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1807
1808 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1809
1810         [BZ #13550]
1811         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1812         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1813         <bp-sym.h> and <bp-asm.h>.
1814         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1815         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1816         and <bp-asm.h>.
1817         (memcpy): Don't use BP_SYM.
1818         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1819         <bp-asm.h>.
1820         (__mpn_add_n): Don't use BP_SYM.
1821         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1822         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1823         and <bp-asm.h>.
1824         (__mpn_addmul_1): Don't use BP_SYM.
1825         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1826         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1827         <bp-sym.h>.
1828         (_setjmp): Don't use BP_SYM.
1829         (__novmx_setjmp): Likewise.
1830         (__GI__setjmp): Likewise.
1831         (__vmx_setjmp): Likewise.
1832         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1833         <bp-sym.h>.
1834         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1835         (__bzero): Don't use BP_SYM.
1836         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1837         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1838         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1839         <bp-sym.h> and <bp-asm.h>.
1840         (memcpy): Don't use BP_SYM.
1841         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1842         <bp-sym.h> and <bp-asm.h>.
1843         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1845         <bp-sym.h> and <bp-asm.h>.
1846         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1847         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1848         <bp-asm.h>.
1849         (__mpn_lshift): Don't use BP_SYM.
1850         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1851         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1852         <bp-asm.h>.
1853         (memset): Don't use BP_SYM.
1854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1856         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1857         <bp-asm.h>.
1858         (__mpn_mul_1): Don't use BP_SYM.
1859         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1860         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1861         <bp-sym.h> and <bp-asm.h>.
1862         (memcmp): Don't use BP_SYM.
1863         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1864         <bp-sym.h> and <bp-asm.h>.
1865         (memcpy): Don't use BP_SYM.
1866         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1867         <bp-sym.h> and <bp-asm.h>.
1868         (memset): Don't use BP_SYM.
1869         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1870         <bp-sym.h> and <bp-asm.h>.
1871         (strncmp): Don't use BP_SYM.
1872         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1873         <bp-sym.h> and <bp-asm.h>.
1874         (memcpy): Don't use BP_SYM.
1875         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1876         <bp-sym.h> and <bp-asm.h>.
1877         (memset): Don't use BP_SYM.
1878         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1879         <bp-sym.h> and <bp-asm.h>.
1880         (__memchr): Don't use BP_SYM.
1881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1882         <bp-sym.h> and <bp-asm.h>.
1883         (memcmp): Don't use BP_SYM.
1884         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1885         <bp-sym.h> and <bp-asm.h>.
1886         (memcpy): Don't use BP_SYM.
1887         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1888         <bp-sym.h> and <bp-asm.h>.
1889         (__mempcpy): Don't use BP_SYM.
1890         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1891         <bp-sym.h> and <bp-asm.h>.
1892         (__memrchr): Don't use BP_SYM.
1893         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1894         <bp-sym.h> and <bp-asm.h>.
1895         (memset): Don't use BP_SYM.
1896         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1897         <bp-sym.h> and <bp-asm.h>.
1898         (__rawmemchr): Don't use BP_SYM.
1899         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1900         <bp-sym.h> and <bp-asm.h>.
1901         (__STRCMP): Don't use BP_SYM.
1902         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1903         <bp-sym.h> and <bp-asm.h>.
1904         (strchr): Don't use BP_SYM.
1905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1906         <bp-sym.h> and <bp-asm.h>.
1907         (__strchrnul): Don't use BP_SYM.
1908         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1909         <bp-sym.h> and <bp-asm.h>.
1910         (strlen): Don't use BP_SYM.
1911         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1912         <bp-sym.h> and <bp-asm.h>.
1913         (strncmp): Don't use BP_SYM.
1914         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1915         <bp-sym.h> and <bp-asm.h>.
1916         (__strnlen): Don't use BP_SYM.
1917         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1918         <bp-asm.h>.
1919         (__mpn_rshift): Don't use BP_SYM.
1920         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1921         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1922         <bp-sym.h> and <bp-asm.h>.
1923         (__sigsetjmp): Don't use BP_SYM.
1924         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1925         (L(start_addresses)): Don't use BP_SYM.
1926         (_start): Likewise.
1927         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1928         <bp-asm.h>.
1929         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1930         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1931         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1932         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1933         <bp-asm.h>.
1934         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1935         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1936         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1937         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1938         <bp-asm.h>.
1939         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1940         comments.
1941         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1942         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1943         <bp-asm.h>.
1944         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1945         FIXME comments.
1946         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1947         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1948         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1949         <bp-asm.h>.
1950         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1951         comment.
1952         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1953         and <bp-asm.h>.
1954         (strncmp): Don't use BP_SYM,
1955         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1956         <bp-asm.h>.
1957         (__mpn_sub_n): Don't use BP_SYM.
1958         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1959         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1960         and <bp-asm.h>.
1961         (__mpn_submul_1): Don't use BP_SYM.
1962         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1964         <bp-sym.h> and <bp-asm.h>.
1965         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1967         <bp-sym.h> and <bp-asm.h>.
1968         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1969         comment.
1970
1971 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1972
1973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1974         Use ZK to minimize writes to Z.
1975         (sub_magnitudes): Simplify code a bit.
1976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1977         Use ZK to minimize writes to Z.
1978         (sub_magnitudes): Simplify code a bit.
1979
1980 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1981
1982         * csu/gmon-start.c: Add special exception to license text.
1983
1984 2013-02-27  Richard Henderson  <rth@redhat.com>
1985
1986         * scripts/config.guess: Update from config.git.
1987         * scripts/config.sub: Likewise.
1988
1989 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1990
1991         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1992
1993         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1994
1995         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1996
1997         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1998
1999         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2000
2001 2013-02-26  Roland McGrath  <roland@hack.frob.com>
2002
2003         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2004         [$(build-shared = yes].
2005
2006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2007
2008         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2009         (__mul): Reduce iterations for calculating mantissa.
2010
2011         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2012         MPTWO.
2013         (__mpranred): Likewise.
2014
2015         [BZ #15160]
2016         * malloc/memusagestat.c (main): Draw graphs for heap and stack
2017         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2018
2019 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
2020
2021         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2022         Define __attribute__.
2023
2024 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2025
2026         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2027         unused.
2028         * posix/regex_internal.h (__attribute): Remove.
2029         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2030         (re_string_context_at): Likewise.
2031         (bitset_not): Use __attribute__ and mark function as possibly
2032         unused.
2033         (bitset_merge): Likewise.
2034         (bitset_mask): Likewise.
2035         (re_string_char_size_at): Likewise.
2036         (re_string_wchar_at): Likewise.
2037         (re_string_elem_size_at): Likewise.
2038
2039 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2040
2041         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2042         code.
2043         (cc32): Likewise.
2044
2045         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2046         (__acr): Likewise.
2047         (__cpy): Likewise.
2048         (norm): Likewise.
2049         (denorm): Likewise.
2050         (__dbl_mp): Likewise.
2051         (add_magnitudes): Likewise.
2052         (sub_magnitudes): Likewise.
2053         (__mul): Likewise.
2054         (__inv): Likewise.
2055
2056         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2057         style.
2058
2059         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2060         style.
2061
2062         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2063         code.
2064
2065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2066         up changes with default code.
2067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2068         Likewise.
2069
2070 2013-02-24  Allan McRae  <allan@archlinux.org>
2071
2072         * manual/socket.texi (The Internet Namespace): Order menu items
2073         to match that in the file.
2074
2075         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2076         node listing of the info page menu.
2077
2078 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
2079
2080         [BZ #13550]
2081         * sysdeps/i386/bp-asm.h: Remove file.
2082         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2083         (PARMS): Do not use macros from bp-asm.h.
2084         (S1): Likewise.
2085         (S2): Likewise.
2086         (SIZE): Likewise.
2087         (__mpn_add_n): Do not use BP_SYM
2088         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2089         "bp-asm.h".
2090         (PARMS): Do not use macros from bp-asm.h.
2091         (S1): Likewise.
2092         (SIZE): Likewise.
2093         (__mpn_addmul_1): Do not use BP_SYM
2094         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2095         "bp-asm.h".
2096         (PARMS): Do not use macros from bp-asm.h.
2097         (SIGMSK): Likewise.
2098         (_setjmp): Likewise.  Do not use BP_SYM.
2099         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2100         "bp-asm.h".
2101         (PARMS): Do not use macros from bp-asm.h.
2102         (SIGMSK): Likewise.
2103         (setjmp): Likewise.  Do not use BP_SYM.
2104         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2105         "bp-asm.h".
2106         (PARMS): Do not use macros from bp-asm.h.
2107         (__frexp): Do not use BP_SYM.
2108         (frexp): Likewise.
2109         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2110         "bp-asm.h".
2111         (PARMS): Do not use macros from bp-asm.h.
2112         (__frexpf): Do not use BP_SYM.
2113         (frexpf): Likewise.
2114         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2115         "bp-asm.h".
2116         (PARMS): Do not use macros from bp-asm.h.
2117         (__frexpl): Do not use BP_SYM.
2118         (frexpl): Likewise.
2119         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2120         "bp-asm.h".
2121         (PARMS): Do not use macros from bp-asm.h.
2122         (__remquo): Do not use BP_SYM.
2123         (remquo): Likewise.
2124         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2125         "bp-asm.h".
2126         (PARMS): Do not use macros from bp-asm.h.
2127         (__remquof): Do not use BP_SYM.
2128         (remquof): Likewise.
2129         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2130         "bp-asm.h".
2131         (PARMS): Do not use macros from bp-asm.h.
2132         (__remquol): Do not use BP_SYM.
2133         (remquol): Likewise.
2134         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2135         "bp-asm.h".
2136         (PARMS): Do not use macros from bp-asm.h.
2137         (DEST): Likewise.
2138         (SRC): Likewise.
2139         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
2140         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2141         "bp-asm.h".
2142         (PARMS): Do not use macros from bp-asm.h.
2143         (strlen): Do not use BP_SYM.
2144         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2145         "bp-asm.h".
2146         (PARMS): Do not use macros from bp-asm.h.
2147         (S1): Likewise.
2148         (S2): Likewise.
2149         (SIZE): Likewise.
2150         (__mpn_add_n): Do not use BP_SYM.
2151         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2152         "bp-asm.h".
2153         (PARMS): Do not use macros from bp-asm.h.
2154         (S1): Likewise.
2155         (SIZE): Likewise.
2156         (__mpn_addmul_1): Do not use BP_SYM.
2157         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2158         weak_alias.
2159         (bzero): Likewise.
2160         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2161         "bp-asm.h".
2162         (PARMS): Do not use macros from bp-asm.h.
2163         (S): Likewise.
2164         (SIZE): Likewise.
2165         (__mpn_lshift): Do not use BP_SYM.
2166         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2167         "bp-asm.h".
2168         (PARMS): Do not use macros from bp-asm.h.
2169         (DEST): Likewise.
2170         (SRC): Likewise.
2171         (LEN): Likewise.
2172         (memcpy): Likewise.  Do not use BP_SYM.
2173         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2174         libc_hidden_def and weak_alias.
2175         (mempcpy): Do not use BP_SYM in weak_alias.
2176         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2177         "bp-asm.h".
2178         (PARMS): Do not use macros from bp-asm.h.
2179         (DEST): Likewise.
2180         (LEN): Likewise.
2181         [!BZERO_P] (CHR): Likewise.
2182         (memset): Likewise.  Do not use BP_SYM.
2183         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2184         "bp-asm.h".
2185         (PARMS): Do not use macros from bp-asm.h.
2186         (S1): Likewise.
2187         (SIZE): Likewise.
2188         (__mpn_mul_1): Do not use BP_SYM.
2189         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2190         "bp-asm.h".
2191         (PARMS): Do not use macros from bp-asm.h.
2192         (S): Likewise.
2193         (SIZE): Likewise.
2194         (__mpn_rshift): Do not use BP_SYM.
2195         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2196         "bp-asm.h".
2197         (PARMS): Do not use macros from bp-asm.h.
2198         (STR): Likewise.
2199         (CHR): Likewise.
2200         (strchr): Likewise.  Do not use BP_SYM.
2201         (index): Do not use BP_SYM in weak_alias.
2202         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2203         "bp-asm.h".
2204         (PARMS): Do not use macros from bp-asm.h.
2205         (DEST): Likewise.
2206         (SRC): Likewise.
2207         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
2208         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2209         "bp-asm.h".
2210         (PARMS): Do not use macros from bp-asm.h.
2211         (strlen): Do not use BP_SYM.
2212         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2213         "bp-asm.h".
2214         (PARMS): Do not use macros from bp-asm.h.
2215         (S1): Likewise.
2216         (S2): Likewise.
2217         (SIZE): Likewise.
2218         (__mpn_sub_n): Do not use BP_SYM.
2219         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2220         "bp-asm.h".
2221         (PARMS): Do not use macros from bp-asm.h.
2222         (S1): Likewise.
2223         (SIZE): Likewise.
2224         (__mpn_submul_1): Do not use BP_SYM.
2225         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2226         "bp-asm.h".
2227         (PARMS): Do not use macros from bp-asm.h.
2228         (S1): Likewise.
2229         (S2): Likewise.
2230         (SIZE): Likewise.
2231         (__mpn_add_n): Do not use BP_SYM.
2232         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2233         weak_alias.
2234         (bzero): Likewise.
2235         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2236         "bp-asm.h".
2237         (PARMS): Do not use macros from bp-asm.h.
2238         (BLK2): Likewise.
2239         (LEN): Likewise.
2240         (memcmp): Do not use BP_SYM.
2241         (bcmp): Do not use BP_SYM in weak_alias.
2242         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2243         "bp-asm.h".
2244         (PARMS): Do not use macros from bp-asm.h.
2245         (DEST): Likewise.
2246         (SRC): Likewise.
2247         (LEN): Likewise.
2248         (memcpy): Likewise.  Do not use BP_SYM.
2249         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2250         "bp-asm.h".
2251         (PARMS): Do not use macros from bp-asm.h.
2252         (DEST): Likewise.
2253         (SRC): Likewise.
2254         (LEN): Likewise.
2255         (memmove): Likewise.  Do not use BP_SYM.
2256         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2257         "bp-asm.h".
2258         (PARMS): Do not use macros from bp-asm.h.
2259         (DEST): Likewise.
2260         (SRC): Likewise.
2261         (LEN): Likewise.
2262         (__mempcpy): Likewise.  Do not use BP_SYM.
2263         (mempcpy): Do not use BP_SYM in weak_alias.
2264         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2265         "bp-asm.h".
2266         (PARMS): Do not use macros from bp-asm.h.
2267         (DEST): Likewise.
2268         (LEN): Likewise.
2269         [!BZERO_P] (CHR): Likewise.
2270         (memset): Likewise.  Do not use BP_SYM.
2271         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2272         "bp-asm.h".
2273         (PARMS): Do not use macros from bp-asm.h.
2274         (STR2): Likewise.
2275         (strcmp): Do not use BP_SYM.
2276         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2277         "bp-asm.h".
2278         (PARMS): Do not use macros from bp-asm.h.
2279         (STR): Likewise.
2280         (DELIM): Likewise.
2281         [USE_AS_STRTOK_R] (SAVE): Likewise.
2282         (FUNCTION): Likewise.  Do not use BP_SYM.
2283         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2284         aliases.
2285         (strtok_r): Likewise.
2286         (__GI___strtok_r): Likewise.
2287         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2288         (PARMS): Do not use macros from bp-asm.h.
2289         (S): Likewise.
2290         (SIZE): Likewise.
2291         (__mpn_lshift): Do not use BP_SYM.
2292         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2293         (PARMS): Do not use macros from bp-asm.h.
2294         (STR): Likewise.
2295         (CHR): Likewise.
2296         (__memchr): Do not use BP_SYM.
2297         (memchr): Do not use BP_SYM in weak_alias.
2298         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2299         (PARMS): Do not use macros from bp-asm.h.
2300         (BLK2): Likewise.
2301         (LEN): Likewise.
2302         (memcmp): Do not use BP_SYM.
2303         (bcmp): Do not use BP_SYM in weak_alias.
2304         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2305         (PARMS): Do not use macros from bp-asm.h.
2306         (S1): Likewise.
2307         (SIZE): Likewise.
2308         (__mpn_mul_1): Do not use BP_SYM.
2309         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2310         "bp-asm.h".
2311         (PARMS): Do not use macros from bp-asm.h.
2312         (STR): Likewise.
2313         (CHR): Likewise.
2314         (__rawmemchr): Do not use BP_SYM.
2315         (rawmemchr): Do not use BP_SYM in weak_alias.
2316         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2317         (PARMS): Do not use macros from bp-asm.h.
2318         (S): Likewise.
2319         (SIZE): Likewise.
2320         (__mpn_rshift): Do not use BP_SYM.
2321         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2322         (PARMS): Do not use macros from bp-asm.h.
2323         (SIGMSK): Likewise.
2324         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2325         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2326         (_start): Do not use BP_SYM.
2327         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2328         (PARMS): Do not use macros from bp-asm.h.
2329         (DEST): Likewise.
2330         (SRC): Likewise.
2331         (__stpcpy): Likewise.  Do not use BP_SYM.
2332         (stpcpy): Do not use BP_SYM in weak_alias.
2333         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2334         "bp-asm.h".
2335         (PARMS): Do not use macros from bp-asm.h.
2336         (DEST): Likewise.
2337         (SRC): Likewise.
2338         (LEN): Likewise.
2339         (__stpncpy): Likewise.  Do not use BP_SYM.
2340         (stpncpy): Do not use BP_SYM in weak_alias.
2341         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2342         (PARMS): Do not use macros from bp-asm.h.
2343         (STR): Likewise.
2344         (CHR): Likewise.
2345         (strchr): Likewise.  Do not use BP_SYM.
2346         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2347         "bp-asm.h".
2348         (PARMS): Do not use macros from bp-asm.h.
2349         (STR): Likewise.
2350         (CHR): Likewise.
2351         (__strchrnul): Likewise.  Do not use BP_SYM.
2352         (strchrnul): Do not use BP_SYM in weak_alias.
2353         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2354         "bp-asm.h".
2355         (PARMS): Do not use macros from bp-asm.h.
2356         (STOP): Likewise.
2357         (strcspn): Do not use BP_SYM.
2358         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2359         "bp-asm.h".
2360         (PARMS): Do not use macros from bp-asm.h.
2361         (STR): Likewise.
2362         (STOP): Likewise.
2363         (strpbrk): Likewise.  Do not use BP_SYM.
2364         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2365         "bp-asm.h".
2366         (PARMS): Do not use macros from bp-asm.h.
2367         (STR): Likewise.
2368         (CHR): Likewise.
2369         (strrchr): Likewise.  Do not use BP_SYM.
2370         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2371         (PARMS): Do not use macros from bp-asm.h.
2372         (SKIP): Likewise.
2373         (strspn): Do not use BP_SYM.
2374         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2375         (PARMS): Do not use macros from bp-asm.h.
2376         (STR): Likewise.
2377         (DELIM): Likewise.
2378         (SAVE): Likewise.
2379         (FUNCTION): Likewise.  Do not use BP_SYM.
2380         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2381         aliases.
2382         (strtok_r): Likewise.
2383         (__GI___strtok_r): Likewise.
2384         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2385         (PARMS): Do not use macros from bp-asm.h.
2386         (S1): Likewise.
2387         (S2): Likewise.
2388         (SIZE): Likewise.
2389         (__mpn_sub_n): Do not use BP_SYM.
2390         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2391         "bp-asm.h".
2392         (PARMS): Do not use macros from bp-asm.h.
2393         (S1): Likewise.
2394         (SIZE): Likewise.
2395         (__mpn_submul_1): Do not use BP_SYM.
2396         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2397         <bp-sym.h>.
2398         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2399         and <bp-asm.h>.
2400         (PARMS): Do not use macros from bp-asm.h.
2401         (FLAGS): Likewise.
2402         (PTID): Likewise.
2403         (TLS): Likewise.
2404         (CTID): Likewise.
2405         (__clone): Do not use BP_SYM.
2406         (clone): Do not use BP_SYM in weak_alias.
2407         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2408         and <bp-asm.h>.
2409         (PARMS): Do not use macros from bp-asm.h.
2410         (LEN): Likewise.
2411         (__mmap64): Do not use BP_SYM.
2412         (mmap64): Do not use BP_SYM in weak_alias.
2413         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2414         <bp-sym.h> and <bp-asm.h>.
2415         (PARMS): Do not use macros from bp-asm.h.
2416         (__posix_fadvise64_l64): Do not use BP_SYM.
2417         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2418         (PARMS): Do not use macros from bp-asm.h.
2419         (NSOPS): Likewise.
2420         (semtimedop): Do not use BP_SYM.
2421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2422         and <bp-asm.h>.
2423
2424 2013-02-21  Allan McRae  <allan@archlinux.org>
2425
2426         * manual/message.texi (Charset conversion in gettext):
2427         Move @end statement to beginning of line.
2428
2429 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2430
2431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2432         static.
2433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2434         Likewise.
2435
2436         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2437         (denorm): Likewise.
2438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2440
2441 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2442
2443         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2444         tail-call to the resolved function if pltexit isn't needed.
2445
2446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2447
2448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2449         or Y being zero as being unlikely.
2450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2451         Likewise.
2452
2453 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2454
2455         * manual/nss.texi (System Databases and Name Service Switch):
2456         Remove frobnicate @pxref.
2457
2458 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2459
2460         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2461         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2462
2463 2013-02-20  Petr Machata  <pmachata@redhat.com>
2464
2465         * elf/elf.h (R_ARM_TARGET1): New macro.
2466         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2467         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2468         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2469         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2470         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2471         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2472         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2473         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2474         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2475         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2476         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2477         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2478         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2479         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2480         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2481         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2482         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2483         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2484         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2485         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2486         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2487         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2488         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2489         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2490         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2491         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2492         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2493         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2494         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2495         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2496         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2497         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2498         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2499         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2500         (R_ARM_THM_GOT_BREL12): Likewise.
2501         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2502         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2503         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2504         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2505         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2506         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2507         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2508         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2509         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2510
2511 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2512
2513         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2514         __attribute_used__ to __attribute__ ((unused)).
2515
2516 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2517
2518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2519         powerpc mpa.c.
2520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2521         comment formatting.
2522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2523
2524 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2525
2526         [BZ #13550]
2527         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2528         Remove macro.
2529         (ENTER): Remove both macro definitions.
2530         (LEAVE): Likewise.
2531         (CHECK_BOUNDS_LOW): Likewise.
2532         (CHECK_BOUNDS_HIGH): Likewise.
2533         (CHECK_BOUNDS_BOTH): Likewise.
2534         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2535         (RETURN_BOUNDED_POINTER): Likewise.
2536         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2537         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2538         (POP_ERRNO_LOCATION_RETURN): Likewise.
2539         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2540         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2541         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2542         macros.
2543         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2544         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2545         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2546         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2547         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2548         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2549         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2550         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2551         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2552         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2553         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2554         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2555         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2556         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2557         removed macros.
2558         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2559         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2560         macros.
2561         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2562         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2563         * sysdeps/i386/i586/memset.S (memset): Likewise.
2564         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2565         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2566         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2567         macros.
2568         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2569         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2570         Change uses of L(2) to L(out).
2571         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2572         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2573         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2574         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2575         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2576         removed macros.
2577         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2578         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2579         macros.
2580         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2581         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2582         (RETURN): Do not use macro LEAVE.
2583         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2584         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2585         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2586         * sysdeps/i386/i686/memset.S (memset): Likewise.
2587         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2588         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2589         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2590         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2591         Likewise.
2592         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2593         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2594         L(1_2) and L(1_3) into L(1).
2595         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2596         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2597         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2598         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2599         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2600         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2601         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2602         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2603         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2604         macros.
2605         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2606         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2607         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2608         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2609         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2610         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2611         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2612         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2613         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2614         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2615         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2616         * sysdeps/i386/strspn.S (strspn): Likewise.
2617         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2618         conditional code.
2619         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2620         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2621         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2622         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2623         L(1_3) into L(1_1).
2624         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2625         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2626         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2627         macros.
2628         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2629
2630 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2631
2632         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2633         macro.
2634
2635 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2636
2637         * math/atest-exp.c (exp_mpn): Remove ROUND.
2638         * math/atest-exp2.c (exp_mpn): Likewise.
2639         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2640
2641         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2642         * stdlib/tst-tls-atexit-lib.c: Likewise.
2643         * stdlib/tst-tls-atexit.c: Likewise.
2644
2645 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2646
2647         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2648         and __attribute_alloc_size__.
2649
2650 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2651
2652         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2653         __attribute_alloc_size__.
2654         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2655         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2656
2657 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2658
2659         * include/programs/xmalloc.h: New file.
2660         * catgets/gencat.c: Include it.
2661         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2662         * elf/pldd.c: Likewise.
2663         * iconv/iconv_charmap.c: Likewise.
2664         * iconv/iconvconfig.c: Likewise.
2665         * iconv/strtab.c: Likewise.
2666         * locale/programs/locale.c: Likewise.
2667         * locale/programs/localedef.h: Likewise.
2668         * locale/programs/simple-hash.c: Likewise.
2669         * nscd/nscd.h: Likewise.
2670         * nss/makedb.c: Likewise.
2671         * sysdeps/generic/ldconfig.h: Likewise.
2672
2673 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2674
2675         * Versions.def: Add GLIBC_2.18.
2676         * include/link.h (struct link_map): New member l_tls_dtor_count.
2677         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2678         (__call_tls_dtors): Likewise.
2679         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2680         __cxa_thread_atexit_impl.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2684         Likewise.
2685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2686         Likewise.
2687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2691         Likewise.
2692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2693         Likewise.
2694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2696         Likewise.
2697         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2698         (tests): Add test case tst-tls-atexit.
2699         (modules-names): Add shared library for tst-tls-atexit.
2700         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2701         (GLIBC_PRIVATE): Add __call_tls_dtors.
2702         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2703         for libstdc++.
2704         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2705         * stdlib/tst-tls-atexit.c: New test case.
2706         * stdlib/tst-tls-atexit-lib.c: New test case.
2707
2708         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2709
2710         * elf/Versions (ld): Add _dl_find_dso_for_object.
2711         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2712         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2713         (dl_open_worker): Use _dl_find_dso_for_object.
2714         * elf/dl-sym.c (do_sym): Likewise.
2715         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2716
2717 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2718
2719         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2720         Syntactic changes only.
2721         (_dl_runtime_profile): Do a tail-call to the resolved function.
2722
2723 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2724
2725         [BZ #13550]
2726         * sysdeps/x86_64/bp-asm.h: Remove file.
2727         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2728         <bp-sym.h> and <bp-asm.h>.
2729         (__clone): Do not use BP_SYM.
2730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2731         <bp-sym.h> and <bp-asm.h>.
2732         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2733         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2734         "bp-asm.h".
2735         (_setjmp): Do not use BP_SYM.
2736         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2737         "bp-asm.h".
2738         (setjmp): Do not use BP_SYM.
2739         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2740         libc_hidden_def.
2741         (mempcpy): Do not use BP_SYM in weak_alias.
2742         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2743         "bp-asm.h".
2744         (strchr): Do not use BP_SYM.
2745         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2746         "bp-asm.h".
2747         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2748         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2749         (_start): Do not use BP_SYM.
2750         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2751         "bp-asm.h".
2752         (strcat): Do not use BP_SYM.
2753         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2754         "bp-asm.h".
2755         (STRCMP): Do not use BP_SYM.
2756         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2757         "bp-asm.h".
2758         (STRCPY): Do not use BP_SYM.
2759         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2760         "bp-asm.h".
2761         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2762         "bp-asm.h".
2763         (FUNCTION): Do not use BP_SYM.
2764         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2765         weak_alias.
2766         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2767
2768 2013-02-17  Andreas Jaeger  <aj@suse.de>
2769
2770         * time/Versions: Sort entries.
2771         * string/Versions: Likewise.
2772         * resolv/Versions: Likewise.
2773         * posix/Versions: Likewise.
2774         * iconv/Versions: Likewise.
2775         * elf/Versions: Likewise.
2776         * wcsmbs/Versions: Likewise.
2777
2778 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2779
2780         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2781         loop termination condition.
2782
2783         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2784         variable to calculate EZ.
2785         (__sqr): Likewise.
2786
2787         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2788         the lower precision input.
2789
2790 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2791
2792         [BZ #13550]
2793         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2794         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2795         (run-via-rtld-prefix): Do not handle %-bp tests.
2796         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2797         (all-object-suffixes): Remove .ob.
2798         (bppfx): Remove variable.
2799         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2800         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2801         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2802         [$(build-bounded) = yes] (libtype.ob): Likewise.
2803         * Makerules (elide-routines.ob): Remove variable.
2804         (do-tests-clean): Do not handle *-bp.out.
2805         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2806         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2807         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2808         (tests): Do not include $(tests-bp.out).
2809         (xtests): Do not include $(xtests-bp.out).
2810         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2811         [$(build-bounded) = yes] ($(addprefix
2812         $(objpfx),$(binaries-bounded))): Remove rule.
2813         ($(objpfx)%-bp.out): Remove rule.
2814         * config.make.in (build-bounded): Remove variable.
2815         * crypt/Makefile [$(build-bounded) = yes]
2816         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2817         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2818         append to variable.
2819         [$(build-bounded) = yes] (install-lib): Likewise.
2820         [$(build-bounded) = yes] (generated): Likewise.
2821         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2822         Remove rule.
2823         * intl/Makefile [$(build-bounded) = yes]
2824         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2825         * math/Makefile [$(build-bounded) = yes]
2826         ($(tests:%=$(objpfx)%-bp): Likewise.
2827         * misc/Makefile [$(build-bounded) = yes]
2828         ($(objpfx)tst-tsearch-bp): Likewise.
2829         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2830         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2831         Remove dependency.
2832         * string/Makefile (o-objects.ob): Remove variable.
2833         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2834         (CFLAGS-.ob): Remove variable.
2835         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2836         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2837         both definitions of variable.
2838         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2839         (ASFLAGS-.ob): Remove variable.
2840
2841 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2842
2843         [BZ #13550]
2844         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2845         Remove __BOUNDED_POINTERS__ from condition.
2846         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2847         * string/bits/string2.h [!__NO_STRING_INLINES &&
2848         !__BOUNDED_POINTERS__]: Likewise.
2849         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2850         Likewise.
2851         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2852         Remove conditional code.
2853         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2854         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2855         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2856         condition.
2857
2858         [BZ #13550]
2859         * csu/libc-start.c: Do not include <bp-sym.h>.
2860         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2861         * elf/dl-open.c: Do not include <bp-sym.h>.
2862         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2863         * math/fegetenv.c: Do not include <bp-sym.h>.
2864         (fegetenv): Do not use BP_SYM in versioned symbols.
2865         * nptl/sysdeps/pthread/bits/libc-lockP.h
2866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2867         <bp-sym.h>.
2868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2869         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2871         (__pthread_mutex_destroy): Likewise.
2872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2873         (__pthread_mutex_lock): Likewise.
2874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2875         (__pthread_mutex_trylock): Likewise.
2876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2877         (__pthread_mutex_unlock): Likewise.
2878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2879         (__pthread_mutexattr_init): Likewise.
2880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2881         (__pthread_mutexattr_destroy): Likewise.
2882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2883         (__pthread_mutexattr_settype): Likewise.
2884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2885         (__pthread_rwlock_init): Likewise.
2886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2887         (__pthread_rwlock_destroy): Likewise.
2888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2889         (__pthread_rwlock_rdlock): Likewise.
2890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2891         (__pthread_rwlock_tryrdlock): Likewise.
2892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2893         (__pthread_rwlock_wrlock): Likewise.
2894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2895         (__pthread_rwlock_trywrlock): Likewise.
2896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2897         (__pthread_rwlock_unlock): Likewise.
2898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2899         (__pthread_key_create): Likewise.
2900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2901         (__pthread_setspecific): Likewise.
2902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2903         (__pthread_getspecific): Likewise.
2904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2905         Likewise.
2906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2907         (_pthread_cleanup_push_defer): Likewise.
2908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2909         (_pthread_cleanup_pop_restore): Likewise.
2910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2911         (pthread_setcancelstate): Likewise.
2912         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2913         <bp-sym.h>.
2914         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2915         (memchr): Do not use BP_SYM in weak_alias.
2916         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2917         (fegetenv): Do not use BP_SYM in versioned symbols.
2918         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2919         (fesetenv): Do not use BP_SYM in versioned symbols.
2920         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2921         (feupdateenv): Do not use BP_SYM in versioned symbols.
2922         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2923         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2924         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2925         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2926         (open64): Do not use BP_SYM in weak_alias.
2927         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2928         (fegetenv): Do not use BP_SYM in versioned symbols.
2929         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2930         (fesetenv): Do not use BP_SYM in versioned symbols.
2931         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2932         (feupdateenv): Do not use BP_SYM in versioned symbols.
2933         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2934         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2935         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2936         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2937         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2938         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2939         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2940         <bp-sym.h>.
2941         (__libc_start_main): Do not use BP_SYM.
2942
2943 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2944
2945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2946         redundant return line.
2947         (norm): Likewise.
2948         (denorm): Likewise.
2949         (dbl_mp): Likewise.
2950         (sub_magnitudes): Likewise.
2951         (__add): Likewise.
2952         (__sub): Likewise.
2953         (__mul): Likewise.
2954         (__inv): Likewise.
2955         (__dvd): Likewise.
2956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2957         (norm): Likewise.
2958         (denorm): Likewise.
2959         (dbl_mp): Likewise.
2960         (sub_magnitudes): Likewise.
2961         (__add): Likewise.
2962         (__sub): Likewise.
2963         (__mul): Likewise.
2964         (__inv): Likewise.
2965         (__dvd): Likewise.
2966
2967         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2968         instead of __mul.
2969         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2970         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2971         (cc32): Likewise.
2972
2973         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2974         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2976         of __mul for squares.
2977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2978         function
2979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2980         Likewise.
2981         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2982         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2983
2984 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2985
2986         [BZ #13550]
2987         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2988         code.
2989         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2990         prototype or function definition.  Rename ubp_* variables and
2991         parameters.  Remove argv definitions conditional on
2992         [__BOUNDED_POINTERS__].
2993         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2994         * elf/dl-runtime.c (_dl_fixup): Likewise.
2995         * include/set-hooks.h (RUN_HOOK): Likewise.
2996         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2997         definition.
2998         * string/strcpy.c (strcpy): Do not use __unbounded.
2999         * sysdeps/generic/frame.h (struct layout): Likewise.
3000         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3001         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3002         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3003         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3004         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3005         (__backtrace): Likewise.
3006         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3007         use __ptrvalue.
3008         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3009         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3010         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3013         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3014         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3015         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3016         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3017         Do not use __unbounded.
3018         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3019         Rename __unboundedrlimits parameter to rlimits in prototype.
3020         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3021         Do not use __unbounded.
3022         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3023         not use __ptrvalue.
3024         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3025         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3026         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3027         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3028         __ptrvalue or __unbounded.
3029         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3030         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3031         use __unbounded.
3032         (__new_msgctl): Do not use __ptrvalue.
3033         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3034         __unbounded.
3035         (__libc_msgrcv): Do not use __ptrvalue.
3036         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3037         startup_info): Do not use __unbounded.
3038         (__libc_start_main): Likewise.  Rename ubp_* variables and
3039         parameters.  Remove argv definitions conditional on
3040         [__BOUNDED_POINTERS__].
3041         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3042         __ptrvalue.
3043         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3044         use __unbounded.
3045         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3046         or __ptrvalue.
3047         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3048         use __unbounded.
3049         (__new_shmctl): Do not use __ptrvalue.
3050         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3051         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3052         Likewise.
3053         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3054         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3055         (__libc_sigaction): Likewise.
3056         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3057         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3060
3061 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
3062
3063         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3064
3065         * string/mempcpy.c: Implement by calling memcpy.
3066
3067 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3068
3069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3070
3071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3072         evaluation.
3073
3074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3075         values in the mantissa.
3076
3077         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3078         minimize writes to Z.
3079         (sub_magnitudes): Simplify code a bit.
3080
3081 2013-02-12  Roland McGrath  <roland@hack.frob.com>
3082
3083         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3084         from the message.  The linker prefixes all warnings with that already.
3085
3086 2013-02-12  Andreas Schwab  <schwab@suse.de>
3087
3088         [BZ #15078]
3089         * posix/regexec.c (extend_buffers): Add parameter min_len.
3090         (check_matching): Pass minimum needed length.
3091         (clean_state_log_if_needed): Likewise.
3092         (get_subexp): Likewise.
3093         * posix/Makefile (tests): Add bug-regex34.
3094         (bug-regex34-ENV): Define.
3095         * posix/bug-regex34.c: New file.
3096
3097         [BZ #11561]
3098         * posix/regcomp.c (parse_bracket_exp): When looking up collating
3099         elements compare against the byte sequence of it, not its name.
3100         * posix/Makefile (tests): Add bug-regex35.
3101         (bug-regex35-ENV): Define.
3102         * posix/bug-regex35.c: New file.
3103
3104 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3105
3106         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
3107         comment.
3108         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3109         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3110         (CHECK_EOL): Add undef.
3111
3112 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
3113
3114         * bits/stdlib-bsearch.h: New file.
3115         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3116         * stdlib/stdlib.h: Likewise.
3117
3118 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3119
3120         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3121         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3122         declaration.
3123         * manual/search.texi (Array Search Function): Add missing const in
3124         lfind prototype.
3125         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3126         declaration to use rlim_t.
3127         (Basic Scheduling Functions): Remove erroneous const from
3128         sched_getparam prototype.  Remove erroneous * from
3129         sched_get_priority_max and sched_get_priority_min prototypes.
3130         (Resource Usage): Fix summary @comment on vtimes to refer to
3131         sys/vtimes.h rather than vtimes.h.
3132         Add missing *s in vtimes prototype.
3133         (Limits on Resources): Fix ulimit prototype to return long int.
3134         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3135         prototypes to use long int rather than double.
3136         (BSD Random): Fix initstate and setstate to use char *, not void *.
3137         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3138         prototype to make second argument 'struct aiocb64 *const[]'.
3139         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3140         (Status of AIO Operations): Remove erroneous const in aio_return and
3141         aio_return64 prototypes.
3142         (Synchronizing I/O): Fix sync prototype to return void.
3143         * manual/startup.texi (Suboptions): Remove an erroneous const in
3144         getsubopt prototype.
3145         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3146         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3147         use size_t rather than int.
3148         (Scanning All Users): Likewise for getpwent_r.
3149         (Setting Groups): Add missing const to setgroups prototype.
3150         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3151         * manual/socket.texi (Host Names): Fix gethostbyaddr and
3152         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3153         'const void *' rather than 'const char *'.
3154         (Host Address Functions): Likewise for inet_ntop.
3155         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3156         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3157         ssize_t for return value.
3158         (Sending Data): Likewise for send, sendto, sendmsg.
3159         (Socket Option Functions): Add a missing const in setsockopt prototype.
3160         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3161         use wchar_t for the argument.
3162         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3163         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3164         take no arguments.
3165         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3166         double/float/long double for second argument.
3167         Fix return types of significand, significandf, significandl.
3168         * manual/filesys.texi (Setting Permissions): Use mode_t for second
3169         argument in fchmod prototype.
3170         (File Owner): Use uid_t and gid_t in fchown prototype.
3171         (File Times): Add const to utimes, futimes, and lutimes prototypes.
3172         (Making Special Files): Use mode_t and dev_t in mknod prototype.
3173         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3174         use 'const struct dirent **' as argument types to CMP function pointer
3175         argument.
3176         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3177         (File Times): Fix summary magic @comment for struct utimbuf and utime
3178         to refer to utime.h, not time.h.
3179         * manual/string.texi (Argz Functions): Add missing const in
3180         argz_extract and argz_next prototypes.
3181         (Finding Tokens in a String): Likewise for basename.
3182         (String/Array Comparison): Fix typo in wcscasecmp prototype.
3183         (Copying and Concatenation): Fix typo in wmemmove prototype.
3184         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3185         (Signal Stack): Remove erroneous const in sigstack prototype.
3186         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3187         prototype.
3188         (Simple Calendar Time): Likewise for stime.
3189         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3190         prototype.
3191         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3192         say sys/sysctl.h instead.
3193         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3194         and vsyslog prototypes.
3195
3196 2013-02-11  Tom de Vries  <tom@codesourcery.com>
3197
3198         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3199         Remove.
3200
3201 2013-02-11  Roland McGrath  <roland@hack.frob.com>
3202
3203         * misc/sys/mman.h: Fix typo in mremap comment.
3204
3205 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3206
3207         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3208         the '\0' terminator.
3209
3210 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3211
3212         [BZ #13550]
3213         * debug/segfault.c: Don't include <bp-checks.h>.
3214         * sysdeps/generic/bp-checks.h: Remove file.
3215         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3216         (__GETDENTS): Don't use CHECK_N.
3217         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3218         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3219         (__getgroups): Don't use CHECK_N.
3220         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3221         (setgroups): Don't use CHECK_N.
3222         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3223         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3224         (__libc_msgrcv): Don't use CHECK_N.
3225         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3226         (__libc_msgsnd): Don't use CHECK_N.
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3228         <bp-checks.h>.
3229         (__libc_pread): Don't use CHECK_N.
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3231         include <bp-checks.h>.
3232         (__libc_pread64): Don't use CHECK_N.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3234         include <bp-checks.h>.
3235         (__libc_pwrite): Don't use CHECK_N.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3237         include <bp-checks.h>.
3238         (__libc_pwrite64): Don't use CHECK_N.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3240         <bp-checks.h>.
3241         (__libc_pread): Don't use CHECK_N.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3243         include <bp-checks.h>.
3244         (__libc_pread64): Don't use CHECK_N.
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3246         include <bp-checks.h>.
3247         (__libc_pwrite): Don't use CHECK_N.
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3249         include <bp-checks.h>.
3250         (__libc_pwrite64): Don't use CHECK_N.
3251         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3252         (do_pread): Don't use CHECK_N.
3253         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3254         (do_pread64): Don't use CHECK_N.
3255         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3256         (do_pwrite): Don't use CHECK_N.
3257         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3258         (do_pwrite64): Don't use CHECK_N.
3259         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3260         (__libc_readv): Don't use CHECK_N.
3261         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3262         (semop): Don't use CHECK_N.
3263         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3264         <bp-checks.h>.
3265         (semtimedop): Don't use CHECK_N.
3266         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3267         (__libc_pread): Don't use CHECK_N.
3268         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3269         <bp-checks.h>.
3270         (__libc_pread64): Don't use CHECK_N.
3271         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3272         <bp-checks.h>.
3273         (__libc_pwrite): Don't use CHECK_N.
3274         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3275         <bp-checks.h>.
3276         (__libc_pwrite64): Don't use CHECK_N.
3277         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3278         <bp-checks.h>.
3279         (__libc_msgrcv): Don't use CHECK_N.
3280         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3281         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
3282         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3283         (__libc_writev): Don't use CHECK_N.
3284
3285 2013-02-08  Roland McGrath  <roland@hack.frob.com>
3286
3287         * string/strcpy.c: Removed unused variable.
3288
3289         * Makeconfig (+sysdep-includes): Define with := rather than =.
3290         Use an existing include/ subdir of each sysdeps dir before it.
3291
3292 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3293
3294         * nscd/connection.c (register_traced_file): Comment function.
3295         [HAVE_INOTIFY] (union __inev): Define.
3296         [HAVE_INOTIFY] (inotify_check_files): New function.
3297         [HAVE_INOTIFY] (clear_db_cache): Likewise.
3298         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3299         clear_db_cache.
3300         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3301
3302 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3303
3304         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3305         loaded if not already and that a failure is permanent.
3306
3307 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
3308
3309         [BZ #15006]
3310         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3311         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3312
3313 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
3314
3315         [BZ #13550]
3316         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3317         (CHECK_1_NULL_OK): Likewise.
3318         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3319         (__fxstat): Do not use CHECK_1.
3320         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3321         <bp-checks.h>.
3322         (___fxstat64): Do not use CHECK_1.
3323         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3324         <bp-checks.h>.
3325         (__fxstatat): Do not use CHECK_1.
3326         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3327         <bp-checks.h>.
3328         (__fxstatat64): Do not use CHECK_1.
3329         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3330         <bp-checks.h>.
3331         (__fxstat): Do not use CHECK_1.
3332         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3333         <bp-checks.h>.
3334         (__fxstatat): Do not use CHECK_1.
3335         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3336         <bp-checks.h>.
3337         (__getresgid): Do not use CHECK_1.
3338         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3339         <bp-checks.h>.
3340         (__getresuid): Do not use CHECK_1.
3341         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3342         <bp-checks.h>.
3343         (__lxstat): Do not use CHECK_1.
3344         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3345         <bp-checks.h>.
3346         (__old_msgctl): Do not use CHECK_1.
3347         (__new_msgctl): Likewise.
3348         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3349         <bp-checks.h>.
3350         (__new_setrlimit): Do not use CHECK_1.
3351         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3352         <bp-checks.h>.
3353         (__old_shmctl): Do not use CHECK_1.
3354         (__new_shmctl): Likewise.
3355         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3356         <bp-checks.h>.
3357         (__xstat): Do not use CHECK_1.
3358         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3359         (__lxstat): Do not use CHECK_1.
3360         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3361         <bp-checks.h>.
3362         (___lxstat64): Do not use CHECK_1.
3363         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3364         (__old_msgctl): Do not use CHECK_1.
3365         (__new_msgctl): Likewise.
3366         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3367         <bp-checks.h>.
3368         (__gettimeofday): Do not use CHECK_1.
3369         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3370         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3371         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3372         <bp-checks.h>.
3373         (__gettimeofday): Do not use CHECK_1.
3374         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3375         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3376         (__new_shmctl): Do not use CHECK_1.
3377         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3378         <bp-checks.h>.
3379         (do_sigtimedwait): Do not use CHECK_1.
3380         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3381         <bp-checks.h>.
3382         (do_sigwaitinfo): Do not use CHECK_1.
3383         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3384         <bp-checks.h>.
3385         (msgctl): Do not use CHECK_1.
3386         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3387         <bp-checks.h>.
3388         (shmctl): Do not use CHECK_1.
3389         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3390         (ustat): Do not use CHECK_1.
3391         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3392         <bp-checks.h>.
3393         (__fxstat): Do not use CHECK_1.
3394         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3395         <bp-checks.h>.
3396         (__fxstatat): Do not use CHECK_1.
3397         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3398         <bp-checks.h>.
3399         (__lxstat): Do not use CHECK_1.
3400         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3401         <bp-checks.h>.
3402         (__xstat): Do not use CHECK_1.
3403         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3404         (__xstat): Do not use CHECK_1.
3405         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3406         (___xstat64): Do not use CHECK_1.
3407
3408         [BZ #13550]
3409         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3410         definitions.
3411         (CHECK_BOUNDS_HIGH): Likewise.
3412         * string/strcpy.c: Do not include <bp-checks.h>.
3413         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3414
3415 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3416
3417         * nscd/nscd-client.h (__nscd_drop_map_ref):
3418         Add __attribute__ ((unused)).
3419         * nis/nss-nisplus.h (niserr2nss): Likewise.
3420
3421         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3422         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3423
3424         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3425         Remove inline keyword.
3426         * include/rounding-mode.h (round_away): Likewise.
3427         * libio/wfileops.c (adjust_wide_data): Likewise.
3428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3429         (__m128i_strloadu_tolower): Likewise.
3430         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3431         (__m128i_strloadu_tolower): Likewise.
3432         * time/mktime.c (ydhms_diff): Likewise.
3433         * locale/elem-hash.h (elem_hash): Likewise.
3434         * locale/setlocale.c (setdata): Likewise.
3435         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3436         (re_string_wchar_at): Likewise.
3437         (bitset_not, bitset_merge, bitset_mask): Likewise.
3438         [!(__GNUC__ > 3)] (inline): Remove macro.
3439         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3440         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3441         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3442         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3443         * string/memcmp.c (memcmp_bytes): Likewise.
3444         * locale/programs/locarchive.c (compute_hashval): Likewise.
3445         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3446         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3447         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3448         * nss/getent.c (print_rpc, print_protocols): Likewise.
3449         (print_passwd, print_group, print_aliases): Likewise.
3450         * nis/nss-nisplus.h (niserr2nss): Likewise.
3451         * nscd/connections.c (restart_p): Likewise.
3452         Change return type to bool.
3453
3454 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3455
3456         * Makeconfig (all-Depend-files): Add existing
3457         $(sorted-subdirs:=/Depend) files.
3458         (all-subdirs): Remove nss.
3459         * sysdeps/unix/inet/Subdirs: Add it here instead.
3460         * hesiod/Depend: New file.
3461
3462         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3463         instead of calling alloca.
3464
3465         * io/lseek.c (__lseek): Rename to __libc_lseek.
3466         Define __lseek as an alias.
3467
3468         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3469
3470 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3471
3472         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3473         else clause and remove check for non-standard endianness.
3474
3475 2013-02-04  David S. Miller  <davem@davemloft.net>
3476
3477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3478
3479 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3480
3481         [BZ #13550]
3482         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3483         (__ubp_memchr): Remove prototype.
3484         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3485         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3486         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3487         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3488         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3489         Remove alias.
3490         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3491         (__ubp_memchr): Likewise.
3492         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3493         (__ubp_memchr): Likewise.
3494         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3495         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3496         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3497         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3498         CHECK_STRING.
3499         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3500         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3501         (__getcwd): Do not use CHECK_STRING.
3502         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3503         <bp-checks.h>.
3504         (__real_chown): Do not use CHECK_STRING.
3505         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3506         <bp-checks.h>.
3507         (fchownat): Do not use CHECK_STRING.
3508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3509         CHECK_STRING.
3510         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3511         <bp-checks.h>.
3512         (__lchown): Do not use CHECK_STRING.
3513         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3514         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3515         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3516         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3518         include <bp-checks.h>.
3519         (truncate64): Do not use CHECK_STRING.
3520         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3521         <bp-checks.h>.
3522         (__real_chown): Do not use CHECK_STRING.
3523         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3524         <bp-checks.h>.
3525         (__lchown): Do not use CHECK_STRING.
3526         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3527         <bp-checks.h>.
3528         (__chown): Do not use CHECK_STRING.
3529         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3530         <bp-checks.h>.
3531         (truncate64): Do not use CHECK_STRING.
3532         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3533         Likewise.
3534         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3535         (__xmknod): Do not use CHECK_STRING.
3536         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3537         <bp-checks.h>.
3538         (__xmknodat): Do not use CHECK_STRING.
3539         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3540         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3541
3542 2013-02-04  Andreas Schwab  <schwab@suse.de>
3543
3544         [BZ #14142]
3545         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3546         * include/netdb.h: Likewise for h_errno.
3547         * elf/tst-stackguard1.c: Include <tls.h>.
3548
3549 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3550
3551         * elf/link.h (struct link_map): Extend the l_addr comment.
3552         * include/link.h (struct link_map): Likewise.
3553
3554 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3555
3556         [BZ #13550]
3557         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3558         (BOUNDED_1): Remove macro.
3559         * debug/backtrace.c: Don't include <bp-checks.h>.
3560         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3561         (__backtrace): Likewise.
3562         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3563         <bp-checks.h>.
3564         (__backtrace): Don't use BOUNDED_1.
3565         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3566         <bp-checks.h>.
3567         (__backtrace): Don't use BOUNDED_1.
3568         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3569         (__backtrace): Don't use BOUNDED_1.
3570         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3571         (shmat): Don't use BOUNDED_N.
3572
3573 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3574
3575         [BZ #13550]
3576         * sysdeps/generic/bp-start.h: Remove file.
3577         * csu/libc-start.c: Don't include <bp-start.h>.
3578         (LIBC_START_MAIN): Set up __environ directly instead of using
3579         INIT_ARGV_and_ENVIRON.
3580         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3581         <bp-start.h>.
3582
3583         [BZ #13550]
3584         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3585         definitions.
3586         (CHECK_FCNTL): Likewise.
3587         (CHECK_N_PAGES): Likewise.
3588
3589         [BZ #13550]
3590         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3591         definitions.
3592         (CHECK_SIGSET_NULL_OK): Likewise.
3593         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3594         <bp-checks.h>.
3595         (sigpending): Don't use CHECK_SIGSET.
3596         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3597         <bp-checks.h>.
3598         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3599         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3600         <bp-checks.h>.
3601         (do_sigsuspend): Don't use CHECK_SIGSET.
3602         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3603         use CHECK_SIGSET.
3604         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3605         (do_sigwait): Don't use CHECK_SIGSET.
3606         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3607         use CHECK_SIGSET.
3608         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3609         include <bp-checks.h>.
3610         (sigpending): Don't use CHECK_SIGSET.
3611         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3612         include <bp-checks.h>.
3613         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3614         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3615         <bp-checks.h>.
3616         (sigpending): Don't use CHECK_SIGSET.
3617         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3618         <bp-checks.h>.
3619         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3620
3621         [BZ #13550]
3622         * sysdeps/generic/bp-semctl.h: Remove file.
3623         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3624         <bp-checks.h> and <bp-semctl.h>.
3625         (__old_semctl): Don't use CHECK_SEMCTL.
3626         (__new_semctl): Likewise.
3627         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3628         and <bp-semctl.h>.
3629         (__old_semctl): Don't use CHECK_SEMCTL.
3630         (__new_semctl): Likewise.
3631         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3632         <bp-checks.h> and <bp-semctl.h>.
3633         (__old_semctl): Don't use CHECK_SEMCTL.
3634         (__new_semctl): Likewise.
3635         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3636         <bp-checks.h> and <bp-semctl.h>.
3637         (semctl): Don't use CHECK_SEMCTL.
3638
3639         [BZ #13550]
3640         * Makerules (elide-bp-thunks): Remove variable.
3641         (elide-routines.oS): Don't use $(elide-bp-thunks).
3642         (elide-routines.os): Likewise.
3643         (elide-routines.o): Likewise.
3644         (elide-routines.op): Likewise.
3645         (elide-routines.og): Likewise.
3646         (objects): Don't use $(bp-thunks).
3647         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3648         include.
3649         (common-generated): Do not add s-proto-bp.d.
3650         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3651         (int): Likewise.
3652         (typ): Likewise.
3653         Do not generate makefile rules for bounded-pointer thunks.
3654         * sysdeps/generic/bp-thunks.h: Remove file.
3655         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3656         * sysdeps/unix/s-proto-bp.S: Likewise.
3657
3658         [BZ #15062]
3659         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3660         parts of result separately when argument is not close to line from
3661         -i to i and one part of argument is small.
3662         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3663         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3664         * math/libm-test.inc (cacos_test): Add more tests.
3665         (casin_test): Likewise.
3666         (casinh_test): Likewise.
3667         * sysdeps/i386/fpu/libm-test-ulps: Update.
3668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3669
3670 2013-01-31  David S. Miller  <davem@davemloft.net>
3671
3672         * po/de.po: Update from translation team.
3673
3674 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3675
3676         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3677
3678 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3679
3680         * configure.in (_AC_PROG_CC_C89): New definition.
3681         * configure: Regenerate.
3682
3683         * configure.in (AC_PROG_CPP): New definition.
3684         * configure: Regenerate.
3685
3686 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3687
3688         * debug/tst-backtrace.h: New file.
3689         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3690         (ret): Remove variable.
3691         (x): Likewise.
3692         (FAIL): Remove macro.
3693         (NO_INLINE): Likewise.
3694         (fn1): Use match function instead of strstr.
3695         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3696         (ret): Remove variable.
3697         (x): Likewise.
3698         (FAIL): Remove macro.
3699         (NO_INLINE): Likewise.
3700         (fn): Use match function instead of strstr.
3701         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3702         (ret): Remove variable.
3703         (x): Likewise.
3704         (FAIL): Remove macro.
3705         (NO_INLINE): Likewise.
3706         (handle_signal): Use match function instead of strstr.
3707         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3708         (ret): Remove variable.
3709         (x): Likewise.
3710         (FAIL): Remove macro.
3711         (NO_INLINE): Likewise.
3712         (handle_signal): Use match function instead of strstr.
3713
3714 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3715
3716         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3717
3718 2013-01-23  David S. Miller  <davem@davemloft.net>
3719
3720         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3721         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3722         argument of CAS if possible.
3723         * sysdeps/sparc/sparc64/bits/atomic.h
3724         (__arch_compare_and_exchange_val_32_acq): Likewise.
3725         (__arch_compare_and_exchange_val_64_acq): Likewise.
3726
3727 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3728
3729         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3730         * sysdeps/posix/ulimit.c: ... this.
3731         Include <limits.h>.
3732         * sysdeps/unix/bsd/ulimit.c: Remove file.
3733
3734 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3735
3736         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3737         (LDFLAGS-tst-array5): Likewise.
3738
3739 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3740
3741         [BZ #15036]
3742         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3743         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3744         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3745         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3746
3747 2013-01-21  David S. Miller  <davem@davemloft.net>
3748
3749         * sysdeps/sparc/backtrace.c: New file.
3750         * sysdeps/sparc/sparc32/backtrace.h: New file.
3751         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3752         * sysdeps/sparc/sparc64/backtrace.h: New file.
3753         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3754         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3755         -funwind-tables.
3756
3757 2013-01-21  Andreas Schwab  <schwab@suse.de>
3758
3759         [BZ #15020]
3760         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3761         closed its stdout.
3762
3763 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3764
3765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3766         "mpa2.h".
3767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3768
3769 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3770             Mark Mitchell  <mark@codesourcery.com>
3771             Tom de Vries  <tom@codesourcery.com>
3772             Paul Pluzhnikov  <ppluzhnikov@google.com>
3773
3774         * debug/tst-backtrace2.c: New file.
3775         * debug/tst-backtrace3.c: Likewise.
3776         * debug/tst-backtrace4.c: Likewise.
3777         * debug/tst-backtrace5.c: Likewise.
3778         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3779         (CFLAGS-tst-backtrace3.c): Likewise.
3780         (CFLAGS-tst-backtrace4.c): Likewise.
3781         (CFLAGS-tst-backtrace5.c): Likewise.
3782         (LDFLAGS-tst-backtrace2): Likewise.
3783         (LDFLAGS-tst-backtrace3): Likewise.
3784         (LDFLAGS-tst-backtrace4): Likewise.
3785         (LDFLAGS-tst-backtrace5): Likewise.
3786         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3787         tst-backtrace4 and tst-backtrace5.
3788
3789 2013-01-18  Anton Blanchard  <anton@samba.org>
3790             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3791
3792         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3793         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3794         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3795         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3797         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3798         "+r" and remove output regs list as redundant.  Add explicit inline
3799         asm to specify register of return val to work around compiler codegen
3800         bug.  Remove (int) cast on return value.  Add return type parameter to
3801         use in macro so that this macro does not truncate return value for
3802         64-bit values.
3803         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3804         pass to INTERNAL_VSYSCALL_NCS.
3805         (INLINE_VSYSCALL): Add 'long int' as return type to
3806         INTERNAL_VSYSCALL_NCS macro invocation.
3807         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3808         INTERNAL_VSYSCALL_NCS macro invocation.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3810
3811 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3812
3813         [BZ #14496]
3814         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3815         Fix application of SIMD FP exception mask.
3816
3817         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3818         mp_no from a power of two.
3819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3820         __mpexp_twomm1.  Use __pow_mp.
3821
3822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3823         multiplication.
3824
3825 2013-01-17  David S. Miller  <davem@davemloft.net>
3826
3827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3828
3829 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3830
3831         [BZ #15023]
3832         * include/complex.h: Condition contents on [!_COMPLEX_H].
3833         (__kernel_casinhf): New prototype.
3834         (__kernel_casinh): Likewise.
3835         (__kernel_casinhl): Likewise.
3836         * math/Makefile (libm_calls): Add k_casinh.
3837         * math/k_casinh.c: New file.
3838         * math/k_casinhf.c: Likewise.
3839         * math/k_casinhl.c: Likewise.
3840         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3841         finite nonzero arguments.
3842         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3843         finite nonzero arguments.
3844         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3845         finite nonzero arguments.
3846         * math/s_casinh.c: Do not include <float.h>.
3847         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3848         * math/s_casinhf.c: Do not include <float.h>.
3849         (__casinhf): Move code for finite nonzero arguments to
3850         k_casinhf.c.
3851         * math/s_casinhl.c: Do not include <float.h>.
3852         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3853         redefine.
3854         (__casinhl): Move code for finite nonzero arguments to
3855         k_casinhl.c.
3856         * math/libm-test.inc (cacos_test): Add more tests.
3857         * sysdeps/i386/fpu/libm-test-ulps: Update.
3858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3859
3860 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3861
3862         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3863         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3864         [!HAVE_MREMAP]: Remove [defined linux] case.
3865         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3866
3867 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3868
3869         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3870
3871 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3872
3873         * elf/elf.h (R_386_SIZE32): New relocation.
3874         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3875         R_386_SIZE32.
3876         (elf_machine_rela): Likewise.
3877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3878         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3879
3880 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3881
3882         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3883         (FP_FAST_FMA): Do not define.
3884         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3885         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3886         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3887         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3888         !_SOFT_FLOAT]: Likewise.
3889         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3891         value.
3892         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3893         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3894         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3895         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3896         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3897         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3898         file.
3899
3900 2013-01-16  Andreas Schwab  <schwab@suse.de>
3901
3902         [BZ #14327]
3903         * include/stdlib.h (__mktemp): Add declaration.
3904         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3905         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3906
3907 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3908
3909         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3910         definitions.
3911         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3912         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3913         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3914         definitions here.
3915         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3916         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3917         definitions.
3918         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3919         and ONE.
3920         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3921         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3922         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3923         definitions.
3924         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3925         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3926         definitions.
3927         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3928
3929         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3930
3931 2013-01-15  David S. Miller  <davem@davemloft.net>
3932
3933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3934         trunc{,f} to libm-sysdep_routes.
3935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3937         file.
3938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3940         file.
3941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3942         file.
3943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3945         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3946         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3947         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3948         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3949         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3950         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3951
3952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3953         nearbyint{,f} to libm-sysdep_routes.
3954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3956         New file.
3957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3958         file.
3959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3960         New file.
3961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3962         file.
3963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3965         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3966         file.
3967         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3968         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3969         file.
3970         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3971         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3972         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3973
3974         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3975         libc_feholdexcept and libc_fesetenv.
3976
3977 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3978
3979         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3980
3981 2013-01-14  David S. Miller  <davem@davemloft.net>
3982
3983         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3984         (SPARC_ASM_VIS2_IFUNC): Likewise.
3985         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3987         use of 'siam' instruction.
3988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3989         Likewise.
3990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3991         Likewise.
3992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3993         Likewise.
3994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3999         file.
4000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4001         file.
4002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4003         file.
4004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4005         file.
4006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4011         new VIS2 routines.
4012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4015         Likewise.
4016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4021         routines to libm-sysdep_routines.
4022         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4023
4024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4025         fdim/fdimf to libm-sysdep_routines.
4026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4027         file.
4028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4030         file.
4031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4034         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4035         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4036         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4037         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4038
4039 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4040
4041         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4042         to optimize copies.
4043
4044         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4047
4048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4049         local variable MPTWO.
4050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4051         Likewise.
4052
4053 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4054
4055         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4056         GLOB_NOESCAPE.
4057
4058 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4059
4060         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4061
4062 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
4063
4064         * manual/pattern.texi (glob_t): Document gl_flags.
4065         (glob64_t): Likewise.
4066
4067 2013-01-11  David S. Miller  <davem@davemloft.net>
4068
4069         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4070         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4071         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
4072         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4073         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4074         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4075         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4076         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4077         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4078         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4079         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4080         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4081         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4082
4083         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4084         sparc V9 rather than using V8 code.
4085         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4086         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4087
4088         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4089         Move to...
4090         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4091         Here.
4092
4093 2013-01-11  Roland McGrath  <roland@hack.frob.com>
4094
4095         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4096         not in the main loop.
4097         * configure: Regenerated.
4098
4099 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
4100
4101         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4102         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4103         to just #else.
4104         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
4105         [!__GLIBC_HAVE_LONG_LONG] case.
4106         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4107         condition to just #else.
4108         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4109         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4110         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4111         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4112         unconditional.
4113         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4114         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4115         #elif condition to just #else.
4116         * sysdeps/unix/sysv/linux/sys/sysmacros.h
4117         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4118         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4119         #elif condition to just #else.
4120
4121 2013-01-11  Steve Ellcey  <sellcey@mips.com>
4122
4123         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4124         (EF_MIPS_ARCH_64): Fix value.
4125         (EF_MIPS_ARCH_32R2): New.
4126         (EF_MIPS_ARCH_64R2): New.
4127
4128 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
4129
4130         * Makeconfig (+link-pie-before-libc): New.
4131         (+link-pie-after-libc): Likewise.
4132         (+link-pie-tests): Likewise.
4133         (+link-pie): Rewritten.
4134         (link-before-libc): Remove $(config-LDFLAGS).
4135         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4136         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4137         (config-LDFLAGS): Renamed to ...
4138         (rtld-LDFLAGS): This.
4139         (rtld-tests-LDFLAGS): New macro.
4140         (link-libc-rpath-link): Likewise.
4141         (link-libc-tests-rpath-link): Likewise.
4142         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4143         (link-libc): Prepand $(link-libc-rpath-link).
4144         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4145         (test-program-prefix): New macro.
4146         (test-via-rtld-prefix): Likewise.
4147         (test-program-cmd): Likewise.
4148         (host-test-program-cmd): Likewise.
4149         * Makefile ($(common-objpfx)testrun.sh): Replace
4150         $(run-program-prefix) with $(test-program-prefix).
4151         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4152         $(rtld-LDFLAGS).
4153         ($(common-objpfx)shlib.lds): Likewise.
4154         (build-module-helper): Likewise.
4155         ($(common-objpfx)format.lds): Likewise.
4156         * Rules (binaries-pie-tests): New.
4157         (binaries-pie-notests): Likewise.
4158         (binaries-pie): Rewritten.
4159         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4160         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4161         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4162         (make-test-out): Replace $(host-built-program-cmd) with
4163         $(host-test-program-cmd).
4164         * config.make.in (build-hardcoded-path-in-tests): New variable.
4165         * configure.in (--enable-hardcoded-path-in-tests): New configure
4166         option.
4167         (hardcoded_path_in_tests): New AC_SUBST.
4168         * configure: Regenerated.
4169         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4170         $(built-program-cmd) with $(test-program-cmd).
4171         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4172         (test_program_cmd): This.
4173         * elf/Makefile ($(objpfx)order.out): Run test with
4174         $(test-program-prefix).
4175         ($(objpfx)order2.out): Likewise.
4176         ($(objpfx)tst-initorder.out): Likewise.
4177         ($(objpfx)tst-initorder2.out): Likewise.
4178         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4179         $(test-program-cmd).
4180         ($(objpfx)tst-array1-static.out): Likewise.
4181         ($(objpfx)tst-array2.out): Likewise.
4182         ($(objpfx)tst-array3.out): Likewise.
4183         ($(objpfx)tst-array4.out): Likewise.
4184         ($(objpfx)tst-array5.out): Likewise.
4185         ($(objpfx)tst-array5-static.out): Likewise.
4186         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4187         $(test-program-cmd).
4188         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4189         $(run-program-prefix) with $(test-program-prefix).
4190         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4191         (test_program_prefix): This.
4192         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4193         $(run-program-prefix) with $(test-program-prefix).
4194         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4195         (test_program_prefix): This.
4196         * iconvdata/tst-tables.sh: Likewise.
4197         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4198         $(run-program-prefix) with $(test-program-prefix).
4199         ($(objpfx)tst-translit.out): Likewise.
4200         ($(objpfx)tst-gettext2.out): Likewise.
4201         ($(objpfx)tst-gettext4.out): Likewise.
4202         ($(objpfx)tst-gettext6.out): Likewise.
4203         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4204         (test_program_prefix): This.
4205         * intl/tst-gettext2.sh: Likewise.
4206         * intl/tst-gettext4.sh  Likewise.
4207         * intl/tst-gettext6.sh: Likewise.
4208         * intl/tst-translit.sh: Likewise.
4209         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4210         with $(test-program-cmd).
4211         * libio/Makefile ($(objpfx)test-freopen.out): Replace
4212         $(run-program-prefix) with $(test-program-prefix).
4213         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4214         (test_program_prefix): This.
4215         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4216         $(run-program-prefix) with $(test-program-prefix).
4217         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4218         (test_program_prefix): This.
4219         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4220         * posix/Makefile ($(objpfx)globtest.out): Replace
4221         $(run-via-rtld-prefix) and $(test-wrapper) with
4222         $(test-program-prefix) and $(test-via-rtld-prefix).
4223         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4224         $(test-program-prefix).
4225         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4226         $(host-test-program-cmd).
4227         (tst-spawn-ARGS): Likewise.
4228         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4229         $(test-program-prefix).
4230         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4231         (test_via_rtld_prefix): This.
4232         (test_wrapper): Renamed to ...
4233         (test_program_prefix): This.
4234         (run_program_prefix): Replaced by test_program_prefix.
4235         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4236         (test_program_prefix): This.
4237         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4238         with $(host-test-program-cmd).
4239         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4240         $(run-program-prefix) with $(test-program-prefix).
4241         ($(objpfx)tst-printf.out): Likewise.
4242         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4243         $(test-program-cmd).
4244         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4245         (test_program_prefix): This.
4246         * stdio-common/tst-unbputc.sh: Likewise.
4247         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4248         $(run-program-prefix) with $(test-program-prefix).
4249         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4250         (test_program_prefix): This.
4251         * string/Makefile ($(objpfx)tst-svc.out):  Replace
4252         $(built-program-cmd) with $(test-program-cmd).
4253
4254 2013-01-11  Andreas Jaeger  <aj@suse.de>
4255
4256         [BZ #15003]
4257         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4258         value. Sync with Linux 3.7.
4259
4260 2013-01-10  David S. Miller  <davem@davemloft.net>
4261
4262         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4263         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4264         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4265
4266 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4267
4268         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4269         never set.
4270         * configure: Regenerated.
4271
4272 2013-01-10  David S. Miller  <davem@davemloft.net>
4273
4274         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4275         sparc V9 rather than using V8 code.
4276         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4277         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4278
4279 2013-01-10  Roland McGrath  <roland@hack.frob.com>
4280
4281         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4282         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4283         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4284         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4285         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4286         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4287         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4288         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4289         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4290         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4291         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4292         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4293         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4294         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4295         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4296         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4297         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4298         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4299         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4300         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4301         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4302         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4303         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4304         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4305         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4306         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4307         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4308
4309 2013-01-10  David S. Miller  <davem@davemloft.net>
4310
4311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4312
4313 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4314
4315         * posix/Makefile (tests-static): New variable.
4316         (tests): Add $(tests-static).
4317         (tst-exec-static-ARGS): New variable.
4318         (tst-spawn-static-ARGS): Likewise.
4319         * posix/tst-exec-static.c: New file.
4320         * posix/tst-spawn-static.c: Likewise.
4321         * posix/tst-exec.c: Support run directly.
4322         * posix/tst-spawn.c: Likewise.
4323
4324 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4325
4326         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4327         long.
4328         * math/bits/mathcalls.h (llrint): Likewise.
4329         (llround): Likewise.
4330         * stdlib/stdlib.h (struct drand48_data): Likewise.
4331         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4332         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4333         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4334         Likewise.
4335         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4336         Likewise.
4337         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4338         (elf_greg_t): Likewise.
4339         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4340         (__jmp_buf): Likewise.
4341         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4342         definitions.
4343         (llrint): Likewise, for all definitions.
4344         (llrintl): Likewise.
4345
4346         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4347         Remove [__GNUC__] condition.
4348         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4349         condition to just [__USE_ISOC99].
4350         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4351
4352 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4353
4354         [BZ #14200]
4355         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4356         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4357         defined.
4358         (_POSIX_V6_ILP32_OFF32): Likewise.
4359         (_XBS5_ILP32_OFF32): Likewise.
4360         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4361         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4362
4363 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4364
4365         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4366
4367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4368         doubles __mpexp_twomm1.  Adjust usage.
4369         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4370         Remove.
4371
4372 2013-01-10  Andreas Schwab  <schwab@suse.de>
4373
4374         [BZ #14964]
4375         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4376         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4377
4378 2013-01-09  David S. Miller  <davem@davemloft.net>
4379
4380         [BZ #15003]
4381         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4382         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4383         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4384         TCP_FASTOPEN): Define.
4385         (tcp_repair_opt): New structure.
4386         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4387         enum values.
4388         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4389         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4390         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4391         (tcp_cookie_transactions): New structure.
4392
4393 2013-01-09  Anton Blanchard  <anton@samba.org>
4394
4395         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4396         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4398         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4399
4400 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4401
4402         * include/features.h (__USE_ANSI): Remove.
4403
4404 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4405
4406         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4407
4408         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4409
4410 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4411
4412         * sysdeps/s390/fpu/libm-test-ulps: Update.
4413
4414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4415
4416         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4417         (__acr): Likewise.
4418         (__cpy): Likewise.
4419         (norm): Likewise.
4420         (denorm): Likewise.
4421         (__mp_dbl): Likewise.
4422         (__dbl_mp): Likewise.
4423         (add_magnitudes): Likewise.
4424         (sub_magnitudes): Likewise.
4425         (__add): Likewise.
4426         (__sub): Likewise.
4427         (__mul): Likewise.
4428         (__inv): Likewise.
4429         (__dvd): Likewise.
4430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4431         (__acr): Likewise.
4432         (__cpy): Likewise.
4433         (norm): Likewise.
4434         (denorm): Likewise.
4435         (__mp_dbl): Likewise.
4436         (__dbl_mp): Likewise.
4437         (add_magnitudes): Likewise.
4438         (sub_magnitudes): Likewise.
4439         (__add): Likewise.
4440         (__sub): Likewise.
4441         (__mul): Likewise.
4442         (__inv): Likewise.
4443         (__dvd): Likewise.
4444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4445         (__acr): Likewise.
4446         (__cpy): Likewise.
4447         (norm): Likewise.
4448         (denorm): Likewise.
4449         (__mp_dbl): Likewise.
4450         (__dbl_mp): Likewise.
4451         (add_magnitudes): Likewise.
4452         (sub_magnitudes): Likewise.
4453         (__add): Likewise.
4454         (__sub): Likewise.
4455         (__mul): Likewise.
4456         (__inv): Likewise.
4457         (__dvd): Likewise.
4458
4459 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4460
4461         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4462         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4463         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4464         2 && __USE_EXTERN_INLINES]: Likewise.
4465
4466 2013-01-08  Andreas Jaeger  <aj@suse.de>
4467
4468         [BZ# 14985]
4469         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4470         Remove.
4471         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4472         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4473
4474 2013-01-07  Anton Blanchard  <anton@samba.org>
4475
4476         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4477         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4478         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4479         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4480         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4481         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4482         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4483         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4485         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4486         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4487         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4488         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4489         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4490         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4491         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4492         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4493         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4494         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4496         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4497         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4498         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4499         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4500         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4501         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4502         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4503         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4505         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4506         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4508         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4509         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4510         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4511         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4512         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4513         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4514         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4516         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4517         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4518         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4519
4520 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4521
4522         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4523         (__MALLOC_PMT): Likewise.
4524         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4525         [__GNUC__], only on [_LIBC].
4526         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4527         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4528         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4529         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4530         forward declaration.
4531         (realloc_hook_ini): Likewise.
4532         (memalign_hook_ini): Likewise.
4533         (__libc_memalign): Do not use __MALLOC_PMT in variable
4534         declaration.
4535         (__libc_valloc): Likewise.
4536         (__libc_pvalloc): Likewise.
4537         (__libc_calloc): Likewise.
4538         (__posix_memalign): Likewise.
4539
4540         [BZ #14996]
4541         * math/s_casinh.c: Include <float.h>.
4542         (__casinh): Do not do computation with squaring and square root
4543         for large arguments.
4544         * math/s_casinhf.c: Include <float.h>.
4545         (__casinhf): Do not do computation with squaring and square root
4546         for large arguments.
4547         * math/s_casinhl.c: Include <float.h>.
4548         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4549         (__casinhl): Do not do computation with squaring and square root
4550         for large arguments.
4551         * math/libm-test.inc (casin_test): Add more tests.
4552         (casinh_test): Likewise.
4553         * sysdeps/i386/fpu/libm-test-ulps: Update.
4554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555
4556 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4557
4558         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4559         (__x86_64_raw_data_cache_size): Likewise.
4560         (__x86_64_data_cache_size_half): Likewise.
4561         (__x86_64_raw_data_cache_size_half): Likewise.
4562         (__x86_64_shared_cache_size): Likewise.
4563         (__x86_64_raw_shared_cache_size): Likewise.
4564         (__x86_64_shared_cache_size_half): Likewise.
4565         (__x86_64_raw_shared_cache_size_half): Likewise.
4566         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4567         to ...
4568         (__x86_data_cache_size): This.
4569         (__x86_64_raw_data_cache_size): Renamed to ...
4570         (__x86_raw_data_cache_size): This.
4571         (__x86_64_data_cache_size_half): Renamed to ...
4572         (__x86_data_cache_size_half): This.
4573         (__x86_64_raw_data_cache_size_half): Renamed to ...
4574         (__x86_raw_data_cache_size_half): This.
4575         (__x86_64_shared_cache_size): Renamed to ...
4576         (__x86_shared_cache_size): This.
4577         (__x86_64_raw_shared_cache_size): Renamed to ...
4578         (__x86_raw_shared_cache_size): This.
4579         (__x86_64_shared_cache_size_half): Renamed to ...
4580         (__x86_shared_cache_size_half): This.
4581         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4582         (__x86_raw_shared_cache_size_half): This.
4583         * sysdeps/x86_64/memcpy.S: Updated.
4584         * sysdeps/x86_64/memset.S: Likewise.
4585         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4586         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4587         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4588
4589 2013-01-04  David S. Miller  <davem@davemloft.net>
4590
4591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4592
4593 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4594
4595         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4596         1 to avoid redefinition warning.
4597         (__USE_GNU): Don't define.
4598         (init_signaling_nan): Protoize.
4599
4600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4601
4602 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4603
4604         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4606         (__cpymn): Likewise.
4607         (norm): Remove commented code.
4608         (denorm): Likewise.
4609         (__mp_dbl): Likewise.
4610         (__inv): Likewise.
4611         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4612         (__cpymn): Likewise.
4613         (norm): Remove commented code.
4614         (denorm): Likewise.
4615         (__mp_dbl): Likewise.
4616         (__inv): Likewise.
4617
4618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4619         mp_no value for 1.0 and 2.0.
4620         (norm): Use RADIXI instead of radixi.d.
4621         (denorm): Likewise.
4622         (__mul): Use 0.0 instead of zero.d.
4623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4624         mp_no value for 1.0 and 2.0.
4625         (norm): Use RADIXI instead of radixi.d.
4626         (denorm): Likewise.
4627         (__mul): Use 0.0 instead of zero.d.
4628
4629 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4630
4631         [BZ #14994]
4632         * math/s_casinh.c (__casinh): Reduce finite argument to first
4633         quadrant then set signs of results at the end.
4634         * math/s_casinhf.c (__casinhf): Likewise.
4635         * math/s_casinhl.c (__casinhl): Likewise.
4636         * math/libm-test.inc (casin_test): Add more tests.
4637         (casinh_test): Likewise.
4638         * sysdeps/i386/fpu/libm-test-ulps: Update.
4639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4640
4641 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4642
4643         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4644
4645         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4646
4647         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4648         declarations.
4649         (denorm): Likewise.
4650         (__mp_dbl): Likewise.
4651         (__inv): Likewise.
4652
4653         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4654         and adjust the header comment.
4655
4656         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4657         variable name from declaration.
4658
4659 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4660
4661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4662         Initialize COMMON_CPUID_INDEX_7 element.
4663         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4664         (CPUID_RTM): Likewise.
4665         (HAS_RTM): Likewise.
4666         (COMMON_CPUID_INDEX_7): New enum.
4667
4668 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4669
4670         [BZ #14981]
4671         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4672         size is zero, record memory as freed.
4673
4674 2013-01-03  Andreas Jaeger  <aj@suse.de>
4675
4676         * po/ia.po: Add new Interlingua translation.
4677
4678 2012-01-03  Allan McRae  <allan@archlinux.org>
4679
4680         * locale/programs/localedef.c: Fix description of '--posix' flag.
4681
4682 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4683
4684         * NEWS: Update dates in second copyright notice.
4685         * README: Update copyright dates in example.
4686         * manual/libc.texinfo: Update copyright dates.
4687         * scripts/test-installation.pl: Update copyright date in --version
4688         output.
4689
4690         * hurd/ctty-input.c: Fix copyright notice formatting.
4691         * hurd/ctty-output.c: Likewise.
4692         * hurd/dtable.c: Likewise.
4693         * hurd/hurd-raise.c: Likewise.
4694         * hurd/hurdprio.c: Likewise.
4695         * hurd/msgportdemux.c: Likewise.
4696         * misc/sys/file.h: Likewise.
4697         * misc/sys/ioctl.h: Likewise.
4698         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4699         * sysdeps/mach/hurd/chdir.c: Likewise.
4700         * sysdeps/mach/hurd/fchdir.c: Likewise.
4701         * sysdeps/mach/hurd/rename.c: Likewise.
4702         * sysdeps/mach/hurd/rmdir.c: Likewise.
4703         * sysdeps/mach/hurd/seekdir.c: Likewise.
4704         * sysdeps/mach/hurd/setsid.c: Likewise.
4705         * sysdeps/posix/wait3.c: Likewise.
4706
4707         * All files with FSF copyright notices: Update copyright dates
4708         using scripts/update-copyrights.
4709         * intl/plural.c: Regenerated.
4710         * locale/programs/charmap-kw.h: Likewise.
4711         * locale/programs/locfile-kw.h: Likewise.
4712
4713 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4714
4715         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4716         four values.
4717
4718         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4719         calculation loop and add branch prediction.
4720
4721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4722         check access beyond bounds of m1np.
4723
4724         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4725         MPTWO.
4726         (__inv): Remove local variable MPTWO to use the global
4727         constant.
4728         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4730         variable MPTWO.
4731         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4732         MP3HALFS static const.
4733
4734 2013-01-01  David S. Miller  <davem@davemloft.net>
4735
4736         * po/ca.po: Update from translation team.
4737
4738 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4739
4740         * scripts/update-copyrights: New file.
4741         * Makeconfig: Reformat copyright notice.
4742         * ctype/ctype.h: Likewise.
4743         * debug/swprintf_chk.c: Likewise.
4744         * elf/dl-cache.c: Likewise.
4745         * elf/dl-debug.c: Likewise.
4746         * elf/dl-object.c: Likewise.
4747         * grp/initgroups.c: Likewise.
4748         * hurd/Makefile: Likewise.
4749         * hurd/hurd/signal.h: Likewise.
4750         * hurd/hurdfault.c: Likewise.
4751         * hurd/hurdioctl.c: Likewise.
4752         * hurd/hurdlookup.c: Likewise.
4753         * hurd/intr-msg.c: Likewise.
4754         * iconv/gconv_open.c: Likewise.
4755         * libio/swprintf.c: Likewise.
4756         * locale/lc-ctype.c: Likewise.
4757         * locale/nl_langinfo.c: Likewise.
4758         * mach/Machrules: Likewise.
4759         * mach/Makefile: Likewise.
4760         * malloc/obstack.h: Likewise.
4761         * manual/Makefile: Likewise.
4762         * manual/tsort.awk: Likewise.
4763         * misc/bits/stab.def: Likewise.
4764         * nis/nis_print_group_entry.c: Likewise.
4765         * nis/nis_table.c: Likewise.
4766         * nis/nss_compat/compat-pwd.c: Likewise.
4767         * nis/nss_compat/compat-spwd.c: Likewise.
4768         * po/Makefile: Likewise.
4769         * posix/fnmatch.c: Likewise.
4770         * posix/regex.h: Likewise.
4771         * resolv/Makefile: Likewise.
4772         * resolv/nss_dns/dns-network.c: Likewise.
4773         * resolv/res_hconf.c: Likewise.
4774         * scripts/gen-sorted.awk: Likewise.
4775         * soft-fp/soft-fp.h: Likewise.
4776         * stdio-common/printf.h: Likewise.
4777         * stdlib/monetary.h: Likewise.
4778         * stdlib/random.c: Likewise.
4779         * stdlib/random_r.c: Likewise.
4780         * sysdeps/generic/Makefile: Likewise.
4781         * sysdeps/gnu/Makefile: Likewise.
4782         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4784         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4786         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4787         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4789         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4792         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4793         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4794         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4795         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4796         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4797         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4798         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4801         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4802         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4803         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4804         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4810         * sysdeps/mach/hurd/errnos.awk: Likewise.
4811         * sysdeps/mach/hurd/fork.c: Likewise.
4812         * sysdeps/mach/hurd/getcwd.c: Likewise.
4813         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4814         * sysdeps/mach/hurd/mmap.c: Likewise.
4815         * sysdeps/mach/hurd/utimes.c: Likewise.
4816         * sysdeps/mach/hurd/xmknod.c: Likewise.
4817         * sysdeps/posix/profil.c: Likewise.
4818         * sysdeps/posix/readdir_r.c: Likewise.
4819         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4820         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4821         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4822         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4824         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4825         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4826         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4828         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4829         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4830         * sysdeps/pthread/lio_listio.c: Likewise.
4831         * sysdeps/sparc/dl-procinfo.h: Likewise.
4832         * sysdeps/unix/i386/sysdep.S: Likewise.
4833         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4834         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4835         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4836         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4838         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4839         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4840         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4841         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4842         * sysdeps/wordsize-32/divdi3.c: Likewise.
4843         * time/sys/time.h: Likewise.
4844         * wcsmbs/Makefile: Likewise.
4845
4846 2013-01-01  David S. Miller  <davem@davemloft.net>
4847
4848         * po/fr.po: Update from translation team.
4849
4850         * catgets/gencat.c: Update copyright year.
4851         * csu/version.c: Likewise.
4852         * debug/catchsegv.sh: Likewise.
4853         * debug/pcprofiledump.c: Likewise.
4854         * debug/xtrace.sh: Likewise.
4855         * elf/ldconfig.c: Likewise.
4856         * elf/ldd.bash.in: Likewise.
4857         * elf/pldd.c: Likewise.
4858         * elf/sotruss.ksh: Likewise.
4859         * elf/sprof.c: Likewise.
4860         * iconv/iconv_prog.c: Likewise.
4861         * iconv/iconvconfig.c: Likewise.
4862         * locale/programs/locale.c: Likewise.
4863         * locale/programs/localedef.c: Likewise.
4864         * login/programs/pt_chown.c: Likewise.
4865         * malloc/memusage.sh: Likewise.
4866         * malloc/memusagestat.c: Likewise.
4867         * malloc/mtrace.pl: Likewise.
4868         * nscd/nscd.c: Likewise.
4869         * nss/getent.c: Likewise.
4870         * nss/makedb.c: Likewise.
4871         * posix/getconf.c: Likewise.
4872
4873 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4874
4875         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4876         numbers.
4877
4878 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4879
4880         * math/bits/mathcalls.h (modf): Use __nonnull.
4881
4882 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4883
4884         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4885         (split): Use macro CN instead of the bare value.
4886         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4887         could be used.
4888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4889         instead of the bare value.
4890         (power1): Likewise.
4891
4892 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4893
4894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4895         __ATAN_TWOM.
4896         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4897
4898         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4899         their values.
4900         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4901         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4902         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4903         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4904
4905 2012-12-28  Andreas Jaeger  <aj@suse.de>
4906
4907         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4908         values are from Linux 3.7.
4909
4910         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4911         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4912
4913 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4914
4915         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4916         TRUE case.
4917
4918         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4919         (norm): Likewise.
4920         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4921         variables with preprocessor constants.
4922         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4923         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4924         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4925
4926 2012-12-27  Bruno Haible  <bruno@clisp.org>
4927
4928         [BZ #14317]
4929         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4930         only if needed.
4931
4932 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4933
4934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4935         and use variable directly.
4936         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4937
4938         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4939         MPONE.
4940         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4942         variable MPONE.
4943         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4945         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4946         include directive.  Remove local variable MPONE.
4947         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4948         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4949         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4950
4951 2012-12-25  David S. Miller  <davem@davemloft.net>
4952
4953         * version.h (RELEASE): Set to "development".
4954         (VERSION): Set to "2.17.90".
4955         * NEWS: Add 2.18 section.
4956
4957 2012-12-21  David S. Miller  <davem@davemloft.net>
4958
4959         * po/hr.po: Update from translation team.
4960
4961 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4962
4963         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4964
4965 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4966
4967         * NEWS:  Mention new memcpy for MIPS.
4968
4969 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4970
4971         * manual/contrib.texi (Contributors): Spelling correction.
4972
4973 2012-12-15  David S. Miller  <davem@davemloft.net>
4974
4975         * po/ru.po: Update from translation team.
4976
4977 2012-12-13  David S. Miller  <davem@davemloft.net>
4978
4979         * NEWS: Mention IFUNC testsuite enhancements.
4980
4981         * po/pl.po: Update from translation team.
4982         * po/bg.po: Likewise.
4983
4984         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4985         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4986
4987 2012-12-11  David S. Miller  <davem@davemloft.net>
4988
4989         * po/sv.po: Update from translation team.
4990
4991         * po/vi.po: Update from translation team.
4992
4993         * po/cs.po: Update from translation team.
4994
4995         * po/de.po: Update from translation team.
4996         * po/eo.po: Likewise.
4997         * po/nl.po: Likewise.
4998
4999 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5000
5001         [BZ #14246]
5002         * manual/argp.texi (Argp Helper Functions): Move node to follow
5003         Argp Parsing State.
5004
5005         [BZ #14872]
5006         * manual/conf.texi (Limits on File System Capacity): Mention if
5007         terminating null is included in the max size.
5008
5009 2012-12-10  Andreas Jaeger  <aj@suse.de>
5010
5011         * po/cs.po: Update from translation team.
5012
5013 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5014
5015         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5016         void pointer and cast to uintptr_t.
5017         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5018         path.
5019         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5020         * sysdeps/s390/s390-64/memset.S: Likewise.
5021
5022 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
5023
5024         [BZ #14833]
5025         * menual/message.texi (Message Translation): Fix typos.
5026         (Helper programs for gettext): Likewise.
5027
5028 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
5029
5030         [BZ #14898]
5031         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5032         Change to -1.
5033
5034 2012-12-07  David S. Miller  <davem@davemloft.net>
5035
5036         * po/libc.pot: Update.
5037
5038 2012-12-07  Richard Henderson  <rth@redhat.com>
5039
5040         [BZ #10114]
5041         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5042         normal/normal case to before the switch.
5043         (_FP_DIV): Likewise.
5044
5045 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
5046             Mike Frysinger  <vapier@gentoo.org>
5047
5048         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5049         check for __NR_fadvise64_64.
5050
5051 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
5052
5053         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5054         0, not just to plain "0" as a statement.
5055         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5056         with cw.
5057
5058 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
5059
5060         * NEWS: Use sourceware.org in Bugzilla URL.
5061
5062 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5063
5064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5065         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5066
5067         * stdio-common/tst-put-error.c (do_test): Add newline to the
5068         padded test to ensure flush.
5069
5070 2012-12-05  Jeff Law  <law@redhat.com>
5071
5072         * sunrpc/etc.rpc (fedfs_admin): Add entry.
5073
5074 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
5075
5076         * README: Don't refer to ports add-on as distributed separately.
5077         Mention AArch64 in list of systems supported in the ports add-on.
5078
5079         * LICENSES: Add more non-FSF copyright and license notices.
5080
5081         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5082         ((unused)).
5083
5084         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5085
5086         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5087         10000 as width of padded output.
5088
5089 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5090
5091         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5092
5093         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5094         variable LX with __attribute__ ((unused)).
5095         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5096         Likewise.
5097         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5099         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5100         with __attribute__ ((unused)).
5101
5102 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
5103
5104         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5105
5106 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
5107
5108         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5109         (CFLAGS-nldbl-acos.c): New variable.
5110         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5111         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5112         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5113         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5114         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5115         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5116         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5117         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5118         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5119         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5120         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5121         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5122         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5123         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5124         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5125         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5126         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5127         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5128         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5129         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5130         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5131         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5132         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5133         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5134         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5135         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5136         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5137         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5138         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5139         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5140         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5141         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5142         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5143         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5144         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5145         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5146         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5147         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5148         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5149         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5150         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5151         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5152         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5153         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5154         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5155         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5156         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5157         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5158         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5159         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5160         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5161         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5162         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5163         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5164         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5165         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5166         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5167         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5168         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5169         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5170         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5171         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5172         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5173         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5174         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5175         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5176         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5177         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5178         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5179         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5180         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5181         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5182         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5183         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5184         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5185         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5186         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5187         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5188         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5189         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5190         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5191         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5192         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5193         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5194         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5195         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5196         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5197         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5198         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5199         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5200         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5201         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5202         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5203         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5204         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5205         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5206         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5207
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5209         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5210
5211         [BZ #14914]
5212         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5213         whole low double instead of just low 47 bits when splitting values
5214         into two parts.
5215
5216 2012-12-03  Allan McRae  <allan@archlinux.org>
5217
5218         * manual/stdio.texi (Predefined Printf Handlers): Remove
5219         @hsep and @vsep usage.
5220
5221 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
5222
5223         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5224         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5225
5226 2012-12-03  Jeff Law  <law@redhat.com>
5227
5228         * time/sys/time.h (settimeofday): Do not mark TV argument
5229         as __nonnull.
5230
5231 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
5232
5233         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5234         when currently writing and seek to current position when not.
5235         * libio/Makefile (tests): Remove bug-fclose1.
5236         * libio/bug-fclose1.c: Delete.
5237
5238 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
5239
5240         * manual/arith.texi (feenableexcept): Fix typo.
5241         (fedisableexcept): Likewise.
5242
5243 2012-11-30  Roland McGrath  <roland@hack.frob.com>
5244
5245         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5246         second, differently-typed declaration, rather than a cast.
5247
5248 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5249
5250         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5251         * include/rpc/svc.h: ... here.
5252
5253 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
5254
5255         [BZ #13013]
5256         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5257         depending n and resplen2 to catch cases where answer
5258         equals answerp2.
5259
5260 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
5261
5262         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5263         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5264
5265 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
5266
5267         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5268
5269 2012-11-29  Roland McGrath  <roland@hack.frob.com>
5270
5271         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5272
5273 2012-11-28  Jeff Law  <law@redhat.com>
5274
5275         [BZ #13761]
5276         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5277         dataset_temporary.  Track alloca usage into alloca_used.
5278         If dataset is large allocate and release it via malloc/free.
5279
5280 2012-06-04  Florian Weimer  <fweimer@redhat.com>
5281
5282         [BZ #14197]
5283         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5284
5285 2012-11-28  David S. Miller  <davem@davemloft.net>
5286
5287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5288
5289 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5290
5291         [BZ #14803]
5292         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5293         of pi/2 rounded to nearest to 64 bits.
5294         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5295         nearest to 64 bits.
5296         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5297         bits.
5298
5299 2012-11-28  Jeff Law <law@redhat.com>
5300             Martin Osvald <mosvald@redhat.com>
5301
5302         [BZ #14889]
5303         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5304         * sunrpc/svc.c: Include time.h.
5305         (__svc_accept_failed): New function.
5306         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5307         any reason other than EINTR, call __svc_accept_failed.
5308         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5309         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5310
5311 2012-11-28  Andreas Schwab  <schwab@suse.de>
5312
5313         * scripts/abilist.awk: Also handle indirect functions in .opd
5314         section.
5315
5316 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
5317
5318         [BZ #13881]
5319         * sysdeps/x86/fpu/powl_helper.c: New file.
5320         * sysdeps/x86/fpu/Makefile: Likewise.
5321         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5322         (p3): New object.
5323         (__ieee754_powl): Use __powl_helper for finite arguments except
5324         integer exponents below 8.
5325         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5326         (p3): New object.
5327         (__ieee754_powl): Use __powl_helper for finite arguments except
5328         integer exponents below 8.
5329         * math/libm-test.inc (pow_test): Add more tests and enable some
5330         previously disabled tests.
5331         * sysdeps/i386/fpu/libm-test-ulps: Update.
5332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5333
5334 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5335             Carlos O'Donell  <carlos_odonell@mentor.com>
5336
5337         * nss/makedb.c (is_prime): Assert that input is odd and greater
5338         than 4.  Note that fact in a comment too.
5339         (next_prime): Add 4 to input.
5340
5341 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5342
5343         [BZ #11741]
5344         * libio/Makefile (tests): Add test case tst-fwrite-error.
5345         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5346         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5347         * libio/tst-fwrite-error.c: New test case.
5348
5349 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5350
5351         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5352         before casting to void *.
5353         * include/libc-internal.h (__pointer_type): New macro.
5354         (__integer_if_pointer_type_sub): Likewise.
5355         (__integer_if_pointer_type): Likewise.
5356         (cast_to_integer): Likewise.
5357         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5358         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5359         before casting to atomic64_t.
5360         (atomic_exchange_acq): Likewise.
5361         (__arch_exchange_and_add_body): Likewise.
5362         (__arch_add_body): Likewise.
5363         (atomic_add_negative): Likewise.
5364         (atomic_add_zero): Likewise.
5365
5366 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5367
5368         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5369         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5370         (add_fdes): Likewise.
5371         (linear_search_fdes): Likewise.
5372         (binary_search_unencoded_fdes): Likewise.
5373
5374 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5375
5376         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5377
5378 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5379
5380         * configure.in: Autodetect C++ header directories.
5381         * configure: Regenerated.
5382
5383 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5384
5385         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5386
5387 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5388
5389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5390
5391 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5392
5393         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5394         LDBL_MANT_DIG == 106]: Disable some tests.
5395         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5396         Likewise.
5397         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5398         Likewise.
5399
5400         [BZ #14871]
5401         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5402         input for small inputs.  Return +/- pi/2 for large inputs.
5403         * math/libm-test.inc (atan_test): Add more tests.
5404
5405         * sysdeps/generic/unwind-dw2-fde-glibc.c
5406         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5407         __attribute__ ((unused)).
5408
5409         [BZ #14645]
5410         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5411         x * y if x and y are nonzero and z is zero.
5412
5413         [BZ #14811]
5414         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5415         nonzero exponents with absolute value below 0x1p-117 to +/-
5416         0x1p-117.
5417
5418         [BZ #14869]
5419         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5420         up arguments below 2**-450, not just those below 2**-500.
5421         * math/libm-test.inc (hypot_test): Add another test.
5422
5423         [BZ #14868]
5424         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5425         Return a+b for ratio over 2**120, not 2**60.
5426         * math/libm-test.inc (hypot_test): Add another test.
5427
5428         * math/libm-test.inc (clog_test): Use
5429         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5430         (clog10_test): Likewise.
5431
5432         [BZ #6778]
5433         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5434
5435 2012-11-22  Andreas Schwab  <schwab@suse.de>
5436
5437         * sysdeps/i386/fpu/libm-test-ulps: Update.
5438
5439 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5440
5441         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5442         printf output with newline.
5443
5444 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5445
5446         [BZ #14865]
5447         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5448         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5449         -z nodlopen, -z initfirst and -z execstack support.
5450         * configure: Regenerated.
5451
5452         * elf/elf.h (DF_1_NODIRECT): New macro.
5453         (DF_1_IGNMULDEF): Likewise.
5454         (DF_1_NOKSYMS): Likewise.
5455         (DF_1_NOHDR): Likewise.
5456         (DF_1_EDITED): Likewise.
5457         (DF_1_NORELOC): Likewise.
5458         (DF_1_SYMINTPOSE): Likewise.
5459         (DF_1_GLOBAUDIT): Likewise.
5460         (DF_1_SINGLETON): Likewise.
5461         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5462         DT_1_SUPPORTED_MASK bits.
5463         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5464
5465 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5466
5467         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5468
5469 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5470
5471         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5472         macro.
5473
5474         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5475         (sendmmsg): Move declarations...
5476         * socket/sys/socket.h: ... here.
5477         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5478         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5479         include it from...
5480         * socket/recvmmsg.c: ... this new file.
5481         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5482         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5483         definition of __sendmmsg hidden.
5484         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5485         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5486         Move ENOSYS stub into and include it from...
5487         * socket/sendmmsg.c: ... this new file.
5488         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5489         (sysdep_routines): Move recvmmsg and sendmmsg...
5490         * socket/Makefile (routines): ... here.
5491         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5492         (GLIBC_PRIVATE): Add __sendmmsg.
5493         * include/sys/socket.h (__sendmmsg): Add declarations.
5494         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5495         sendmmsg.
5496
5497 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5498
5499         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5500         variable I1 with __attribute__ ((unused)).
5501         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5502
5503 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5504
5505         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5506         DUMMY variables with __attribute__ ((unused)).
5507
5508         * bits/byteswap.h: Include <bits/types.h>.
5509         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5510
5511 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5512
5513         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5514         string_t.  Do not manually set errno.
5515         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5516         length with __strnlen.  Make sure to both set errno and return it on
5517         failure.
5518
5519 2012-11-19  David S. Miller  <davem@davemloft.net>
5520
5521         With help from Joseph Myers.
5522         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5523         very large arguments properly.
5524         * math/libm-test.inc (atan_test): New tests.
5525         (atan2_test): New tests.
5526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5528
5529 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5530
5531         [BZ #14856]
5532         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5533         Define to 3.
5534
5535         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5536         [POSIX] (EADDRNOTAVAIL): Likewise.
5537         [POSIX] (EAFNOSUPPORT): Likewise.
5538         [POSIX] (EALREADY): Likewise.
5539         [POSIX] (ECONNABORTED): Likewise.
5540         [POSIX] (ECONNREFUSED): Likewise.
5541         [POSIX] (ECONNRESET): Likewise.
5542         [POSIX] (EDESTADDRREQ): Likewise.
5543         [POSIX] (EDQUOT): Likewise.
5544         [POSIX] (EHOSTUNREACH): Likewise.
5545         [POSIX] (EIDRM): Likewise.
5546         [POSIX] (EISCONN): Likewise.
5547         [POSIX] (ELOOP): Likewise.
5548         [POSIX] (EMULTIHOP): Likewise.
5549         [POSIX] (ENETDOWN): Likewise.
5550         [POSIX] (ENETUNREACH): Likewise.
5551         [POSIX] (ENOBUFS): Likewise.
5552         [POSIX] (ENODATA): Likewise.
5553         [POSIX] (ENOLINK): Likewise.
5554         [POSIX] (ENOMSG): Likewise.
5555         [POSIX] (ENOPROTOOPT): Likewise.
5556         [POSIX] (ENOSR): Likewise.
5557         [POSIX] (ENOSTR): Likewise.
5558         [POSIX] (ENOTCONN): Likewise.
5559         [POSIX] (ENOTSOCK): Likewise.
5560         [POSIX] (EOPNOTSUPP): Likewise.
5561         [POSIX] (EOVERFLOW): Likewise.
5562         [POSIX] (EPROTO): Likewise.
5563         [POSIX] (EPROTONOSUPPORT): Likewise.
5564         [POSIX] (EPROTOTYPE): Likewise.
5565         [POSIX] (ESTALE): Likewise.
5566         [POSIX] (ETIME): Likewise.
5567         [POSIX] (ETXTBSY): Likewise.
5568         [POSIX] (EWOULDBLOCK): Likewise.
5569         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5570         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5571         [POSIX] (SEEK_CUR): Likewise.
5572         [POSIX] (SEEK_END): Likewise.
5573         [POSIX || UNIX98] (mode_t): Do not require.
5574         [POSIX] (off_t): Likewise.
5575         [POSIX] (pid_t): Likewise.
5576         [POSIX] (sys/stat.h): Do not allow header.
5577         [POSIX] (unistd.h): Likewise.
5578         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5579         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5580         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5581         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5582         require.
5583         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5584         sigevent): Specify elements.
5585         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5586         entry.
5587         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5588         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5589
5590         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5591         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5592         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5593         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5594         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5595         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5596         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5597         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5598         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5599         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5600         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5601         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5602         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5603         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5604         Likewise.
5605         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5606         Likewise.
5607         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5608         Likewise.
5609         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5610         Likewise.
5611         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5612         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5613         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5614         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5615         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5616         Specify lower bound on value.
5617         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5618         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5619         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5620         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5621         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5622         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5623         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5624         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5625         value.
5626         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5627         as optional.
5628         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5629         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5630         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5631         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5632         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5633         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5634         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5635         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5636         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5637         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5638         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5639         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5640         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5641         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5642         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5643         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5644         entry.
5645         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5646         optional.
5647         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5648         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5649         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5650         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5651         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5652         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5653         Likewise.
5654         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5655         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5656         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5657         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5658         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5659         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5661         as optional.
5662         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5663         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5664         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5665         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5666         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5667         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5668         specify as optional.
5669         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5670         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5671         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5672         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5673         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5674         [XPG3] (NL_LANGMAX): Likewise.
5675         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5676         [POSIX || XPG3] (NL_NMAX): Likewise.
5677         [POSIX || XPG3] (NL_SETMAX): Likewise.
5678         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5679         [XPG3] (NZERO): Likewise.
5680         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5681         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5682         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5683         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5684         (REG_ERANGE): Expect.
5685         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5686         optional-constant.
5687         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5688         Use (void) in prototype.
5689         [POSIX] (*_t): Allow.
5690         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5691         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5692         (WRDE_BADVAL): Expect.
5693
5694         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5695         expect.
5696         [XPG3 || XPG4] (O_RSYNC): Likewise.
5697         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5698         Likewise.
5699         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5700         [XPG3 || XPG4] (sigqueue): Likewise.
5701         [XPG3 || XPG4] (sigtimedwait): Likewise.
5702         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5703         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5704         [XPG3 || XPG4] (vsnprintf): Likewise.
5705         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5706         Likewise.
5707         [XPG3 || XPG4] (blksize_t): Likewise.
5708         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5709         Likewise.
5710         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5711         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5712         [XPG3 || XPG4] (struct itimerspec): Likewise.
5713         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5714         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5715         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5716         [XPG3 || XPG4] (clockid_t): Likewise.
5717         [XPG3 || XPG4] (timer_t): Likewise.
5718         [XPG3 || XPG4] (clock_getres): Likewise.
5719         [XPG3 || XPG4] (clock_gettime): Likewise.
5720         [XPG3 || XPG4] (clock_settime): Likewise.
5721         [XPG3 || XPG4] (nanosleep): Likewise.
5722         [XPG3 || XPG4] (timer_create): Likewise.
5723         [XPG3 || XPG4] (timer_delete): Likewise.
5724         [XPG3 || XPG4] (timer_gettime): Likewise.
5725         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5726         [XPG3 || XPG4] (timer_settime): Likewise.
5727         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5728         [XPG3 || XPG4] (getlogin_r): Likewise.
5729         [XPG3 || XPG4] (pread): Likewise.
5730         [XPG3 || XPG4] (pthread_atfork): Likewise.
5731         [XPG3 || XPG4] (pwrite): Likewise.
5732
5733         [BZ #14835]
5734         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5735         <bits/siginfo.h>.
5736
5737 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5738
5739         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5740         finalizing MALLSTREAM.
5741
5742         * sysdeps/mach/hurd/syncfs.c: New file.
5743
5744 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5745
5746         [BZ #14719]
5747         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5748         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5750         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5751         (_nss_dns_gethostbyname4_r): Likewise.
5752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5753         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5754
5755 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5756
5757         [BZ #13763]
5758         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5759
5760 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5761
5762         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5763         * elf/cache.c (print_entry): Print ",AArch64" for
5764         FLAG_AARCH64_LIB64
5765
5766         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5767         * elf/cache.c (print_entry): Print ",hard-float" for
5768         FLAG_ARM_LIBHF.
5769
5770 2012-11-18  David S. Miller  <davem@davemloft.net>
5771
5772         With help from Joseph Myers.
5773         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5774         cutoff to 2**-13.
5775         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5776         cutoff to 2**-25.
5777         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5778         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5779         small.
5780         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5781         * math/libm-test.inc (y0_test): New tests.
5782         (y1_test): New tests.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5786
5787 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5788
5789         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5790         64-bit targets.
5791         * configure: Regenerated.
5792
5793 2012-11-17  David S. Miller  <davem@davemloft.net>
5794
5795         [BZ #14811]
5796         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5797         nonzero exponents with absolute value below 0x1p-128 to +/-
5798         0x1p-128.
5799
5800 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5801
5802         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5803
5804         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5805
5806         * posix/getconf-speclist.c: New file.
5807         * posix/posix-envs.def: Likewise.
5808         * posix/confstr.c (START_ENV_GROUP): New macro.
5809         (END_ENV_GROUP): Likewise.
5810         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5811         (KNOWN_PRESENT_ENV_STRING): Likewise.
5812         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5813         (UNKNOWN_ENVIRONMENT): Likewise.
5814         (confstr): Include posix-envs.def instead of handling
5815         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5816         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5817         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5818         (END_ENV_GROUP): Likewise.
5819         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5820         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5821         (UNKNOWN_ENVIRONMENT): Likewise.
5822         (__sysconf): Include posix-envs.def instead of handling associated
5823         cases directly here.
5824         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5825         preprocessing getconf-speclist.c rather than running getconf or
5826         generating empty file.
5827
5828 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5829
5830         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5831
5832 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5833
5834         [BZ #14672]
5835         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5836
5837 2012-11-16  David S. Miller  <davem@davemloft.net>
5838
5839         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5840         smaller than LDBL_EPSILON/2.0L, just return xm1.
5841
5842 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5843
5844         * elf/tst-array1.c (init): Set constructor priority to 1000.
5845         (fini): Set destructor priority to 1000.
5846         * elf/tst-array2dep.c: Likewise.
5847
5848 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5849
5850         [BZ #11741]
5851         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5852         (_IO_new_file_xsputn): Also return EOF if none of the input
5853         data was written when overflow failed.
5854         * libio/iopadn.c (_IO_padn): Likewise.
5855         * libio/iowpadn.c (_IO_wpadn): Likewise.
5856         * stdio-common/tst-put-error.c: Add copyright notice.
5857         (do_test): Add case for printing padded string.
5858         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5859         _IO_padn returned error.
5860         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5861         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5862         return EOF.
5863
5864 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5865
5866         * libio/libioP.h: Add comment note that the references to C++
5867         bits are now obsolete.
5868
5869 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5870
5871         * math/libm-test.inc (check_complex): Use asprintf.
5872
5873 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5874
5875         * debug/pcprofiledump.c (print_version): Update copyright year.
5876         * malloc/memusagestat.c (print_version): Likewise.
5877
5878 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5879
5880         [BZ #14831]
5881         * elf/Makefile (tests): Add tst-audit8.
5882         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5883         ($(objpfx)tst-audit8.out): New target.
5884         (tst-audit8-ENV): New variable.
5885         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5886         audit if l_reloc_result is NULL.
5887         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5888         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5889         * elf/tst-audit8.c: New file.
5890
5891 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5892
5893         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5894         * misc/Makefile (CFLAGS-select.c): Define.
5895         * posix/Makefile (CFLAGS-pause.c): Define.
5896
5897 2012-11-13  David S. Miller  <davem@davemloft.net>
5898
5899         * crypt/Makefile: Move test targets after toplevel Rules
5900         inclusion.  Grab any necessary sysdep routines when linking.
5901         * crypt/md5.c (md5_process_block): Remove define, we will always
5902         name it __md5_process_block.
5903         (md5_finish_ctx): Update md5_process_block call.
5904         (md5_stream): Likewise.
5905         (md5_process_bytes): Likewise.
5906         (md5_process_block): Rename to __md5_process_block and move to ...
5907         * crypt/md5-block.c: ... here.
5908         * crypt/sha256.c (sha256_process_block): Move to ...
5909         * crypt/sha256-block.c: ... here.
5910         * crypt/sha512.c (sha512_process_block): Move to ...
5911         * crypt/sha512-block.c: ... here.
5912         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5913         path.
5914         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5915         * sysdeps/sparc/sparc64/multiarch/Makefile
5916         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5917         crypt subdir.
5918         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5919         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5920         multiarch changes.
5921         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5922         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5923         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5924         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5925         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5926         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5927         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5928         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5930         file.
5931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5932         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5933         file.
5934         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5935
5936 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5937
5938         * timezone/tzselect.ksh: Update from tzcode git revision
5939         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5940         * timezone/zdump.c: Likewise.
5941         * timezone/zic.c: Likewise.
5942         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5943         in TZVERSION setting, not $(PKGVERSION).
5944         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5945         REPORT_BUGS_TO settings.
5946
5947         [BZ #14838]
5948         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5949         macro.
5950
5951 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5952
5953         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5954         detection to immediately after _FP_ROUND().
5955         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5956         bits are 0.
5957
5958 2012-11-11  David S. Miller  <davem@davemloft.net>
5959
5960         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5961         inttypes.h
5962         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5963         __close rather than their public counterparts.
5964
5965 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5966
5967         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5968         file.
5969         [UNIX98] (sem_timedwait): Do not expect.
5970         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5971         [XPG4 || UNIX98] (sockatmark): Do not expect.
5972         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5973         (clock_getcpuclockid): Do not expect.
5974         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5975         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5976         Do not expect.
5977         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5978         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5979         [UNIX98] (vwscanf): Likewise.
5980         [UNIX98] (vswscanf): Likewise.
5981
5982 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5983
5984         * timezone/version.h: Remove file.
5985         * timezone/README: Do not refer to version.h.
5986         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5987         $(objpfx)version.h.
5988         ($(objpfx)zdump.o): Likewise.
5989         ($(objpfx)version.h): New target.
5990
5991         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5992         2012i.
5993         * timezone/README: Don't mention modification to tzselect.ksh.
5994         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5995         work on unmodified tzselect.ksh.  Substitute version numbers in
5996         tzselect.ksh.
5997
5998         * Makefile (format-me): Remove.
5999         (INSTALL): Adjust indentation.  Use commands directly instead of
6000         using $(format-me).
6001
6002         * aclocal.m4 (ACX_PKGVERSION): New macro.
6003         (ACX_BUGURL): Likewise.
6004         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6005         (PKGVERSION): New AC_DEFINE_UNQUOTED.
6006         (REPORT_BUGS_TO): Likewise.
6007         * configure: Regenerated.
6008         * config.h.in (PKGVERSION): New macro.
6009         (REPORT_BUGS_TO): Likewise.
6010         * config.make.in (PKGVERSION): New variable.
6011         (PKGVERSION_TEXI): Likewise.
6012         (REPORT_BUGS_TO): Likewise.
6013         (REPORT_BUGS_TEXI): Likewise.
6014         * Makefile (format-me): Use -I$(common-objpfx)manual.
6015         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6016         ($(common-objpfx)manual/%): New target.
6017         (manual/%): Remove target.
6018         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6019         (print_version): Use PKGVERSION.
6020         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6021         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6022         and REPORT_BUGS_TO.
6023         ($(objpfx)xtrace): Likewise.
6024         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6025         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6026         (print_version): Use PKGVERSION.
6027         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6028         (do_version): Use PKGVERSION.
6029         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6030         REPORT_BUGS_TO.
6031         (common-ldd-rewrite): Likewise.
6032         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6033         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6034         (print_version): Use PKGVERSION.
6035         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6036         * elf/pldd.c (argp_program_bug_address): Remove variable.
6037         (more_help): New function.
6038         (argp): Use more_help.
6039         (print_version): Use PKGVERSION.
6040         * elf/sln.c (main): Use PKGVERSION.
6041         (usage): Use REPORT_BUGS_TO.
6042         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6043         (top level): Use PKGVERSION.
6044         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6045         (print_version): Use PKGVERSION.
6046         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6047         (print_version): Use PKGVERSION.
6048         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6049         (print_version): Use PKGVERSION.
6050         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6051         (print_version): Use PKGVERSION.
6052         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6053         (print_version): Use PKGVERSION.
6054         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6055         (print_version): Use PKGVERSION.
6056         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6057         and BUGURL.
6058         ($(objpfx)memusage): Likewise.
6059         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6060         (do_version): Use PKGVERSION.
6061         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6062         (print_version): Use PKGVERSION.
6063         * malloc/mtrace.pl ($PACKAGE): Remove variable.
6064         ($PKGVERSION): New variable.
6065         ($REPORT_BUGS_TO): Likewise.
6066         (usage): Use $REPORT_BUGS_TO.
6067         (top level): Use $PKGVERSION.
6068         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6069         ($(objpfx)pkgvers.texi): New rule.
6070         ($(objpfx)stamp-pkgvers): Likewise.
6071         * manual/install.texi: Include pkgvers.texi.
6072         (--with-pkgversion): Document new configure option.
6073         (--with-bugurl): Likewise.
6074         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6075         than necessarily for this particular distribution.  Use
6076         REPORT_BUGS_TO for where to report bugs.
6077         * INSTALL: Regenerated.
6078         * manual/libc.texinfo: Include pkgvers.texi.
6079         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6080         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6081         (print_version): Use PKGVERSION.
6082         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6083         (print_version): Use PKGVERSION.
6084         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6085         (print_version): Use PKGVERSION.
6086         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6087         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6088         macro.
6089         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6090         (print_version): Use PKGVERSION.
6091         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6092         (print_version): Use PKGVERSION.
6093         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6094         and PKGVERSION.
6095
6096         * timezone/checktab.awk: Update from tzcode 2012i.
6097         * timezone/ialloc.c: Likewise.
6098         * timezone/private.h: Likewise.
6099         * timezone/scheck.c: Likewise.
6100         * timezone/tzfile.h: Likewise.
6101         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6102         (TZVERSION): Hardcode tzcode version number.
6103         * timezone/zdump.c: Update from tzcode 2012i.
6104         * timezone/zic.c: Likewise.
6105         * timezone/version.h: New file.
6106         * timezone/README: Describe version.h.  Update upstream location.
6107
6108         [BZ #14824]
6109         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6110         (mktemp): Enable declaration.
6111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6112         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6114         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6115         Likewise.
6116         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6117         Likewise.
6118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6119         Likewise.
6120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6121         Likewise.
6122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6123         Likewise.
6124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6125         Likewise.
6126
6127         [BZ #14821]
6128         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6129         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
6130         for copies of such integer values.
6131         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6132         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6133
6134 2012-11-09  Andreas Jaeger  <aj@suse.de>
6135
6136         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6137         definitions and declarations that are provided by
6138         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6139
6140 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6141
6142         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6143         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6144         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6145         definition.
6146
6147 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6148
6149         * elf/elf.h: Update comment before AArch64 relocations.
6150
6151 2012-11-07  David S. Miller  <davem@davemloft.net>
6152
6153         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6154         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6155         (__start_context): Declare.
6156         (__makecontext_ret): Delete.
6157         (__makecontext): Hook up __start_context instead of
6158         __makecontext_ret.
6159         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6160         (sysdep_routines): Add __start_context when in stdlib.
6161
6162 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6163
6164         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6165         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6166         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
6167         hardcoded "nm".
6168         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
6169         (READELF): New variable.  Use it instead of hardcoded "readelf".
6170
6171 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6172
6173         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6174         * sysdeps/x86/Makefile: Here.
6175         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6176         * sysdeps/x86/tst-xmmymm.sh: This.
6177
6178 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6179
6180         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6181         expectations.
6182         [UNIX98] (pthread_barrier_t): Do not expect.
6183         [UNIX98] (pthread_barrierattr_t): Likewise.
6184         [UNIX98] (pthread_spinlock_t): Likewise.
6185         [UNIX98] (pthread_barrier_destroy): Likewise.
6186         [UNIX98] (pthread_barrier_init): Likewise.
6187         [UNIX98] (pthread_barrier_wait): Likewise.
6188         [UNIX98] (pthread_barrierattr_destroy): Likewise.
6189         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6190         [UNIX98] (pthread_barrierattr_init): Likewise.
6191         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6192         [UNIX98] (pthread_getcpuclockid): Likewise.
6193         [UNIX98] (pthread_mutex_timedlock): Likewise.
6194         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6195         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6196         [UNIX98] (pthread_sigmask): Likewise.
6197         [UNIX98] (pthread_spin_destroy): Likewise.
6198         [UNIX98] (pthread_spin_init): Likewise.
6199         [UNIX98] (pthread_spin_lock): Likewise.
6200         [UNIX98] (pthread_spin_trylock): Likewise.
6201         [UNIX98] (pthread_spin_unlock): Likewise.
6202         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6203         Do not expect.
6204         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6205         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6206         [XPG3 || XPG4] (pthread_cond_t): Likewise.
6207         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6208         [XPG3 || XPG4] (pthread_key_t): Likewise.
6209         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6210         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6211         [XPG3 || XPG4] (pthread_once_t): Likewise.
6212         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6213         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6214         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6215         [XPG3 || XPG4] (pthread_t): Likewise.
6216
6217         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6218         not expect.
6219         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6220
6221         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6222         Change function return type to int.
6223
6224         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6225         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6226         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6227         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6228         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6229         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6230         [!POSIX] (posix_madvise): Likewise.
6231         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6232         && !UNIX98].
6233         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6234         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6235         (mode_t): Likewise.
6236         (posix_mem_offset): Likewise.
6237         (posix_typed_mem_get_info): Likewise.
6238         (posix_typed_mem_open): Likewise.
6239
6240         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6241         Change condition to [XOPEN2K8].
6242
6243         * conform/conformtest.pl: Preprocess allow-header data with -x c
6244         instead of from stdin.
6245         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6246         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6247         [C99-based standards] (cerfc): Likewise.
6248         [C99-based standards] (cexp2): Likewise.
6249         [C99-based standards] (cexpm1): Likewise.
6250         [C99-based standards] (clog10): Likewise.
6251         [C99-based standards] (clog1p): Likewise.
6252         [C99-based standards] (clog2): Likewise.
6253         [C99-based standards] (clgamma): Likewise.
6254         [C99-based standards] (ctgamma): Likewise.
6255         [C99-based standards] (cerff): Likewise.
6256         [C99-based standards] (cerfcf): Likewise.
6257         [C99-based standards] (cexp2f): Likewise.
6258         [C99-based standards] (cexpm1f): Likewise.
6259         [C99-based standards] (clog10f): Likewise.
6260         [C99-based standards] (clog1pf): Likewise.
6261         [C99-based standards] (clog2f): Likewise.
6262         [C99-based standards] (clgammaf): Likewise.
6263         [C99-based standards] (ctgammaf): Likewise.
6264         [C99-based standards] (cerfl): Likewise.
6265         [C99-based standards] (cerfcl): Likewise.
6266         [C99-based standards] (cexp2l): Likewise.
6267         [C99-based standards] (cexpm1l): Likewise.
6268         [C99-based standards] (clog10l): Likewise.
6269         [C99-based standards] (clog1pl): Likewise.
6270         [C99-based standards] (clog2l): Likewise.
6271         [C99-based standards] (clgammal): Likewise.
6272         [C99-based standards] (ctgammal): Likewise.
6273         * conform/data/inttypes.h-data [C99-based standards]: Include
6274         stdint.h-data.  Remove all expectations for stdint.h contents.
6275         [C99-based standards] (PRI*): Do not allow.
6276         [C99-based standards] (SCN*): Likewise.
6277         [C99-based standards] (*_t): Likewise.
6278         [C99-based-standards] (PRId8): Expect macro.
6279         [C99-based-standards] (PRIi8): Likewise.
6280         [C99-based-standards] (PRIo8): Likewise.
6281         [C99-based-standards] (PRIu8): Likewise.
6282         [C99-based-standards] (PRIx8): Likewise.
6283         [C99-based-standards] (PRIX8): Likewise.
6284         [C99-based-standards] (SCNd8): Likewise.
6285         [C99-based-standards] (SCNi8): Likewise.
6286         [C99-based-standards] (SCNo8): Likewise.
6287         [C99-based-standards] (SCNu8): Likewise.
6288         [C99-based-standards] (SCNx8): Likewise.
6289         [C99-based-standards] (PRIdLEAST8): Likewise.
6290         [C99-based-standards] (PRIiLEAST8): Likewise.
6291         [C99-based-standards] (PRIoLEAST8): Likewise.
6292         [C99-based-standards] (PRIuLEAST8): Likewise.
6293         [C99-based-standards] (PRIxLEAST8): Likewise.
6294         [C99-based-standards] (PRIXLEAST8): Likewise.
6295         [C99-based-standards] (SCNdLEAST8): Likewise.
6296         [C99-based-standards] (SCNiLEAST8): Likewise.
6297         [C99-based-standards] (SCNoLEAST8): Likewise.
6298         [C99-based-standards] (SCNuLEAST8): Likewise.
6299         [C99-based-standards] (SCNxLEAST8): Likewise.
6300         [C99-based-standards] (PRIdFAST8): Likewise.
6301         [C99-based-standards] (PRIiFAST8): Likewise.
6302         [C99-based-standards] (PRIoFAST8): Likewise.
6303         [C99-based-standards] (PRIuFAST8): Likewise.
6304         [C99-based-standards] (PRIxFAST8): Likewise.
6305         [C99-based-standards] (PRIXFAST8): Likewise.
6306         [C99-based-standards] (SCNdFAST8): Likewise.
6307         [C99-based-standards] (SCNiFAST8): Likewise.
6308         [C99-based-standards] (SCNoFAST8): Likewise.
6309         [C99-based-standards] (SCNuFAST8): Likewise.
6310         [C99-based-standards] (SCNxFAST8): Likewise.
6311         [C99-based-standards] (PRId16): Likewise.
6312         [C99-based-standards] (PRIi16): Likewise.
6313         [C99-based-standards] (PRIo16): Likewise.
6314         [C99-based-standards] (PRIu16): Likewise.
6315         [C99-based-standards] (PRIx16): Likewise.
6316         [C99-based-standards] (PRIX16): Likewise.
6317         [C99-based-standards] (SCNd16): Likewise.
6318         [C99-based-standards] (SCNi16): Likewise.
6319         [C99-based-standards] (SCNo16): Likewise.
6320         [C99-based-standards] (SCNu16): Likewise.
6321         [C99-based-standards] (SCNx16): Likewise.
6322         [C99-based-standards] (PRIdLEAST16): Likewise.
6323         [C99-based-standards] (PRIiLEAST16): Likewise.
6324         [C99-based-standards] (PRIoLEAST16): Likewise.
6325         [C99-based-standards] (PRIuLEAST16): Likewise.
6326         [C99-based-standards] (PRIxLEAST16): Likewise.
6327         [C99-based-standards] (PRIXLEAST16): Likewise.
6328         [C99-based-standards] (SCNdLEAST16): Likewise.
6329         [C99-based-standards] (SCNiLEAST16): Likewise.
6330         [C99-based-standards] (SCNoLEAST16): Likewise.
6331         [C99-based-standards] (SCNuLEAST16): Likewise.
6332         [C99-based-standards] (SCNxLEAST16): Likewise.
6333         [C99-based-standards] (PRIdFAST16): Likewise.
6334         [C99-based-standards] (PRIiFAST16): Likewise.
6335         [C99-based-standards] (PRIoFAST16): Likewise.
6336         [C99-based-standards] (PRIuFAST16): Likewise.
6337         [C99-based-standards] (PRIxFAST16): Likewise.
6338         [C99-based-standards] (PRIXFAST16): Likewise.
6339         [C99-based-standards] (SCNdFAST16): Likewise.
6340         [C99-based-standards] (SCNiFAST16): Likewise.
6341         [C99-based-standards] (SCNoFAST16): Likewise.
6342         [C99-based-standards] (SCNuFAST16): Likewise.
6343         [C99-based-standards] (SCNxFAST16): Likewise.
6344         [C99-based-standards] (PRId32): Likewise.
6345         [C99-based-standards] (PRIi32): Likewise.
6346         [C99-based-standards] (PRIo32): Likewise.
6347         [C99-based-standards] (PRIu32): Likewise.
6348         [C99-based-standards] (PRIx32): Likewise.
6349         [C99-based-standards] (PRIX32): Likewise.
6350         [C99-based-standards] (SCNd32): Likewise.
6351         [C99-based-standards] (SCNi32): Likewise.
6352         [C99-based-standards] (SCNo32): Likewise.
6353         [C99-based-standards] (SCNu32): Likewise.
6354         [C99-based-standards] (SCNx32): Likewise.
6355         [C99-based-standards] (PRIdLEAST32): Likewise.
6356         [C99-based-standards] (PRIiLEAST32): Likewise.
6357         [C99-based-standards] (PRIoLEAST32): Likewise.
6358         [C99-based-standards] (PRIuLEAST32): Likewise.
6359         [C99-based-standards] (PRIxLEAST32): Likewise.
6360         [C99-based-standards] (PRIXLEAST32): Likewise.
6361         [C99-based-standards] (SCNdLEAST32): Likewise.
6362         [C99-based-standards] (SCNiLEAST32): Likewise.
6363         [C99-based-standards] (SCNoLEAST32): Likewise.
6364         [C99-based-standards] (SCNuLEAST32): Likewise.
6365         [C99-based-standards] (SCNxLEAST32): Likewise.
6366         [C99-based-standards] (PRIdFAST32): Likewise.
6367         [C99-based-standards] (PRIiFAST32): Likewise.
6368         [C99-based-standards] (PRIoFAST32): Likewise.
6369         [C99-based-standards] (PRIuFAST32): Likewise.
6370         [C99-based-standards] (PRIxFAST32): Likewise.
6371         [C99-based-standards] (PRIXFAST32): Likewise.
6372         [C99-based-standards] (SCNdFAST32): Likewise.
6373         [C99-based-standards] (SCNiFAST32): Likewise.
6374         [C99-based-standards] (SCNoFAST32): Likewise.
6375         [C99-based-standards] (SCNuFAST32): Likewise.
6376         [C99-based-standards] (SCNxFAST32): Likewise.
6377         [C99-based-standards] (PRId64): Likewise.
6378         [C99-based-standards] (PRIi64): Likewise.
6379         [C99-based-standards] (PRIo64): Likewise.
6380         [C99-based-standards] (PRIu64): Likewise.
6381         [C99-based-standards] (PRIx64): Likewise.
6382         [C99-based-standards] (PRIX64): Likewise.
6383         [C99-based-standards] (SCNd64): Likewise.
6384         [C99-based-standards] (SCNi64): Likewise.
6385         [C99-based-standards] (SCNo64): Likewise.
6386         [C99-based-standards] (SCNu64): Likewise.
6387         [C99-based-standards] (SCNx64): Likewise.
6388         [C99-based-standards] (PRIdLEAST64): Likewise.
6389         [C99-based-standards] (PRIiLEAST64): Likewise.
6390         [C99-based-standards] (PRIoLEAST64): Likewise.
6391         [C99-based-standards] (PRIuLEAST64): Likewise.
6392         [C99-based-standards] (PRIxLEAST64): Likewise.
6393         [C99-based-standards] (PRIXLEAST64): Likewise.
6394         [C99-based-standards] (SCNdLEAST64): Likewise.
6395         [C99-based-standards] (SCNiLEAST64): Likewise.
6396         [C99-based-standards] (SCNoLEAST64): Likewise.
6397         [C99-based-standards] (SCNuLEAST64): Likewise.
6398         [C99-based-standards] (SCNxLEAST64): Likewise.
6399         [C99-based-standards] (PRIdFAST64): Likewise.
6400         [C99-based-standards] (PRIiFAST64): Likewise.
6401         [C99-based-standards] (PRIoFAST64): Likewise.
6402         [C99-based-standards] (PRIuFAST64): Likewise.
6403         [C99-based-standards] (PRIxFAST64): Likewise.
6404         [C99-based-standards] (PRIXFAST64): Likewise.
6405         [C99-based-standards] (SCNdFAST64): Likewise.
6406         [C99-based-standards] (SCNiFAST64): Likewise.
6407         [C99-based-standards] (SCNoFAST64): Likewise.
6408         [C99-based-standards] (SCNuFAST64): Likewise.
6409         [C99-based-standards] (SCNxFAST64): Likewise.
6410         [C99-based-standards] (PRIdMAX): Likewise.
6411         [C99-based-standards] (PRIiMAX): Likewise.
6412         [C99-based-standards] (PRIoMAX): Likewise.
6413         [C99-based-standards] (PRIuMAX): Likewise.
6414         [C99-based-standards] (PRIxMAX): Likewise.
6415         [C99-based-standards] (PRIXMAX): Likewise.
6416         [C99-based-standards] (SCNdMAX): Likewise.
6417         [C99-based-standards] (SCNiMAX): Likewise.
6418         [C99-based-standards] (SCNoMAX): Likewise.
6419         [C99-based-standards] (SCNuMAX): Likewise.
6420         [C99-based-standards] (SCNxMAX): Likewise.
6421         [C99-based-standards] (PRIdPTR): Likewise.
6422         [C99-based-standards] (PRIiPTR): Likewise.
6423         [C99-based-standards] (PRIoPTR): Likewise.
6424         [C99-based-standards] (PRIuPTR): Likewise.
6425         [C99-based-standards] (PRIxPTR): Likewise.
6426         [C99-based-standards] (PRIXPTR): Likewise.
6427         [C99-based-standards] (SCNdPTR): Likewise.
6428         [C99-based-standards] (SCNiPTR): Likewise.
6429         [C99-based-standards] (SCNoPTR): Likewise.
6430         [C99-based-standards] (SCNuPTR): Likewise.
6431         [C99-based-standards] (SCNxPTR): Likewise.
6432         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6433         allow.
6434         * conform/data/stdint.h-data: Update comments to clarify
6435         requirements.
6436         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6437         type.
6438         [C99-based standards] (INT8_MAX): Likewise.
6439         [C99-based standards] (INT16_MIN): Likewise.
6440         [C99-based standards] (INT16_MAX): Likewise.
6441         [C99-based standards] (INT32_MIN): Likewise.
6442         [C99-based standards] (INT32_MAX): Likewise.
6443         [C99-based standards] (INT64_MIN): Likewise.
6444         [C99-based standards] (INT64_MAX): Likewise.
6445         [C99-based standards] (UINT8_MAX): Likewise.
6446         [C99-based standards] (UINT16_MAX): Likewise.
6447         [C99-based standards] (UINT32_MAX): Likewise.
6448         [C99-based standards] (UINT64_MAX): Likewise.
6449         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6450         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6451         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6452         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6453         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6454         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6455         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6456         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6457         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6458         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6459         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6460         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6461         [C99-based standards] (INT_FAST8_MIN): Likewise.
6462         [C99-based standards] (INT_FAST8_MAX): Likewise.
6463         [C99-based standards] (INT_FAST16_MIN): Likewise.
6464         [C99-based standards] (INT_FAST16_MAX): Likewise.
6465         [C99-based standards] (INT_FAST32_MIN): Likewise.
6466         [C99-based standards] (INT_FAST32_MAX): Likewise.
6467         [C99-based standards] (INT_FAST64_MIN): Likewise.
6468         [C99-based standards] (INT_FAST64_MAX): Likewise.
6469         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6470         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6471         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6472         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6473         [C99-based standards] (INTPTR_MIN): Likewise.
6474         [C99-based standards] (INTPTR_MAX): Likewise.
6475         [C99-based standards] (UINTPTR_MAX): Likewise.
6476         [C99-based standards] (INTMAX_MIN): Likewise.
6477         [C99-based standards] (INTMAX_MAX): Likewise.
6478         [C99-based standards] (UINTMAX_MAX): Likewise.
6479         [C99-based standards] (PTRDIFF_MIN): Likewise.
6480         [C99-based standards] (PTRDIFF_MAX): Likewise.
6481         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6482         [C99-based standards] (SIZE_MAX): Likewise.
6483         [C99-based standards] (WCHAR_MAX): Likewise.
6484         [C99-based standards] (WINT_MAX): Likewise.
6485         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6486         constraint on value.
6487         [C99-based standards] (WCHAR_MIN): Likewise.
6488         [C99-based standards] (WINT_MIN): Likewise.
6489         [C99-based standards] (*_t): Allow.
6490         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6491         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6492         Include math.h-data and complex.h-data.  Remove all expectations
6493         of math.h and complex.h contents.
6494         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6495         at end of line.
6496         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6497         (struct tm): Expect tag.
6498         [C99-based-standards] (wcstof): Expect function.
6499         [C99-based-standards] (wcstold): Likewise.
6500         [C99-based-standards] (wcstoll): Likewise.
6501         [C99-based-standards] (wcstoull): Likewise.
6502         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6503         macro-int-constant.  Specify type.
6504         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6505         constraint on value.
6506         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6507         Specify type.
6508         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6509         Specify value.
6510         [ISO C standards]: Do not allow headers.
6511         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6512         wcs[abcdefghijklmnopqrstuvwxyz]*.
6513         [ISO C standards] (*_t): Do not allow.
6514         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6515         Expect function.
6516         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6517         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6518         Specify type.
6519         [ISO C standards]: Do not allow headers.
6520         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6521         is[abcdefghijklmnopqrstuvwxyz]*.
6522         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6523         to[abcdefghijklmnopqrstuvwxyz]*.
6524         [ISO C standards] (*_t): Do not allow.
6525         * conform/data/stdalign.h-data: New file.
6526         * conform/data/stdbool.h-data: Likewise.
6527         * conform/data/stdnoreturn.h-data: Likewise.
6528
6529 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6530
6531         [BZ #14815]
6532         * manual/filesys.texi (Directory Entries): Typo fix.
6533         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6534
6535 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6536
6537         * elf/elf.h (EM_AARCH64): New macro.
6538         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6539         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6540         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6541         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6542         (R_AARCH64_TLSDESC): Likewise.
6543         (NT_ARM_TLS): Likewise.
6544         (NT_ARM_HW_BREAK): Likewise.
6545         (NT_ARM_HW_WATCH): Likewise.
6546
6547 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6548
6549         [BZ #14811]
6550         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6551         (__ieee754_powl): Saturate nonzero exponents with absolute value
6552         below 0x1p-79 to +/- 0x1p-79.
6553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6554         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6555         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6556         nonzero exponents with absolute value below 0x1p-32 to +/-
6557         0x1p-32.
6558         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6559         (__ieee754_powl): Saturate nonzero exponents with absolute value
6560         below 0x1p-79 to +/- 0x1p-79.
6561         * math/libm-test.inc (pow_test): Add more tests.
6562
6563 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6564
6565         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6566         _dl_s390_cap_flags with kernel. Increase string length.
6567         (_dl_s390_platforms): Add z196 and zEC12.
6568
6569 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6570
6571         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6572         Change XOPEN21K to XOPEN2K.
6573
6574 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6575
6576         * string/memmove.c: Use memcpy when possible.
6577
6578 2012-11-06  Andreas Jaeger  <aj@suse.de>
6579
6580         * po/eo.po: Update from translation team.
6581
6582 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6583
6584         [BZ #14793]
6585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6586         exponent and small x and y exponents, scale x or y up.  Increase
6587         by 2 the exponent used in scaling up.
6588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6590         * math/libm-test.inc (fma_test): Add more tests.
6591         (fma_test_towardzero): Likewise.
6592         (fma_test_downward): Likewise.
6593         (fma_test_upward): Likewise.
6594
6595 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6596
6597         [BZ #14805]
6598         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6599         fenv_t *.
6600
6601         [BZ #14801]
6602         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6603         namespace for names of struct fields.
6604         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6605         fenv_t fields.
6606         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6607         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6608
6609 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6610
6611         [BZ #3665]
6612         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6613
6614 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6615
6616         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6617         PTR_DEMANGLE.
6618
6619         [BZ #5246]
6620         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6621         PTR_DEMANGLE.
6622
6623 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6624
6625         [BZ #14797]
6626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6627         definitely overflow as x * y not x * y + z.
6628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6629         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6630         * math/libm-test.inc (fma_test): Add more tests.
6631         (fma_test_towardzero): Likewise.
6632         (fma_test_downward): Likewise.
6633         (fma_test_upward): Likewise.
6634
6635 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6636
6637         [BZ #157]
6638
6639         * include/stub-tag.h: Remove file.
6640         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6641         '#include' of it.
6642         * manual/maint.texi (Porting): Don't reference it.
6643         * Makerules ($(objpfx)stubs): Likewise.
6644         * dirent/closedir.c: Don't include <stub-tag.h>.
6645         * dirent/dirfd.c: Likewise.
6646         * dirent/fdopendir.c: Likewise.
6647         * dirent/getdents.c: Likewise.
6648         * dirent/getdents64.c: Likewise.
6649         * dirent/opendir.c: Likewise.
6650         * dirent/readdir.c: Likewise.
6651         * dirent/readdir64.c: Likewise.
6652         * dirent/readdir64_r.c: Likewise.
6653         * dirent/readdir_r.c: Likewise.
6654         * dirent/rewinddir.c: Likewise.
6655         * dirent/seekdir.c: Likewise.
6656         * dirent/telldir.c: Likewise.
6657         * gmon/profil.c: Likewise.
6658         * grp/setgroups.c: Likewise.
6659         * inet/if_index.c: Likewise.
6660         * io/access.c: Likewise.
6661         * io/chdir.c: Likewise.
6662         * io/chmod.c: Likewise.
6663         * io/chown.c: Likewise.
6664         * io/close.c: Likewise.
6665         * io/dup.c: Likewise.
6666         * io/dup2.c: Likewise.
6667         * io/dup3.c: Likewise.
6668         * io/euidaccess.c: Likewise.
6669         * io/faccessat.c: Likewise.
6670         * io/fchdir.c: Likewise.
6671         * io/fchmod.c: Likewise.
6672         * io/fchmodat.c: Likewise.
6673         * io/fchown.c: Likewise.
6674         * io/fchownat.c: Likewise.
6675         * io/fcntl.c: Likewise.
6676         * io/flock.c: Likewise.
6677         * io/fstatfs.c: Likewise.
6678         * io/fstatfs64.c: Likewise.
6679         * io/fstatvfs.c: Likewise.
6680         * io/fstatvfs64.c: Likewise.
6681         * io/futimens.c: Likewise.
6682         * io/fxstat.c: Likewise.
6683         * io/fxstat64.c: Likewise.
6684         * io/fxstatat.c: Likewise.
6685         * io/fxstatat64.c: Likewise.
6686         * io/getcwd.c: Likewise.
6687         * io/isatty.c: Likewise.
6688         * io/lchmod.c: Likewise.
6689         * io/lchown.c: Likewise.
6690         * io/link.c: Likewise.
6691         * io/linkat.c: Likewise.
6692         * io/lseek.c: Likewise.
6693         * io/lseek64.c: Likewise.
6694         * io/lxstat64.c: Likewise.
6695         * io/mkdir.c: Likewise.
6696         * io/mkdirat.c: Likewise.
6697         * io/mkfifo.c: Likewise.
6698         * io/mkfifoat.c: Likewise.
6699         * io/open.c: Likewise.
6700         * io/open64.c: Likewise.
6701         * io/openat.c: Likewise.
6702         * io/openat64.c: Likewise.
6703         * io/pipe.c: Likewise.
6704         * io/pipe2.c: Likewise.
6705         * io/poll.c: Likewise.
6706         * io/posix_fadvise.c: Likewise.
6707         * io/posix_fadvise64.c: Likewise.
6708         * io/posix_fallocate.c: Likewise.
6709         * io/posix_fallocate64.c: Likewise.
6710         * io/read.c: Likewise.
6711         * io/readlink.c: Likewise.
6712         * io/readlinkat.c: Likewise.
6713         * io/rmdir.c: Likewise.
6714         * io/sendfile.c: Likewise.
6715         * io/sendfile64.c: Likewise.
6716         * io/statfs.c: Likewise.
6717         * io/statfs64.c: Likewise.
6718         * io/statvfs.c: Likewise.
6719         * io/statvfs64.c: Likewise.
6720         * io/symlink.c: Likewise.
6721         * io/symlinkat.c: Likewise.
6722         * io/ttyname.c: Likewise.
6723         * io/ttyname_r.c: Likewise.
6724         * io/umask.c: Likewise.
6725         * io/unlink.c: Likewise.
6726         * io/unlinkat.c: Likewise.
6727         * io/utime.c: Likewise.
6728         * io/utimensat.c: Likewise.
6729         * io/write.c: Likewise.
6730         * io/xmknod.c: Likewise.
6731         * io/xmknodat.c: Likewise.
6732         * io/xstat.c: Likewise.
6733         * io/xstat64.c: Likewise.
6734         * login/getpt.c: Likewise.
6735         * login/grantpt.c: Likewise.
6736         * login/unlockpt.c: Likewise.
6737         * math/e_acoshl.c: Likewise.
6738         * math/e_acosl.c: Likewise.
6739         * math/e_asinl.c: Likewise.
6740         * math/e_atan2l.c: Likewise.
6741         * math/e_atanhl.c: Likewise.
6742         * math/e_coshl.c: Likewise.
6743         * math/e_expl.c: Likewise.
6744         * math/e_fmodl.c: Likewise.
6745         * math/e_gammal_r.c: Likewise.
6746         * math/e_hypotl.c: Likewise.
6747         * math/e_j0l.c: Likewise.
6748         * math/e_j1l.c: Likewise.
6749         * math/e_jnl.c: Likewise.
6750         * math/e_lgammal_r.c: Likewise.
6751         * math/e_log10l.c: Likewise.
6752         * math/e_log2l.c: Likewise.
6753         * math/e_logl.c: Likewise.
6754         * math/e_powl.c: Likewise.
6755         * math/e_rem_pio2l.c: Likewise.
6756         * math/e_sinhl.c: Likewise.
6757         * math/e_sqrtl.c: Likewise.
6758         * math/fclrexcpt.c: Likewise.
6759         * math/fedisblxcpt.c: Likewise.
6760         * math/feenablxcpt.c: Likewise.
6761         * math/fegetenv.c: Likewise.
6762         * math/fegetexcept.c: Likewise.
6763         * math/fegetround.c: Likewise.
6764         * math/feholdexcpt.c: Likewise.
6765         * math/fesetenv.c: Likewise.
6766         * math/fesetround.c: Likewise.
6767         * math/feupdateenv.c: Likewise.
6768         * math/fgetexcptflg.c: Likewise.
6769         * math/fraiseexcpt.c: Likewise.
6770         * math/fsetexcptflg.c: Likewise.
6771         * math/ftestexcept.c: Likewise.
6772         * math/k_cosl.c: Likewise.
6773         * math/k_rem_pio2l.c: Likewise.
6774         * math/k_sinl.c: Likewise.
6775         * math/k_tanl.c: Likewise.
6776         * math/s_asinhl.c: Likewise.
6777         * math/s_atanl.c: Likewise.
6778         * math/s_cbrtl.c: Likewise.
6779         * math/s_erfl.c: Likewise.
6780         * math/s_expm1l.c: Likewise.
6781         * math/s_log1pl.c: Likewise.
6782         * math/s_tanhl.c: Likewise.
6783         * misc/acct.c: Likewise.
6784         * misc/brk.c: Likewise.
6785         * misc/chflags.c: Likewise.
6786         * misc/chroot.c: Likewise.
6787         * misc/fchflags.c: Likewise.
6788         * misc/fgetxattr.c: Likewise.
6789         * misc/flistxattr.c: Likewise.
6790         * misc/fremovexattr.c: Likewise.
6791         * misc/fsetxattr.c: Likewise.
6792         * misc/fsync.c: Likewise.
6793         * misc/ftruncate.c: Likewise.
6794         * misc/futimes.c: Likewise.
6795         * misc/futimesat.c: Likewise.
6796         * misc/getdomain.c: Likewise.
6797         * misc/getdtsz.c: Likewise.
6798         * misc/gethostid.c: Likewise.
6799         * misc/gethostname.c: Likewise.
6800         * misc/getloadavg.c: Likewise.
6801         * misc/getpagesize.c: Likewise.
6802         * misc/getsysstats.c: Likewise.
6803         * misc/getxattr.c: Likewise.
6804         * misc/gtty.c: Likewise.
6805         * misc/ioctl.c: Likewise.
6806         * misc/lgetxattr.c: Likewise.
6807         * misc/listxattr.c: Likewise.
6808         * misc/llistxattr.c: Likewise.
6809         * misc/lremovexattr.c: Likewise.
6810         * misc/lsetxattr.c: Likewise.
6811         * misc/lutimes.c: Likewise.
6812         * misc/madvise.c: Likewise.
6813         * misc/mincore.c: Likewise.
6814         * misc/mlock.c: Likewise.
6815         * misc/mlockall.c: Likewise.
6816         * misc/mmap.c: Likewise.
6817         * misc/mprotect.c: Likewise.
6818         * misc/msync.c: Likewise.
6819         * misc/munlock.c: Likewise.
6820         * misc/munlockall.c: Likewise.
6821         * misc/munmap.c: Likewise.
6822         * misc/preadv.c: Likewise.
6823         * misc/preadv64.c: Likewise.
6824         * misc/ptrace.c: Likewise.
6825         * misc/pwritev.c: Likewise.
6826         * misc/pwritev64.c: Likewise.
6827         * misc/readv.c: Likewise.
6828         * misc/reboot.c: Likewise.
6829         * misc/remap_file_pages.c: Likewise.
6830         * misc/removexattr.c: Likewise.
6831         * misc/revoke.c: Likewise.
6832         * misc/select.c: Likewise.
6833         * misc/setdomain.c: Likewise.
6834         * misc/setegid.c: Likewise.
6835         * misc/seteuid.c: Likewise.
6836         * misc/sethostid.c: Likewise.
6837         * misc/sethostname.c: Likewise.
6838         * misc/setregid.c: Likewise.
6839         * misc/setreuid.c: Likewise.
6840         * misc/setxattr.c: Likewise.
6841         * misc/sstk.c: Likewise.
6842         * misc/stty.c: Likewise.
6843         * misc/swapoff.c: Likewise.
6844         * misc/swapon.c: Likewise.
6845         * misc/sync.c: Likewise.
6846         * misc/syncfs.c: Likewise.
6847         * misc/syscall.c: Likewise.
6848         * misc/truncate.c: Likewise.
6849         * misc/ualarm.c: Likewise.
6850         * misc/usleep.c: Likewise.
6851         * misc/ustat.c: Likewise.
6852         * misc/utimes.c: Likewise.
6853         * misc/vhangup.c: Likewise.
6854         * misc/writev.c: Likewise.
6855         * posix/_exit.c: Likewise.
6856         * posix/alarm.c: Likewise.
6857         * posix/execve.c: Likewise.
6858         * posix/fexecve.c: Likewise.
6859         * posix/fork.c: Likewise.
6860         * posix/fpathconf.c: Likewise.
6861         * posix/getaddrinfo.c: Likewise.
6862         * posix/getegid.c: Likewise.
6863         * posix/geteuid.c: Likewise.
6864         * posix/getgid.c: Likewise.
6865         * posix/getgroups.c: Likewise.
6866         * posix/getlogin.c: Likewise.
6867         * posix/getlogin_r.c: Likewise.
6868         * posix/getpgid.c: Likewise.
6869         * posix/getpid.c: Likewise.
6870         * posix/getppid.c: Likewise.
6871         * posix/getresgid.c: Likewise.
6872         * posix/getresuid.c: Likewise.
6873         * posix/getsid.c: Likewise.
6874         * posix/getuid.c: Likewise.
6875         * posix/glob64.c: Likewise.
6876         * posix/nanosleep.c: Likewise.
6877         * posix/pathconf.c: Likewise.
6878         * posix/pause.c: Likewise.
6879         * posix/posix_madvise.c: Likewise.
6880         * posix/pread.c: Likewise.
6881         * posix/pread64.c: Likewise.
6882         * posix/pwrite.c: Likewise.
6883         * posix/pwrite64.c: Likewise.
6884         * posix/sched_getaffinity.c: Likewise.
6885         * posix/sched_getp.c: Likewise.
6886         * posix/sched_gets.c: Likewise.
6887         * posix/sched_primax.c: Likewise.
6888         * posix/sched_primin.c: Likewise.
6889         * posix/sched_rr_gi.c: Likewise.
6890         * posix/sched_setaffinity.c: Likewise.
6891         * posix/sched_setp.c: Likewise.
6892         * posix/sched_sets.c: Likewise.
6893         * posix/sched_yield.c: Likewise.
6894         * posix/setgid.c: Likewise.
6895         * posix/setlogin.c: Likewise.
6896         * posix/setpgid.c: Likewise.
6897         * posix/setresgid.c: Likewise.
6898         * posix/setresuid.c: Likewise.
6899         * posix/setsid.c: Likewise.
6900         * posix/setuid.c: Likewise.
6901         * posix/sleep.c: Likewise.
6902         * posix/spawni.c: Likewise.
6903         * posix/sysconf.c: Likewise.
6904         * posix/times.c: Likewise.
6905         * posix/wait.c: Likewise.
6906         * posix/wait3.c: Likewise.
6907         * posix/wait4.c: Likewise.
6908         * posix/waitpid.c: Likewise.
6909         * resolv/gai_sigqueue.c: Likewise.
6910         * resource/getpriority.c: Likewise.
6911         * resource/getrlimit.c: Likewise.
6912         * resource/getrusage.c: Likewise.
6913         * resource/nice.c: Likewise.
6914         * resource/setpriority.c: Likewise.
6915         * resource/setrlimit.c: Likewise.
6916         * resource/ulimit.c: Likewise.
6917         * rt/aio_cancel.c: Likewise.
6918         * rt/aio_fsync.c: Likewise.
6919         * rt/aio_read.c: Likewise.
6920         * rt/aio_sigqueue.c: Likewise.
6921         * rt/aio_suspend.c: Likewise.
6922         * rt/aio_write.c: Likewise.
6923         * rt/clock_getres.c: Likewise.
6924         * rt/clock_gettime.c: Likewise.
6925         * rt/clock_nanosleep.c: Likewise.
6926         * rt/clock_settime.c: Likewise.
6927         * rt/lio_listio.c: Likewise.
6928         * rt/mq_close.c: Likewise.
6929         * rt/mq_getattr.c: Likewise.
6930         * rt/mq_notify.c: Likewise.
6931         * rt/mq_open.c: Likewise.
6932         * rt/mq_receive.c: Likewise.
6933         * rt/mq_send.c: Likewise.
6934         * rt/mq_setattr.c: Likewise.
6935         * rt/mq_timedreceive.c: Likewise.
6936         * rt/mq_timedsend.c: Likewise.
6937         * rt/mq_unlink.c: Likewise.
6938         * rt/shm_open.c: Likewise.
6939         * rt/shm_unlink.c: Likewise.
6940         * rt/timer_create.c: Likewise.
6941         * rt/timer_delete.c: Likewise.
6942         * rt/timer_getoverr.c: Likewise.
6943         * rt/timer_gettime.c: Likewise.
6944         * rt/timer_settime.c: Likewise.
6945         * setjmp/__longjmp.c: Likewise.
6946         * setjmp/setjmp.c: Likewise.
6947         * signal/kill.c: Likewise.
6948         * signal/killpg.c: Likewise.
6949         * signal/raise.c: Likewise.
6950         * signal/sigaction.c: Likewise.
6951         * signal/sigaltstack.c: Likewise.
6952         * signal/sigblock.c: Likewise.
6953         * signal/sigignore.c: Likewise.
6954         * signal/sigintr.c: Likewise.
6955         * signal/signal.c: Likewise.
6956         * signal/sigpause.c: Likewise.
6957         * signal/sigpending.c: Likewise.
6958         * signal/sigqueue.c: Likewise.
6959         * signal/sigreturn.c: Likewise.
6960         * signal/sigset.c: Likewise.
6961         * signal/sigsetmask.c: Likewise.
6962         * signal/sigstack.c: Likewise.
6963         * signal/sigsuspend.c: Likewise.
6964         * signal/sigtimedwait.c: Likewise.
6965         * signal/sigvec.c: Likewise.
6966         * signal/sigwait.c: Likewise.
6967         * signal/sigwaitinfo.c: Likewise.
6968         * signal/sysv_signal.c: Likewise.
6969         * socket/accept.c: Likewise.
6970         * socket/accept4.c: Likewise.
6971         * socket/bind.c: Likewise.
6972         * socket/connect.c: Likewise.
6973         * socket/getpeername.c: Likewise.
6974         * socket/getsockname.c: Likewise.
6975         * socket/getsockopt.c: Likewise.
6976         * socket/isfdtype.c: Likewise.
6977         * socket/listen.c: Likewise.
6978         * socket/recv.c: Likewise.
6979         * socket/recvfrom.c: Likewise.
6980         * socket/recvmsg.c: Likewise.
6981         * socket/send.c: Likewise.
6982         * socket/sendmsg.c: Likewise.
6983         * socket/sendto.c: Likewise.
6984         * socket/setsockopt.c: Likewise.
6985         * socket/shutdown.c: Likewise.
6986         * socket/sockatmark.c: Likewise.
6987         * socket/socket.c: Likewise.
6988         * socket/socketpair.c: Likewise.
6989         * stdio-common/ctermid.c: Likewise.
6990         * stdio-common/cuserid.c: Likewise.
6991         * stdio-common/remove.c: Likewise.
6992         * stdio-common/rename.c: Likewise.
6993         * stdio-common/renameat.c: Likewise.
6994         * stdio-common/tempname.c: Likewise.
6995         * stdlib/getcontext.c: Likewise.
6996         * stdlib/makecontext.c: Likewise.
6997         * stdlib/setcontext.c: Likewise.
6998         * stdlib/swapcontext.c: Likewise.
6999         * stdlib/system.c: Likewise.
7000         * streams/fattach.c: Likewise.
7001         * streams/fdetach.c: Likewise.
7002         * streams/getmsg.c: Likewise.
7003         * streams/getpmsg.c: Likewise.
7004         * streams/putmsg.c: Likewise.
7005         * streams/putpmsg.c: Likewise.
7006         * sysdeps/unix/bsd/getpt.c: Likewise.
7007         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7008         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7009         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7011         Likewise.
7012         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7013         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7014         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7015         * sysvipc/msgctl.c: Likewise.
7016         * sysvipc/msgget.c: Likewise.
7017         * sysvipc/msgrcv.c: Likewise.
7018         * sysvipc/msgsnd.c: Likewise.
7019         * sysvipc/semctl.c: Likewise.
7020         * sysvipc/semget.c: Likewise.
7021         * sysvipc/semop.c: Likewise.
7022         * sysvipc/semtimedop.c: Likewise.
7023         * sysvipc/shmat.c: Likewise.
7024         * sysvipc/shmctl.c: Likewise.
7025         * sysvipc/shmdt.c: Likewise.
7026         * sysvipc/shmget.c: Likewise.
7027         * termios/tcdrain.c: Likewise.
7028         * termios/tcflow.c: Likewise.
7029         * termios/tcflush.c: Likewise.
7030         * termios/tcgetattr.c: Likewise.
7031         * termios/tcgetpgrp.c: Likewise.
7032         * termios/tcsendbrk.c: Likewise.
7033         * termios/tcsetattr.c: Likewise.
7034         * termios/tcsetpgrp.c: Likewise.
7035         * time/adjtime.c: Likewise.
7036         * time/clock.c: Likewise.
7037         * time/getitimer.c: Likewise.
7038         * time/gettimeofday.c: Likewise.
7039         * time/setitimer.c: Likewise.
7040         * time/settimeofday.c: Likewise.
7041         * time/stime.c: Likewise.
7042         * time/time.c: Likewise.
7043
7044 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
7045
7046         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7047         /usr/old/bin.
7048
7049         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7050         instead of spaces.
7051         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7052
7053 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
7054
7055         [BZ #14796]
7056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7057         FE_TONEAREST before applying Dekker multiplication and Knuth
7058         addition.  Clear inexact exceptions and check for exact zero
7059         results afterwards.
7060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7061         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7063         * math/libm-test.inc (fma_test): Add more tests.
7064         (fma_test_towardzero): Likewise.
7065         (fma_test_downward): Likewise.
7066         (fma_test_upward): Likewise.
7067         * sysdeps/generic/math_private.h (default_libc_fesetround): New
7068         function.
7069         (libc_fesetround): New macro.
7070         (libc_fesetroundf): Likewise.
7071         (libc_fesetroundl): Likewise.
7072         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7073         function.
7074         (libc_fesetround_387): Likewise.
7075         (libc_fesetroundf): New macro.
7076         (libc_fesetround): Likewise.
7077         (libc_fesetroundl): Likewise.
7078         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7079         function.
7080         (libc_fesetroundf): New macro.
7081         (libc_fesetround): Likewise.
7082         (libc_fesetroundl): Likewise.
7083         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7084         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7085         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7086         libm_hidden_ver.
7087         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7088         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7089         libm_hidden_def.
7090         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7091         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7092         libm_hidden_ver.
7093         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7094         libm_hidden_def.
7095
7096         [BZ #3439]
7097         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7098         integer constant usable in #if and use that to give value to enum
7099         constant.
7100         (FE_DIVBYZERO): Likewise.
7101         (FE_UNDERFLOW): Likewise.
7102         (FE_OVERFLOW): Likewise.
7103         (FE_INVALID): Likewise.
7104         (FE_INVALID_SNAN): Likewise.
7105         (FE_INVALID_ISI): Likewise.
7106         (FE_INVALID_IDI): Likewise.
7107         (FE_INVALID_ZDZ): Likewise.
7108         (FE_INVALID_IMZ): Likewise.
7109         (FE_INVALID_COMPARE): Likewise.
7110         (FE_INVALID_SOFTWARE): Likewise.
7111         (FE_INVALID_SQRT): Likewise.
7112         (FE_INVALID_INTEGER_CONVERSION): Likewise.
7113         (FE_TONEAREST): Likewise.
7114         (FE_TOWARDZERO): Likewise.
7115         (FE_UPWARD): Likewise.
7116         (FE_DOWNWARD): Likewise.
7117         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7118         (FE_DIVBYZERO): Likewise.
7119         (FE_OVERFLOW): Likewise.
7120         (FE_UNDERFLOW): Likewise.
7121         (FE_INEXACT): Likewise.
7122         (FE_TONEAREST): Likewise.
7123         (FE_DOWNWARD): Likewise.
7124         (FE_UPWARD): Likewise.
7125         (FE_TOWARDZERO): Likewise.
7126         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7127         (FE_UNDERFLOW): Likewise.
7128         (FE_OVERFLOW): Likewise.
7129         (FE_DIVBYZERO): Likewise.
7130         (FE_INVALID): Likewise.
7131         (FE_TONEAREST): Likewise.
7132         (FE_TOWARDZERO): Likewise.
7133         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7134         (FE_OVERFLOW): Likewise.
7135         (FE_UNDERFLOW): Likewise.
7136         (FE_DIVBYZERO): Likewise.
7137         (FE_INEXACT): Likewise.
7138         (FE_TONEAREST): Likewise.
7139         (FE_TOWARDZERO): Likewise.
7140         (FE_UPWARD): Likewise.
7141         (FE_DOWNWARD): Likewise.
7142         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7143         (FE_DIVBYZERO): Likewise.
7144         (FE_OVERFLOW): Likewise.
7145         (FE_UNDERFLOW): Likewise.
7146         (FE_INEXACT): Likewise.
7147         (FE_TONEAREST): Likewise.
7148         (FE_DOWNWARD): Likewise.
7149         (FE_UPWARD): Likewise.
7150         (FE_TOWARDZERO): Likewise.
7151
7152 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
7153
7154         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7155
7156 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
7157
7158         * scripts/cross-test-ssh.sh (command): Use newlines to separate
7159         commands.  Quote $PWD.
7160         (blacklist_exports): Don't use remove_newlines.  Replace "declare
7161         -x" by "export".
7162         (remove_newlines): Remove.
7163
7164 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
7165
7166         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7167         * stdlib/stdlib.h (atof): Moved to ...
7168         * include/bits/stdlib-float.h: Here.  New file.
7169         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7170         * stdlib/bits/stdlib-float.h: New file.
7171         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7172         -mno-sse -mno-mmx.
7173         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7174         <xmmintrin.h>.
7175
7176 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7177
7178         * conform/conformtest.pl (@headers): Add fenv.h.
7179         * conform/data/fenv.h-data: New file.
7180         * include/fenv.h [_ISOMAC]: Disable all contents of file except
7181         include of <math/fenv.h>.
7182
7183         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7184         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7185         && !UNIX98].  Enables tests for XOPEN2K8.
7186         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7187         POSIX2008]: Likewise.
7188
7189         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7190         (struct rusage): Do not expect type or its members.
7191
7192         [BZ #3439]
7193         * math/math.h (FP_NAN): Define macro to integer constant usable in
7194         #if and use that to give value to enum constant.
7195         (FP_INFINITE): Likewise.
7196         (FP_ZERO): Likewise.
7197         (FP_SUBNORMAL): Likewise.
7198         (FP_NORMAL): Likewise.
7199
7200 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
7201
7202         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7203         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7204         arguments.
7205
7206 2012-11-02  Roland McGrath  <roland@hack.frob.com>
7207
7208         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7209         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7210         autoconf-time if not.
7211         * configure.in: Remove AC_PREREQ.
7212
7213 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7214
7215         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7216         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7217         of the internal implementation.
7218
7219 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
7220
7221         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7222         except include of <misc/sys/syslog.h>.
7223
7224 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7225
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7227         function returns with a NULL context exit with zero.
7228
7229 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7230
7231         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7232
7233 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
7234
7235         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7236         (run_program_cmd): This.
7237         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7238         (tst_langinfo): New variable.  Use it.
7239
7240 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
7241
7242         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7243         floating point opcodes.
7244
7245 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7246
7247         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7248         variable.
7249
7250         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7251
7252         * sysdeps/mach/hurd/powerpc: Remove directory.
7253         * sysdeps/mach/powerpc: Likewise.
7254
7255 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
7256
7257         * scripts/check-local-headers.sh: Ignore c++ headers.
7258
7259 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7260
7261         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7262         __libc_cleanup_region_start argument.
7263
7264 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
7265
7266         [BZ #14784]
7267         [BZ #14785]
7268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7269         x * y using scaling, not as x * y + z.
7270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7272         * math/libm-test.inc (fma_test): Add more tests.
7273         (fma_test_towardzero): Likewise.
7274         (fma_test_downward): Likewise.
7275         (fma_test_upward): Likewise.
7276
7277 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
7278
7279         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7280
7281 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7282
7283         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7284         New variable.
7285
7286 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
7287
7288         * rt/tst-shm.c (worker): Correct checking for mmap failure.
7289
7290 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7291
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7293         Fix sort order.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7295         Likewise.
7296
7297 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7298
7299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7300         Fix the order of the list for glibc 2.17.
7301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7302         Likewise.
7303
7304 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
7305
7306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7307
7308 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
7309
7310         [BZ #14610]
7311         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7312         for low part of x being zero before using __atanl (y).
7313         * math/libm-test.inc (atan2_test): Add another test.
7314
7315         * manual/install.texi (Configuring and compiling): Document
7316         general use of test-wrapper and test-wrapper-env.
7317         * INSTALL: Regenerated.
7318
7319         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7320         (__fma): Do not extract and scale down low bits on after-rounding
7321         systems when result rounded to normal precision would have normal
7322         exponent.
7323         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7324         (__fmal): Do not extract and scale down low bits on after-rounding
7325         systems when result rounded to normal precision would have normal
7326         exponent.
7327         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7328         (__fmal): Do not extract and scale down low bits on after-rounding
7329         systems when result rounded to normal precision would have normal
7330         exponent.
7331         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7332         macro.
7333         (fma_test): Add more tests.
7334         (fma_test_towardzero): Likewise.
7335         (fma_test_downward): Likewise.
7336         (fma_test_upward): Likewise.
7337
7338 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7339
7340         * sysdeps/i386/tininess.h: Renamed to ...
7341         * sysdeps/x86/tininess.h: This.
7342         * sysdeps/x86_64/tininess.h: Removed.
7343
7344 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7345
7346         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7347         input.  Use $(build-program-cmd).
7348         ($(objpfx)tst-array1-static.out): Likewise.
7349         ($(objpfx)tst-array2.out): Likewise.
7350         ($(objpfx)tst-array3.out): Likewise.
7351         ($(objpfx)tst-array4.out): Likewise.
7352         ($(objpfx)tst-array5.out): Likewise.
7353         ($(objpfx)tst-array5-static.out): Likewise.
7354
7355 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7356
7357         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7358         if defined.
7359
7360         * nss/nsswitch.h (nss_interface_function): Provide new
7361         macro for use with NSS functions.
7362         * grp/initgroups.c: Use new macro.
7363         * nss/getXXbyYY.c: Likewise.
7364         * nss/getXXbyYY_r.c: Likewise.
7365         * nss/getXXent.c: Likewise.
7366         * nss/getXXent_r.c: Likewise.
7367         * sysdeps/posix/getaddrinfo.c: Likewise.
7368
7369 2012-10-30  Andreas Jaeger  <aj@suse.de>
7370
7371         * po/ru.po: Update Russion translation from translation project.
7372
7373 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7374
7375         [BZ #14152]
7376         [BZ #14783]
7377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7378         result and shift together with sticky bit instead of replicating
7379         round-to-nearest rounding.
7380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7382         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7383         missing underflow exceptions.
7384         (fma_test_towardzero): Add more tests.
7385         (fma_test_downward): Likewise.
7386         (fma_test_upward): Likewise.
7387
7388         [BZ #14047]
7389         * sysdeps/generic/tininess.h: New file.
7390         * sysdeps/i386/tininess.h: Likewise.
7391         * sysdeps/sh/tininess.h: Likewise.
7392         * sysdeps/x86_64/tininess.h: Likewise.
7393         * stdlib/tst-strtod-underflow.c: Likewise.
7394         * stdlib/tst-tininess.c: Likewise.
7395         * stdlib/strtod_l.c: Include <tininess.h>.
7396         (round_and_return): Do not set errno for exact underflow cases.
7397         Force an underflow exception when setting errno for underflow.
7398         Determine underflow based on rounding to normal precision if
7399         TININESS_AFTER_ROUNDING.
7400         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7401         ERANGE for exact underflow cases.
7402         * stdlib/Makefile (tests): Add tst-tininess and
7403         tst-strtod-underflow.
7404         ($(objpfx)tst-tininess): Use $(link-libm).
7405         ($(objpfx)tst-strtod-underflow): Likewise.
7406
7407 2012-10-30  Andreas Jaeger  <aj@suse.de>
7408
7409         [BZ#14767]
7410         * elf/Makefile (tests): Remove conditional for have-initfini-array
7411         since this is now always required and the variable does not exist
7412         anymore.
7413         (tests-static): Likewise.
7414         (modules-names): Likewise.
7415
7416         * po/eo.po: Add Esperanto translation from translation project.
7417
7418         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7419         merged with constructor/destructor.
7420         (init_array): Likewise.
7421         * elf/tst-array2dep.c (fini_array): Likewise.
7422         (init_array): Likewise.
7423
7424 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7425
7426         * manual/message.texi: Delete @cartouche tags.
7427
7428 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7429
7430         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7431         EOPNOTSUPP.
7432         * sysdeps/mach/hurd/fsync.c: Likewise.
7433
7434         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7435         [_POSIX_REALTIME_SIGNALS]: Change condition to
7436         [_POSIX_REALTIME_SIGNALS > 0].
7437
7438 2012-10-27  Andreas Jaeger  <aj@suse.de>
7439
7440         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7441         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7442         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7443         [__WORDSIZE != 64]: Likewise.
7444
7445 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7446
7447         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7448         *  iconvdata/tst-tables.sh: Likewise.
7449
7450 2012-10-25  David S. Miller  <davem@davemloft.net>
7451
7452         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7453         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7454         of strtoull.
7455
7456         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7457         ifunc-impl-list.c
7458         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7459         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7460         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7461         file.
7462
7463 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7464
7465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7466         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7467         __getdirentries.
7468
7469 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7470             Jim Blandy  <jimb@codesourcery.com>
7471
7472         * scripts/cross-test-ssh.sh: New file.
7473         * manual/install.texi (Configuring and compiling): Document use of
7474         cross-test-ssh.sh.
7475         * INSTALL: Regenerated.
7476
7477 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7478
7479         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7480         EOPNOTSUPP.
7481
7482 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7483
7484         * Makeconfig (run-program-prefix): Fix comment.
7485
7486 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7487             Jim Blandy  <jimb@codesourcery.com>
7488
7489         * Makeconfig (test-wrapper): New variable,
7490         (test-wrapper-env): Likewise.
7491         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7492         (run-built-tests): Define to yes.
7493         (run-program-prefix): Use $(test-wrapper).
7494         (built-program-cmd): Likewise.
7495         * Rules (make-test-out): Use $(test-wrapper-env) and
7496         $(host-built-program-cmd).
7497         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7498         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7499         tst-pathopt.sh.
7500         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7501         $(test-wrapper-env) to tst-rtld-load-self.sh.
7502         ($(objpfx)order2.out): Use $(test-wrapper).
7503         ($(objpfx)tst-initorder.out): Likewise.
7504         ($(objpfx)tst-initorder2.out): Likewise.
7505         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7506         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7507         (test_wrapper_env): New variable.  Use it to run ld.so.
7508         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7509         Use it to run ld.so.
7510         (test_wrapper_env): Likewise.
7511         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7512         $(test-wrapper) to run-iconv-test.sh.
7513         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7514         (ICONV): Use $test_wrapper.
7515         * posix/Makefile ($(objpfx)globtest.out): Pass
7516         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7517         globtest.sh, not $(run-program-prefix).
7518         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7519         (test_wrapper): Likewise.
7520         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7521         set together with run_via_rtld_prefix.
7522         (run_program_prefix): Define in terms of test_wrapper and
7523         run_via_rtld_prefix.
7524
7525 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7526
7527         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7528         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7529         Targets removed.
7530
7531         [BZ #14743]
7532         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7533         Declare __clock_getres, __clock_gettime, __clock_settime,
7534         __clock_nanosleep, and __clock_getcpuclockid.
7535         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7536         Remove librt_hidden_def (clock_gettime).
7537         * sysdeps/unix/clock_gettime.c: Likewise.
7538         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7539         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7540         * rt/clock_getres.c: Define __clock_getres as an alias.
7541         * sysdeps/posix/clock_getres.c: Likewise.
7542         * rt/clock_settime.c: Define __clock_settime as an alias.
7543         * sysdeps/unix/clock_settime.c: Likewise.
7544         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7545         * sysdeps/unix/clock_nanosleep.c: Likewise.
7546         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7547         * rt/clock-compat.c: New file.
7548         * rt/Makefile (librt-routines): Add clock-compat and move
7549         $(clock-routines) to ...
7550         (routines): ... here, new variable.
7551         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7552         Don't add get_clockfreq here.
7553         * rt/Versions (libc: GLIBC_2.17): New version set.
7554         Add clock_* symbols here.
7555         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7557         (GLIBC_2.17): Add clock_* symbols.
7558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7562         Likewise.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7564         Likewise.
7565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7569         * NEWS: Mention the move.
7570
7571         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7572         Use __open, __read, __close rather than their public counterparts.
7573         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7574         (__get_clockfreq_via_cpuinfo): Likewise.
7575         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7576         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7577
7578         * config.h.in (HAVE_IFUNC): New #undef.
7579         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7580         was successful.
7581         * configure: Regenerated.
7582
7583 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7584
7585         * configure.in: Move READELF check to start of file.
7586         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7587         libc_cv_asm_gnu_indirect_function in the process.
7588         * configure: Regenerated.
7589
7590 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7591
7592         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7593         send the output to /dev/null.
7594         (libc_cv_cc_with_libunwind): Likewise.
7595         (libc_cv_as_noexecstack): Likewise.
7596         * configure: Regenerate.
7597
7598 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7599
7600         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7601
7602         * posix/globtest.sh (TMPDIR): Do not set.
7603         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7604         (testout): Likewise.
7605
7606 2012-10-24  Andreas Jaeger  <aj@suse.de>
7607
7608         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7609         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7610         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7611         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7612         posix_fadvise64, posix_fallocate64.
7613
7614         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7615         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7616         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7617         Likewise.
7618         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7619         Likewise.
7620         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7621
7622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7623         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7624         <bits/fcntl-linux.h>.
7625         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7626
7627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7628         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7629         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7630         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7631         [__WORDSIZE != 64]: Likewise.
7632
7633 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7634
7635         * Makeconfig (run-built-tests): New variable.
7636         * Rules [$(cross-compiling) = yes]: Change condition to
7637         [$(run-built-tests) = no].
7638         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7639         to [$(run-built-tests) = yes].
7640         * elf/Makefile [$(cross-compiling) = no]: Likewise
7641         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7642         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7643         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7644         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7645         * io/Makefile [$(cross-compiling) = no]: Likewise.
7646         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7647         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7648         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7649         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7650         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7651         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7652         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7653         * string/Makefile [$(cross-compiling) = no]: Likewise.
7654
7655         * posix/Makefile ($(objpfx)globtest.out): Pass
7656         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7657         $(rtld-installed-name).
7658         * posix/globtest.sh (elf_objpfx): Remove variable.
7659         (rtld_installed_name): Likewise.
7660         (library_path): Likewise.
7661         (run_program_prefix): New variable.  Use for running globtest
7662         binary.
7663
7664 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7665             Joseph Myers  <joseph@codesourcery.com>
7666
7667         * Makeconfig (host-built-program-cmd): New variable.
7668         * elf/Makefile (tst-stackguard1-ARGS): Use
7669         $(host-built-program-cmd).
7670         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7671         (tst-spawn-ARGS): Likewise.
7672         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7673
7674 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7675             Jim Blandy  <jimb@codesourcery.com>
7676
7677         * Makeconfig (run-via-rtld-prefix): New variable.
7678         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7679         (built-program-cmd): Likewise.
7680
7681 2012-10-22  Andreas Jaeger  <aj@suse.de>
7682
7683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7684         __O_RSYNC if it exists, otherwise to O_SYNC.
7685
7686 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7687             Joseph Myers  <joseph@codesourcery.com>
7688
7689         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7690         /dev/null.
7691         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7692         from /dev/null
7693         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7694         /dev/null.
7695
7696 2012-10-22  Andreas Jaeger  <aj@suse.de>
7697
7698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7699         Define always.
7700         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7701
7702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7703         bits/fcntl-linux.h.
7704
7705         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7706         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7707
7708         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7709         to __O_LARGEFILE.
7710         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7711         to __O_LARGEFILE.
7712
7713 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7714             Joseph Myers  <joseph@codesourcery.com>
7715
7716         * config.make.in (NM): New variable.
7717
7718 2012-10-21  Andreas Jaeger  <aj@suse.de>
7719
7720         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7721         definitions and declarations that are provided by
7722         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7723
7724 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7725
7726         [BZ #14683]
7727         * elf/Makefile (tests-static): Add tst-leaks1-static.
7728         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7729         ($(objpfx)tst-leaks1-static): New rule.
7730         ($(objpfx)tst-leaks1-static-mem): Likewise.
7731         (tst-leaks1-static-ENV): New macro.
7732         * elf/dl-open.c (dl_open_worker): Check the main application
7733         only if SHARED is defined.
7734         * elf/tst-leaks1-static.c: New file.
7735
7736 2012-10-20  Andreas Jaeger  <aj@suse.de>
7737
7738         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7739         generic values for Linux.
7740         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7741         and declarations that are provided by <bits/fcntl-linux.h> and
7742         include <bits/fcntl-linux.h>.
7743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7745
7746 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7747
7748         * io/fcntl.h: Move include of <bits/types.h> to the top and
7749         include it unconditionally.
7750
7751 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7752
7753         * wcsmbs/Makefile (tests-ifunc): New variable.
7754         (tests): Add $(tests-ifunc).
7755         * wcsmbs/test-wcschr-ifunc.c: New file.
7756         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7757         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7758         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7759         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7760         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7761
7762         * string/Makefile (tests-ifunc): New variable.
7763         (tests): Add $(tests-ifunc).
7764         * string/test-memccpy.c (TEST_NAME): New macro.
7765         * string/test-memchr.c (TEST_NAME): Likewise.
7766         * string/test-memcmp.c (TEST_NAME): Likewise.
7767         * string/test-memcpy.c (TEST_NAME): Likewise.
7768         * string/test-memmem.c (TEST_NAME): Likewise.
7769         * string/test-memmove.c (TEST_NAME): Likewise.
7770         * string/test-memset.c (TEST_NAME): Likewise.
7771         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7772         * string/test-stpcpy.c (TEST_NAME): Likewise.
7773         * string/test-stpncpy.c (TEST_NAME): Likewise.
7774         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7775         * string/test-strcasestr.c (TEST_NAME): Likewise.
7776         * string/test-strcat.c (TEST_NAME): Likewise.
7777         * string/test-strchr.c (TEST_NAME): Likewise.
7778         * string/test-strcmp.c(TEST_NAME): Likewise.
7779         * string/test-strcpy.c (TEST_NAME): Likewise.
7780         * string/test-strcspn.c (TEST_NAME): Likewise.
7781         * string/test-strlen.c (TEST_NAME): Likewise.
7782         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7783         * string/test-strncmp.c (TEST_NAME): Likewise.
7784         * string/test-strncpy.c (TEST_NAME): Likewise.
7785         * string/test-strnlen.c (TEST_NAME): Likewise.
7786         * string/test-strpbrk.c (TEST_NAME): Likewise.
7787         * string/test-strrchr.c (TEST_NAME): Likewise.
7788         * string/test-strspn.c (TEST_NAME): Likewise.
7789         * string/test-strstr.c (TEST_NAME): Likewise.
7790         * string/test-bcopy-ifunc.c: New file.
7791         * string/test-bzero-ifunc.c: Likewise.
7792         * string/test-memccpy-ifunc.c: Likewise.
7793         * string/test-memchr-ifunc.c: Likewise.
7794         * string/test-memcmp-ifunc.c: Likewise.
7795         * string/test-memcpy-ifunc.c: Likewise.
7796         * string/test-memmem-ifunc.c: Likewise.
7797         * string/test-memmove-ifunc.c: Likewise.
7798         * string/test-mempcpy-ifunc.c: Likewise.
7799         * string/test-memset-ifunc.c: Likewise.
7800         * string/test-rawmemchr-ifunc.c: Likewise.
7801         * string/test-stpcpy-ifunc.c: Likewise.
7802         * string/test-stpncpy-ifunc.c: Likewise.
7803         * string/test-strcasecmp-ifunc.c: Likewise.
7804         * string/test-strcasestr-ifunc.c: Likewise.
7805         * string/test-strcat-ifunc.c: Likewise.
7806         * string/test-strchr-ifunc.c: Likewise.
7807         * string/test-strchrnul-ifunc.c: Likewise.
7808         * string/test-strcmp-ifunc.c: Likewise.
7809         * string/test-strcpy-ifunc.c: Likewise.
7810         * string/test-strcspn-ifunc.c: Likewise.
7811         * string/test-strlen-ifunc.c: Likewise.
7812         * string/test-strncasecmp-ifunc.c: Likewise.
7813         * string/test-strncat-ifunc.c: Likewise.
7814         * string/test-strncmp-ifunc.c: Likewise.
7815         * string/test-strncpy-ifunc.c: Likewise.
7816         * string/test-strnlen-ifunc.c: Likewise.
7817         * string/test-strpbrk-ifunc.c: Likewise.
7818         * string/test-strrchr-ifunc.c: Likewise.
7819         * string/test-strspn-ifunc.c: Likewise.
7820         * string/test-strstr-ifunc.c: Likewise.
7821
7822         * debug/Makefile (tests-ifunc): New variable.
7823         (tests): Add $(tests-ifunc).
7824         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7825         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7826         * debug/test-stpcpy_chk-ifunc.c: New file.
7827         * debug/test-strcpy_chk-ifunc.c: Likewise.
7828
7829 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7830
7831         [BZ #13601]
7832         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7833         header is not read in.
7834
7835 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7836
7837         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7838         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7839         directly.  Pass built executable to script as
7840         $(built-program-cmd).
7841         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7842         $testprogram without using LD_LIBRARY_PATH and $ldso.
7843
7844         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7845         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7846         $(rtld-installed-name).
7847         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7848         (rtld_installed_name): Likewise.
7849         (library_path): Likewise.
7850         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7851         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7852         $(run-program-prefix) to tst-tables.sh.
7853         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7854         it to run tst-table-from and tst-table-to.
7855         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7856         Pass it to tst-table.sh.
7857         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7858         $(run-program-prefix) to tst-gettext.sh.
7859         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7860         tst-translit.sh.
7861         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7862         tst-gettext2.sh.
7863         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7864         to run tst-gettext.
7865         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7866         to run tst-gettext2.
7867         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7868         to run tst-translit.
7869         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7870         $(run-program-prefix) to tst-mtrace.sh.
7871         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7872         to run tst-mtrace.
7873         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7874         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7875         $(rtld-installed-name).
7876         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7877         (rtld_installed_name): Likewise.
7878         (run_program_prefix): New variable.  Use it to run wordexp-test.
7879
7880         * Makeconfig (ARCH): Remove all definitions.
7881         (machine): Likewise.
7882         [ARCH]: Remove conditional code.
7883         [!objdir]: Give error.
7884         [!objdir] (objpfx): Remove.
7885         [!objdir] (common-objpfx): Likewise.
7886         [!objdir] (common-objdir): Likewise.
7887         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7888         AC_CONFIG_FILES call.
7889         * configure: Regenerated.
7890
7891         [BZ #13888]
7892         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7893         or TMPDIR.
7894         (testout): Likewise.
7895
7896         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7897         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7898         $(rtld-installed-name).
7899         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7900         (rtld_installed_name): Likwise.
7901         (runit): Remove function.
7902         (run_getconf): New variable,  Use it for running getconf binary.
7903
7904 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7905
7906         [BZ #14716]
7907         * string/test-memmem.c (check_result): New function.
7908         (do_one_test): Use it.
7909         (check1): New function.
7910         (test_main): Use it.
7911
7912 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7913
7914         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7915
7916 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7917
7918         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7919         (_G_LSEEK64): Likewise.
7920         (_G_MMAP64): Likewise.
7921         (_G_FSTAT64): Likewise.
7922         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7923         (_G_LSEEK64): Likewise.
7924         (_G_MMAP64): Likewise.
7925         (_G_FSTAT64): Likewise.
7926         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7927         unconditional.  Call __mmap64 directly.
7928         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7929         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7930         __lseek64 directly.
7931         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7932         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7933         __mmap64 directly.
7934         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7935         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7936         __lseek64 directly.
7937         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7938         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7939         __lseek64 directly.
7940         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7941         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7942         __lseek64 directly.
7943         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7944         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7945         __fxstat64 directly.
7946         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7947         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7948         unconditional.
7949         (freopen64) [!_G_OPEN64]: Remove conditional code.
7950         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7951         unconditional.
7952         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7953         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7954         unconditional.
7955         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7956         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7957         unconditional.
7958         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7959         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7960         unconditional.
7961         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7962         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7963         unconditional.
7964         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7965         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7966         unconditional.
7967         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7968         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7969         unconditional.
7970         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7971
7972 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7973
7974         [BZ #12140]
7975         * manual/memory.texi (Malloc Tunable Parameters): Add note
7976         about free list pointers overwriting some perturb bytes.
7977         Wording suggested by Roland McGrath.
7978
7979 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7980
7981         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7982         (lgamma_test): Likewise.
7983         (tgamma_test): Likewise.
7984
7985 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7986
7987         [BZ #14700]
7988         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7989         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7990
7991 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7992
7993         * NEWS: Mention BZ #14716.
7994         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7995         when removing AVAILABLE1_USES_J macro.
7996
7997 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7998
7999         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8000         (__bswap_64): __uint64_t for unsigned 64-bit int.
8001
8002 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
8003
8004         * include/string.h (memmem): Declare libc hidden alias.
8005         * string/memmem.c (memmem): Define libc hidden alias.
8006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8007         __read, __close instead of open, read, close.
8008
8009 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
8010
8011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8012         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8013         global and hidden.
8014         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8015         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8016         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8017         Likewise.
8018         (__rawmemchr_sse2): Likewise.
8019         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8020         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8021         (__strchr_sse2): Likewise.
8022         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8023         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8024         (__strcasecmp_sse2): Likewise.
8025         (__strncasecmp_sse2): Likewise.
8026         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8027         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8028         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8029         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8030         (__strrchr_sse2): Likewise.
8031         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8032         ifunc-impl-list.c.
8033         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8034         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8035         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8036         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8037         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8038         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8039         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8040         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8041         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8042         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8043         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8044         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8045         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8046         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8047         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8048         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8049         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8050         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8051         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8052         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8053         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8054         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8055         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8056         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8057         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8058         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8059         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8060         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8061         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8062         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8063
8064         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8065         global and hidden.
8066         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8067         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8068         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8069         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8070         Likewise.
8071         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8072         Likewise.
8073         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8074         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8075         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8076         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8077         ifunc-impl-list.c.
8078         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8079         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8080         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8081         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8082         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8083         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8084         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8085         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8086         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8088         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8089         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8090         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8091         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8092         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8093         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8094         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8095         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8096         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8097         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8099         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8100         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8101         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8102         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8103         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8104         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8105         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8106         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8107         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8108         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8109         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8110         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8111         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8112         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8113         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8114         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8115         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8116         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8117         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8118         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8119
8120         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8121         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8122         * include/ifunc-impl-list.h: New file.
8123         * misc/ifunc-impl-list.c: Likewise.
8124         * misc/Makefile (routines): Add ifunc-impl-list.
8125         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8126         * string/test-string.h: Include <ifunc-impl-list.h>.
8127         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8128         impl_array): New variables.
8129         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8130         are defined.
8131         (test_init): Call __libc_ifunc_impl_list to initialize
8132         func_list if TEST_IFUNC and TEST_NAME are defined.
8133
8134         * string/Makefile (strop-tests): Add bcopy and bzero.
8135         * string/test-bcopy.c: New file.
8136         * string/test-bzero.c: Likewise.
8137         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8138         defined.
8139         * string/test-memset.c: Support bzero test if TEST_BZERO is
8140         defined.
8141         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8142         __libc_memmove.
8143         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8144         __libc_memset.
8145         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8146         of memset.
8147
8148 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
8149
8150         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8151         * configure: Regenerated.
8152
8153         * Makeconfig (+link-static-before-libc): Don't include
8154         $(link-static-libc).
8155
8156         * libio/libio.h (_IO_pos_t): Remove.
8157
8158 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8159
8160         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
8161         McGrath.
8162
8163 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8164
8165         * crypt/crypt-entry.c: Include fips-private.h.
8166         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8167         * crypt/md5c-test.c (main): Tolerate disabled MD5.
8168         * sysdeps/unix/sysv/linux/fips-private.h: New file.
8169         * sysdeps/generic/fips-private.h: New file, dummy fallback.
8170
8171 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
8172
8173         * crypt/crypt-private.h: Include stdbool.h.
8174         (_ufc_setup_salt_r): Return bool.
8175         * crypt/crypt-entry.c: Include errno.h.
8176         (__crypt_r): Return NULL with EINVAL for bad salt.
8177         * crypt/crypt_util.c (bad_for_salt): New.
8178         (_ufc_setup_salt_r): Check that salt is long enough and within
8179         the specified alphabet.
8180         * crypt/badsalttest.c: New file.
8181         * crypt/Makefile (tests): Add it.
8182         ($(objpfx)badsalttest): New.
8183
8184 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
8185
8186         * NEWS: Add entry for BZ #14602.
8187
8188 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8189
8190         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8191         type-generic.
8192         * math/libm-test.inc: Update comment listing what functions and
8193         macros are tested.
8194         (isgreater_test): New function.
8195         (isgreaterequal_test): Likewise.
8196         (isless_test): Likewise.
8197         (islessequal_test): Likewise.
8198         (islessgreater_test): Likewise.
8199         (isunordered_test): Likewise.
8200         (main): Call the new functions.
8201
8202 2012-10-09  Roland McGrath  <roland@hack.frob.com>
8203
8204         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8205         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8206         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8207         * sysdeps/i386/configure: Regenerated.
8208         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8209         * sysdeps/mach/configure: Regenerated.
8210         * sysdeps/mach/hurd/configure: Regenerated.
8211         * sysdeps/powerpc/configure: Regenerated.
8212         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8213         * sysdeps/powerpc/powerpc64/configure: Regenerated.
8214         * sysdeps/s390/s390-32/configure: Regenerated.
8215         * sysdeps/s390/s390-64/configure: Regenerated.
8216         * sysdeps/sh/configure: Regenerated.
8217         * sysdeps/sparc/configure: Regenerated.
8218         * sysdeps/unix/sysv/linux/configure: Regenerated.
8219         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8220         * sysdeps/x86_64/configure: Regenerated.
8221
8222         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8223         defined.  Don't check if MAP is NULL.
8224
8225 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
8226
8227         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8228         (_G_stat64): Likewise.
8229         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8230         (_G_stat64): Likewise.
8231         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8232         instead of struct _G_stat64.
8233         * libio/fileops.c (mmap_remap_check): Likewise.
8234         (decide_maybe_mmap): Likewise.
8235         (_IO_new_file_seekoff): Likewise.
8236         (_IO_file_stat): Likewise.
8237         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8238         _G_off64_t.
8239         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8240         instead of struct _G_stat64.
8241         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8242
8243 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
8244
8245         [BZ #14602]
8246         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8247         Replace with ...
8248         (CHECK_EOL): New macro.
8249         (two_way_short_needle): Check beginning of haystack for EOL.  Use
8250         CHECK_EOL.
8251         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8252         Replace with CHECK_EOL.
8253         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8254         Replace with CHECK_EOL.
8255
8256 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
8257
8258         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8259         type-generic.
8260         * math/libm-test.inc: Update comment listing what functions and
8261         macros are tested.
8262         (finite_test): New function.
8263         (isinf_test): Likewise.
8264         (isnan_test): Likewise.
8265         (fpclassify_test): Test subnormal input.
8266         (isfinite_test): Likewise.
8267         (isnormal_test): Likewise.
8268         (main): Call the new functions.
8269
8270 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
8271
8272         [BZ #14660]
8273         * Makerules (%.dynsym): Force C locale when running
8274         $(OBJDUMP) --dynamic-syms.
8275
8276 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
8277
8278         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8279         <stdint.h>.
8280
8281 2012-10-06  David S. Miller  <davem@davemloft.net>
8282
8283         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8284         upper 32-bits of the length value in %o2 since we use branch-on-register
8285         tests which consider the entire 64-bit register.
8286
8287 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
8288
8289         * string/test-strstr.c (check2): Add a test for page boundary.
8290
8291 2012-10-05  David S. Miller  <davem@davemloft.net>
8292
8293         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8294         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8295         file.
8296         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8297         sysdep_routines.
8298         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8299         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8300         and bzero when HWCAP_SPARC_CRYPTO is present.
8301
8302 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
8303
8304         [BZ #14602]
8305         * string/test-strstr.c (check2): New function.
8306         (test_main): Call check2.
8307
8308         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8309         and bug-strchr1.
8310         * string/bug-strcasestr1.c (do_test): Moved to ...
8311         * string/test-strcasestr.c (check1): Here.  New function.
8312         (do_one_test): Break out result checking code into ...
8313         (check_result): This.  New function.
8314         (do_one_test): Call check_result.
8315         (test_main): Call check1.
8316         * string/bug-strchr1.c (do_test): Moved to ...
8317         * string/test-strchr.c (check1): Here.  New function.
8318         (do_one_test): Break out result checking code into ...
8319         (check_result): This.  New function.
8320         (do_one_test): Call check_result.
8321         (test_main): Call check1.
8322         * string/bug-strstr1.c (main): Moved to ...
8323         * string/test-strstr.c (check1): Here.  New function.
8324         (do_one_test): Break out result checking code into ...
8325         (check_result): This.  New function.
8326         (do_one_test): Call check_result.
8327         (test_main): Call check1.
8328         * string/bug-strcasestr1.c: Removed.
8329         * string/bug-strchr1.c: Likewise.
8330         * string/bug-strstr1.c: Likewise.
8331
8332         * elf/Makefile (dl-routines): Add hwcaps.
8333         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8334         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8335         (_dl_important_hwcaps): Moved to ...
8336         * elf/dl-hwcaps.c: Here.  New file.
8337         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8338
8339         [BZ #14557]
8340         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8341         if IS_IN_rtld isn't defined.
8342
8343         * elf/dl-support.c (_dl_sysinfo_map): New.
8344         Include "get-dynamic-info.h" and "setup-vdso.h".
8345         (_dl_non_dynamic_init): Call setup_vdso.
8346         * elf/dynamic-link.h: Don't include <assert.h>.
8347         (elf_get_dynamic_info): Moved to ...
8348         * elf/get-dynamic-info.h: Here.  New file.
8349         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8350         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8351         * elf/setup-vdso.h: Here.  New file.
8352         * elf/rtld.c: Include "setup-vdso.h".
8353         (dl_main): Call setup_vdso.
8354
8355 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8356
8357         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8358         creal in comment listing functions tested.  List finite, isinf,
8359         isnan, isless, islessequal, isgreater, isgreaterequal,
8360         islessgreater, isunordered, lgamma_r and pow10 as functions and
8361         macros not tested.  Mention which functions not tested are aliases
8362         for other functions.  Fix typo.  Note that signs of NaNs are not
8363         tested.
8364
8365         * scripts/config.guess: Update from config.git.
8366         * scripts/config.sub: Likewise.
8367
8368 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8369
8370         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8371         * misc/madvise.c (madvise): Renamed to __madvise.
8372         Make madvise a weak alias.
8373         * include/sys/mman.h: Declare __madvise.
8374         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8375         * sysdeps/unix/syscalls.list
8376         (madvise): Make __madvise the strong name, and madvise a weak alias.
8377         * sysdeps/unix/sysv/linux/syscalls.list
8378         (madvise, mmap): Remove redundant entries.
8379         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8380         * malloc/malloc.c (mtrim): Likewise.
8381         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8382
8383 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8384
8385         * sysdeps/mach/hurd/dl-cache.c: File removed.
8386         * config.h.in (USE_LDCONFIG): New #undef.
8387         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8388         * configure: Regenerated.
8389         * elf/Makefile (dl-routines): Add dl-cache only under
8390         [$(use-ldconfig) = yes].
8391         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8392         cache on [USE_LDCONFIG].
8393         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8394         [USE_LDCONFIG].
8395         * elf/rtld.c (dl_main): Likewise.
8396
8397 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8398
8399         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8400         _SC_LEVEL4_CACHE_LINESIZE.
8401
8402 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8403
8404         * sysdeps/unix/bsd/confstr.h: File removed.
8405
8406 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8407
8408         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8409         sys/sdt-config.h.
8410
8411 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8412
8413         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8414         Make 'mapoff' field ElfW(Off) rather than off_t.
8415
8416 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8417
8418         * nscd/Makefile: Remove nscd-cflags and all its users.
8419         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8420         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8421
8422         [BZ #10631]
8423         * malloc.c (malloc_printerr): Clarify error message.
8424
8425 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8426
8427         [BZ #14648]
8428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8429         Set bit_FMA_Usable if FMA is supported.
8430         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8431         macro.
8432         (bit_FMA4_Usable): Updated.
8433         (index_FMA_Usable): New macro.
8434         (CPUID_FMA): Likewise
8435         (HAS_FMA): Defined with bit_FMA_Usable.
8436
8437 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8438
8439         * bits/types.h (__swblk_t): Type removed.
8440         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8441         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8443         (__SWBLK_T_TYPE): Likewise.
8444         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8445         (__SWBLK_T_TYPE): Likewise.
8446         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8447         (__SWBLK_T_TYPE): Likewise.
8448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8449         (__SWBLK_T_TYPE): Likewise.
8450
8451 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8452             Honza Horak <hhorak@redhat.com>
8453
8454         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8455         (xdr_mapname): Use YPMAXMAP as maxsize.
8456         (xdr_peername): Use YPMAXPEER as maxsize.
8457         (xdr_keydat): Use YPAXRECORD as maxsize.
8458         (xdr_valdat): Use YPMAXRECORD as maxsize.
8459
8460 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8461
8462         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8463
8464         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8465         * csu/init-first.c: ... here.
8466         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8467         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8468         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8469         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8470         * sysdeps/i386/init-first.c: File removed.
8471         * sysdeps/sh/init-first.c: File removed.
8472
8473 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8474
8475         [BZ #14645]
8476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8477         if x * y might underflow to zero and z is zero.
8478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8480         * math/libm-test.inc (min_subnorm_value): New variable.
8481         (fma_test): Add more tests.
8482         (fma_test_towardzero): Likewise.
8483         (fma_test_downward): Likewise
8484         (fma_test_upward): Likewise.
8485         (initialize): Set min_subnorm_value.
8486
8487 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8488
8489         [BZ #14638]
8490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8491         0 + 0.
8492         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8493         mode for addition resulting in exact zero.
8494         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8496         exact 0 + 0.
8497         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8499         * math/libm-test.inc (fma_test): Add more tests.
8500         (fma_test_towardzero): New function.
8501         (fma_test_downward): Likewise.
8502         (fma_test_upward): Likewise.
8503         (main): Call the new functions.
8504
8505 2012-09-28  David S. Miller  <davem@davemloft.net>
8506
8507         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8508
8509 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8510
8511         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8512         instead of SIGALRM.
8513
8514         * sysdeps/gnu/_G_config.h: Moved to ...
8515         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8516         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8517         * sysdeps/generic/_G_config.h: ... here.
8518
8519         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8520
8521         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8522
8523         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8524         Conditionalize target on [libnss_test1.so-version].
8525
8526         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8527
8528         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8529         (elfobjdir): Move out of conditionals.
8530
8531         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8532         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8533         (__nss_lookup_function): Conditionalize label remove_from_tree on
8534         [!DO_STATIC_NSS || SHARED], matching its only use.
8535
8536 2012-09-28  David S. Miller  <davem@davemloft.net>
8537
8538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8539         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8540         file.
8541         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8542         sysdep_routines.
8543         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8544         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8545         when HWCAP_SPARC_CRYPTO is present.
8546
8547 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8548
8549         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8550
8551 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8552
8553         [BZ #6530]
8554         * stdio-common/vfprintf.c (process_string_arg): Revert
8555         2000-07-22 change.
8556
8557 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8558
8559         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8560         for testcase.
8561         * stdio-common/tst-sprintf.c: Include <locale.h>
8562         (main): Test sprintf's handling of incomplete multibyte
8563         characters.
8564
8565 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8566
8567         * elf/dl-runtime.c (VERSYMIDX): Removed.
8568         * elf/dl-version.c (VERSYMIDX): Likewise.
8569         * elf/do-rel.h (VERSYMIDX): Likewise.
8570         (VALIDX): Likewise.
8571         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8572         * elf/rtld.c (VALIDX): Likewise.
8573         (ADDRIDX): Likewise.
8574         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8575         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8576         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8577         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8578         (VALIDX): Likewise.
8579         (ADDRIDX): Likewise.
8580
8581 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8582
8583         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8584
8585 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8586
8587         [BZ #11438]
8588         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8589         to global scope.
8590         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8591         addresses are in the same scope as 192.0.2/24.
8592         * posix/gai.conf: Document new scope table defaults.
8593
8594 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8595
8596         [BZ #5298]
8597         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8598         for ftell.  Compute offsets from write pointers instead.
8599         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8600
8601 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8602
8603         [BZ #14543]
8604         * libio/Makefile (tests): New test case tst-fseek.
8605         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8606         combination works in wide mode.
8607         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8608         state when the external buffer state changes.
8609
8610 2012-09-27  David S. Miller  <davem@davemloft.net>
8611
8612         [BZ #14376]
8613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8614         pass reloc->r_addend in as the 'high' argument to
8615         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8616
8617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8618
8619 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8620
8621         * rt/tst-aio2.c: Include <pthread.h>.
8622         * rt/tst-aio3.c: Likewise.
8623
8624 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8625
8626         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8627
8628 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8629
8630         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8631         contents on [SHARED].
8632
8633 2012-09-26  Marek Polacek  <polacek@redhat.com>
8634
8635         [BZ #14530]
8636         [BZ #13741]
8637         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8638         for C++ and GCC <4.3 as well as for non GCC compilers.
8639
8640 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8641
8642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8643
8644 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8645
8646         * Makefile.in (all, install): Declare with .PHONY.
8647         Reported by Michael Hope <michael.hope@linaro.org>.
8648
8649 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8650
8651         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8652         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8653         system header.
8654         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8655         Likewise.
8656         (sydep_routines): Add the new and the internal functions.
8657         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8658         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8660         (GLIBC_2.17): Add the new function.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8662         (GLIBC_2.17): Likewise.
8663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8664         (GLIBC_2.17): Likewise.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8666         (GLIBC_2.17): Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8668
8669 2012-09-25  Alan Modra  <amodra@gmail.com>
8670
8671         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8672         Add release barrier before setting once_control to say
8673         initialisation is done.  Add hints on lwarx.  Use macro in
8674         place of isync.
8675         (clear_once_control): Add release barrier.
8676
8677 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8678
8679         [BZ #13629]
8680         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8681         specially.
8682         * math/s_clog10.c (__clog10): Likewise.
8683         * math/s_clog10f.c (__clog10f): Likewise.
8684         * math/s_clog10l.c (__clog10l): Likewise.
8685         * math/s_clogf.c (__clogf): Likewise.
8686         * math/s_clogl.c (__clogl): Likewise.
8687         * math/Makefile (libm-calls): Add x2y2m1.
8688         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8689         (__x2y2m1): Likewise.
8690         (__x2y2m1l): Likewise.
8691         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8692         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8693         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8695         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8696         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8697         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8698         * sysdeps/i386/fpu/libm-test-ulps: Update.
8699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8700
8701         [BZ #14621]
8702         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8703         int as type of variable DEPTH.
8704         (glob): Use size_t instead of int as type of variables NEWCOUNT
8705         and OLD_PATHC.
8706
8707 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8708
8709         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8710         Add s_sincosf-sse2.
8711         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8712         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8713         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8714         macros for using routine as __sincosf_ia32.
8715         Use macro for function declaration and weak_alias.
8716         * sysdeps/i386/fpu/libm-test-ulps: Update.
8717
8718         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8720
8721         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8722         subnormal argument.
8723         * math/s_cexpf.c (__cexpf): Likewise.
8724         * math/s_csinf.c (__csinf): Likewise.
8725         * math/s_csinhf.c (__csinhf): Likewise.
8726         * math/s_ctanf.c (__ctanf): Likewise.
8727         * math/s_ctanhf.c (__ctanhf): Likewise.
8728         * math/s_ccosh.c (__ccoshf): Likewise.
8729         * math/s_cexp.c (__cexpl): Likewise.
8730         * math/s_csin.c (__csin): Likewise.
8731         * math/s_csinh.c (__csinh): Likewise.
8732         * math/s_ctan.c (__ctan): Likewise.
8733         * math/s_ctanh.c (ctanh): Likewise.
8734         * math/s_ccoshl.c (__ccoshl): Likewise.
8735         * math/s_cexpl.c (__cexpl): Likewise.
8736         * math/s_csinl.c (__csinl): Likewise.
8737         * math/s_csinhl.c (__csinhl): Likewise.
8738         * math/s_ctanl.c (__ctanl): Likewise.
8739         * math/s_ctanhl.c (__ctanhl): Likewise.
8740
8741 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8742
8743         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8744         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8745         (_IO_off_t): Define to __off_t, not _G_off_t.
8746         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8747         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8748         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8749         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8750         type of __dummy and __dummy2 fields.
8751         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8752         (_G_ssize_t): Likewise.
8753         (_G_off_t): Likewise.
8754         (_G_pid_t): Likewise.
8755         (_G_uid_t): Likewise.
8756         (_G_wchar_t): Likewise.
8757         (_G_wint_t): Likewise.
8758         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8759         (_G_ssize_t): Likewise.
8760         (_G_off_t): Likewise.
8761         (_G_pid_t): Likewise.
8762         (_G_uid_t): Likewise.
8763         (_G_wchar_t): Likewise.
8764         (_G_wint_t): Likewise.
8765         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8766         (_G_ssize_t): Likewise.
8767         (_G_off_t): Likewise.
8768         (_G_pid_t): Likewise.
8769         (_G_uid_t): Likewise.
8770         (_G_wchar_t): Likewise.
8771         (_G_wint_t): Likewise.
8772
8773 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8774
8775         * malloc/arena.c: Include malloc-sysdep.h.
8776         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8777         is sufficient to shrink the heap or an unmap is needed.
8778         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8779         new function check_may_shrink_heap.
8780         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8781         new function check_may_shrink_heap.
8782
8783 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8784
8785         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8786         comments.
8787
8788 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8789
8790         * catgets/test-gencat.sh: Add "set -e".
8791         * elf/tst-pathopt.sh: Likewise.
8792         * grp/tst_fgetgrent.sh: Likewise.
8793         * iconvdata/run-iconv-test.sh: Likewise.
8794         * intl/tst-gettext.sh: Likewise.
8795         * intl/tst-gettext2.sh: Likewise.
8796         * intl/tst-gettext4.sh: Likewise.
8797         * intl/tst-gettext6.sh: Likewise.
8798         * intl/tst-translit.sh: Likewise.
8799         * io/ftwtest-sh: Likewise.
8800         * libio/test-freopen.sh: Likewise.
8801         * malloc/tst-mtrace.sh: Likewise.
8802         * posix/globtest.sh: Likewise.
8803         * posix/tst-getconf.sh: Likewise.
8804         * posix/wordexp-tst.sh: Likewise.
8805         * stdio-common/tst-printf.sh: Likewise.
8806         * stdio-common/tst-unbputc.sh: Likewise.
8807         * stdlib/tst-fmtmsg.sh: Likewise.
8808         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8809         * catgets/Makefile: Do not specify -e option when running
8810         testsuite shell scripts.
8811         * elf/Makefile: Likewise.
8812         * grp/Makefile: Likewise.
8813         * iconvdata/Makefile: Likewise.
8814         * intl/Makefile: Likewise.
8815         * io/Makefile: Likewise.
8816         * libio/Makefile: Likewise.
8817         * malloc/Makefile: Likewise.
8818         * posix/Makefile: Likewise.
8819         * stdio-common/Makefile: Likewise.
8820         * stdlib/Makefile: Likewise.
8821         * sysdeps/x86_64/Makefile: Likewise.
8822
8823         * io/ftwtest-sh: Add copyright header.
8824         * posix/globtest.sh: Likewise.
8825         * posix/tst-getconf.sh: Likewise.
8826         * posix/wordexp-tst.sh: Likewise.
8827         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8828
8829 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8830
8831         [BZ #13679]
8832         * Makeconfig (+link): Defined as $(+link-static) if
8833         $(build-shared) isn't yes.
8834         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8835         isn't yes.
8836         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8837
8838         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8839
8840         [BZ #14562]
8841         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8842         new chunk size with MALLOC_ALIGN_MASK.
8843
8844 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8845
8846         [BZ #5044]
8847         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8848         <rounding-mode.h>.
8849         (__printf_fphex): Determine rounding using get_rounding_mode and
8850         round_away.
8851         * stdio-common/tst-printf-round.c (struct hex_test): New
8852         structure.
8853         (hex_tests): New variable.
8854         (test_hex_in_one_mode): New function.
8855         (do_test): Also run tests for hex float output.
8856
8857 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8858
8859         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8860         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8861         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8862         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8863         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8864         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8865         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8866         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8867
8868 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8869
8870         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8871         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8872         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8873         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8874
8875 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8876
8877         [BZ #14579]
8878         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8879         mode only.
8880         * elf/tst-rtld-load-self.sh: New test.
8881         * elf/Makefile: Run it.
8882
8883 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8884
8885         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8886         (tst-writev-ENV): Remove.
8887         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8888
8889 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8890
8891         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8892
8893 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8894
8895         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8896         unconditional.
8897         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8898         Likewise.
8899         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8900         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8901         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8902         Likewise.
8903
8904 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8905
8906         [BZ #14587]
8907         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8908         * config.make.in (have-cpp-asm-debuginfo): Removed.
8909         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8910         * configure: Regenerated.
8911
8912 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8913
8914         [BZ #5044]
8915         * stdio-common/printf_fp.c: Include <stdbool.h> and
8916         <rounding-mode.h>.
8917         (___printf_fp): Determine rounding using get_rounding_mode and
8918         round_away.
8919         * stdio-common/tst-printf-round.c: New file.
8920         * stdio-common/Makefile (tests): Add tst-printf-round.
8921         (link-libm): New variable.
8922         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8923
8924 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8925
8926         [BZ #14576]
8927         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8928         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8929         Likewise.
8930         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8931         Likewise.
8932
8933 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8934
8935         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8936         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8937         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8938         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8939
8940 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8941
8942         [BZ #14518]
8943         * include/rounding-mode.h: New file.
8944         * sysdeps/generic/get-rounding-mode.h: Likewise.
8945         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8946         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8947         (MAX_VALUE): New macro.
8948         (MIN_VALUE): Likewise.
8949         (overflow_value): New function.
8950         (underflow_value): Likewise.
8951         (round_and_return): Use overflow_value and underflow_value to
8952         determine return values in overflow and underflow cases.  Use
8953         round_away to determine rounding depending on rounding mode.
8954         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8955         determine return values in overflow and underflow cases.
8956         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8957         (struct test_results): New structure.
8958         (struct test): Use struct test_results to store expected results
8959         for all rounding modes.
8960         (TEST): Include expected results for all rounding modes.
8961         (test_in_one_mode): New function.
8962         (do_test): Use test_in_one_mode to compute and check results.
8963         Check results for all rounding modes.
8964         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8965         $(link-libm).
8966
8967 2012-12-09  Allan McRae  <allan@archlinux.org>
8968
8969         * sysdeps/i386/fpu/libm-test-ulps: Update
8970
8971 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8972
8973         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8974         (_G_int32_t): Likewise.
8975         (_G_uint16_t): Likewise.
8976         (_G_uint32_t): Likewise.
8977         (_G_HAVE_BOOL): Likewise.
8978         (_G_HAVE_ATEXIT): Likewise.
8979         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8980         (_G_HAVE_IO_FILE_OPEN): Likewise.
8981         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8982         (_G_int32_t): Likewise.
8983         (_G_uint16_t): Likewise.
8984         (_G_uint32_t): Likewise.
8985         (_G_HAVE_BOOL): Likewise.
8986         (_G_HAVE_ATEXIT): Likewise.
8987         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8988         (_G_HAVE_IO_FILE_OPEN): Likewise.
8989         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8990         (_G_int32_t): Likewise.
8991         (_G_uint16_t): Likewise.
8992         (_G_uint32_t): Likewise.
8993         (_G_HAVE_BOOL): Likewise.
8994         (_G_HAVE_ATEXIT): Likewise.
8995         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8996         (_G_HAVE_IO_FILE_OPEN): Likewise.
8997
8998 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8999
9000         * csu/libc-tls.c: Update copyright years.
9001
9002 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
9003
9004         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9005         [!_G_USING_THUNKS]: Remove conditional code.
9006         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9007         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9008
9009         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9010         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9011         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9012         (_G_VTABLE_LABEL_PREFIX): Likewise.
9013         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9014         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9015         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9016         (_G_VTABLE_LABEL_PREFIX): Likewise.
9017         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9018         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9019         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9020         (_G_VTABLE_LABEL_PREFIX): Likewise.
9021         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9022
9023 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
9024
9025         * libio/Makefile: Include ../Makeconfig before tests.
9026         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9027         only if $(build-shared) is yes.
9028
9029         * iconv/gconv_db.c: Update copyright years.
9030
9031 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9032
9033         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9034         unwind info if defined PIC. Fix special cases description.
9035         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9036
9037         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9038         DP_HI_MASK entry.
9039         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9040
9041 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
9042
9043         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9044
9045         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9046         is NULL.
9047
9048         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9049         (LDLIBS-tst-chk4): This.
9050         (LDFLAGS-tst-chk5): Renamed to ...
9051         (LDLIBS-tst-chk5): This.
9052         (LDFLAGS-tst-chk6): Renamed to ...
9053         (LDLIBS-tst-chk6): This.
9054         (LDFLAGS-tst-lfschk4): Renamed to ...
9055         (LDLIBS-tst-lfschk4): This.
9056         (LDFLAGS-tst-lfschk5): Renamed to ...
9057         (LDLIBS-tst-lfschk5): This.
9058         (LDFLAGS-tst-lfschk6): Renamed to ...
9059         (LDLIBS-tst-lfschk6): This.
9060
9061         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9062         on $(common-objpfx)soversions.mk.
9063
9064 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
9065
9066         [BZ #10014]
9067         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9068         example host name.
9069
9070 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
9071
9072         * malloc/arena.c (arena_get_retry): New function that gets
9073         another arena for the caller to try its request on.
9074         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9075         current arena cannot fulfill the request.
9076         (__libc_memalign): Likewise.
9077         (__libc_memalign): Likewise.
9078         (__libc_pvalloc): Likewise.
9079         (__libc_calloc): Likewise.
9080
9081 2012-09-05  John Tobey  <john.tobey@gmail.com>
9082
9083         [BZ #13542]
9084         * manual/arith.texi (Operations on Complex): Fix description
9085         of carg branch cut.
9086
9087 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9088
9089         [BZ #10014]
9090         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9091         host name.
9092
9093         [BZ #10038]
9094         * manual/memory.texi (Memory): Make order of menu items match
9095         order of sections.
9096
9097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9098
9099         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9100         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
9101         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9102
9103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9104
9105         * csu/libc-tls.c (static_dtv): Renamed to ...
9106         (_dl_static_dtv): This.  Make it global.
9107         (_dl_initial_dtv): Removed.
9108         (__libc_setup_tls): Updated.
9109         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9110         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9111         DL_INITIAL_DTV.
9112
9113 2012-09-06  Petr Machata  <pmachata@redhat.com>
9114
9115         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9116         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9117         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9118         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9119
9120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9121
9122         [BZ #14545]
9123         * csu/libc-tls.c (_dl_initial_dtv): New variable.
9124         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9125         freeing dtv[-1].
9126
9127 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9128
9129         [BZ #14544]
9130         * Makeconfig (link-static-before-libc): Replace $(+prector)
9131         with $(+prectorT).
9132         (link-static-after-libc): Replace $(+postctor) with
9133         $(+postctorT).
9134         (link-bounded): Replace $(+prector)/$(+postctor) with
9135         $(+prectorT)/$(+postctorT).
9136         (+prectorT): New macro.
9137         (+postctorT): Likewise.
9138
9139 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
9140
9141         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9142         (round_str): Handle values above the maximum for IBM long double
9143         as inexact.
9144         * stdlib/tst-strtod-round.c (tests): Regenerated.
9145
9146 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9147
9148         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9149         assembler flag.
9150         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9151         zarch_nohighgprs around the zarch optimized routines.
9152         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9153         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9155         for zarch.
9156
9157 2012-09-05  David S. Miller  <davem@davemloft.net>
9158
9159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9160
9161         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9162         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9163         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9164         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9165         entries.
9166
9167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9168
9169         * malloc/arena.c: Fold copyright years.
9170         * malloc/mcheck.c, malloc/memusage.c: Likewise.
9171
9172 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9173
9174         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9175
9176 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9177
9178         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
9179
9180 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9181
9182         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9183         change internal state upon failure.
9184
9185 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
9186
9187         * malloc/mcheck.c (mcheck_check_all): Fix typo.
9188         * malloc/memusage.c (mmap): Likewise.
9189         (mmap64, mremap): Likewise.  Adjust name in comment.
9190
9191 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9192
9193         * libio/fileops.c: Fix typos in comments.
9194         * libio/oldfileops.c: Likewise.
9195         * libio/wfileops.c: Likewise.
9196
9197 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9198
9199         [BZ #1349]
9200         * malloc/Makefile (tests): Add tst-malloc-usable test case.
9201         (tst-malloc-usable-ENV): Set environment for test case.
9202         * malloc/hooks.c (malloc_check_get_size): New function to get
9203         requested size.
9204         * malloc/malloc.c (musable): Use malloc_check_get_size.
9205         * malloc/tst-malloc-usable.c: New test case.
9206
9207 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9208
9209         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9210
9211 2012-09-05  Allan McRae  <allan@archlinux.org>
9212
9213         [BZ #13966]
9214         * configure.in (CXX_SYSINCLUDES): Use compiler output to
9215         determine header location.
9216         * configure: Regenerated.
9217
9218 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
9219
9220         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9221         float format.
9222         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9223         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9224         format.
9225         (test): Regenerate.
9226
9227 2012-09-04  David S. Miller  <davem@davemloft.net>
9228
9229         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9230         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9232
9233 2012-09-04  Florian Weimer  <fweimer@redhat.com>
9234
9235         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9236         failures.
9237
9238         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9239
9240 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
9241
9242         [BZ #9914]
9243         * libio/iogetdelim.c: Include <limits.h>.
9244         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9245         + len + 1 would overflow.
9246
9247 2012-09-03  Andreas Jaeger  <aj@suse.de>
9248
9249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9250         * sysdeps/i386/fpu/libm-test-ulps: Update.
9251
9252 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9253
9254         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9255         Add s_sinf-sse2, s_conf-sse2.
9256
9257         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9258         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9259         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9260         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9261
9262         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9263         for using routine as __sinf_ia32.
9264         Use macro for function declaration and weak_alias.
9265         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9266         for using routine as __cosf_ia32.
9267         Use macro for function declaration and weak_alias.
9268
9269         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9270         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9271
9272         * sysdeps/x86_64/fpu/s_sinf.S: New file.
9273         * sysdeps/x86_64/fpu/s_cosf.S: New file.
9274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9275
9276         * math/libm-test.inc (cos_test): Add more test cases.
9277         (sin_test): Likewise.
9278         (sincos_test): Likewise.
9279
9280 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9281
9282         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9283         (IFUNC_RESOLVE): Make pointers to the specialized implementations
9284         hidden.
9285         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9286
9287 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
9288
9289         [BZ #14538]
9290         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9291         first element of the GOT.
9292         (elf_machine_load_address): Return the difference between
9293         the runtime address of _DYNAMIC and elf_machine_dynamic ().
9294
9295 2012-09-01  Allan McRae  <allan@archlinux.org>
9296
9297         [BZ #13412]
9298         * configure.in (AWK): Require gawk version 3.0 or later.
9299         * configure: Regenerated.
9300
9301 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
9302
9303         * sysdeps/unix/sysv/linux/kernel-features.h
9304         (__ASSUME_POSIX_CPU_TIMERS): Remove.
9305         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9306         [__NR_clock_getres]: Make code unconditional.
9307         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9308         (clock_getcpuclockid): Remove code left unreachable by removal of
9309         conditionals.
9310         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9311         code unconditional.
9312         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9313         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9314         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9315         Make code unconditional.
9316         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9317         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9318         * sysdeps/unix/sysv/linux/clock_settime.c
9319         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9320         conditional code.
9321         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9322         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9323
9324 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9325
9326         [BZ #14476]
9327         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9328         scripts/test-installation.pl.
9329
9330         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9331         and $ld_so_version if it is set.
9332
9333 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9334
9335         [BZ #14516]
9336         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9337         failure if reading from procfs failed.
9338         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9339
9340 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9341
9342         * sysdeps/unix/sysv/linux/kernel-features.h
9343         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9344         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9345         Remove conditional code.
9346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9347         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9348         Remove conditional code.
9349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9350         * sysdeps/unix/sysv/linux/i386/fxstat.c
9351         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9352         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9353         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9354         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9355         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9356         * sysdeps/unix/sysv/linux/i386/lxstat.c
9357         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9359         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9360         Remove conditional code.
9361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9362         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9363         Remove conditional code.
9364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9365         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9366         <kernel-features.h>.
9367         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9368         Remove.
9369         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9370         Remove conditional code.
9371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9372         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9373         Remove conditional.
9374
9375 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9376
9377         [BZ #5400]
9378         * NEWS: Add fixed bug number.
9379
9380 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9381
9382         [BZ #14519]
9383         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9384         underflowing exponent in case of negative sign.
9385         * stdlib/tst-strtod-round-data: Add more tests.
9386         * stdlib/tst-strtod-round.c (tests): Regenerated.
9387
9388         [BZ #3479]
9389         * stdlib/strtod_l.c (NDIG): Remove.
9390         (HEXNDIG): Likewise.
9391         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9392         smallest representable value.
9393         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9394         lie within an exact representation of 1/2 ulp of the result.
9395         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9396         unconditionally.
9397         (TENS_P9_IDX): Define unconditionally.
9398         (TENS_P9_SIZE): Likewise.
9399         (TENS_P10_IDX): Likewise.
9400         (TENS_P10_SIZE): Likewise.
9401         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9402         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9403         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9404         entries for 10^2^13 and 10^2^14.
9405         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9406         (TENS_P13_IDX): Define.
9407         (TENS_P13_SIZE): Likewise.
9408         (TENS_P14_IDX): Likewise.
9409         (TENS_P14_SIZE): Likewise.
9410         (_fpioconst_pow10): Change array size to
9411         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9412         unconditional.
9413         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9414         1024]: Add entries for 10^2^13 and 10^2^14.
9415         [LAST_POW10 > _LAST_POW10]: Remove #error.
9416         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9417         (_fpioconst_pow10): Change array size to
9418         FPIOCONST_POW10_ARRAY_SIZE.
9419         * stdlib/gen-fpioconst.c: New file.
9420         * stdlib/gen-tst-strtod-round.c: Likewise.
9421         * stdlib/tst-strtod-round-data: Likewise.
9422         * stdlib/tst-strtod-round.c: Likewise.
9423         * stdlib/Makefile (tests): Add tst-strtod-round.
9424
9425         [BZ #14459]
9426         * stdlib/strtod_l.c: Include <stdint.h>.
9427         (NDEBUG): Do not define.
9428         (round_and_return): Change EXPONENT parameter to type intmax_t.
9429         Rearrange calculations to avoid internal overflow possibilities.
9430         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9431         Rearrange calculations to avoid internal overflow possibilities.
9432         Assert that number fits inside MPNSIZE limbs.
9433         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9434         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9435         calculations and add assertions to avoid internal overflow
9436         possibilities.  Add casts to avoid signed/unsigned operations.
9437         * stdlib/tst-strtod-overflow.c: New file.
9438         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9439
9440 2012-08-25  Marek Polacek  <polacek@redhat.com>
9441
9442         * time/time.h: Fix some typos in comments.
9443
9444 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9445
9446         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9447         * posix/tst-rfc3484-2.c: Likewise.
9448         * posix/tst-rfc3484-3.c: Likewise.
9449
9450 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9451
9452         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9453         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9454
9455 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9456
9457         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9458         #include of fxstatat64.c.
9459
9460 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9461
9462         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9463         * shadow/getspent_r.c: Likewise.
9464         * shadow/getspnam.c: Likewise.
9465         * shadow/getspnam_r.c: Likewise.
9466         * gshadow/getsgent.c: Likewise.
9467         * gshadow/getsgent_r.c: Likewise.
9468         * gshadow/getsgnam.c: Likewise.
9469         * gshadow/getsgnam_r.c: Likewise.
9470         * inet/getnetbyad.c: Likewise.
9471         * inet/getnetbyad_r.c: Likewise.
9472         * inet/getnetbynm.c: Likewise.
9473         * inet/getnetbynm_r.c: Likewise.
9474         * inet/getnetent.c: Likewise.
9475         * inet/getnetent_r.c: Likewise.
9476         * inet/getproto.c: Likewise.
9477         * inet/getproto_r.c: Likewise.
9478         * inet/getprtent.c: Likewise.
9479         * inet/getprtent_r.c: Likewise.
9480         * inet/getprtname.c: Likewise.
9481         * inet/getprtname_r.c: Likewise.
9482         * inet/getrpcbyname.c: Likewise.
9483         * inet/getrpcbyname_r.c: Likewise.
9484         * inet/getrpcbynumber.c: Likewise.
9485         * inet/getrpcbynumber_r.c: Likewise.
9486         * inet/getrpcent.c: Likewise.
9487         * inet/getrpcent_r.c: Likewise.
9488         * inet/getaliasent.c: Likewise.
9489         * inet/getaliasent_r.c: Likewise.
9490         * inet/getaliasname.c: Likewise.
9491         * inet/getaliasname_r.c: Likewise.
9492         * nscd/getgrgid_r.c: Likewise.
9493         * nscd/getgrnam_r.c: Likewise.
9494         * nscd/gethstbyad_r.c: Likewise.
9495         * nscd/gethstbynm3_r.c: Likewise.
9496         * nscd/getpwnam_r.c: Likewise.
9497         * nscd/getpwuid_r.c: Likewise.
9498         * nscd/getsrvbynm_r.c: Likewise.
9499         * nscd/getsrvbypt_r.c: Likewise.
9500         * nscd/gai.c: Likewise.
9501
9502         * configure.in (build_nscd): New substituted variable, set
9503         by --disable-build-nscd and defaults to $use_nscd.
9504         * configure: Regenerated.
9505         * config.make.in (build-nscd): New substituted variable.
9506         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9507         Change conditional to require [$(build-nscd) = yes] as well.
9508         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9509
9510         [BZ# 13696]
9511         * configure.in (use_nscd): New substituted variable, set by
9512         --disable-nscd.  If enabled, define USE_NSCD.
9513         * configure: Regenerated.
9514         * config.h.in: Add USE_NSCD.
9515         * config.make.in (use-nscd): New substituted variable.
9516         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9517         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9518         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9519         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9520         (CFLAGS-getgrnam_r.c): Likewise.
9521         (CFLAGS-initgroups.c): Likewise.
9522         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9523         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9524         Variables removed.
9525         * inet/getnetgrent_r.c
9526         (nscd_setnetgrent): New function, broken out of ...
9527         (setnetgrent): ... here.  Call it.
9528         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9529         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9530         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9531         * nscd/Makefile (routines, aux): Move definitions after include of
9532         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9533         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9534         Conditionalize on [USE_NSCD].
9535         (is_nscd, nscd_init_cb): Likewise.
9536         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9537         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9538         * nss/nss_db/db-init.c: Likewise.
9539         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9540         [USE_NSCD].
9541         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9542         (make_request): Use it.
9543         (cache_valid_p): New function.
9544         (__check_pf): Use it.
9545         * NEWS: Add item for --disable-nscd.
9546
9547 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9548
9549         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9550         to support sed >= 4.2.1-20-ga9bf076.
9551         * configure: Regenerated.
9552
9553 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9554
9555         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9556         Conditionalize whole body on [IREL].
9557
9558 2012-08-22  Jeff Law <law@redhat.com>
9559
9560         [BZ #14505]
9561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9562         if the family is PF_UNSPEC.
9563
9564 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9565
9566         * Makerules (lib-version): Rename from V.
9567         (install-lib-nosubdir): Change V to lib-version.
9568
9569 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9570
9571         [BZ #14252]
9572         * powerpc32/power6/wcschr.c: New file.
9573         * powerpc32/power6/wcscpy.c: New file.
9574         * powerpc32/power6/wcsrchr.c: New file.
9575         * powerpc64/power6/wcschr.c: New file.
9576         * powerpc64/power6/wcscpy.c: New file.
9577         * powerpc64/power6/wcsrchr.c: New file.
9578
9579 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9580
9581         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9582         (two_way_short_needle): Use it.
9583         * string/strstr.c (AVAILABLE1_USES_J): Define.
9584         * string/strcasestr.c: Likewise.
9585
9586         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9587         array references.
9588         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9589
9590         [BZ #11607]
9591         * NEWS: Add an entry.
9592         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9593         define their defaults.
9594         (two_way_short_needle): Detect end-of-string on-the-fly.
9595         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9596         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9597         * string/bug-strcasestr1.c: New test.
9598         * string/Makefile: Run it.
9599
9600 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9601
9602         [BZ #11607]
9603         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9604         the first character.
9605
9606 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9607
9608         * csu/elf-init.c (__libc_csu_irel): Function removed.
9609         * csu/libc-start.c (apply_irel): New function.
9610         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9611
9612 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9613
9614         * sysdeps/unix/sysv/linux/kernel-features.h
9615         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9616         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9617         <kernel-features.h>.
9618         [__NR_fadvise64_64]: Make code unconditional.
9619         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9620         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9621         !__NR_fadvise64_64)]: Likewise.
9622         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9623         !__NR_fadvise64_64))]: Likewise.
9624         [__NR_fadvise64]: Make code unconditional.
9625         [!__NR_fadvise64]: Remove conditional code.
9626         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9627         <kernel-features.h>.
9628         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9629         unconditional.
9630         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9631         conditional code.
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9633         not include <kernel-features.h>.
9634         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9635         unconditional.
9636         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9637         conditional code.
9638         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9639         include <kernel-features.h>.
9640         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9641         unconditional.
9642         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9643         conditional code.
9644
9645 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9646
9647         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9648         slight instruction rearrangements per scrollpipe analysis.
9649         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9650
9651 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9652
9653         * manual/syslog.texi (syslog; vsyslog, closelog):
9654         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9655         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9656
9657         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9658         DSOCAPS to match condition on defining it.
9659
9660 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9661
9662         * sysdeps/unix/sysv/linux/kernel-features.h
9663         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9665         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9666         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9668         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9669         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9671         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9672         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9673
9674         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9675         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9676
9677         * sysdeps/unix/sysv/linux/kernel-features.h
9678         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9679         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9680         unconditional.
9681         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9682         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9683         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9684         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9685         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9686         Make code unconditional.
9687         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9688         (__mmap64) [!__NR_mmap2]: Likewise.
9689         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9690         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9691         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9692         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9693         [__NR_mmap2]: Make code unconditional.
9694         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9695         (__mmap64) [!__NR_mmap2]: Likewise.
9696
9697 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9698
9699         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9700
9701 2012-08-18  Andreas Jaeger  <aj@suse.de>
9702
9703         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9704
9705 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9706
9707         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9708         * include/unistd.h (__have_sock_cloexec): Likewise.
9709         (__have_pipe2): Likewise.
9710         (__have_dup3): Likewise.
9711
9712 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9713
9714         [BZ #9685]
9715         * include/unistd.h (__have_pipe2): Change define into an extern int.
9716         (__have_dup3): Likewise.
9717         * socket/have_sock_cloexec.c: Include fcntl.h.
9718         (__have_pipe2): New variable.
9719         (__have_dup3): Likewise.
9720
9721 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9722
9723         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9724
9725 2012-08-17  Marek Polacek  <polacek@redhat.com>
9726
9727         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9728         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9729
9730 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9731
9732         * configure.in: Add AC_SUBST for sysheaders.
9733         * configure: Regenerated.
9734         * config.make.in (sysheaders): New substituted variable.
9735
9736         * sysdeps/unix/mkfifo.c: Moved ...
9737         * sysdeps/posix/mkfifo.c: ... here.
9738         * sysdeps/unix/mkfifoat.c: Moved ...
9739         * sysdeps/posix/mkfifoat.c: ... here.
9740
9741         * sysdeps/unix/utime.c: Moved ...
9742         * sysdeps/posix/utime.c: ... here.
9743
9744         * sysdeps/unix/time.c: Moved ...
9745         * sysdeps/posix/time.c: ... here.
9746         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9747         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9748
9749         * sysdeps/unix/nice.c: Moved ...
9750         * sysdeps/posix/nice.c: ... here.
9751
9752         * sysdeps/unix/alarm.c: Moved ...
9753         * sysdeps/posix/alarm.c: ... here.
9754
9755         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9756
9757 2012-08-17  Jeff Law <law@redhat.com>
9758
9759         * intl/Makefile (codeset_mo): New variable.
9760         ($(codeset_mo)): New target.
9761         (tst-codeset.out): Depend on that.  Remove explicit rule.
9762         (tst-gettext3.out, tst-gettext5.out): Likewise.
9763         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9764         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9765         * intl/tst-codeset.sh: Remove.
9766         * intl/tst-gettext3.sh: Likewise.
9767         * intl/tst-gettext5.sh: Likewise.
9768
9769 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9770
9771         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9772         * sysdeps/unix/syscalls.list: ... here.
9773
9774         * sysdeps/posix/getaddrinfo.c
9775         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9776         (gaiconf_init, gaiconf_reload): Use them.
9777         [!_STATBUF_ST_NSEC]
9778         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9779         Define using time_t rather than struct timespec.
9780
9781         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9782         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9783         Macros removed.
9784         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9785         [!NO_THREADS].
9786         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9787         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9788         Likewise.
9789
9790         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9791         __libc_cleanup_push argument.
9792
9793         * bits/param.h: New file.
9794         * misc/sys/param.h: New file.
9795         * include/sys/param.h: New file.
9796         * misc/Makefile (headers): Add bits/param.h.
9797         * sysdeps/generic/sys/param.h: File removed.
9798         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9799         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9800         * sysdeps/mach/hurd/bits/param.h: New file.
9801         * sysdeps/mach/hurd/sys/param.h: File removed.
9802
9803         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9804         last change.
9805
9806         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9807         [_IO_MTSAFE_IO].
9808         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9809         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9810         New macros.
9811
9812         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9813         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9814         rather than -D_IO_MTSAFE_IO conditionally.
9815         * stdio-common/Makefile (CPPFLAGS): Likewise.
9816         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9817         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9818         Use $(libio-mtsafe).
9819         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9820         of -D_IO_MTSAFE_IO.
9821         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9822         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9823         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9824         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9825         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9826         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9827         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9828         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9829         (CFLAGS-fread_u_chk.c): Likewise.
9830         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9831         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9832         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9833         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9834         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9835         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9836         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9837         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9838         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9839
9840         * libio/Makefile: Test [$(libc-reentrant) = yes]
9841         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9842
9843         * Makeconfig
9844         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9845         * sysdeps/pthread/configure: File removed.
9846         * sysdeps/pthread/Makeconfig: New file.
9847         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9848         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9849
9850 2012-08-16  Gary Benson  <gbenson@redhat.com>
9851
9852         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9853         unmapping the first object in a namespace.
9854
9855 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9856
9857         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9858         (__internal_setnetgrent): ... this.  Add internal_function to
9859         definition.  Add libc_hidden_def.
9860         (setnetgrent): Update caller.
9861         (internal_endnetgrent): Renamed to ...
9862         (__internal_endnetgrent): ... this.  Add internal_function to
9863         definition.  Add libc_hidden_def.
9864         (endnetgrent): Update caller.
9865         (internal_getnetgrent_r): Renamed to ...
9866         (__internal_getnetgrent_r): ... this.  Add internal_function to
9867         definition.  Add libc_hidden_def.
9868         (__getnetgrent_r): Update caller.
9869         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9870
9871 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9872
9873         * stdlib/longlong.h: Update from GCC.
9874
9875 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9876
9877         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9878         on _QL, which is set by umul_ppmm but never used.
9879         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9880         variables, which are set by GMP macros but never used.
9881         * stdio-common/_itowa.c (_itowa): Likewise.
9882         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9883         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9884
9885 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9886
9887         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9888         struct La_sh_regs is not constant.
9889         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9890         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9891         and struct La_sparc64_regs are not constant.
9892
9893 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9894
9895         * sysdeps/unix/sysv/linux/kernel-features.h
9896         (__ASSUME_POSIX_TIMERS): Remove.
9897         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9898         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9899         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9900         Make code unconditional.
9901         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9902         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9903         Make code unconditional.
9904         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9905         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9906         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9907         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9908         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9909         Make code unconditional.
9910         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9911         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9912         (__libc_missing_posix_timers): Remove.
9913
9914 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9915
9916         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9917         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9918
9919         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9920
9921         * elf/dl-sym.c: Include <stdlib.h>.
9922
9923         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9924         constants, which avoids warnings in 32-bit builds.
9925
9926         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9927         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9928
9929         * misc/lseek.c: File moved to ...
9930         * io/lseek.c: ... here.
9931
9932         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9933
9934         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9935         shifting LEN more than 31 bits at once.
9936
9937 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9938
9939         [BZ #14195]
9940         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9941         segmentation fault for a case of two empty input strings.
9942         * string/test-strncasecmp.c (check1): Renamed to...
9943         (bz12205): ...this.
9944         (bz14195): Add new testcase for two empty input strings and N > 0.
9945         (test_main): Call new testcase, adapt for renamed function.
9946
9947 2012-08-15  Andreas Jaeger  <aj@suse.de>
9948
9949         [BZ #14090]
9950         * crypt/md5test2.c: New test, based on test supplied by Serge
9951         Belyshev <belyshev@depni.sinp.msu.ru>.
9952         * crypt/Makefile (xtests): Add md5test-giant..
9953         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9954
9955 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9956
9957         [BZ #14090]
9958         * crypt/md5.c (md5_process_block): Don't assume the buffer
9959         length is less than 2**32.
9960         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9961         length is less than 2**64.
9962
9963 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9964
9965         * string/str-two-way.h: Include <sys/param.h>.
9966         (MAX): Macro removed.
9967
9968         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9969         Move #define and #undef of memmove to just before and after
9970         including <string.h>.
9971
9972         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9973         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9974         and after including <string.h>.  Move declarations of
9975         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9976         to before #include "string/memmove.c".
9977
9978         * include/dirent.h: Declare __getdirentries.
9979
9980         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9981         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9982
9983 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9984
9985         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9986         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9987         * sysdeps/i386/configure: Regenerated.
9988         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9989         STABS_CURRENT_FILE, and STABS_FUN.
9990         (END): Remove call to STABS_FUN_END.
9991         (STABS_CURRENT_FILE1): Delete.
9992         (STABS_CURRENT_FILE): Likewise.
9993         (STABS_FUN): Likewise.
9994         (STABS_FUN_END): Likewise.
9995         (STABS_FUN2): Likewise.
9996         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9997         * sysdeps/x86_64/configure: Regenerated.
9998
9999 2012-08-14  Roland McGrath  <roland@hack.frob.com>
10000
10001         * elf/dl-open.c: Include <atomic.h>.
10002         * elf/dl-lookup.c: Likewise.
10003
10004 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
10005
10006         * sysdeps/unix/sysv/linux/kernel-features.h
10007         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10008         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10009         unconditionally.
10010         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10011         unconditionally.
10012         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10013         condition on __ASSUME_CLONE_THREAD_FLAGS.
10014
10015 2012-08-14  Andreas Jaeger  <aj@suse.de>
10016
10017         * sysdeps/i386/fpu/libm-test-ulps: Update.
10018
10019 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
10020
10021         * include/atomic.h (atomic_exchange_and_add): Split into ...
10022         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10023         New atomic macros.
10024
10025 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
10026
10027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10028
10029 2012-08-13  Jeff Law <law@redhat.com>
10030
10031         * manual/stdio.texi (snprintf): Clarify handling of the trailing
10032         null byte in the output string.
10033
10034 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
10035
10036         * sysdeps/unix/sysv/linux/kernel-features.h
10037         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10038         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10039         (__ASSUME_ARG_MAX_STACK_BASED): Define.
10040         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10041         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10042         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
10043         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10044
10045 2012-08-09  Jeff Law <law@redhat.com>
10046
10047         [BZ #13939]
10048         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10049         When avoid_arena is set, don't retry in the that arena.  Pick the
10050         next one, whatever it might be.
10051         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10052         (arena_lock): Pass in new parameter to arena_get2.
10053         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10054         arena_get2.
10055         (__libc_malloc): Unify retrying after main arena failure with
10056         __libc_memalign version.
10057         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10058
10059 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10060
10061         [BZ #14166]
10062         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10063         to __redirect_strstr.
10064         (__strstr_sse42): Use typeof __redirect_strstr.
10065         (__strstr_ia32): Likewise.
10066         (__libc_strstr): New prototype.
10067         (strstr): Renamed to ...
10068         (__libc_strstr): This.
10069         (strstr): New strong alias of __libc_strstr.
10070         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10071         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10072         __redirect_time.
10073         Include <time.h>.
10074         (__libc_time): New prototype.
10075         (time_ifunc): Replace time with __libc_time.
10076         (time): New strong alias and hidden definition of __libc_time.
10077         (__GI_time): Remove strong alias.
10078         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10079         Include <stddef.h>.
10080         (memmove): Redefined to __redirect_memmove.
10081         (__memmove_sse2): Use typeof __redirect_memmove.
10082         (__memmove_ssse3): Likewise.
10083         (__memmove_ssse3_back): Likewise.
10084         (__libc_memmove): New prototype.
10085         (memmove): Renamed to ...
10086         (__libc_memmove): This.
10087         (memmove): New strong alias of __libc_memmove.
10088
10089 2012-08-08  Mark Salter  <msalter@redhat.com>
10090
10091         * elf/elf.h
10092         (R_MN10300_TLS_GD): Define.
10093         (R_MN10300_TLS_LD): Likewise.
10094         (R_MN10300_TLS_LDO): Likewise.
10095         (R_MN10300_TLS_GOTIE): Likewise.
10096         (R_MN10300_TLS_IE): Likewise.
10097         (R_MN10300_TLS_LE): Likewise.
10098         (R_MN10300_TLS_DTPMOD): Likewise.
10099         (R_MN10300_TLS_DTPOFF): Likewise.
10100         (R_MN10300_TLS_TPOFF): Likewise.
10101         (R_MN10300_SYM_DIFF): Likewise.
10102         (R_MN10300_ALIGN): Likewise.
10103         (R_MN10300_NUM): Update.
10104
10105 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
10106
10107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10108         Remove.
10109
10110 2012-08-08  Roland McGrath  <roland@hack.frob.com>
10111
10112         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10113
10114         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10115         sysdeps/unix -> sysdeps/posix move.
10116         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10117
10118 2012-08-07      Allan McRae     <allan@archlinux.org>
10119
10120         [BZ #14303]
10121         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10122         (SUNOS_CPP): Likewise.
10123         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10124         not found.
10125         (open_input): Call CPP using execvp.
10126
10127 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10128
10129         * sysdeps/unix/sysv/linux/kernel-features.h
10130         (__ASSUME_PROT_GROWSUPDOWN): Remove.
10131         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10132         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10133         (__ASSUME_WAITID_SYSCALL): Likewise.
10134         * sysdeps/unix/sysv/linux/dl-execstack.c
10135         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10136         code unconditional.
10137         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10138         conditional code.
10139         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10140         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10141         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10142         code.
10143         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10144         unconditional.
10145         [__ASSUME_WAITID_SYSCALL]: Likewise.
10146         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10147
10148 2012-08-07  Roland McGrath  <roland@hack.frob.com>
10149
10150         * sysdeps/unix/closedir.c: Renamed to ...
10151         * sysdeps/posix/closedir.c: ... here.
10152         * sysdeps/unix/dirfd.c: Renamed to ...
10153         * sysdeps/posix/dirfd.c: ... here.
10154         * sysdeps/unix/dirstream.h: Renamed to ...
10155         * sysdeps/posix/dirstream.h: ... here.
10156         * sysdeps/unix/fdopendir.c: Renamed to ...
10157         * sysdeps/posix/fdopendir.c: ... here.
10158         * sysdeps/unix/opendir.c: Renamed to ...
10159         * sysdeps/posix/opendir.c: ... here.
10160         * sysdeps/unix/readdir.c: Renamed to ...
10161         * sysdeps/posix/readdir.c: ... here.
10162         * sysdeps/unix/readdir_r.c: Renamed to ...
10163         * sysdeps/posix/readdir_r.c: ... here.
10164         * sysdeps/unix/rewinddir.c: Renamed to ...
10165         * sysdeps/posix/rewinddir.c: ... here.
10166         * sysdeps/unix/seekdir.c: Renamed to ...
10167         * sysdeps/posix/seekdir.c: ... here.
10168         * sysdeps/unix/telldir.c: Renamed to ...
10169         * sysdeps/posix/telldir.c: ... here.
10170         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10171         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10172         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10173         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10174
10175         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10176         * bits/fcntl.h: ... here.
10177
10178         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10179         not 0.
10180         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10181         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10182         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10183         (struct flock): Move l_start, l_len to the beginning.
10184         Use __pid_t for l_pid.
10185         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10186         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10187         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10188         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10189         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10190         [__USE_LARGEFILE64] (struct flock64): New type.
10191         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10192
10193         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10194         * bits/dirent.h: ... here.
10195
10196         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10197         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10198
10199 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
10200
10201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10202         Change from 2.6.0 to 2.6.16.
10203         * sysdeps/unix/sysv/linux/configure: Regenerated.
10204         * sysdeps/unix/sysv/linux/kernel-features.h
10205         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10206         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10207         version.
10208         (__ASSUME_UTIMES): Likewise.
10209         (__ASSUME_CLONE_STOPPED): Remove.
10210         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10211         architectures, not kernel version.
10212         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10213         (__ASSUME_NO_CLONE_DETACHED): Likewise.
10214         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10215         (__ASSUME_WAITID_SYSCALL): Likewise.
10216         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10217         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10218         * README: State 2.6.16 as minimum Linux kernel version.  Do not
10219         refer to older versions.
10220
10221 2012-08-06  Roland McGrath  <roland@hack.frob.com>
10222
10223         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10224         Define alphasort64 as an alias.
10225         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10226         Define versionsort64 as an alias.
10227         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10228         Define scandir64 as an alias.
10229         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10230         Define scandirat64 as an alias.
10231         * dirent/alphasort64.c (alphasort64):
10232         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10233         * dirent/versionsort64.c: Likewise.
10234         * dirent/scandir64.c: Likewise.
10235         * dirent/scandirat64.c: Likewise.
10236         * sysdeps/wordsize-64/alphasort.c: File removed.
10237         * sysdeps/wordsize-64/alphasort64.c: File removed.
10238         * sysdeps/wordsize-64/scandir.c: File removed.
10239         * sysdeps/wordsize-64/scandir64.c: File removed.
10240         * sysdeps/wordsize-64/scandirat.c: File removed.
10241         * sysdeps/wordsize-64/scandirat64.c: File removed.
10242         * sysdeps/wordsize-64/versionsort.c: File removed.
10243         * sysdeps/wordsize-64/versionsort64.c: File removed.
10244         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10245         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10246         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10247         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10248         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10249         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10250         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10251         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10252
10253         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10254         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10255         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10256         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10257         [defined __arch64__ || defined __sparcv9]
10258         (__INO_T_MATCHES_INO64_T): New macro.
10259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10260         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10261         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10262         * sysdeps/unix/sysv/linux/bits/dirent.h
10263         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10264         (_DIRENT_MATCHES_DIRENT64): New macro.
10265
10266         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10267         Define lockf64 as an alias.
10268         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10269         Define fseeko64 as an alias.
10270         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10271         Define ftello64 as an alias.
10272         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10273         Define _IO_fgetpos64 and fgetpos64 as aliases.
10274         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10275         Define _IO_fsetpos64 and fsetpos64 as aliases.
10276         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10277         Conditionalize body on this.
10278         * libio/fseeko64.c: Likewise.
10279         * libio/ftello64.c: Likewise.
10280         * libio/iofgetpos64.c: Likewise.
10281         * libio/iofsetpos64.c: Likewise.
10282         * sysdeps/wordsize-64/lockf.c: File removed.
10283         * sysdeps/wordsize-64/lockf64.c: File removed.
10284         * sysdeps/wordsize-64/fseeko.c: File removed.
10285         * sysdeps/wordsize-64/fseeko64.c: File removed.
10286         * sysdeps/wordsize-64/ftello.c: File removed.
10287         * sysdeps/wordsize-64/ftello64.c: File removed.
10288         * sysdeps/wordsize-64/iofgetpos.c: File removed.
10289         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10290         * sysdeps/wordsize-64/iofsetpos.c: File removed.
10291         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10292         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10293         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10294         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10295         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10296         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10297         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10298         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10299         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10302
10303         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10304         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10305         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10306         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10307         [defined __arch64__ || defined __sparcv9]
10308         (__OFF_T_MATCHES_OFF64_T): New macro.
10309         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10310         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10312         (__OFF_T_MATCHES_OFF64_T): New macro.
10313
10314 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10315
10316         * stdlib/secure-getenv.c (__secure_getenv): Replace
10317         GLIBC_2_16 with GLIBC_2_17.
10318
10319 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10320
10321         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10322         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10323
10324 2012-08-03  David S. Miller  <davem@davemloft.net>
10325
10326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10327
10328 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10329
10330         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10331         Remove.
10332         (__ASSUME_CORRECT_SI_PID): Likewise.
10333         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10334         (__ASSUME_TMPFS_NAME): Likewise.
10335         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10336         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10337         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10338         (HAVE_AUX_SECURE): Make definition unconditional.
10339         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10340         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10341
10342 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10343
10344         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10345         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10346         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10347         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10348         __eloop_threshold instead of SYMLOOP_MAX.
10349
10350         * sysdeps/generic/eloop-threshold.h: New file.
10351         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10352         of MAXSYMLINKS.
10353         * elf/chroot_canon.c (chroot_canon): Likewise.
10354
10355 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10356
10357         [BZ #13717]
10358         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10359         Change to 2.6.0 everywhere.
10360         * sysdeps/unix/sysv/linux/configure: Regenerated.
10361         * sysdeps/unix/sysv/linux/kernel-features.h
10362         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10363         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10364         kernel versions.
10365         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10366         (__ASSUME_FUTEX_REQUEUE): Remove.
10367         (__ASSUME_STATFS64): Define unconditionally.
10368         (__ASSUME_AT_SECURE): Likewise.
10369         (__ASSUME_CORRECT_SI_PID): Likewise.
10370         (__ASSUME_TGKILL): Define without depending on kernel version for
10371         i386.
10372         (__ASSUME_UTIMES): Likewise.
10373         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10374         kernel version.
10375         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10376         (__ASSUME_TMPFS_NAME): Likewise.
10377         * README: Update reference to Linux kernel versions.
10378
10379 2012-08-02  Marek Polacek  <polacek@redhat.com>
10380
10381         [BZ# 14150]
10382         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10383         libc_cv_asm_type_prefix with %.
10384         * configure: Regenerated.
10385         * include/libc-symbols.h: Remove comment about
10386         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10387         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10388         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10389         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10390         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10391         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10392         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10393         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10394         * elf/tst-unique2mod1.c: Likewise.
10395         * elf/tst-unique1mod2.c: Likewise.
10396         * elf/tst-unique1mod1.c: Likewise.
10397         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10398         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10399         Replace ASM_TYPE_DIRECTIVE with .type.
10400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10401         * sysdeps/i386/sysdep.h: Likewise.
10402         * sysdeps/x86_64/sysdep.h: Likewise.
10403         * sysdeps/sh/sysdep.h: Likewise.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10405         Do not define ASM_TYPE_DIRECTIVE.
10406         * sysdeps/powerpc/sysdep.h: Likewise.
10407         * sysdeps/powerpc/powerpc32/sysdep.h:
10408         Replace ASM_TYPE_DIRECTIVE with .type.
10409         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10410         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10411         * sysdeps/i386/fpu/e_powf.S: Likewise.
10412         * sysdeps/i386/fpu/e_expl.S: Likewise.
10413         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10414         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10415         * sysdeps/i386/fpu/e_pow.S: Likewise.
10416         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10417         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10418         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10419         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10420         * sysdeps/i386/fpu/e_log2.S: Likewise.
10421         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10422         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10423         * sysdeps/i386/fpu/e_powl.S: Likewise.
10424         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10425         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10426         * sysdeps/i386/fpu/e_logl.S: Likewise.
10427         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10428         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10429         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10430         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10431         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10432         * sysdeps/i386/fpu/e_log.S: Likewise.
10433         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10434         * sysdeps/i386/fpu/e_logf.S: Likewise.
10435         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10436         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10437         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10438         * sysdeps/i386/fpu/e_log10.S: Likewise.
10439         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10440         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10441         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10442         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10443         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10444         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10445         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10446         * sysdeps/i386/i686/strtok.S: Likewise.
10447         * sysdeps/i386/i386-mcount.S: Likewise.
10448         * sysdeps/i386/strtok.S: Likewise.
10449         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10450         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10451         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10452         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10453         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10454         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10455         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10456         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10457         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10458         * sysdeps/x86_64/_mcount.S: Likewise.
10459         * sysdeps/x86_64/strtok.S: Likewise.
10460         * sysdeps/sh/_mcount.S: Likewise.
10461
10462 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10463
10464         * libio/iofopen.c: Include <fcntl.h>.
10465         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10466         (_IO_fopen64, fopen64): Define as aliases.
10467         * libio/iofopen64.c: Include <fcntl.h>.
10468         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10469         Conditionalize body on this.
10470         * sysdeps/wordsize-64/iofopen.c: File removed.
10471         * sysdeps/wordsize-64/iofopen64.c: File removed.
10472
10473 2012-08-01  Marek Polacek  <polacek@redhat.com>
10474
10475         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10476         Use dlfcn directly instead of a variable.
10477         (binfmt-subdir): Do not define.
10478         (dlfcn): Likewise.
10479
10480 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10481
10482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10483         Remove all definitions.
10484         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10485         <kernel-features.h>.
10486         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10487         (miss_F_GETOWN_EX): Remove all definitions.
10488         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10489         macro definition.
10490         [!__ASSUME_FCNTL64]: Remove conditional code.
10491         [__ASSUME_FCNTL64]: Make code unconditional.
10492         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10493         <kernel-features.h>.
10494         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10495         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10496         (lockf64) [__NR_fcntl64]: Make code unconditional.
10497         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10498
10499         * sysdeps/unix/sysv/linux/kernel-features.h
10500         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10501         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10502         Make code unconditional.
10503         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10504         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10506         [__NR_vfork]: Make code unconditional.
10507         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10508         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10510         [__NR_vfork]: Make code unconditional.
10511         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10512         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10513
10514 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10515
10516         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10517         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10518
10519         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10520         Define mkstemp64 as an alias.
10521         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10522         Define mkstemps64 as an alias.
10523         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10524         Define mkostemp64 as an alias.
10525         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10526         Define mkostemps64 as an alias.
10527         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10528         Conditionalize body on this.
10529         * misc/mkostemp64.c: Likewise.
10530         * misc/mkostemps64.c: Likewise.
10531         * misc/mkstemps64.c: Likewise.
10532         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10533         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10534         * sysdeps/wordsize-64/mkostemp.c: File removed.
10535         * sysdeps/wordsize-64/mkstemp.c: File removed.
10536         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10537         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10538         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10539         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10540
10541         [BZ #14138]
10542         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10543         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10544         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10545         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10546
10547         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10548         compat_symbol macros from <shlib-compat.h> rather than the underlying
10549         default_symbol_version and symbol_version macros, so that DEFAULT
10550         lines in shlib-versions are respected.
10551         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10552
10553 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10554
10555         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10556         Declare with warn_unused_result.
10557         (setgid, setregid, setegid, setresgid): Likewise.
10558         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10559         Likewise.
10560         * WUR-REPORT: Remove set*id functions.
10561
10562 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10563
10564         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10565
10566 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10567
10568         * include/sys/socket.h (__libc_accept, __libc_accept4):
10569         Add attribute_hidden.
10570         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10571
10572         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10573         use of PTR_MANGLE.
10574         * inet/getnetgrent_r.c (setup): Likewise.
10575
10576         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10577
10578 2012-07-31  David S. Miller  <davem@davemloft.net>
10579
10580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10581
10582 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10583
10584         [BZ #13629]
10585         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10586         value between 1.0 and 2.0 and smaller part has absolute value less
10587         than 1.0.
10588         * math/s_clog10.c (__clog10): Likewise.
10589         * math/s_clog10f.c (__clog10f): Likewise.
10590         * math/s_clog10l.c (__clog10l): Likewise.
10591         * math/s_clogf.c (__clogf): Likewise.
10592         * math/s_clogl.c (__clogl): Likewise.
10593         * math/libm-test.inc (clog_test): Add more tests.
10594         (clog10_test): Likewise.
10595         * sysdeps/i386/fpu/libm-test-ulps: Update.
10596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597
10598 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10599
10600         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10601         Exit with zero in case no suitable GID is found, and write a
10602         message to standard error.
10603
10604 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10605
10606         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10607         rather than to 1.
10608         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10609         (MAXPATHLEN): Removed.
10610         (NOGROUP, NODEV): New macros.
10611         (setbit, clrbit, isset, isclr): New macros.
10612         (howmany, roundup, powerof2): New macros.
10613         (DEV_BSIZE): New macro.
10614
10615         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10616         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10617
10618         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10619         definition on [!__NO_LONG_DOUBLE_MATH].
10620
10621         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10622         PTR_MANGLE and PTR_DEMANGLE.
10623
10624         * socket/accept4.c (accept4): Rename to __libc_accept4.
10625         Define accept4 as a weak alias.
10626
10627         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10628         on [_DIRENT_HAVE_D_TYPE].
10629         * io/ftw.c (ftw_dir): Likewise.
10630
10631         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10632
10633         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10634
10635         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10636         Use the BSD numbers rather than the arbitrary ones we had.
10637         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10638         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10639         (SIGXCPU, SIGXFSZ): New macros.
10640         (_NSIG): Now 32.
10641
10642         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10643         initializer on [_LIBC_REENTRANT].
10644
10645         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10646         definitions inside [_POSIX_MAPPED_FILES].
10647
10648         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10649
10650         * dirent/opendir.c: Include <fcntl.h>.
10651
10652         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10653         (__libc_getspecific): Likewise.
10654         (__libc_key_create): Likewise.
10655
10656         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10657         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10658         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10659         (tmpfile64): Define as alias.
10660         * sysdeps/wordsize-64/tmpfile.c: File removed.
10661         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10662         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10663         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10664
10665         * stdio-common/vfscanf.c: Include <stdbool.h>.
10666         * nss/makedb.c: Likewise.
10667         * stdio-common/_i18n_number.h: Likewise.
10668         * argp/argp-help.c: Likewise.
10669         * posix/wordexp.c: Likewise.
10670         * sysdeps/posix/spawni.c: Likewise.
10671         * nss/nss_files/files-initgroups.c: Likewise.
10672         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10673         * nss/nss_files/files-initgroups.c: Likewise.
10674         * nss/nss_db/db-netgrp.c: Likewise.
10675         * nss/nss_db/db-initgroups.c: Likewise.
10676         * io/fchmodat.c: Include <sys/stat.h>.
10677
10678         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10679         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10680
10681         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10682         [HAVE_MMAP].
10683
10684         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10685         Add multiple inclusion protection.
10686
10687 2012-07-27  David S. Miller  <davem@davemloft.net>
10688
10689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10690
10691 2012-07-27  Gary Benson  <gbenson@redhat.com>
10692
10693         [BZ #14298]
10694         * elf/rtld.c: Include <stap-probe.h>.
10695         (dl_main): Added static probes "init_start" and "init_complete".
10696         * elf/dl-load.c: Include <stap-probe.h>.
10697         (lose): Take new parameter "nsid".
10698         Added static probe "map_failed".
10699         (_dl_map_object_from_fd): Pass namespace id to lose.
10700         Added static probe "map_start".
10701         (open_verify): Pass namespace id to lose.
10702         * elf/dl-open.c: Include <stap-probe.h>.
10703         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10704         and "reloc_complete".
10705         * elf/dl-close.c: Include <stap-probe.h>.
10706         (_dl_close_worker): Added static probes "unmap_start" and
10707         "unmap_complete".
10708         * elf/rtld-debugger-interface.txt: New file documenting the above.
10709
10710 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10711
10712         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10713         rather than a string variable.
10714         * sunrpc/rpc_main.c (h_output): Likewise.
10715         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10716
10717 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10718
10719         * inet/check_native.c: New file.
10720
10721 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10722
10723         [BZ #13629]
10724         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10725         if larger part has absolute value 1.0.
10726         * math/s_clog10.c (__clog10): Likewise.
10727         * math/s_clog10f.c (__clog10f): Likewise.
10728         * math/s_clog10l.c (__clog10l): Likewise.
10729         * math/s_clogf.c (__clogf): Likewise.
10730         * math/s_clogl.c (__clogl): Likewise.
10731         * math/libm-test.inc (clog_test): Add more tests.
10732         (clog10_test): Likewise.
10733         * sysdeps/i386/fpu/libm-test-ulps: Update.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735
10736         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10737         (pltexit): Likewise.
10738         (La_regs): Likewise.
10739         (La_retval): Likewise.
10740         (int_retval): Likewise.
10741         Update #error for removed macros to refer only to definitions in
10742         tst-audit.h.
10743         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10744         macro.
10745         (pltexit): Likewise.
10746         (La_regs): Likewise.
10747         (La_retval): Likewise.
10748         (int_retval): Likewise.
10749         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10750         macro.
10751         (pltexit): Likewise.
10752         (La_regs): Likewise.
10753         (La_retval): Likewise.
10754         (int_retval): Likewise.
10755         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10756         macro.
10757         (pltexit): Likewise.
10758         (La_regs): Likewise.
10759         (La_retval): Likewise.
10760         (int_retval): Likewise.
10761         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10762         macro.
10763         (pltexit): Likewise.
10764         (La_regs): Likewise.
10765         (La_retval): Likewise.
10766         (int_retval): Likewise.
10767         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10768         macro.
10769         (pltexit): Likewise.
10770         (La_regs): Likewise.
10771         (La_retval): Likewise.
10772         (int_retval): Likewise.
10773         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10774         macro.
10775         (pltexit): Likewise.
10776         (La_regs): Likewise.
10777         (La_retval): Likewise.
10778         (int_retval): Likewise.
10779         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10780         macro definitions in tst-audit.h.
10781         * sysdeps/i386/tst-audit.h: New file.
10782         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10783         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10784         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10785         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10786         * sysdeps/sh/tst-audit.h: Likewise.
10787         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10788         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10789         * sysdeps/x86_64/tst-audit.h: Likewise.
10790
10791 2012-07-26  Andreas Jaeger  <aj@suse.de>
10792
10793         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10794         ptrace.
10795
10796         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10797         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10798         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10799         PTRACE_O_MASK.
10800         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10801         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10802         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10803
10804         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10805         value.
10806
10807         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10808         _sigsys.
10809         (si_call_addr, si_syscall, si_arch): Define new macro.
10810         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10811         _sigsys.
10812         (si_call_addr, si_syscall, si_arch): Define new marcro.
10813         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10814         _sigsys.
10815         (si_call_addr, si_syscall, si_arch): Define new macro.
10816         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10817         _sigsys.
10818         (si_call_addr, si_syscall, si_arch): Define new macro.
10819
10820 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10821
10822         [BZ #13717]
10823         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10824         Change to 2.4.21 where previously 2.4.1.
10825         * sysdeps/unix/sysv/linux/configure: Regenerated.
10826         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10827         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10828         Linux kernel version.
10829         (__ASSUME_STD_AUXV): Remove.
10830         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10831         kernel version.
10832         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10833         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10834         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10835         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10836         (__ASSUME_NETLINK_SUPPORT): Likewise.
10837         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10838         (__no_netlink_support): Remove conditional definition.
10839         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10840         Remove.
10841         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10842         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10843         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10844         (if_nameindex_ioctl): Remove.
10845         (if_nameindex_netlink): Do not handle __no_netlink_support.
10846         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10847         code.
10848         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10849         Remove conditional code.
10850         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10851         code.
10852         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10853         unconditional.
10854         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10855         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10856         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10857         Remove.
10858         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10859         [!__ASSUME_STD_AUXV]: Remove conditional code.
10860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10861         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10862         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10864         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10865         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10866         code.
10867         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10869         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10870         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10871         conditional code.
10872         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10874         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10875         code.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10877         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10878         conditional code.
10879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10880         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10881         code unconditional.
10882         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10883         conditional code.
10884         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10885         unconditional.
10886         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10887         conditional code.
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10889         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10890         unconditional.
10891         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10892         conditional code.
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10894         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10895         code unconditional.
10896         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10897         conditional code.
10898         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10899         unconditional.
10900         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10901         conditional code.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10903         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10904         code unconditional.
10905         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10906         conditional code.
10907         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10908         unconditional.
10909         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10910         conditional code.
10911
10912 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10913
10914         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10915         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10916         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10917         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10918         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10919         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10920         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10921         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10922         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10923         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10924         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10925         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10926         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10927         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10928         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10929         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10930         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10931         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10932         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10934         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10935         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10936         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10937
10938 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10939
10940         * Versions.def: Add GLIBC_2.17.
10941         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10942         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10943         Introduce __libc_secure_getenv.
10944         * stdlib/Versions (2.17): Add secure_getenv
10945         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10946         * stdlib/secure-getenv.c: Rename __secure_getenv to
10947         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10948         symbol __secure_getenv for GLIBC_2.0.
10949         * stdlib/tst-secure-getenv.c: New.
10950         * stdlib/Makefile (tests): Add testcase.
10951         * manual/startup.texi (Environment Access): Document
10952         secure_getenv.
10953         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10954         __libc_secure_getenv.
10955         * inet/ruserpass.c (ruserpass): Likewise.
10956         * malloc/mtrace.c (mtrace): Likewise.
10957         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10958         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10959         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10960         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10961         HAVE_SECURE_GETENV.
10962         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10963         __secure_getenv to __libc_secure_getenv.
10964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10966         Likewise.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10968         Likewise.
10969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10976
10977 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10978
10979         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10980         (struct La_i86_retval): Likewise.
10981         (struct La_x86_64_regs): Likewise.
10982         (struct La_x86_64_retval): Likewise.
10983         (struct La_x32_regs): Likewise.
10984         (struct La_x32_retval): Likewise.
10985         (struct La_ppc32_regs): Likewise.
10986         (struct La_ppc32_retval): Likewise.
10987         (struct La_ppc64_regs): Likewise.
10988         (struct La_ppc64_retval): Likewise.
10989         (struct La_sh_regs): Likewise.
10990         (struct La_sh_retval): Likewise.
10991         (struct La_s390_32_regs): Likewise.
10992         (struct La_s390_32_retval): Likewise.
10993         (struct La_s390_64_regs): Likewise.
10994         (struct La_s390_64_retval): Likewise.
10995         (struct La_sparc32_regs): Likewise.
10996         (struct La_sparc32_retval): Likewise.
10997         (struct La_sparc64_regs): Likewise.
10998         (struct La_sparc64_retval): Likewise.
10999         (struct audit_ifaces): Remove architecture-specific pltenter and
11000         pltexit members.
11001         * sysdeps/i386/ldsodefs.h: New file.
11002         * sysdeps/powerpc/ldsodefs.h: Likewise.
11003         * sysdeps/s390/ldsodefs.h: Likewise.
11004         * sysdeps/sh/ldsodefs.h: Likewise.
11005         * sysdeps/sparc/ldsodefs.h: Likewise.
11006         * sysdeps/x86_64/ldsodefs.h: Likewise.
11007
11008 2012-07-25  Marek Polacek  <polacek@redhat.com>
11009
11010         [BZ #6808]
11011         * math/libm-test.inc (yn_test): Add another test.
11012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11013         to ERANGE when the result is +-Inf.
11014         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11015         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11017         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11018
11019 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
11020
11021         * conform/data/time.h-data (NULL): Use macro-constant.  Require
11022         equal to 0.
11023         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
11024         clock_t.
11025         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
11026
11027 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
11028
11029         * configure.in <sysdeps resolving>: Correct printing
11030         Implies_before.
11031         * configure: Regenerate.
11032
11033 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
11034
11035         * math/w_ilogb.c: Include <limits.h>.
11036         * math/w_ilogbl.c: Likewise.
11037
11038 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11039
11040         * manual/lang.texi (__va_copy): Document primarily as ISO C99
11041         va_copy.  Document allowing for unavailable va_copy only as
11042         pre-C99 compatibility.
11043         * manual/string.texi (Copying and Concatenation): Use va_copy
11044         instead of __va_copy in concat example.
11045
11046 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
11047
11048         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11049         (__sendto): Use create_address_port.  Initialize APORT and deallocate
11050         it if not null.
11051
11052         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11053         with O_NOLINK passed to __file_name_lookup.
11054
11055         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11056         with O_NOLINK passed to __file_name_lookup.
11057
11058         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11059         negative N or less than NGIDS.
11060
11061         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11062         type to string_t.  Set ERANGE as errno and return it if NAME is not big
11063         enough.  Use memcpy instead of strncpy.
11064
11065 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
11066
11067         * elf/Makefile (check-data): Remove.
11068         (localplt.data): New vpath directive.
11069         ($(objpfx)check-localplt.out): Use localplt.data from vpath
11070         instead of $(check-data).
11071         * scripts/data/localplt-generic.data: Move to ...
11072         * sysdeps/generic/localplt.data: ... here.
11073         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11074         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11075         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11077         ... here.
11078         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11080         ... here.
11081         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11083         ... here.
11084         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11086         ... here.
11087         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11089         ... here.
11090         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11092         ... here.
11093
11094 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11095
11096         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11097         PPC32 and PPC64 files.
11098         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11099         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11100
11101 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11102
11103         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11104         __makecontext_ret to ...
11105         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11106         ... here and call exit if uc_link is NULL.  New file.
11107         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11108         __makecontext_ret.S.
11109         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11110         __makecontext_ret to ...
11111         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11112         ... here and call exit if uc_link is NULL.  New file.
11113         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11114         __makecontext_ret.S.
11115
11116 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11117
11118         * elf/elf.h (R_390_IRELATIVE): New definition.
11119         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11120         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
11121         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11123         (elf_machine_lazy_rel): Likewise.
11124         * sysdeps/s390/dl-irel.h: New file.
11125         * sysdeps/s390/s390-64/memcpy.S: New asm code.
11126         * sysdeps/s390/s390-64/memset.S: New asm code.
11127         * sysdeps/s390/s390-64/memcmp.S: New asm code.
11128         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11129         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11130         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11131         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11132         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11133         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11134         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11135         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11136         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11137         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11138         * sysdeps/s390/s390-32/memcpy.S: New asm code.
11139         * sysdeps/s390/s390-32/memset.S: New asm code.
11140         * sysdeps/s390/s390-32/memcmp.S: New asm code.
11141
11142 2012-07-17  Marek Polacek  <polacek@redhat.com>
11143
11144         [BZ #14349]
11145         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11146         * sysdeps/s390/s390-64/configure.in: Likewise.
11147         * sysdeps/sparc/configure.in: Likewise.
11148         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11149         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11150         * sysdeps/i386/configure.in: Likewise.
11151         * sysdeps/x86_64/configure.in: Likewise.
11152         * sysdeps/sh/configure.in: Likewise.
11153         * sysdeps/s390/s390-32/configure: Regenerated.
11154         * sysdeps/s390/s390-64/configure: Likewise.
11155         * sysdeps/x86_64/configure: Likewise.
11156         * sysdeps/sh/configure: Likewise.
11157         * sysdeps/powerpc/powerpc64/configure: Likewise.
11158         * sysdeps/powerpc/powerpc32/configure: Likewise.
11159         * sysdeps/sparc/configure: Likwise.
11160         * sysdeps/i386/configure: Likewise.
11161
11162         * elf/dl-open.c: Comment fixes.
11163
11164 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
11165
11166         * Makefile [CXX] (check-data): Remove.
11167         [CXX] (c++-types.data): New vpath directive.
11168         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11169         vpath.  Do not allow for C++ type data being missing.
11170         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11171         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11172         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11173         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11174         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11175         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11176         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11178         ... here.
11179         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11181         ... here.
11182         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11184         ... here.
11185         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11187         ... here.
11188         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11190         ... here.
11191         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11193         ... here.
11194         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11196         ... here.
11197         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11199
11200         * elf/tls-macros.h (TLS_LE): Move architecture-specific
11201         definitions to architecture-specific files.
11202         (TLS_IE): Likewise.
11203         (TLS_LD): Likewise.
11204         (TLS_GD): Likewise.
11205         * sysdeps/i386/tls-macros.h: New file.
11206         * sysdeps/powerpc/tls-macros.h: Likewise.
11207         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11208         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11209         * sysdeps/sh/tls-macros.h: Likewise.
11210         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11211         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11212         * sysdeps/x86_64/tls-macros.h: Likewise.
11213
11214 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11215
11216         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11217         zero value for regular exit case.
11218
11219         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11220         (__start_context): Preserve zero value for regular exit case.
11221
11222 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
11223             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11224
11225         * manual/setjmp.texi (setcontext): Clarify normal process
11226         termination when uc_link is the null pointer.
11227         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11228         exit call.
11229
11230 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
11231
11232         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11233         preprocessor.  Test for each exception mask separately.
11234
11235 2012-07-16  Andreas Jaeger  <aj@suse.de>
11236
11237         * po/ru.po: Update from translation team.
11238
11239 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
11240
11241         * conform/data/string.h-data (NULL): Use macro-constant.  Require
11242         equal to 0.
11243         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11244         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11245         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11246         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11247         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11248
11249 2012-07-13  Andreas Jaeger  <aj@suse.de>
11250
11251         * po/fr.po: Update from translation team.
11252
11253 2012-07-12  Marek Polacek  <polacek@redhat.com>
11254
11255         [BZ #14173]
11256         * math/libm-test.inc (yn_test): Add test for BZ #14173.
11257         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11258         loop condition.
11259
11260 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
11261
11262         [BZ #13717]
11263         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11264         Change to 2.4.1 where previously 2.4.0.
11265         * sysdeps/unix/sysv/linux/configure: Regenerated.
11266         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11267         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11268         version.
11269         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11270         (__ASSUME_AT_CLKTCK): Remove.
11271         (__ASSUME_AT_PAGESIZE): Likewise.
11272         (__ASSUME_AT_XID): Likewise.
11273         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11274         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11275         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11276         unconditionally.
11277         (HAVE_AUX_PAGESIZE): Likewise.
11278         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11279         [__ASSUME_AT_CLKTCK]: Make code unconditional.
11280         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11281
11282 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
11283
11284         [BZ #14307]
11285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11286         the temporary buffer used to invoke __gethostbyname2_r,
11287         __gethostbyaddr_r and gethostbyname4_r to make room for struct
11288         host_data / struct gaih_addrtuple.
11289         * resolv/nss_dns/dns-host.c (global scope): Move definition of
11290         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11291         header file nss/nsswitch.h.
11292         * nss/nsswitch.h (global scope): Add definition of implementation
11293         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11294         resolv/nss_dns/dns-host.c).
11295
11296 2012-07-11  Andreas Jaeger  <aj@suse.de>
11297
11298         * po/fr.po: Update from translation team.
11299
11300         * po/sv.po: Update from translation team
11301         * po/fr.po: Another update from translation team.
11302
11303 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11304
11305         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11306         for subnormals or multiply small sinh result by itself.
11307         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11309
11310 2012-07-11  David S. Miller  <davem@davemloft.net>
11311
11312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11313
11314 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
11315
11316         [BZ #14347]
11317         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11318         (INTERNAL_MARK): Shift it here.
11319
11320 2012-07-10  Marek Polacek  <polacek@redhat.com>
11321
11322         [BZ #14151]
11323         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11324         libc_cv_asm_global_directive with .globl.
11325         * configure: Regenerated.
11326         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11327         with .globl.
11328         * sysdeps/i386/configure: Regenerated.
11329         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11330         with .globl.
11331         * sysdeps/x86_64/configure: Regenerated.
11332         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11333         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11334         * elf/tst-unique2mod2.c: Likewise.
11335         * elf/tst-unique2mod1.c: Likewise.
11336         * elf/tst-unique1mod2.c: Likewise.
11337         * elf/tst-unique1mod1.c: Likewise.
11338         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11339         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11340         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11341         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11342         * sysdeps/mach/sysdep.h: Likewise.
11343         * sysdeps/i386/sysdep.h: Likewise.
11344         * sysdeps/i386/i386-mcount.S: Likewise.
11345         * sysdeps/x86_64/_mcount.S: Likewise.
11346         * sysdeps/x86_64/sysdep.h: Likewise.
11347         * sysdeps/sh/_mcount.S: Likewise.
11348         * sysdeps/sh/sysdep.h: Likewise.
11349         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11350         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11351         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11352         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11353         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11354         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11355         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11356         * locale/localeinfo.h: Likewise.
11357         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11358         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11359
11360 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11361
11362         [BZ #14336]
11363         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11364         system".
11365         * manual/message.texi (The Uniforum approach): Likewise.
11366         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11367         (glibc iconv Implementation): Likewise.
11368
11369 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11370
11371         [BZ #14337]
11372         * math/s_clog.c (__clog): Avoid scaling a value down where that
11373         could result in underflow.
11374         * math/s_clog10.c (__clog10): Likewise.
11375         * math/s_clog10f.c (__clog10f): Likewise.
11376         * math/s_clog10l.c (__clog10l): Likewise.
11377         * math/s_clogf.c (__clogf): Likewise.
11378         * math/s_clogl.c (__clogl): Likewise.
11379         * math/libm-test.inc (clog_test): Add more tests.
11380         (clog10_test): Likewise.
11381         * sysdeps/i386/fpu/libm-test-ulps: Update.
11382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11383
11384 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11385
11386         [BZ #14283]
11387         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11388         by 7 not 8 to examine high bit of fractional part.
11389
11390         [BZ #14042]
11391         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11392         for call to __mcount_internal.
11393         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11394         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11395         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11396
11397 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11398
11399         [BZ #14154]
11400         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11401         approximation for values within 0x1p-13f of an odd multiple of
11402         pi/4.
11403         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11404         exception.  Add more tests.
11405         * sysdeps/i386/fpu/libm-test-ulps: Update.
11406
11407         [BZ #6778]
11408         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11409         inputs and return -1 for them.  Do not check for +Inf in case not
11410         reachable for +Inf.
11411         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11412         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11413         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11414         and return -1 for them.  Do not check for +Inf in case not
11415         reachable for +Inf.
11416         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11417         define.
11418         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11419         and return -1 for them.  Do not check for +Inf in case not
11420         reachable for +Inf.
11421         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11422         spurious underflow.
11423         * sysdeps/i386/fpu/libm-test-ulps: Update.
11424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425
11426 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11427
11428         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11429
11430 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11431
11432         [BZ #14157]
11433         [BZ #14331]
11434         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11435         could result in spurious underflow.  Scale down values above
11436         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11437         * math/s_csqrtf.c (__csqrtf): Likewise.
11438         * math/s_csqrtl.c (__csqrtl): Likewise.
11439         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11440         spurious underflow.
11441         * sysdeps/i386/fpu/libm-test-ulps: Update.
11442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443
11444 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11445
11446         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11447         xopen-msg.sed.
11448         * catgets/xopen-msg.awk: New file.
11449         * catgets/xopen-msg.sed: Removed.
11450
11451         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11452         po2text.sed.
11453         * intl/po2test.awk: New file.
11454         * intl/po2test.sed: Removed.
11455
11456 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11457
11458         [BZ #14328]
11459         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11460         or multiply small sinh result by itself.
11461         * math/s_ctanf.c (__ctanf): Likewise.
11462         * math/s_ctanh.c (__ctanh): Likewise.
11463         * math/s_ctanhf.c (__ctanhf): Likewise.
11464         * math/s_ctanhl.c (__ctanhl): Likewise.
11465         * math/s_ctanl.c (__ctanl): Likewise.
11466         * math/libm-test.inc (ctan_test_tonearest): New function.
11467         (ctan_test_towardzero): Likewise.
11468         (ctan_test_downward): Likewise.
11469         (ctan_test_upward): Likewise.
11470         (ctanh_test_tonearest): Likewise.
11471         (ctanh_test_towardzero): Likewise.
11472         (ctanh_test_downward): Likewise.
11473         (ctanh_test_upward): Likewise.
11474         (main): Call these new functions.
11475         * sysdeps/i386/fpu/libm-test-ulps: Update.
11476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11477
11478 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11479
11480         * .gitignore: Delete /ports entry.
11481
11482 2012-07-03  Andreas Jaeger  <aj@suse.de>
11483
11484         * po/bg.po: Update from translation team.
11485         * po/cs.po: Likewise.
11486         * po/de.po: Likewise.
11487         * po/hr.po: Likewise.
11488         * po/nl.pl: Likewise.
11489         * po/pl.po: Likewise.
11490         * po/vi.po: Likewise.
11491
11492 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11493
11494         * Makeconfig [!+link] (+link-before-libc): New variable.
11495         [!+link] (+link-after-libc): Likewise.
11496         [!+link] (+link-tests): Likewise.
11497         [!+link] (+link): Define in terms of $(+link-before-libc) and
11498         $(+link-after-libc).
11499         [!+link-static] (+link-static-before-libc): New variable.
11500         [!+link-static] (+link-static-after-libc): Likewise.
11501         [!+link-static] (+link-static-tests): Likewise.
11502         [!+link-static] (+link-static): Define in terms of
11503         $(+link-static-before-libc) and $(+link-static-after-libc).
11504         [build-shared] (link-libc-before-gnulib): New variable.
11505         [build-shared] (link-libc-tests): Likewise.
11506         [build-shared] (link-libc): Define in terms of
11507         $(link-libc-before-gnulib).
11508         [!build-shared] (link-libc-tests): New variable.
11509         (link-libc-static-tests): New variable.
11510         [!gnulib] (gnulib-arch): New variable.
11511         [!gnulib] (gnulib-tests): Likewise.
11512         [!gnulib] (static-gnulib-arch): Likewise.
11513         [!gnulib] (static-gnulib-tests): Likewise.
11514         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11515         Define with "=" instead of ":=".
11516         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11517         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11518         * Rules (binaries-all-notests): New variable.
11519         (binaries-all-tests): Likewise.
11520         (binaries-static-notests): Likewise.
11521         (binaries-static-tests): Likewise.
11522         (binaries-all): Define using $(binaries-all-notests) and
11523         $(binaries-all-tests).
11524         (binaries-static): Define using $(binaries-static-notests) and
11525         $(binaries-static-tests).
11526         (binaries-shared-tests): New variable.
11527         (binaries-shared-notests): Likewise.
11528         (binaries-shared): Remove variable.
11529         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11530         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11531         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11532         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11533         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11534         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11535         * elf/Makefile (sln-modules): New variable.
11536         (extra-objs): Add $(sln-modules:=.o).
11537         (ldconfig-modules): Add static-stubs.
11538         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11539         * elf/static-stubs.c: New file.
11540
11541         [BZ #14283]
11542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11543         by 7 not 8 to examine high bit of fractional part.  Use volatile
11544         variables when splitting into final array of floats if
11545         __FLT_EVAL_METHOD__ != 0.
11546         * math/libm-test.inc (cos_test): Add another test.
11547         (sin_test): Likewise.
11548         * sysdeps/i386/fpu/libm-test-ulps: Update.
11549
11550         [BZ #14273]
11551         * math/libm-test.inc (cosh_test): Add more tests.
11552
11553         * version.h (RELEASE): Set to "development".
11554         (VERSION): Set to "2.16.90".
11555
11556 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11557
11558         * NEWS: Update copyright. Remove last-updated date.
11559         Mention math library bug fixes and timezone data changes.
11560         * README: Mention GNU/Hurd, x32, and HPPA support status.
11561
11562 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11563
11564         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11565
11566 2012-06-27  Andreas Jaeger  <aj@suse.de>
11567
11568         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11569
11570 2012-06-25  Andreas Jaeger  <aj@suse.de>
11571
11572         * sysdeps/s390/fpu/libm-test-ulps: Update.
11573
11574 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11575             Thomas Schwinge  <thomas@codesourcery.com>
11576
11577         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11578         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11580         fanotify_mark.
11581
11582 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11583
11584         * sysdeps/mach/start.c: Remove file.
11585         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11586         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11587         * sysdeps/sh/init-first.c: Likewise.
11588
11589         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11590         registers for frame unwinding purposes, add CFI directives.
11591         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11593         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11594         Likewise.
11595
11596         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11597         __fortify_fail returning.
11598         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11599
11600         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11601         sysdeps/sh/____longjmp_chk.S.
11602         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11603         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11604         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11605         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11606
11607         * sysdeps/sh/abort-instr.h: New file.
11608         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11609         process in case exit returns.
11610
11611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11612         initialize the GOT register before use.
11613
11614         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11615         calculation of ARGC > 4.
11616
11617         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11618         meaningful names to some local labels.
11619
11620 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11621             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11622
11623         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11624         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11625         (__arch_compare_and_exchange_val_16_acq): Likewise.
11626         (__arch_compare_and_exchange_val_32_acq): Likewise.
11627         (atomic_exchange_and_add): Fix gUSA sequence.
11628         (atomic_add): Likewise.
11629         (atomic_add_negative): Likewise.
11630         (atomic_add_zero): Likewise.
11631         (atomic_bit_test_set): Likewise.
11632
11633 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11634
11635         [BZ #13579]
11636         * include/link.h (struct link_map): Add l_free_initfini.
11637         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11638         l_initfini.
11639         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11640         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11641         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11642         set.
11643
11644 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11645
11646         * configure.in: Use AC_LANG_SOURCE.
11647         * configure: Regenerate.
11648
11649 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11650
11651         * configure.in (libc_cv_localstatedir): New substituted variable.
11652         * configure: Regenerated.
11653         * config.make.in (localstatedir): New variable, substituted from
11654         libc_cv_localstatedir.
11655         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11656         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11657         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11658         * sysdeps/gnu/configure: Regenerated.
11659
11660 2012-06-21  Jeff Law  <law@redhat.com>
11661
11662         [BZ #14277]
11663         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11664         free.  Simplify list management for _LIBC case.
11665
11666 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11667
11668         [BZ #14273]
11669         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11670         Clear sign bit of 64-bit integer value before comparing against
11671         overflow value.
11672
11673         * sysdeps/mach/configure: Regenerated.
11674
11675 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11676
11677         [BZ #14278]
11678         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11679
11680 2012-06-21  Jeff Law  <law@redhat.com>
11681
11682         [BZ #13882]
11683         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11684         uint16_t for elements in the "seen" array to avoid char overflows.
11685         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11686         * elf/dl-open.c (dl_open_worker): Likewise.
11687
11688 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11689
11690         * scripts/list-sources.sh: Scan PORTS for translations.
11691         * po/libc.pot: Regenerated.
11692
11693 2012-06-21  Andreas Jaeger  <aj@suse.de>
11694
11695         [BZ #12194]
11696         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11697         warning.
11698         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11699         * bits/byteswap-16.h (__bswap_16): Likewise.
11700         * bits/byteswap.h (__bswap_constant_16): Likewise.
11701
11702 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11703
11704         [BZ #14117]
11705         * sysdeps/i386/fpu_control.h: Removed.
11706         * sysdeps/x86_64/fpu_control.h: Moved to ...
11707         * sysdeps/x86/fpu_control.h: Here.
11708
11709         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11710         (_FPU_SETCW): Likewise.
11711
11712 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11713
11714         [BZ #14117]
11715         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11716         * sysdeps/x86/fpu/bits/mathinline.h: This.
11717         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11718
11719         [BZ #14050]
11720         [BZ #14117]
11721         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11722         functions if __x86_64__ is defined.
11723
11724 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11725
11726         * string/endian.h: Add !__ASSEMBLER__ condition for including
11727         conversion interfaces.
11728
11729 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11730
11731         [BZ #14241]
11732         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11733         of ABS(x) in calculating zero to negative powers other than odd
11734         integers.
11735         * math/libm-test.inc (pow_test): Add more tests.
11736
11737 2012-06-15  Andreas Jaeger  <aj@suse.de>
11738
11739         * manual/contrib.texi (Contributors): Update entry of Liubov
11740         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11741         Machado Filho.
11742
11743 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11744
11745         * string/string.h: Add __wur to GNU version of strerror_r.
11746
11747 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11748
11749         [BZ #14229]
11750         * string/Makefile (tests): Add tst-strtok_r.
11751         * string/tst-strtok_r.c: New file.
11752         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11753         RAX_LP/RDX_LP on SAVE_PTR.
11754
11755 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11756
11757         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11758
11759 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11760
11761         * libm_test.inc (csqrt_test): Allow more spurious underflow
11762         exceptions.
11763         (j0_test): Likewise.
11764         (j1_test): Likewise.
11765         (y0_test): Likewise.
11766         (y1_test): Likewise.
11767
11768 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11769
11770         * po/Makefile (libc.pot): Use UTF-8 charset.
11771
11772 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11773
11774         [BZ #14210]
11775         Suppress sign-conversion warning from FD_SET.
11776         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11777         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11778         not unsigned long int.
11779         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11780
11781 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11782
11783         [BZ #14050]
11784         [BZ #14117]
11785         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11786         __extern_always_inline instead of __extern_inline.
11787         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11788         (__signbit): Likewise.
11789         (__signbitl): Support C++ namespace.
11790         (lrintf): New inline function.
11791         (lrint): Likewise.
11792         (llrintf): Likewise.
11793         (llrint): Likewise.
11794         (fmaxf): Likewise.
11795         (fmax): Likewise.
11796         (fminf): Likewise.
11797         (fmin): Likewise.
11798         (rint): Likewise.
11799         (rintf): Likewise.
11800         (ceil): Likewise.
11801         (ceilf): Likewise.
11802         (floor): Likewise.
11803         (floorf): Likewise.
11804         (nearbyint): Likewise.
11805         (nearbyintf): Likewise.
11806
11807 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11808
11809         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11810         non-default versions.
11811
11812 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11813
11814         [BZ #14218]
11815         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11816
11817 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11818
11819         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11820         (FE_UPWARD, FE_DOWNWARD): Don't define.
11821         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11822         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11823
11824         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11825         reading it.
11826         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11827         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11828
11829 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11830
11831         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11833         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11834         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11835
11836 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11837
11838         [BZ #14117]
11839         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11840         * sysdeps/i386/fpu/Implies: New file.
11841         * sysdeps/x86_64/fpu/Implies: Likewise.
11842         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11843         * sysdeps/x86/fpu/bits/fenv.h: This.
11844
11845         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11846         __SSE_MATH__.
11847
11848 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11849
11850         [BZ #14134]
11851         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11852         character 0xffff that matches the last element of the
11853         conversion table.
11854
11855 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11856
11857         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11858         fmodl commit.
11859
11860 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11861
11862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11863         values higher than 25.6283.
11864
11865 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11866
11867         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11868         subnormal exponent extraction and add some __builtin_expect.
11869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11870         Fix for subnormal mantissa calculation.
11871
11872 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11873
11874         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11875         cpu2 is -1 and errno is not ENOSYS.
11876
11877 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11878
11879         [BZ #14117]
11880         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11881         * sysdeps/x86/bits/string.h: This.
11882         * sysdeps/x86_64/bits/string.h: Removed.
11883
11884         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11885         if not compiling for x86-64, but compiling for >= i486.
11886
11887         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11888         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11889
11890         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11891         New macro from Linux kernel 3.4.0.
11892         (FP_XSTATE_MAGIC2): Likewise.
11893         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11894         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11895         (struct _fpx_sw_bytes): New struct.
11896         (struct _xsave_hdr): Likewise.
11897         (struct _ymmh_state): Likewise.
11898         (struct _xstate): Likewise.
11899
11900         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11901         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11902         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11903         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11904         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11905         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11906
11907         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11908         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11909         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11910         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11911         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11912         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11913
11914 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11915
11916         [BZ #13743]
11917         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11918         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11919         (sysdep_headers): Include sys/platform/ppc.h.
11920         * sysdeps/powerpc/test-gettimebase.c: Test for
11921         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11922         * manual/Makefile (appendices): Include platform.texi.
11923         * manual/contrib.texi (Contributors): Update @node pointers.
11924         * manual/maint.texi (Maintenance): Likewise.
11925         (Platform): New node.
11926         * manual/platform.texi: New file.  Document the new features.
11927
11928 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11929             Jakub Jelinek  <jakub@redhat.com>
11930
11931         [BZ #14188]
11932         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11933         where __builtin_expect is unavailable.
11934
11935 2012-06-03  David S. Miller  <davem@davemloft.net>
11936
11937         * stdlib/longlong.h: Updated from GCC.
11938
11939 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11940
11941         [BZ #14042]
11942         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11943         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11944         __mcount_internal.
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11946         (GLIBC_2.16): Likewise.
11947
11948 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11949
11950         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11951
11952 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11953
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11955         (default-abi): New variable.
11956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11957         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11958         variable.
11959         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11964         Likewise.
11965
11966         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11967         definition.  Document in comment.
11968
11969 2012-06-01  David S. Miller  <davem@davemloft.net>
11970
11971         * stdlib/longlong.h: Updated from GCC.
11972
11973 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11974
11975         [BZ #14117]
11976         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11977         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11978         sys/debugreg.h sys/io.h here.
11979         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11980         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11981         sys/io.h.
11982         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11983         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11984         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11985         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11986         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11987         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11988
11989         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11990         Define only if __x86_64__ is defined.
11991
11992 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11993
11994         [BZ #14048]
11995         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11996         Use int64_t for variable i.
11997         * math/libm-test.inc (fmod_test): Add more tests.
11998
11999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12000         z computation is not scheduled after fetestexcept.
12001         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12002         Use math_force_eval instead of asm to ensure calculation scheduled
12003         before exception test.
12004         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12005         Ensure a1 + u.d computation is not scheduled after fetestexcept.
12006
12007 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
12008
12009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12010         computation is not scheduled after fetestexcept.
12011
12012 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
12013
12014         [BZ #14117]
12015         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12016         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12017
12018 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12019
12020         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12022
12023 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12024
12025         [BZ #14117]
12026         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12027         <bits/wordsize.h>.
12028         (__WCHAR_MIN): Support __WORDSIZE == 64.
12029         (__WCHAR_MAX): Likewise.
12030
12031         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12032         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12033
12034         [BZ #14183]
12035         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12036         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12037
12038         [BZ #14117]
12039         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12041
12042         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12043         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12044
12045         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12046         Defined to 1 if __x86_64__ isn't defined.
12047         (_STAT_VER_LINUX_OLD): New.
12048         (st_atime): Remove duplicate.
12049         (st_mtime): Likewise.
12050         (st_ctime): Likewise.
12051
12052 2012-05-31  David S. Miller  <davem@davemloft.net>
12053
12054         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12055         entries.
12056
12057 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
12058
12059         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12060         gen-libm-test.pl.
12061
12062         [BZ #14132]
12063         * elf/dl-reloc.c: Include <_itoa.h>.
12064         (_dl_reloc_bad_type): Remove use of INTUSE.
12065         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12066         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12067         * stdio-common/psiginfo.c (psiginfo): Likewise.
12068         * stdio-common/psignal.c (psignal): Likewise.
12069         * string/strsignal.c (strsignal): Likewise.
12070         * include/signal.h (_sys_siglist): Declare hidden proto.
12071         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
12072         INTVARDEF with libc_hidden_data_def.
12073         * stdio-common/itoa-udigits.c: Likewise.
12074         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12075         (_itoa_lower_digits_internal): Remove declaration.
12076         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12077         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12078         (_sys_sigabbrev_internal): Remove aliases.
12079         (_sys_siglist): Define hidden alias.
12080
12081 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
12082
12083         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12084         bits/sysctl.h.
12085
12086 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
12087
12088         [BZ #14117]
12089         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12090         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12091
12092         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12093         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12094         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12095         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12096         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12097         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12098
12099         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12100         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12101         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12102
12103         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12104         with __addr.
12105         (insw): Likewise.
12106         (insl): Likewise.
12107         (outsb): Likewise.
12108         (outsw): Likewise.
12109         (outsl): Likewise.
12110
12111         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12112         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12113         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12114
12115         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12116         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12117         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12118         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12119         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12120         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12121
12122         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12123         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12124
12125         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12126         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12127
12128         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12130         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12131
12132         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12133         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12134         to ...
12135         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12136
12137         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12138         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12139         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12140
12141         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12142         for x86-64.
12143         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12144
12145 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
12146
12147         * math/math.h (M_El): Use two more decimal places.
12148         (M_LOG2El): Likewise.
12149         (M_LOG10El): Likewise.
12150         (M_LN2l): Likewise.
12151         (M_LN10l): Likewise.
12152         (M_PIl): Likewise.
12153         (M_PI_2l): Likewise.
12154         (M_PI_4l): Likewise.
12155         (M_1_PIl): Likewise.
12156         (M_2_PIl): Likewise.
12157         (M_2_SQRTPIl): Likewise.
12158         (M_SQRT2l): Likewise.
12159         (M_SQRT1_2l): Likewise.
12160
12161 2012-05-31  David S. Miller  <davem@davemloft.net>
12162
12163         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12164         values between float registers.
12165         * sysdeps/sparc/sparc64/memset.S: Likewise.
12166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12167
12168 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
12169
12170         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12171         -D_FORTIFY_SOURCE=1.
12172         (CPPFLAGS-tst-longjmp_chk.c): Define.
12173         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12174         (CPPFLAGS-tst-longjmp_chk2.c): Define.
12175         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12176         CFLAGS-tst-wchar-h.c.
12177
12178 2012-05-31  Marek Polacek  <polacek@redhat.com>
12179
12180         [BZ #14132]
12181         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12182         __endmntent_internal): Remove declaration.
12183         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12184         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12185         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12186
12187 2012-05-30  David S. Miller  <davem@davemloft.net>
12188
12189         * sysdeps/sparc/sparc32/soft-fp/q_util.c
12190         (___Q_simulate_exceptions): Use real FP ops rather than writing
12191         into the %fsr.
12192         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12193         Likewise.
12194
12195 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12196
12197         [BZ #14117]
12198         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12199         * sysdeps/x86/bits/xtitypes.h: This.
12200
12201         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12202         * sysdeps/x86/bits/wordsize.h: This.
12203
12204         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12205         * sysdeps/x86/bits/huge_vall.h: This.
12206
12207         * sysdeps/i386/bits/select.h: Removed.
12208         * sysdeps/x86_64/bits/select.h: Renamed to ...
12209         * sysdeps/x86/bits/select.h: This.
12210
12211         * sysdeps/i386/bits/setjmp.h: Removed.
12212         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12213         * sysdeps/x86/bits/setjmp.h: This.
12214
12215         * sysdeps/i386/bits/mathdef.h: Removed.
12216         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12217         * sysdeps/x86/bits/mathdef.h: This.
12218
12219 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
12220
12221         [BZ #14132]
12222         * include/sys/socket.h (__connect_internal)
12223         (__libc_sa_len_internal): Remove declaration.
12224         (__connect, __libc_sa_len): Declare hidden_proto.
12225         (SA_LEN): Remove use of INTUSE.
12226         * socket/connect.c: Add libc_hidden_def.
12227         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12228         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12229         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12230         alias.
12231         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12232         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12233         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12234         of adding _internal alias.
12235
12236 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12237
12238         [BZ #14117]
12239         * sysdeps/i386/bits/link.h: Removed.
12240         * sysdeps/i386/bits/linkmap.h: Likewise.
12241         * sysdeps/x86_64/bits/link.h: Renamed to ...
12242         * sysdeps/x86/bits/link.h: This.
12243         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12244         * sysdeps/x86/bits/linkmap.h: This.
12245
12246         * sysdeps/i386/bits/endian.h: Removed.
12247         * sysdeps/x86_64/bits/endian.h: Renamed to ...
12248         * sysdeps/x86/bits/endian.h: This.
12249
12250         * sysdeps/i386/bits/byteswap.h: Removed.
12251         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12252         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12253         * sysdeps/x86/bits/byteswap.h: This.
12254         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12255         * sysdeps/x86/bits/byteswap-16.h: This.
12256         * sysdeps/i386/Implies: Add x86.
12257         * sysdeps/x86_64/Implies: Likewise.
12258
12259 2012-05-30  David S. Miller  <davem@davemloft.net>
12260
12261         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12262         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12263         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12264         (FP_TRAPPING_EXCEPTIONS): Define.
12265         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12266         (FP_TRAPPING_EXCEPTIONS): Define.
12267         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12268         subnormals only when inexact has been signalled or underflow
12269         exceptions are enabled.
12270         (_FP_PACK_CANONICAL): Likewise.
12271
12272 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12273
12274         [BZ #14183]
12275         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12276         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12277
12278 2012-05-30  Richard Henderson  <rth@twiddle.net>
12279
12280         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12281         with #ifndef NOT_IN_libc.
12282
12283         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
12284         marked to avoid plt entry.
12285
12286 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
12287
12288         [BZ #14112]
12289         * Makeconfig (default-abi): New macro.
12290         (abi-includes): Likewise.
12291         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
12292         $(abi-$(default-abi)-lib-soname) for soname if defined.
12293         ($(common-objpfx)gnu/lib-names.stmp): Generate from
12294         abi-variants.
12295         * Makefile (installed-stubs): Likewise.
12296         * include/stubs-biarch.h: Removed.
12297         * scripts/lib-names.awk: Only handle one library at a time.
12298         * scripts/soversions.awk: Remove WORDSIZE support.
12299         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12300         entries.
12301         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12302         Removed.
12303         (syscall-list-default-condition): Likewise.
12304         (syscall-list-default-condition): Likewise.
12305         (syscall-list-includes): Likewise.
12306         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12307         syscall-list-* with abi-*.  Handle undefined abi-variants.
12308         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12309         * sysdeps/unix/sysv/linux/i386/Implies: New file.
12310         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12311         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12312         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12313         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12314         Removed.
12315         (syscall-list-32-options): Likewise.
12316         (syscall-list-32-condition): Likewise.
12317         (syscall-list-64-options): Likewise.
12318         (syscall-list-64-condition): Likewise.
12319         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12320         macro.
12321         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12322         Renamed to ...
12323         (abi-*): This.
12324         (abi-64-ld-soname): New macro.
12325         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12326         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12327         Renamed to ...
12328         (abi-*): This.
12329         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12330         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12331
12332 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12333
12334         * sysdeps/unix/sysv/linux/kernel-features.h
12335         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12336         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12337         include <kernel-features.h>.
12338         [!__NR_ftruncate64]: Remove conditional code.
12339         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12340         [__NR_ftruncate64]: Make code unconditional.
12341         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12342         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12343         include <kernel-features.h>.
12344         [!__NR_ftruncate64]: Remove conditional code.
12345         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12346         [__NR_ftruncate64]: Make code unconditional.
12347         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12349         include <kernel-features.h>.
12350         [!__NR_ftruncate64]: Remove conditional code.
12351         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12352         [__NR_ftruncate64]: Make code unconditional.
12353         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12355         include <kernel-features.h>.
12356         [!__NR_ftruncate64]: Remove conditional code.
12357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12358         [__NR_ftruncate64]: Make code unconditional.
12359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12360
12361         * configure.in (libc_cv_fpie): Weaken to a compile test using
12362         LIBC_TRY_CC_OPTION.
12363         * configure: Regenerated.
12364
12365 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12366
12367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12371         Refreshed.
12372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12378         Refreshed.
12379
12380 2012-05-27  David S. Miller  <davem@davemloft.net>
12381
12382         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12383         (___Q_zero): New.
12384         (__Q_simulate_exceptions): Return void.  Change to simulate
12385         exceptions by writing into the %fsr.
12386         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12387         (__Qp_handle_exceptions): Likewise.
12388         (numbers): Delete.
12389         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12390         __Qp_handle_exceptions.
12391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12392         __Qp_handle_exceptions.
12393         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12394         as unused and give dummy FP_RND_NEAREST initializer.
12395         (FP_INHIBIT_RESULTS): Define.
12396         (___Q_simulate_exceptions): Update declaration.
12397         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12398         formatting.
12399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12400         as unused and give dummy FP_RND_NEAREST initializer.
12401         (__Qp_handle_exceptions): Update declaration.
12402         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12403         formatting.
12404
12405 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12406
12407         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12408         the temporary FPU control word.
12409         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12410         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12411         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12412         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12413         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12414         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12415         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12416         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12417         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12418         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12419         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12420
12421 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12422
12423         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12424         fields.
12425
12426 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12427
12428         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12429         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12430         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12431         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12432         Likewise.
12433         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12434         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12435         Likewise.
12436
12437 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12438
12439         * po/h.po: Update from translation team.
12440
12441 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12442
12443         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12444
12445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12446         handling of denormals.
12447         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12448         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12449         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12450         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12454         Likewise.
12455
12456 2012-05-26  Marek Polacek  <polacek@redhat.com>
12457
12458         [BZ #14152]
12459         * math/libm-test.inc (fma_test): Don't always expect underflow
12460         exception.
12461
12462 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12463
12464         [BZ #12416]
12465         * elf/tst-execstack.c: Include stackinfo.h.
12466         (do_test): Adjust test case to ensure that pthread_getattr_np
12467         behaviour remains the same after marking stack executable.
12468
12469 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12470
12471         * sysdeps/unix/sysv/linux/kernel-features.h
12472         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12473         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12474         kernel-features.h.
12475         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12476         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12477         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12478         kernel-features.h.
12479         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12480         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12481
12482 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12483
12484         * configure.in: Define the default includes to being none.
12485         * configure: Regenerated.
12486
12487 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12488
12489         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12490         * sysdeps/x86_64/setjmp.S: Likewise.
12491         * sysdeps/i386/bsd-setjmp.S: Likewise.
12492         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12493         * sysdeps/i386/setjmp.S: Likewise.
12494         * sysdeps/i386/__longjmp.S: Likewise.
12495         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12496         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12497
12498         * include/stap-probe.h: New file.
12499         * configure.in: Handle --enable-systemtap.
12500         * configure: Regenerated.
12501         * config.h.in (USE_STAP_PROBE): New #undef.
12502         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12503         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12504         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12505
12506 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12507
12508         [BZ #13717]
12509         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12510         to 2.4.0 where earlier.
12511         * sysdeps/unix/sysv/linux/configure: Regenerated.
12512         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12513         <kernel-features.h>.
12514         [__ASSUME_32BITUIDS]: Make code unconditional.
12515         [!__ASSUME_32BITUIDS]: Remove conditional code.
12516         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12517         <kernel-features.h>.
12518         [__ASSUME_32BITUIDS]: Make code unconditional.
12519         [!__ASSUME_32BITUIDS]: Remove conditional code.
12520         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12521         [__ASSUME_32BITUIDS]: Make code unconditional.
12522         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12523         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12524         <kernel-features.h>.
12525         [__ASSUME_32BITUIDS]: Make code unconditional.
12526         [!__ASSUME_32BITUIDS]: Remove conditional code.
12527         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12528         <kernel-features.h>.
12529         [__ASSUME_32BITUIDS]: Make code unconditional.
12530         [!__ASSUME_32BITUIDS]: Remove conditional code.
12531         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12532         <kernel-features.h>.
12533         [__ASSUME_32BITUIDS]: Make code unconditional.
12534         [!__ASSUME_32BITUIDS]: Remove conditional code.
12535         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12536         <kernel-features.h>.
12537         [__ASSUME_32BITUIDS]: Make code unconditional.
12538         [!__ASSUME_32BITUIDS]: Remove conditional code.
12539         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12540         <kernel-features.h>.
12541         [__ASSUME_32BITUIDS]: Make code unconditional.
12542         [!__ASSUME_32BITUIDS]: Remove conditional code.
12543         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12544         <kernel-features.h>.
12545         [__ASSUME_32BITUIDS]: Make code unconditional.
12546         [!__ASSUME_32BITUIDS]: Remove conditional code.
12547         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12548         <kernel-features.h>.
12549         [__ASSUME_32BITUIDS]: Make code unconditional.
12550         [!__ASSUME_32BITUIDS]: Remove conditional code.
12551         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12552         <kernel-features.h>.
12553         [__ASSUME_32BITUIDS]: Make code unconditional.
12554         [!__ASSUME_32BITUIDS]: Remove conditional code.
12555         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12556         <kernel-features.h>.
12557         [__ASSUME_32BITUIDS]: Make code unconditional.
12558         [!__ASSUME_32BITUIDS]: Remove conditional code.
12559         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12560         <kernel-features.h>.
12561         [__ASSUME_32BITUIDS]: Make code unconditional.
12562         [!__ASSUME_32BITUIDS]: Remove conditional code.
12563         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12564         <kernel-features.h>.
12565         [__NR_setresgid] (__setresgid): Do not declare.
12566         [__ASSUME_32BITUIDS]: Make code unconditional.
12567         [!__ASSUME_32BITUIDS]: Remove conditional code.
12568         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12569         <kernel-features.h>.
12570         [__NR_setresuid] (__setresuid): Do not declare.
12571         [__ASSUME_32BITUIDS]: Make code unconditional.
12572         [!__ASSUME_32BITUIDS]: Remove conditional code.
12573         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12574         <kernel-features.h>.
12575         [__ASSUME_32BITUIDS]: Make code unconditional.
12576         [!__ASSUME_32BITUIDS]: Remove conditional code.
12577         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12578         <kernel-features.h>.
12579         [__ASSUME_32BITUIDS]: Make code unconditional.
12580         [!__ASSUME_32BITUIDS]: Remove conditional code.
12581         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12582         <kernel-features.h>.
12583         [__ASSUME_32BITUIDS]: Make code unconditional.
12584         [!__ASSUME_32BITUIDS]: Remove conditional code.
12585         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12586         <kernel-features.h>.
12587         [__ASSUME_32BITUIDS]: Make code unconditional.
12588         [!__ASSUME_32BITUIDS]: Remove conditional code.
12589         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12590         <kernel-features.h>.
12591         [__ASSUME_32BITUIDS]: Make code unconditional.
12592         [!__ASSUME_32BITUIDS]: Remove conditional code.
12593         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12594         <kernel-features.h>.
12595         [__ASSUME_32BITUIDS]: Make code unconditional.
12596         [!__ASSUME_32BITUIDS]: Remove conditional code.
12597         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12598         <kernel-features.h>.
12599         [__ASSUME_32BITUIDS]: Make code unconditional.
12600         [!__ASSUME_32BITUIDS]: Remove conditional code.
12601         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12602         <kernel-features.h>.
12603         [__ASSUME_32BITUIDS]: Make code unconditional.
12604         [!__ASSUME_32BITUIDS]: Remove conditional code.
12605         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12606         <kernel-features.h>.
12607         [__ASSUME_32BITUIDS]: Make code unconditional.
12608         [!__ASSUME_32BITUIDS]: Remove conditional code.
12609         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12610         <kernel-features.h>.
12611         [__ASSUME_32BITUIDS]: Make code unconditional.
12612         [!__ASSUME_32BITUIDS]: Remove conditional code.
12613         * sysdeps/unix/sysv/linux/kernel-features.h
12614         (__ASSUME_SETRESUID_SYSCALL): Remove.
12615         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12616         (__ASSUME_32BITUIDS): Likewise.
12617         (__ASSUME_LDT_WORKS): Likewise.
12618         (__ASSUME_O_DIRECTORY): Likewise.
12619         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12620         architecture but not kernel version.
12621         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12622         (__ASSUME_MMAP2_SYSCALL): Likewise.
12623         (__ASSUME_STAT64_SYSCALL): Likewise.
12624         (__ASSUME_IPC64): Likewise.
12625         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12626         <kernel-features.h>.
12627         [__ASSUME_32BITUIDS]: Make code unconditional.
12628         [!__ASSUME_32BITUIDS]: Remove conditional code.
12629         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12630         <kernel-features.h>.
12631         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12632         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12633         132096]: Remove conditional code.
12634         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12635         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12636         <kernel-features.h>.
12637         [__ASSUME_32BITUIDS]: Make code unconditional.
12638         [!__ASSUME_32BITUIDS]: Remove conditional code.
12639         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12640         <kernel-features.h>.
12641         [__ASSUME_32BITUIDS]: Make code unconditional.
12642         [!__ASSUME_32BITUIDS]: Remove conditional code.
12643         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12644         <kernel-features.h>.
12645         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12646         unconditional.
12647         (__setresgid): Do not declare.
12648         [__ASSUME_32BITUIDS]: Make code unconditional.
12649         [!__ASSUME_32BITUIDS]: Remove conditional code.
12650         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12651         <kernel-features.h>.
12652         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12653         unconditional.
12654         (__setresuid): Do not declare.
12655         [__ASSUME_32BITUIDS]: Make code unconditional.
12656         [!__ASSUME_32BITUIDS]: Remove conditional code.
12657         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12658         <kernel-features.h>.
12659         [__ASSUME_32BITUIDS]: Make code unconditional.
12660         [!__ASSUME_32BITUIDS]: Remove conditional code.
12661         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12662         <kernel-features.h>.
12663         [__ASSUME_32BITUIDS]: Make code unconditional.
12664         [!__ASSUME_32BITUIDS]: Remove conditional code.
12665
12666 2012-05-25  Richard Henderson  <rth@twiddle.net>
12667
12668         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12669         dl_hwcap to ifunc resolver.
12670         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12671         elf_ifunc_invoke.
12672         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12673         dl_hwcap to ifunc resolver.
12674         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12675
12676 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12677
12678         [BZ #14153]
12679         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12680         for |x| <= 2**-26, not 2**-57.
12681         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12682         exception.
12683
12684 2012-05-24  Jeff Law  <law@redhat.com>
12685
12686         * stdio-common/Makefile (tests): Add bug25.
12687         * stdio-common/bug25.c: New test.
12688
12689 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12690
12691         [BZ #13576]
12692         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12693         multiple of MALLOC_ALIGNMENT in size.
12694         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12695
12696 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12697
12698         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12699         Require >= 256.
12700         (FILENAME_MAX): Use macro-int-constant.
12701         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12702         (_IOFBF): Use macro-int-constant.
12703         (_IOLBF): Likewise.
12704         (_IONBF): Likewise.
12705         (SEEK_CUR): Likewise.
12706         (SEEK_END): Likewise.
12707         (SEEK_SET): Likewise.
12708         (TMP_MAX): Likewise.
12709         (EOF): Use macro-int-constant.  Require < 0.
12710         (NULL): Use macro-constant.  Require == 0.
12711         (stdin): Require type to be FILE *.
12712         (stdout): Likewise.
12713         (stderr): Likewise.
12714         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12715         macro-int-constant.
12716         (EXIT_SUCCESS): Likewise.
12717         (NULL): Use macro-constant.  Require == 0.
12718         (RAND_MAX): Use macro-int-constant.
12719         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12720         [C99-based standards] (strtof): Require function.
12721         [C99-based standards] (strtold): Likewise.
12722         [C99-based standards] (strtoll): Likewise.
12723         [C99-based standards] (strtoull): Likewise.
12724         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12725         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12726         [ISO || ISO99 || ISO11] (math.h): Likewise.
12727         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12728         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12730
12731 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12732
12733         [BZ #14132]
12734         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12735         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12736         * intl/dgettext.c (DCGETTEXT): Likewise.
12737         * intl/gettext.c (DCGETTEXT): Likewise.
12738         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12739         * posix/regex_internal.h (gettext): Likewise.
12740         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12741         Remove declaration.
12742         * include/argz.h (__argz_count_internal)
12743         (__argz_stringify_internal): Remove declaration.
12744         (__argz_count, __argz_stringify): Declare hidden proto.
12745         * intl/dcgettext.c: Remove use of INTDEF.
12746         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12747         * string/argz-stringify.c: Likewise.
12748         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12749         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12750         Declare hidden proto.
12751         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12752         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12753         Declare hidden proto.
12754         * include/stdio.h (__asprintf_internal): Don't declare.
12755         (__asprintf): Don't define as macro.  Declare hidden proto.
12756         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12757         (__fsetlocking): Declare hidden proto.
12758         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12759         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12760         hidden proto.
12761         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12762         (_IO_setlinebuf): Remove use of INTUSE.
12763         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12764         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12765         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12766         Remove declaration.
12767         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12768         (_IO_do_flush): Remove use of INTUSE.
12769         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12770         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12771         (_IO_adjust_column, _IO_least_wmarker)
12772         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12773         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12774         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12775         (_IO_default_doallocate, _IO_wdefault_doallocate)
12776         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12777         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12778         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12779         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12780         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12781         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12782         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12783         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12784         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12785         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12786         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12787         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12788         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12789         proto.
12790         (_IO_flush_all_internal, _IO_adjust_column_internal)
12791         (_IO_default_uflow_internal, _IO_default_finish_internal)
12792         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12793         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12794         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12795         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12796         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12797         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12798         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12799         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12800         (_IO_file_close_internal, _IO_file_close_it_internal)
12801         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12802         (_IO_file_init_internal, _IO_file_attach_internal)
12803         (_IO_file_fopen_internal, _IO_file_read_internal)
12804         (_IO_file_sync_internal, _IO_file_seek_internal)
12805         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12806         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12807         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12808         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12809         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12810         (_IO_list_all_internal, _IO_link_in_internal)
12811         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12812         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12813         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12814         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12815         (_IO_do_write_internal, _IO_padn_internal)
12816         (_IO_getline_info_internal, _IO_getline_internal)
12817         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12818         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12819         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12820         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12821         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12822         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12823         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12824         with libc_hidden_ver, remove use of INTUSE.
12825         * libio/genops.c: Likewise.
12826         * libio/freopen.c: Likewise.
12827         * libio/freopen64.c: Likewise.
12828         * libio/iofclose.c: Likewise.
12829         * libio/iofdopen.c: Likewise.
12830         * libio/iofflush.c: Likewise.
12831         * libio/iofflush_u.c: Likewise.
12832         * libio/iofgets.c: Likewise.
12833         * libio/iofgets_u.c: Likewise.
12834         * libio/iofopen.c: Likewise.
12835         * libio/iofopncook.c: Likewise.
12836         * libio/iofread.c: Likewise.
12837         * libio/iofread_u.c: Likewise.
12838         * libio/ioftell.c: Likewise.
12839         * libio/iofwrite.c: Likewise.
12840         * libio/iogetline.c: Likewise.
12841         * libio/iogets.c: Likewise.
12842         * libio/iogetwline.c: Likewise.
12843         * libio/iopadn.c: Likewise.
12844         * libio/iopopen.c: Likewise.
12845         * libio/ioseekoff.c: Likewise.
12846         * libio/ioseekpos.c: Likewise.
12847         * libio/iosetbuffer.c: Likewise.
12848         * libio/iosetvbuf.c: Likewise.
12849         * libio/ioungetc.c: Likewise.
12850         * libio/ioungetwc.c: Likewise.
12851         * libio/iovdprintf.c: Likewise.
12852         * libio/iovsprintf.c: Likewise.
12853         * libio/iovsscanf.c: Likewise.
12854         * libio/memstream.c: Likewise.
12855         * libio/obprintf.c: Likewise.
12856         * libio/oldfileops.c: Likewise.
12857         * libio/oldiofclose.c: Likewise.
12858         * libio/oldiofdopen.c: Likewise.
12859         * libio/oldiofopen.c: Likewise.
12860         * libio/oldiopopen.c: Likewise.
12861         * libio/oldstdfiles.c: Likewise.
12862         * libio/putc.c: Likewise.
12863         * libio/setbuf.c: Likewise.
12864         * libio/setlinebuf.c: Likewise.
12865         * libio/stdfiles.c: Likewise.
12866         * libio/strops.c: Likewise.
12867         * libio/vasprintf.c: Likewise.
12868         * libio/vscanf.c: Likewise.
12869         * libio/vsnprintf.c: Likewise.
12870         * libio/vswprintf.c: Likewise.
12871         * libio/wfiledoalloc.c: Likewise.
12872         * libio/wfileops.c: Likewise.
12873         * libio/wgenops.c: Likewise.
12874         * libio/wmemstream.c: Likewise.
12875         * libio/wstrops.c: Likewise.
12876         * libio/__fpurge.c: Likewise.
12877         * libio/__fsetlocking.c: Likewise.
12878         * assert/assert.c: Likewise.
12879         * debug/fgets_chk.c: Likewise.
12880         * debug/fgets_u_chk.c: Likewise.
12881         * debug/fread_chk.c: Likewise.
12882         * debug/fread_u_chk.c: Likewise.
12883         * debug/gets_chk.c: Likewise.
12884         * debug/obprintf_chk.c: Likewise.
12885         * debug/vasprintf_chk.c: Likewise.
12886         * debug/vdprintf_chk.c: Likewise.
12887         * debug/vsnprintf_chk.c: Likewise.
12888         * debug/vsprintf_chk.c: Likewise.
12889         * malloc/mtrace.c: Likewise.
12890         * misc/error.c: Likewise.
12891         * misc/syslog.c: Likewise.
12892         * stdio-common/asprintf.c: Likewise.
12893         * stdio-common/fxprintf.c: Likewise.
12894         * stdio-common/getw.c: Likewise.
12895         * stdio-common/isoc99_fscanf.c: Likewise.
12896         * stdio-common/isoc99_scanf.c: Likewise.
12897         * stdio-common/isoc99_vfscanf.c: Likewise.
12898         * stdio-common/isoc99_vscanf.c: Likewise.
12899         * stdio-common/isoc99_vsscanf.c: Likewise.
12900         * stdio-common/printf-prs.c: Likewise.
12901         * stdio-common/printf_fp.c: Likewise.
12902         * stdio-common/printf_fphex.c: Likewise.
12903         * stdio-common/printf_size.c: Likewise.
12904         * stdio-common/putw.c: Likewise.
12905         * stdio-common/scanf.c: Likewise.
12906         * stdio-common/sprintf.c: Likewise.
12907         * stdio-common/tmpfile.c: Likewise.
12908         * stdio-common/vfprintf.c: Likewise.
12909         * stdio-common/vfscanf.c: Likewise.
12910         * stdlib/strfmon_l.c: Likewise.
12911         * sunrpc/openchild.c: Likewise.
12912         * sunrpc/xdr_stdio.c: Likewise.
12913         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12914         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12915
12916 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12917
12918         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12919
12920         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12921         in the third column, to generate for the shared library an IFUNC
12922         that uses _dl_vdso_vsym.
12923         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12924         * Makeconfig (object-suffixes-noshared): New variable.
12925
12926         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12927         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12928         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12929         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12930
12931         [BZ #14132]
12932         * include/sys/time.h (__gettimeofday): Remove macro.
12933         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12934         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12935         Remove INTDEF.
12936         (__gettimeofday): Add libc_hidden_def.
12937         (gettimeofday): Add libc_hidden_weak.
12938         * sysdeps/mach/gettimeofday.c: Likewise.
12939         * sysdeps/posix/gettimeofday.c: Likewise.
12940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12941         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12943         (__gettimeofday_internal): Remove strong_alias.
12944         (__gettimeofday): Add libc_hidden_def.
12945         (gettimeofday): Add libc_hidden_weak.
12946         * sysdeps/unix/syscalls.list (gettimeofday):
12947         Remove __gettimeofday_internal alias.
12948
12949 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12950             H.J. Lu  <hongjiu.lu@intel.com>
12951
12952         [BZ #12495]
12953         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12954         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12955         (largebin_index_32_big): New.
12956         (largebin_index): Use it for 16-byte alignment.
12957         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12958         correction with front_misalign.
12959
12960 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12961
12962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12964         Likewise.
12965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12966         Likewise.
12967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12968         Likewise.
12969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12970         Likewise.
12971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12972         Likewise.
12973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12974         Likewise.
12975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12976         Likewise.
12977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12978         Likewise.
12979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12980         Likewise.
12981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12982         Likewise.
12983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12984         Likewise.
12985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12986         Likewise.
12987
12988         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12989         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12990
12991 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12992
12993         [BZ #10846]
12994         [BZ #14036]
12995         * math/libm-test.inc (exp_test): Add test from bug 14036.
12996         (pow_test): Add test from bug 10846.
12997
12998         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12999         and other flags.
13000         (special_function): Do not include flags in test name.
13001         (parse_args): Likewise.
13002         * sysdeps/i386/fpu/libm-test-ulps: Update.
13003         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13005         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13007
13008         * math/gen-libm-test.pl (%beautify): Add entries for underflow
13009         exceptions.
13010         * math/libm-test.inc ("Philosophy"): Update comment about
13011         exception testing.
13012         (UNDERFLOW_EXCEPTION): New macro.
13013         (UNDERFLOW_EXCEPTION_OK): Likewise.
13014         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13015         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13016         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13017         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13018         (INVALID_EXCEPTION_OK): Update value.
13019         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13020         (OVERFLOW_EXCEPTION_OK): Likewise.
13021         (IGNORE_ZERO_INF_SIGN): Likewise.
13022         (test_exceptions): Handle underflow exceptions.
13023         (acos_test): Update for underflow exception expectations.
13024         (cexp_test): Likewise.
13025         (clog_test): Likewise.
13026         (clog10_test): Likewise.
13027         (csqrt_test): Likewise.
13028         (ctan_test): Likewise.
13029         (ctanh_test): Likewise.
13030         (exp_test): Likewise.
13031         (exp10_test): Likewise.
13032         (exp2_test): Likewise.
13033         (expm1_test): Likewise.
13034         (fma_test): Likewise.
13035         (j0_test): Likewise.
13036         (jn_test): Likewise.
13037         (nexttoward_test): Likewise.
13038         (pow_test): Likewise.
13039         (scalbn_test): Likewise.
13040         (scalbln_test): Likewise.
13041         (tan_test): Likewise.
13042         (y1_test): Likewise.
13043         * sysdeps/i386/fpu/libm-test-ulps: Update.
13044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045
13046 2012-05-23  David S. Miller  <davem@davemloft.net>
13047
13048         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13049         (__libc_sigaction): Remove unused local variables.
13050
13051 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13052
13053         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13054
13055 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
13056
13057         mktime: avoid signed integer overflow
13058         * time/mktime.c (__mktime_internal): Do not mishandle the case
13059         where diff == INT_MIN.
13060
13061         mktime: simplify computation of average
13062         * time/mktime.c (ranged_convert): Use new time_t_avg function
13063         instead of rolling our own (probably-slower) code.
13064
13065         mktime: do not assume signed right shift propagates sign bit
13066         * time/mktime.c (isdst_differ): New static function.
13067         (__mktime_internal): No need to normalize tm_isdst now.
13068         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13069         tm_isdst values.
13070
13071         mktime: merge another wrapv change from gnulib
13072         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13073         from some compilers.
13074
13075         mktime: remove incorrect attempt at unusual arithmetics
13076         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13077         The code didn't really work on such machines anyway.
13078         (TYPE_MINIMUM): Assume two's complement.
13079         (twos_complement_arithmetic): Verify that long_int and time_t
13080         are two's complement (or unsigned, in the latter case).
13081
13082         mktime: check signed shifts on long_int and time_t, too
13083         * time/mktime.c (SHR): Check that shifts work as desired
13084         on the types long_int and time_t too, as SHR is used on
13085         such types.
13086
13087         mktime: do not assume 'long' is wide enough
13088         * time/mktime.c (verify): Move decl up.
13089         (long_int): New type.
13090         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13091         to remove assumption in the code that 'long' is wide enough to
13092         store year values.  This assumption is not true on x32 and on
13093         some non-glibc platforms.
13094
13095         mktime: merge wrapv change from gnulib
13096         * time/mktime.c (WRAPV): New macro.
13097         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13098         (guess_time_tm, __mktime_internal): Do not assume that signed
13099         integer overflow wraps around; modern compilers generate code
13100         where this assumption is no longer valid.
13101
13102 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13103
13104         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13105         Replace "jmp L(pseudo_end)" with "ret".
13106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13107         Likewise.
13108
13109 2012-05-23  Andreas Jaeger  <aj@suse.de>
13110
13111         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13112         * sysdeps/unix/sysv/linux/poll.c: Remove file.
13113
13114 2012-05-23  Andreas Jaeger  <aj@suse.de>
13115             Maximilian Attems  <max@stro.at>
13116
13117         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13118         New macros.
13119
13120 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
13121
13122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13123         code so that pseudo_end is just ret and the stack pointer is
13124         correct also for static library in error case.
13125
13126 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
13127
13128         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13129         move to syscalls.list.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13134
13135         * manual/install.texi (Running make install): Do not mention Linux
13136         kernel version for which pt_chown is not needed.
13137         (Linux): Do not mention problems with nscd with 2.0 kernels.
13138         * INSTALL: Regenerated.
13139
13140 2012-05-23  Andreas Jaeger  <aj@suse.de>
13141
13142         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13143         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13144         macro.
13145         * sysdeps/unix/sysv/linux/s390/bits/mman.h
13146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13147         * sysdeps/unix/sysv/linux/sh/bits/mman.h
13148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13149         * sysdeps/unix/sysv/linux/i386/bits/mman.h
13150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13151         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13153         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13154         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13155         * sysdeps/unix/sysv/linux/bits/in.h
13156         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13157
13158 2012-05-22  Roland McGrath  <roland@hack.frob.com>
13159
13160         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13161         (PREPARE_VERSION): Just use assert instead, it will be elided
13162         under [NDEBUG] anyway.
13163
13164 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13165
13166         * sysdeps/unix/sysv/linux/Makefile: Include
13167         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13168         (sysdep_routines): Remove sysctl.
13169         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13170         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13171         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13172         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13173         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13174
13175 2012-05-22  Andreas Jaeger  <aj@suse.de>
13176
13177         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13178         that pseudo_end is just ret and the stack pointer is correct also
13179         for static library in error case.
13180
13181 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13182
13183         [BZ #14122]
13184         * nss/nsswitch.c (defconfig_entries): New variable.
13185         (__nss_database_lookup): Don't leak defconfig entries.
13186         (nss_parse_service_list): Don't leak on error paths.
13187         (free_database_entries): New function.
13188         (free_defconfig): New function.
13189         (free_mem): Move common code to free_database_entries.
13190
13191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13192
13193         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13194         Add arch_prctl.
13195         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13196
13197         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13198         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13200         New macro.
13201         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13202         (INTERNAL_SYSCALL_TYPES): Likewise.
13203         (LOAD_ARGS_TYPES_[1-6]): Likewise.
13204         (LOAD_REGS_TYPES_[1-6]): Likewise.
13205         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13206         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13207
13208 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13209
13210         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13211         copysignl for GLIBC_2_0.
13212         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13213         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13215         logbl for GLIBC_2_0.
13216         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13217         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13218
13219 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13220
13221         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13222         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13223
13224         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13225         Use "neg %eax".
13226
13227         * time/mktime.c: Update copyright years.
13228
13229 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13230
13231         mktime: merge comment-quoting-style change from gnulib
13232         * time/mktime.c: Quote 'like this' in comments.
13233         The GNU coding standards suggest that we no longer quote `like this',
13234         as "`" and "'" are typically rendered asymmetrically nowadays.
13235         The typical gnulib style is to quote 'like this' when quoting
13236         code, and "like this" when quoting English.
13237
13238         * time/mktime.c (compile-command): Add "-I.".
13239
13240         mktime: merge mktime-internal.h change from gnulib
13241         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13242
13243         mktime: merge time_r change from gnulib
13244         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13245
13246         mktime: merge DEBUG change from gnulib
13247         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13248         case system <time.h> has a #define.
13249
13250         mktime: merge <sys/types.h> change from gnulib
13251         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13252         since <time.t> is now guaranteed to define time_t.
13253
13254         mktime: merge HAVE_CONFIG_H change from gnulib
13255         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13256
13257 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13258
13259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13260         Use "neg %eax".
13261
13262         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13263         __rlim_t cast.
13264         (struct rusage): Use anonymous union to pad each field to
13265         __syscall_slong_t.
13266
13267 2012-05-21  David S. Miller  <davem@davemloft.net>
13268
13269         * Makefules (o-iterator): Remove .s cases.
13270         (compile-command.s): Delete.
13271         (COMPILE.s): Delete.
13272         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13273
13274 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
13275
13276         * configure.in (libc_cv_predef_stack_protector): Only consider
13277         "foobar" and "__stack_chk_fail" lines in libc_undefs.
13278         * configure: Regenerated.
13279
13280 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13281
13282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13283         New macro.  Use R*LP on int and pointer.
13284         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13285         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13286         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13287         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13288
13289         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13290         [__WORDSIZE_TIME64_COMPAT32] instead of
13291         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13292         (struct utmp): Likewise.
13293         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13294         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13295         Renamed to ...
13296         (__WORDSIZE_TIME64_COMPAT32): This.
13297         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13298         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13299         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13300         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13301         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13302         (__WORDSIZE_TIME64_COMPAT32): New macro.
13303
13304 2012-05-21  Andreas Jaeger  <aj@suse.de>
13305
13306         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13307         only if [SHARED]. Add prototype for __wcschr_ia32.
13308
13309 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13310
13311         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13312         of %rbp unmolested in the jmp_buf while mangling the low bits.
13313         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13314         unmolested high bits of %rbp while demangling the low bits.
13315         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13316
13317 2012-05-21  Andreas Jaeger  <aj@suse.de>
13318
13319         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13320         * sunrpc/svc_simple.c: Use it for registerrpc.
13321         * sunrpc/xcrypt.c: Use it for passwd2des.
13322
13323         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13324
13325 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13326
13327         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13328         Don't define if [__SYSCALL_WORDSIZE != 32].
13329         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13330         New macro.
13331
13332 2012-05-21  Bruno Haible  <bruno@clisp.org>
13333             Andreas Jaeger  <aj@suse.de>
13334
13335         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13336         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13337         inptr and inend for must_buffer_ch.
13338         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13339         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13340         * stdio-common/Makefile (tests): Remove bug15.
13341         (bug15-ENV): Remove macro.
13342         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13343         anymore.
13344
13345 2012-05-19  Andreas Jaeger  <aj@suse.de>
13346             Roland McGrath  <roland@hack.frob.com>
13347
13348         * manual/contrib.texi: Completely rewritten. It contains now an
13349         alphabetical list of contributors and their contributions.
13350
13351 2012-05-21  Richard Henderson  <rth@twiddle.net>
13352
13353         * misc/getauxval.c (__getauxval): Use unsigned long int.
13354         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13355         (getauxval): Use unsigned long int.
13356
13357 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13358
13359         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13360
13361 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13362
13363         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13364         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13365         __alignof__ (long double).
13366
13367 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13368
13369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13370
13371 2012-05-20  Richard Henderson  <rth@twiddle.net>
13372
13373         * misc/getauxval.c: New file.
13374         * misc/sys/auxv.h: New file.
13375         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13376         (routines): Add getauxval.
13377         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13378         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13379         * elf/dl-sysdep.c (_dl_auxv): Remove.
13380         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13381         * elf/dl-support.c (_dl_auxv): New variable.
13382         (_dl_aux_init): Initialize it.
13383         * manual/startup.texi (Auxiliary Vector): New node.
13384         * sysdeps/generic/bits/hwcap.h: New file.
13385         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13386         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13387         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13388         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13389         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13390         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13392         Update.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13401
13402 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13403
13404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13405
13406 2012-05-19  David S. Miller  <davem@davemloft.net>
13407
13408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13409
13410 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13411
13412         [BZ #14123]
13413         * math/s_ccosh.c: Include <float.h>
13414         (__ccosh): Avoid internal overflow calculating sinh and cosh
13415         values before multiplying by sin and cos values.
13416         * math/s_ccoshf.c: Likewise.
13417         * math/s_ccoshl.c: Likewise.
13418         * math/s_csin.c: Likewise.
13419         * math/s_csinf.c: Likewise.
13420         * math/s_csinl.c: Likewise.
13421         * math/s_csinh.c: Likewise.
13422         * math/s_csinhf.c: Likewise.
13423         * math/s_csinhl.c: Likewise.
13424         * math/libm-test.inc (ccos_test): Add more tests.
13425         (ccosh_test): Likewise.
13426         (csin_test): Likewise.
13427         (csinh_test): Likewise.
13428         * sysdeps/i386/fpu/libm-test-ulps: Update.
13429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13430
13431 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13432
13433         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13434         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13435
13436         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13437
13438 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13439
13440         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13441         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13442         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13443         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13444         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13445         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13446         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13447         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13448         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13449         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13450         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13451         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13452         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13453         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13454         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13455         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13456         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13457         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13458         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13459         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13460         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13461         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13462         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13463         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13464         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13465         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13466         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13467         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13468         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13469         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13470         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13471
13472 2012-05-18  Andreas Jaeger  <aj@suse.de>
13473
13474         * csu/.gitignore: Delete.
13475
13476 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13477
13478         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13479         (timex): Use __syscall_slong_t.
13480
13481 2012-05-18  Andreas Jaeger  <aj@suse.de>
13482             Carlos O'Donell  <carlos_odonell@mentor.com>
13483
13484         * manual/install.texi (Configuring and compiling): Update
13485         description about files modified in the source directory.
13486         * INSTALL: Regenerated.
13487
13488 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13489
13490         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13491         value.  Use "or" to set return value to -1.
13492         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13493         negate return value.
13494
13495 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13496
13497         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13498         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13499         failure if the compiler has Graphite support disabled.
13500         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13501         Likewise.
13502         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13503         CFLAGS-memmove.c): Likewise.
13504         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13505         Likewise.
13506
13507 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13508
13509         * sysdeps/x86_64/x32/_itoa.h: New file.
13510
13511         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13512         getdents system call only if kernel and user dirents have the
13513         same d_ino and d_off.
13514
13515         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13516         LLONG_MAX != LONG_MAX.
13517         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13518         (_fitoa_word): Likewise.
13519
13520         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13521         years.
13522         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13523         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13524         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13525
13526         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13527         include <bits/wordsize.h>.  Check __x86_64__ instead of
13528         __WORDSIZE.
13529         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13530         if __x86_64__ is defined.  Use anonymous union on fpstate.
13531
13532         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13533         anonymous union.
13534
13535 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13536
13537         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13538         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13539         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13540         Refer to _rtld_local_ro instead of _rtld_global_ro.
13541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13542         Likewise.
13543         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13544         Likewise.
13545         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13546         Likewise.
13547         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13548         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13549         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13550
13551         * sysdeps/powerpc/powerpc32/dl-machine.c
13552         (__elf_machine_runtime_setup) [PROF]: Don't reference
13553         _dl_prof_resolve.
13554
13555 2012-05-18  Andreas Jaeger  <aj@suse.de>
13556
13557         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13558         function only available for GCCs before 3.4 since GCC 3.4
13559         introduced a builtin.
13560         (lrint): Likewise.
13561         (llrintf): Likewise.
13562         (llrint): Likewise.
13563         (fmaxf): Likewise.
13564         (fmax): Likewise.
13565         (fminf): Likewise.
13566         (fmin): Likewise.
13567         (rint): Likewise.
13568         (rintf): Likewise.
13569         (nearbyint): Likewise.
13570         (nearbyintf): Likewise.
13571         (ceil): Likewise.
13572         (ceilf): Likewise.
13573         (floor): Likewise.
13574         (floorf): Likewise.
13575
13576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13577
13578         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13579         on both fields and cast pointer to __syscall_ulong_t.
13580
13581         * bits/types.h (__fsword_t): New type.
13582         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13583         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13584         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13585         (__FSWORD_T_TYPE): Likewise.
13586         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13587         (__FSWORD_T_TYPE): Likewise.
13588         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13589         (__FSWORD_T_TYPE): Likewise.
13590         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13591         (__FSWORD_T_TYPE): Likewise.
13592         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13593         __SWORD_TYPE with __fsword_t.
13594         (statfs64): Likewise.
13595
13596 2012-05-17  David S. Miller  <davem@davemloft.net>
13597
13598         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13599
13600 2012-05-17  Andreas Jaeger  <aj@suse.de>
13601
13602         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13603         warning.
13604
13605 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13606
13607         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13608
13609 2012-05-17  Andreas Jaeger  <aj@suse.de>
13610
13611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13612         when it is used.
13613
13614 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13615
13616         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13617
13618 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13619
13620         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13621         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13622
13623 2012-05-17  Andreas Jaeger  <aj@suse.de>
13624             Carlos O'Donell  <carlos_odonell@mentor.com>
13625
13626         [BZ #14059]
13627         * sysdeps/x86_64/multiarch/init-arch.h
13628         (bit_YMM_Usable): Rename to...
13629         (bit_AVX_Usable): ... this.
13630         (bit_FMA4_Usable): New macro.
13631         (bit_XMM_state): New macro.
13632         (bit_YMM_state): New macro.
13633         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13634         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13635         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13636         (CPUID_OSXSAVE): New macro.
13637         (CPUID_AVX): New macro.
13638         (CPUID_FMA4): New macro.
13639         (index_YMM_Usable): Rename to...
13640         (index_AVX_Usable): ... this.
13641         (HAS_AVX): Use HAS_ARCH_FEATURE.
13642         (HAS_FMA4): Likewise.
13643         (HAS_YMM_USABLE): Remove.
13644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13645         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13646         are present.
13647         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13648         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13649         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13650         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13651         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13652
13653 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13654
13655         * math/libm-test.c: Support platforms without multiple rounding modes.
13656         * math/bug-nextafter.c: Support platforms without FP exceptions.
13657         * math/bug-nexttoward.c: Likewise.
13658         * math/test-fenv.c: Likewise.
13659         * math/test-misc.c: Likewise.
13660         * stdlib/bug-getcontext.c: Likewise.
13661
13662 2012-05-17  Andreas Jaeger  <aj@suse.de>
13663
13664         * manual/examples/search.c (critter_cmp): Change signature to
13665         avoid warnings.
13666         * manual/string.texi (Collation Functions): Likewise.
13667
13668 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13669
13670         * bits/types.h: Fold copyright years.
13671         * bits/typesizes.h: Likewise.
13672         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13675         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13676         * time/time.h: Likewise.
13677
13678 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13679
13680         [BZ #208]
13681         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13682         in instead of returning them.  Return void.
13683         (__libc_mallinfo): Accumulate over all arenas.
13684         (__malloc_stats): Adjust for change in int_mallinfo interface.
13685
13686 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13687
13688         [BZ #10375]
13689         * configure.in (NM): Add AC_CHECK_TOOL for it.
13690         (libc_extra_cflags): New substituted variable.
13691         Check for -fstack-protector being used implicitly.
13692         * configure: Regenerated.
13693         * config.make.in (config-extra-cflags): New variable,
13694         gets @libc_extra_cflags@.
13695         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13696
13697         [BZ #10375]
13698         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13699         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13700         * configure: Regenerated.
13701         * config.make.in (CPPUNDEFS): New substituted variable.
13702         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13703         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13704         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13705
13706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13707
13708         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13709         (mq_attr): Use __syscall_slong_t.
13710
13711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13712
13713         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13714         Check __x86_64__ instead of __WORDSIZE.
13715         (_STAT_VER_LINUX): Likewise.
13716         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13717         __syscall_ulong_t and __syscall_slong_t.
13718         (stat64): Likewise.
13719
13720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13721
13722         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13723
13724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13725
13726         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13727
13728 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13729
13730         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13731         __syscall_ulong_t.
13732
13733         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13734         include <bits/wordsize.h>.  Check __x86_64__ instead of
13735         __WORDSIZE.
13736         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13737         defined.
13738         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13739
13740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13741         include <bits/wordsize.h>.  Check __x86_64__ instead of
13742         __WORDSIZE.
13743         (user_regs_struct): Use "__extension__ unsigned long long"
13744         instead of "unsigned long" if __x86_64__ is defined.
13745         (user): Likewise.  Pad after pointer field if __ILP32__ is
13746         defined.
13747
13748 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13749
13750         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13751         versions 5 to 9.
13752         * configure: Regenerated.
13753         * manual/install.texi (texinfo): Increase version requirement to
13754         4.5 or later.
13755         * INSTALL: Regenerated.
13756
13757         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13758
13759 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13760
13761         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13762
13763         * sysdeps/x86_64/x32/ffs.c: New file.
13764
13765         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13766         __syscall_ulong_t.
13767         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13768         defined.  Use __syscall_ulong_t.
13769         (shminfo): Use __syscall_ulong_t.
13770         (shm_info): Likewise.
13771
13772         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13773         __syscall_ulong_t.
13774
13775         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13776         <bits/wordsize.h>.
13777         (msgqnum_t): Use __syscall_ulong_t.
13778         (msglen_t): Likewise.
13779         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13780         __syscall_ulong_t.
13781
13782         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13783         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13784
13785         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13786
13787         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13788         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13789
13790         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13791         __syscall_slong_t.
13792
13793         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13794         include <bits/wordsize.h>.  Check __x86_64__ instead of
13795         __WORDSIZE.
13796
13797         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13798         "unsigned long long int" if __x86_64__ is defined.
13799         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13800
13801         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13802         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13803         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13804
13805         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13806         <stdint.h>.
13807         (GET_PC): Cast to uintptr_t first.
13808         (GET_FRAME): Likewise.
13809         (GET_STACK): Likewise.
13810
13811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13812         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13813         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13814         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13815         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13817         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13818         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13819         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13821         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13823         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13825         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13827         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13829         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13831         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13833         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13835         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13837         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13839         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13840
13841 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13842
13843         * Makerules (+depfiles): Also collect depfiles from .oS in
13844         $(extra-objs).
13845         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13846         .oS, $(libnldbl-routines)).
13847
13848         * Makerules (native-compile-mkdep-flags): Define.
13849         * sunrpc/Makefile (extra-objs): Add $(addprefix
13850         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13851         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13852         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13853         calling $(make-target-directory).
13854
13855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13856
13857         * bits/types.h (__snseconds_t): Removed.
13858         * time/time.h (struct timespec): Replace __snseconds_t with
13859         __syscall_slong_t.
13860         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13861         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13862         Likewise.
13863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13864         (__SNSECONDS_T_TYPE): Likewise.
13865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13866         (__SNSECONDS_T_TYPE): Likewise.
13867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13868         (__SNSECONDS_T_TYPE): Likewise.
13869
13870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13871
13872         * sysdeps/mach/hurd/bits/typesizes.h
13873         (__SYSCALL_SLONG_TYPE): New macro.
13874         (__SYSCALL_ULONG_TYPE): Likewise.
13875
13876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13877
13878         * bits/types.h (__syscall_slong_t): New type.
13879         (__syscall_ulong_t): Likewise.
13880
13881         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13882         (__SYSCALL_ULONG_TYPE): Likewise.
13883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13884         (__SYSCALL_SLONG_TYPE): Likewise.
13885         (__SYSCALL_ULONG_TYPE): Likewise.
13886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13887         (__SYSCALL_SLONG_TYPE): Likewise.
13888         (__SYSCALL_ULONG_TYPE): Likewise.
13889         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13890         (__SYSCALL_SLONG_TYPE): Likewise.
13891         (__SYSCALL_ULONG_TYPE): Likewise.
13892
13893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13894
13895         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13896         Add sigaltstack-offsets.sym.
13897         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13898         <sigaltstack-offsets.h>.
13899         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13900         longjmp_msg pointer.
13901         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13902         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13903         signal stack.
13904         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13905
13906 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13907
13908         * elf/stackguard-macros.h: Remove file.
13909         * sysdeps/generic/stackguard-macros.h: New file.
13910         * sysdeps/i386/stackguard-macros.h: Likewise.
13911         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13912         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13913         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13914         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13915         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13916         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13917         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13918         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13919         <elf/stackguard-macros.h>.
13920
13921         [BZ #14109]
13922         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13923         __aligned__ in attribute.
13924         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13925         (gregset_t): Likewise.
13926
13927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13928
13929         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13930         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13931         * sysdeps/x86_64/x32/Implies-after: New file.
13932
13933 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13934
13935         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13936         and access return value for _dl_profile_fixup.  Use R10_LP to
13937         load frame size.
13938
13939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13940
13941         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13942
13943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13944
13945         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13946         * sysdeps/x86_64/x32/sysdep.h: New file.
13947
13948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13949
13950         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13951         * sysdeps/x86_64/setjmp.S: Likewise.
13952
13953 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13954
13955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13956         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13957         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13958         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13959         remove unused global constant.
13960
13961 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13962
13963         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13964         include of <not-cancel.h>.
13965
13966 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13967
13968         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13969
13970 2012-05-15  Jeff Law  <law@redhat.com>
13971             Andreas Jaeger  <aj@suse.de>
13972
13973         [BZ #13594]
13974         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13975         out from...
13976         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13977         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13978         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13979         code changing __hst_map_handle.map.
13980
13981 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13982
13983         * configure.in (sysnames): Look for Implies-before and Implies-after
13984         files.
13985         * configure: Regenerated.
13986
13987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13988
13989         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13990         8-byte data alignment with LP_SIZE alignment.
13991
13992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13993
13994         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13995         into R10_LP.
13996
13997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13998
13999         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14000
14001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14002
14003         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14004         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14005         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14006         Likewise.
14007         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14008
14009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14010
14011         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14012         (stackinfo_sub_sp): Likewise.
14013
14014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14015
14016         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14017         RAX_LP.
14018
14019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14020
14021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14022         into R*_LP.
14023
14024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14025
14026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14027         sizes into R*_LP.
14028
14029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14030
14031         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14032
14033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14034
14035         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14036         into R11_LP and load __x86_64_shared_cache_size_half into
14037         R8_LP.
14038
14039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
14040
14041         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14042         R8_LP.
14043
14044 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14045
14046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14047         logb for POWER7.
14048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14049         logbf for POWER7.
14050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14051         logbl for POWER7.
14052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14053         powerpc32/power7/fpu/s_logb.c via #include.
14054         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14055         powerpc32/power7/fpu/s_logbf.c via #include.
14056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14057         powerpc32/power7/fpu/s_logbl.c via #include.
14058
14059 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
14060
14061         * README.libm: Remove file.
14062
14063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14064
14065         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14066         count for x32.  Use R*_LP and omit operand-size suffix.
14067
14068 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14069
14070         * shlib-versions: Move x86_64-.*-linux.* entries to ...
14071         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
14072         * sysdeps/x86_64/x32/shlib-versions: New file.
14073
14074 2012-05-14  Roland McGrath  <roland@hack.frob.com>
14075
14076         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14077         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14078         Use _dl_fatal_printf instead.
14079
14080 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14081
14082         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14083         set if not set by the user.  Do not allow for being unset.
14084         * sysdeps/unix/sysv/linux/configure: Regenerated.
14085
14086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14087
14088         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14089         the `q' suffix from lea and replace .quad with ASM_ADDR.
14090
14091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14092
14093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14094         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
14095         instead of $17.
14096         (PTR_DEMANGLE): Likewise.
14097
14098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14099
14100         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14101         (LP_OP): Likewise.
14102         (ASM_ADDR): Likewise.
14103         (RAX_LP): Likewise.
14104         (RBP_LP): Likewise.
14105         (RBX_LP): Likewise.
14106         (RCX_LP): Likewise.
14107         (RDI_LP): Likewise.
14108         (RSI_LP): Likewise.
14109         (RSP_LP): Likewise.
14110         (R8_LP): Likewise.
14111         (R9_LP): Likewise.
14112         (R10_LP): Likewise.
14113         (R10_LP): Likewise.
14114         (R11_LP): Likewise.
14115         (R12_LP): Likewise.
14116         (R13_LP): Likewise.
14117         (R14_LP): Likewise.
14118         (R15_LP): Likewise.
14119
14120 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14121
14122         * sysdeps/x86_64/x32/dl-machine.h: New file.
14123
14124 2012-05-14  Andreas Jaeger  <aj@suse.de>
14125
14126         * manual/Makefile (subdir): Remove export of subdir.
14127         (all): Remove target.
14128         (.PHONY): Remove all from list.
14129         (mkinstalldirs): Remove.
14130         (.PHONY): Remove installdirs from list.
14131         ($(inst_infodir)/libc.info): Use make-target-directory.
14132         (installdirs): Remove.
14133         (subdir_%): Remove.
14134         (glibc-targets): Remove.
14135         (lib): Remove.
14136         (stubs): Remove.
14137         ($(objpfx)stubs ../po/manual.pot): Remove.
14138         ($(objpfx)stamp%): Remove.
14139         (make-target-directory): Remove.
14140         (subdir_install): Remove.
14141         (routines): Remove.
14142         (aux): Remove.
14143         (sources): Remove.
14144         (objects): Remove.
14145         (headers): Remove.
14146
14147         [BZ #13750]
14148         * manual/.gitignore: Remove, it's not needed anymore.
14149         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14150         all files in it.
14151         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14152         directory.
14153         (texis): Renamed to $(objpfx)texis.
14154         (texis-path): New, contains path to generated files.
14155         (chapters.%): Use texis-path for complete path, add extra argument
14156         libc-texinfo.sh.
14157         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14158         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14159         (summary,texi, stamp-summary): Use complete path of
14160         files. Generate files in build dir.
14161         (dir-add.texi): Build in build dir.
14162         (libm-err.texi,stamp-libm-err): Likewise.
14163         (version.texi, stamp-version): Likewise.
14164         (.%c.texi): Likewise.
14165         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14166         (mostlyclean): Remove target.
14167         (realclean): Remove target.
14168         (generated): Add new variable with contents from mostlyclean and
14169         realclean, remove entries duplicated in common-mostlyclean, add
14170         stamp-libm-err and stamp-version.
14171         (generated-dirs): Add libc directory.
14172         ($(inst_infodir)/libc.info): Install files from build dir.
14173
14174         * manual/install.texi (Configuring and compiling): Adjust since
14175         the info files are not part of the tar ball anymore.
14176
14177 2012-05-14  Andreas Jaeger  <aj@suse.de>
14178
14179         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14180         variable.
14181
14182 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
14183
14184         [BZ #13717]
14185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14186         to 2.2.0 where earlier.
14187         * sysdeps/unix/sysv/linux/configure: Regenerated.
14188         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14189         Remove conditional code.
14190         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14191         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14192         Remove conditional code.
14193         [!__NR_lchown]: Likewise.
14194         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14195         [__NR_lchown]: Likewise.
14196         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14197         comment referencing __ASSUME_LCHOWN_SYSCALL.
14198         * sysdeps/unix/sysv/linux/i386/sigaction.c
14199         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14200         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14201         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14202         Remove conditional code.
14203         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14204         (__protocol_available): Remove #if 0 code.
14205         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14206         conditional code.
14207         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14208         * sysdeps/unix/sysv/linux/kernel-features.h
14209         (__ASSUME_GETCWD_SYSCALL): Don't define.
14210         (__ASSUME_REALTIME_SIGNALS): Likewise.
14211         (__ASSUME_PREAD_SYSCALL): Likewise.
14212         (__ASSUME_PWRITE_SYSCALL): Likewise.
14213         (__ASSUME_POLL_SYSCALL): Likewise.
14214         (__ASSUME_LCHOWN_SYSCALL): Likewise.
14215         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14216         non-SPARC.
14217         (__ASSUME_SIOCGIFNAME): Don't define.
14218         (__ASSUME_MSG_NOSIGNAL): Likewise.
14219         (__ASSUME_SENDFILE): Define unconditionally.
14220         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14221         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14222         conditional code.
14223         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14224         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14225         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14226         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14227         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14228         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14229         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14231         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14234         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14240         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14241         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14243         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14246         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14247         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14252         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14253         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14254         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14255         Remove conditional code.
14256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14257         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14258         Remove conditional code.
14259         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14260         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14261         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14262         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14263         Remove conditional code.
14264         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14265         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14266         Remove conditional code.
14267         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14268         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14269         Remove conditional code.
14270         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14271         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14272         Remove conditional code.
14273         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14274         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14275         Remove conditional code.
14276         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14277         * sysdeps/unix/sysv/linux/sh/pwrite64.c
14278         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14279         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14280         * sysdeps/unix/sysv/linux/sigaction.c
14281         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14282         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14283         * sysdeps/unix/sysv/linux/sigpending.c
14284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14286         * sysdeps/unix/sysv/linux/sigprocmask.c
14287         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14288         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14289         * sysdeps/unix/sysv/linux/sigsuspend.c
14290         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14291         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14292         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14293         (__libc_missing_rt_sigs): Remove.
14294         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14295         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14296         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14297         Remove conditional code.
14298         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14299         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14300         return 1.
14301         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14302         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14303         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14304         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14305
14306 2012-05-14  Andreas Jaeger  <aj@suse.de>
14307
14308         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14309         it's not used in glibc.
14310         (__coshm1): Likewise.
14311         (__acosh1p): Likewise.
14312         (__sgn): Likewise.
14313
14314         * manual/string.texi (Copying and Concatenation): Add missing
14315         variable in concat example.
14316         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14317
14318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14319
14320         [BZ #14103]
14321         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14322         __builtin_clzl with __builtin_clzll.
14323
14324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14325
14326         [BZ #14104]
14327         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14328         libc_freeres_ptr.
14329
14330 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14331
14332         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14333         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14334         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14335         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14336
14337 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14338
14339         * NEWS: Update ia64 info.
14340
14341 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14342
14343         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14344         used as bcopy.
14345
14346 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14347
14348         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14349         * sysdeps/unix/syscalls.list (dup3): Likewise.
14350         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14351         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14352
14353 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14354
14355         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14356         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14357
14358 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14359
14360         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14361         thread pointer.
14362         (TLS_IE): Use mov/add instead of movq/addq to load thread
14363         pointer.
14364         (TLS_GD_PREFIX): New.
14365         (TLS_GD): Use it.
14366
14367 2012-05-11  David S. Miller  <davem@davemloft.net>
14368
14369         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14370         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14371         (_FPU_SETCW): Likewise.
14372
14373 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14374
14375         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14376         is 32-byte aligned.
14377
14378 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14379
14380         [BZ #11837]
14381         * iconvdata/gb18030.c: Update tables.
14382         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14383         characters specially.
14384         (BODY for TO_LOOP): Add encoding of missing ranges.
14385
14386 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14387
14388         [BZ #13673]
14389         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14390         * sysdeps/mach/hurd/dup3.c: Likewise.
14391         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14392         * sysdeps/powerpc/memmove.c:: Likewise.
14393
14394 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14395
14396         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14397         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14398
14399 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14400
14401         * elf/elf.h (R_X86_64_RELATIVE64): New.
14402         (R_X86_64_NUM): Updated.
14403         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14404         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14405         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14406         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14407         tst-quad1pie tst-quad2pie
14408         (modules-names): Add tst-quadmod1 tst-quadmod2.
14409         ($(objpfx)tst-quad1): New dependency.
14410         ($(objpfx)tst-quad2): Likewise.
14411         ($(objpfx)tst-quad1pie): Likewise.
14412         ($(objpfx)tst-quad2pie): Likewise.
14413         * sysdeps/x86_64/tst-quad1.c: New file.
14414         * sysdeps/x86_64/tst-quad1pie.c: New file.
14415         * sysdeps/x86_64/tst-quad2.c: Likewise.
14416         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14417         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14418         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14419         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14420         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14421
14422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14423
14424         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14425         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14426         * streams/stropts.h (t_scalar_t): Define type.
14427
14428         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14429         (_PATH_PRESERVE): Set to "/var/lib".
14430         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14431
14432         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14433         instead of int.
14434
14435         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14436         if __dir_mkfile succeeded.
14437
14438         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14439         checking for _hurd_dtablesize.  Unlock it right after having
14440         finished _hurd_dtable allocation.
14441
14442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14443
14444         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14445         * sysdeps/mach/hurd/configure: Regenerated.
14446         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14447         special-casing to...
14448         * sysdeps/gnu/configure.in: ... this new file.
14449         * sysdeps/unix/sysv/linux/configure: Regenerated.
14450         * sysdeps/gnu/configure: New generated file.
14451
14452         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14453         for Linux: use nsec instead of usec, as well as:
14454         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14455         members of type struct timespec.
14456         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14457         New macros.
14458         (struct stat64): Likewise.
14459         (_STATBUF_ST_NSEC): New macro.
14460         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14461
14462         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14463         __strtoul_internal rather than strtoul.
14464
14465 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14466
14467         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14468         and reject them.
14469
14470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14471
14472         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14473         which preserves existing values.
14474         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14475
14476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14477
14478         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14479         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14480         greater than FD_SETSIZE.
14481
14482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14483
14484         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14485         allocated, call __vm_protect to finish enabling the existing space, and
14486         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14487         allocate the remainder.
14488
14489 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14490
14491         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14492         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14493
14494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14495
14496         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14497         sysdeps/mach/hurd/readlink.c.
14498
14499         * posix/tst-sysconf.c (posix_options): Only use
14500         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14501         _POSIX_SYNCHRONIZED_IO when they are defined
14502         * sysdeps/mach/hurd/bits/posix_opt.h:
14503         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14504         (_XOPEN_REALTIME): Undefine macro.
14505         (_XOPEN_REALTIME_THREADS): Undefine macro.
14506         (_XOPEN_SHM): Undefine macro.
14507         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14508         macro to -1.
14509         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14510         macro to -1.
14511         (_POSIX_ASYNC_IO): Undefine macro.
14512         (_POSIX_PRIORITIZED_IO): Undefine macro.
14513         (_POSIX_SPIN_LOCKS): Define macro to -1.
14514
14515         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14516         SA_NODEFER, SA_RESETHAND.
14517         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14518         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14519         F_DUPFD_CLOEXEC.
14520
14521 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14522
14523         * elf/Makefile (pldd-modules): Define unconditionally.
14524
14525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14526
14527         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14528
14529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14530
14531         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14532         Return ENOENT when name is empty.
14533         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14534
14535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14536
14537         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14538
14539         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14540
14541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14542
14543         Fix mlock in all cases except non-readable pages.
14544         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14545         instead of VM_PROT_ALL as parameter to __vm_wire function.
14546
14547         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14548         (__mkdir): When path is `/', just fail with EEXIST.
14549         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14550
14551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14552
14553         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14554         <sys/uio.h> (for writev).
14555         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14556         and <sys/param.h> (for MIN).
14557
14558 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14559
14560         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14561         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14562         if interrupted.
14563
14564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14565
14566         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14567         Depend on against $(link-rpcuserlibs).
14568
14569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14570
14571         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14572         (__libc_stack_end): Do not use attribute_relro.
14573         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14574         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14575         to libthread-provided value.
14576         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14577         attribute_relro.
14578
14579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14580
14581         [BZ #3748]
14582         * bits/libc-lock.h (__libc_once_get): New macro.
14583         * sysdeps/mach/bits/libc-lock.h: Likewise.
14584         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14586         instead of using implementation details.
14587
14588         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14589         * libio/freopen.c: Likewise.
14590         * libio/freopen64.c: Likewise.
14591         * misc/syslog.c: Likewise.
14592         * nscd/connections.c: Likewise.
14593         * nscd/netgroupcache.c: Likewise.
14594         * sysdeps/posix/getcwd.c: Likewise.
14595
14596 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14597
14598         * math/w_ilogbf.c: Add #include <limits.h>.
14599
14600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14601
14602         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14603         path instead of returning without unlocking.
14604
14605         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14606         immediate-write ioctls.
14607         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14608
14609 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14610
14611         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14612         __builtin_frame_address instead of making assumptions about the
14613         location of the return address relative to DATA.  Force early load of
14614         the return address.
14615         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14616         __builtin_frame_address.
14617
14618         dup3 for GNU Hurd.
14619         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14620         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14621         implement dup3 and do some further code clean-ups.
14622         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14624
14625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14626
14627         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14628
14629         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14630         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14631         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14632         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14633         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14634         d->port.lock.
14635
14636         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14637         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14638         when handler == SIG_ERR, not when handler != SIG_ERR.
14639
14640 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14641
14642         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14643         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14644         definitions.
14645
14646         accept4 for GNU Hurd.
14647         * include/sys/socket.h (__libc_accept4): New prototype.
14648         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14649         to implement __libc_accept4.
14650         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14651         __libc_accept4.
14652         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14653
14654         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14655         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14656         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14657         signal-defines.sym.
14658
14659 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14660
14661         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14662
14663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14664
14665         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14666         assertion on O_CLOEXEC flag.
14667         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14668         * hurd/intern-fd.c: Likewise.
14669         * hurd/port2fd.c: Likewise.
14670
14671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14672
14673         [BZ #3906]
14674         * bits/in.h (IPV6_PKTINFO): Define new macro.
14675         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14676
14677 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14678
14679         [BZ #13954]
14680         [BZ #13955]
14681         [BZ #13956]
14682         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14683         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14684         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14685         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14687         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14688         * math/libm-test.inc (logb_test) : Additional logb tests.
14689
14690 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14691             Andreas Jaeger  <aj@suse.de>
14692
14693         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14694         * configure: Regenerated.
14695         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14696         * config.make.in (link-obsolete-rpc): New substituted variable.
14697         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14698         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14699         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14700         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14701         so that libc.a contains the symbols.
14702         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14703         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14704         * sunrpc/auth_none.c: Likewise.
14705         * sunrpc/auth_unix.c: Likewise.
14706         * sunrpc/authdes_prot.c: Likewise.
14707         * sunrpc/authuxprot.c: Likewise.
14708         * sunrpc/clnt_gen.c: Likewise.
14709         * sunrpc/clnt_perr.c: Likewise.
14710         * sunrpc/clnt_raw.c: Likewise.
14711         * sunrpc/clnt_simp.c: Likewise.
14712         * sunrpc/clnt_tcp.c: Likewise.
14713         * sunrpc/clnt_udp.c: Likewise.
14714         * sunrpc/clnt_unix.c: Likewise.
14715         * sunrpc/des_crypt.c: Likewise.
14716         * sunrpc/des_soft.c: Likewise.
14717         * sunrpc/get_myaddr.c: Likewise.
14718         * sunrpc/key_call.c: Likewise.
14719         * sunrpc/key_prot.c: Likewise.
14720         * sunrpc/netname.c: Likewise.
14721         * sunrpc/pm_getmaps.c: Likewise.
14722         * sunrpc/pm_getport.c: Likewise.
14723         * sunrpc/pmap_clnt.c: Likewise.
14724         * sunrpc/pmap_prot.c: Likewise.
14725         * sunrpc/pmap_prot2.c: Likewise.
14726         * sunrpc/pmap_rmt.c: Likewise.
14727         * sunrpc/publickey.c: Likewise.
14728         * sunrpc/rpc_cmsg.c: Likewise.
14729         * sunrpc/rpc_common.c: Likewise.
14730         * sunrpc/rpc_dtable.c: Likewise.
14731         * sunrpc/rpc_prot.c: Likewise.
14732         * sunrpc/rpc_thread.c: Likewise.
14733         * sunrpc/rtime.c: Likewise.
14734         * sunrpc/svc.c: Likewise.
14735         * sunrpc/svc_auth.c: Likewise.
14736         * sunrpc/svc_raw.c: Likewise.
14737         * sunrpc/svc_run.c: Likewise.
14738         * sunrpc/svc_tcp.c: Likewise.
14739         * sunrpc/svc_udp.c: Likewise.
14740         * sunrpc/svc_unix.c: Likewise.
14741         * sunrpc/svcauth_des.c: Likewise.
14742         * sunrpc/xcrypt.c: Likewise.
14743         * sunrpc/xdr.c: Likewise.
14744         * sunrpc/xdr_array.c: Likewise.
14745         * sunrpc/xdr_float.c: Likewise.
14746         * sunrpc/xdr_intXX_t.c: Likewise.
14747         * sunrpc/xdr_mem.c: Likewise.
14748         * sunrpc/xdr_rec.c: Likewise.
14749         * sunrpc/xdr_ref.c: Likewise.
14750         * sunrpc/xdr_sizeof.c: Likewise.
14751         * sunrpc/xdr_stdio.c: Likewise.
14752
14753 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14754
14755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14756         change.  Update copyright years.
14757
14758 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14759
14760         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14761
14762 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14763             Joseph Myers  <joseph@codesourcery.com>
14764             Paul Pluzhnikov  <ppluzhnikov@google.com>
14765
14766         [BZ #14012]
14767         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14768         requiring rpcgen.
14769         [cross-compiling] (extra-libs): Likewise.
14770         [cross-compiling] (extra-libs-others): Likewise.
14771         [cross-compiling] (librpcsvc-routines): Likewise.
14772         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14773         [cross-compiling] (omit-deps): Likewise.
14774         (sunrpc-CPPFLAGS): New variable.
14775         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14776         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14777         (cross-rpcgen-objs): New variable.
14778         (extra-objs): Append $(cross-rpcgen-objs).
14779         ($(cross-rpcgen-objs)): New rule.
14780         ($(objpfx)cross-rpcgen): Likewise.
14781         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14782         comment.
14783         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14784         ($(objpfx)x%.stmp): Likewise.
14785         * sunrpc/proto.h [IS_IN_build] (_): Define.
14786         [IS_IN_build] (_libc_intl_domainname): Likewise.
14787
14788 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14789
14790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14791         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14792         and R_X86_64_TPOFF64.
14793
14794 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14795
14796         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14797         sysdeps/unix/sysv/syscalls.list.
14798         (stime): Likewise.
14799         (utime): Likewise.
14800         * sysdeps/unix/sysv/syscalls.list: Remove file.
14801
14802 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14803
14804         [BZ #3440]
14805         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14806         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14807         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14808         (__LC_IDENTIFICATION): Make these macros useful in #if
14809         expressions, as required by C99.
14810
14811 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14812
14813         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14814         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14815         after this.
14816
14817 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14818
14819         * stdlib/longlong.h: Updated from GCC.
14820
14821 2012-05-09  Andreas Jaeger  <aj@suse.de>
14822
14823         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14824         default is first entry.
14825         (run_mode): Set type.
14826         (main): Remove informal message about syslog.
14827         (options): Fix typo.
14828
14829         [BZ #14053]
14830         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14831         to asm.
14832         (lrint): Likewise.
14833         (llrintf): Likewise.
14834         (llrint): Likewise.
14835         (rint): Likewise.
14836         (rintf): Likewise.
14837         (nearbyint): Likewise.
14838         (nearbyintf): Likewise.
14839
14840 2012-05-09  Andreas Jaeger  <aj@suse.de>
14841             Pedro Alves  <palves@redhat.com>
14842
14843         * nscd/nscd.c (run_mode): Use enum.
14844         (main): Cleanup coding style issue.
14845
14846 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14847             Andreas Jaeger  <aj@suse.de>
14848
14849         * nscd/nscd.c (go_background): Replaced with...
14850         (run_mode): ... this.
14851         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14852         (options): Add -F --foreground.
14853         (main): Implement it.
14854         (parse_opt): Parse it.
14855
14856 2012-05-09  Andreas Jaeger  <aj@suse.de>
14857
14858         [BZ #14083]
14859         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14860         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14861         -Wconversion warning.
14862         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14863         Likewise.
14864
14865 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14866
14867         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14868         == 0.
14869         (LC_ALL): Use macro-int-constant.
14870         (LC_COLLATE): Likewise.
14871         (LC_CTYPE): Likewise.
14872         (LC_MESSAGES): Likewise.
14873         (LC_MONETARY): Likewise.
14874         (LC_NUMERIC): Likewise.
14875         (LC_TIME): Likewise.
14876         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14877         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14878         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14879         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14880         Specify type.
14881         [C99-based standards] (float_t): Expect type.
14882         [C99-based standards] (double_t): Expect type.
14883         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14884         type.
14885         [C99-based standards] (HUGE_VALL): Likewise.
14886         [C99-based standards] (INFINITY): Likewise.
14887         [C99-based standards] (NAN): Likewise.
14888         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14889         [C99-based standards] (FP_NAN): Likewise.
14890         [C99-based standards] (FP_NORMAL): Likewise.
14891         [C99-based standards] (FP_SUBNORMAL): Likewise.
14892         [C99-based standards] (FP_ZERO): Likewise.
14893         [C99-based standards] (FP_FAST_FMA): Use
14894         optional-macro-int-constant.  Specify type.  Require == 1.
14895         [C99-based standards] (FP_FAST_FMAF): Likewise.
14896         [C99-based standards] (FP_FAST_FMAL): Likewise.
14897         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14898         [C99-based standards] (FP_ILOGBNAN): Likewise.
14899         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14900         Specify type.
14901         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14902         [C99-based standards] (math_errhandling): Specify type.
14903         [ISO99 || ISO11] (signgam): Do not allow.
14904         [non-C99-based standards] (copysignf): Do not allow.
14905         [non-C99-based standards] (exp2f): Likewise.
14906         [non-C99-based standards] (log2f): Likewise.
14907         [non-C99-based standards] (modff): Allow.
14908         [non-C99-based standards] (erff): Do not allow.
14909         [non-C99-based standards] (erfcf): Likewise.
14910         [non-C99-based standards] (gammaf): Likewise.
14911         [non-C99-based standards] (hypotf): Likewise.
14912         [non-C99-based standards] (j0f): Likewise.
14913         [non-C99-based standards] (j1f): Likewise.
14914         [non-C99-based standards] (jnf): Likewise.
14915         [non-C99-based standards] (lgammaf): Likewise.
14916         [non-C99-based standards] (tgammaf): Likewise.
14917         [non-C99-based standards] (y0f): Likewise.
14918         [non-C99-based standards] (y1f): Likewise.
14919         [non-C99-based standards] (ynf): Likewise.
14920         [non-C99-based standards] (isnanf): Likewise.
14921         [non-C99-based standards] (acoshf): Likewise.
14922         [non-C99-based standards] (asinhf): Likewise.
14923         [non-C99-based standards] (atanhf): Likewise.
14924         [non-C99-based standards] (cbrtf): Likewise.
14925         [non-C99-based standards] (expm1f): Likewise.
14926         [non-C99-based standards] (ilogbf): Likewise.
14927         [non-C99-based standards] (log1pf): Likewise.
14928         [non-C99-based standards] (logbf): Likewise.
14929         [non-C99-based standards] (nextafterf): Likewise.
14930         [non-C99-based standards] (remainderf): Likewise.
14931         [non-C99-based standards] (rintf): Likewise.
14932         [non-C99-based standards] (scalbf): Likewise.
14933         [non-C99-based standards] (copysignl): Likewise.
14934         [non-C99-based standards] (exp2l): Likewise.
14935         [non-C99-based standards] (log2l): Likewise.
14936         [non-C99-based standards] (modfl): Allow.
14937         [non-C99-based standards] (erfl): Do not allow.
14938         [non-C99-based standards] (erfcl): Likewise.
14939         [non-C99-based standards] (gammal): Likewise.
14940         [non-C99-based standards] (hypotl): Likewise.
14941         [non-C99-based standards] (j0l): Likewise.
14942         [non-C99-based standards] (j1l): Likewise.
14943         [non-C99-based standards] (jnl): Likewise.
14944         [non-C99-based standards] (lgammal): Likewise.
14945         [non-C99-based standards] (tgammal): Likewise.
14946         [non-C99-based standards] (y0l): Likewise.
14947         [non-C99-based standards] (y1l): Likewise.
14948         [non-C99-based standards] (ynl): Likewise.
14949         [non-C99-based standards] (isnanl): Likewise.
14950         [non-C99-based standards] (acoshl): Likewise.
14951         [non-C99-based standards] (asinhl): Likewise.
14952         [non-C99-based standards] (atanhl): Likewise.
14953         [non-C99-based standards] (cbrtl): Likewise.
14954         [non-C99-based standards] (expm1l): Likewise.
14955         [non-C99-based standards] (ilogbl): Likewise.
14956         [non-C99-based standards] (log1pl): Likewise.
14957         [non-C99-based standards] (logbl): Likewise.
14958         [non-C99-based standards] (nextafterl): Likewise.
14959         [non-C99-based standards] (remainderl): Likewise.
14960         [non-C99-based standards] (rintl): Likewise.
14961         [non-C99-based standards] (scalbl): Likewise.
14962         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14963         [non-C99-based standards] (FP_*): Do not allow.
14964         [C99-based standards] (FP_*): Change to
14965         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14966         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14967         allow.
14968         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14969         (SIG_ERR): Likewise.
14970         [X/Open-based standards] (SIG_HOLD): Likewise.
14971         (SIG_IGN): Likewise.
14972         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14973         positive value.
14974         (SIGFPE): Likewise.
14975         (SIGILL): Likewise.
14976         (SIGINT): Likewise.
14977         (SIGSEGV): Likewise.
14978         (SIGTER): Likewise.
14979         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14980         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14981         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14982         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14983         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14984         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14985         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14986         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14987         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14988         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14989         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14990         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14991         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14992         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14993         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14994         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14995         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14996         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14997         [X/Open-based standards] (SIGTRAP): Likewise.
14998         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14999         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15000         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15001         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15002         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15003         allow.
15004
15005 2012-05-08  Ian Wienand  <ianw@vmware.com>
15006
15007         [BZ #14080]
15008         * time/tzset.c (__tzset_parse_tz): Update default rules for
15009         daylight time changes in the Energy Policy Act of 2005.
15010
15011 2012-05-09  Andreas Jaeger  <aj@suse.de>
15012
15013         [BZ #13983]
15014         * elf/ldconfig.c (parse_conf): Change string to make clear that
15015         ldconfig only issued a warning if ld.so.conf does not exist.
15016
15017 2012-05-08  David S. Miller  <davem@davemloft.net>
15018
15019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15020         movxtod instead of popping the value on the stack.
15021
15022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15023
15024 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
15025
15026         * config.h.in: Add HAVE_ARM_PCS_VFP.
15027
15028 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
15029
15030         [BZ #13979]
15031         * include/features.h: Warn if user requests __FORTIFY_SOURCE
15032         checking but the checks are disabled for any reason.
15033
15034 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15035
15036         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15037         and ELF64_R_TYPE with ELFW(R_TYPE).
15038
15039 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
15040
15041         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15042         (ulimit): Likewise.
15043
15044         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15045         (settimeofday): Likewise.
15046
15047 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
15048
15049         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
15050         a struct th_u2 inside the union, and move tu_block/tu_code into
15051         a new th_u3 union of tu_block/tu_code inside of that.  Move
15052         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
15053         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
15054         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15055         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15056         (th_stuff): Change to th_u1.tu_stuff.
15057         (th_data): Define.
15058         (th_msg): Change to th_u1.th_u2.tu_data.
15059
15060 2012-05-07  David S. Miller  <davem@davemloft.net>
15061
15062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15063
15064         [BZ #14074]
15065         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15066         (SETUP_PIC_REG): Use it.
15067         (SETUP_PIC_REG_LEAF): Use it.
15068
15069 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
15070
15071         [BZ #13885]
15072         [BZ #13923]
15073         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15074         USE_AS_EXPM1L.
15075         (EXPL_FINITE): Likewise.
15076         (FLDLOG): Likewise.
15077         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15078         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15079         e_expl.S.
15080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15081         USE_AS_EXPM1L.
15082         (EXPL_FINITE): Likewise.
15083         (FLDLOG): Likewise.
15084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15085         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15086         e_expl.S.
15087         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
15088         test of -max_value argument for long double.
15089         * sysdeps/i386/fpu/libm-test-ulps: Update.
15090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091
15092 2012-05-06  David S. Miller  <davem@davemloft.net>
15093
15094         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15095         quad soft-float symbols whose references which are compiler
15096         generated.
15097         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15098
15099 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
15100
15101         [BZ #13884]
15102         [BZ #13914]
15103         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15104         USE_AS_EXP10L.
15105         (EXPL_FINITE): Likewise.
15106         (FLDLOG): Likewise.
15107         (c0): Likewise.
15108         (c1): Likewise.
15109         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15110         Adjust comments for base varying.
15111         (__expl_finite): Change alias to EXPL_FINITE.
15112         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15113         e_expl.S.
15114         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15115         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15116         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15117         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15119         USE_AS_EXP10L.
15120         (EXPL_FINITE): Likewise.
15121         (FLDLOG): Likewise.
15122         (c0): Likewise.
15123         (c1): Likewise.
15124         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
15125         Adjust comments for base varying.
15126         (__expl_finite): Change alias to EXPL_FINITE.
15127         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
15128         tests for bugs.
15129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15130
15131         [BZ #14064]
15132         * math/libm-test.inc (check_float_internal): Correct ulp
15133         calculation for subnormal expected results.
15134
15135 2012-05-06  Andreas Jaeger  <aj@suse.de>
15136
15137         * Makeconfig (+math-flags): New, set to -frounding-math.
15138         (+cflags): Add +math-flags so that all of glibc gets compiled with
15139         it.
15140
15141         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15142
15143 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
15144
15145         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15146         Disable one test.
15147
15148         [BZ #13787]
15149         [BZ #13922]
15150         [BZ #14036]
15151         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15152         (__ieee754_expl): Allow for and saturate large arguments.
15153         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15154         (u_threshold): Likewise.
15155         (__exp): Call __ieee754_exp before checking for overflow and
15156         underflow.
15157         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15158         (u_threshold): Likewise.
15159         (__expf): Call __ieee754_expf before checking for overflow and
15160         underflow.
15161         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15162         (u_threshold): Likewise.
15163         (__expl): Call __ieee754_expl before checking for overflow and
15164         underflow.
15165         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15166         (__ieee754_expl): Allow for and saturate large arguments.
15167         * math/libm-test.inc (exp_test): Add another test.  Do not allow
15168         missing overflow exception on overflow.
15169         (expm1_test): Do not allow missing overflow exception on overflow.
15170
15171         * sysdeps/i386/fpu/e_expl.c: Move to ...
15172         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
15173         rather than using inline asm.
15174         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15175         * sysdeps/x86_64/fpu/e_expl.S: Copy from
15176         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15177
15178         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15179         (nice): Likewise.
15180         (poll): Likewise.
15181         (signal): Likewise.
15182         (time): Likewise.
15183         (times): Likewise.
15184
15185 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15186
15187         * sysdeps/unix/syscalls.list (adjtime): Add entry from
15188         sysdeps/unix/common/syscalls.list.
15189         (fchmod): Likewise.
15190         (fchown): Likewise.
15191         (ftruncate): Likewise.
15192         (getrusage): Likewise.
15193         (gettimeofday): Likewise.
15194         (setpgid): Likewise.
15195         (setregid): Likewise.
15196         (setreuid): Likewise.
15197         (sigaction): Likewise.
15198         (truncate): Likewise.
15199         (vhangup): Likewise.
15200         * sysdeps/unix/common/syscalls.list: Remove file.
15201         * sysdeps/unix/bsd/Implies: Don't include unix/common.
15202         * sysdeps/unix/sysv/linux/Implies: Likewise.
15203
15204 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
15205
15206         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15208         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15209         Moved to ...
15210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15211         Here.
15212         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15213         to ...
15214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15215         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15216         to ...
15217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15218         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15219         to ...
15220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15221         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15222         to ...
15223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15224         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15225         to ...
15226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15227         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15228         to ...
15229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15230         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15231         to ...
15232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15233         Here.
15234         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15235         to ...
15236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15237         Here.
15238         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15239         to ...
15240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15241         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15242         Moved to ...
15243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15244         Here.
15245         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15246         to ...
15247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15248
15249 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15250
15251         * sysdeps/unix/common/bits/dirent.h: Remove file.
15252         * sysdeps/unix/common/bits/fcntl.h: Likewise.
15253
15254         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15255         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15256         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15257         * sysdeps/unix/bsd/isatty.c: Likewise.
15258         * sysdeps/unix/bsd/tcdrain.c: Likewise.
15259         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15260         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15261
15262 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15263
15264         [BZ #13563]
15265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15266         long double comparison inaccuracies.
15267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15269
15270 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
15271
15272         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15273         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15274
15275 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
15276
15277         [BZ #14049]
15278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15279         nonzero digits before rounding a hex value.
15280         * stdlib/tst-strtod.c (tests): Add another test.
15281
15282 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15283
15284         * sysdeps/s390/fpu/libm-test-ulps: Update.
15285
15286 2012-05-03  Andreas Jaeger  <aj@suse.de>
15287
15288         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15289         does not get optimized out.
15290         (malloc_opt_barrier): New.
15291
15292 2012-05-03  Andreas Jaeger  <aj@suse.de>
15293             Roland McGrath  <roland@hack.frob.com>
15294
15295         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15296         intermediate file deletion.
15297         (generated): Add .symlist files.
15298
15299 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
15300
15301         [BZ #13775]
15302         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15303         Redirect under this condition.
15304         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15305         [__USE_GNU] (__dprintf_chk): Not under this condition.
15306         [__USE_GNU] (__vdprintf_chk): Likewise.
15307         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15308         under this condition.
15309         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15310         [__USE_XOPEN2K8] (dprintf): Define under this condition.
15311         [__USE_XOPEN2K8] (vdprintf): Likewise.
15312         [__USE_GNU] (__dprintf_chk): Not under this condition.
15313         [__USE_GNU] (__vdprintf_chk): Likewise.
15314         [__USE_GNU] (dprintf): Likewise.
15315         [__USE_GNU] (vdprintf): Likewise.
15316
15317 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15318
15319         * elf/Makefile (common-generated): Set this instead of generated for
15320         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15321         $(all-built-dso)-derived lists.
15322
15323 2012-05-03  Andreas Jaeger  <aj@suse.de>
15324
15325         * sysdeps/i386/fpu/libm-test-ulps: Update.
15326
15327         * FAQ: Removed.
15328         * FAQ.in: Likewise.
15329         * scripts/gen-FAQ.pl: Likewise.
15330         * manual/install.texi (Installation): Point to online location of
15331         FAQ.
15332         * Makefile (files-for-dist): Remove FAQ.
15333         (FAQ): Remove.
15334
15335 2012-05-02  Allan McRae  <allan@archlinux.org>
15336
15337         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15338         (LDFLAGS-reldepmod5.so): Likewise.
15339         (LDFLAGS-reldep6mod1.so): Likewise.
15340         (LDFLAGS-reldep6mod4.so): Likewise.
15341         (LDFLAGS-reldep8mod3.so): Likewise.
15342         (LDFLAGS-unload4mod1.so): Likewise.
15343         (LDFLAGS-unload4mod2.so): Likewise.
15344         (LDFLAGS-tst-initorder): Likewise.
15345         (LDFLAGS-tst-initordera2.so): Likewise.
15346         (LDFLAGS-tst-initordera3.so): Likewise.
15347         (LDFLAGS-tst-initordera4.so): Likewise.
15348         (LDFLAGS-tst-initorderb2.so): Likewise.
15349         (LDFLAGS-noload): Likewise.
15350         (LDFLAGS-next): Likewise.
15351         (LDFLAGS-order2mod1.so): Likewise.
15352         (LDFLAGS-order2mod2.so): Likewise.
15353         (LDFLAGS-tst-initorder2): Likewise.
15354         (LDFLAGS-tst-initorder2a.so): Likewise.
15355         (LDFLAGS-tst-initorder2b.so): Likewise.
15356         (LDFLAGS-tst-initorder2c.so): Likewise.
15357         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15358
15359 2012-05-02  David S. Miller  <davem@davemloft.net>
15360
15361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15362
15363 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15364
15365         [BZ #14055]
15366         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15367
15368 2012-05-02  Andreas Jaeger  <aj@suse.de>
15369
15370         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15371         since we manipulate rounding mode.
15372         (CPPFLAGS-test-idouble.c): Likewise.
15373         (CPPFLAGS-test-ifloat.c): Likewise.
15374         (CFLAGS-test-ldouble.c): Likewise.
15375         (CFLAGS-test-double.c): Likewise.
15376         (CFLAGS-test-float.c): Likewise.
15377         (CFLAGS-test-misc.c): Likewise.
15378         (CFLAGS-test-test-fenv.c): Likewise.
15379
15380 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15381
15382         [BZ #2550]
15383         [BZ #2570]
15384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15385         comparisons to determine direction to adjust input.
15386
15387 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15388
15389         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15390         output to the target.
15391
15392         * scripts/localplt.awk: New file.
15393         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15394         (check-localplt-CFLAGS): Variable removed.
15395         ($(all-built-dso:=.jmprel)): New static pattern rule.
15396         (generated): Add those targets.
15397         (localplt-built-dso): New variable.
15398         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15399
15400         * elf/check-localplt.c: File removed.
15401
15402         * scripts/check-execstack.awk: New file.
15403         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15404         (check-execstack-CFLAGS): Variable removed.
15405         ($(objpfx)check-execstack.h): Target removed.
15406         ($(objpfx)execstack-default): New target.
15407         (generated): Add that instead of check-execstack.h.
15408         ($(all-built-dso:=.phdr)): New static pattern rule.
15409         (generated): Add those targets.
15410         * elf/check-execstack.c: File removed.
15411
15412         * scripts/check-textrel.awk: New file.
15413         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15414         (check-textrel-CFLAGS): Variable removed.
15415         (all-built-dso): Use := to define.o
15416         ($(all-built-dso:=.dyn)): New static pattern rule.
15417         (generated): Add those targets.
15418         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15419         * config.make.in (READELF): New substituted variable.
15420         * elf/check-textrel.c: File removed.
15421
15422 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15423
15424         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15425         allow.
15426         * conform/data/ctype.h-data [C99-based standards] (isblank):
15427         Expect function.
15428         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15429         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15431         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15432         Specify type.  Require positive value.
15433         (EILSEQ): Likewise.
15434         (ERANGE): Likewise.
15435         [ISO || POSIX] (EILSEQ): Do not expect.
15436         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15437         Specify type.  Require positive value.
15438         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15439         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15440         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15441         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15442         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15443         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15444         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15445         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15446         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15447         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15448         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15449         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15450         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15451         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15452         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15453         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15454         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15455         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15456         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15457         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15458         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15459         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15460         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15461         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15462         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15463         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15464         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15465         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15466         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15467         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15468         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15469         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15470         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15471         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15472         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15473         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15474         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15475         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15476         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15477         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15478         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15479         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15480         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15481         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15482         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15483         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15484         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15485         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15486         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15487         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15488         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15489         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15490         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15491         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15492         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15493         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15494         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15495         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15496         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15497         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15498         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15499         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15500         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15501         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15502         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15503         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15504         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15505         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15506         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15507         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15508         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15509         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15510         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15511         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15512         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15513         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15514         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15515         Require >= 2.
15516         (FLT_ROUNDS): Expect as macro, not constant.
15517         (FLT_MANT_DIG): Use macro-int-constant.
15518         (DBL_MANT_DIG): Likewise.
15519         (LDBL_MANT_DIG): Likewise.
15520         (FLT_DIG): Likewise.
15521         (DBL_DIG): Likewise.
15522         (LDBL_DIG): Likewise.
15523         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15524         (DBL_MIN_EXP): Likewise.
15525         (LDBL_MIN_EXP): Likewise.
15526         (FLT_MAX_EXP): Use macro-int-constant.
15527         (DBL_MAX_EXP): Likewise.
15528         (LDBL_MAX_EXP): Likewise.
15529         (FLT_MAX_10_EXP): Likewise.
15530         (DBL_MAX_10_EXP): Likewise.
15531         (LDBL_MAX_10_EXP): Likewise.
15532         (FLT_MAX): Use macro-constant.
15533         (DBL_MAX): Likewise.
15534         (LDBL_MAX): Likewise.
15535         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15536         (DBL_EPSILON): Likewise.
15537         (LDBL_EPSILON): Likewise.
15538         (FLT_MIN): Likewise.
15539         (DBL_MIN): Likewise.
15540         (LDBL_MIN): Likewise.
15541         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15542         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15543         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15544         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15545         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15546         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15547         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15548         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15549         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15550         [ISO11] (FLT_TRUE_MIN): Likewise.
15551         [ISO11] (LDBL_TRUE_MIN): Likewise.
15552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15553         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15554         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15555         (SCHAR_MAX): Likewise.
15556         (UCHAR_MAX): Likewise.
15557         (CHAR_MIN): Likewise.
15558         (CHAR_MAX): Likewise.
15559         (MB_LEN_MAX): Use macro-int-constant.
15560         (SHRT_MIN): Use macro-int-constant.  Specify type.
15561         (SHRT_MAX): Likewise.
15562         (USHRT_MAX): Likewise.
15563         (INT_MAX): Likewise.
15564         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15565         bound negative.
15566         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15567         bound with "U".
15568         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15569         bound with "L".
15570         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15571         bound negative.  Suffix upper bound with "L".
15572         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15573         bound with "UL".
15574         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15575         Specify type.
15576         [C99-based standards] (LLONG_MAX): Likewise.
15577         [C99-based standards] (ULLONG_MAX): Likewise.
15578         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15579         == 0.
15580         [ISO11] (max_align_t): Require type.
15581         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15582
15583         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15584         from $CFLAGS, without defining away __attribute__ calls.
15585         (checknamespace): Use $CFLAGS_namespace.
15586
15587         * conform/conformtest.pl (@keywords): Only include C99 keywords
15588         for standards based on C99 or C11.
15589
15590         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15591         Disable tests.
15592         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15593         UNIX98]: Likewise.
15594
15595         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15596         usability of symbols in #if.
15597
15598         * conform/conformtest.pl: If macro or constant types start
15599         "promoted:", expect the symbol to be of the following type
15600         promoted by the integer promotions.
15601
15602         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15603         in one place.  Also handle "macro-constant".
15604
15605         * conform/conformtest.pl: Only accept expected macro values with
15606         "==".  Parse all "macro" lines in one place.
15607         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15608
15609         * conform/conformtest.pl: Handle braced types on "constant" lines
15610         instead of handling "typed-constant".
15611         * conform/data/signal.h-data: Use "constant" instead of
15612         "typed-constant".
15613
15614         * conform/conformtest.pl: Handle "optional-" at start of lines in
15615         one place rather than duplicating several cases.  Handle each
15616         format of "macro" line with initial "optional-".
15617
15618         * conform/conformtest.pl: Only accept expected constant or
15619         optional-constant values with "==".  Parse all "constant" lines in
15620         one place.  Parse all "optional-constant" lines in one place.
15621         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15622         * conform/data/fmtmsg.h-data: Likewise.
15623         * conform/data/netinet/in.h-data: Likewise.
15624         * conform/data/tar.h-data: Likewise.
15625         * conform/data/limits.h-data: Use "==" form on "constant" and
15626         "optional-constant" lines.
15627
15628         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15629         Use -std=c99 for XOPEN2K.
15630         (@knownproblems): Remove.
15631         (newtoken): Don't check %isknown.
15632
15633         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15634         Do not expect macro.
15635         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15636         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15637         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15638         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15639         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15640         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15641         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15642         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15643         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15644         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15645         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15646         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15647         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15648         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15649         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15650         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15651         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15652         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15653         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15654         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15655         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15657         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15658         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15659         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15660         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15661         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15662         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15663         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15664         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15665         [XPG3] (acosh): Likewise.
15666         [XPG3] (asinh): Likewise.
15667         [XPG3] (atanh): Likewise.
15668         [XPG3] (cbrt): Likewise.
15669         [XPG3] (expm1): Likewise.
15670         [XPG3] (ilogb): Likewise.
15671         [XPG3] (log1p): Likewise.
15672         [XPG3] (logb): Likewise.
15673         [XPG3] (nextafter): Likewise.
15674         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15675         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15676         [XPG3] (remainder): Likewise.
15677         [XPG3] (rint): Likewise.
15678         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15679         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15680         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15681         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15682         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15683         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15684         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15685         [UNIX98 || XOPEN2K] (scalb): Expect.
15686         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15687         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15688         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15689         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15690         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15691         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15692         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15693         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15694         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15695         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15696         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15697         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15698         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15699         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15700         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15701         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15702         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15703         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15704         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15705         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15706         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15707         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15708         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15709         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15710         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15711         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15712         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15713         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15714         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15715         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15716         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15717         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15718         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15719         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15720         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15721         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15722         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15723         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15724         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15725         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15726         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15727         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15728         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15729         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15730         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15731         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15732         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15733         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15734         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15735         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15736         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15737         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15738         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15739         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15740         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15741         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15742         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15743         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15744         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15745         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15746         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15747         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15748         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15749         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15750         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15751         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15752         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15753         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15754         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15755         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15756         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15757         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15758         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15759         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15760         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15761         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15762         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15763         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15764         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15765         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15766         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15767         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15768         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15769         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15770         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15771         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15772         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15773         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15774         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15775         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15776         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15777         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15778         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15779         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15780         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15781         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15782         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15783         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15784         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15785         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15786         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15787         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15788         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15789         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15790         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15791         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15792         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15793         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15794         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15795         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15796         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15797         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15798         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15799         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15800         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15801         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15802         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15803         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15804         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15805         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15806         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15807         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15808         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15809         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15810         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15811         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15812         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15813         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15814         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15815         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15816         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15817         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15818         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15819         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15820         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15821         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15822         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15823
15824         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15825         _XOPEN_SOURCE_EXTENDED for XPG4.
15826
15827         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15828
15829         * Makeconfig (localtime): Remove variable.
15830         (inst_localtime-file): Likewise.
15831
15832 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15833
15834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15835         Update.
15836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15837         Update.
15838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15839         Update.
15840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15841         Update.
15842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15843         Update.
15844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15845         Update.
15846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15847         Update.
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15849         Update.
15850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15851         Update.
15852
15853 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15854
15855         [BZ #2550]
15856         [BZ #2570]
15857         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15858         comparisons to determine direction to adjust input.
15859         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15860         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15861         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15862         Likewise.
15863         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15864         Likewise.
15865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15866         Likewise.
15867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15869         Likewise.
15870         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15871         Likewise.
15872         * math/libm-test.inc (nexttoward_test): Add more tests.
15873
15874 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15875
15876         [BZ #14040]
15877         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15878         in version GLIBC_2.1, not GLIBC_2.0.
15879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15880         Likewise.
15881
15882 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15883
15884         [BZ #13942]
15885         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15886         (1 - x) * (1 + x).
15887         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15888         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15889         * math/libm-test.inc (acos_test): Add more tests.
15890         (asin_test): Likewise.
15891         * sysdeps/i386/fpu/libm-test-ulps: Update.
15892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15893
15894         [BZ #14034]
15895         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15896         of square root.
15897         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15898         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15899         * math/libm-test.inc (acos_test_tonearest): New function.
15900         (acos_test_towardzero): Likewise.
15901         (acos_test_downward): Likewise.
15902         (acos_test_upward): Likewise.
15903         (asin_test_tonearest): Likewise.
15904         (asin_test_towardzero): Likewise.
15905         (asin_test_downward): Likewise.
15906         (asin_test_upward): Likewise.
15907         (main): Call the new functions.
15908         * sysdeps/i386/fpu/libm-test-ulps: Update.
15909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15910
15911         [BZ #13884]
15912         [BZ #13924]
15913         * math/e_exp10.c: Include <float.h>.
15914         (__ieee754_exp10): Handle underflow here rather than multiplying
15915         large negative argument by M_LN10.
15916         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15917         of __ieee754_expf.
15918         * math/e_exp10l.c: Include <float.h>.
15919         (__ieee754_exp10l): Handle underflow here rather than multiplying
15920         large negative argument by M_LN10l.
15921         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15922         spurious overflow exception on underflow.
15923
15924 2012-04-29  Marek Polacek  <polacek@redhat.com>
15925
15926         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15927         (__fortify_function): New macro.
15928         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15929         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15930         __extern_always_inline.
15931         * libio/bits/stdio2.h: Likewise.
15932         * libio/bits/stdio.h: Likewise.
15933         * string/string.h: Likewise.
15934         * string/bits/string3.h: Likewise.
15935         * include/stdio.h: Likewise.
15936         * stdlib/bits/stdlib.h: Likewise.
15937         * stdlib/stdlib.h: Likewise.
15938         * rt/bits/mqueue2.h: Likewise.
15939         * rt/mqueue.h: Likewise.
15940         * posix/bits/unistd.h: Likewise.
15941         * posix/unistd.h: Likewise.
15942         * io/bits/poll2.h: Likewise.
15943         * io/bits/fcntl2.h: Likewise.
15944         * io/fcntl.h: Likewise.
15945         * io/sys/poll.h: Likewise.
15946         * misc/bits/syslog.h: Likewise.
15947         * misc/bits/syslog-ldbl.h: Likewise.
15948         * misc/sys/syslog.h: Likewise.
15949         * socket/bits/socket2.h: Likewise.
15950         * socket/sys/socket.h: Likewise.
15951         * debug/tst-chk1.c: Likewise.
15952         * wcsmbs/bits/wchar2.h: Likewise.
15953         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15954         * wcsmbs/wchar.h: Likewise.
15955
15956 2012-04-29  Andreas Jaeger  <aj@suse.de>
15957
15958         * Makerules (tests): Remove enable-check-abi protection.
15959         (check-abi-warn): Remove.
15960         (check-abi-%): Remove check-abi-warn usage.
15961
15962         * configure.in: Remove check-abi configure option.
15963         * configure: Regenerated.
15964         * config.make.in (enable-check-abi): Remove.
15965
15966 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15967
15968         [BZ #14033]
15969         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15970         double functions to double *_finite functions.
15971
15972         [BZ #13941]
15973         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15974         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15975         LDBL_MIN_EXP.
15976         * stdio-common/Makefile (tests): Add tst-sprintf3.
15977         * stdio-common/tst-sprintf3.c: New file.
15978
15979         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15980         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15981
15982 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15983
15984         * conform/conformtest.pl: Remove duplicate typed-constant
15985         handling.
15986
15987 2012-04-28  David S. Miller  <davem@davemloft.net>
15988
15989         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15990         (check-abi-%): Remove AWK script prerequisite and explicit
15991         abilist directory.
15992         (check-abi): Rewrite to just diff the symlist with the abilist.
15993         (config-tls, config-abi-config): Delete, no longer used.
15994         (update-abi-%): Remove AWK script and explicit abilist directory.
15995         (update-abi): Rewrite to simply compare and conditionally copy the
15996         symlist and the sysdep abilist file.  Remove update-abi-config
15997         checks.
15998         * abilist/ld.abilist: Remove.
15999         * abilist/libBrokenLocale.abilist: Remove.
16000         * abilist/libanl.abilist: Remove.
16001         * abilist/libcrypt.abilist: Remove.
16002         * abilist/libdl.abilist: Remove.
16003         * abilist/librt.abilist: Remove.
16004         * abilist/libthread_db.abilist: Remove.
16005         * abilist/libutil.abilist: Remove.
16006         * scripts/extract-abilist.awk: Remove.
16007         * scripts/merge-abilist.awk: Remove.
16008         * sysdeps/generic/libcidn.abilist: New file.
16009         * sysdeps/generic/libnss_compat.abilist: New file.
16010         * sysdeps/generic/libnss_db.abilist: New file.
16011         * sysdeps/generic/libnss_dns.abilist: New file.
16012         * sysdeps/generic/libnss_files.abilist: New file.
16013         * sysdeps/generic/libnss_hesiod.abilist: New file.
16014         * sysdeps/generic/libnss_nis.abilist: New file.
16015         * sysdeps/generic/libnss_nisplus.abilist: New file.
16016         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16017         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16018         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16019         file.
16020         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16021         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16022         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16023         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16024         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16025         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16026         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16027         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16028         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16029         file.
16030         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16031         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16032         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16033         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16034         file.
16035         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16036         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16037         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16038         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16039         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16040         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16041         file.
16042         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16043         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16044         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16045         file.
16046         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16048         New file.
16049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16050         New file.
16051         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16052         New file.
16053         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16054         New file.
16055         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16056         New file.
16057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16058         New file.
16059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16060         New file.
16061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16062         New file.
16063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16064         New file.
16065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16066         New file.
16067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16068         New file.
16069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16070         New file.
16071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16072         New file.
16073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16074         file.
16075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16076         New file.
16077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16078         New file.
16079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16080         file.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16082         New file.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16084         New file.
16085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16086         file.
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16088         New file.
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16090         New file.
16091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16092         New file.
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16094         New file.
16095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16096         New file.
16097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16098         New file.
16099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16101         file.
16102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16103         New file.
16104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16105         file.
16106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16107         file.
16108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16109         file.
16110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16111         file.
16112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16113         file.
16114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16115         New file.
16116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16117         file.
16118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16119         file.
16120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16121         New file.
16122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16123         file.
16124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16126         file.
16127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16128         New file.
16129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16130         file.
16131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16132         file.
16133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16134         file.
16135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16136         file.
16137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16138         file.
16139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16140         New file.
16141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16142         file.
16143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16144         file.
16145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16146         New file.
16147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16148         file.
16149         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16150         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16151         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16152         file.
16153         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16154         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16155         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16156         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16157         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16158         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16159         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16160         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16161         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16162         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16165         file.
16166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16167         New file.
16168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16169         file.
16170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16171         file.
16172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16173         file.
16174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16175         file.
16176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16177         file.
16178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16179         New file.
16180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16181         New file.
16182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16183         file.
16184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16185         New file.
16186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16187         file.
16188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16190         file.
16191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16192         New file.
16193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16194         file.
16195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16196         file.
16197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16198         file.
16199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16200         file.
16201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16202         file.
16203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16204         New file.
16205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16206         New file.
16207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16208         file.
16209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16210         New file.
16211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16212         file.
16213
16214 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
16215
16216         * conform/conformtest.pl: Fix typo in handling typed-constant from
16217         allow-header.
16218
16219 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16220
16221         * README: Cut down references to pre-2.6 Linux kernels and
16222         Linuxthreads.  Update lists of configurations in libc and ports
16223         and sort alphabetically.  Say "or newer" with Linux kernel version
16224         requirements.
16225
16226         * config.h.in [IS_IN_build]: Allow compiling without optimization.
16227
16228 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16229
16230         [BZ #887]
16231         * math/libm-test.inc (logb_test_downward): New test to expose
16232         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16233         rounding mode.
16234
16235 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
16236
16237         [BZ #14027]
16238         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16239         to be done.
16240         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16241         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16242
16243 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
16244
16245         * sysdeps/unix/i386/brk.S: Remove file.
16246         * sysdeps/unix/i386/dl-brk.S: Likewise.
16247         * sysdeps/unix/i386/pipe.S: Likewise.
16248         * sysdeps/unix/i386/sigreturn.S: Likewise.
16249         * sysdeps/unix/i386/syscall.S: Likewise.
16250         * sysdeps/unix/i386/vfork.S: Likewise.
16251         * sysdeps/unix/i386/wait.S: Likewise.
16252
16253         * sysdeps/unix/common/tcsendbrk.c: Move to ...
16254         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16255
16256         * configure.in (arm*-none*): Do not allow without
16257         --enable-hacker-mode.
16258         (netbsd*): Remove case setting base_os.
16259         (386bsd*): Likewise.
16260         (freebsd*): Likewise.
16261         (bsdi*): Likewise.
16262         (osf*): Likewise.
16263         (sunos*): Likewise.
16264         (ultrix*): Likewise.
16265         (newsos*): Likewise.
16266         (dynix*): Likewise.
16267         (*bsd*): Likewise.
16268         (sysv*): Likewise.
16269         (isc*): Likewise.
16270         (esix*): Likewise.
16271         (sco*): Likewise.
16272         (minix*): Likewise.
16273         (irix4*): Likewise.
16274         (irix6*): Likewise.
16275         (solaris[2-9]*): Likewise.
16276         (none): Likewise.
16277         * configure: Regenerated.
16278
16279 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16280
16281         [BZ #11521]
16282         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16283         overflow or cancellation in calculating denominator.
16284         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16285         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16286         down expression to avoid unexpected rounding in newer GCCs.
16287         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16288
16289 2012-04-26  David S. Miller  <davem@davemloft.net>
16290
16291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16292         long-double compat symbols.
16293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16306
16307 2012-04-25  David S. Miller  <davem@davemloft.net>
16308
16309         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16310         HWCAP_* values only after the memory barriers have been defined.
16311         (atomic_full_barrier): Define.
16312         (atomic_read_barrier): Define.
16313         (atomic_write_barrier): Define.
16314
16315 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16316
16317         * shlib-versions: Add libgcc_s version information.
16318         * sysdeps/generic/libgcc_s.h: Remove.
16319         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16320         libgcc_s.h.
16321         * sysdeps/gnu/unwind-resume.c: Likewise.
16322         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16323
16324 2012-04-25  David S. Miller  <davem@davemloft.net>
16325
16326         * sysdeps/unix/sparc/brk.S: Delete.
16327         * sysdeps/unix/sparc/dl-brk.S: Delete.
16328         * sysdeps/unix/sparc/pipe.S: Delete.
16329         * sysdeps/unix/sparc/sysdep.S: Delete.
16330         * sysdeps/unix/sparc/sysdep.h: Delete.
16331         * sysdeps/unix/sparc/vfork.S: Delete.
16332         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16333         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16334         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16335         ret_ERRVAL, r0, r1, MOVE): Define.
16336         (JUMPTARGET): Remove.
16337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16338         sysdeps/unix/sparc/sysdep.h
16339         (ENTRY, END): Remove.
16340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16341
16342 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16343
16344         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16345         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16346         -DIS_IN_build.
16347
16348         * timezone/README: Update upstream location and email address for
16349         tzcode and tzdata.
16350         * timezone/zdump.c: Update from tzcode 2012b.
16351         * timezone/zic.c: Likewise.
16352
16353         * configure.in (libc_cv_as_needed): Remove test.
16354         * configure: Regenerated.
16355         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16356         conditional definition.
16357         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16358         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16359         * config.make.in (have-as-needed): Remove variable.
16360
16361 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16362             Paul Pluzhnikov  <ppluzhnikov@google.com>
16363
16364         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16365         strings correctly.
16366
16367 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16368
16369         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16370         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16371         * sysdeps/sh/strlen.S: Likewise.
16372
16373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16374
16375         * sysdeps/unix/fork.S: Remove file.
16376         * sysdeps/unix/i386/fork.S: Likewise.
16377         * sysdeps/unix/sparc/fork.S: Likewise.
16378
16379         * sysdeps/unix/system.c: Remove file.
16380         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16381
16382         * sysdeps/unix/getegid.S: Remove file.
16383         * sysdeps/unix/geteuid.S: Likewise.
16384
16385 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16386
16387         * scripts/check-localplt.awk: New file.
16388         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16389         of diff.
16390         * scripts/data/localplt-generic.data: Add a comment.
16391
16392         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16393         NODE when __dir_mkfile failed.
16394         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16395         Reported by Ludovic Courtès <ludo@gnu.org>.
16396
16397 2012-04-24  Andreas Jaeger  <aj@suse.de>
16398
16399         * Makerules (common-clean): Also remove gen-as-const-headers
16400         files.
16401
16402 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16403
16404         * Makerules (native-compile): Do not change working directory for
16405         build.  Use $(OUTPUT_OPTION) in command.
16406         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16407
16408 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16409
16410         [BZ #13886]
16411         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16412         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16413         * math/libm-test.inc (floor_test): Add more tests.
16414         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16415
16416 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16417
16418         * sysdeps/unix/getdents.c: Remove file.
16419         * sysdeps/unix/sysv/getdents.c: Likewise.
16420         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16421
16422         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16423         sysdeps/unix/mman/syscalls.list.
16424         (mmap): Likewise.
16425         (mprotect): Likewise.
16426         (msync): Likewise.
16427         (munmap): Likewise.
16428         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16429         * sysdeps/unix/mman/syscalls.list: Remove.
16430         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16431
16432         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16433         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16434         * configure: Regenerated.
16435         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16436         $(libgcc_s_suffix).
16437         * config.make.in (libgcc_s_suffix): Remove variable.
16438
16439 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16440
16441         * sysdeps/unix/sysv/gethostname.c: Move to ...
16442         * sysdeps/posix/gethostname.c: ... here.
16443
16444         * sysdeps/unix/execve.S: Remove file.
16445
16446         * sysdeps/unix/_exit.S: Remove file.
16447
16448 2012-04-23  Andreas Jaeger  <aj@suse.de>
16449
16450         [BZ #13739]
16451         * manual/Makefile: Remove make dist support, there's no
16452         need for a stand-alone documentation tar ball.
16453         (TEXI2DVI): Define always, it's not in Makeconfig.
16454         (dist): Removed.
16455         (tar-it): Removed.
16456         (edition): Removed.
16457         (glibc-doc-$(edition).tar): Removed
16458         (%.Z): Removed.
16459         (%.gz): Removed.
16460         (%.uu): Removed.
16461         (ETAGS): Remove, it's in Makeconfig.
16462         (move-if-change): Remove, it's in Makeconfig.
16463
16464 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16465
16466         [BZ #13970]
16467         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16468         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16469         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16470         (strtod_l, strtof_l, strtold_l): Remove __wur.
16471         It is not necessarily an error to ignore strtol's return value.
16472         One can reliably look at the stored endptr to decide whether
16473         the number had valid syntax.
16474
16475 2012-04-21  Andreas Jaeger  <aj@suse.de>
16476
16477         [BZ #13739]
16478         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16479
16480 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16481
16482         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16483         * sysdeps/unix/sysv/Versions: Remove file.
16484
16485 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16486
16487         [BZ #13927]
16488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16489
16490 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16491
16492         [BZ #7064]
16493         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16494         version from __vm86.
16495
16496 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16497
16498         * sysdeps/unix/common/lxstat.c: Remove file.
16499         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16500
16501         * sysdeps/unix/sysv/Makefile: Remove file.
16502
16503         * sysdeps/unix/sysv/direct.h: Remove file.
16504
16505         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16506         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16507         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16508         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16509         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16510         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16511         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16512
16513         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16514
16515         * sysdeps/unix/xmknod.c: Remove file.
16516         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16517
16518         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16519
16520         * sysdeps/unix/sysv/i386/time.S: Remove file.
16521
16522         * sysdeps/unix/fxstat.c: Remove file.
16523         * sysdeps/unix/xstat.c: Likewise.
16524         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16525
16526         * sysdeps/unix/sysv/sigaction.c: Remove file.
16527
16528         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16529         (sysdep_headers): Remove variable.
16530         [termio.h not in sysdep_headers] (generated): Likewise.
16531         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16532         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16533         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16534         * sysdeps/unix/sysv/tcflow.c: Likewise.
16535         * sysdeps/unix/sysv/tcflush.c: Likewise.
16536         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16537         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16538         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16539         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16540         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16541
16542         * sysdeps/unix/siglist.c: Remove file.
16543
16544         * sysdeps/unix/getppid.S: Remove file.
16545
16546         * sysdeps/unix/mkdir.c: Remove file.
16547         * sysdeps/unix/rmdir.c: Likewise.
16548
16549 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16550
16551         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16552         ERR_MAX value.
16553         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16554         errlist-compat value.
16555
16556 2012-04-18  David S. Miller  <davem@davemloft.net>
16557
16558         * sysdeps/generic/memcopy.h (reg_char): Delete.
16559         * debug/strcat_chk.c: Use char, not reg_char.
16560         * debug/strcpy_chk.c: Likewise.
16561         * debug/strncat_chk.c: Likewise.
16562         * debug/strncpy_chk.c: Likewise.
16563         * string/memchr.c: Likewise.
16564         * string/memrchr.c: Likewise.
16565         * string/rawmemchr.c: Likewise.
16566         * string/strcat.c: Likewise.
16567         * string/strchr.c: Likewise.
16568         * string/strchrnul.c: Likewise.
16569         * string/strcmp.c: Likewise.
16570         * string/strcpy.c: Likewise.
16571         * string/strncat.c: Likewise.
16572         * string/strncmp.c: Likewise.
16573         * string/strncpy.c: Likewise.
16574
16575 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16576
16577         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16578         __builtin_memcopy is called when src and dest ranges are known to not
16579         overlap.
16580
16581 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16582
16583         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16584         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16585         fwd_align_merge macro call.
16586         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16587         bwd_align_merge macro call.
16588         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16589
16590 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16591
16592         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16593         bwd_align_merge macros.
16594         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16595         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16596         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16597
16598 2012-04-18  David S. Miller  <davem@davemloft.net>
16599
16600         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16601
16602 2012-04-18  Andreas Jaeger  <aj@suse.de>
16603
16604         [BZ# 6794]
16605         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16606         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16607         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16608
16609         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16610         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16611         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16612
16613         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16614         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16615         Adjust for changed ldbl-128 files.
16616
16617         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16618         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16619         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16620
16621 2012-04-17  David S. Miller  <davem@davemloft.net>
16622
16623         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16624
16625 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16626
16627         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16628         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16629         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16630         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16631         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16632         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16633
16634 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16635
16636         [BZ #6794]
16637         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16638         * math/libm-test.inc: Add ilogb errno and exception tests.
16639         * math/w_ilogb.c: New file: ilogb wrapper.
16640         * math/w_ilogbf.c: New file: ilogbf wrapper.
16641         * math/w_ilogbl.c: New file: ilogbl wrapper.
16642         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16643         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16644         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16645         exception being thrown with 0.0 as argument.
16646         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16647         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16648         exception being thrown with 0.0 as argument.
16649         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16650         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16651         exception being thrown with 0.0 as argument.
16652         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16653         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16654         exception being thrown with 0.0 as argument.
16655         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16656         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16657         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16658         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16659         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16660         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16661         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16662         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16663         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16664
16665 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16666
16667         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16668         with altivec.
16669
16670 2012-04-16  Marek Polacek  <polacek@redhat.com>
16671
16672         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16673
16674 2012-04-16  Marek Polacek  <polacek@redhat.com>
16675
16676         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16677         operands of fdivp instruction.
16678
16679 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16680
16681         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16682         * elf/tst-auditmod3b.c: Likewise.
16683         * elf/tst-auditmod4b.c: Likewise.
16684         * elf/tst-auditmod5b.c: Likewise.
16685         * elf/tst-auditmod6b.c: Likewise.
16686         * elf/tst-auditmod6c.c: Likewise.
16687         * elf/tst-auditmod7b.c: Likewise.
16688         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16689         * sysdeps/x86_64/preconfigure.in: Likewise.
16690         * sysdeps/x86_64/preconfigure: Regenerated.
16691
16692 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16693
16694         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16695         __ILP32__.
16696
16697 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16698
16699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16700         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16701
16702 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16703
16704         [BZ #13973]
16705         * locale/iso-639.def: Fix gl language name. Spotted by
16706         Yaron Shahrabani.
16707
16708 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16709
16710         [BZ #2074]
16711         * libio/libio.h (__io_write_fn): Update comment.
16712
16713 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16714
16715         [BZ #2074]
16716         * stdio.texi (Hook Functions): The user provided writer function
16717         is not allowed to return -1.
16718
16719 2012-04-11  David S. Miller  <davem@davemloft.net>
16720
16721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16722
16723 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16724
16725         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16726         Add a leading slash to rtkaio.
16727
16728 2012-04-11  Jim Meyering  <meyering@redhat.com>
16729
16730         [BZ #11959]
16731         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16732         It is not necessarily an error to ignore fwrite's return
16733         value.  One can reliably use ferror to test for errors after
16734         the fact.
16735
16736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16737
16738         * bits/types.h (__snseconds_t): New type.
16739         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16740
16741         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16743         (__SNSECONDS_T_TYPE): Likewise.
16744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16745         (__SNSECONDS_T_TYPE): Likewise.
16746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16747         (__SNSECONDS_T_TYPE): Likewise.
16748
16749 2012-04-10  Andreas Jaeger  <aj@suse.de>
16750
16751         [BZ #2636]
16752         * manual/time.texi (Processor Time): Return type of times is
16753         elapsed real time since an arbitrary point in the past.
16754         (CPU Time): Move CLK_TCK from here...
16755         (Processor Time): ...to here.  Correct description.
16756         * manual/conf.texi (Constants for Sysconf): Correct description of
16757         _SC_CLK_TCK.
16758
16759 2012-04-10  David S. Miller  <davem@davemloft.net>
16760
16761         [BZ #13967]
16762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16763         where the is a gap between DT_REL(A) and DT_JMPREL.
16764
16765 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16766
16767         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16768         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16769         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16770
16771 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16772
16773         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16774         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16775         (dl_main): Handle --inhibit-cache.
16776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16777         _dl_inhibit_cache.
16778         * elf/dl-load.c (_dl_map_object): Use it.
16779         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16780
16781 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16782
16783         [BZ #13872]
16784         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16785         (__ieee754_powl): Saturate large exponents rather than testing for
16786         overflow of y*log2(x).
16787         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16788         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16789         exceptions.
16790
16791         [BZ #11521]
16792         * math/s_ctan.c: Include <float.h>.
16793         (__ctan): Avoid internal overflow or cancellation in calculating
16794         denominator.
16795         * math/s_ctanf.c: Likewise.
16796         * math/s_ctanl.c: Likewise.
16797         * math/s_ctanh.c: Likewise.
16798         * math/s_ctanhf.c: Likewise.
16799         * math/s_ctanhl.c: Likewise.
16800         * math/libm-test.inc (ctan_test): Add more tests.
16801         (ctanh_test): Likewise.
16802         * sysdeps/i386/fpu/libm-test-ulps: Update.
16803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16804
16805 2012-04-09  Andreas Jaeger  <aj@suse.de>
16806
16807         [BZ #6894]
16808         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16809         is an optional BSD extension.
16810
16811         [BZ #10254]
16812         * manual/stdio.texi (Opening Streams): Document additional fopen
16813         parameters.
16814
16815 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16816
16817         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16818         %eax without telling the compiler.
16819
16820 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16821
16822         [BZ # 13963]
16823         * manual/install.texi: Use sourceware.org.
16824
16825 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16826
16827         [BZ #13873]
16828         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16829         (__ieee754_pow): Generate overflow and underflow using huge*huge
16830         and tiny*tiny rather than just returning constant infinity or zero
16831         for large exponents.
16832         * math/libm-test.inc (pow_test): Require overflow exceptions for
16833         applicable cases of large exponents.
16834
16835         [BZ #706]
16836         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16837         (__ieee754_pow): Use iterative multiplication algorithm only for
16838         integer exponents with absolute value below 1024.  Check for odd
16839         integer exponents when using algorithm for real exponents.
16840         * math/libm-test.inc (pow_test): Add more tests.
16841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16842
16843 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16844
16845         [BZ #13705]
16846         * math/libm-test.inc (exp_test): Do not allow overflow exception
16847         on underflow test.
16848
16849 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16850
16851         [BZ #13705]
16852         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16853         instead of __kernel_standard_f.
16854
16855 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16856
16857         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16858         * sysdeps/x86_64/memset_chk.S: Likewise.
16859
16860 2012-04-08  Andreas Jaeger  <aj@suse.de>
16861
16862         [BZ #10153]
16863         * manual/startup.texi (Environment Access): Describe return value
16864         for putenv and setenv.
16865
16866         [BZ #6895]
16867         * manual/filesys.texi (Directory Entries): Add description for
16868         DT_LNK.
16869
16870         [BZ #6890]
16871         * manual/filesys.texi (Directory Entries): Clarify that it's file
16872         system not operating system in the description of DT_UNKNOWN.
16873
16874         [BZ #6578]
16875         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16876
16877 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16878
16879         [BZ #6649]
16880         * manual/llio.texi (Opening and Closing Files): Add cross
16881         reference to explain mode argument.
16882
16883 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16884
16885         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16886         * sysdeps/x86_64/memset_chk.S: Likewise.
16887
16888 2012-04-07  David S. Miller  <davem@davemloft.net>
16889
16890         * elf/elf.h (R_SPARC_WDISP10): Define.
16891         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16892         R_SPARC_SIZE32.
16893         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16894         R_SPARC_SIZE64 and R_SPARC_H34.
16895
16896 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16897
16898         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16899         conditions and remove no longer applicable assertion.
16900
16901 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16902
16903         * bits/byteswap.h: Include <features.h>.
16904         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16905         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16906
16907 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16908
16909         * bits/byteswap.h (__bswap_16): Removed.
16910         Include <bits/byteswap-16.h> to get __bswap_16.
16911         * sysdeps/i386/bits/byteswap.h: Likewise.
16912         * sysdeps/s390/bits/byteswap.h: Likewise.
16913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16914         * bits/byteswap-16.h: New file.
16915         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16916         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16917         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16918         * string/Makefile (headers): Add bits/byteswap-16.h.
16919
16920 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16921
16922         [BZ #13895]
16923         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16924         extra indirection.
16925         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16926         * nss/tst-nss-static.c: New.
16927
16928 2012-04-06  Robert Millan  <rmh@gnu.org>
16929
16930         [BZ #6486]
16931         * manual/llio.texi (File Position Primitive): lseek
16932         refers to WHENCE when it really means OFFSET.
16933
16934 2012-04-06  Andreas Jaeger  <aj@suse.de>
16935
16936         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16937         strncmp declarations.
16938
16939         * abilist/libc.abilist: Add __poll and __ppoll.
16940
16941 2012-04-05  David S. Miller  <davem@davemloft.net>
16942
16943         * scripts/check-local-headers.sh: Accept a host triplet in the
16944         path matched by the exclude regexp.
16945
16946         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16947         definition.
16948         * sysdeps/powerpc/powerpc32/dl-machine.h
16949         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16950         * sysdeps/s390/s390-32/dl-machine.h
16951         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16952         * sysdeps/sparc/sparc32/dl-machine.h
16953         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16954         * sysdeps/sparc/sparc64/dl-machine.h
16955         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16956
16957         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16958         lazy binding.
16959         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16960         undefined symbol errors.
16961
16962         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16963         DT_NEEDED entries.
16964
16965 2012-04-05  Michael Matz  <matz@suse.de>
16966
16967         [BZ #13592]
16968         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16969
16970 2012-04-05  Andreas Jaeger  <aj@suse.de>
16971
16972         [BZ #13908]
16973         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16974         comment.
16975
16976 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16977
16978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16979         which ROUND is no valid rounding mode.
16980
16981 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16982
16983         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16984         read again.
16985         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16986
16987 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16988
16989         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16990         an exception using FPU order intentionally.
16991
16992 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16993
16994         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16995         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16996         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16997         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16998
16999 2012-04-05  Simon Josefsson  <simon@josefsson.org>
17000
17001         [BZ #12340]
17002         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17003         EINVAL when BUFLEN is too smal.
17004
17005 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17006
17007         [BZ #13553]
17008         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17009         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17010
17011 2012-04-03  Andreas Jaeger  <aj@suse.de>
17012
17013         [BZ #13938]
17014         * manual/setjmp.texi (System V contexts): Fix sentence.
17015
17016         [BZ #13926]
17017         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17018         New macro for this case.
17019         [!__GNUC__] (__bswap_64): New inline function for this case.
17020         * sysdeps/x86_64/bits/byteswap.h: Likewise.
17021         * bits/byteswap.h: Likewise.
17022         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17023         ull, guard with __GLIBC_HAVE_LONG_LONG.
17024
17025         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17026         __GLIBC_HAVE_LONG_LONG.
17027
17028         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17029         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17030
17031 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17032
17033         [BZ #13691]
17034         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17035         inptr and inend, rather than using last_ch.
17036
17037 2012-04-02  David S. Miller  <davem@davemloft.net>
17038
17039         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17040         * stdio-common/printf-parse.h (read_int): Change return type to
17041         'int', return -1 on INT_MAX overflow.
17042         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17043         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
17044         overflows INT_MAX.  Check for overflow of in-format-string precision
17045         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
17046         SIZE_MAX not INT_MAX for integer overflow test.
17047         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17048         skip the construct in the format string but do not record anything.
17049         * stdio-common/bug22.c: Adjust to test both width/prevision
17050         INT_MAX overflow as well as total length INT_MAX overflow.  Check
17051         explicitly for proper errno values.
17052
17053 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17054
17055         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17056         CHAR_MAX.
17057         * string/test-strcmp.c [! WIDE]: Likewise.
17058         * time/tst-mktime2.c: Likewise for INT_MAX.
17059         * string/test-string.h: #include <sys/param.h> for MIN.
17060
17061         * csu/init-first.c (__libc_init_first): Call __ctype_init.
17062         * sysdeps/i386/init-first.c (init): Likewise.
17063         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17064         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17065         * sysdeps/sh/init-first.c (init): Likewise.
17066
17067 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
17068
17069         * po/ru.po: Update from translation team.
17070         * po/vi.po: Likewise.
17071
17072 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17073
17074         * resolv/nss_dns/dns-host.c: Merge copyright years.
17075
17076 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17077
17078         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17079         Optimize memcpy with prefetch if
17080         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
17081         src, dst pointers have unequal 16 byte alignments.
17082
17083 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17084
17085         [BZ #13928]
17086         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17087         from a CNAME entry and return the minimum ttl for the query.
17088         (gaih_getanswer_slice): Likewise.
17089
17090 2012-03-30  Jeff Law  <law@redhat.com>
17091
17092         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17093         due to long keys.
17094         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17095         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17096
17097         * resolv/nss_dns/dns-host.c: Update copyright year.
17098
17099 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
17100
17101         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17102         requests to save a system call.  Fix check that all bytes are sent.
17103
17104         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17105         comments for sendmmsg.
17106
17107 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17108
17109         [BZ #13691]
17110         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17111         with only 1 character between 0x0041 and 0x01b0.
17112         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17113         * wcsmbs/tst-mbsnrtowcs.c: New file.
17114
17115 2012-03-29  David S. Miller  <davem@davemloft.net>
17116
17117         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17118         small copies by hand.
17119
17120 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17121
17122         [BZ #13761]
17123         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17124         _nss_compat_initgroups_dyn): Fall back to malloc/free
17125         for large group memberships.
17126
17127 2012-03-28  David S. Miller  <davem@davemloft.net>
17128
17129         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17130         that branches into memcpy.
17131         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17134         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17135         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17136         bits.
17137         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17138         implementation too.
17139         * sysdeps/sparc/mempcpy.S: New file.
17140
17141         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17142         the IFUNC routine in the libc case.
17143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17144
17145         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17146         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17147         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17148         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17149         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17150         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17151         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17152         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17153
17154         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17155         loop to 256 bytes instead of 64 bytes and fix test signedness.
17156
17157         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17158         * sysdeps/sparc/sparc32/Makefile: rather than here...
17159         * sysdeps/sparc/sparc64/Makefile: and here.
17160
17161 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
17162
17163         * malloc/mallocbug.c: Avoid warnings about unused variables.
17164
17165 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17166
17167         [BZ #13760]
17168         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17169         in the right place. Discard and retry query if response is
17170         larger than input buffer size.
17171
17172 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
17173
17174         [BZ #369]
17175         [BZ #2678]
17176         [BZ #3866]
17177         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17178         x for large integer exponent.
17179         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17180         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
17181         sign of result as needed afterwards.
17182         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17183         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17184         result for underflowing pow the same as for overflow.
17185         (__kernel_standard_l): Handle powl overflow and underflow here
17186         rather than calling __kernel_standard.
17187         * math/libm-test.inc (pow_test): Add more tests.
17188
17189         [BZ #3868]
17190         [BZ #13879]
17191         [BZ #13910]
17192         [BZ #13911]
17193         [BZ #13912]
17194         [BZ #13913]
17195         [BZ #13915]
17196         [BZ #13916]
17197         [BZ #13917]
17198         [BZ #13918]
17199         [BZ #13919]
17200         [BZ #13920]
17201         [BZ #13921]
17202         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17203         * sysdeps/ieee754/k_standard.c: Include <float.h>.
17204         (__kernel_standard_l): New function.
17205         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17206         __kernel_standard.
17207         * math/w_acosl.c (__acosl): Likewise.
17208         * math/w_asinl.c (__asinl): Likewise.
17209         * math/w_atan2l.c (__atan2l): Likewise.
17210         * math/w_atanhl.c (__atanhl): Likewise.
17211         * math/w_coshl.c (__coshl): Likewise.
17212         * math/w_exp10l.c (__exp10l): Likewise.
17213         * math/w_exp2l.c (__exp2l): Likewise.
17214         * math/w_fmodl.c (__fmodl): Likewise.
17215         * math/w_hypotl.c (__hypotl): Likewise.
17216         * math/w_j0l.c (__j0l, __y0l): Likewise.
17217         * math/w_j1l.c (__j1l, __y1l): Likewise.
17218         * math/w_jnl.c (__jnl, __ynl): Likewise.
17219         * math/w_lgammal.c (__lgammal): Likewise.
17220         * math/w_log10l.c (__log10l): Likewise.
17221         * math/w_log2l.c (__log2l): Likewise.
17222         * math/w_logl.c (__logl): Likewise.
17223         * math/w_powl.c (__powl): Likewise.
17224         * math/w_remainderl.c (__remainderl): Likewise.
17225         * math/w_scalbl.c (sysv_scalbl): Likewise.
17226         * math/w_sinhl.c (__sinhl): Likewise.
17227         * math/w_sqrtl.c (__sqrtl): Likewise.
17228         * math/w_tgammal.c (__tgammal): Likewise.
17229         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17230         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17231         * math/libm-test.inc (acos_test): Add more tests.
17232         (acosh_test): Likewise.
17233         (asin_test): Likewise.
17234         (atanh_test): Likewise.
17235         (exp_test): Likewise.
17236         (exp10_test): Likewise.
17237         (exp2_test): Likewise.
17238         (expm1_test): Likewise.
17239         (lgamma_test): Likewise.
17240         (log_test): Likewise.
17241         (log10_test): Likewise.
17242         (log1p_test): Likewise.
17243         (log2_test): Likewise.
17244         (pow_test): Do not allow some spurious overflow exceptions.
17245         (sqrt_test): Add more tests.
17246         (tgamma_test): Likewise.
17247         (y0_test): Likewise.
17248         (y1_test): Likewise.
17249         (yn_test): Likewise.
17250
17251 2012-03-27  Anton Blanchard  <anton@samba.org>
17252
17253         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17254         MAP_HUGETLB.
17255         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17256         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17257         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17258
17259 2012-03-27  David S. Miller  <davem@davemloft.net>
17260
17261         * conform/Makefile: Run run-conformtest.sh using $(BASH).
17262
17263         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17264         have-as-vis3 check.
17265
17266 2012-03-27  Andreas Jaeger  <aj@suse.de>
17267
17268         * sysdeps/x86_64/elf/configure.in: Moved to ...
17269         * sysdeps/x86_64/configure.in: ... here.
17270         * sysdeps/x86_64/elf/start.S: Moved to ...
17271         * sysdeps/x86_64/start.S: ... here.
17272         * sysdeps/x86_64/elf/configure: Delete.
17273
17274         * sysdeps/x86_64/configure.in: Merge contents from
17275         sysdeps/i386/configure.in (without i686 check).
17276
17277         * sysdeps/i386/elf/Versions: Merge into ...
17278         * sysdeps/i386/Versions: ... this.
17279         * sysdeps/i386/elf/Versions: Delete file.
17280         * sysdeps/i386/elf/start.S: Moved to ...
17281         * sysdeps/i386/start.S: ...here.
17282         * sysdeps/i386/elf/configure.in: Merge into...
17283         * sysdeps/i386/configure.in: ...here.
17284         * sysdeps/i386/elf/configure.in: Delete file.
17285         * sysdeps/i386/elf/configure: Delete file.
17286
17287         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17288         * debug/backtracesyms.c: ... here.
17289         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17290         * debug/backtracesymsfd.c: ... here.
17291         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17292         * sysdeps/generic/ifunc-sel.h: ... here.
17293
17294         * sysdeps/unix/i386/start.c: Delete file.
17295         * sysdeps/unix/sparc/start.c: Delete file.
17296         * sysdeps/unix/start.c: Delete file.
17297
17298         * sysdeps/sh/elf/configure.in: Moved to ...
17299         * sysdeps/sh/configure.in: ... here.
17300         * sysdeps/sh/elf/start.S: Moved to ...
17301         * sysdeps/sh/start.S: ... here.
17302         * sysdeps/sh/elf/configure: Delete file.
17303
17304         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17305         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17306         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17307         * sysdeps/powerpc/powerpc64/entry.h: ... here.
17308         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17309         * sysdeps/powerpc/powerpc64/start.S: here.
17310         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17311         * sysdeps/powerpc/powerpc64/Makefile: ... this.
17312         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17313         * sysdeps/powerpc/powerpc64/configure.in: ... this.
17314         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17315
17316         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17317         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17318         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17319         * sysdeps/powerpc/powerpc32/start.S: ... here.
17320         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17321         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17322         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17323
17324         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17325         * sysdeps/powerpc/ifunc-sel.h: ... here.
17326         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17327         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17328
17329         * sysdeps/sparc/elf/configure.in: Moved to ...
17330         * sysdeps/sparc/configure.in: ... here.
17331         * sysdeps/sparc/elf/configure: Delete file.
17332         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17333         * sysdeps/sparc/sparc32/start.S: ... here.
17334         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17335         * sysdeps/sparc/sparc64/start.S: ... here.
17336         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17337         * sysdeps/sparc/sparc32/Makefile: ... this.
17338         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17339         * sysdeps/sparc/sparc64/Makefile: ... this.
17340
17341         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17342         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17343         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17344         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17345         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17346         * sysdeps/s390/s390-32/setjmp.S: ... here.
17347         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17348         * sysdeps/s390/s390-32/configure.in: ... here.
17349         * sysdeps/s390/s390-32/elf/configure: Delete file.
17350         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17351         * sysdeps/s390/s390-32/start.S: ... here.
17352
17353         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17354         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17355         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17356         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17357         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17358         * sysdeps/s390/s390-64/setjmp.S: ... here.
17359         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17360         * sysdeps/s390/s390-64/configure.in: ... here
17361         * sysdeps/s390/s390-64/elf/configure: Delete file.
17362         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17363         * sysdeps/s390/s390-64/start.S: ... here.
17364         * sysdeps/s390/s390-64/elf/configure: Delete.
17365
17366         * configure.in: Remove support for elf directories in sysdeps.
17367
17368         * configure: Regenerated.
17369         * sysdeps/i386/configure: Regenerated.
17370         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17371         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17372         * sysdeps/s390/s390-32/configure: Regenerated.
17373         * sysdeps/s390/s390-64/configure: Regenerated.
17374         * sysdeps/sh/configure: Regenerated.
17375         * sysdeps/sparc/configure: Regenerated.
17376         * sysdeps/x86_64/configure: Regenerated.
17377
17378 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17379
17380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17381
17382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17383         denormal result into account.
17384
17385 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17386
17387         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17388         Reported by Allan McRae <allan@archlinux.org>.
17389
17390 2012-03-23  Jeff Law  <law@redhat.com>
17391
17392         * nss/getnssent.c (__nss_getent): Fix typo.
17393
17394 2012-03-23  David S. Miller  <davem@davemloft.net>
17395
17396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17397
17398 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17399
17400         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17401         to pad to uint64_t for each field.
17402         (dl_tls_index): Replace unsigned long with uint64_t.
17403
17404 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17405         Paul Pluzhnikov  <ppluzhnikov@google.com>
17406
17407         [BZ #6528]
17408         * grp/Makefile (otherlibs): Don't set it.
17409         * inet/Makefile (otherlibs): Likewise.
17410         * login/Makefile (otherlibs): Likewise.
17411         * nscd/Makefile (otherlibs): Likewise.
17412         * posix/Makefile (otherlibs): Likewise.
17413         * pwd/Makefile (otherlibs): Likewise.
17414         * rt/Makefile (otherlibs): Likewise.
17415         * sunrpc/Makefile (otherlibs): Likewise.
17416         * nss/Makefile (otherlibs): Likewise.
17417         Add libnss_files to routines and static-only-routines.
17418         ($(objpfx)getent): Remove rule.
17419         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17420         static-only-routines.
17421
17422 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17423
17424         [BZ #13892]
17425         * math/s_cexp.c: Include <float.h>.
17426         (__cexp): Handle exp result overflowing not necessarily
17427         overflowing both real and imaginary parts of result.
17428         * math/s_cexpf.c: Likewise.
17429         * math/s_cexpl.c: Likewise.
17430         * math/libm-test.inc (cexp_test): Add more tests.
17431         * sysdeps/i386/fpu/libm-test-ulps: Update.
17432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433
17434 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17435
17436         * include/link.h (ELFW): New macro.
17437         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17438         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17439
17440 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17441
17442         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17443         with uint64_t.
17444
17445 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17446
17447         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17448         declaration.
17449         (struct La_x32_retval): Likewise.
17450
17451 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17452
17453         * sysdeps/x86_64/preconfigure.in: New file.
17454         * sysdeps/x86_64/preconfigure: New generated file.
17455
17456 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17457
17458         [BZ #13824]
17459         * math/e_exp2l.c: Include <float.h>.
17460         (__ieee754_exp2l): Handle overflow and underflow cases
17461         separately.  Only pass fractional part of argument to
17462         __ieee754_expl.
17463         * math/libm-test.inc (exp2_test): Add more tests.
17464
17465         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17466         negating x to take absolute value.
17467         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17468         Likewise.
17469         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17471         Likewise.
17472         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17473         computing low part if x was negated.
17474         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17475
17476 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17477
17478         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17479         la_x32_gnu_pltexit.
17480         (pltexit): Cast int_retval to ptrdiff_t.
17481         * elf/tst-auditmod3b.c: Likewise.
17482         * elf/tst-auditmod4b.c: Likewise.
17483         * elf/tst-auditmod5b.c: Likewise.
17484         * elf/tst-auditmod6b.c: Likewise.
17485         * elf/tst-auditmod6c.c: Likewise.
17486         * elf/tst-auditmod7b.c: Likewise.
17487
17488         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17489         and x32_gnu_pltexit.
17490
17491         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17492         __ELF_NATIVE_CLASS.
17493         (La_x32_regs): New macro.
17494         (La_x32_retval): Likewise.
17495         (la_x32_gnu_pltenter): New function prototype.
17496         (la_x32_gnu_pltexit): Likewise.
17497
17498 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17499
17500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17501         exponent.
17502
17503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17504
17505         * configure.in (libc_cv_cc_nofma): Check for option to disable
17506         generation of FMA instructions.
17507         * configure: Regenerate.
17508         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17509         * sysdeps/ieee754/dbl-64/Makefile: New file.
17510         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17511         Remove brandred-fma4.
17512         (CFLAGS-brandred-fma4.c): Remove.
17513         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17514         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17515         define.
17516         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17517         define.
17518
17519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17520
17521         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17522         LLONG_MAX != LONG_MAX.
17523         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17524         (_fitoa_word): Likewise.
17525         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17526         LLONG_MAX != LONG_MAX.
17527         * stdio-common/_itowa.h: Include <_itoa.h>.
17528         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17529         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17530         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17531         only if not defined.
17532         (_ITOA_WORD_TYPE): Likewise.
17533         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17534         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17535
17536 2012-03-21  David S. Miller  <davem@davemloft.net>
17537
17538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17539
17540 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17541
17542         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17543         of x86_64 when setting libc_cv_slibdir, libdir and
17544         libc_cv_localedir.
17545         * sysdeps/unix/sysv/linux/configure: Regenerated.
17546
17547 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17548
17549         * manual/lang.texi (Old Varargs): Remove section.
17550         (How Variadic): Update menu.
17551         (va_start): Do not mention varargs.h.
17552
17553 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17554             Joseph Myers  <joseph@codesourcery.com>
17555
17556         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17557         link test.
17558         * configure: Regenerated.
17559
17560 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17561
17562         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17563         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17564         conformtest.pl
17565
17566 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17567
17568         * NOTES: Remove.
17569         * Makefile (files-for-dist): Remove NOTES.
17570         (NOTES): Remove rule.
17571         * README: Don't refer to NOTES.
17572         * manual/creature.texi: Don't include macros.texi.
17573         * manual/intro.texi (creature.texi): Remove comment referring to
17574         NOTES.
17575
17576         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17577         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17578         * configure: Regenerated.
17579         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17580         LIBC_TRY_CC_OPTION.
17581         (libc_cv_as_i686): Likewise.
17582         (libc_cv_cc_avx): Likewise.
17583         (libc_cv_cc_sse2avx): Likewise.
17584         (libc_cv_cc_fma4): Likewise.
17585         (libc_cv_cc_novzeroupper): Likewise.
17586         * sysdeps/i386/configure: Regenerated.
17587
17588         [BZ #13883]
17589         * sysdeps/i386/fpu/s_cexp.S: Remove.
17590         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17592         * math/libm-test.inc (cexp_test): Add more tests.
17593         * sysdeps/i386/fpu/libm-test-ulps: Update.
17594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17595
17596 2012-03-21  Allan McRae  <allan@archlinux.org>
17597
17598         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17599
17600 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17601
17602         [BZ #13871]
17603         * math/w_exp2.c: Do not include <float.h>.
17604         (o_threshold, u_threshold): Remove.
17605         (__exp2): Calculate result before checking finiteness and calling
17606         __kernel_standard.
17607         * math/w_exp2f.c: Likewise.
17608         * math/w_exp2l.c: Likewise.
17609         * math/libm-test.inc (exp2_test): Require overflow exception for
17610         1e6 input.
17611
17612         [BZ #3866]
17613         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17614         range of signed 64-bit integers before using fistpll.  Remove
17615         checks for whether integers fit in mantissa bits.
17616         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17617         the range of signed 32-bit integers before using fistpl.  Remove
17618         checks for whether integers fit in mantissa bits.
17619         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17620         (__ieee754_powl): Test for y outside the range of signed 64-bit
17621         integers before using fistpll.  Reduce 64-bit values to 63-bit
17622         ones as needed.
17623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17624         divide-by-zero is raised for zero to large negative powers.
17625         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17626         (__ieee754_powl): Test for y outside the range of signed 64-bit
17627         integers before using fistpll.  Reduce 64-bit values to 63-bit
17628         ones as needed.
17629         * math/libm-test.inc (pow_test): Add more tests.
17630
17631 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17632
17633         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17634         <stdio-common/_itoa.h>.
17635         * debug/segfault.c: Likewise.
17636         * elf/dl-cache.c: Likewise.
17637         * elf/dl-minimal.c: Likewise.
17638         * elf/dl-misc.c: Likewise.
17639         * elf/dl-sysdep.c: Likewise.
17640         * elf/dl-version.c: Likewise.
17641         * elf/rtld.c: Likewise.
17642         * hurd/hurdsock.c: Likewise.
17643         * hurd/lookup-retry.c: Likewise.
17644         * malloc/malloc.c: Likewise.
17645         * malloc/mtrace.c: Likewise.
17646         * nscd/nscd_getgr_r.c: Likewise.
17647         * nscd/nscd_getpw_r.c: Likewise.
17648         * nscd/nscd_getserv_r.c: Likewise.
17649         * posix/getopt_init.c: Likewise.
17650         * posix/wordexp.c: Likewise.
17651         * stdio-common/_itoa.c: Likewise.
17652         * stdio-common/printf_fphex.c: Likewise.
17653         * stdio-common/vfprintf.c: Likewise.
17654         * string/_strerror.c: Likewise.
17655         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17656         * sysdeps/i386/i686/hp-timing.h: Likewise.
17657         * sysdeps/mach/_strerror.c: Likewise.
17658         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17659         * sysdeps/mach/hurd/sethostid.c: Likewise.
17660         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17661         * sysdeps/mach/xpg-strerror.c: Likewise.
17662         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17664         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17665         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17666         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17667         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17668         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17669         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17670         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17671         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17672         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17673         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17674         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17675         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17676         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17677         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17678         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17679         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17680         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17681         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17683
17684         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17685
17686         * stdio-common/_itoa.h: Moved to ...
17687         * sysdeps/generic/_itoa.h: Here.
17688
17689         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17690
17691         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17692         instead of "_itoa.h" and "_itowa.h".
17693         * stdio-common/vfprintf.: Likewise.
17694
17695 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17696
17697         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17698         <bits/wordsize.h>.
17699         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17700         (__signbit): Likwise.
17701         (llrintf): Likwise.
17702         (llrint): Likwise.
17703
17704 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17705
17706         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17707         __WORDSIZE != 64.
17708
17709 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17710
17711         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17712         OVERFLOW_EXCEPTION_OK.
17713         * math/libm-test.inc ("Philosophy"): Update comment about
17714         exception testing.
17715         (OVERFLOW_EXCEPTION): Define.
17716         (OVERFLOW_EXCEPTION_OK): Likewise.
17717         (INVALID_EXCEPTION_OK): Renumber.
17718         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17719         (IGNORE_ZERO_INF_SIGN): Likewise.
17720         (test_exceptions): Handle FE_OVERFLOW.
17721         (exp10_test): Expect overflow exceptions.
17722         (exp2_test): Likewise.
17723         (expm1_test): Likewise.
17724         (nextafter_test): Likewise.
17725         (pow_test): Likewise.
17726         (scalbn_test): Likewise.
17727         (scalbln_test): Likewise.
17728
17729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17730
17731         * sysdeps/x86_64/bits/atomic.h
17732         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17733         64bit integer.
17734         (atomic_exchange_acq): Likewise.
17735         (__arch_exchange_and_add_body): Likewise.
17736         (__arch_add_body): Likewise.
17737         (atomic_add_negative): Likewise.
17738         (atomic_add_zero): Likewise.
17739
17740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17741
17742         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17743         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17744
17745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17746
17747         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17748         Check __x86_64__ instead of __WORDSIZE.
17749
17750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17751
17752         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17753
17754 2012-03-19  David S. Miller  <davem@davemloft.net>
17755
17756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17757
17758         * sysdeps/sparc/fpu/fenv_private.h: New file.
17759         * sysdeps/sparc/fpu/math_private.h: Use it.
17760         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17761         Remove.
17762         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17763         (libc_feholdexcept_setroundl): Remove.
17764         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17765         Remove.
17766         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17767         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17768
17769 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17770
17771         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17772         int64_t instead of long int.
17773         (INSERT_WORDS64): Likwise.
17774
17775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17776
17777         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17778         _Unwind_GetCFA return to _Unwind_Ptr first.
17779
17780 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17781
17782         [BZ #13629]
17783         * math/s_clog.c: Include <float.h>.
17784         (__clog): Scale large or subnormal inputs.
17785         * math/s_clogf.c: Likewise.
17786         * math/s_clogl.c: Likewise.
17787         * math/s_clog10.c: Include <float.h>.
17788         (M_LOG10_2): Define.
17789         (__clog10): Scale large or subnormal inputs.
17790         * math/s_clog10f.c: Likewise.
17791         * math/s_clog10l.c: Likewise.
17792         * math/libm-test.inc (clog_test): Add more tests.
17793         (clog10_test): Likewise.
17794         * sysdeps/i386/fpu/libm-test-ulps: Update.
17795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796
17797         [BZ #11451]
17798         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17799         x and y.
17800         * math/libm-test.inc (atan2_test): Add another test.
17801
17802         * Makerules (common-objdir-compile): Remove.
17803         * sysdeps/unix/Makefile (config-generated): Do not add
17804         $(unix-generated) to variable.
17805         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17806         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17807         Remove rule.
17808         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17809         Likewise.
17810         [generic bits/local_lim.h] (before-compile): Do not append to
17811         variable.
17812         [generic bits/local_lim.h] (common-generated): Likewise.
17813         [generic sys/param.h] (before-compile): Do not append to variable.
17814         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17815         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17816         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17817         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17818         include.
17819         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17820         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17821         [generic sys/param.h] ($(addprefix
17822         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17823         [generic sys/param.h] (common-generated): Do not append to
17824         variable.
17825         [generic sys/param.h] (sysdep_headers): Likewise.
17826         [generic bits/errno.h] (before-compile): Do not append to
17827         variable.
17828         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17829         rule.
17830         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17831         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17832         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17833         [generic bits/errno.h] (common-generated): Do not append to
17834         variable.
17835         [generic bits/ioctls.h] (before-compile): Do not append to
17836         variable.
17837         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17838         rule.
17839         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17840         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17841         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17842         rule.
17843         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17844         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17845         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17846         [generic bits/ioctls.h] (common-generated): Do not append to
17847         variable.
17848         [generic sys/syscall.h] (syscall.h): Remove variable.
17849         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17850         rule.
17851         [generic sys/syscall.h] (before-compile): Do not append to
17852         variable.
17853         [generic sys/syscall.h] (common-generated): Likewise.
17854         * sysdeps/unix/errnos-tmpl.c: Remove file.
17855         * sysdeps/unix/errnos.awk: Likewise.
17856         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17857         * sysdeps/unix/ioctls.awk: Likewise.
17858         * sysdeps/unix/mk-local_lim.c: Likewise.
17859         * sysdeps/unix/snarf-ioctls: Likewise.
17860
17861 2012-03-19  Richard Henderson  <rth@twiddle.net>
17862
17863         * sysdeps/i386/fpu/fenv_private.h: New file.
17864         * sysdeps/i386/fpu/math_private.h: Use it.
17865         (math_opt_barrier, math_force_eval): Remove.
17866         (libc_feholdexcept_setround_53bit): Remove.
17867         (libc_feupdateenv_53bit): Remove.
17868         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17869         (math_opt_barrier, math_force_eval): Remove.
17870         (libc_feholdexcept): Remove.
17871         (libc_feholdexcept_setround): Remove.
17872         (libc_fetestexcept, libc_fesetenv): Remove.
17873         (libc_feupdateenv_test): Remove.
17874         (libc_feupdateenv, libc_feholdsetround): Remove.
17875         (libc_feresetround): Remove.
17876
17877         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17878         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17879
17880         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17881         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17882         (libc_feupdateenv_testl): New.
17883         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17884         (libc_feupdateenv_testf): New.
17885         (libc_feupdateenv): Use libc_feupdateenv_test.
17886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17887         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17888
17889         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17890         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17891         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17892         (libc_feresetround_noex): New.
17893         (libc_feresetround_noexf): New.
17894         (libc_feresetround_noexl): New.
17895         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17896         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17897         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17898         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17899         SET_RESTORE_ROUND.
17900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17902         (__cos): Likewise.
17903         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17904         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17905         SET_RESTORE_ROUND_NOEX.
17906         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17907         SET_RESTORE_ROUND_NOEXF.
17908         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17909         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17910         (libc_feholdsetroundf): New.
17911         (libc_feresetround, libc_feresetroundf): New.
17912
17913         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17914         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17915         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17916
17917         * sysdeps/generic/math_private.h: Include <fenv.h>.
17918         (default_libc_feholdexcept): New.
17919         (default_libc_feholdexcept_setround): New.
17920         (default_libc_fesetenv, default_libc_feupdateenv): New.
17921         (libc_feholdexcept): Only define if undefined.
17922         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17923         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17924         (libc_feholdexcept_setroundl): Likewise.
17925         (libc_feholdexcept_setround_53bit): Likewise.
17926         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17927         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17928         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17929         (libc_feupdateenv_53bit): Likewise.
17930         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17931         (libc_feholdexcept): Convert from macro to inline function.
17932         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17933         (libc_fesetenv, libc_feupdateenv): Likewise.
17934
17935         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17936         not previously defined.
17937         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17938         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17939         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17940         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17941         * sysdeps/ieee754/flt-32/math_private.h: New file.
17942         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17943         math_private.h below SET_FLOAT_WORD.
17944         (__isnan, __isinf_ns, __finite): Remove.
17945         (__isnanf, __isinf_nsf, __finitef): Remove.
17946
17947 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17948
17949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17950
17951 2012-03-17  David S. Miller  <davem@davemloft.net>
17952
17953         [BZ #6471]
17954         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17955         for 2.16.
17956
17957 2012-03-16  David S. Miller  <davem@davemloft.net>
17958
17959         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17960         warnings.
17961
17962         [BZ #6471]
17963         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17964         properly.
17965         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17966         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17967         sysdep_routines when subdir is sysvipc.
17968         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17969         __getshmlba helper.
17970
17971         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17972
17973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17974
17975         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17976         [__LP64__].
17977
17978 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17979
17980         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17981         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17982         (__lround): Renamed to ...
17983         (__llround): This.  Replace long int with long long int.
17984         Define lround functions as aliases of llround functions.
17985         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17986
17987 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17988
17989         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17990         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17991         adresses to uintptr_t.  Replace "long int" and "unsigned long
17992         int" with "greg_t" on va_arg.
17993
17994 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17995
17996         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17997         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17998
17999         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18000         Move e_machine check before EI_CLASS check.  Handle x32
18001         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18002         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18003         SKIP_EM_IA_64 and include
18004         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18005
18006         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18007         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18008         (add_system_dir): New macro.
18009
18010         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18011         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18012
18013 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18014
18015         [BZ #2551]
18016         [BZ #2552]
18017         [BZ #2553]
18018         [BZ #2554]
18019         [BZ #2562]
18020         [BZ #2563]
18021         [BZ #2565]
18022         [BZ #2566]
18023         [BZ #2576]
18024         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18025         (y0): Likewise.
18026         * math/w_j0f.c (j0f): Likewise.
18027         (y0f): Likewise.
18028         * math/w_j0l.c (__j0l): Likewise.
18029         (__y0l): Likewise.
18030         * math/w_j1.c (j1): Likewise.
18031         (y1): Likewise.
18032         * math/w_j1f.c (j1f): Likewise.
18033         (y1f): Likewise.
18034         * math/w_j1l.c (__j1l): Likewise.
18035         (__y1l): Likewise.
18036         * math/w_jn.c (jn): Likewise.
18037         (yn): Likewise.
18038         * math/w_jnf.c (jnf): Likewise.
18039         (ynf): Likewise.
18040         * math/w_jnl.c (__jnl): Likewise.
18041         (__ynl): Likewise.
18042         * math/libm-test.inc (j0_test): Add more tests.
18043         (j1_test): Likewise.
18044         (jn_test): Likewise.  Add trailing semicolon to existing test.
18045         (y0_test): Likewise.
18046         (y1_test): Likewise.
18047         * sysdeps/i386/fpu/libm-test-ulps: Update.
18048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18049
18050         [BZ #13851]
18051         [BZ #13854]
18052         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18053         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18054         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18056         (__tanl): Set errno for infinite argument.
18057         * sysdeps/i386/fpu/mptan.c: Remove.
18058         * sysdeps/i386/fpu/s_tan.S: Likewise.
18059         * sysdeps/i386/fpu/s_tanl.S: Likewise.
18060         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18061         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18062         * math/libm-test.inc (tan_test): Add more tests and enable more
18063         tests for double and long double.
18064         * sysdeps/i386/fpu/libm-test-ulps: Update.
18065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18066
18067 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
18068
18069         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18070         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18071
18072 2012-03-16  Roland McGrath  <roland@hack.frob.com>
18073
18074         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18075         * configure.in: Use it for both main tree and add-ons.
18076         * configure: Regenerated.
18077
18078 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18079
18080         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18081
18082 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
18083
18084         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18085         in comment.
18086
18087         [BZ #13851]
18088         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18089         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18090         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18091         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18092         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18093         infinite argument.
18094         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18095         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18096         != 0 for prec == 2.
18097         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18098         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18099         * sysdeps/i386/fpu/s_cosl.S: Likewise.
18100         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18101         * sysdeps/i386/fpu/s_sinl.S: Likewise.
18102         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18103         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18104         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18105         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18106         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18107         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18108         * math/libm-test.inc (cos_test): Add more tests and enable more
18109         tests for long double.
18110         (sin_test): Likewise.
18111         (sincos_test): Likewise.
18112         * sysdeps/i386/fpu/libm-test-ulps: Update.
18113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18114
18115 2012-03-16  David S. Miller  <davem@davemloft.net>
18116
18117         * sysdeps/sparc/fpu/math_private.h: New file.
18118
18119 2012-03-15  David S. Miller  <davem@davemloft.net>
18120
18121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18122         file.
18123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18125         file.
18126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18132         sysdep routines.
18133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18134
18135         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18136         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18137
18138         * sysdeps/sparc/sparc-ifunc.h: New file.
18139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18140         sparc-ifunc.h
18141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18143         Likewise.
18144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18145         Likewise.
18146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18150         Likewise.
18151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18156         Likewise.
18157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18158         Likewise.
18159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18166         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18178         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18180         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18183
18184 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18185
18186         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18187         scaling.
18188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18189
18190 2012-03-15  Andreas Jaeger  <aj@suse.de>
18191
18192         [BZ #13852]
18193         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18194         ieee754/flt-32 implementation for sin, cos and sincos.
18195         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18196         * sysdeps/i386/fpu/s_cosf.S: Likewise.
18197         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18198         * sysdeps/i386/fpu/s_sinf.S: Likewise.
18199         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18200         ieee754/flt-32 implementation for tan.
18201
18202         * math/libm-test.inc (cos_test): Enable some large input tests for
18203         float as well
18204         (sin_test): Likewise.
18205         (sincos_test): Likewise.
18206         (tan_test): Add tests for large input.
18207
18208         * sysdeps/i386/fpu/libm-test-ulps: Update.
18209
18210 2012-03-15  Andreas Jaeger  <aj@suse.de>
18211
18212         [BZ #13658]
18213         * math/libm-test.inc (cos_test): Add more test cases.
18214         (sin_test): Likewise.
18215         (sincos_test): Likewise.
18216
18217 2012-03-15  Andreas Jaeger  <aj@suse.de>
18218
18219         [BZ #13837]
18220         * math/libm-test.inc (cos_test): Add a test case for large input
18221         value.
18222         (sin_test): Likewise.
18223         (sincos_test): Likewise.
18224
18225 2012-03-15  Andreas Jaeger  <aj@suse.de>,
18226         Joseph Myers  <joseph@codesourcery.com>
18227
18228         [BZ #13658]
18229         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18230         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18231         * sysdeps/i386/fpu/branred.c: Likewise.
18232         * sysdeps/i386/fpu/dosincos.c: Likewise.
18233         * sysdeps/i386/fpu/mpa.c: Likewise.
18234         * sysdeps/i386/fpu/s_cos.S: Likewise.
18235         * sysdeps/i386/fpu/s_sin.S: Likewise.
18236         * sysdeps/i386/fpu/s_sincos.S: Likewise.
18237         * sysdeps/i386/fpu/sincos32.c: Likewise.
18238
18239         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18240         Define.
18241         (libc_feupdateenv_53bit): Define.
18242         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18243         Define.
18244         (libc_feupdateenv_53bit): Define.
18245
18246         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18247         53 bit (without extend i386 double precision).
18248
18249         * math/libm-test.inc (sincos_test): Add tests for large input.
18250         (sin): Likewise.
18251         (cos): Likewise.
18252
18253         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18254
18255 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
18256
18257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18258
18259 2012-03-15  David S. Miller  <davem@davemloft.net>
18260
18261         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18262         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18263         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18264         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18277         file.
18278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18280         file.
18281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18283         file.
18284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18286         file.
18287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18288         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18289         fmin/fmax sysdep routines.
18290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18291
18292 2012-03-14  David S. Miller  <davem@davemloft.net>
18293
18294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18301         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18317         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18321         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18322         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18323         routines.
18324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18325         file.
18326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18328         file.
18329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18331         file.
18332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18334         file.
18335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18337         file.
18338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18340         file.
18341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18342         file.
18343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18344         file.
18345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18346         file.
18347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18348         New file.
18349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18350         file.
18351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18352         file.
18353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18355         file.
18356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18358         file.
18359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18361         file.
18362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18364         VIS3 routines.
18365
18366         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18367         New file.
18368
18369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18370
18371         * sysdeps/sparc/configure.in: New file.
18372         * sysdeps/sparc/configure: Generate.
18373         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18374         * configure: Regenerate.
18375         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18376         * config.make.in (have-as-vis3): New.
18377         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18378         available use -Av9d instead of -Av9a.
18379         * sysdeps/sparc/sparc64/Makefile: Likewise.
18380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18382         New file.
18383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18384         file.
18385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18386         New file.
18387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18388         file.
18389         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18394
18395         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18396         fzeros/fnegs to load 0x80000000 into a float register instead of
18397         using the stack.
18398         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18399
18400 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18401
18402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18403         bits/syscall.h.
18404         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18405         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18406         ($(inst_includedir)/bits/syscall.h): Remove rule.
18407         ($(objpfx)bits/syscall.d): Include instead of
18408         $(objpfx)syscall-list.d.
18409         (generated): Change syscall-list.h and syscall-list.d to
18410         bits/syscall.h and bits/syscall.d.
18411
18412 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18413
18414         [BZ #13846]
18415         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18416
18417 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18418
18419         [BZ #13841]
18420         * math/s_csqrt.c: Include <float.h>.
18421         (__csqrt): Scale large or subnormal inputs.
18422         * math/s_csqrtf.c: Likewise.
18423         * math/s_csqrtl.c: Likewise.
18424         * math/libm-test.inc (csqrt_test): Add more tests.
18425         * sysdeps/i386/fpu/libm-test-ulps: Update.
18426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427
18428         [BZ #13840]
18429         * math/libm-test.inc (hypot_test): Add more tests.
18430
18431 2012-03-13  David S. Miller  <davem@davemloft.net>
18432
18433         [BZ #13840]
18434         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18435         double-precision for the calculation instead of scaling.
18436
18437 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18438
18439         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18440         manipulate bits before adding and subtracting TWO52[sx].
18441         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18443         Likewise.
18444         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18445
18446 2012-03-13  David S. Miller  <davem@davemloft.net>
18447
18448         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18449         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18451         rtld-global-offsets.h
18452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18453
18454         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18455         large parameters.
18456
18457         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18458
18459         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18460         'err' in the ifdef scope in which it is actually used.
18461
18462         * nss/nss_db/db-init.c: Include string.h
18463
18464 2012-03-12  David S. Miller  <davem@davemloft.net>
18465
18466         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18467         masking out of the most significant byte of random value used.
18468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18469         Fix coding style in previous change.
18470
18471         * sysdeps/unix/sysv/linux/kernel-features.h
18472         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18473         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18474         expression.
18475         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18476         later.
18477
18478 2012-03-11  David S. Miller  <davem@davemloft.net>
18479
18480         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18481         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18482         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18483         for 'resultvar' otherwise things get truncated on 64-bit.
18484
18485         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18486         Fix masking out of the most significant byte of random value used.
18487
18488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18489
18490 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18491
18492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18493
18494 2012-03-09  David S. Miller  <davem@davemloft.net>
18495
18496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18497         variables with appropriate CPP guards.
18498         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18499         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18500         on resulting framesize and the management of the outregs buffer for pltexit.
18501         Preserve floating point return values across _dl_call_pltexit call.
18502         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18503         framesize and the management of the outregs buffer for pltexit.
18504         Preserve floating point return values across _dl_call_pltexit
18505         call.
18506         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18507         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18508         (print_exit): Fix format string for return register value.
18509
18510 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18511
18512         * sunrpc/Makefile (others): Add rpcgen.
18513         ($(objpfx)rpcgen): Remove special build rule and dependency on
18514         libc.
18515         * sunrpc/rpcgen.c: New file.
18516
18517 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18518
18519         [BZ #13673]
18520         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18521         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18522         * sysdeps/i386/crti.S: Likewise.
18523         * sysdeps/i386/crtn.S: Likewise.
18524         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18525         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18526         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18527         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18528         * sysdeps/sh/crti.S: Likewise.
18529         * sysdeps/sh/crtn.S: Likewise.
18530         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18531
18532         [BZ #13673]
18533         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18534         with URL.
18535         * locale/programs/locfile-kw.gperf: Likewise.
18536         * locale/programs/charmap-kw.h: Regenerated.
18537         * locale/programs/locfile-kw.h: Likewise.
18538
18539         [BZ #13673]
18540         * intl/plural.y: Replace FSF snail mail address with URL.
18541         * intl/plural.c: Regenerated.
18542
18543 2012-03-09  Richard Henderson  <rth@twiddle.net>
18544
18545         * include/math_private.h: Remove file.
18546         * math/math_private.h: Move file ...
18547         * sysdeps/generic/math_private.h: ... here.
18548
18549         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18550         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18551         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18552
18553         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18554         and <math_private.h>.
18555         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18556         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18557         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18558         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18559         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18561         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18562         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18563         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18564         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18566         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18567         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18569         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18570         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18571         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18572         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18573         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18574         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18576         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18577         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18579         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18587         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18588         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18589         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18590         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18591         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18592         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18593         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18595         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18596         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18597         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18598         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18600         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18601         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18602         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18603         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18604         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18605         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18606         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18607         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18608         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18609         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18610         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18611         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18612         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18613         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18614         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18616         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18617         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18618         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18619         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18620         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18621         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18622         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18623         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18624         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18625         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18626         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18628         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18629         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18630         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18634         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18635         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18636         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18637         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18639         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18640         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18642         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18643         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18644         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18645         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18646         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18647         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18649         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18650         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18651         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18652         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18654         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18655         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18656         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18657         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18658         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18659         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18660         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18661         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18662         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18663         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18665         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18666         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18667         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18668         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18669         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18670         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18671         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18672         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18673         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18674         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18675         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18676         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18678         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18679         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18680         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18681         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18682         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18683         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18684         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18685         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18686         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18687         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18688         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18689         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18690         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18691         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18692         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18693         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18694         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18695         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18696         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18697         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18698         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18699         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18700         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18701         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18702         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18703         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18704         * sysdeps/ieee754/k_standard.c: Likewise.
18705         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18709         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18710         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18711         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18712         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18713         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18714         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18717         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18718         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18719         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18720         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18723         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18724         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18738         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18739         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18740         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18741         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18742         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18743         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18753         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18756         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18757         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18763         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18764         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18765         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18766         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18768         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18771         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18772         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18774         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18775         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18777         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18778         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18786         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18788         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18789         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18790         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18791         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18792         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18794         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18795         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18796         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18797         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18798         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18800         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18801         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18802         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18803         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18804         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18806         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18807         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18808         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18809         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18810         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18811         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18812         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18813         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18814         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18815         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18816         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18817         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18818         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18819         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18820         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18821         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18822         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18823         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18824         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18826         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18827         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18828         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18829         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18830         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18831         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18832         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18833         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18834         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18835         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18836         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18837         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18838         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18839         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18840         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18841         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18842         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18843         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18844         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18845         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18846         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18847         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18848         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18849         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18850         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18851         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18853         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18854         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18855         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18856         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18857         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18858         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18859         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18860         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18861         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18862         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18863         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18864         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18865         * sysdeps/ieee754/s_lib_version.c: Likewise.
18866         * sysdeps/ieee754/s_matherr.c: Likewise.
18867         * sysdeps/ieee754/s_signgam.c: Likewise.
18868         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18869         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18870         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18871         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18872         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18873         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18874         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18875         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18876         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18877         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18878         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18879         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18880         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18881         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18882         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18883         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18884         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18885         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18886         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18889
18890 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18891
18892         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18893         * sunrpc/rpc_main.c: Likewise.
18894         * sunrpc/rpc_svcout.c: Likewise.
18895
18896 2012-03-09  David S. Miller  <davem@davemloft.net>
18897
18898         * include/math_private.h: New file.
18899
18900 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18901
18902         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18903         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18904         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18905         from <bits/socket_type.h>.
18906         (enum __socket_type): Don't define here.
18907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18909         bits/socket_type.h.
18910
18911         [BZ #13566]
18912         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18913         checking __USE_GNU.
18914
18915         * Makerules ($(inst_includedir)/%.h): New rule.
18916         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18917         (install-others): Remove variable setting.
18918         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18919
18920 2012-03-08  Richard Henderson  <rth@twiddle.net>
18921
18922         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18923         from macro to inline function; merge with the
18924         !__LIBC_INTERNAL_MATH_INLINES version.
18925         (__ieee754_sqrtf): Likewise.
18926
18927         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18928         to inline function.
18929         (__rintf, __floor, __floorf): Likewise.
18930
18931         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18932         macro to inline function.
18933         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18934
18935         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18936         not <math/math_private.h>.
18937
18938 2012-03-08  David S. Miller  <davem@davemloft.net>
18939
18940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18941         copyright year.
18942         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18943
18944 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18945
18946         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18947         normalization.
18948         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18949         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18950
18951 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18952
18953         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18954         be defined individually, they must be defined as a block.  Define
18955         S for printing a string instead of hidint the different by using a
18956         macro for adding the 'l'.
18957         * stdio-common/tst-fphex-wide.c: Adjust.
18958
18959 2012-03-07  Marek Polacek  <polacek@redhat.com>
18960
18961         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18962
18963 2012-03-08  Marek Polacek  <polacek@redhat.com>
18964
18965         [BZ #13806]
18966         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18967         * stdio-common/tst-fphex.c: Define a few macros to make the
18968         test reusable.  Use them.
18969         * stdio-common/tst-fphex-wide.c: New file.
18970
18971 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18972
18973         [BZ #6911]
18974         * manual/macros.texi (gnusystems): New macro.
18975         (nongnusystems): Likewise.
18976         (gnulinuxhurdsystems): Likewise.
18977         (gnuhurdsystems): Likewise..
18978         (gnulinuxsystems): Likewise.
18979         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18980         variants of the GNU system, not "GNU system".
18981         * manual/conf.texi: Likewise.
18982         * manual/errno.texi: Likewise.  Update example of errno macro
18983         expansion.
18984         * manual/filesys.texi: Likewise.
18985         (getumask): Document as specific to GNU/Hurd.
18986         * manual/install.texi: Likewise.  Reword some references to
18987         GNU/Linux.
18988         * manual/intro.texi: Likewise.
18989         * manual/io.texi: Likewise.
18990         (File Name Portability): Detail which constraints are inapplicable
18991         to all GNU systems and which are only inapplicable to GNU/Hurd.
18992         * manual/job.texi: Likewise.
18993         * manual/llio.texi: Likewise.
18994         (O_NOCTTY): Document as present on GNU/Linux.
18995         * manual/maint.texi: Likewise.
18996         * manual/memory.texi: Likewise.
18997         * manual/pattern.texi: Likewise.
18998         * manual/pipe.texi: Likewise.
18999         * manual/process.texi: Likewise.
19000         * manual/resource.texi: Likewise.
19001         (RUSAGE_CHILDREN): Remove statement about specifying a particular
19002         child on GNU/Hurd.
19003         * manual/setjmp.texi: Likewise.
19004         * manual/signal.texi: Likewise.
19005         * manual/startup.texi: Likewise.
19006         * manual/stdio.texi: Likewise.
19007         * manual/terminal.texi: Likewise.
19008         (ONLCR): Document as POSIX.
19009         (OXTABS): Document availability on GNU/Linux as XTABS.
19010         (ONOEOT): Document availability separately from other bits.
19011         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19012         * manual/time.texi: Likewise.
19013         * manual/users.texi: Likewise.
19014         * INSTALL: Regenerated.
19015         * sysdeps/gnu/errlist.c: Regenerated.
19016
19017         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19018         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19019         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
19020         puts.
19021         * configure: Regenerated.
19022
19023 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
19024
19025         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19026         default includes instead of AC_HEADER_CHECK.
19027         * sysdeps/i386/configure: Regenerated.
19028
19029         [BZ #10716]
19030         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19031         * math/s_cacoshf.c (__cacoshf): Likewise.
19032         * math/s_cacoshl.c (__cacoshl): Likewise.
19033         * math/s_casinh.c (__casinh): Set signs of result from argument.
19034         * math/s_casinhf.c (__casinhf): Likewise.
19035         * math/s_casinhl.c (__casinhl): Likewise.
19036         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19037         (casinh_test): Add more tests.
19038         * sysdeps/i386/fpu/libm-test-ulps: Update.
19039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19040
19041 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
19042
19043         * po/zh_TW.po: Update from translation team.
19044
19045         * login/Makefile (distribute): Remove variable.
19046         * catgets/Makefile: Likewise.
19047         * mach/Makefile: Likewise.
19048         * malloc/Makefile: Likewise.
19049         * misc/Makefile: Likewise.
19050         * iconv/Makefile: Likewise.
19051         * nscd/Makefile: Likewise.
19052         * hurd/Makefile: Likewise.
19053         * manual/Makefile: Likewise.
19054         * locale/Makefile: Likewise.
19055         * intl/Makefile: Likewise.
19056         * conform/Makefile: Likewise.
19057         * nss/Makefile: Likewise.
19058         * time/Makefile: Likewise.
19059         * soft-fp/Makefile: Likewise.
19060         * dirent/Makefile: Likewise.
19061         * gmon/Makefile: Likewise.
19062         * po/Makefile: Likewise.
19063         * rt/Makefile: Likewise.
19064         * socket/Makefile: Likewise.
19065         * math/Makefile: Likewise.
19066         * signal/Makefile: Likewise.
19067         * debug/Makefile: Likewise.
19068         * elf/Makefile: Likewise.
19069         * timezone/Makefile: Likewise.
19070         * stdlib/Makefile: Likewise.
19071         * iconvdata/Makefile: Likewise.
19072         * sunrpc/Makefile: Likewise.
19073         * io/Makefile: Likewise.
19074         * argp/Makefile: Likewise.
19075         * inet/Makefile: Likewise.
19076         * hesiod/Makefile: Likewise.
19077         * grp/Makefile: Likewise.
19078         * csu/Makefile: Likewise.
19079         * wctype/Makefile: Likewise.
19080         * crypt/Makefile: Likewise.
19081         * libio/Makefile: Likewise.
19082         * string/Makefile: Likewise.
19083         * nis/Makefile: Likewise.
19084         * resolv/Makefile: Likewise.
19085         * stdio-common/Makefile: Likewise.
19086         * wcsmbs/Makefile: Likewise.
19087         * dlfcn/Makefile: Likewise.
19088         * posix/Makefile: Likewise.
19089
19090         [BZ #6959]
19091         * timezone/Makefile: Don't install timezone files, just the programs
19092         and scripts.
19093
19094 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
19095
19096         * nss/databases.def: Add missing gshadow entry.
19097
19098         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
19099
19100 2012-03-06  Marek Polacek  <polacek@redhat.com>
19101
19102         [BZ #13726]
19103         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19104         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19105         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19106         * stdio-common/tst-long-dbl-fphex.c: New file.
19107
19108 2012-03-06  David S. Miller  <davem@davemloft.net>
19109
19110         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19111         (set_obp_int): New function.
19112         (get_obp_int): New function.
19113         (__get_clockfreq_via_dev_openprom): Likewise.
19114         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19115         Avoid unused variable warnings on 'val' and use builtin_expect.
19116         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19117         __builtin_expect.
19118         (INLINE_CLONE_SYSCALL): Likewise.
19119
19120 2012-03-05  David S. Miller  <davem@davemloft.net>
19121
19122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19123
19124 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
19125
19126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19127
19128         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19129         only for |x| >= 40.
19130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19131
19132 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19133
19134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19135         Replace gettimeofday with __vdso_gettimeofday.
19136
19137         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19138         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19139         __vdso_clock_gettime and __vdso_getcpu.
19140
19141         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19142         time with __vdso_time.
19143
19144 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19145
19146         * manual/lang.texi (size_t): Note types to which size_t may be
19147         equivalent with the GNU C Library, but do not describe when
19148         differences between them are significant.
19149
19150 2012-03-05  Andreas Jaeger  <aj@suse.de>
19151
19152         * sysdeps/i386/fpu/libm-test-ulps: Update.
19153
19154 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
19155
19156         [BZ #3976]
19157         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19158         (__ieee754_pow): Save and restore rounding mode and use
19159         round-to-nearest for main computations.
19160         * math/libm-test.inc (pow_test_tonearest): New function.
19161         (pow_test_towardzero): Likewise.
19162         (pow_test_downward): Likewise.
19163         (pow_test_upward): Likewise.
19164         (main): Call the new functions.
19165         * sysdeps/i386/fpu/libm-test-ulps: Update.
19166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167
19168         [BZ #3976]
19169         * math/libm-test.inc (cosh_test_tonearest): New function.
19170         (cosh_test_towardzero): Likewise.
19171         (cosh_test_downward): Likewise.
19172         (cosh_test_upward): Likewise.
19173         (sinh_test_tonearest): Likewise.
19174         (sinh_test_towardzero): Likewise.
19175         (sinh_test_downward): Likewise.
19176         (sinh_test_upward): Likewise.
19177         (main): Call the new functions.
19178         * sysdeps/i386/fpu/libm-test-ulps: Update.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180
19181 2012-03-05  Tom de Vries  <tom@codesourcery.com>
19182
19183         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19184         default stack guard is set in last bytes.
19185         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19186
19187 2012-03-05  Kees Cook  <keescook@chromium.org>
19188
19189         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19190
19191         [BZ #13656]
19192         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19193         possibly allocate from heap instead of stack.
19194         * stdio-common/bug-vfprintf-nargs.c: New file.
19195         * stdio-common/Makefile (tests): Add nargs overflow test.
19196
19197 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
19198
19199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19200
19201 2012-03-03  Marek Polacek  <polacek@redhat.com>
19202
19203         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19204         * math/math_private.h: Likewise.
19205         * stdlib/tst-strtod.c: Likewise.
19206         * sysdeps/i386/i486/bits/atomic.h: Likewise.
19207         * sysdeps/x86_64/bits/atomic.h: Likewise.
19208
19209 2012-03-02  David S. Miller  <davem@davemloft.net>
19210
19211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19215         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19216         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19217         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19218         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19219
19220 2012-03-02  Roland McGrath  <roland@hack.frob.com>
19221
19222         [BZ #13792]
19223         * manual/examples/README: New file, says the example source files
19224         can be used under GPL>=2.
19225         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19226         line containing just "*/".
19227         * manual/examples/add.c: Add copyright header (GPL>=2).
19228         * manual/examples/argp-ex1.c: Likewise.
19229         * manual/examples/argp-ex2.c: Likewise.
19230         * manual/examples/argp-ex3.c: Likewise.
19231         * manual/examples/argp-ex4.c: Likewise.
19232         * manual/examples/atexit.c: Likewise.
19233         * manual/examples/db.c: Likewise.
19234         * manual/examples/dir.c: Likewise.
19235         * manual/examples/dir2.c: Likewise.
19236         * manual/examples/execinfo.c: Likewise.
19237         * manual/examples/filecli.c: Likewise.
19238         * manual/examples/filesrv.c: Likewise.
19239         * manual/examples/fmtmsgexpl.c: Likewise.
19240         * manual/examples/genpass.c: Likewise.
19241         * manual/examples/inetcli.c: Likewise.
19242         * manual/examples/inetsrv.c: Likewise.
19243         * manual/examples/isockad.c: Likewise.
19244         * manual/examples/longopt.c: Likewise.
19245         * manual/examples/memopen.c: Likewise.
19246         * manual/examples/memstrm.c: Likewise.
19247         * manual/examples/mkfsock.c: Likewise.
19248         * manual/examples/mkisock.c: Likewise.
19249         * manual/examples/mygetpass.c: Likewise.
19250         * manual/examples/pipe.c: Likewise.
19251         * manual/examples/popen.c: Likewise.
19252         * manual/examples/rprintf.c: Likewise.
19253         * manual/examples/search.c: Likewise.
19254         * manual/examples/select.c: Likewise.
19255         * manual/examples/setjmp.c: Likewise.
19256         * manual/examples/sigh1.c: Likewise.
19257         * manual/examples/sigusr.c: Likewise.
19258         * manual/examples/stpcpy.c: Likewise.
19259         * manual/examples/strdupa.c: Likewise.
19260         * manual/examples/strftim.c: Likewise.
19261         * manual/examples/strncat.c: Likewise.
19262         * manual/examples/subopt.c: Likewise.
19263         * manual/examples/swapcontext.c: Likewise.
19264         * manual/examples/termios.c: Likewise.
19265         * manual/examples/testopt.c: Likewise.
19266         * manual/examples/testpass.c: Likewise.
19267         * manual/examples/timeval_subtract.c: Likewise.
19268
19269         [BZ #13792]
19270         * manual/time.texi (Elapsed Time): Move timeval_subtract example
19271         function to ...
19272         * manual/timeval_subtract.c.texi: ... here, new file.
19273
19274 2012-03-02  David S. Miller  <davem@davemloft.net>
19275
19276         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19277
19278 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
19279
19280         [BZ #3976]
19281         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19282         (__sin): Save and restore rounding mode and use round-to-nearest
19283         for all computations.
19284         (__cos): Save and restore rounding mode and use round-to-nearest
19285         for all computations.
19286         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19287         <fenv.h>.
19288         (tan): Save and restore rounding mode and use round-to-nearest for
19289         all computations.
19290         * math/libm-test.inc (cos_test_tonearest): New function.
19291         (cos_test_towardzero): Likewise.
19292         (cos_test_downward): Likewise.
19293         (cos_test_upward): Likewise.
19294         (sin_test_tonearest): Likewise.
19295         (sin_test_towardzero): Likewise.
19296         (sin_test_downward): Likewise.
19297         (sin_test_upward): Likewise.
19298         (tan_test_tonearest): Likewise.
19299         (tan_test_towardzero): Likewise.
19300         (tan_test_downward): Likewise.
19301         (tan_test_upward): Likewise.
19302         (main): Call the new functions.
19303         * sysdeps/i386/fpu/libm-test-ulps: Update.
19304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19305
19306         [BZ #10135]
19307         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19308         small n, then large n, before computing and testing k+n.
19309         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19310         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19311         Likewise.
19312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19313         Likewise.
19314         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19315         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19316         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19317         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19319         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19320         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19321         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19322         * math/libm-test.inc (scalbn_test): Add more tests.
19323         (scalbln_test): Likewise.
19324
19325         * manual/filesys.texi (mode_t): Describe constraints on size and
19326         signedness, not exact equivalence to a particular type.
19327         (ino_t): Likewise.
19328         (ino64_t): Likewise.
19329         (dev_t): Likewise.
19330         (nlink_t): Likewise.
19331         (blkcnt_t): Likewise.
19332         (blkcnt64_t): Likewise.
19333         * manual/llio.texi (off_t): Likewise.
19334
19335         [BZ #3976]
19336         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19337         (__ieee754_exp): Save and restore rounding mode and use
19338         round-to-nearest for all computations.
19339         * math/libm-test.inc (exp_test_tonearest): New function.
19340         (exp_test_towardzero): Likewise.
19341         (exp_test_downward): Likewise.
19342         (exp_test_upward): Likewise.
19343         (main): Call the new functions.
19344         * sysdeps/i386/fpu/libm-test-ulps: Update.
19345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19346
19347 2012-03-01  Chris Demetriou  <cgd@google.com>
19348
19349         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19350         have predictable order.
19351
19352 2012-03-01  David S. Miller  <davem@davemloft.net>
19353
19354         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19355
19356         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19357         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19358         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19359         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19360
19361         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19362         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19363         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19365         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19366         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19367         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19368         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19369         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19370
19371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19372
19373         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19374         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19375         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19376
19377         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19378         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19379         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19380         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19381         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19382         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19384         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19385         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19386         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19387         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19388         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19390         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19393         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19394         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19395         * sysdeps/sparc/elf/configure: Regenerated.
19396
19397 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19398
19399         * configure.in (AS, LD): Require binutils 2.20 or later.
19400         * configure: Regenerated.
19401         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19402         as required minimum version.
19403         * INSTALL: Regenerated.
19404
19405         [BZ #2541]
19406         [BZ #4108]
19407         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19408         before squaring exponent.
19409         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19410         bottom long double and 27 bits of top long double before squaring
19411         exponent.
19412         * math/libm-test.inc (erfc_test): Add more tests.
19413         * sysdeps/i386/fpu/libm-test-ulps: Update.
19414         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19416
19417 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19418
19419         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19420         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19421         containing bit-fields.
19422         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19423         * soft-fp/single.h (_FP_UNION_S): Likewise.
19424         * soft-fp/double.h (_FP_UNION_D): Likewise.
19425
19426 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19427
19428         [BZ #13786]
19429         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19430         not include ../strcmp.S.
19431         [USE_AS_STRNCASECMP_L]: Likewise.
19432         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19433         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19434         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19435         (__strncasecmp_l_ia32): Define as alias to
19436         __strncasecmp_l_nonascii.
19437
19438         [BZ #5794]
19439         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19440         * sysdeps/i386/fpu/libm-test-ulps: Update.
19441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19442
19443         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445
19446 2012-02-29  Jeff Law  <law@redhat.com>
19447
19448         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19449         out of bounds read.
19450
19451 2012-02-29  Marek Polacek  <polacek@redhat.com>
19452
19453         [BZ #13706]
19454         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19455         * elf/Makefile: Add rules to run tst-unused-dep.out.
19456
19457 2012-02-28  David S. Miller  <davem@davemloft.net>
19458
19459         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19460         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19461         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19462         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19463         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19464         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19465
19466 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19467
19468         * math/libm-test.inc (llround_test): Move one test from
19469         lround_test.  Use TEST_f_L in moved test.
19470         (lround_test): Move misplaced test to llround_test.  Add testcase
19471         from bug 2561.
19472
19473 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19474
19475         * sysdeps/x86_64/fpu/e_expf.S: New file.
19476         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19477
19478 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19479
19480         [BZ #13637]
19481         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19482         of remain_len that may cause incomplete multi-byte character and
19483         false match.
19484         * posix/bug-regex33.c: New file.
19485         * posix/Makefile (tests): Add bug-regex33.
19486
19487 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19488
19489         * manual/macros.texi: New file.
19490         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19491         * manual/libc.texinfo: Include macros.texi.
19492         * manual/creatute.texi: Likewise.
19493         * manual/install.texi: Likewise.
19494         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19495         @glibcadj{} in references to the GNU C Library.
19496         * manual/charset.texi: Likewise.
19497         * manual/conf.texi: Likewise.
19498         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19499         when not using those macros.
19500         * manual/creature.texi: Likewise.
19501         * manual/crypt.texi: Likewise.
19502         * manual/errno.texi: Likewise.
19503         * manual/filesys.texi: Likewise.
19504         * manual/header.texi: Likewise.
19505         * manual/install.texi: Likewise.
19506         * manual/intro.texi: Likewise.
19507         * manual/io.texi: Likewise.
19508         * manual/job.texi: Likewise.
19509         * manual/lang.texi: Likewise.
19510         * manual/libc.texiinfo: Likewise.
19511         * manual/llio.texi: Likewise.
19512         * manual/locale.texi: Likewise.
19513         * manual/maint.texi: Likewise.
19514         * manual/math.texi: Likewise.
19515         * manual/memory.texi: Likewise.
19516         * manual/message.texi: Likewise.
19517         * manual/nss.texi: Likewise.
19518         * manual/pattern.texi: Likewise.
19519         * manual/process.texi: Likewise.
19520         * manual/resource.texi: Likewise.
19521         * manual/search.texi: Likewise.
19522         * manual/setjmp.texi: Likewise.
19523         * manual/signal.texi: Likewise.
19524         * manual/socket.texi: Likewise.
19525         * manual/startup.texi: Likewise.
19526         * manual/stdio.texi: Likewise.
19527         * manual/string.texi: Likewise.
19528         * manual/sysinfo.texi: Likewise.
19529         * manual/syslog.texi: Likewise.
19530         * manual/terminal.texi: Likewise.
19531         * manual/time.texi: Likewise.
19532         * manual/users.texi: Likewise.
19533         * INSTALL: Regenerated.
19534         * NOTES: Regenerated.
19535         * sysdeps/gnu/errlist.c: Regenerated.
19536
19537 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19538
19539         * include/dirent.h: Include <dirstream.h> before
19540         <dirent/dirent.h>.
19541
19542 2012-02-28  David S. Miller  <davem@davemloft.net>
19543
19544         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19545         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19546         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19547         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19548
19549 2012-02-27  David S. Miller  <davem@davemloft.net>
19550
19551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19553         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19554         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19555
19556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19557         frame pointer instead of stack pointer relative arg slot.
19558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19559         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19560         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19561
19562 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19563
19564         [BZ #3992]
19565         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19566
19567 2012-02-27  David S. Miller  <davem@davemloft.net>
19568
19569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19573         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19574         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19575         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19576         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19577
19578 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19579
19580         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19581         later.  Allow versions 5-9.
19582         * configure: Regenerated.
19583         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19584         required minimum version and 4.6 as recommended version.  Do not
19585         mention bugs in GCC 2.7 and 2.8.
19586         * INSTALL: Regenerated.
19587
19588 2012-02-27  David S. Miller  <davem@davemloft.net>
19589
19590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19594         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19595         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19596         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19597         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19598
19599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19600         manipulate bits before adding and subtracting TWO112[sx].
19601         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19602
19603 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19604
19605         [BZ #13775]
19606         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19607         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19608         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19609         being in POSIX, because they are in 1003.1-2008.
19610
19611         * rt/tst-aio.c: Include <fcntl.h>.
19612         * rt/tst-aio7.c: Likewise.
19613         * rt/tst-aio64.c: Likewise.
19614
19615         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19616
19617 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19618
19619         * manual/install.texi (--with-headers): Describe headers as
19620         interface headers, not private headers.
19621         (Specific advice for GNU/Linux systems): Describe use of headers
19622         from "make headers_install", not private headers from older
19623         kernels.
19624         * INSTALL: Regenerated.
19625         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19626         Change to 2.6.19.
19627         * sysdeps/unix/sysv/linux/configure: Regenerated.
19628
19629         * manual/llio.texi (fclean): Remove documentation.
19630
19631         * manual/Makefile (libc-texi-generated): New variable.  Include
19632         version.texi.
19633         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19634         $(libc-texi-generated), not duplicated list of files.
19635         (version.texi, stamp-version): New rules.
19636         (realclean): Remove $(libc-texi-generated), not individual files
19637         from that list.  Do not remove dir-add.texinfo.
19638         * manual/libc.texinfo: Comment out uses of edition numbers and
19639         references to printed manual.  Remove last-updated dates.
19640         (EDITION): Comment out.
19641         (ISBN): Likewise.
19642         (VERSION, UPDATED): Remove.
19643         (version.texi): Include.
19644
19645 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19646
19647         * sysdeps/posix/spawni.c: Include <signal.h>.
19648         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19649         * sysdeps/pthread/aio_fsync.c: Likewise.
19650
19651 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19652
19653         * conform/Makefile (tests): Run only when not cross-compiling and
19654         when fast-check is not defined.
19655
19656         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19657         * conform/data/limits.h-data: Fixes for POSIX2008.
19658         * conform/run-conformtest.sh: Run all tests.
19659         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19660         headers.
19661         * include/bits/dlfcn.h: Likewise.
19662         * include/langinfo.h: Likewise.
19663         * include/monetary.h: Likewise.
19664         * include/sys/poll.h: Likewise.
19665
19666         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19667         for __USE_GNU.
19668         * posix/spawn.h: Define __need_sigset_t.
19669         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19670         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19671         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19672         to get sigevent_t only.
19673         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19674         only for __USE_GNU.
19675         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19676         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19677         process_vm_writev only for __USE_GNU.
19678         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19679
19680         * conform/Makefile: For now ignore errors from run-conformtest.
19681         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19682         POSIX to avoid namespace pollution.  Don't prepend headers.
19683         * conform/data/aio.h-data: Fixes for POSIX testing.
19684         * conform/data/fcntl.h-data: Likewise.
19685         * conform/data/glob.h-data: Likewise.
19686         * conform/data/grp.h-data: Likewise.
19687         * conform/data/pthread.h-data: Likewise.
19688         * conform/data/pwd.h-data: Likewise.
19689         * conform/data/signal.h-data: Likewise.
19690         * conform/data/spawn.h-data: Likewise.
19691         * conform/data/stdio.h-data: Likewise.
19692         * conform/data/stdlib.h-data: Likewise.
19693         * conform/data/stropts.h-data: Likewise.
19694         * conform/data/sys/mman.h-data: Likewise.
19695         * conform/data/sys/stat.h-data: Likewise.
19696         * conform/data/sys/types.h-data: Likewise.
19697         * conform/data/sys/wait.h-data: Likewise.
19698         * conform/data/time.h-data: Likewise.
19699         * conform/data/unistd.h-data: Likewise.
19700         * conform/data/utime.h-data: Likewise.
19701
19702         * io/sys/stat.h: fchmod was always in POSIX.
19703         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19704         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19705         * rt/aio.h: Define __need_timespec before including <time.h>.
19706         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19707         struct.  Add forward declaration of pthread_attr_t and use it in
19708         sigevent.
19709         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19711         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19712         always remove CLK_TCK definition.
19713
19714 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19715
19716         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19717
19718 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19719
19720         * conform/run-conformtest.sh: New file.
19721         * conform/Makefile: Run run-conformtest for tests.
19722         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19723         support.
19724
19725         * conform/data/uchar.h-data: New file.
19726         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19727         * conform/data/arpa/inet.h-data: Likewise.
19728         * conform/data/assert.h-data: Likewise.
19729         * conform/data/complex.h-data: Likewise.
19730         * conform/data/cpio.h-data: Likewise.
19731         * conform/data/ctype.h-data: Likewise.
19732         * conform/data/dirent.h-data: Likewise.
19733         * conform/data/dlfcn.h-data: Likewise.
19734         * conform/data/errno.h-data: Likewise.
19735         * conform/data/fcntl.h-data: Likewise.
19736         * conform/data/float.h-data: Likewise.
19737         * conform/data/fmtmsg.h-data: Likewise.
19738         * conform/data/fnmatch.h-data: Likewise.
19739         * conform/data/ftw.h-data: Likewise.
19740         * conform/data/glob.h-data: Likewise.
19741         * conform/data/grp.h-data: Likewise.
19742         * conform/data/iconv.h-data: Likewise.
19743         * conform/data/inttypes.h-data: Likewise.
19744         * conform/data/langinfo.h-data: Likewise.
19745         * conform/data/libgen.h-data: Likewise.
19746         * conform/data/limits.h-data: Likewise.
19747         * conform/data/locale.h-data: Likewise.
19748         * conform/data/math.h-data: Likewise.
19749         * conform/data/monetary.h-data: Likewise.
19750         * conform/data/mqueue.h-data: Likewise.
19751         * conform/data/ndbm.h-data: Likewise.
19752         * conform/data/net/if.h-data: Likewise.
19753         * conform/data/netdb.h-data: Likewise.
19754         * conform/data/netinet/in.h-data: Likewise.
19755         * conform/data/nl_types.h-data: Likewise.
19756         * conform/data/poll.h-data: Likewise.
19757         * conform/data/pthread.h-data: Likewise.
19758         * conform/data/pwd.h-data: Likewise.
19759         * conform/data/regex.h-data: Likewise.
19760         * conform/data/sched.h-data: Likewise.
19761         * conform/data/search.h-data: Likewise.
19762         * conform/data/semaphore.h-data: Likewise.
19763         * conform/data/setjmp.h-data: Likewise.
19764         * conform/data/signal.h-data: Likewise.
19765         * conform/data/spawn.h-data: Likewise.
19766         * conform/data/stdarg.h-data: Likewise.
19767         * conform/data/stdio.h-data: Likewise.
19768         * conform/data/stdlib.h-data: Likewise.
19769         * conform/data/string.h-data: Likewise.
19770         * conform/data/strings.h-data: Likewise.
19771         * conform/data/stropts.h-data: Likewise.
19772         * conform/data/sys/ipc.h-data: Likewise.
19773         * conform/data/sys/mman.h-data: Likewise.
19774         * conform/data/sys/msg.h-data: Likewise.
19775         * conform/data/sys/resource.h-data: Likewise.
19776         * conform/data/sys/select.h-data: Likewise.
19777         * conform/data/sys/sem.h-data: Likewise.
19778         * conform/data/sys/shm.h-data: Likewise.
19779         * conform/data/sys/socket.h-data: Likewise.
19780         * conform/data/sys/stat.h-data: Likewise.
19781         * conform/data/sys/statvfs.h-data: Likewise.
19782         * conform/data/sys/time.h-data: Likewise.
19783         * conform/data/sys/timeb.h-data: Likewise.
19784         * conform/data/sys/times.h-data: Likewise.
19785         * conform/data/sys/types.h-data: Likewise.
19786         * conform/data/sys/uio.h-data: Likewise.
19787         * conform/data/sys/un.h-data: Likewise.
19788         * conform/data/sys/utsname.h-data: Likewise.
19789         * conform/data/sys/wait.h-data: Likewise.
19790         * conform/data/syslog.h-data: Likewise.
19791         * conform/data/tar.h-data: Likewise.
19792         * conform/data/termios.h-data: Likewise.
19793         * conform/data/utime.h-data: Likewise.
19794         * conform/data/utmpx.h-data: Likewise.
19795         * conform/data/varargs.h-data: Likewise.
19796         * conform/data/wchar.h-data: Likewise.
19797         * conform/data/wctype.h-data: Likewise.
19798         * conform/data/wordexp.h-data: Likewise.
19799
19800         * include/stropts.h: New file.
19801         * include/uchar.h: New file.
19802         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19803         * include/assert.h: Likewise.
19804         * include/ctype.h: Likewise.
19805         * include/dirent.h: Likewise.
19806         * include/dlfcn.h: Likewise.
19807         * include/fcntl.h: Likewise.
19808         * include/fnmatch.h: Likewise.
19809         * include/glob.h: Likewise.
19810         * include/grp.h: Likewise.
19811         * include/libio.h: Likewise.
19812         * include/locale.h: Likewise.
19813         * include/math.h: Likewise.
19814         * include/net/if.h: Likewise.
19815         * include/netdb.h: Likewise.
19816         * include/netinet/in.h: Likewise.
19817         * include/pthread.h: Likewise.
19818         * include/pwd.h: Likewise.
19819         * include/regex.h: Likewise.
19820         * include/sched.h: Likewise.
19821         * include/search.h: Likewise.
19822         * include/setjmp.h: Likewise.
19823         * include/signal.h: Likewise.
19824         * include/stdio.h: Likewise.
19825         * include/stdlib.h: Likewise.
19826         * include/string.h: Likewise.
19827         * include/sys/cdefs.h: Likewise.
19828         * include/sys/mman.h: Likewise.
19829         * include/sys/msg.h: Likewise.
19830         * include/sys/resource.h: Likewise.
19831         * include/sys/select.h: Likewise.
19832         * include/sys/socket.h: Likewise.
19833         * include/sys/stat.h: Likewise.
19834         * include/sys/statvfs.h: Likewise.
19835         * include/sys/time.h: Likewise.
19836         * include/sys/times.h: Likewise.
19837         * include/sys/uio.h: Likewise.
19838         * include/sys/utsname.h: Likewise.
19839         * include/sys/wait.h: Likewise.
19840         * include/termios.h: Likewise.
19841         * include/time.h: Likewise.
19842         * include/ulimit.h: Likewise.
19843         * include/unistd.h: Likewise.
19844         * include/utime.h: Likewise.
19845         * include/wchar.h: Likewise.
19846         * include/wctype.h: Likewise.
19847         * include/wordexp.h: Likewise.
19848
19849         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19850
19851         * time/time.h: TIME_UTC must be a macro.
19852         Make timespec_get available for ISO C11 only as well.
19853
19854 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19855
19856         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19857         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19858
19859 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19860
19861         * configure.in: Use -o not -a in test for unsupported multi-arch.
19862
19863 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19864
19865         * manual/texinfo.tex: Update to version 2012-01-19.16.
19866
19867 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19868
19869         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19870
19871 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19872
19873         [BZ #13738]
19874         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19875         * manual/fdl-1.3.texi: New file.
19876         * manual/fdl-1.1.texi: File removed.
19877
19878         [BZ #13738]
19879         * manual/libc.texinfo (FDL_VERSION): New @set.
19880         Use it for mention of FDL in cover text.
19881         (Documentation License): Use it in @include file name.
19882
19883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19884             Roland McGrath  <roland@hack.frob.com>
19885
19886         [BZ #5461]
19887         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19888         not LONG_LONG_MAX and LONG_LONG_MIN.
19889         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19890         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19891         name.
19892         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19893
19894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19895
19896         [BZ #2547]
19897         [BZ #11365]
19898         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19899         manipulate bits before adding and subtracting TWO23[sx].
19900         * math/libm-test.inc (nearbyint_test): Add more tests.
19901
19902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19903
19904         [BZ #2548]
19905         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19906         bits before adding and subtracting TWO23[sx].
19907         * math/libm-test.inc (rint_test): Add more tests.
19908         (rint_test_tonearest): Likewise.
19909         (rint_test_towardzero): Likewise.
19910         (rint_test_downward): Likewise.
19911         (rint_test_upward: Likewise.
19912
19913 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19914
19915         [BZ #10110]
19916         * include/stdc-predef.h: New file.  Extracted from features.h.
19917         * include/features.h: Include stdc-predef.h.
19918         * Makefile (headers): Add stdc-predef.h.
19919         * CONFORMANCE (Compiler limitations): Update.
19920
19921 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19922
19923         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19924
19925 2012-02-21  David S. Miller  <davem@davemloft.net>
19926
19927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19928         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19929
19930 2012-02-20  David S. Miller  <davem@davemloft.net>
19931
19932         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19933         using a normal save/restore sequence, rather than allocating a
19934         dummy stack frame just to store a frame pointer and restore.
19935         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19936
19937 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19938
19939         * manual/install.texi: Fix stray word in line-wrapped comment.
19940
19941 2012-02-20  David S. Miller  <davem@davemloft.net>
19942
19943         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19944         both binutils and gcc support GOTDATA.
19945
19946         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19947         "rd %pc" in the PIC register setup sequences.
19948
19949         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19950         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19951         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19952         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19953         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19957         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19958         (SYSCALL_ERROR_HANDLER): Likewise.
19959         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19960         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19962         (SYSCALL_ERROR_HANDLER): Likewise.
19963
19964         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19965         (HAVE_GCC_GOTDATA): New.
19966         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19967         relocation support in both binutils and gcc.
19968         * sysdeps/sparc/elf/configure: Regenerate.
19969
19970         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19971         * sysdeps/sparc/sparc32/elf/configure: Delete.
19972         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19973         * sysdeps/sparc/sparc64/elf/configure: Delete.
19974         * sysdeps/sparc/elf/configure.in: New file.
19975         * sysdeps/sparc/elf/configure: Generate.
19976
19977         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19978         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19979         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19980         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19981         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19982
19983 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19984
19985         * manual/install.texi: Do not mention specific glibc version
19986         numbers.
19987         * manual/libc.texinfo (VERSION, UPDATED): Update.
19988         (@copying): Use @copyright{} and range of years.
19989
19990 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19991
19992         [BZ #13695]
19993         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19994         [crti.S not in sysdirs] (generated): Do not append.
19995         [crti.S not in sysdirs] (omit-deps): Likewise.
19996         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19997         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19998         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19999         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20000         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20001         Likewise.
20002         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20003         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20004         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20005         * csu/defs.awk: Remove file.
20006         * sysdeps/generic/initfini.c: Likewise.
20007         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20008         variable.
20009         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20010         Likewise.
20011
20012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20013
20014         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20015         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20016         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20017         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20018         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20019         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20020         <bits/epoll.h>.
20021         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20022         (__EPOLL_PACKED): Define to empty if not defined by
20023         <bits/epoll.h>.
20024         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20026         bits/epoll.h.
20027
20028 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20029
20030         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20031         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20032         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20033         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20034         <bits/timerfd.h>.
20035         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20036         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20037         bits/timerfd.h.
20038
20039 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
20040
20041         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20042         in C locale.
20043         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20044         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20045         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047
20048 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
20049
20050         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20051         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20052
20053 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
20054
20055         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20056         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20057         defined.
20058         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20059         Likewise.
20060         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20061         entry for 2.16.
20062
20063 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
20064
20065         * math/w_acos.c: Use non-signaling floating-point comparisons.
20066         * math/w_acosf.c: Likewise.
20067         * math/w_acosh.c: Likewise.
20068         * math/w_acoshf.c: Likewise.
20069         * math/w_acoshl.c: Likewise.
20070         * math/w_acosl.c: Likewise.
20071         * math/w_asin.c: Likewise.
20072         * math/w_asinf.c: Likewise.
20073         * math/w_asinl.c: Likewise.
20074         * math/w_atanh.c: Likewise.
20075         * math/w_atanhf.c: Likewise.
20076         * math/w_atanhl.c: Likewise.
20077         * math/w_exp2.c: Likewise.
20078         * math/w_exp2f.c: Likewise.
20079         * math/w_exp2l.c: Likewise.
20080         * math/w_j0.c: Likewise.
20081         * math/w_j0f.c: Likewise.
20082         * math/w_j0l.c: Likewise.
20083         * math/w_j1.c: Likewise.
20084         * math/w_j1f.c: Likewise.
20085         * math/w_j1l.c: Likewise.
20086         * math/w_jn.c: Likewise.
20087         * math/w_jnf.c: Likewise.
20088         * math/w_log.c: Likewise.
20089         * math/w_log10.c: Likewise.
20090         * math/w_log10f.c: Likewise.
20091         * math/w_log10l.c: Likewise.
20092         * math/w_log2.c: Likewise.
20093         * math/w_log2f.c: Likewise.
20094         * math/w_log2l.c: Likewise.
20095         * math/w_logf.c: Likewise.
20096         * math/w_logl.c: Likewise.
20097         * math/w_sqrt.c: Likewise.
20098         * math/w_sqrtf.c: Likewise.
20099         * math/w_sqrtl.c: Likewise.
20100         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20101         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20102         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20103         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20104         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20105
20106 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20107
20108         [BZ #9739]
20109         * manual/string.texi (strnlen): Use correct parameter name in
20110         equivalent expression.
20111
20112 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20113
20114         [BZ #11174]
20115         * manual/users.texi (seteuid): Consistently use neweuid for
20116         argument name.
20117
20118 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
20119
20120         [BZ #13704]
20121         * manual/nss.texi (Services in the NSS configuration): Correct
20122         list of services in example configuration file.
20123
20124 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
20125
20126         [BZ #11322]
20127         * manual/arith.texi: Remove statements about negative zero
20128         behaving identically to zero.
20129
20130 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20131
20132         [BZ #5993]
20133         * manual/install.texi: Do not document upgrading from libc5.
20134
20135 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
20136
20137         [BZ #4596]
20138         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20139
20140 2012-02-18  David S. Miller  <davem@davemloft.net>
20141
20142         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20143         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20144         %o7 across the call.
20145         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20146         instead.
20147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20148         SETUP_PIC_REG_LEAF.
20149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20150         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20151         * sysdeps/sparc/crtn.S: Likewise.
20152
20153 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
20154
20155         * aout/Makefile: Remove.
20156
20157 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
20158
20159         [BZ #13058]
20160         * manual/examples/argp-ex1.c (main): Format definition in GNU
20161         style.
20162         * manual/examples/argp-ex2.c (main): Likewise.
20163         * manual/examples/argp-ex3.c (main): Likewise.
20164         * manual/examples/argp-ex4.c (main): Likewise.
20165         * manual/examples/longopt.c (main): Use new-style prototype
20166         definition.
20167         * manual/examples/strncat.c (main): Specify return type and use
20168         (void) for arguments.
20169         * manual/examples/subopt.c (main): Use char **argv argument.
20170
20171 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20172
20173         [BZ #5077]
20174         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20175         rounding modes.
20176
20177 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
20178
20179         [BZ #6907]
20180         * manual/string.texi (strchr): Change when strchrnul is
20181         recommended.
20182
20183 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
20184
20185         [BZ #174]
20186         * manual/locale.texi (setlocale): Document LOCPATH.
20187
20188 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20189
20190         [BZ #10210]
20191         * manual/process.texi (execle): Move @dots{} before last argument.
20192
20193 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
20194
20195         [BZ #12047]
20196         * manual/charset.texi (Generic Charset Conversion): Fix typo
20197         (LC_TYPE -> LC_CTYPE).
20198
20199 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
20200
20201         [BZ #5805]
20202         * manual/arith.texi (scalbn): Use @var{} on parameter names.
20203         (scalbnf): Likewise.
20204         (scalbnl): Likewise.
20205         (scalbln): Likewise.
20206         (scalblnf): Likewise.
20207         (scalblnl): Likewise.
20208         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20209         (vwarnx): Likewise.
20210         (verr): Likewise.
20211         (verrx): Likewise.
20212         * manual/filesys.texi (telldir): Use braces around return type.
20213         * manual/llio.texi (mmap): Add space after comma.
20214         (mmap64): Likewise.
20215         * manual/math.texi (jn): Use @var{} on parameter names.
20216         (jnf): Likewise.
20217         (jnl): Likewise.
20218         (yn): Likewise.
20219         (ynf): Likewise.
20220         (ynl): Likewise.
20221         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20222         line.
20223         * manual/resource.texi (ulimit): Use @dots{} instead of literal
20224         "...".
20225         (sched_get_priority_min): Remove semicolon on @deftypefun line.
20226         (sched_get_priority_max): Likewise.
20227         * manual/signal.texi (sigvec): Add space after comma.
20228         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20229         names.
20230         (if_indextoname): Likewise.
20231         (if_freenameindex): Likewise.
20232         (sendto): Use ',' instead of '.' in prototype.
20233         * manual/startup.texi (syscall): Use @dots{} instead of literal
20234         "...".
20235         * manual/stdio.texi (__fpending): Separate initial words of
20236         paragraph from @deftypefun line.
20237         * manual/syslog.texi (syslog): Use @dots{} instead of literal
20238         "...".
20239         (vsyslog): Use @var{} on parameter names.
20240         * manual/terminal.texi (stty): Use @var{} on parameter names.
20241         * manual/users.texi (getutmp): Use @var{} on parameter names.
20242         (getutmpx): Likewise.
20243
20244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20245
20246         [BZ #6884]
20247         * manual/stdio.texi (fopen): Fix typos in description of
20248         ",ccs=STRING".
20249
20250 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
20251
20252         [BZ #4026]
20253         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20254         get clock_id definition.
20255
20256 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
20257
20258         [BZ #4822]
20259         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20260         (madvise): Cast every argument to void on its own.
20261
20262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20263
20264         [BZ #9902]
20265         * manual/startup.texi (Exit Status): Fix typo.
20266
20267 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
20268
20269         [BZ #10140]
20270         * manual/examples/argp-ex1.c: Include <stdlib.h>.
20271         * manual/examples/argp-ex2.c: Likewise.
20272         * manual/examples/argp-ex3.c: Likewise.
20273
20274 2012-02-16  Richard Henderson  <rth@redhat.com>
20275
20276         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20277         * sysdeps/s390/s390-32/initfini.c: Remove.
20278         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20279         * sysdeps/s390/s390-64/initfini.c: Remove.
20280
20281 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20282
20283         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20284         compiler output for sysdeps/generic/initfini.c.
20285         * sysdeps/sh/elf/initfini.c: Remove file.
20286
20287 2012-02-16  David S. Miller  <davem@davemloft.net>
20288
20289         [BZ #11494]
20290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20291
20292         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20293         * sysdeps/sparc/crti.S: New file.
20294         * sysdeps/sparc/crtn.S: New file.
20295         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20296         * sysdeps/sparc/sparc64/Makefile: Likewise.
20297
20298 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
20299
20300         [BZ #3335]
20301         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20302
20303 2012-02-15  Roland McGrath  <roland@hack.frob.com>
20304
20305         [BZ #4822]
20306         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20307
20308         * mach/devstream.c (cookie_io_functions_t): Macro removed.
20309         (write, read, close): Likewise.
20310         Patch by Aurelien Jarno <aurelien@aurel32.net>.
20311
20312 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
20313
20314         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20315         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20316         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20317         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20318         <bits/signalfd.h>.
20319         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20321         bits/signalfd.h.
20322
20323 2012-02-14  Marek Polacek  <polacek@redhat.com>
20324
20325         * sysdeps/x86_64/crti.S: New file.
20326         * sysdeps/x86_64/crtn.S: New file.
20327         * sysdeps/x86_64/elf/initfini.c: Remove file.
20328
20329 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20330
20331         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20332         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20333         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20334         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20335         <bits/inotify.h>.
20336         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20338         bits/inotify.h.
20339
20340 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20341
20342         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20343         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20344         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20345         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20346         <bits/eventfd.h>.
20347         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20349         bits/eventfd.h.
20350
20351 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20352
20353         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20354         __feraiseexcept instead of feraiseexcept.
20355
20356         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20357         nanosleep invocations.
20358         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20359         strings, and add error checking for a nanosleep invocations.
20360
20361 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20362
20363         Replace FSF snail mail address with URLs, as per GNU coding standards.
20364         Most of the snail mail addresses were wrong anyway, and omitting
20365         them makes the source code easier to maintain.  Almost all of the
20366         changes are to license notices and to locale LC_IDENTIFICATION
20367         addresses, except for this one:
20368         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20369         not its snail mail address.
20370
20371 2012-02-09  Richard Henderson  <rth@twiddle.net>
20372
20373         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20374         of kernel-features.h.
20375
20376         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20377
20378 2012-02-08  Marek Polacek  <polacek@redhat.com>
20379
20380         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20381         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20382         * sysdeps/gnu/_G_config.h: Likewise.
20383         * sysdeps/generic/_G_config.h: Likewise.
20384
20385 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20386
20387         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20388         tests.
20389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20390
20391         * sysdeps/powerpc/powerpc32/crti.S: New file.
20392         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20393         * sysdeps/powerpc/powerpc64/crti.S: New file.
20394         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20395
20396         * Makeconfig (have-initfini): Don't set.
20397         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20398         * configure.in (nopic_initfini): Don't substitute.
20399         * config.h.in (HAVE_INITFINI): Don't #undef.
20400         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20401         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20402
20403 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20404
20405         Support crti.S and crtn.S provided directly by architectures.
20406         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20407         [crti.S in sysdirs] (omit-deps): Likewise.
20408         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20409         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20410         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20411         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20412         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20413         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20414         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20415         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20416         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20417         compiler output for sysdeps/generic/initfini.c.
20418         * sysdeps/i386/elf/Makefile: Remove file.
20419         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20420
20421 2012-02-07  Marek Polacek  <polacek@redhat.com>
20422
20423         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20424         * sysdeps/gnu/_G_config.h: Likewise.
20425         * sysdeps/mach/hurd/_G_config.h: Likewise.
20426
20427 2012-02-07  Marek Polacek  <polacek@redhat.com>
20428
20429         * math/Makefile (tests): Add tst-CMPLX2.
20430         * math/tst-CMPLX2.c: New file.
20431
20432 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20433
20434         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20435
20436         * math/libm-test.inc (jn_test): Add missing L suffix.
20437
20438 2012-02-06  Marek Polacek  <polacek@redhat.com>
20439
20440         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20441         * sysdeps/i386/fpu/e_powf.S: Likewise.
20442         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20443         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20444         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20445         * sysdeps/i386/fpu/e_pow.S: Likewise.
20446         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20447         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20448         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20449         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20450         * sysdeps/i386/fpu/e_log2.S: Likewise.
20451         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20452         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20453         * sysdeps/i386/fpu/e_powl.S: Likewise.
20454         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20455         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20456         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20457         * sysdeps/i386/fpu/e_logl.S: Likewise.
20458         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20459         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20460         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20461         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20463         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20464         * sysdeps/i386/fpu/e_log.S: Likewise.
20465         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20466         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20467         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20468         * sysdeps/i386/fpu/e_logf.S: Likewise.
20469         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20470         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20471         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20472         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20473         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20474         * sysdeps/i386/fpu/e_log10.S: Likewise.
20475         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20476         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20477         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20478         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20479         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20480         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20481         * sysdeps/i386/asm-syntax.h: Likewise.
20482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20483         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20484         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20485         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20486         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20487         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20488         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20489         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20490         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20491         * sysdeps/powerpc/sysdep.h: Likewise.
20492         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20493         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20494
20495 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20496
20497         [BZ #411]
20498         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20499
20500 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20501
20502         * sysdeps/i386/sysdep.h: Include <features.h>.
20503         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20504         version.
20505
20506 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20507
20508         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20509         Define.
20510         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20511         LOAD_PIC_REG_STR.
20512
20513 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20514
20515         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20516         (SETUP_PIC_REG): Use GET_PC_THUNK.
20517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20518         macro.
20519
20520 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20521
20522         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20523         for non-PIC compilation.
20524         (SETUP_PIC_REG): Add .p2align directive.
20525         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20526         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20527         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20528         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20529         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20530         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20531         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20532         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20533         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20534         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20535         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20536         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20537         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20538         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20539         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20540         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20541         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20542         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20543         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20544         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20545         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20546         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20547         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20548         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20549         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20550         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20551         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20552         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20553         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20554         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20555         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20556         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20557         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20558         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20559         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20560         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20561         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20562         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20563         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20564         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20565         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20566
20567 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20568
20569         * math/tst-CMPLX.c: Include <stdio.h>.
20570
20571 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20572
20573         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20574         float.
20575         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20576         * sysdeps/sparc/bits/mathdef.h: Likewise.
20577
20578 2012-01-31  Marek Polacek  <polacek@redhat.com>
20579
20580         * libio/libio.h: Don't define _PARAMS.
20581         * locale/programs/config.h: Don't define PARAMS.
20582         * stdlib/strtol_l.c: Likewise.
20583         (__strtol_l): Remove PARAMS from the prototype.
20584
20585 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20586
20587         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20588         names.  Just use the correct names.  Remove unnecessary wrapper
20589         functions.
20590         * malloc/arena.c: Likewise.
20591         * malloc/hooks.c: Likewise.
20592
20593         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20594         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20595         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20596
20597 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20598
20599         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20600         into tail calls.
20601         (update_get_addr): New function.
20602         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20603         GET_ADDR_MODULE parameter.
20604
20605 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20606
20607         * crypt/cert.c: Remove __STDC__ conditionals.
20608         * crypt/crypt-entry.c: Likewise.
20609         * crypt/crypt_util.c: Likewise.
20610         * libio/filedoalloc.c: Likewise.
20611         * libio/fileops.c: Likewise.
20612         * libio/genops.c: Likewise.
20613         * libio/iofclose.c: Likewise.
20614         * libio/iofdopen.c: Likewise.
20615         * libio/iofopen.c: Likewise.
20616         * libio/iofopen64.c: Likewise.
20617         * libio/iogetdelim.c: Likewise.
20618         * libio/iopopen.c: Likewise.
20619         * libio/obprintf.c: Likewise.
20620         * libio/oldfileops.c: Likewise.
20621         * libio/oldiofclose.c: Likewise.
20622         * libio/oldiofdopen.c: Likewise.
20623         * libio/oldiofopen.c: Likewise.
20624         * libio/oldiopopen.c: Likewise.
20625         * libio/wfiledoalloc.c: Likewise.
20626         * libio/wgenops.c: Likewise.
20627         * locale/programs/xmalloc.c: Likewise.
20628         * misc/syslog.c: Likewise.
20629         * stdio-common/xbug.c: Likewise.
20630         * string/memchr.c: Likewise.
20631         * string/memcmp.c: Likewise.
20632         * string/memrchr.c: Likewise.
20633         * string/rawmemchr.c: Likewise.
20634         * sysdeps/posix/getcwd.c: Likewise.
20635         * time/strftime_l.c: Likewise.
20636
20637 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20638
20639         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20640         * config.make.in (config-cflags-sse2avx): Define.
20641         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20642         Fix typo.
20643
20644 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20645
20646         * scripts/config.guess: Update from upstream config git repository.
20647         * scripts/config.sub: Likewise.
20648
20649 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20650
20651         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20652         (EM_NUM): Update.
20653         (R_TILEPRO_*, R_TILEGX_*): New macros.
20654
20655         * scripts/firstversions.awk: Fix bug in version range handling.
20656
20657         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20658
20659         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20660
20661         * include/sys/epoll.h: New file.
20662         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20663         libc_hidden_def.
20664
20665 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20666
20667         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20668         Avoid unnecessary __WORDSIZE == 64 test.
20669         (fmaxf): Use VEX format if possible.
20670         (fmax): Likewise.
20671         (fminf): Likewise.
20672         (fmin): Likewise.
20673
20674         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20675         * math/math_private.h: Remove libc_fegetround* and
20676         libc_fesetround*.
20677         * sysdeps/i386/configure.in: Check for -msse2avx.
20678         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20679         also if SSE2AVX is defined.
20680         Remove libc_fegetround* and libc_fesetround*.
20681         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20682         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20684         of HAS_YMM_USABLE.
20685         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20686         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20687         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20688         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20690
20691         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20692
20693 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20694
20695         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20696         size is not set.
20697         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20698
20699 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20700
20701         [BZ #13618]
20702         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20703         relocation.
20704         * Makeconfig (libm): Define.
20705         * elf/Makefile: Add rules to build and run tst-relsort1.
20706         * elf/tst-relsort1.c: New file.
20707         * elf/tst-relsort1mod1.c: New file.
20708         * elf/tst-relsort1mod2.c: New file.
20709
20710 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20711
20712         * math/s_ldexp.c: Remove __STDC__ conditionals.
20713         * math/s_ldexpf.c: Likewise.
20714         * math/s_ldexpl.c: Likewise.
20715         * math/s_nextafter.c: Likewise.
20716         * math/s_nexttowardf.c: Likewise.
20717         * math/s_significand.c: Likewise.
20718         * math/s_significandf.c: Likewise.
20719         * math/s_significandl.c: Likewise.
20720         * math/w_jnl.c: Likewise.
20721         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20722         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20723         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20724         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20725         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20726         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20727         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20728         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20729         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20730         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20731         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20732         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20733         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20734         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20735         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20736         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20737         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20738         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20740         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20741         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20742         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20743         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20745         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20746         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20747         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20748         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20749         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20751         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20752         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20753         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20754         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20755         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20756         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20757         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20758         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20759         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20760         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20761         * sysdeps/ieee754/k_standard.c: Likewise.
20762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20763         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20764         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20765         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20766         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20767         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20769         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20770         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20771         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20772         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20774         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20775         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20776         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20777         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20778         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20779         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20780         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20781         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20782         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20783         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20784         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20785         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20786         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20793         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20794         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20795         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20798         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20800         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20801         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20802         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20803         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20804         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20805         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20806         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20807         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20809         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20811         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20812         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20813         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20814         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20818         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20820         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20821         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20822         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20823         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20824         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20825         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20826         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20827         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20828         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20829         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20830         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20831         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20832         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20833         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20834         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20835         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20836         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20837         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20838         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20839         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20840         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20841         * sysdeps/ieee754/s_matherr.c: Likewise.
20842         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20844         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20846
20847 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20848
20849         * crypt/md5.h: Remove __STDC__ conditionals.
20850         * libio/libioP.h: Likewise.
20851         * locale/programs/config.h: Likewise.
20852         * sysdeps/generic/sysdep.h: Likewise.
20853         * sysdeps/i386/asm-syntax.h: Likewise.
20854         * sysdeps/s390/asm-syntax.h: Likewise.
20855         * sysdeps/unix/sysdep.h: Likewise.
20856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20858
20859 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20860
20861         * libio/libio.h: Remove __STDC__ conditionals.
20862         * malloc/obstack.h: Likewise.
20863         * math/complex.h: Likewise.
20864         * math/math.h: Likewise.
20865         * sysdeps/generic/_G_config.h: Likewise.
20866         * sysdeps/gnu/_G_config.h: Likewise.
20867         * sysdeps/mach/hurd/_G_config.h: Likewise.
20868         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20869         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20870         * sysdeps/sparc/bits/mathdef.h: Likewise.
20871
20872 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20873
20874         [BZ #13583]
20875         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20876         Clean up HAS_* macros.
20877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20878         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20879         possible.
20880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20881         HAS_AVX.
20882         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20883         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20884         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20885         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20886         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20887
20888 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20889
20890         * elf/tst-unique3.cc (gets): Remove declaration.
20891         * elf/tst-unique3lib.cc (gets): Likewise.
20892         * elf/tst-unique3lib2.cc (gets): Likewise.
20893         * elf/tst-unique4.cc (gets): Likewise.
20894
20895 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20896
20897         * include/stdio.h: Add C++ protection.  Add gets declarations and
20898         definitions.
20899         * debug/tst-chk1.c: Don't declare gets here.
20900         * stdio-common/tst-gets.c: Likewise.
20901
20902 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20903
20904         * posix/glob: Remove directory.
20905
20906 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20907
20908         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20909
20910 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20911
20912         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20913         of the non-standard EPFNOSUPPORT.
20914
20915 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20916
20917         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20918         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20919         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20920
20921 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20922
20923         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20924
20925 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20926
20927         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20928         transient errors.
20929         * nscd/grpcache.c (cache_addgr): Likewise.
20930         * nscd/hstcache.c (cache_addhst): Likewise.
20931         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20932         * nscd/pwdcache.c (cache_addpw): Likewise.
20933         * nscd/servicescache.c (cache_addserv): Likewise.
20934
20935 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20936
20937         * malloc/malloc.c: Various cleanups.
20938         * malloc/hooks.c: Likewise.
20939
20940         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20941         * stdlib/bug-fmtmsg1.c: New file.
20942
20943         * stdlib/fmtmsg.c (init): Add missing unlock.
20944         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20945
20946 2012-01-12  Marek Polacek  <polacek@redhat.com>
20947
20948         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20949         and _GNU_SOURCE.
20950
20951 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20952
20953         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20954         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20955         macro to ensure uniqueness of label name.
20956         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20957         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20958
20959 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20960
20961         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20962
20963         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20964         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20967
20968 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20969
20970         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20971
20972         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20973         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20974         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20975
20976         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20977
20978         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20979         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20980         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20981         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20982
20983         * math/bits/math-finite.h: Add ldexp support.
20984
20985 2012-01-10  Marek Polacek  <polacek@redhat.com>
20986
20987         * locale/programs/localedef.h (show_archive_content): Add noreturn
20988         attribute.
20989
20990 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20991
20992         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20993
20994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20995
20996         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20997
20998         * io/Makefile (headers): Add bits/poll2.h.
20999
21000 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
21001
21002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21003         typo #include statement.
21004
21005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21006
21007         * include/sys/cdefs.h: Define __attribute_alloc_size.
21008         * catgets/gencat.c: Add alloc_size attribute and apply consistently
21009         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21010         * elf/pldd.c: Likewise.
21011         * iconv/iconv_charmap.c: Likewise.
21012         * iconv/iconvconfig.c: Likewise.
21013         * iconv/strtab.c: Likewise.
21014         * locale/programs/locale.c: Likewise.
21015         * locale/programs/localedef.h: Likewise.
21016         * locale/programs/simple-hash.c: Likewise.
21017         * nscd/nscd.h: Likewise.
21018         * nss/makedb.c: Likewise.
21019         * sysdeps/generic/ldconfig.h: Likewise.
21020         * locale/programs/localedef.c: Remove xmalloc prototype.
21021         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21022
21023 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21024
21025         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21026         appropriate.
21027
21028 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
21029
21030         * math/Makefile (tests): Add tst-CMPLX.
21031         * math/tst-CMPLX.c: New file.
21032
21033         * math/complex.h (CMPLXL): Fix typo.
21034
21035         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21036         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21037         GLIBC_2.16.
21038         * debug/tst-chk1.c: Add poll and ppoll tests.
21039         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21040         * include/sys/poll.h: Add hidden proto for ppoll.
21041         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21042         * sysdeps/mach/hurd/ppoll.c: Likewise.
21043         * io/ppoll.c: Likewise.
21044         * debug/poll_chk.c: New file.
21045         * debug/ppoll_chk.c: New file.
21046         * include/bits/poll2.h: New file.
21047         * io/bits/poll2.h: New file.
21048
21049         [BZ #1350]
21050         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21051
21052         * configure.in: static is always set to yes.  Remove.
21053         * config.make.in: Don't set build-static.
21054         * Makeconfig: Remove use of build-static.
21055         * dlfcn/Makefile: Likewise.
21056         * elf/Makefile: Likewise.
21057         * math/Makefile: Likewise.
21058         * misc/Makefile: Likewise.
21059         * nptl/Makefile: Likewise.
21060         * sysdeps/mach/hurd/Makefile: Likewise.
21061
21062         * configure.in: PWD_P is not used anymore.
21063         * config.make.in: Remove PWD_P entry.
21064
21065         * configure.in: Remove last remnants of RANLIB.
21066         No need to check for signed size_t anymore.
21067         Don't set libc_commonpagesize and libc_relro_required here for Alpha
21068         and IA-64.
21069         Remove __builtin_expect test because we require at least gcc 3.4.
21070         * aclocal.m4: Likewise.
21071
21072         * wcsmbs/mbrtoc16.c: Implement using towc function.
21073         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21074         * wcsmbs/wcsmbsload.c: Likewise.
21075         * iconv/gconv_simple.c: Likewise.
21076         * iconv/gconv_int.h: Likewise.
21077         * iconv/gconv_builtin.h: Likewise.
21078         * iconv/iconv_prog.c: Remove CHAR16 handling.
21079
21080         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21081
21082         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21083
21084         * configure.in: Remove --with-elf and --enable-bounded options.
21085         Dont set base_machine for ia64.  More non-ELF conditions removed.
21086         Remove testing and setting of leading underscore information.
21087         * config.make.in (build-bounded): Set to no.
21088         * config.h.in: Remove NO_UNDERSCORES entry.
21089         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
21090         them.
21091         * csu/start.c: Remove !NO_UNDERSCORE code.
21092         * locale/localeinfo.h: Likewise.
21093         * sysdeps/generic/machine-gmon.h: Likewise.
21094         * sysdeps/generic/sysdep.h: Likewise.
21095         * sysdeps/i386/sysdep.h: Likewise.
21096         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21097         * sysdeps/mach/sysdep.h: Likewise.
21098         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21099         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21100         * sysdeps/sh/sysdep.h: Likewise.
21101         * sysdeps/sparc/sparc32/alloca.S: Likewise.
21102         * sysdeps/unix/i386/sysdep.S: Likewise.
21103         * sysdeps/unix/sparc/start.c: Likewise.
21104         * sysdeps/unix/sparc/sysdep.S: Likewise.
21105         * sysdeps/unix/sparc/sysdep.h: Likewise.
21106         * sysdeps/unix/start.c: Likewise.
21107         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21108         * sysdeps/x86_64/sysdep.h: Likewise.
21109
21110 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
21111
21112         [BZ #13553]
21113         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21114         for non-gcc.
21115         * argp/argp-fmtstream.h: Use const instead __const.
21116         * argp/argp.h: Likewise.
21117         * assert/assert.h: Likewise.
21118         * bits/fenv.h: Likewise.
21119         * bits/sched.h: Likewise.
21120         * bits/sigset.h: Likewise.
21121         * bits/sigthread.h: Likewise.
21122         * catgets/nl_types.h: Likewise.
21123         * conform/data/pthread.h-data: Likewise.
21124         * crypt/crypt-private.h: Likewise.
21125         * crypt/crypt.h: Likewise.
21126         * crypt/crypt_util.c: Likewise.
21127         * ctype/ctype.h: Likewise.
21128         * debug/execinfo.h: Likewise.
21129         * debug/mbsnrtowcs_chk.c: Likewise.
21130         * debug/mbsrtowcs_chk.c: Likewise.
21131         * debug/wcsnrtombs_chk.c: Likewise.
21132         * debug/wcsrtombs_chk.c: Likewise.
21133         * debug/wcstombs_chk.c: Likewise.
21134         * dirent/dirent.h: Likewise.
21135         * dlfcn/dlfcn.h: Likewise.
21136         * elf/neededtest4.c: Likewise.
21137         * grp/grp.h: Likewise.
21138         * gshadow/gshadow.h: Likewise.
21139         * iconv/gconv.h: Likewise.
21140         * iconv/gconv_int.h: Likewise.
21141         * iconv/gconv_simple.c: Likewise.
21142         * iconv/iconv.h: Likewise.
21143         * iconv/loop.c: Likewise.
21144         * iconv/skeleton.c: Likewise.
21145         * include/aio.h: Likewise.
21146         * include/aliases.h: Likewise.
21147         * include/argz.h: Likewise.
21148         * include/arpa/inet.h: Likewise.
21149         * include/assert.h: Likewise.
21150         * include/dirent.h: Likewise.
21151         * include/dlfcn.h: Likewise.
21152         * include/execinfo.h: Likewise.
21153         * include/fcntl.h: Likewise.
21154         * include/fenv.h: Likewise.
21155         * include/glob.h: Likewise.
21156         * include/grp.h: Likewise.
21157         * include/libintl.h: Likewise.
21158         * include/mntent.h: Likewise.
21159         * include/netdb.h: Likewise.
21160         * include/pwd.h: Likewise.
21161         * include/rpc/netdb.h: Likewise.
21162         * include/sched.h: Likewise.
21163         * include/search.h: Likewise.
21164         * include/shadow.h: Likewise.
21165         * include/signal.h: Likewise.
21166         * include/stdio.h: Likewise.
21167         * include/stdlib.h: Likewise.
21168         * include/string.h: Likewise.
21169         * include/sys/socket.h: Likewise.
21170         * include/sys/stat.h: Likewise.
21171         * include/sys/statfs.h: Likewise.
21172         * include/sys/statvfs.h: Likewise.
21173         * include/sys/syslog.h: Likewise.
21174         * include/sys/time.h: Likewise.
21175         * include/sys/uio.h: Likewise.
21176         * include/time.h: Likewise.
21177         * include/unistd.h: Likewise.
21178         * include/utmp.h: Likewise.
21179         * include/wchar.h: Likewise.
21180         * include/wctype.h: Likewise.
21181         * inet/aliases.h: Likewise.
21182         * inet/arpa/inet.h: Likewise.
21183         * inet/netinet/ether.h: Likewise.
21184         * inet/netinet/in.h: Likewise.
21185         * intl/libintl.h: Likewise.
21186         * io/bits/fcntl2.h: Likewise.
21187         * io/fcntl.h: Likewise.
21188         * io/ftw.h: Likewise.
21189         * io/sys/poll.h: Likewise.
21190         * io/sys/stat.h: Likewise.
21191         * io/sys/statfs.h: Likewise.
21192         * io/sys/statvfs.h: Likewise.
21193         * io/utime.h: Likewise.
21194         * libio/bits/stdio.h: Likewise.
21195         * libio/bits/stdio2.h: Likewise.
21196         * libio/libio.h: Likewise.
21197         * libio/libioP.h: Likewise.
21198         * libio/stdio.h: Likewise.
21199         * locale/lc-ctype.c: Likewise.
21200         * locale/locale.h: Likewise.
21201         * login/utmp.h: Likewise.
21202         * malloc/arena.c: Likewise.
21203         * malloc/malloc.c: Likewise.
21204         * malloc/malloc.h: Likewise.
21205         * malloc/mcheck.c: Likewise.
21206         * malloc/mtrace.c: Likewise.
21207         * math/bits/mathcalls.h: Likewise.
21208         * math/fenv.h: Likewise.
21209         * math/math_private.h: Likewise.
21210         * misc/bits/error.h: Likewise.
21211         * misc/bits/syslog.h: Likewise.
21212         * misc/err.h: Likewise.
21213         * misc/error.h: Likewise.
21214         * misc/fstab.h: Likewise.
21215         * misc/mntent.h: Likewise.
21216         * misc/regexp.h: Likewise.
21217         * misc/search.h: Likewise.
21218         * misc/sgtty.h: Likewise.
21219         * misc/sys/mman.h: Likewise.
21220         * misc/sys/syslog.h: Likewise.
21221         * misc/sys/uio.h: Likewise.
21222         * misc/sys/xattr.h: Likewise.
21223         * misc/ttyent.h: Likewise.
21224         * nis/rpcsvc/ypclnt.h: Likewise.
21225         * nss/nss.h: Likewise.
21226         * posix/bits/unistd.h: Likewise.
21227         * posix/fnmatch.h: Likewise.
21228         * posix/glob.h: Likewise.
21229         * posix/sched.h: Likewise.
21230         * posix/spawn.h: Likewise.
21231         * posix/sys/wait.h: Likewise.
21232         * posix/unistd.h: Likewise.
21233         * posix/wordexp.h: Likewise.
21234         * pwd/pwd.h: Likewise.
21235         * resolv/netdb.h: Likewise.
21236         * resource/sys/resource.h: Likewise.
21237         * rt/aio.h: Likewise.
21238         * rt/bits/mqueue2.h: Likewise.
21239         * rt/mqueue.h: Likewise.
21240         * shadow/shadow.h: Likewise.
21241         * signal/signal.h: Likewise.
21242         * socket/send.c: Likewise.
21243         * socket/sendto.c: Likewise.
21244         * socket/sys/socket.h: Likewise.
21245         * stdio-common/printf.h: Likewise.
21246         * stdlib/bits/stdlib.h: Likewise.
21247         * stdlib/fmtmsg.h: Likewise.
21248         * stdlib/monetary.h: Likewise.
21249         * stdlib/stdlib.h: Likewise.
21250         * stdlib/ucontext.h: Likewise.
21251         * streams/stropts.h: Likewise.
21252         * string/argz.h: Likewise.
21253         * string/bits/string2.h: Likewise.
21254         * string/string.h: Likewise.
21255         * string/strings.h: Likewise.
21256         * sunrpc/rpc/auth.h: Likewise.
21257         * sunrpc/rpc/auth_des.h: Likewise.
21258         * sunrpc/rpc/clnt.h: Likewise.
21259         * sunrpc/rpc/netdb.h: Likewise.
21260         * sunrpc/rpc/pmap_clnt.h: Likewise.
21261         * sunrpc/rpc/xdr.h: Likewise.
21262         * sysdeps/generic/inttypes.h: Likewise.
21263         * sysdeps/generic/net/if.h: Likewise.
21264         * sysdeps/generic/sys/swap.h: Likewise.
21265         * sysdeps/gnu/net/if.h: Likewise.
21266         * sysdeps/gnu/utmpx.h: Likewise.
21267         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21268         * sysdeps/i386/i486/bits/string.h: Likewise.
21269         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21270         * sysdeps/s390/bits/string.h: Likewise.
21271         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21272         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21273         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21274         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21275         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21276         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21277         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21278         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21279         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21280         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21281         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21282         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21283         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21284         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21285         * sysdeps/unix/sysv/linux/readv.c: Likewise.
21286         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21287         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21288         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21289         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21292         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21293         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21294         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21295         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21296         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21297         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21299         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21300         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21301         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21302         * sysvipc/sys/ipc.h: Likewise.
21303         * sysvipc/sys/msg.h: Likewise.
21304         * sysvipc/sys/sem.h: Likewise.
21305         * sysvipc/sys/shm.h: Likewise.
21306         * termios/termios.h: Likewise.
21307         * time/sys/time.h: Likewise.
21308         * time/time.h: Likewise.
21309         * wcsmbs/bits/wchar2.h: Likewise.
21310         * wcsmbs/uchar.h: Likewise.
21311         * wcsmbs/wchar.h: Likewise.
21312         * wctype/wctype.h: Likewise.
21313
21314         [BZ #13551]
21315         * Makeconfig: Remove all but ELF support including AIX support.
21316         * Makerules: Likewise.
21317         * config.h.in: Likewise.
21318         * config.make.in: Likewise.
21319         * configure: Likewise.
21320         * configure.in: Likewise.
21321         * csu/Makefile: Likewise.
21322         * csu/version.c: Likewise.
21323         * debug/Makefile: Likewise.
21324         * dlfcn/Makefile: Likewise.
21325         * elf/Makefile: Likewise.
21326         * extra-lib.mk: Likewise.
21327         * iconv/Makefile: Likewise.
21328         * include/libc-symbols.h: Likewise.
21329         * include/shlib-compat.h: Likewise.
21330         * resolv/Makefile: Likewise.
21331         * resolv/res_libc.c: Likewise.
21332         * rt/Makefile: Likewise.
21333         * sysdeps/i386/asm-syntax.h: Likewise.
21334         * sysdeps/i386/sysdep.h: Likewise.
21335         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21336         * sysdeps/mach/sysdep.h: Likewise.
21337         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21338         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21339         * sysdeps/s390/asm-syntax.h: Likewise.
21340         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21341         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21342         * sysdeps/sh/sysdep.h: Likewise.
21343         * sysdeps/unix/sparc/sysdep.h: Likewise.
21344         * sysdeps/wordsize-32/divdi3.c: Likewise.
21345         * sysdeps/x86_64/sysdep.h: Likewise.
21346
21347         * argp/Versions: Remove _argp_unlock_xxx.
21348
21349         [BZ #13559]
21350         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21351         * abilist/libBrokenLocale.abilist: Likewise.
21352         * abilist/libanl.abilist: Likewise.
21353         * abilist/libc.abilist: Likewise.
21354         * abilist/libcrypt.abilist: Likewise.
21355         * abilist/libdl.abilist: Likewise.
21356         * abilist/libm.abilist: Likewise.
21357         * abilist/libnsl.abilist: Likewise.
21358         * abilist/libpthread.abilist: Likewise.
21359         * abilist/libresolv.abilist: Likewise.
21360         * abilist/librt.abilist: Likewise.
21361         * abilist/libthread_db.abilist: Likewise.
21362         * abilist/libutil.abilist: Likewise.
21363         * abilist/libnss_db.abilist: New file.
21364
21365         * scripts/abilist.awk: Add support for indirect functions.
21366
21367         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21368
21369         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21370
21371         * shlib-versions: Remove entries for ports architectures.
21372
21373         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21374         files in ports.
21375         * elf/stackguard-macros.h: Remove support for IA-64.
21376         * elf/tst-auditmod1.c: Likewise.
21377         * sysdeps/generic/ldsodefs.h: Likewise.
21378
21379         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21380         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21381         configure files.
21382
21383         [BZ #13552]
21384         * configure.in: Remove --enable-omitfp support.
21385         * FAQ.in: Adjust.
21386         * config.make.in: Likewise.
21387         * Makeconfig: Likewise.
21388         * manual/install.texi: Likewise.
21389
21390         In case anyone cares, the IA-64 architecture could move to ports.
21391         * sysdeps/ia64/*: Removed.
21392         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21393         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21394
21395         [BZ #13555]
21396         * configure.in: Remove entries for unsupported architectures.
21397
21398         [BZ #13533]
21399         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21400         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21401         routines.
21402         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21403         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21404         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21405         fall back to using wcrtomb.
21406         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21407         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21408         renaming.
21409         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21410         * wcsmbs/tst-c16c32-1.c: New file.
21411
21412         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21413         local variable.
21414
21415         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21416
21417         * elf/tst-unique3.cc: Add explicit declaration of gets.
21418         * elf/tst-unique3lib.cc: Likewise.
21419         * elf/tst-unique3lib2.cc: Likewise.
21420         * elf/tst-unique4.cc: Likewise.
21421
21422         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21423
21424 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21425
21426         [BZ #13566]
21427         * assert/assert.h (static_assert): Don't define for C++.
21428         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21429         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21430
21431 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21432
21433         * iconv/loop.c (single loop): Fix assertion in storing of
21434         remaining bytes.
21435
21436         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21437
21438 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21439
21440         * posix/getconf.c: Update copyright year.
21441         * nss/getent.c: Likewise.
21442         * nss/makedb.c: Likewise.
21443         * iconv/iconvconfig.c: Likewise.
21444         * iconv/iconv_prog.c: Likewise.
21445         * elf/ldconfig.c: Likewise.
21446         * elf/pldd.c: Likewise.
21447         * elf/sotruss.ksh: Likewise.
21448         * catgets/gencat.c: Likewise.
21449         * csu/version.c: Likewise.
21450         * elf/ldd.bash.in: Likewise.
21451         * elf/sprof.c (print_version): Likewise.
21452         * locale/programs/locale.c: Likewise.
21453         * locale/programs/localedef.c: Likewise.
21454         * login/programs/pt_chown.c: Likewise.
21455         * nscd/nscd.c (print_version): Likewise.
21456         * debug/xtrace.sh: Likewise.
21457         * malloc/memusage.sh: Likewise.
21458         * malloc/mtrace.pl: Likewise.
21459         * debug/catchsegv.sh: Likewise.
21460
21461 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21462
21463         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21464         pure attribute.
21465
21466 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21467
21468         [BZ #13533]
21469         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21470         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21471         transformations.
21472         * iconv/gconv_int.h: Likewise.
21473         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21474         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21475         from libc for GLIBC_2.16.
21476         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21477         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21478         * wcsmbs/uchar.h: Really define mbstate_t.
21479         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21480         * wcsmbs/c16rtomb.c: New file.
21481         * wcsmbs/mbrtoc16.c: New file.
21482         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21483         for C/POSIX locale.
21484         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21485         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21486
21487         * wcsmbs/wchar.h: Add missing __restrict.
21488
21489 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21490
21491         [BZ #13532]
21492         * time/Makefile (routines): Add timespec_get.
21493         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21494         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21495         timespec for ISO C11.
21496         * time/timespec_get.c: New file.
21497         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21498         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21499
21500         [BZ #13531]
21501         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21502         * stdlib/stdlib.h: Declare aligned_alloc.
21503         * Versions.def: Add GLIBC_2.16 for libc.
21504         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21505
21506         [BZ 13527]
21507         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21508         ISO C11.
21509
21510         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21511         code.
21512
21513         [BZ #13528]
21514         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21515
21516         [BZ #13529]
21517         * assert/assert.h (static_assert): Define.
21518
21519         * version.h: Update for 2.16 development version.
21520
21521         [BZ #13526]
21522         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21523         _ISOC11_SOURCE.
21524
21525         * version.h (RELEASE): Bump for 2.15 release.
21526         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21527
21528         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21529         Patch by Marek Polacek <mpolacek@redhat.com>.
21530
21531         * bits/byteswap.h: Protect long long constants with __extension__.
21532         * sysdeps/i386/bits/byteswap.h: Likewise.
21533         * sysdeps/ia64/bits/byteswap.h: Likewise.
21534         * sysdeps/s390/bits/byteswap.h: Likewise.
21535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21536
21537 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21538
21539         [BZ #13540]
21540         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21541         destination buffer.
21542         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21543
21544 2011-12-23  Marek Polacek  <polacek@redhat.com>
21545
21546         * elf/dl-addr.c (determine_info): Add inline keyword.
21547         * elf/tst-auditmod4b.c (check_avx): Likewise.
21548         * elf/tst-auditmod6b.c (check_avx): Likewise.
21549         * elf/tst-auditmod6c.c (check_avx): Likewise.
21550         * elf/tst-auditmod7b.c (check_avx): Likewise.
21551
21552 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21553
21554         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21555         !__SSE_MATH__.
21556
21557 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21558
21559         [BZ #13540]
21560         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21561         processing for last bytes.
21562
21563 2011-08-06  Bruno Haible  <bruno@clisp.org>
21564
21565         [BZ #13061]
21566         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21567         U+0385, not to U+1FEE.
21568
21569         [BZ #13062]
21570         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21571         entry for U+00A5 U+0301.
21572
21573 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21574
21575         [BZ #13166]
21576         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21577         buffer for the output is too small.
21578
21579         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21580         optimization.
21581
21582         [BZ #13185]
21583         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21584         SSE flags if possible.
21585
21586 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21587
21588         [BZ #13540]
21589         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21590         processing for last bytes.
21591
21592 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21593
21594         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21595         (syscall-list-default-options, syscall-list-default-condition)
21596         (syscall-list-includes): Define.
21597         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21598         list of ABIs and options and #if conditions for each ABI.  Do not
21599         handle common syscalls between ABIs specially.
21600         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21601         Remove.
21602         (syscall-list-variants, syscall-list-32bit-options)
21603         (syscall-list-32bit-condition, syscall-list-64bit-options)
21604         (syscall-list-64bit-condition): Define.
21605         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21606         (syscall-list-variants, syscall-list-32bit-options)
21607         (syscall-list-32bit-condition, syscall-list-64bit-options)
21608         (syscall-list-64bit-condition): Define.
21609         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21610         Remove.
21611         (syscall-list-variants, syscall-list-32bit-options)
21612         (syscall-list-32bit-condition, syscall-list-64bit-options)
21613         (syscall-list-64bit-condition): Define.
21614         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21615         Remove.
21616         (syscall-list-variants, syscall-list-32bit-options)
21617         (syscall-list-32bit-condition, syscall-list-64bit-options)
21618         (syscall-list-64bit-condition): Define.
21619
21620 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21621
21622         * locale/iso-639.def: Add brx entry.
21623
21624         [BZ #13328]
21625         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21626         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21627
21628         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21629         __feraiseexcept_renamed.
21630
21631 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21632
21633         [BZ #13538]
21634         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21635         EPOLLET with unsigned values.
21636         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21637         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21638
21639         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21640         to large cancellation.
21641         * math/s_cacoshf.c: Likewise.
21642         * math/s_cacoshl.c: Likewise.
21643
21644 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21645
21646         [BZ #13305]
21647         [BZ #12786]
21648         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21649         * math/s_cacoshf.c: Likewise.
21650         * math/s_cacoshl.c: Likewise.
21651
21652 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21653
21654         [BZ #13439]
21655         * iconv/gconv.h: Define __GCONV_SWAP.
21656         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21657         * iconvdata/utf-16.c: Likewise.
21658         * iconvdata/utf-32.c: Likewise.
21659
21660 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21661
21662         [BZ #13524]
21663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21664         numerator after shifting it by one limb.
21665
21666 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21667
21668         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21669         under [__USE_EXTERN_INLINES].
21670
21671 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21672
21673         [BZ #13446]
21674         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21675
21676 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21677
21678         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21679         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21680         optimized code.
21681         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21682         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21683         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21684         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21685         for strncasecmp/strncasecmp_l compilation.
21686         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21687         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21688
21689 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21690
21691         [BZ #13484]
21692         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21693         of __asm__.
21694
21695 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21696
21697         [BZ #13506]
21698         * time/tzfile.c (__tzfile_read): Check values from file header.
21699
21700 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21701
21702         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21703         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21704         * powerpc/powerpc32/dl-start.S: Likewise.
21705         * powerpc/powerpc32/elf/start.S: Likewise.
21706         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21707         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21708         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21709         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21710         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21711         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21712         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21713         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21714         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21715         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21716         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21717         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21718         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21719         * powerpc/powerpc32/memset.S: Likewise.
21720         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21721         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21722         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21723         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21724         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21725         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21726         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21727         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21728         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21729         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21730         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21731         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21732         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21733
21734 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21735
21736         * math/libm-test.inc: Added more nearbyint tests.
21737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21741
21742 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21743
21744         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21745         FD_CLOEXEC.
21746
21747 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21748
21749         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21750         Add wcscpy-ssse3 wcscpy-c.
21751         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21752         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21753         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21754         * sysdeps/x86_64/wcschr.S: New file.
21755         * sysdeps/x86_64/wcsrchr.S: New file.
21756         * string/test-strcmp.c: Remove checking of wcscmp function for
21757         wrong alignments.
21758         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21759         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21760         wcsrchr-sse2 wcsrchr-c.
21761         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21762         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21763         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21764         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21765         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21766         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21767         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21768         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21769         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21770         * wcsmbc/wcschr.c (WCSCHR): New macro.
21771
21772 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21773
21774         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21775         * wcsmbs/test-wcsrchr.c: New file.
21776         * string/test-strrchr.c: Add wcsrchr support.
21777         (WIDE): New macro.
21778         * wcsmbs/test-wcscpy.c: New file.
21779         * string/test-strcpy.c: Add wcscpy support.
21780         (WIDE): New macro.
21781
21782 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21783
21784         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21785         the inner loop.
21786
21787 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21788
21789         [BZ #13472]
21790         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21791
21792 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21793
21794         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21795         Minor optimizations.
21796
21797         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21798         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21799         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21800
21801 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21802
21803         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21804         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21805         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21806         for gcc to avoid warnings.
21807         * inet/Makefile (tests): Add tst-checks.
21808         * inet/tst-checks.c: New file.
21809
21810         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21811         warning.
21812
21813         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21814         __wmemcmp_sse2.
21815
21816         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21817         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21818
21819         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21820
21821 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21822
21823         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21824         problem.
21825
21826         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21827
21828 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21829
21830         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21831         conditional on GCC version.
21832         (__arch_compare_and_exchange_val_8_acq)
21833         (__arch_compare_and_exchange_val_16_acq)
21834         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21835         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21836         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21837
21838 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21839
21840         * sysdeps/sh/backtrace.c: New file.
21841
21842 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21843
21844         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21845         parenthesis.
21846
21847 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21848
21849         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21850         falling back to utime.
21851
21852 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21853
21854         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21855         expectations for float.
21856
21857 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21858
21859         * locale/weight.h (findidx): Add parameter len.
21860         * locale/weightwc.h (findidx): Likewise.
21861         * posix/fnmatch_loop.c (FCT): Adjust caller.
21862         * posix/regcomp.c (build_equiv_class): Likewise.
21863         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21864         * posix/regexec.c (check_node_accept_bytes): Likewise.
21865         * string/strcoll_l.c (STRCOLL): Likewise.
21866         * string/strxfrm_l.c (STRXFRM): Likewise.
21867
21868 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21869
21870         * Makefile.in: Remove CVSOPT handling.
21871         * configure.in: Remove use of AC_REVISION.
21872         * iconvdata/Makefile (distribute): No need to filter out CVS.
21873         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21874         handling.
21875
21876 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21877
21878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21879         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21880         [USE_AS_STRNCASECMP_L]: Likewise.
21881         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21882         NO_TLS_DIRECT_SEG_REFS.
21883         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21884         Fix argument offsets for non-PIC.
21885         [USE_AS_STRNCASECMP_L]: Likewise.
21886         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21887         NO_TLS_DIRECT_SEG_REFS.
21888
21889 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21890
21891         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21892         O_CLOEXEC.
21893         * locale/loadlocale.c (_nl_load_locale): Likewise.
21894
21895 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21896
21897         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21898         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21899         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21900         (SYSCALL_GETTIME): Set errno on error.
21901
21902         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21903         count references to noai6ai_cached.
21904
21905 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21906
21907         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21908
21909         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21910         FD_CLOEXEC for /proc/self/maps.
21911
21912         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21913         FD_CLOEXEC for /proc/meminfo.
21914
21915         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21916         gai.conf.
21917
21918         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21919         FD_CLOEXEC for given file.
21920
21921         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21922
21923         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21924         FD_CLOEXEC for /etc/hosts.
21925         (_gethtent): Likewise.
21926
21927         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21928
21929         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21930         cancellation and set FD_CLOEXEC for /etc/netgroup.
21931
21932         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21933         reading /etc/publickey.
21934
21935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21936         allow cancellation when reading /etc/group.
21937
21938         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21939         cancellation.
21940         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21941
21942         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21943         when using data file.
21944
21945         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21946
21947         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21948         (write_nis_obj): Use "c" and "e" in fopen.
21949
21950         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21951
21952         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21953
21954         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21955
21956         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21957
21958         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21959         locale.alias.
21960
21961         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21962
21963         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21964
21965         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21966
21967         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21968         file parsing and set FD_CLOEXEC.
21969
21970 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21971
21972         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21973
21974 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21975
21976         * malloc/arena.c (arena_get2): Don't call reused_arena when
21977         _int_new_arena failed.
21978
21979 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21980
21981         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21982         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21983         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21985         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21986         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21987         to compile strcasecmp and strncasecmp.
21988         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21989         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21990
21991         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21992
21993 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21994
21995         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21996         locale-defines.sym to gen-as-const-headers.
21997         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21998         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22000         to compile strcasecmp and strncasecmp.
22001         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22002         strcasecmp_l and strncasecmp_l.
22003         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22004         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22005         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22006         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22007         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22008         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22009         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22010         * sysdeps/i386/i686/multiarch/strncase.S: New file.
22011         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22012         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22013         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22014
22015 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
22016
22017         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22018         result of SYSDEP_GETTIME_CPU to retval.
22019         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22020         parameter list to macro.  Remove trailing semicolon.  Adjust users.
22021
22022         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22023         variable.
22024
22025         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22026         mantissa words.
22027         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22028
22029         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22030         from unused variable.
22031
22032         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22033         DWARF definitions.
22034         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22035         for assembling.
22036
22037         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22038         over namespaces.
22039
22040         * sunrpc/rpc_prot.c (rejected): Fix case value.
22041
22042         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22043         unsigned long long int to avoid warnings in shift.
22044
22045         * posix/regex_internal.c (re_string_reconstruct): Actually use result
22046         of use of trans.
22047         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22048         variable tmp.
22049
22050         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22051         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22052         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22053
22054         * nis/nis_table.c (nis_list): Use variable of correct type for
22055         result of __follow_path call.
22056
22057 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22058
22059         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22060         of math functions ceil, trunc, floor, round, and sqrt, when
22061         avaliable on the platform.
22062         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22063         name clash.
22064         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22065         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22066         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22067
22068 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
22069
22070         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22071         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22072
22073 2011-11-11  Roland McGrath  <roland@hack.frob.com>
22074
22075         * include/unistd.h: Fix __readlink return type.
22076         Reported by Chris Metcalf <cmetcalf@tilera.com>.
22077
22078 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
22079
22080         * stdlib/ucontext.h: Undo last change for makecontext.
22081
22082 2011-11-11  Andreas Schwab  <schwab@redhat.com>
22083
22084         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22085
22086         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22087         * setjmp/setjmp.h: Mark functions as non-leaf.
22088         * setjmp/bits/setjmp2.h: Likewise.
22089         * stdlib/ucontext.h: Likewise.
22090
22091 2011-11-10  Andreas Schwab  <schwab@redhat.com>
22092
22093         * malloc/arena.c (_int_new_arena): Don't increment narenas.
22094         (reused_arena): Don't check arena limit.
22095         (arena_get2): Atomically check arena limit.
22096
22097 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
22098
22099         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22100         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22101
22102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22103         instructions.
22104
22105 2011-11-07  Andreas Schwab  <schwab@redhat.com>
22106
22107         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22108         handler when locking.
22109
22110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22111         Fix size of allocated buffer.
22112
22113 2011-11-04  Andreas Schwab  <schwab@redhat.com>
22114
22115         [BZ #10103]
22116         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22117         declarations for long double functions.
22118         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22119
22120         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22121
22122 2011-11-03  Andreas Schwab  <schwab@redhat.com>
22123
22124         * nscd/nscd.c (main): Don't start AVC thread until credentials are
22125         installed.
22126
22127         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22128         is disabled.
22129
22130 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22131
22132         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22133
22134 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
22135
22136         * include/alloca.h (stackinfo_alloca_round): Define.
22137         (extend_alloca): Use it.
22138         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22139         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22140         here.
22141
22142         * scripts/check-local-headers.sh: Ignore libaudit.h.
22143
22144         * nscd/Makefile (extra-objs): Make recursively expanded.
22145
22146 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
22147
22148         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22149         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22150
22151         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22152         * posix/tst-rfc3484-2.c: Likewise.
22153         * posix/tst-rfc3484-3.c: Likewise.
22154
22155         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22156         process_vm_writev.
22157         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22158         process_vm_writev.
22159         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22160         process_vm_writev from libc using GLIBC_2.15 version.
22161
22162         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22163
22164 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
22165
22166         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22167         stack usage.
22168
22169 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
22170
22171         [BZ #13367]
22172         * nss/getent.c (initgroups_keys): Show error message in case no group
22173         names are given.
22174
22175         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22176         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22177         __bump_nl_timestamp.
22178         * nscd/connections (nscd_init): When host database is served open
22179         netlink socket and request notification about configuration changes.
22180         (main_loop_poll): Track netlink file descriptor and bump timestamp
22181         in case data becomes available.
22182         (main_loop_epoll): Likewise.
22183         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22184         (database_pers_head): Add extra_data fileds.
22185         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22186         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22187         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22188         Adjust caller.
22189         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22190         in6ai data, call __free_in6ai.
22191         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22192         Add -DHAVE_NETLINK.
22193         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
22194         interface information.  Reuse previous data if netlink timestamp
22195         is not changed.
22196         (__bump_nl_timestamp): New function.
22197         (__free_in6ai): New function.
22198
22199 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
22200
22201         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22202         close_not_cancel_no_status here.
22203         (__check_pf): Reorganize code a bit to not call close twice if OOM.
22204
22205 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22206
22207         [BZ #13276]
22208         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22209         return value.
22210
22211         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22212         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22213         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22214
22215 2011-07-03  Andreas Jaeger  <aj@suse.de>
22216
22217         [BZ #10709]
22218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22219         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22220         * math/libm-test.inc (sin_test): Add test case.
22221
22222 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
22223
22224         [BZ #13337]
22225         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22226         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22227
22228         * elf/chroot_canon.c (chroot_canon): Cleanups.
22229
22230         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22231
22232         [BZ #13335]
22233         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22234         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22235
22236         * string/test-strchr.c: Make usable for strchrnul testing.
22237         * string/test-strchrnul.c: New file.
22238         * string/Makefile (strop-tests): Add strchrnul.
22239
22240         * po/it.po: Update from translation team.
22241         * po/es.po: Likewise.
22242
22243 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
22244
22245         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22246         the three constants needed as parameters.  Drop the others.
22247         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22248         __m128i_strloadu_tolower.
22249         Create and initialize variable zero and use it in all the places
22250         where _mm_setzero_si128 was used.
22251
22252         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22253         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22254         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22255         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22256         anymore.
22257         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22258         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22259         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22260         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22261         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22262         __mpranred, __mptan.
22263         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22264         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22265         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22266         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22267         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22268         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22270         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22271         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22272
22273 2011-10-28  Andreas Schwab  <schwab@redhat.com>
22274
22275         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22276         redefine if SHARED.
22277         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22278
22279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22280         wide char related routines to wcsmbs subdir.
22281
22282 2011-10-27  Andreas Schwab  <schwab@redhat.com>
22283
22284         [BZ #13344]
22285         * misc/sys/cdefs.h (__THROWNL): Define.
22286         * posix/unistd.h: Use __THREADNL instead of __THREAD
22287         for memory synchronization functions.
22288
22289 2011-10-26  Roland McGrath  <roland@hack.frob.com>
22290
22291         [BZ #13349]
22292         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22293         doesn't exist.
22294         * manual/stdio.texi (Obstack Streams): Node removed.
22295
22296 2011-10-26  Andreas Schwab  <schwab@redhat.com>
22297
22298         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22299         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22300         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22301
22302         * math/math_private.h (math_force_eval): Allow non-addressable
22303         arguments.
22304         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22305
22306 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22307
22308         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22309         file is not needed.
22310
22311         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22313         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22314         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22315         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22316         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22317         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22318         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22319         Add AVX variants.
22320         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22321         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22322         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22323         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22324         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22325         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22326         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22327         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22328         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22329         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22330         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22331         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22332         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22333         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22334         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22335         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22336         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22337         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22338         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22339
22340         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22341         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22342
22343         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22344         place.  Use VEX encoding when compiling for AVX.
22345
22346 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22347
22348         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22349         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22350
22351         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22352
22353 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22354
22355         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22356         useless if() expression.
22357         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22358         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22359         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22362         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22363         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22365         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22366         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22367         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22368         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22369         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22370         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22371         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22372         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22373         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22374         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22375         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22376
22377         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22378
22379 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22380
22381         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22382         condition.
22383         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22384
22385 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22386
22387         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22388         .text section.  Avoid duplicate constants.
22389         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22391         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22397         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22398         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22399         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22400         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22401         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22402         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22403         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22404         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22405         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22406         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22409         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22410         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22411         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22412         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22413         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22414         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22415         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22416         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22417         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22418         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22419         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22420         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22422         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22423         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22424         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22425         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22427         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22428         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22429         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22430         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22431         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22432         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22433         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22434
22435 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22436
22437         * sysdeps/x86_64/dla.h: Move to ...
22438         * sysdeps/x86_64/fpu/dla.h: ...here.
22439         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22440         situations.  Use __builtin_fma only for gcc 4.6 and up.
22441
22442         * config.make.in: Add have-mfma4 entry.
22443         * configure.in: Substitute libc_cv_cc_fma4.
22444         * math/Makefile (dbl-only-routines): Add sincostab.
22445         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22446         Use __sincostab not sincos.
22447         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22448         name is a macro.
22449         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22453         using __copysign.
22454         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22455         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22456         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22457         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22458         and __inv.
22459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22460         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22461         __copysign.
22462         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22463         define aliases when function name is a macro.
22464         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22465         sysdeps/ieee754/dbl-64/sincos.tbl.
22466         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22467         fma4-enabled routines.
22468         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22469         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22470         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22471         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22472         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22473         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22474         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22475         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22477         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22478         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22479         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22480         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22481         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22482         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22483         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22484         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22485         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22486         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22487         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22488         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22489         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22490         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22491         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22492         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22493         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22494         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22495         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22496         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22497         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22498
22499         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22500         rename.
22501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22509
22510 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22511
22512         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22513
22514 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22515
22516         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22517
22518         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22519         prediction.
22520         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22521
22522         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22523         Remove unused variable magic_bits.
22524         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22525
22526         * string/strnlen.c: Define and use STRNLEN macro.
22527         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22528         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22530         * wcsmbs/wcslen.c: Define and use WCSLEN.
22531         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22532         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22533         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22534         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22535         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22536         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22537         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22538
22539 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22540
22541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22542         strnlen-sse2-no-bsf.
22543         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22544         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22545         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22546         Add strnlen support.
22547         (USE_AS_STRNLEN): New macro.
22548         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22549         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22550         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22551         * sysdeps/x86_64/wcslen.S: New file.
22552
22553 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22554
22555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22556         XMM-moves are used for copying on small sizes.
22557
22558 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22559
22560         * wcsmbs/Makefile (strop-tests): Add wcschr.
22561         * wcsmbs/test-wcschr.c: New file.
22562         * string/test-strchr.c: Update.
22563         Add wcschr support.
22564         (WIDE): New macro.
22565
22566 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22567
22568         * wcsmbs/Makefile (strop-tests): Add wcslen.
22569         * wcsmbs/test-wcslen.c: New file.
22570         * string/test-strlen.c: Update.
22571         Add wcslen support.
22572         (WIDE): New macro.
22573
22574 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22575
22576         * po/it.po: Update from translation team.
22577
22578 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22579
22580         * sysdeps/x86_64/wcscmp.S: Update.
22581         Fix wrong comparison semantics.
22582         wcscmp shall use signed comparison not unsigned.
22583         Don't use substraction to avoid overflow bug.
22584         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22585         * wcsmbc/wcscmp.c: Likewise.
22586         * string/test-strcmp.c: Likewise.
22587         Add new tests to check cases with negative values.
22588
22589 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22590
22591         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22592         * sysdeps/x86_64/dla.h: ...here.  New file.
22593         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22598         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22601         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22602
22603 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22604
22605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22606         __ynl_finite aliases.
22607
22608 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22609
22610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22611
22612         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22613         define DLA_FMA.
22614         [DLA_FMA] (EMULV): Use DLA_FMA.
22615         [DLA_FMA] (MUL12): Use EMULV.
22616         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22617         that are not needed.
22618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22620         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22621         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22622         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22623         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22624         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22625
22626 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22627
22628         * math/s_nan.c: Undef __nan.
22629         * math/s_nanf.c: Undef __nanf.
22630         * math/s_nanl.c: Undef __nanl.
22631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22632         "math_private.h".
22633
22634 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22635
22636         * math/s_catan.c: Add branch predictions.
22637         * math/s_catanf.c: Likewise.
22638         * math/s_catanh.c: Likewise.
22639         * math/s_catanhf.c: Likewise.
22640         * math/s_catanhl.c: Likewise.
22641         * math/s_catanl.c: Likewise.
22642         * math/s_cexp.c: Likewise.
22643         * math/s_cexpf.c: Likewise.
22644         * math/s_cexpl.c: Likewise.
22645         * math/s_clog.c: Likewise.
22646         * math/s_clog10.c: Likewise.
22647         * math/s_clog10f.c: Likewise.
22648         * math/s_clog10l.c: Likewise.
22649         * math/s_clogf.c: Likewise.
22650         * math/s_clogl.c: Likewise.
22651         * math/s_csqrt.c: Likewise.
22652         * math/s_csqrtf.c: Likewise.
22653         * math/s_csqrtl.c: Likewise.
22654         * math/s_ctanf.c: Likewise.
22655         * math/s_ctanh.c: Likewise.
22656         * math/s_ctanhf.c: Likewise.
22657         * math/s_ctanhl.c: Likewise.
22658         * math/s_ctanl.c: Likewise.
22659
22660         * math/math_private.h: Define __nan, __nanf, __nanl.
22661         * math/s_cacosh.c: Include <math_private.h>.
22662         * math/s_cacoshl.c: Likewise.
22663         * math/s_casinh.c: Likewise.
22664         * math/s_casinhf.c: Likewise.
22665         * math/s_casinhl.c: Likewise.
22666         * math/s_ccos.c: Rely entire on ccosh.
22667         * math/s_ccosf.c: Rely entire on ccoshf.
22668         * math/s_ccosl.c: Rely entirely on ccoshl.
22669         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22670         Remove tests for FE_INVALID.
22671         * math/s_ccoshf.c: Likewise.
22672         * math/s_ccoshl.c: Likewise.
22673         * math/s_csin.c: Likewise.
22674         * math/s_csinf.c: Likewise.
22675         * math/s_csinh.c Likewise.
22676         * math/s_csinhf.c: Likewise.
22677         * math/s_csinhl.c: Likewise.
22678         * math/s_csinl.c: Likewise.
22679         * math/s_ctan.c: Likewise.
22680         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22681         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22682         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22683
22684 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22685
22686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22687         compilation problems.
22688
22689         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22690         __builtin_expect.
22691
22692 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22693
22694         * sysdeps/i386/configure.in: Test for -mfma4 option.
22695         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22696         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22697         COMMON_CPUID_INDEX_80000001.
22698         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22699         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22700         use it if FMA3 is not supported.
22701         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22702
22703         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22704         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22705
22706 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22707
22708         [BZ #12892]
22709         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22710         it would create a cycle with a link time dependency.
22711
22712 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22713
22714         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22715         instruction.
22716         * string/Makefile (strop-tests): Add rawmemchr.
22717         * string/test-rawmemchr.c: New file.
22718
22719         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22721         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22722         when compiling str{,n}casecmp and when AVX is available.  Hook up
22723         new optimized code in initializers.
22724
22725 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22726
22727         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22728         __feraiseexcept instead of feraiseexcept.
22729
22730 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22731
22732         * math/math_private.h: Define defaults for libc_fetestexcept and
22733         libc_feupdateenv.
22734         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22735         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22736         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22737         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22738         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22740         libc_fetestexcept and libc_feupdateenv.
22741
22742         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22743         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22744         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22745         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22746         libc_feholdexcept_setround.
22747
22748         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22749         Add s_nearbyint-c and s_nearbyintf-c.
22750         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22751         nearbyintf inlines.
22752         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22753         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22754         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22755         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22756
22757         * math/math_private.h: Define defaults for libc_fegetround,
22758         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22759         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22760         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22762         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22763         standard functions.
22764         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22765         Remove comments and hacks for old compiler versions.
22766         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22767         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22768         libc_feholdexceptl.
22769
22770 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22771
22772         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22773         (__feraiseexcept_renamed): Add __NTH.
22774         (feraiseexcept): Add __NTH.  Rename local variables to fix
22775         namespace violations.
22776
22777 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22778
22779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22780
22781         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22782
22783         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22784         recently added interfaces.
22785         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22786
22787         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22788         about macro parameter expansion.
22789
22790         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22791         __NO_MATH_INLINES is defined.  Cleanups.
22792
22793         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22794         and __floorf is target has SSE4.1.
22795         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22796         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22797         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22798         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22799
22800         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22801         name.
22802         (floorf): Likewise.
22803
22804         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22805
22806 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22807
22808         * misc/sys/cdefs.h: Fix last change.
22809
22810         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22811         database lookup.
22812
22813 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22814
22815         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22816
22817         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22818         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22819         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22820         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22821         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22822         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22823         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22824         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22825         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22826         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22827         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22828         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22829         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22830         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22831         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22832         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22833         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22834         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22835         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22836         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22837         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22838         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22839
22840         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22841         ceil, ceilf, floor, floorf.
22842
22843         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22844         Perform IRELATIVE relocations last.
22845
22846         * elf/do-rel.h: Add another parameter nrelative, replacing the
22847         local variable with the same name.  Change name of the function
22848         to end in Rel or Rela (uppercase).
22849         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22850         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22851         elf_dynamic_do_##reloc function.
22852
22853 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22854
22855         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22856         is sufficient, at least on modern CPUs.
22857
22858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22859
22860         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22861         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22862
22863         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22864         __expl_finite.
22865         * math/bits/math-finite.h: Add entries for exp.
22866         * math/e_expl.c: Add __*_finite alias.
22867         * sysdeps/i386/fpu/e_exp.S: Likewise.
22868         * sysdeps/i386/fpu/e_expf.S: Likewise.
22869         * sysdeps/i386/fpu/e_expl.c: Likewise.
22870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22871         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22872         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22874         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22875         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22876         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22877
22878         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22879         is sufficient, at least on modern CPUs.
22880
22881         * ctype/ctype-info.c (__ctype_init): Define.
22882         * include/ctype.h (__ctype_init): Declare.
22883         (__ctype_b_loc): The variable is always initialized.
22884         (__ctype_toupper_loc): Likewise.
22885         (__ctype_tolower_loc): Likewise.
22886         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22887         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22888
22889 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22890
22891         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22892
22893         * configure.in: Also look in $cxxmachine/include for C++ system
22894         headers.
22895
22896 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22897
22898         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22899         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22900         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22901         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22902         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22903         (USE_AS_WMEMCMP): New macro.
22904         Fixing indents.
22905         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22906         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22907         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22908         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22910         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22911         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22912         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22913         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22914         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22915         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22916         (USE_AS_WMEMCMP): New macro.
22917         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22918         * sysdeps/string/test-memcmp.c: Update.
22919         Fix simple_wmemcmp.
22920         Add new tests.
22921         * wcsmbs/wmemcmp.c: Update.
22922         (WMEMCMP): New macro.
22923         Fix overflow bug.
22924
22925 2011-10-12  Andreas Jaeger  <aj@suse.de>
22926
22927         [BZ #13268]
22928         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22929
22930 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22931
22932         * libio/iofwide.c (do_length): Avoid warning.
22933
22934         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22935
22936 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22937
22938         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22939
22940         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22941         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22942         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22943         * sysdeps/i386/i686/fpu/e_log.S: New file.
22944         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22945         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22946
22947         * ctype/ctype.h: Add support for inlined isXXX functions when
22948         compiling C++ code.
22949
22950 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22951
22952         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22953
22954         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22955
22956 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22957
22958         [BZ #13291]
22959         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22960
22961 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22962
22963         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22964         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22965         feraiseexcept.
22966
22967         * sysdeps/x86_64/memrchr.S: Check for zero size.
22968
22969         * string/stratcliff.c: Add memrchr tests.
22970
22971 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22972
22973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22974         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22975         rawmemchr-sse2 rawmemchr-sse2-bsf.
22976         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22977         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22978         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22979         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22980         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22981         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22982         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22983         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22984         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22985         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22986         * string/memrchr.c (MEMRCHR): New macro.
22987
22988 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22989
22990         Add integration with gcc's -ffinite-math-only and optimize wrapper
22991         functions in libm.
22992         * Versions.def: Define GLIBC_2.15 version for libm.
22993         * math/Makefile (headers): Add bits/math-finite.h.
22994         * math/bits/math-finite.h: New file.
22995         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22996         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22997         * math/e_acoshl.c: Add __*_finite alias.
22998         * math/e_acosl.c: Likewise.
22999         * math/e_asinl.c: Likewise.
23000         * math/e_atan2l.c: Likewise.
23001         * math/e_atanhl.c: Likewise.
23002         * math/e_coshl.c: Likewise.
23003         * math/e_exp10.c: Likewise.
23004         * math/e_exp10f.c: Likewise.
23005         * math/e_exp10l.c: Likewise.
23006         * math/e_exp2l.c: Likewise.
23007         * math/e_fmodl.c: Likewise.
23008         * math/e_gammal_r.c: Likewise.
23009         * math/e_hypotl.c: Likewise.
23010         * math/e_j0l.c: Likewise.
23011         * math/e_j1l.c: Likewise.
23012         * math/e_jnl.c: Likewise.
23013         * math/e_lgammal_r.c: Likewise.
23014         * math/e_log10l.c: Likewise.
23015         * math/e_log2l.c: Likewise.
23016         * math/e_logl.c: Likewise.
23017         * math/e_powl.c: Likewise.
23018         * math/e_sinhl.c: Likewise.
23019         * math/e_sqrtl.c: Likewise.
23020         * math/e_scalb.c: Completely rewritten and optimized.
23021         * math/e_scalbf.c: Likewise.
23022         * math/e_scalbl.c: Likewise.
23023         * math/w_acos.c: Likewise.
23024         * math/w_acosf.c: Likewise.
23025         * math/w_acosl.c: Likewise.
23026         * math/w_acosh.c: Likewise.
23027         * math/w_acoshf.c: Likewise.
23028         * math/w_acoshl.c: Likewise.
23029         * math/w_asin.c: Likewise.
23030         * math/w_asinf.c: Likewise.
23031         * math/w_asinl.c: Likewise.
23032         * math/w_atan2.c: Likewise.
23033         * math/w_atan2f.c: Likewise.
23034         * math/w_atan2l.c: Likewise.
23035         * math/w_atanh.c: Likewise.
23036         * math/w_atanhf.c: Likewise.
23037         * math/w_atanhl.c: Likewise.
23038         * math/w_exp10.c: Likewise.
23039         * math/w_exp10f.c: Likewise.
23040         * math/w_exp10l.c: Likewise.
23041         * math/w_fmod.c: Likewise.
23042         * math/w_fmodf.c: Likewise.
23043         * math/w_fmodl.c: Likewise.
23044         * math/w_j0.c: Likewise.
23045         * math/w_j0f.c: Likewise.
23046         * math/w_j0l.c: Likewise.
23047         * math/w_j1.c: Likewise.
23048         * math/w_j1f.c: Likewise.
23049         * math/w_j1l.c: Likewise.
23050         * math/w_jn.c: Likewise.
23051         * math/w_jnf.c: Likewise.
23052         * math/w_log.c: Likewise.
23053         * math/w_logf.c: Likewise.
23054         * math/w_logl.c: Likewise.
23055         * math/w_log10.c: Likewise.
23056         * math/w_log10f.c: Likewise.
23057         * math/w_log10l.c: Likewise.
23058         * math/w_log2.c: Likewise.
23059         * math/w_log2f.c: Likewise.
23060         * math/w_log2l.c: Likewise.
23061         * math/w_pow.c: Likewise.
23062         * math/w_powf.c: Likewise.
23063         * math/w_powl.c: Likewise.
23064         * math/w_remainder.c: Likewise.
23065         * math/w_remainderf.c: Likewise.
23066         * math/w_remainderl.c: Likewise.
23067         * math/w_scalb.c: Likewise.
23068         * math/w_scalbf.c: Likewise.
23069         * math/w_scalbl.c: Likewise.
23070         * math/w_sqrt.c: Likewise.
23071         * math/w_sqrtf.c: Likewise.
23072         * math/w_sqrtl.c: Likewise.
23073         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23074         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
23075         used.
23076         * math/math_private.h: Declare __kernel_standard_f.
23077         * math/w_cosh.c: Remove cruft and optimize a bit.
23078         * math/w_coshf.c: Likewise.
23079         * math/w_coshl.c: Likewise.
23080         * math/w_exp2.c: Likewise.
23081         * math/w_exp2f.c: Likewise.
23082         * math/w_exp2l.c: Likewise.
23083         * math/w_hypot.c: Likewise.
23084         * math/w_hypotf.c: Likewise.
23085         * math/w_hypotl.c: Likewise.
23086         * math/w_lgamma.c: Likewise.
23087         * math/w_lgamma_r.c: Likewise.
23088         * math/w_lgammaf.c: Likewise.
23089         * math/w_lgammaf_r.c: Likewise.
23090         * math/w_lgammal.c: Likewise.
23091         * math/w_lgammal_r.c: Likewise.
23092         * math/w_sinh.c: Likewise.
23093         * math/w_sinhf.c: Likewise.
23094         * math/w_sinhl.c: Likewise.
23095         * math/w_tgamma.c: Likewise.
23096         * math/w_tgammaf.c: Likewise.
23097         * math/w_tgammal.c: Likewise.
23098         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23099         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23100         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23101         Minor optimizations.  Pretty printing.  Remove cruft.
23102         * sysdeps/i386/fpu/e_acosf.S: Likewise.
23103         * sysdeps/i386/fpu/e_acosh.S: Likewise.
23104         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23105         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23106         * sysdeps/i386/fpu/e_acosl.c: Likewise.
23107         * sysdeps/i386/fpu/e_asin.S: Likewise.
23108         * sysdeps/i386/fpu/e_asinf.S: Likewise.
23109         * sysdeps/i386/fpu/e_atan2.S: Likewise.
23110         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23111         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23112         * sysdeps/i386/fpu/e_atanh.S: Likewise.
23113         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23114         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23115         * sysdeps/i386/fpu/e_exp10.S: Likewise.
23116         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23117         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23118         * sysdeps/i386/fpu/e_exp2.S: Likewise.
23119         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23120         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23121         * sysdeps/i386/fpu/e_fmod.S: Likewise.
23122         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23123         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23124         * sysdeps/i386/fpu/e_hypot.S: Likewise.
23125         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23126         * sysdeps/i386/fpu/e_log.S: Likewise.
23127         * sysdeps/i386/fpu/e_log10.S: Likewise.
23128         * sysdeps/i386/fpu/e_log10f.S: Likewise.
23129         * sysdeps/i386/fpu/e_log10l.S: Likewise.
23130         * sysdeps/i386/fpu/e_log2.S: Likewise.
23131         * sysdeps/i386/fpu/e_log2f.S: Likewise.
23132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
23133         * sysdeps/i386/fpu/e_logf.S: Likewise.
23134         * sysdeps/i386/fpu/e_logl.S: Likewise.
23135         * sysdeps/i386/fpu/e_pow.S: Likewise.
23136         * sysdeps/i386/fpu/e_powf.S: Likewise.
23137         * sysdeps/i386/fpu/e_powl.S: Likewise.
23138         * sysdeps/i386/fpu/e_remainder.S: Likewise.
23139         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23140         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23141         * sysdeps/i386/fpu/e_scalb.S: Likewise.
23142         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23143         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23144         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23145         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23146         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23147         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23148         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23150         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23152         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23153         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23154         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23155         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23156         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23157         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23158         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23160         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23161         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23163         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23164         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23165         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23166         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23167         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23168         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23169         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23170         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23171         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23172         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23173         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23174         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23175         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23176         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23177         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23178         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23179         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23181         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23182         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23183         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23184         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23185         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23186         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23187         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23188         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23189         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23190         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23191         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23192         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23193         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23194         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23195         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23197         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23199         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23202         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23203         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23204         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23205         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23206         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23207         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23208         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23209         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23210         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23211         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23215         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23216         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23217         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23218         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23219         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23220         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23221         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23223         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23224         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23225         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23226         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23227         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23228         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23229         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23230         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23231         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23232         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23234         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23235         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23236         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23237         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23238         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23239         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23240         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23241         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23242         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23243         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23244         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23245         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23246         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23247         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23248         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23249         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23250         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23251         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23252         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23253         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23254         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23255         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23257         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
23258         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23259         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23260         (__isnanf): Likewise.
23261         (__isinf_ns): Likewise.
23262         (__isinf_nsf): Likewise.
23263         (__finite): Likewise.
23264         (__finitef): Likewise.
23265         (__ieee754_sqrt): Define as macro.
23266         (__ieee754_sqrtf): Define as macro.
23267         (__ieee754_sqrtl): Define as macro.
23268         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23269         inlined copy.
23270         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23271         __FINITE_MATH_ONLY__ consistent.
23272         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23273
23274 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
23275
23276         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23277         of rawmemchr.
23278
23279         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23280
23281 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
23282
23283         * po/ja.po: Update from translation team.
23284
23285 2011-10-08  Roland McGrath  <roland@hack.frob.com>
23286
23287         * locale/programs/locarchive.c (prepare_address_space): New function.
23288         (create_archive, enlarge_archive, open_archive): Use it.
23289
23290         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23291         inside [SHARED], where it is used.
23292
23293         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23294
23295         * nss/getent.c (netgroup_keys): Remove unused variable.
23296         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23297
23298 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
23299
23300         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23301         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23303         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23304         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23305         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23306         * math/Makefile (libm-calls): Add s_isinf_ns.
23307         * math/divtc3.c: Use __isinf_nsl instead of isinf.
23308         * math/multc3.c: Likewise.
23309         * math/s_casin.c: Likewise.
23310         * math/s_casinf.c: Likewise.
23311         * math/s_casinl.c: Likewise.
23312         * math/s_ccos.c: Likewise.
23313         * math/s_ccosf.c: Likewise.
23314         * math/s_ccosl.c: Likewise.
23315         * math/s_ctan.c: Likewise.
23316         * math/s_ctanf.c: Likewise.
23317         * math/s_ctanh.c: Likewise.
23318         * math/s_ctanhf.c: Likewise.
23319         * math/s_ctanhl.c: Likewise.
23320         * math/s_ctanl.c: Likewise.
23321         * math/w_fmod.c: Likewise.
23322         * math/w_fmodf.c: Likewise.
23323         * math/w_fmodl.c: Likewise.
23324         * math/w_remainder.c: Likewise.
23325         * math/w_remainderf.c: Likewise.
23326         * math/w_remainderl.c: Likewise.
23327         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23328         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23329         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23331         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23332         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23333         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23334         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23335
23336         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23337         of the number.
23338         * stdio-common/printf_fphex.c: Likewise.
23339         * stdio-common/printf_size.c: Likewise.
23340
23341         * math/e_exp10.c: Include math_private.h using <...> not "...".
23342         * math/e_exp10f.c: Likewise.
23343         * math/e_exp10l.c: Likewise.
23344         * math/e_exp2l.c: Likewise.
23345         * math/e_j0l.c: Likewise.
23346         * math/e_j1l.c: Likewise.
23347         * math/e_jnl.c: Likewise.
23348         * math/e_lgammal_r.c: Likewise.
23349         * math/e_rem_pio2l.c: Likewise.
23350         * math/e_scalb.c: Likewise.
23351         * math/e_scalbf.c: Likewise.
23352         * math/e_scalbl.c: Likewise.
23353         * math/k_cosl.c: Likewise.
23354         * math/k_sinl.c: Likewise.
23355         * math/k_tanl.c: Likewise.
23356         * math/s_cacoshf.c: Likewise.
23357         * math/s_catan.c: Likewise.
23358         * math/s_catanf.c: Likewise.
23359         * math/s_catanh.c: Likewise.
23360         * math/s_catanhf.c: Likewise.
23361         * math/s_catanhl.c: Likewise.
23362         * math/s_catanl.c: Likewise.
23363         * math/s_ccosh.c: Likewise.
23364         * math/s_ccoshf.c: Likewise.
23365         * math/s_ccoshl.c: Likewise.
23366         * math/s_cexp.c: Likewise.
23367         * math/s_cexpf.c: Likewise.
23368         * math/s_cexpl.c: Likewise.
23369         * math/s_clog.c: Likewise.
23370         * math/s_clog10.c: Likewise.
23371         * math/s_clog10f.c: Likewise.
23372         * math/s_clog10l.c: Likewise.
23373         * math/s_clogf.c: Likewise.
23374         * math/s_clogl.c: Likewise.
23375         * math/s_csin.c: Likewise.
23376         * math/s_csinf.c: Likewise.
23377         * math/s_csinh.c: Likewise.
23378         * math/s_csinhf.c: Likewise.
23379         * math/s_csinhl.c: Likewise.
23380         * math/s_csinl.c: Likewise.
23381         * math/s_csqrt.c: Likewise.
23382         * math/s_csqrtf.c: Likewise.
23383         * math/s_csqrtl.c: Likewise.
23384         * math/s_ctan.c: Likewise.
23385         * math/s_ctanf.c: Likewise.
23386         * math/s_ctanh.c: Likewise.
23387         * math/s_ctanhf.c: Likewise.
23388         * math/s_ctanhl.c: Likewise.
23389         * math/s_ctanl.c: Likewise.
23390         * math/s_ldexp.c: Likewise.
23391         * math/s_ldexpf.c: Likewise.
23392         * math/s_ldexpl.c: Likewise.
23393         * math/s_significand.c: Likewise.
23394         * math/s_significandf.c: Likewise.
23395         * math/s_significandl.c: Likewise.
23396         * math/w_acos.c: Likewise.
23397         * math/w_acosf.c: Likewise.
23398         * math/w_acosh.c: Likewise.
23399         * math/w_acoshf.c: Likewise.
23400         * math/w_acoshl.c: Likewise.
23401         * math/w_acosl.c: Likewise.
23402         * math/w_asin.c: Likewise.
23403         * math/w_asinf.c: Likewise.
23404         * math/w_asinl.c: Likewise.
23405         * math/w_atan2.c: Likewise.
23406         * math/w_atan2f.c: Likewise.
23407         * math/w_atan2l.c: Likewise.
23408         * math/w_atanh.c: Likewise.
23409         * math/w_atanhf.c: Likewise.
23410         * math/w_atanhl.c: Likewise.
23411         * math/w_cosh.c: Likewise.
23412         * math/w_coshf.c: Likewise.
23413         * math/w_coshl.c: Likewise.
23414         * math/w_dremf.c: Likewise.
23415         * math/w_exp10.c: Likewise.
23416         * math/w_exp10f.c: Likewise.
23417         * math/w_exp10l.c: Likewise.
23418         * math/w_exp2.c: Likewise.
23419         * math/w_exp2f.c: Likewise.
23420         * math/w_fmod.c: Likewise.
23421         * math/w_fmodf.c: Likewise.
23422         * math/w_fmodl.c: Likewise.
23423         * math/w_hypot.c: Likewise.
23424         * math/w_hypotf.c: Likewise.
23425         * math/w_hypotl.c: Likewise.
23426         * math/w_j0.c: Likewise.
23427         * math/w_j0f.c: Likewise.
23428         * math/w_j0l.c: Likewise.
23429         * math/w_j1.c: Likewise.
23430         * math/w_j1f.c: Likewise.
23431         * math/w_j1l.c: Likewise.
23432         * math/w_jn.c: Likewise.
23433         * math/w_jnf.c: Likewise.
23434         * math/w_jnl.c: Likewise.
23435         * math/w_lgamma.c: Likewise.
23436         * math/w_lgamma_r.c: Likewise.
23437         * math/w_lgammaf.c: Likewise.
23438         * math/w_lgammaf_r.c: Likewise.
23439         * math/w_lgammal.c: Likewise.
23440         * math/w_lgammal_r.c: Likewise.
23441         * math/w_log.c: Likewise.
23442         * math/w_log10.c: Likewise.
23443         * math/w_log10f.c: Likewise.
23444         * math/w_log10l.c: Likewise.
23445         * math/w_log2.c: Likewise.
23446         * math/w_log2f.c: Likewise.
23447         * math/w_log2l.c: Likewise.
23448         * math/w_logf.c: Likewise.
23449         * math/w_logl.c: Likewise.
23450         * math/w_pow.c: Likewise.
23451         * math/w_powf.c: Likewise.
23452         * math/w_powl.c: Likewise.
23453         * math/w_remainder.c: Likewise.
23454         * math/w_remainderf.c: Likewise.
23455         * math/w_remainderl.c: Likewise.
23456         * math/w_scalb.c: Likewise.
23457         * math/w_scalbf.c: Likewise.
23458         * math/w_scalbl.c: Likewise.
23459         * math/w_sinh.c: Likewise.
23460         * math/w_sinhf.c: Likewise.
23461         * math/w_sinhl.c: Likewise.
23462         * math/w_sqrt.c: Likewise.
23463         * math/w_sqrtf.c: Likewise.
23464         * math/w_sqrtl.c: Likewise.
23465         * math/w_tgamma.c: Likewise.
23466         * math/w_tgammaf.c: Likewise.
23467         * math/w_tgammal.c: Likewise.
23468
23469         * po/ja.po: Update from translation team.
23470
23471 2011-09-29  Andreas Jaeger  <aj@suse.de>
23472
23473         [BZ #13179]
23474         * sunrpc/netname.c (netname2host): Fix logic.
23475
23476         [BZ #6779]
23477         [BZ #6783]
23478         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23479         correctly.
23480         * math/w_remainder.c (__remainder): Likewise.
23481         * math/w_remainderf.c (__remainderf): Likewise.
23482         * math/libm-test.inc (remainder_test): Add test cases.
23483
23484 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23485
23486         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23487         sdiv_qrnnd.
23488
23489 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23490
23491         * string/test-memcmp.c: Avoid unncessary #defines.
23492         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23493
23494 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23495
23496         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23497         Use new sse2 version for core i3 - i7 as it's faster
23498         than sse42 version.
23499         (bit_Prefer_PMINUB_for_stringop): New.
23500         * sysdeps/x86_64/rawmemchr.S: Update.
23501         Replace with faster SSE2 version.
23502         * sysdeps/x86_64/memrchr.S: New file.
23503         * sysdeps/x86_64/memchr.S: Update.
23504         Replace with faster SSE2 version.
23505
23506 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23507
23508         * elf/dl-load.c (lose): Add cast to avoid warning.
23509
23510 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23511
23512         * po/ca.po: Update from translation team.
23513
23514         * inet/getnetgrent_r.c: Hook up nscd.
23515         * nscd/Makefile (routines): Add nscd_netgroup.
23516         (nscd-modules): Add netgroupcache.
23517         (CFLAGS-netgroupcache.c): Define.
23518         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23519         (cache_search): Add const to second parameter.
23520         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23521         INNETGR.
23522         (dbs): Add netgrdb entry.
23523         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23524         (verify_persistent_db): Handle netgrdb.
23525         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23526         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23527         GETFDNETGR.
23528         (netgroup_response_header): Define.
23529         (innetgroup_response_header): Define.
23530         (datahead): Add netgroup_response_header and innetgroup_response_header
23531         elements.
23532         * nscd/nscd.conf: Add entries for netgroup cache.
23533         * nscd/nscd.h (dbtype): Add netgrdb.
23534         (_PATH_NSCD_NETGROUP_DB): Define.
23535         (netgroup_iov_disabled): Declare.
23536         (xmalloc, xcalloc, xrealloc): Move declarations here.
23537         (cache_search): Adjust prototype.
23538         Add netgroup-related prototypes.
23539         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23540         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23541         (__nscd_innetgr): Declare.
23542         * nscd/selinux.c (perms): Use access_vector_t as element type and
23543         add netgroup-related initializers.
23544         * nscd/netgroupcache.c: New file.
23545         * nscd/nscd_netgroup.c: New file.
23546         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23547         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23548         For four parameters use innetgr.
23549         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23550         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23551         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23552         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23553
23554         * nscd/connections.c (register_traced_file): Don't register file
23555         for disabled databases.
23556
23557 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23558
23559         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23560
23561         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23562         from tree and freeing node.
23563
23564 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23565
23566         * nss/nsswitch.c (__nss_database_lookup): Handle
23567         nss_parse_service_list out of memory case.
23568
23569 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23570
23571         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23572         out of memory case.
23573
23574 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23575
23576         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23577         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23578         pass it down.
23579         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23580         elf_machine_rela, elf_machine_lazy_rel.
23581         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23582         (ELF_DYNAMIC_DO_REL): Likewise.
23583         (ELF_DYNAMIC_DO_RELA): Likewise.
23584         (ELF_DYNAMIC_RELOCATE): Likewise.
23585         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23586         to ELF_DYNAMIC_DO_REL.
23587         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23588         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23589         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23590         elf_machine_rela.
23591         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23592         skip_ifunc, don't call ifunc function if non-zero.
23593         (elf_machine_rela): Likewise.
23594         (elf_machine_lazy_rel): Likewise.
23595         (elf_machine_lazy_rela): Likewise.
23596         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23597         (elf_machine_lazy_rel): Likewise.
23598         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23599         Likewise.
23600         (elf_machine_lazy_rel): Likewise.
23601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23602         Likewise.
23603         (elf_machine_lazy_rel): Likewise.
23604         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23605         (elf_machine_lazy_rel): Likewise.
23606         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23607         (elf_machine_lazy_rel): Likewise.
23608         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23609         (elf_machine_lazy_rel): Likewise.
23610         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23611         (elf_machine_lazy_rel): Likewise.
23612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23613         (elf_machine_lazy_rel): Likewise.
23614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23615         (elf_machine_lazy_rel): Likewise.
23616
23617 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23618
23619         * nss/nss_files/files-init.c (_nss_files_init): Use static
23620         initialization for all the *_traced_file variables.
23621
23622 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23623
23624         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23625
23626 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23627
23628         [BZ #13226]
23629         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23630
23631 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23632
23633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23634         Reread the line before reparsing it.
23635
23636 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23637
23638         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23639
23640 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23641             Maxim Kuvyrkov  <maxim@codesourcery.com>
23642             Joseph Myers  <joseph@codesourcery.com>
23643
23644         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23645         if needed for __stack_chk_guard.
23646
23647 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23648
23649         * sysdeps/posix/spawni.c (script_execute): Always define it.
23650         It will be optimized away if unused.
23651         (maybe_script_execute): New function.
23652         (__spawni): Call it.
23653
23654         * Makerules: Don't include tls.make.
23655         (config-tls): Always set to thread.
23656         * tls.make.c: File removed.
23657
23658 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23659
23660         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23661         * config.make.in (CPPFLAGS-config): New substituted variable.
23662
23663 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23664
23665         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23666
23667         [BZ #13192]
23668         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23669         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23670
23671 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23672
23673         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23674         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23675         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23676         (CALL_FAIL): Likewise.
23677         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23678         (CALL_FAIL): Macro removed.
23679         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23680
23681 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23682
23683         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23684         for __FINITE_MATH_ONLY__ == 1.
23685
23686 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23687
23688         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23689         __ieee754_sqrt instead of sqrt.
23690         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23691         __ieee754_sqrtf instead of sqrtf.
23692         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23693         __floorf instead of floorf.
23694         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23695         __floorf, __truncf instead of floorf, truncf.
23696
23697 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23698
23699         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23700
23701         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23702         __extern_always_inline.
23703         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23704         32-bit.
23705
23706 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23707
23708         * elf/rtld.c (dl_main): Also relocate in dependency order when
23709         doing symbol dependency testing.
23710
23711 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23712
23713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23714         Always define `refsym'.
23715
23716 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23717
23718         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23719         (__FD_ELT): Renamed from __FDELT.
23720         * misc/bits/select2.h (__FD_ELT): Likewise.
23721         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23722         __FD_MASK instead of __FDELT, __FDMASK.
23723         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23724         Likewise.
23725         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23726         Likewise.
23727
23728         * elf/Makefile (gen-ldd): Fix pattern.
23729
23730         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23731         (init_tls): Likewise.
23732
23733 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23734
23735         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23736
23737 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23738
23739         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23740         `struct cmsghdr *' instead of `void *'.
23741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23742         Likewise.
23743
23744 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23745
23746         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23747         if non-absolute.
23748         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23749         ldd_rewrite_script.
23750
23751 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23752
23753         * configure.in: Remove --with-tls option.
23754         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23755         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23756         out in case it is missing.
23757         * sysdeps/ia64/elf/configure.in: Likewise.
23758         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23759         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23760         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23761         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23762         * sysdeps/sh/elf/configure.in: Likewise.
23763         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23764         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23765         * sysdeps/x86_64/elf/configure.in: Likewise.
23766         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23767         * sysdeps/mach/hurd/tls.h: Likewise.
23768
23769         [BZ #13067]
23770         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23771
23772         [BZ #13090]
23773         * configure.in: Fix use of AC_INIT.
23774
23775         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23776
23777 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23778
23779         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23780         __set_errno.
23781         * malloc/hooks.c: Likewise.
23782
23783         [BZ #11929]
23784         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23785         variables statically.
23786         (narenas): Initialize.
23787         (list_lock): Initialize.
23788         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23789         initializtion of main_arena and list_lock.  Small cleanups.
23790         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23791         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23792         Add initializers to main_arena and mp_.
23793         (malloc_state): Remove pagesize member.  Change all users to use
23794         GLRO(dl_pagesize).
23795
23796         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23797         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23798         is always initialized.
23799
23800         * malloc/malloc.c: Removed unused configurations and dead code.
23801         * malloc/arena.c: Likewise.
23802         * malloc/hooks.c: Likewise.
23803         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23804
23805         * include/tls.h: Removed.  USE___THREAD must always be defined.
23806         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23807         * elf/dl-libc.c: Likewise.
23808         * elf/dl-tsd.c: Likewise.
23809         * include/errno.h: Likewise.
23810         * include/netdb.h: Likewise.
23811         * include/resolv.h: Likewise.
23812         * inet/herrno-loc.c: Likewise.
23813         * inet/herrno.c: Likewise.
23814         * malloc/arena.c: Likewise.
23815         * malloc/hooks.c: Likewise.
23816         * malloc/malloc.c: Likewise.
23817         * resolv/res-state.c: Likewise.
23818         * resolv/res_libc.c: Likewise.
23819         * sysdeps/i386/dl-machine.h: Likewise.
23820         * sysdeps/ia64/dl-machine.h: Likewise.
23821         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23822         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23823         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23825         * sysdeps/sh/dl-machine.h: Likewise.
23826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23828         * sysdeps/unix/i386/sysdep.S: Likewise.
23829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23830         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23835         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23839         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23840         * sysdeps/x86_64/dl-machine.h: Likewise.
23841         * tls.make.c: Likewise.
23842
23843         * configure.in: Remove --with-__thread option.  Make tests for
23844         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23845         tls_model attribute fail if no support is available.  Remove
23846         USE_IN_LIBIO.
23847         * Makeconfig: Adjust for dropped configure option.  All features are
23848         now mandatory.
23849         * Makerules: Likewise.
23850         * Versions.def: Likewise.
23851         * argp/argp-fmtstream.c: Likewise.
23852         * argp/argp-fmtstream.h: Likewise.
23853         * argp/argp-help.c: Likewise.
23854         * assert/assert.c: Likewise.
23855         * config.h.in: Likewise.
23856         * config.make.in: Likewise.
23857         * configure: Likewise.
23858         * configure.in: Likewise.
23859         * csu/Versions: Likewise.
23860         * csu/init.c: Likewise.
23861         * elf/tst-audit2.c: Likewise.
23862         * elf/tst-tls10.c: Likewise.
23863         * elf/tst-tls10.h: Likewise.
23864         * elf/tst-tls11.c: Likewise.
23865         * elf/tst-tls12.c: Likewise.
23866         * elf/tst-tls14.c: Likewise.
23867         * elf/tst-tlsmod11.c: Likewise.
23868         * elf/tst-tlsmod12.c: Likewise.
23869         * elf/tst-tlsmod13.c: Likewise.
23870         * elf/tst-tlsmod13a.c: Likewise.
23871         * elf/tst-tlsmod14a.c: Likewise.
23872         * elf/tst-tlsmod15b.c: Likewise.
23873         * elf/tst-tlsmod16a.c: Likewise.
23874         * elf/tst-tlsmod16b.c: Likewise.
23875         * elf/tst-tlsmod7.c: Likewise.
23876         * elf/tst-tlsmod8.c: Likewise.
23877         * elf/tst-tlsmod9.c: Likewise.
23878         * gmon/gmon.c: Likewise.
23879         * grp/fgetgrent_r.c: Likewise.
23880         * grp/putgrent.c: Likewise.
23881         * hurd/fopenport.c: Likewise.
23882         * include/libc-symbols.h: Likewise.
23883         * include/tls.h: Likewise.
23884         * intl/gettextP.h: Likewise.
23885         * intl/loadinfo.h: Likewise.
23886         * locale/global-locale.c: Likewise.
23887         * locale/localeinfo.h: Likewise.
23888         * mach/devstream.c: Likewise.
23889         * malloc/arena.c: Likewise.
23890         * malloc/set-freeres.c: Likewise.
23891         * misc/err.c: Likewise.
23892         * misc/getttyent.c: Likewise.
23893         * misc/mntent_r.c: Likewise.
23894         * posix/getopt.c: Likewise.
23895         * posix/wordexp.c: Likewise.
23896         * pwd/fgetpwent_r.c: Likewise.
23897         * resolv/Versions: Likewise.
23898         * resolv/res_hconf.c: Likewise.
23899         * shadow/fgetspent_r.c: Likewise.
23900         * shadow/putspent.c: Likewise.
23901         * stdio-common/printf_fphex.c: Likewise.
23902         * stdio-common/tmpfile.c: Likewise.
23903         * stdlib/abort.c: Likewise.
23904         * stdlib/fmtmsg.c: Likewise.
23905         * sunrpc/auth_unix.c: Likewise.
23906         * sunrpc/clnt_perr.c: Likewise.
23907         * sunrpc/clnt_tcp.c: Likewise.
23908         * sunrpc/clnt_udp.c: Likewise.
23909         * sunrpc/clnt_unix.c: Likewise.
23910         * sunrpc/openchild.c: Likewise.
23911         * sunrpc/svc_simple.c: Likewise.
23912         * sunrpc/svc_tcp.c: Likewise.
23913         * sunrpc/svc_udp.c: Likewise.
23914         * sunrpc/svc_unix.c: Likewise.
23915         * sunrpc/xdr.c: Likewise.
23916         * sunrpc/xdr_array.c: Likewise.
23917         * sunrpc/xdr_rec.c: Likewise.
23918         * sunrpc/xdr_ref.c: Likewise.
23919         * sunrpc/xdr_stdio.c: Likewise.
23920
23921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23922
23923         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23924
23925 2011-07-03  Andreas Jaeger  <aj@suse.de>
23926
23927         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23928         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23929         regenerate with gen-libm-tests.pl.
23930
23931 2010-05-12  Petr Baudis  <pasky@suse.cz>
23932
23933         [BZ #11589]
23934         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23935         around j0() zero points by switching to j1().
23936         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23937         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23940
23941 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23942
23943         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23944         instead of 0.
23945         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23946         instead of 0.
23947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23948         Patch in part by Pavel Roskin <proski@gnu.org>.
23949
23950         [BZ #13138]
23951         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23952         realloc.
23953         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23954         Free memory block if necessary.
23955
23956         [BZ #12847]
23957         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23958         be NULL.  Don't lock in this case.
23959
23960 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23961
23962         * elf/elf.h (ELFOSABI_GNU): New macro.
23963         (ELFOSABI_LINUX): Define to that.
23964
23965 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23966
23967         * string/strncat.c (strncat): Undef the symbol in case it has been
23968         defined in bits/string.h.
23969
23970 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23971
23972         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23973
23974         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23975         link map.
23976
23977 2011-08-17  Andreas Jaeger  <aj@suse.de>
23978
23979         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23980
23981 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23982             Ian Lance Taylor  <iant@google.com>
23983
23984         * math/libm-test.inc (lround_test): New testcase.
23985         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23986
23987 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23988
23989         * Makefile: Remove support for automatic cvs check-ins.
23990         * Makerules: Likewise.
23991         * config.make.in: Likewise.
23992         * configure.in: Likewise.
23993         * intl/Makefile: Likewise.
23994         * locale/Makefile: Likewise.
23995         * po/Makefile: Likewise.
23996         * posix/Makefile: Likewise.
23997         * sysdeps/gnu/Makefile: Likewise.
23998         * sysdeps/mach/hurd/Makefile: Likewise.
23999         * sysdeps/sparc/sparc32/Makefile: Likewise.
24000
24001         [BZ #13118]
24002         * posix/Makefile (bug-regex32-ENV): Define.
24003         Patch by John Stanley <jpsinthemix@verizon.net>.
24004
24005         * misc/Makefile (headers): Add bits/select2.h.
24006         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24007         * misc/bits/select2.h: New file.
24008         * include/bits/select2.h: New file.
24009         * debug/Makefile (routines): Add fdelt_chk.
24010         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24011         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24012         FD_ISSET.
24013         * debug/fdelt_chk.c: New file.
24014
24015         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
24016         * wcsmbs/test-wmemcmp.c: Likewise.
24017         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24018         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24019
24020 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24021
24022         * string/Makefile (strop-tests): Add memcmp.
24023         * string/test-wmemcmp.c: New file.
24024         * string/test-memcmp.c: Add wmemcmp support.
24025
24026 2011-09-08  Roland McGrath  <roland@hack.frob.com>
24027
24028         [BZ #13153]
24029         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24030         2011-07-19 change.
24031
24032         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24033         garbage value in a __mach_port_mod_refs call in the cases of the
24034         task-self and thread-self ports.
24035
24036 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24037
24038         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24039
24040 2011-09-08  Andreas Schwab  <schwab@redhat.com>
24041
24042         * elf/dl-load.c (lose): Check for non-null L.
24043
24044 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24045
24046         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24047
24048         * elf/dl-libc.c (dlerror_run): Pass back error code from
24049         dl_catch_error.
24050
24051         [BZ #13123]
24052         * elf/dl-load.c (lose): Free l_origin if it is valid.
24053
24054         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24055         names.
24056         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24057         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24058         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24059         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24060         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24061         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24062
24063 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24064
24065         * sysdeps/powerpc/fpu/e_hypot.c: New file.
24066         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24067         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24068         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24069         * sysdeps/powerpc/fpu/k_cosf.c: New file.
24070         * sysdeps/powerpc/fpu/k_sinf.c: New file.
24071         * sysdeps/powerpc/fpu/s_cosf.c: New file.
24072         * sysdeps/powerpc/fpu/s_sinf.c: New file.
24073         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24074         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24075
24076 2011-08-15  Alan Modra  <amodra@gmail.com>
24077
24078         [BZ #13092]
24079         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24080         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24081         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
24082         ppc_mcount to static-only-routines.
24083         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24084         __mcount_internal.
24085         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24086         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
24087
24088 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
24089
24090         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24091         for finite and infinity parameters.
24092
24093 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24094
24095         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24096         and add nop instructions for throughput optimization.
24097         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24098
24099 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
24100
24101         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24102         aligned copy for power7 with vector-scalar instructions.
24103         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24104
24105 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
24106
24107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24108         AVX check.
24109
24110 2011-09-07  Andreas Schwab  <schwab@redhat.com>
24111
24112         [BZ #13144]
24113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24114         last change.
24115
24116 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
24117
24118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24119         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24120         syscall wrapper around clock_gettime in __vdso_clock_gettime.
24121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24122         clock_gettime.
24123
24124 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24125
24126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24127         Forgot to demangle the pointer.
24128
24129         * sysdeps/i386/sysdep.h: Define atom_text_section.
24130         * sysdeps/x86_64/sysdep.h: Likewise.
24131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24132         section with atom_text_section.
24133         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24134         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24135         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24136         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24137         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24138
24139         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24140         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24141         already be defined.  Change to take two parameters and don't assign
24142         result to variable.  Adjust all users.
24143         Define INTERNAL_GETTIME if not already defined.
24144         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24145         call.
24146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24147         HAVE_CLOCK_GETTIME_VSYSCALL.
24148         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24149
24150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24151         gettimeofday vsyscall, just use time.
24152
24153 2011-09-06  Andreas Schwab  <schwab@redhat.com>
24154
24155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24156         <errno.h>.
24157
24158 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
24159
24160         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24161         syscall on x86-64.
24162         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24163         syscall.
24164         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24165         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24166         syscall if possible.
24167
24168 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24169
24170         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24171         e_ident.  Don't pass to find_mapsXX.
24172         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24173
24174 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24175
24176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24177         strchr-sse2-no-bsf strrchr-sse2-no-bsf
24178         * sysdeps/x86_64/multiarch/strchr.S: Update.
24179         Check bit_slow_BSF bit.
24180         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24181         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24182         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24183
24184 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24185
24186         [BZ #13134]
24187         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24188         before glibc 2.15.
24189         (tryshell): Define.
24190         (__spawni): Change last parameter to be flag.  Test
24191         SPAWN_XFLAGS_USE_PATH flag to use path or not.
24192         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24193         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24194         * posix/spawni.c: Likewise.
24195         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24196         * posix/spawnp.c: Likewise.  Change normal version to use
24197         SPAWN_XFLAGS_USE_PATH.
24198         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24199         SPAWN_XFLAGS_TRY_SHELL.
24200
24201         [BZ #13150]
24202         * posix/glob.h: Remove gcc 1.x support.
24203
24204         [BZ #13068]
24205         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24206
24207 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24208
24209         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24210         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24211         strrchr-sse2-bsf
24212         * sysdeps/i386/i686/multiarch/strchr.S: New file.
24213         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24214         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24215         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24216         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24217         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24218
24219 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24220
24221         * sysdeps/x86_64/wcscmp.S: New file.
24222
24223         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24224         wcscmp-c wcscmp-sse2
24225         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24226         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24227         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24228         * wcsmbs/wcscmp.c: Allow renaming.
24229
24230 2011-09-05  David S. Miller  <davem@davemloft.net>
24231
24232         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24233         stack slot, rather than the struct return pointer slot.
24234         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24235         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24237         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24238
24239 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
24240
24241         * po/ja.po: Update from translation team.
24242
24243         [BZ #13144]
24244         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24245         kernel in 64-bit binaries.
24246
24247 2011-09-01  David S. Miller  <davem@davemloft.net>
24248
24249         * elf/elf.h (HWCAP_SPARC_*): Move to..
24250         * sysdeps/sparc/sysdep.h: this new file and add new values.
24251         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24252         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24253         _DL_HWCAP_COUNT to 24.
24254         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24255         entries.
24256         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24257         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24258         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24260         instead of magic constants.
24261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24262
24263 2011-08-31  David S. Miller  <davem@davemloft.net>
24264
24265         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24267         Reimplement to do errno handling inline.
24268         (SYSCALL_ERROR_HANDLER): New macro.
24269         (__SYSCALL_STRING): Do not do errno handling in asm.
24270         (__CLONE_SYSCALL_STRING): Delete.
24271         (__INTERNAL_SYSCALL_STRING): Delete.
24272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24273         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24274         (PSEUDO): Reimplement to do errno handling inline.
24275         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24276         (SYSCALL_ERROR_HANDLER): New macro.
24277         (__SYSCALL_STRING): Do not do errno handling in asm.
24278         (__CLONE_SYSCALL_STRING): Delete.
24279         (__INTERNAL_SYSCALL_STRING): Delete.
24280         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24281         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24282         i386.
24283         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24284         (inline_syscall*): Add 'err' argument.
24285         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24286         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24287         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24288         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24289
24290         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24291         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24292
24293 2011-08-30  Andreas Schwab  <schwab@redhat.com>
24294
24295         * elf/rtld.c (dl_main): Relocate objects in dependency order.
24296
24297 2011-08-29  Jiri Olsa <jolsa@redhat.com>
24298
24299         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24300         directive.
24301
24302 2011-08-24  David S. Miller  <davem@davemloft.net>
24303
24304         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24305
24306 2011-08-24  Andreas Schwab  <schwab@redhat.com>
24307
24308         * elf/Makefile: Add rules to build and run unload8 test.
24309         * elf/unload8.c: New file.
24310         * elf/unload8mod1.c: New file.
24311         * elf/unload8mod1x.c: New file.
24312         * elf/unload8mod2.c: New file.
24313         * elf/unload8mod3.c: New file.
24314
24315         * elf/dl-close.c (_dl_close_worker): Reset private search list if
24316         it wasn't used.
24317
24318 2011-08-23  David S. Miller  <davem@davemloft.net>
24319
24320         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24321         subtract stack bias.
24322         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24323         %sp not %fp in calculations.
24324         (_JMPBUF_UNWINDS_ADJ): Likewise.
24325
24326         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24327         (aio_suspend): Call it to force an exception region around the
24328         AIO_MISC_WAIT() invocation.
24329
24330 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24331
24332         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24333         backslash.
24334
24335 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24336
24337         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24338         protection macro.
24339         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24340         and <dl-machine.h>.
24341         (Elf64_FuncDesc): Remove.
24342
24343 2011-08-22  David S. Miller  <davem@davemloft.net>
24344
24345         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24346         sigaltstack check, add missing cfi directives.
24347         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24348         missing cfi directives, and sigaltstack handling.
24349
24350 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24351
24352         [BZ #11724]
24353         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24354         object is seen twice.
24355         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24356
24357         * elf/Makefile (distribute): Add tst-initorder2.c.
24358         (tests): Add tst-initorder2.
24359         (modules-names): Add tst-initorder2a tst-initorder2b
24360         tst-initorder2c tst-initorder2d.  Add rules to build them.
24361         ($(objpfx)tst-initorder2.out): New rule.
24362         * elf/tst-initorder2.c: New file.
24363         * elf/tst-initorder2.exp: New file.
24364
24365 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24366
24367         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24368
24369         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24370         dependencies back to end of function.
24371
24372         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24373         $(elfobjdir)/ld.so.
24374
24375 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24376
24377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24378         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24379         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24380         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24381         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24382         of __vdso_gettimeofday.
24383         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24384         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24385         attribute_hidden.
24386         (_libc_vdso_platform_setup): Remove initialization of
24387         __vdso_gettimeofday and __vdso_time.
24388
24389 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24390
24391         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24392         and fgetc_unlocked.
24393         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24394         getc_unlocked.
24395
24396         * elf/dl-open.c (add_to_global): Report additions to the global scope
24397         for LD_DEBUG=scopes.
24398         (dl_open_worker): Also print scope of newly loaded dependencies.
24399         (_dl_show_scope): Indicate if there is no scope.
24400
24401         [BZ #13114]
24402         * stdio-common/Makefile (tests): Add bug24.
24403         * stdio-common/bug24.c: New file.
24404
24405 2011-08-19  Andreas Jaeger  <aj@suse.de>
24406
24407         [BZ #13114]
24408         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24409         non-existant file when using close-on-exec mode.
24410
24411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24412
24413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24414         the very first instruction.
24415
24416         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24417         the CFI state in the end.
24418         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24419         inclusion of dl-trampoline.h.
24420         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24421
24422 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24423
24424         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24425         expectations for long double.
24426
24427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24428         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24429
24430 2011-08-14  David S. Miller  <davem@davemloft.net>
24431
24432         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24433         artificual limit depends upon the system page size.
24434
24435 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24436
24437         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24438         * resolv/Makefile: Define CFLAGS-libresolv.
24439
24440 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24441
24442         * nss/makedb.c (compute_tables): Make variables used in nested
24443         function static.
24444
24445 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24446
24447         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24448         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24449         if buffer was too small.
24450
24451         * elf/pldd.c (main): Attach to all threads in the process.
24452         Rewrite /proc handling to use *at functions.
24453
24454 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24455
24456         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24457         specifies first scope to show.
24458         (dl_open_worker): Update callers.  Move printing scope of new
24459         object to before the relocation.
24460         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24461         * sysdeps/generic/ldsodefs.h: Update declaration.
24462
24463         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24464         string for the scope number.
24465
24466 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24467
24468         * nscd/servicescache.c (cache_addserv): Make sure written is always
24469         initialized.
24470
24471 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24472
24473         * sysdeps/i386/i486/bits/atomic.h
24474         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24475         statement expression, so as to suppress "set but not used" warning.
24476         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24477
24478         * string/strncat.c (STRNCAT): Use prototype definition.
24479
24480         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24481         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24482         -Iprograms here.
24483         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24484         (localedef-modules): Add localedef.
24485         (locale-modules): Add locale.
24486
24487         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24488         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24489         to avoid a warning.
24490
24491 2011-08-14  David S. Miller  <davem@davemloft.net>
24492
24493         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24494         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24495
24496 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24497
24498         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24499         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24500         * elf/rtld.c (dl_main): Set l_name of vDSO.
24501         Call _dl_show_scope when DL_DEBUG_SCOPES.
24502         (process_dl_debug): Recognize scopes flag and also set it for all.
24503         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24504         Declare _dl_show_scope.
24505
24506         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24507         (do_dlopen): Pass caller_dlopen to dl_open.
24508         (__libc_dlopen_mode): Initialize caller_dlopen.
24509
24510         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24511         of libc.  Make tolower call locale-independent.  Optimize a bit by
24512         using isdigit instead of isalnum.
24513         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24514
24515 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24516
24517         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24518         was a dependency or dynamically loaded.
24519
24520 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24521
24522         * intl/l10nflist.c: Allow architecture-specific pop function.
24523         * sysdeps/x86_64/l10nflist.c: New file.
24524
24525         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24526         classification.
24527
24528 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24529
24530         * include/dirent.h: Add libc_hidden_proto for scandirat and
24531         scandirat64.  Don't declare __scandirat64.
24532         * dirent/scandirat.c: Add libc_hidden_def.
24533         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24534         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24535
24536 2011-08-10  David S. Miller  <davem@davemloft.net>
24537
24538         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24539         enum.
24540         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24542         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24543
24544 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24545
24546         * Versions.def [libc]: Add GLIBC_2.15.
24547         * dirent/Makefile (routines): Add scandirat and scandirat64.
24548         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24549         GLIBC_2.15.
24550         * dirent/dirent.h: Declare scandirat and scandirat64.
24551         * dirent/scandirat.c: New file.
24552         * dirent/scandirat64.c: New file.
24553         * sysdeps/wordsize-64/scandirat.c: New file.
24554         * sysdeps/wordsize-64/scandirat64.c: New file.
24555         * dirent/opendir.c: Define opendirat.
24556         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24557         using scandirat.
24558         * dirent/scandir64.c: Adjust for scandir.c change.
24559         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24560         __scandirat64, and __scandir_cancel_handler.
24561         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24562         additional parameter and use openat instead of open (outside of ld.so).
24563         Add new __opendir as wrapper around __opendirat.
24564         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24565         here without requiring old scandirat implementation.
24566
24567 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24568
24569         * dirent/scandir.c (cancel_handler): Renamed to
24570         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24571         defined.  Adjust users.
24572         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24573         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24574
24575 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24576
24577         * string/test-string.h (IMPL): Use __STRING to expand name and then
24578         stringify it.
24579
24580         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24581         of cleanups.
24582
24583 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24584
24585         * string/Makefile: Update.
24586         (strop-tests): Append strncat.
24587         * string/test-wcscmp.c: New file.
24588         New comprehensive test for wcscmp.
24589         * string/test-strcmp.c: Update.
24590         (WIDE): New define.
24591
24592 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24593
24594         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24595         line.
24596
24597 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24598
24599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24600         encoding to ACE if AI_IDN.
24601
24602 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24603
24604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24605         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24606
24607 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24608
24609         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24610         Fix overflow bug in strncat.
24611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24612
24613         * string/test-strncat.c: Update.
24614         Add new tests for checking overflow bugs.
24615
24616 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24617
24618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24619         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24620         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24621         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24622         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24623         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24624         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24625         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24626         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24627
24628         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24629         (USE_AS_STRCAT): Define.
24630         Add strcat and strncat support.
24631         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24632
24633 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24634
24635         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24636         __n bigger than INT_MAX+1.
24637         (__strncmp_g): Likewise.
24638
24639 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24640
24641         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24642         * libio/stido.h: Likewise.
24643
24644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24645         (AF_NFC): Define.
24646         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24647         (AF_NFC): Define.
24648
24649         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24650         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24651         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24652         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24654
24655         [BZ #13021]
24656         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24657         installed.
24658
24659         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24660         typo.
24661         (_dl_x86_64_save_sse): Likewise.
24662
24663 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24664
24665         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24666         OSXSAVE.
24667         (_dl_x86_64_save_sse): Likewise.
24668
24669         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24670
24671         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24672
24673 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24674
24675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24676         change.
24677         (_dl_x86_64_save_sse): Use correct AVX check.
24678
24679 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24680
24681         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24682         bug in strncpy/strncat.
24683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24684
24685 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24686
24687         * string/tester.c (test_strcat): Add tests for different alignments
24688         of source and destination.
24689         (test_strncat): Likewise.
24690
24691 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24692
24693         [BZ #12852]
24694         * posix/glob.c (glob): Check passed in values before using them in
24695         expressions to avoid some overflows.
24696         (glob_in_dir): Likewise.
24697
24698         [BZ #13007]
24699         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24700         check for AVX enablement so that we don't crash with old kernels and
24701         new hardware.
24702         * elf/tst-audit4.c: Add same checks here.
24703         * elf/tst-audit6.c: Likewise.
24704
24705         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24706
24707 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24708
24709         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24710
24711 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24712
24713         * po/cs.po: Update from translation team.
24714         * po/bg.po: Likewise.
24715
24716 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24717
24718         * misc/sys/cdefs.h: Add support for const attribute.
24719         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24720         to gnu_dev_{major,minor,makedev} functions.
24721
24722 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24723
24724         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24725
24726 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24727
24728         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24729         strlen results.
24730
24731 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24732
24733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24734         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24735         register in order to avoid conflicts with the soft frame pointer
24736         being held in r11 when necessary.
24737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24738         (INTERNAL_VSYSCALL_NCS): Likewise.
24739
24740 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24741
24742         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24743         * elf/dl-fini.c (_dl_fini): Adjust caller.
24744         * elf/dl-close.c (_dl_close_worker): Likewise.
24745         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24746
24747 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24748
24749         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24750         "aux_cache->nlibs < 0".
24751
24752         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24753         in the reload-count case.
24754
24755 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24756
24757         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24758         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24759         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24760         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24761         * sysdeps/x86_64/multiarch/strcat.S: New file.
24762         * sysdeps/x86_64/multiarch/strncat.S: New file.
24763         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24764         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24765         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24766         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24767         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24768         (USE_AS_STRCAT): Define.
24769         Add strcat and strncat support.
24770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24771         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24772         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24773         * string/strncat.c: Update.
24774         (USE_AS_STRNCAT): Define.
24775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24776         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24777         and i7.
24778         * sysdeps/x86_64/multiarch/init-arch.h
24779         (bit_Prefer_PMINUB_for_stringop): New.
24780         (index_Prefer_PMINUB_for_stringop): Likewise.
24781         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24782         bit_Prefer_PMINUB_for_stringop.
24783
24784 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24785
24786         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24787         buffer64.
24788         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24789         of casting of buffer.
24790         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24791         buffer32 and buffer64.
24792         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24793         writes instead of casting of buffer.
24794         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24795         buffer32.
24796         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24797         casting of buffer.
24798
24799 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24800
24801         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24802
24803 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24804
24805         * nscd/nscd.c (termination_handler): Don't do anything for a database
24806         if it has not yet been initialized.
24807
24808 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24809
24810         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24811
24812 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24813
24814         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24815
24816 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24817
24818         * po/nl.po: Update from translation team.
24819         * po/sv.po: Likewise.
24820
24821 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24822
24823         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24824         now disallowed by GCC.
24825
24826         * configure.in (use-default-link): Default to yes if a test -shared
24827         link meets our qualifications.
24828         * configure: Regenerated.
24829
24830         * config.make.in (output-format): New variable.
24831         * configure.in: Check for ld --print-output-format support.
24832         * configure: Regenerated.
24833         * Makerules ($(common-objpfx)format.lds)
24834         [$(output-format) != unknown]: Just use $(output-format),
24835         instead of the linker-script munging.
24836
24837 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24838
24839         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24840         of $(common-objpfx)shlib.lds.
24841         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24842
24843         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24844         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24845
24846         * configure.in (-z relro check): Adjust test code to add a large
24847         writable data section after it.
24848         * configure: Regenerated.
24849
24850 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24851
24852         * configure.in (-z relro check): Fix test code to make the variable
24853         truly const.
24854         * configure: Regenerated.
24855
24856 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24857
24858         * nscd/nscd.h (struct traced_file): Define.
24859         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24860         elements.  Add traced_files.
24861         (inotify_fd): Declare.
24862         (register_traced_file): Declare.
24863         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24864         (inotify_fd): Export.
24865         (resolv_conf_descr): Remove.
24866         (nscd_init): Move inotify descriptor creation to main.
24867         Don't register files for notification here.
24868         (register_traced_file): New function.
24869         (invalidate_cache): Don't use reset_res to determine whether to call
24870         res_init, go through the list of registered files.
24871         (main_loop_poll): The inotify descriptors are now stored in the
24872         structures for the traced files.
24873         (main_loop_epoll): Likewise
24874         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24875         to __nss_disable_nscd.
24876         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24877         for a database anymore.  Check the records for all the registered
24878         files instead.
24879         * nss/Makefile (libnss_files-routines): Add files-init.
24880         (libnss_db-routines): Add db-init.
24881         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24882         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24883         * nss/nss_db/db-init.c: New file.
24884         * nss/nss_files/files-init.c: New file.
24885         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24886         __nss_lookup_function.
24887         (__nss_lookup_function): Call nss_load_library.
24888         (nss_load_all_libraries): New function.
24889         (__nss_disable_nscd): Take parameter with callback function for files
24890         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24891         used for the cached services.
24892         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24893         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24894         options for features to all the files in nscd.
24895
24896         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24897
24898 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24899
24900         * csu/elf-init.c (__libc_csu_init): Comment typo.
24901
24902 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24903
24904         * po/pl.po: Update from translation team.
24905         * po/ja.po: Likewise.
24906         * po/ru.po: Likewise.
24907         * po/ko.po: Likewise.
24908         * po/fr.po: Likewise.
24909
24910 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24911
24912         * configure.in (.ctors/.dtors header and trailer check):
24913         Use an empirical test on a built program.
24914         * configure: Regenerated.
24915
24916         * configure.in (-z relro check): Use an empirical test on a built DSO.
24917         Detect, but do not require, on ia64.
24918         * configure: Regenerated.
24919
24920         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24921         Update tests that use readelf to use $READELF instead.
24922         * configure: Regenerated.
24923
24924 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24925
24926         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24927         if the result is not used.
24928
24929 2011-07-05  Andreas Jaeger  <aj@suse.de>
24930
24931         [BZ#9696]
24932         * stdlib/tst-strtod.c: Add testcase.
24933
24934 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24935
24936         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24937         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24938         The latter has a higher limit.  Take additional parameter to pass to
24939         the new function.
24940         (__pathconf): Pass file to __statfs_link_max.
24941         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24942         __statfs_link_max.
24943         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24944         __statfs_link_max.
24945
24946         [BZ #12868]
24947         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24948         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24949         Handle Lustre.
24950         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24951         (__statfs_filesize_max): Likewise.
24952         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24953
24954 2011-07-05  Andreas Jaeger  <aj@suse.de>
24955
24956         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24957
24958 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24959
24960         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24961         `status' variable.
24962         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24963         Likewise.
24964
24965 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24966
24967         * Makefile (strop-tests): Add strncat.
24968         * string/test-strncat.c: New file.
24969
24970 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24971
24972         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24973
24974 2011-06-21  Andreas Jaeger  <aj@suse.de>
24975
24976         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24977         Copy rule from iconvdata/Makefile.
24978
24979 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24980
24981         [BZ #12922]
24982         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24983         but no long options are defined, just return 'W'.
24984
24985 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24986
24987         [BZ #9696]
24988         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24989
24990 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24991
24992         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24993         netgroups to read.
24994         (innetgr): Likewise.
24995
24996 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24997
24998         * config.make.in (install_root): Default to $(DESTDIR).
24999
25000 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
25001
25002         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25003
25004 2011-07-02  Roland McGrath  <roland@hack.frob.com>
25005
25006         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25007
25008         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25009         containing directory rather than embedding absolute directory names.
25010
25011         * scripts/check-local-headers.sh: Rewritten using awk.
25012         Match by word, not by line.  Print error messages for matches.
25013         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25014
25015         * Makerules [shlib-lds-flags empty]:
25016         ($(common-objpfx)libc_pic.opts): New target.
25017         ($(common-objpfx)libc_pic.os.clean): New target.
25018         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25019
25020         * config.make.in (OBJCOPY): New variable.
25021         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25022         * configure: Regenerated.
25023
25024         * config.make.in (use-default-link): New variable.
25025         * configure.in (use_default_link): Grok --with-default-link to set it.
25026         * configure: Regenerated.
25027         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25028         (shlib-lds, shlib-lds-flags): Define to empty.
25029
25030         * Makerules (shlib-lds): New variable.
25031         (shlib-lds-flags): New variable.
25032         (build-shlib, build-moduile, build-module-asneeded): Use it.
25033         ($(common-objpfx)libc.so): Use $(shlib-lds).
25034         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25035         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25036
25037         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25038         DT_FLAGS/DT_FLAGS_1 with zero flags.
25039
25040         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25041         linker script munging.
25042
25043 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
25044
25045         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25046         as 128-bit value.
25047         * crypt/sha512.c (sha512_process_block): Perform total addition using
25048         128-bit if possible.
25049         (__sha512_finish_ctx): Likewise.
25050         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25051         as 64-bit value.
25052         * crypt/sha256.c (SWAP64): Define.
25053         (sha256_process_block): Perform total addition using 64-bit if
25054         possible.
25055         (__sha256_finish_ctx): Likewise.
25056
25057 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
25058
25059         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
25060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25061         * nscd/hstcache.c (cache_addhst): Likewise.
25062         * nscd/grpcache.c (cache_addgr): Likewise.
25063         * nscd/aicache.c (addhstaiX): Likewise
25064         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25065
25066 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
25067
25068         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25069         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25070         * nscd/hstcache.c (cache_addhst): Likewise.
25071         * nscd/grpcache.c (cache_addgr): Likewise.
25072         * nscd/aicache.c (addhstaiX): Likewise
25073
25074 2011-07-01  Andreas Schwab  <schwab@redhat.com>
25075
25076         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25077         domain only when needed.
25078
25079 2011-06-30  Andreas Schwab  <schwab@redhat.com>
25080
25081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25082         is always restored.
25083
25084 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
25085
25086         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25087         are re-adding the entry.
25088         * nscd/servicescache.c (cache_addserv): Likewise.
25089
25090 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
25091
25092         * sysdeps/generic/dl-irel.h: fix protection against multiple
25093         inclusions.
25094         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25095
25096 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
25097
25098         [BZ #12935]
25099         * malloc/memusage.sh: Fix quoting in message.
25100         * debug/xtrace.sh: Likewise.
25101
25102         * configure.in: Remove support for --experimental-malloc option, make
25103         it the default.
25104         * config.make.in: Likewise.
25105         * malloc/Makefile: Likewise.
25106
25107 2011-06-27  Andreas Schwab  <schwab@redhat.com>
25108
25109         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25110         two-byte characters.
25111
25112 2011-06-27  Roland McGrath  <roland@hack.frob.com>
25113
25114         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25115         AC_CACHE_CHECK invocation.
25116         * configure: Regenerated.
25117
25118         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25119
25120 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
25121
25122         [BZ #12350]
25123         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
25124         bit from old_res_options.
25125
25126         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25127
25128         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25129         value type for setfct.
25130
25131 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
25132
25133         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25134         __gettimeofday instead of gettimeofday.
25135
25136 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
25137
25138         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25139
25140 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25141
25142         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25143
25144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25145         info.
25146
25147 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25148
25149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25150         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25151         strcpy-sse2-unaligned strncpy-sse2-unaligned
25152         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25153         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25154         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25155         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25156         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25158         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25159         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25160         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25161         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25162         (STRCPY): Support SSE2 and SSSE3 versions.
25163
25164 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
25165
25166         [BZ #12874]
25167         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25168         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25169         kernels which artificially limit size of requests.
25170
25171 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
25172
25173         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25174         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25175         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25176         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25177         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25178         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25179         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25180         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25181         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25183         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25184         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25185         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25186         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25187         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25189         Enable unaligned load optimization for Intel Core i3, i5 and i7
25190         processors.
25191         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25192         Define.
25193         (index_Fast_Unaligned_Load): Define.
25194         (HAS_FAST_UNALIGNED_LOAD): Define.
25195
25196 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
25197
25198         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25199
25200 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25201
25202         [BZ #12907]
25203         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25204         until it is clear that the information is realy needed.
25205         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25206
25207 2011-06-22  Andreas Schwab  <schwab@redhat.com>
25208
25209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25210
25211 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
25212
25213         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25214         /sys/devices/system/cpu/online if it is usable.
25215
25216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25217         reading the information from the /proc filesystem to once a second.
25218
25219 2011-06-21  Andreas Jaeger  <aj@suse.de>
25220
25221         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25222         NULL after inclusion of kernel headers.
25223
25224 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
25225
25226         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25227         calls to internal_setent.
25228
25229         [BZ #12885]
25230         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25231         addresses using gethostbyname4_r ignore IPv4 addresses.
25232
25233         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25234         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
25235
25236         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25237
25238 2011-06-20  David S. Miller  <davem@davemloft.net>
25239
25240         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25241         inclusions.
25242         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25243
25244         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25245         (elf_irel): Use it.
25246         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25247         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25248         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25249         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25250         * sysdeps/x86_64/dl-irel.h: Likewise.
25251
25252         * elf/dl-runtime.c: Use elf_ifunc_invoke.
25253         * elf/dl-sym.c: Likewise.
25254
25255 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25256
25257         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
25258         need to dereference resplen2.
25259
25260 2011-06-14  Andreas Schwab  <schwab@redhat.com>
25261
25262         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25263
25264 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
25265
25266         * Makeconfig: Define vardbdir and inst_vardbdir.
25267         * nss/Makefile: Add rules to install db-Makefile.
25268
25269         * nss/nss_db/db-XXX.c: Cleanup.
25270
25271         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25272         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25273         GLIBC_PRIVATE.
25274         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25275         * nss/makedb.c: Implement -g option to specify that value strings
25276         are generated and should not be added to table iterated over for
25277         get*ent calls.
25278         * nss/nss_db/db-initgroups.c: New file.
25279
25280         * nss/getent.c: Add support for initgroups lookups through getgrouplist
25281         interface.
25282
25283         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25284         (internal_getgrouplist): Adjust to name change.
25285         Update use_initgroups_entry if this is not the first call.
25286         * nss/databases.def: Add initgroups entry.
25287
25288         * nss/makedb.c (compute_tables): Check result of multiple hash table
25289         sizes to minimize maximum chain length.
25290
25291 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
25292
25293         * Versions.def: Add entry for libnss_db.
25294         * shlib-versions: Likewise.
25295         * nss/Makefile: Add rules to build libnss_db.
25296         * nss/Versions: Add libnss_db information.  Organize libnss_files
25297         entries better.
25298         * nss/db-Makefile: Add gshadow support.  Change rules for the new
25299         makedb progra.  Some minor improvements to generate smaller files.
25300         * nss/nss_db/nss_db.h: Move NSS database header data structures to
25301         here from...
25302         * nss/makedb.c: ...here.
25303         Improve database format to be smaller and require less memory at
25304         runtime.
25305         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
25306         db anymore.
25307         * nss/nss_db/db-netgrp.c: Likewise.
25308         * nss/nss_db/db-open.c: Likewise.
25309         * nss/nss_files/flies-XXX.x: Adjust comments.
25310         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25311         * nss/nss_files/files-grp.c: Likewise.
25312         * nss/nss_files/files-hosts.c: Likewise.
25313         * nss/nss_files/files-network.c: Likewise.
25314         * nss/nss_files/files-proto.c: Likewise.
25315         * nss/nss_files/files-pwd.c: Likewise.
25316         * nss/nss_files/files-rpc.c: Likewise.
25317         * nss/nss_files/files-service.c: Likewise.
25318         * nss/nss_files/files-sgrp.c: Likewise.
25319         * nss/nss_files/files-spwd.c: Likewise.
25320         * nss/nss_db/db-alias.c: Removed.
25321         * nss/nss_db/dummy-db.h: Removed.
25322
25323 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25324
25325         * nss/makedb.c: Rewritten to not use database library.
25326         * nss/Makefile: Update to build new makedb program.
25327
25328 2011-06-14  Andreas Jaeger  <aj@suse.de>
25329
25330         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25331         memset declaration.
25332
25333 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25334
25335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25336         tmpbuf.
25337
25338 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25339
25340         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25341         * elf/Makefile ($(objpfx)ld.so): Likewise.
25342
25343         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25344         Don't list ld.so twice in dependencies.
25345
25346         * posix/bug-regex31.c: Include <stdlib.h>.
25347
25348         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25349
25350         * nis/nss_compat/compat-spwd.c
25351         (getspent_next_nss_netgr): Remove unused variable.
25352         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25353
25354         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25355         nonmembers" output to use the right array.
25356
25357         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25358
25359         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25360
25361         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25362         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25363         * catgets/gencat.c (read_input_file): Likewise.
25364         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25365
25366         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25367         variable definition inside #if's controlling its use.
25368
25369         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25370
25371         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25372
25373         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25374
25375         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25376         unreachable code.
25377
25378         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25379
25380         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25381         * configure: Regenerated.
25382
25383         * Makerules: Revert last change.
25384         * elf/Makefile: Likewise.
25385
25386 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25387
25388         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25389         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25390         (reloc-link): Likewise.
25391
25392 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25393
25394         * elf/Makefile: Add rules to build pldd.
25395         * elf/pldd.c: New file.
25396         * elf/pldd-xx.c: New file.
25397
25398 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25399
25400         * version.h: Update for 2.15 development version.
25401
25402 2011-06-07  David S. Miller  <davem@davemloft.net>
25403
25404         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25405         ifuncs.
25406         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25407         elf_machine_lazy_rel): Likewise.
25408         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25410         elf_machine_lazy_rel): Likewise.
25411         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25412         dl_hwcap via passed in argument.
25413         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25414         Likewise.
25415
25416 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25417
25418         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25419
25420 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25421
25422         [BZ #12849]
25423         * manual/fdl-1.1.texi: New file, verbatim from:
25424         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25425         * manual/lgpl-2.1.texi: New file, verbatim from:
25426         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25427         * manual/Makefile (licenses): New variable, list those new file names.
25428         (texis): Use it.
25429         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25430
25431         * manual/fdl.texi: File removed.
25432         * manual/lesser.texi: File removed.
25433         * manual/libc.texinfo (Copying, Documentation License):
25434         Use new @include file names, put @appendix directive before @include.
25435
25436 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25437
25438         [BZ #12841]
25439         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25440         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25441         (mq_open): Add __NTH.
25442
25443 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25444
25445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25446         Assume Intel Core i3/i5/i7 processor if AVX is available.
25447
25448 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25449
25450         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25451         typo.
25452
25453 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25454
25455         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25456         memory.  Use alloca_account.  Fix memory leak when retrying.
25457
25458 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25459
25460         * version.h (RELEASE): Bump for 2.14 release.
25461         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25462
25463         * config.make.in (RANLIB): Remove entry.
25464
25465 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25466
25467         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25468         (libc.pot): Work around missing support for .ksh extension in xgettext.
25469
25470         [BZ #12684]
25471         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25472         if both request failed.
25473         (send_dg): In case of server errors clear resplen or *resplen2.
25474
25475         [BZ #12454]
25476         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25477         when there are multiple maps.
25478         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25479         (_dl_fini): Remove test here.
25480
25481         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25482
25483 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25484
25485         [BZ #12350]
25486         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25487         bit from old_res_options.
25488         (gaih_inet): Likewise.
25489
25490         [BZ #11099]
25491         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25492         as signed.
25493
25494         * resolv/res_init.c (res_setoptions): Make the code more compact.
25495
25496         [BZ #11558]
25497         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25498         set RES_USEVC.
25499
25500         [BZ #11634]
25501         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25502
25503         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25504
25505         [BZ #11781]
25506         * malloc/malloc.h: Declare malloc hook variables as volatile.
25507
25508         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25509         in last patch.
25510
25511         [BZ #11799]
25512         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25513         raise in the comment.
25514         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25516         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25517
25518 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25519
25520         [BZ #12811]
25521         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25522         grow the buffers more if it already has to be sufficient.
25523         (build_wcs_upper_buffer): Likewise.
25524         * posix/regexec.c (check_matching): Likewise.
25525         (clean_state_log_if_needed): Likewise.
25526         (extend_buffers): Don't enlarge buffers beyond size of the input
25527         buffer.
25528         Patches mostly by Emil Wojak <emil@wojak.eu>.
25529         * posix/bug-regex32.c: New file.
25530         * posix/Makefile (tests): Add bug-regex32.
25531
25532         * locale/findlocale.c (_nl_find_locale): Return right away if
25533         _nl_explode_name failed.
25534         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25535
25536         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25537
25538         * debug/xtrace.sh: Unify messages.
25539         * malloc/memusage.sh: Likewise.
25540
25541         [BZ #12813]
25542         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25543         time symbol from vDSO.  Substitute with vsyscall if not available.
25544         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25545         __vdso_time.
25546
25547         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25548         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25549         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25550         Add sendmmsg and internal_sendmmsg.
25551         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25552         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25553         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25554
25555         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25556         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25557         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25558
25559 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25560
25561         [BZ #12813]
25562         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25563         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25564         available.
25565         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25566         __vdso_getcpu.
25567
25568         [BZ #12814]
25569         * iconvdata/Makefile (tests): Add bug-iconv9.
25570         * iconvdata/bug-iconv9.c: New file.
25571
25572 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25573
25574         [BZ #12814]
25575         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25576
25577 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25578
25579         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25580         (struct user_regs_struct): Change intcs field back to cs.
25581
25582 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25583
25584         * po/ja.po: Update from translation team.
25585
25586 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25587
25588         [BZ #12795]
25589         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25590         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25591
25592 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25593
25594         * stdlib/longlong.h: Update from GCC.
25595
25596 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25597
25598         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25599         parameter name.
25600         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25601         Add parameter name.
25602         (__sysconf): Pass it down.
25603
25604 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25605
25606         [BZ #12671]
25607         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25608         some situations.
25609         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25610         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25611         add in in __libc_use_alloca calls.  Adjust callers.
25612         (glob): Use malloc in some situations.
25613
25614         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25615         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25616         pltexit.
25617
25618 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25619
25620         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25621         and CLOCK_BOOTTIME_ALARM.
25622
25623         [BZ #12782]
25624         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25625         is returned.
25626
25627         * string/_strerror.c (__strerror_r): Print negative errors as signed
25628         numbers.
25629
25630         [BZ #12777]
25631         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25632         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25633         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25634
25635         * configure.in: Fix typo in redirection and correct removal of test
25636         files in two cases.
25637
25638         [BZ #12788]
25639         * locale/setlocale.c (new_composite_name): Fix test to check for
25640         identical name of all categories.
25641
25642         [BZ #12792]
25643         * libio/filedoalloc.c (local_isatty): New function.
25644         (_IO_file_doallocate): Use local_isatty.
25645         * stdio-common/perror.c (perror): In case a new stream is used
25646         forward the stream error.
25647         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25648         error flag.
25649
25650 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25651
25652         [BZ #11869]
25653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25654         alloca.
25655         * include/alloca.h (extend_alloca_account): Define.
25656
25657         [BZ #11857]
25658         * posix/regex.h: Fix comments with documentation of user-accessible
25659         fields after compilation and describe correct free'ing of pattern
25660         after re_compile_pattern.
25661         Patch by Reuben Thomas <rrt@sc3d.org>.
25662
25663 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25664
25665         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25666         and -mno-altivec to prevent the compiler from using Altivec and/or
25667         VSX instructions when the corresponding registers are not available.
25668
25669 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25670
25671         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25672
25673 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25674
25675         * libio/freopen.c (freopen): Use __dup2, not dup2.
25676         * libio/freopen64.c (freopen64): Likewise.
25677
25678 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25679
25680         [BZ #12775]
25681         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25682         * math/Makefile (tests): Add test-powl.
25683         (CFLAGS-test-powl.c): Define.
25684         * math/test-powl.c: New file.
25685
25686 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25687
25688         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25689
25690 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25691
25692         [BZ #11837]
25693         * iconvdata/gb18030.c: Update to GB18020-2005.
25694
25695 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25696
25697         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25698         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25699         Patch by Aharon Robbins <arnold@skeeve.com>.
25700
25701         [BZ #11892]
25702         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25703         on the stack.
25704
25705         [BZ #11895]
25706         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25707         through underflows.
25708
25709         [BZ #12766]
25710         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25711         point to strings before performing equality test for error_one_per_line
25712         mode.
25713
25714         [BZ #11697]
25715         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25716
25717         [BZ #11820]
25718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25719         (struct user_fpregs_struct): Avoid __uint*_t types.
25720
25721         [BZ #6420]
25722         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25723         symbol info.  Use it instead of calling _dl_addr locally.
25724         (lock_and_info): New function.
25725         (tr_freehook): Call lock_and_info and pass symbol info as additional
25726         parameter to tr_where.
25727         (tr_mallochook): Likewise.
25728         (tr_reallochook): Likewise.
25729         (tr_memalignhook): Likewise.
25730
25731         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25732         used and couldn't be at all thread-safe.
25733
25734 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25735
25736         * libio/freopen.c (freopen): Don't close old file descriptor
25737         before the new one is opened.  Instead dup the new file descriptor
25738         to the old one after the new stream is created.
25739         * libio/freopen64.c (freopen64): Likewise.
25740         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25741         * libio/fileops.c (_IO_new_file_close_it): Handle new
25742         _IO_FLAGS2_NOCLOSE flag.
25743         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25744         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25745         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25746         _IO_FLAGS2_NOCLOSE flag.
25747         * include/unistd.h: Add hidden_proto for dup3.
25748         Define __have_dup3.
25749         * io/dup3.c: Define hidden symbol.
25750         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25751
25752         [BZ #7101]
25753         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25754         when an incomplete long option is used.
25755         * posix/tst-getopt_long1.c: New file.
25756         * posix/Makefile (tests): Add tst-getopt_long1.
25757
25758         [BZ #10138]
25759         * scripts/config.guess: Update from autoconf-2.68.
25760         * scripts/config.sub: Likewise.
25761
25762         [BZ #10157]
25763         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25764         tests into ...
25765         (has_cpuclock): ...this.  New function.
25766         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25767         macro here based on has_cpuclock code.
25768
25769         [BZ #10149]
25770         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25771         First byte (not low byte) is now always NUL.
25772         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25773
25774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25775         Use non-cancelable interfaces.
25776
25777         [BZ #9809]
25778         * locale/iso-639.def: Add entry for Sorani.
25779
25780         [BZ #11901]
25781         * include/stdlib.h: Move include protection to the right place.
25782         Define abort_msg_s.  Declare __abort_msg with it.
25783         * stdlib/abort.c (__abort_msg): Adjust type.
25784         * assert/assert.c (__assert_fail_base): New function.  Majority
25785         of code from __assert_fail.  Allocate memory for __abort_msg with
25786         mmap.
25787         (__assert_fail): Now call __assert_fail_base.
25788         * assert/assert-perr.c: Remove bulk of implementation.  Use
25789         __assert_fail_base.
25790         * include/assert.hL Declare __assert_fail_base.
25791         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25792         mmap.
25793         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25794
25795 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25796
25797         [BZ #11952]
25798         [BZ #12453]
25799         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25800         until all modules are registered in the DTV.
25801         * elf/Makefile: Add rules to build and run tst-tls19.
25802         * elf/tst-tls19.c: New file.
25803         * elf/tst-tls19mod1.c: New file.
25804         * elf/tst-tls19mod2.c: New file.
25805         * elf/tst-tls19mod3.c: New file.
25806         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25807
25808         [BZ #12083]
25809         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25810         correctly.
25811
25812         [BZ #12601]
25813         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25814         two-byte sequence errors.
25815         * iconvdata/Makefile (tests): Add bug-iconv8.
25816         * iconvdata/bug-iconv8.c: New file.
25817
25818         [BZ #12626]
25819         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25820         buf2 definition.
25821
25822         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25823
25824         [BZ #12432]
25825         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25826         (dummy_getcfa): New function.
25827         (init): Get _Unwind_GetCFA address, use dummy if not found.
25828         (backtrace_helper): In recursion check, also check whether CFA changes.
25829         (__backtrace): Completely initialize arg.
25830
25831         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25832         storing incomplete byte sequence in state object.  Avoid testing for
25833         guaranteed too small input if we know there is enough data available.
25834
25835 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25836
25837         * Makeconfig (+link-pie): Indent.
25838         * Rules (binaries-pie): Define if $(have-fpie) and
25839         $(build-shared).
25840         (binaries-shared): Also filter out $(binaries-pie).
25841         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25842         * nscd/Makefile (others-pie): Add nscd.
25843         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25844         ($(objpfx)nscd): Remove command override.
25845         * login/Makefile (others-pie): Add pt_chown.
25846         ($(objpfx)pt_chown): Remove command override.
25847         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25848         remove command overrides.
25849
25850 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25851
25852         * libio/tst_putwc.c: Fix error messages.
25853
25854         [BZ #12724]
25855         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25856         currently writing and seek to current position when not.
25857         * libio/Makefile (tests): Add bug-fclose1.
25858         * libio/bug-fclose1.c: New file.
25859
25860 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25861
25862         [BZ #12511]
25863         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25864         don't set DF_1_NODELETE here.
25865         (do_lookup_x): When entering new entry test for copy relocation
25866         and if necessary set DF_1_NODELETE flag.
25867         * elf/tst-unique4.cc: New file.
25868         * elf/tst-unique4.h: New file.
25869         * elf/tst-unique4lib.cc: New file.
25870         * elf/Makefile: Add rules to build and run tst-unique4.
25871         Patch by Piotr Bury <pbury@goahead.com>.
25872
25873 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25874
25875         [BZ #12052]
25876         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25877
25878         [BZ #12625]
25879         * misc/mntent_r.c (addmntent): Flush the stream after the output
25880
25881         [BZ #12393]
25882         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25883         (is_trusted_path_normalize): Skip initial colon.  Append slash
25884         to empty buffer.  Duplicate is_trusted_path code but allow
25885         constructed patch to be prefix.
25886         (is_dst): Allow $ORIGIN followed by /.
25887         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25888         Correct testing of result of is_trusted_path_normalize
25889         (decompose_rpath): Fix warning.
25890
25891 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25892
25893         [BZ #11257]
25894         * grp/initgroups.c (internal_getgrouplist): When we found the service
25895         list through the initgroups entry in nsswitch.conf do not always
25896         continue on a successful lookup.  Don't always use the
25897         __nss_group_database value if it is set.
25898         * nss/nsswitch.conf (initgroups): Change action for successful db
25899         lookup to continue for compatibility.
25900
25901 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25902
25903         [BZ #11532]
25904         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25905         and CP774 modules.
25906         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25907         and CP774 modules.
25908         * iconvdata/tst-tables.sh: Likewise.
25909         * iconvdata/cp770.c: New file.
25910         * iconvdata/cp771.c: New file.
25911         * iconvdata/cp772.c: New file.
25912         * iconvdata/cp773.c: New file.
25913         * iconvdata/cp774.c: New file.
25914         * iconvdata/testdata/CP770: New file.
25915         * iconvdata/testdata/CP770..UTF8: New file.
25916         * iconvdata/testdata/CP771: New file.
25917         * iconvdata/testdata/CP771..UTF8: New file.
25918         * iconvdata/testdata/CP772: New file.
25919         * iconvdata/testdata/CP772..UTF8: New file.
25920         * iconvdata/testdata/CP773: New file.
25921         * iconvdata/testdata/CP773..UTF8: New file.
25922         * iconvdata/testdata/CP774: New file.
25923         * iconvdata/testdata/CP774..UTF8: New file.
25924
25925         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25926         END CHARMAP line.
25927         * iconvdata/gen-8bit-gap.sh: Likewise.
25928         * iconvdata/gen-8bit.sh: Likewise.
25929
25930         * locale/iso-639.def: Add ary entry.
25931
25932         [BZ #11258]
25933         * locale/C-translit.h.in: Add U20A1 transliteration.
25934
25935         [BZ #12178]
25936         * locale/iso-639.def: Add wae entry.
25937         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25938
25939         [BZ #12545]
25940         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25941         for n.
25942
25943         [BZ #12711]
25944         * locale/C-translit.h.in: Add entry for U20B9.
25945         Patch by pravin.d.s@gmail.com.
25946
25947 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25948
25949         [BZ #12713]
25950         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25951         ENAMETOOLONG use generic getcwd.
25952         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25953         in rtld.  Use *stat64.
25954         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25955         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25956         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25957         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25958         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25959         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25960         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25961         __fstatat64 macros.
25962         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25963         * dirent/rewinddir.c: Add libc_hidden_def.
25964         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25965         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25966
25967         * include/dirent.h (__alloc_dir): Add flags parameter.
25968         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25969         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25970         __alloc_dir.
25971         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25972         from fdopendir if O_CLOEXEC is already set.
25973
25974 2011-03-15  Alan Modra  <amodra@gmail.com>
25975
25976         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25977         l_tls_firstbyte_offset non-zero.  Save padding offset in
25978         l_tls_firstbyte_offset for later use.
25979         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25980         freeing static tls block.
25981
25982 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25983
25984         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25985         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25986         being defined by the kernel headers.
25987
25988 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25989
25990         [BZ #12734]
25991         * resolv/resolv.h: Define RES_NOTLDQUERY.
25992         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25993         no-tld-query and set RES_NOTLDQUERY.
25994         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25995         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25996         modern BIND to search name as TLD unless forbidden.
25997
25998 2011-05-07  Petr Baudis  <pasky@suse.cz>
25999             Ulrich Drepper  <drepper@gmail.com>
26000
26001         [BZ #12393]
26002         * elf/dl-load.c (fillin_rpath): Move trusted path check...
26003         (is_trusted_path): ...to here.
26004         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26005         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26006         using is_trusted_path_normalize() in setuid scripts.
26007
26008 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26009
26010         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26011         __BEGIN/__END_DECLS.
26012
26013 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
26014
26015         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26016         NSS_STATUS_NOTFOUND if no record was found.
26017
26018 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26019
26020         * sunrpc/Makefile (headers): Add rpc/netdb.h.
26021         (headers-not-in-tirpc): Remove rpc/netdb.h
26022         * resolv/netdb.h: Revert last change.
26023
26024 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26025
26026         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26027         circular dependency between libgcc.a and libc.a.
26028
26029 2011-05-05  Andreas Schwab  <schwab@redhat.com>
26030
26031         * resolv/netdb.h: Don't include <rpc/netdb.h>.
26032         * nis/Makefile: Don't install rpcsvc/*.
26033         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26034         instead of <rpc/types.h>.
26035         (MAXHOSTNAMELEN): Define.
26036
26037 2011-05-03  Andreas Schwab  <schwab@redhat.com>
26038
26039         * elf/ldconfig.c (add_dir): Don't crash on empty path.
26040
26041 2011-04-28  Maciej Babinski  <mbabinski@google.com>
26042
26043         [BZ #12714]
26044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26045         gethostbyname4_r when IPv6 results are possible.
26046
26047 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
26048
26049         [BZ #12723]
26050         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26051         _PC_PIPE_BUF handling.
26052
26053 2011-04-30  Bruno Haible  <bruno@clisp.org>
26054
26055         [BZ #12717]
26056         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26057         * resolv/netdb.h (getnameinfo): Change type of flags parameter
26058         to 'int'.
26059         * inet/getnameinfo.c (getnameinfo): Likewise.
26060
26061 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
26062
26063         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26064         to groups setting in database lookup.
26065         * nss/nsswitch.conf: Add initgroups entry.
26066
26067 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
26068
26069         [BZ #12685]
26070         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26071         mode string.
26072         Patch by Eric Blake <eblake@redhat.com>.
26073
26074 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
26075
26076         * sunrpc/Makefile (need-export-routines): Add svc_run.
26077         (routines): Remove svc_run.
26078         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26079         * sunrpc/clnt_perr.c (clnt_perrno): Export.
26080         * sunrpc/svc_run.c (svc_run): Likewise.
26081         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26082
26083 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
26084
26085         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26086         problem in reallocation in last patch.
26087
26088 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
26089
26090         * sunrpc/Makefile: Move inclusion of Rules.
26091
26092 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26093
26094         * nss/nss_files/files-initgroups.c: New file.
26095         * nss/Makefile (libnss_files-routines): Add files-initgroups.
26096         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26097         _nss_files_initgroups_dyn.
26098
26099 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
26100
26101         * elf/elf.h (R_ARM_IRELATIVE): Define.
26102
26103 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
26104
26105         * po/ru.po: Update from translation team.
26106
26107 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26108
26109         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26110         dependencies.
26111
26112 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
26113
26114         [BZ #12653]
26115         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26116         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26117         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26118         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26119         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26120
26121 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
26122
26123         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26124         differing bytes.
26125         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26126         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26128
26129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
26130
26131         [BZ #12420]
26132         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26133         storing it.
26134         * stdlib/bug-getcontext.c: New file.
26135         * stdlib/Makefile: Add rules to build and run bug-getcontext.
26136
26137 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26138
26139         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26140         instructions into .machine "z9-109".
26141         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26142         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26143
26144 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26145
26146         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26147         between environment variables and auxiliary vector.
26148
26149 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
26150
26151         * Makefile: Add rules to build linkobj/libc.so.
26152         * include/libc-symbols.h: Define libc_hidden_nolink.
26153         * include/rpc/auth.h: Mark functions which are to be hidden.
26154         * include/rpc/auth_des.h: Likewise.
26155         * include/rpc/auth_unix.h: Likewise.
26156         * include/rpc/clnt.h: Likewise.
26157         * include/rpc/des_crypt.h: Likewise.
26158         * include/rpc/key_prot.h: Likewise.
26159         * include/rpc/pmap_clnt.h: Likewise.
26160         * include/rpc/pmap_prot.h: Likewise.
26161         * include/rpc/pmap_rmt.h: Likewise.
26162         * include/rpc/rpc_msg.h: Likewise.
26163         * include/rpc/svc.h: Likewise.
26164         * include/rpc/svc_auth.h: Likewise.
26165         * include/rpc/xdr.h: Likewise.
26166         * nis/Makefile: Link all DSOs against linkobj/libc.so.
26167         * nss/Makefile: Likewise.
26168         * sunrpc/Makefile: Don't install headers.  Build library with normal
26169         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
26170         * sunrpc/auth_des.c: Hide exported symbols by default, export some
26171         for the compat linking library.  Remove use of INTDEF/INTUSE.
26172         * sunrpc/auth_none.c: Likewise.
26173         * sunrpc/auth_unix.c: Likewise.
26174         * sunrpc/authdes_prot.c: Likewise.
26175         * sunrpc/authuxprot.c: Likewise.
26176         * sunrpc/clnt_gen.c: Likewise.
26177         * sunrpc/clnt_perr.c: Likewise.
26178         * sunrpc/clnt_raw.c: Likewise.
26179         * sunrpc/clnt_simp.c: Likewise.
26180         * sunrpc/clnt_tcp.c: Likewise.
26181         * sunrpc/clnt_udp.c: Likewise.
26182         * sunrpc/clnt_unix.c: Likewise.
26183         * sunrpc/des_crypt.c: Likewise.
26184         * sunrpc/des_soft.c: Likewise.
26185         * sunrpc/get_myaddr.c: Likewise.
26186         * sunrpc/key_call.c: Likewise.
26187         * sunrpc/key_prot.c: Likewise.
26188         * sunrpc/netname.c: Likewise.
26189         * sunrpc/pm_getmaps.c: Likewise.
26190         * sunrpc/pm_getport.c: Likewise.
26191         * sunrpc/pmap_clnt.c: Likewise.
26192         * sunrpc/pmap_prot.c: Likewise.
26193         * sunrpc/pmap_prot2.c: Likewise.
26194         * sunrpc/pmap_rmt.c: Likewise.
26195         * sunrpc/publickey.c: Likewise.
26196         * sunrpc/rpc_cmsg.c: Likewise.
26197         * sunrpc/rpc_common.c: Likewise.
26198         * sunrpc/rpc_dtable.c: Likewise.
26199         * sunrpc/rpc_prot.c: Likewise.
26200         * sunrpc/rpc_thread.c: Likewise.
26201         * sunrpc/rtime.c: Likewise.
26202         * sunrpc/svc.c: Likewise.
26203         * sunrpc/svc_auth.c: Likewise.
26204         * sunrpc/svc_authux.c: Likewise.
26205         * sunrpc/svc_raw.c: Likewise.
26206         * sunrpc/svc_run.c: Likewise.
26207         * sunrpc/svc_simple.c: Likewise.
26208         * sunrpc/svc_tcp.c: Likewise.
26209         * sunrpc/svc_udp.c: Likewise.
26210         * sunrpc/svc_unix.c: Likewise.
26211         * sunrpc/svcauth_des.c: Likewise.
26212         * sunrpc/xcrypt.c: Likewise.
26213         * sunrpc/xdr.c: Likewise.
26214         * sunrpc/xdr_array.c: Likewise.
26215         * sunrpc/xdr_float.c: Likewise.
26216         * sunrpc/xdr_intXX_t.c: Likewise.
26217         * sunrpc/xdr_mem.c: Likewise.
26218         * sunrpc/xdr_rec.c: Likewise.
26219         * sunrpc/xdr_ref.c: Likewise.
26220         * sunrpc/xdr_sizeof.c: Likewise.
26221         * sunrpc/xdr_stdio.c: Likewise.
26222
26223 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
26224
26225         [BZ #12650]
26226         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26227         * sysdeps/ia64/dl-tls.h: Likewise.
26228         * sysdeps/powerpc/dl-tls.h: Likewise.
26229         * sysdeps/s390/dl-tls.h: Likewise.
26230         * sysdeps/sh/dl-tls.h: Likewise.
26231         * sysdeps/sparc/dl-tls.h: Likewise.
26232         * sysdeps/x86_64/dl-tls.h: Likewise.
26233         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26234
26235 2011-03-14  Andreas Schwab  <schwab@redhat.com>
26236
26237         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26238         rpath element also skip the following colon.
26239         (expand_dynamic_string_token): Add is_path parameter and pass
26240         down to DL_DST_REQUIRED and _dl_dst_substitute.
26241         (decompose_rpath): Call expand_dynamic_string_token with
26242         non-zero is_path.  Ignore empty rpaths.
26243         (_dl_map_object_from_fd): Call expand_dynamic_string_token
26244         with zero is_path.
26245
26246 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
26247
26248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26249         Make cancelable.
26250
26251 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
26252
26253         [BZ #12655]
26254         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26255         Patch by Filipe David Manana <fdmanana@apache.org>.
26256
26257 2011-04-07  Andreas Schwab  <schwab@redhat.com>
26258
26259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26260         Maintain aligned stack.
26261         (CHECK_RSP): Remove unused macro.
26262
26263 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
26264
26265         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26266         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26267
26268 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
26269
26270         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26271
26272         * include/features.h: Mention __USE_XOPEN2K8 in comment.
26273
26274 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
26275
26276         [BZ #12518]
26277         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26278         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26279         * sysdeps/x86_64/memmove.c: New file.
26280         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26281         (memcpy): Renamed to ...
26282         (__new_memcpy): This.
26283         (memcpy): Provide GLIBC_2_14 memcpy.
26284         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26285         (memcpy): Provide GLIBC_2_2_5 memcpy.
26286
26287 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26288
26289         [BZ #12631]
26290         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26291
26292 2011-03-30  Andreas Schwab  <schwab@redhat.com>
26293
26294         * misc/syncfs.c: New file.
26295         * misc/Makefile (routines): Add syncfs.
26296         * posix/unistd.h: Declare syncfs.
26297         * sysdeps/unix/syscalls.list: Add syncfs.
26298
26299 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26300
26301         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26302         open_by_handle_at.
26303         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26304         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26306         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26308         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26309         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26310
26311 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26312
26313         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26315         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26317         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26319         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26320
26321         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26322         sync_file_range.c with -fexceptions.
26323         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26324         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26325         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26326         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26327         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26328         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26330         sync_file_range as cancellation point
26331         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26332         now a wrapper around __call_sync_file_range with cancellation handling.
26333         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26334         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26335         function name to __call_sync_file_range.
26336         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26337         Add call_sync_file_range.
26338
26339 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26340
26341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26342         bits/timex.h.
26343
26344 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26345
26346         * iconv/iconv.h: Fix typo in comment.
26347         * io/fcntl.h: Likewise.
26348         * libio/stdio.h: Likewise.
26349         * posix/spawn.h: Likewise.
26350         * posix/unistd.h: Likewise.
26351         * stdlib/stdlib.h: Likewise.
26352         * time/time.h: Likewise.
26353         * wcsmbs/wchar.h: Likewise.
26354
26355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26356         open_by_handle): Add.
26357         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26358         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26359         Augment a few comments.
26360         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26362         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26364         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26365         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26366         open_by_handle.
26367
26368         * io/fcntl.h (AT_EMPTY_PATH): Define.
26369
26370 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26371
26372         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26373         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26374         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26375         to...
26376         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26377         * Versions.def: Add GLIBC_2.14.
26378         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26379         Export.
26380
26381 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26382
26383         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26384         round counter.
26385         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26386
26387 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26388
26389         [BZ #12597]
26390         * string/test-strncmp.c (do_page_test): New function.
26391         (check2): Likewise.
26392         (test_main): Call check2.
26393         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26394
26395 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26396
26397         [BZ #12587]
26398         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26399         Handle cache information in CPU leaf 4.
26400         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26401
26402 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26403
26404         [BZ #12583]
26405         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26406         character representation.
26407         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26408
26409 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26410
26411         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26412         END(__isnan) to END(__isnanf) to match function entry point/label
26413         EALIGN(__isnanf,...).
26414
26415 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26416
26417         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26418
26419 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26420
26421         [BZ #12510]
26422         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26423         copy from the symbol referenced in the relocation to initialize the
26424         used variable.
26425         Patch by Piotr Bury <pbury@goahead.com>.
26426         * elf/Makefile: Add rules to build and tst-unique3.
26427         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26428         * elf/tst-unique3.cc: New file.
26429         * elf/tst-unique3.h: New file.
26430         * elf/tst-unique3lib.cc: New file.
26431         * elf/tst-unique3lib2.cc: New file.
26432
26433         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26434
26435 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26436
26437         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26438         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26439         to _start.
26440
26441 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26442
26443         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26444         to-be-loaded object along a path to loader is ld.so.
26445
26446 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26447             Ulrich Drepper  <drepper@gmail.com>
26448
26449         * sysdeps/x86_64/memset.S: After aligning destination, code
26450         branches to different locations depending on the value of
26451         misalignment, when multiarch is enabled. Fix this.
26452
26453 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26454
26455         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26456         Set _x86_64_preferred_memory_instruction for AMD processsors.
26457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26458         Set bit_Prefer_SSE_for_memop for AMD processors.
26459
26460 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26461
26462         * libio/fmemopen.c (fmemopen): Optimize a bit.
26463
26464 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26465
26466         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26467
26468 2011-03-03  Roland McGrath  <roland@redhat.com>
26469
26470         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26471
26472 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26473
26474         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26475         __bzero_ultra1 instead of __memset_ultra1.
26476
26477 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26478             Ulrich Drepper  <drepper@gmail.com>
26479
26480         [BZ #12509]
26481         * include/link.h (struct link_map): Add l_orig_initfini.
26482         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26483         returning unsuccessfully.
26484         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26485         close of a file loaded at startup, restore the original l_initfini
26486         list.
26487         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26488         list, store the pointer.
26489         * elf/Makefile ($(objpfx)noload-mem): New rule.
26490         (noload-ENV): Define.
26491         (tests): Add $(objpfx)noload-mem.
26492         * elf/noload.c: Include <memcheck.h>.
26493         (main): Call mtrace.  Close all opened handles.
26494
26495 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26496
26497         [BZ #12454]
26498         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26499         dependencies are missing.
26500
26501 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26502
26503         Fix __if_freereq crash: Unlike the generic version which uses free,
26504         Hurd needs munmap.
26505         * sysdeps/mach/hurd/ifreq.h: New file.
26506
26507 2011-01-27  Petr Baudis  <pasky@suse.cz>
26508             Ulrich Drepper  <drepper@gmail.com>
26509
26510         [BZ 12445]#
26511         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26512         to extend_alloca().
26513         * stdio-common/bug23.c: New file.
26514         * stdio-common/Makefile (tests): Add bug23.
26515
26516 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26517             Ulrich Drepper  <drepper@gmail.com>
26518
26519         [BZ #12489]
26520         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26521         before performing relro protection.  At old place add assertion
26522         to make sure nothing changed.
26523
26524 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26525             Glauber de Oliveira Costa  <glommer@gmail.com>
26526
26527         * elf/elf.h: Add new ARM TLS relocs.
26528
26529 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26530
26531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26532         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26533         cast from r3.
26534         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26535         'tests' variable.
26536         * sysdeps/wordsize-64/tst-writev.c: New file.
26537
26538 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26539
26540         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26541         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26542         insns in _dl_start to prevent a TOC reference before relocs are
26543         resolved.
26544
26545 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26546
26547         [BZ #12469]
26548         * Makeconfig: Remove RANLIB definition.
26549         * Makerules: Don't use RANLIB.
26550         * aclocal.m4: Remove ranlib test.
26551         * configure.in: No need to check for ranlib.
26552         * elf/rtld-Rules: Don't use RANLIB.
26553
26554 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26555
26556         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26557         protection macro.
26558         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26559         inclusion protection macro.
26560
26561         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26562         SIGRTMIN and SIGRTMAX and print information in that case only when
26563         SIGRTMIN is defined.
26564
26565 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26566
26567         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26568         arginfo fn returning -1.
26569
26570         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26571         and thousands string is zero terminated.
26572
26573 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26574
26575         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26576         sysdeps/unix/sysv/linux/bits/socket.h.
26577
26578 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26579
26580         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26581         (__CPU_COUNT): Remove old macros.
26582         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26583         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26584         (__CPU_ALLOC, __CPU_FREE): Add macros.
26585         (__sched_cpualloc, __sched_cpufree): Add declarations.
26586
26587 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26588
26589         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26590         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26591         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26592         (readdhstai): Return value of addhstaiX call.
26593         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26594         (addgrbyX): Return value returned by cache_addgr.
26595         (readdgrbyname): Return value returned by addgrbyX.
26596         (readdgrbygid): Likewise.
26597         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26598         (addpwbyX): Return value returned by cache_addpw.
26599         (readdpwbyname): Return value returned by addhstbyX.
26600         (readdpwbyuid): Likewise.
26601         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26602         (addservbyX): Return value returned by cache_addserv.
26603         (readdservbyname): Return value returned by addservbyX:
26604         (readdservbyport): Likewise.
26605         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26606         (addhstbyX): Return value returned by cache_addhst.
26607         (readdhstbyname): Return value returned by addhstbyX.
26608         (readdhstbyaddr): Likewise.
26609         (readdhstbynamev6): Likewise.
26610         (readdhstbyaddrv6): Likewise.
26611         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26612         (readdinitgroups): Return value returned by addinitgroupsX.
26613         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26614         (prune_cache): Keep track of timeout value of re-added entries.
26615         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26616         * nscd/nscd.h: Adjust prototypes of readd* functions.
26617
26618 2011-02-04  Roland McGrath  <roland@redhat.com>
26619
26620         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26621         (nis_stats): Likewise.
26622         * nis/nis_modify.c (nis_modify): Likewise.
26623         * nis/nis_remove.c (nis_remove): Likewise.
26624         * nis/nis_add.c (nis_add): Likewise.
26625
26626         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26627
26628         * posix/fnmatch_loop.c: Add some consts.
26629
26630         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26631
26632 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26633
26634         [BZ #12460]
26635         * config.make.in (config-cflags-novzeroupper): Define.
26636         * configure.in: Substitute libc_cv_cc_novzeroupper.
26637         * elf/Makefile (AVX-CFLAGS): Define.
26638         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26639         (CFLAGS-tst-auditmod4a.c): Likewise.
26640         (CFLAGS-tst-auditmod4b.c): Likewise.
26641         (CFLAGS-tst-auditmod6b.c): Likewise.
26642         (CFLAGS-tst-auditmod6c.c): Likewise.
26643         (CFLAGS-tst-auditmod7b.c): Likewise.
26644         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26645
26646 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26647
26648         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26649         function to the callback.
26650         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26651
26652 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26653
26654         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26655         of errno.
26656
26657 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26658
26659         [BZ #11724]
26660         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26661         of constructors.
26662         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26663         of destructors.
26664         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26665
26666         [BZ #11724]
26667         * elf/Makefile: Add rules to build and run new test.
26668         * elf/tst-initorder.c: New file.
26669         * elf/tst-initorder.exp: New file.
26670         * elf/tst-initordera1.c: New file.
26671         * elf/tst-initordera2.c: New file.
26672         * elf/tst-initordera3.c: New file.
26673         * elf/tst-initordera4.c: New file.
26674         * elf/tst-initorderb1.c: New file.
26675         * elf/tst-initorderb2.c: New file.
26676         * elf/tst-order-a1.c: New file.
26677         * elf/tst-order-a2.c: New file.
26678         * elf/tst-order-a3.c: New file.
26679         * elf/tst-order-a4.c: New file.
26680         * elf/tst-order-b1.c: New file.
26681         * elf/tst-order-b2.c: New file.
26682         * elf/tst-order-main.c: New file.
26683         New test case by George Gensure <werkt0@gmail.com>.
26684
26685 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26686
26687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26688         decoding ACE if AI_CANONIDN.
26689
26690 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26691
26692         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26693
26694 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26695
26696         * version.h (RELEASE): Bump for 2.13 release.
26697         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26698
26699         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26700
26701         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26702         MADV_NOHUGEPAGE.
26703         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26704         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26705         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26706         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26707         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26708         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26709
26710         * posix/getconf.c: Update copyright year.
26711         * catgets/gencat.c: Likewise.
26712         * csu/version.c: Likewise.
26713         * debug/catchsegv.sh: Likewise.
26714         * debug/xtrace.sh: Likewise.
26715         * elf/ldconfig.c: Likewise.
26716         * elf/ldd.bash.in: Likewise.
26717         * elf/sprof.c (print_version): Likewise.
26718         * iconv/iconv_prog.c: Likewise.
26719         * iconv/iconvconfig.c: Likewise.
26720         * locale/programs/locale.c: Likewise.
26721         * locale/programs/localedef.c: Likewise.
26722         * malloc/memusage.sh: Likewise.
26723         * malloc/mtrace.pl: Likewise.
26724         * nscd/nscd.c (print_version): Likewise.
26725         * nss/getent.c: Likewise.
26726
26727         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26728         PF_CAIF, and PF_ALG.
26729         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26730
26731 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26732
26733         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26734         (modules-names): Use them.
26735         (ifunc-test-modules, ifunc-pie-tests): Define.
26736         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26737         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26738         (test-extras): Likewise.
26739         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26740         $(compile-command.c).
26741         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26742         (all-built-dso): Define.
26743         (check-textrel.out, check-execstack.out): Depend on it.
26744
26745         * configure.in: Don't override --enable-multi-arch.
26746
26747 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26748
26749         [BZ #6812]
26750         * nscd/hstcache.c (tryagain): Define.
26751         (cache_addhst): Return tryagain not notfound for temporary errors.
26752         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26753         failed.
26754
26755 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26756
26757         [BZ #10563]
26758         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26759         to make the syscall.
26760         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26761
26762         [BZ #12378]
26763         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26764         and fall back to matching as normal character if the string ends before
26765         the matching ']' is found.  This is what POSIX requires.
26766         * posix/testfnm.c: Adjust test result.
26767         * posix/globtest.sh: Adjust test result.  Add new test.
26768         * posix/tst-fnmatch.input: Likewise.
26769         * posix/tst-fnmatch2.c: Add new test.
26770
26771 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26772
26773         * elf/Makefile (check-execstack): Revert last change.  Depend on
26774         check-execstack.h.
26775         (check-execstack.h): New target.
26776         (generated): Add check-execstack.h.
26777         * elf/check-execstack.c: Include "check-execstack.h".
26778         (main): Revert last change.
26779         (handle_file): Return zero if GNU_STACK is absent and
26780         DEFAULT_STACK_PERMS doesn't include PF_X.
26781
26782 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26783
26784         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26785         in child fails because the descriptor is already closed.
26786         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26787         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26788         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26789
26790         [BZ #12397]
26791         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26792         syscall.
26793
26794         [BZ #10484]
26795         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26796         temporary buffer used to handle multi lookups locally.
26797         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26798
26799 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26800
26801         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26802         loader is ld.so.
26803
26804 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26805
26806         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26807         alignment for SSE2.
26808
26809 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26810
26811         [BZ #12394]
26812         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26813         characters.  When rounding increased number of integer digits recompute
26814         number of groups.
26815         * stdio-common/tst-grouping.c: New file.
26816         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26817
26818 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26819
26820         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26821         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26822
26823         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26824         void.
26825         * bits/select.h: Likewise.
26826
26827 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26828
26829         * po/ja.po: Update from translation team.
26830
26831 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26832
26833         [BZ #11155]
26834         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26835         implementation just like for lxstat, fxstatat, et al.
26836
26837 2010-12-27  Jim Meyering  <meyering@redhat.com>
26838
26839         [BZ #12348]
26840         * posix/regexec.c (build_trtable): Return failure indication upon
26841         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26842
26843 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26844
26845         [BZ #12201]
26846         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26847         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26848         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26849         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26850
26851         [BZ #12207]
26852         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26853
26854         [BZ #12204]
26855         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26856         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26857
26858 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26859
26860         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26861         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26862         script has SORT_BY_INIT_PRIORITY.
26863         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26864         NO_CTORS_DTORS_SECTIONS is defined.
26865         * elf/soinit.c: Likewise.
26866         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26867         NO_CTORS_DTORS_SECTIONS is defined.
26868         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26869         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26870         * sysdeps/sh/init-first.c: Likewise.
26871         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26872
26873 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26874
26875         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26876         always use the slow path.
26877
26878 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26879
26880         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26881         similar rule which adds the sysdep directories to the header search in
26882         order to pick up the correct platform stackinfo.h.
26883         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26884         perform test if it is, otherwise return successfully without testing.
26885         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26886         DEFAULT_STACK_PERMS define in stackinfo.h.
26887         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26888         defined in stackinfo.h.
26889         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26890         DEFAULT_STACK_PERMS defined in stackinfo.h.
26891         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26892         * sysdeps/ia64/stackinfo.h: Likewise.
26893         * sysdeps/s390/stackinfo.h: Likewise.
26894         * sysdeps/sh/stackinfo.h: Likewise.
26895         * sysdeps/sparc/stackinfo.h: Likewise.
26896         * sysdeps/x86_64/stackinfo.h: Likewise.
26897         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26898         PF_X for powerpc64.  Retain PF_X for powerpc32.
26899
26900 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26901
26902         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26903         accurately.
26904         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26905         GETDENTS_64BIT_ALIGNED.
26906
26907 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26908
26909         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26910
26911 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26912
26913         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26914         _GNU_SOURCE.
26915
26916         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26917         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26918         Remove __restrict.
26919         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26920         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26921
26922 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26923
26924         [BZ #11655]
26925         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26926         are initialized.
26927
26928 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26929
26930         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26931
26932 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26933
26934         * po/it.po: Update from translation team.
26935
26936 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26937
26938         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26939         unused codes.
26940
26941 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26942
26943         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26944
26945 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26946
26947         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26948         specially.
26949         (gaih_getanswer_slice): Likewise.
26950
26951 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26952
26953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26954
26955 2010-05-31  Petr Baudis  <pasky@suse.cz>
26956
26957         [BZ #11149]
26958         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26959         silently even in the chroot mode.
26960
26961 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26962
26963         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26964         last patch a bit.  Pretty printing
26965
26966 2010-05-31  Petr Baudis <pasky@suse.cz>
26967
26968         [BZ #10085]
26969         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26970         initialization of skip_initgroups_dyn.
26971
26972 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26973
26974         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26975         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26976
26977 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26978
26979         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26980
26981 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26982
26983         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26984         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26985         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26986         ($(objpfx)tst-fnmatch-mem): New rule.
26987         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26988         * posix/tst-fnmatch.c (main): Call mtrace.
26989
26990 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26991
26992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26993         Support Intel processor model 6 and model 0x2c.
26994
26995 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26996
26997         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26998           signed comparison.
26999
27000 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
27001
27002         [BZ #12205]
27003         * string/test-strncasecmp.c (check_result): New function.
27004         (do_one_test): Use it.
27005         (check1): New function.
27006         (test_main): Use it.
27007         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27008         Support strcasecmp and strncasecmp.
27009
27010 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
27011
27012         [BZ #12194]
27013         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27014         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27015
27016 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27017
27018         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27019         IFUNC support.
27020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27021         memset-x86-64.
27022         * sysdeps/x86_64/multiarch/bzero.S: New file.
27023         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27024         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27025         * sysdeps/x86_64/multiarch/memset.S: New file.
27026         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27028         Set bit_Prefer_SSE_for_memop for Intel processors.
27029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27030         Define.
27031         (index_Prefer_SSE_for_memop): Define.
27032         (HAS_PREFER_SSE_FOR_MEMOP): Define.
27033
27034 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
27035
27036         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27037         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27038
27039 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
27040
27041         [BZ #12191]
27042         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27043         (__x86_64_raw_data_cache_size_half): Likewise.
27044         (__x86_64_raw_shared_cache_size): Likewise.
27045         (__x86_64_raw_shared_cache_size_half): Likewise.
27046
27047         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27048         (__x86_64_raw_data_cache_size_half): Likewise.
27049         (__x86_64_raw_shared_cache_size): Likewise.
27050         (__x86_64_raw_shared_cache_size_half): Likewise.
27051         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27052         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27053         and __x86_64_raw_shared_cache_size_half.  Round
27054         __x86_64_data_cache_size_half, __x86_64_data_cache_size
27055         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27056         to multiple of 256 bytes.
27057
27058 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
27059
27060         [BZ #12167]
27061         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27062         of inacessible symlinks.  Verify result of symlink before returning it.
27063         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27064         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27065
27066 2010-10-28  Erich Ritz  <erichritz@gmail.com>
27067
27068         * math/math.h (isinf): Fix typo in comment.
27069
27070 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
27071
27072         * po/da.po: Update from translation team.
27073
27074 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
27075
27076         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27077         is added to the list.
27078
27079 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27080             Ulrich Drepper  <drepper@gmail.com>
27081
27082         * elf/dl-object.c (_dl_new_object): Don't append the new object to
27083         the global list here.  Move code to...
27084         (_dl_add_to_namespace_list): ...here.  New function.
27085         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27086         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27087         * elf/dl-load.c (lose): Don't remove the element from the list.
27088         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27089         (_dl_map_object): Likewise.
27090
27091 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
27092
27093         [BZ #12159]
27094         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27095         into all bytes of SSE register.
27096         Patch by Richard Li <richardpku@gmail.com>.
27097
27098 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
27099
27100         [BZ #12140]
27101         * malloc/malloc.c (_int_free): Fill correct number of bytes when
27102         perturbing.
27103
27104 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
27105
27106         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27107         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27108         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27109         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27111         submachine.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27113
27114 2010-10-22  Andreas Schwab  <schwab@redhat.com>
27115
27116         * include/dlfcn.h (__RTLD_SECURE): Define.
27117         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
27118         mode & __RTLD_SECURE instead.
27119         (open_path): Rename preloaded parameter to secure.
27120         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27121         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27122         * elf/dl-deps.c (openaux): Likewise.
27123         * elf/rtld.c (struct map_args): Remove is_preloaded.
27124         (map_doit): Don't use it.
27125         (dl_main): Likewise.
27126         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27127         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27128
27129 2010-09-09  Andreas Schwab  <schwab@redhat.com>
27130
27131         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27132         (sysd-rules-targets): Remove duplicates.
27133         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27134         rtld-%.$o dependency.
27135
27136 2010-10-18  Andreas Schwab  <schwab@redhat.com>
27137
27138         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27139         _dl_map_object do it.
27140
27141 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
27142
27143         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27144         fast fma builtins, define the macros in the C99 standard.
27145         (FP_FAST_FMAF): Likewise.
27146         (FP_FAST_FMAL): Likewise.
27147         * sysdeps/x86_64/bits/mathdef.h: Likewise.
27148
27149         * bits/mathdef.h: Update copyright year.
27150         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27151
27152 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
27153
27154         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27155         builtins, define the macros in the C99 standard.
27156         (FP_FAST_FMAF): Likewise.
27157         (FP_FAST_FMAL): Likewise.
27158         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27159         multiply/add.
27160         (FP_FAST_FMAF): Likewise.
27161
27162 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
27163
27164         [BZ #3268]
27165         * math/libm-test.inc (fma_test): Some new testcases.
27166         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27167         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27168         y and infinite z.  Do multiplication by C already in long double.
27169         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27171         y and infinite z.  Do bitwise or of inexact bit into u.d.
27172         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27173         * sysdeps/i386/fpu/s_fmaf.S: Removed.
27174         * sysdeps/i386/fpu/s_fma.S: Removed.
27175         * sysdeps/i386/fpu/s_fmal.S: Removed.
27176
27177 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
27178
27179         [BZ #3268]
27180         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27182         computation is not scheduled after fetestexcept.  Fix value
27183         of minimum denormal long double.
27184
27185 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
27186
27187         [BZ #3268]
27188         * math/libm-test.inc (fma_test): Add some more tests.
27189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27190         correctly.
27191
27192 2010-10-15  Andreas Schwab  <schwab@redhat.com>
27193
27194         * scripts/data/localplt-s390-linux-gnu.data: New file.
27195         * scripts/data/localplt-s390x-linux-gnu.data: New file.
27196
27197 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
27198
27199         [BZ #3268]
27200         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27201         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27202         instead of dbl-64.
27203         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27204         inlines.
27205         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27207         if one of x and y is very large and the other is subnormal.
27208         * sysdeps/s390/fpu/s_fmaf.c: New file.
27209         * sysdeps/s390/fpu/s_fma.c: New file.
27210         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27211         * sysdeps/powerpc/fpu/s_fma.S: New file.
27212         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27213         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27214         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27215
27216 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
27217
27218         [BZ #3268]
27219         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27220         fma tests.
27221         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27222         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27223         * sysdeps/i386/i686/multiarch/s_fma.c: Include
27224         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27225         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27226         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27228
27229 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
27230
27231         [BZ #12078]
27232         * posix/regcomp.c (parse_branch): One more memory leak plugged.
27233         * posix/bug-regex31.input: Add test case.
27234
27235 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27236
27237         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27238         * posix/bug-regex31.input: New file.
27239
27240         [BZ #12078]
27241         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27242         (parse_sub_exp): Fix last change, use postorder.
27243
27244         * posix/bug-regex31.c: New file.
27245         * posix/Makefile: Add rules to build and run bug-regex31.
27246
27247         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27248
27249         [BZ #12078]
27250         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27251
27252         [BZ #12108]
27253         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27254         to have entries in sys_siglist.
27255
27256         [BZ #12093]
27257         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27258         be NULL.
27259
27260 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
27261
27262         [BZ #3268]
27263         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27264         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27265         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27266         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27267         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27268         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27269         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27270         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27271         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27272         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27273         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27274         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27275         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27276         * math/ftestexcept.c (fetestexcept): Likewise.
27277         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27278         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27279         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27280         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27281         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27282         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27283         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27284
27285 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
27286
27287         [BZ #12107]
27288         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27289         newline.
27290
27291 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
27292
27293         * string/bug-strstr1.c: New file.
27294         * string/Makefile: Add rules to build and run bug-strstr1.
27295
27296 2010-10-05  Eric Blake  <eblake@redhat.com>
27297
27298         [BZ #12092]
27299         * string/str-two-way.h (two_way_long_needle): Always clear memory
27300         when skipping input due to the shift table.
27301
27302 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
27303
27304         [BZ #12005]
27305         * malloc/mcheck.c: Handle large requests.
27306
27307         [BZ #12077]
27308         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27309         for strncmp and strncasecmp.
27310         * string/stratcliff.c: Add tests for strcmp and strncmp.
27311         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27312
27313 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27314
27315         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27316         __set_fpscr.
27317
27318 2010-09-30  Andreas Jaeger  <aj@suse.de>
27319
27320         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27321         (CGROUP_SUPER_MAGIC): Define.
27322         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27323         Handle btrfs and cgroup file systems.
27324         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27325         Likewise.
27326
27327 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27328
27329         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27330         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27331
27332 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27333
27334         [BZ #12067]
27335         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27336         trying to locate the ELF header.
27337
27338 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27339
27340         [BZ #11611]
27341         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27342         Mask out sign-bit copies when constructing f_fsid.
27343
27344 2010-09-24  Petr Baudis <pasky@suse.cz>
27345
27346         * debug/stack_chk_fail_local.c: Add missing licence exception.
27347         * debug/warning-nop.c: Likewise.
27348
27349 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27350
27351         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27352         implementing getdents64 using getdents syscall, set d_type if
27353         __ASSUME_GETDENTS32_D_TYPE.
27354
27355 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27356
27357         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27358         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27359
27360 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27361
27362         [BZ #12037]
27363         * posix/unistd.h: Undo change of feature selection for ftruncate from
27364         2010-01-11.
27365
27366 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27367
27368         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27369         detection.
27370
27371 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27372
27373         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27374         fanotify_mark.
27375         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27376
27377 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27378
27379         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27380         variables after CHECK_SP call.
27381         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27382
27383 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27384             Ulrich Drepper  <drepper@redhat.com>
27385
27386         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27387         re-relocationg ld.so.
27388         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27389         _dl_init_paths call.
27390         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27391         here anymore.
27392
27393 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27394
27395         * resolv/res_init.c (__res_vinit): Count the default server we added.
27396
27397 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27398             Ulrich Drepper  <drepper@redhat.com>
27399
27400         [BZ #11968]
27401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27402         (____longjmp_chk): Use %ebx for saving value across system call.
27403         Add unwind info.
27404
27405 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27406
27407         * manual/Makefile: Don't mix pattern rules with normal rules.
27408
27409 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27410
27411         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27412         operation.
27413         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27414         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27415         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27416         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27418         Likewise.
27419
27420 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27421
27422         [BZ #11979]
27423         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27424         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27425
27426 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27427
27428         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27429         * sysdeps/x86_64/addmul_1.S: Likewise.
27430         * sysdeps/x86_64/lshift.S: Likewise.
27431         * sysdeps/x86_64/mul_1.S: Likewise.
27432         * sysdeps/x86_64/rshift.S: Likewise.
27433         * sysdeps/x86_64/sub_n.S: Likewise.
27434         * sysdeps/x86_64/submul_1.S: Likewise.
27435
27436 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27437
27438         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27439         Define __sched_param instead of SCHED_* and sched_param when
27440         <bits/sched.h> is included with __need_schedparam defined.
27441         * bits/sched.h [__need_schedparam]
27442         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27443         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27444         (__defined_schedparam): Define to 1.
27445         (__sched_param): New structure, identical to sched_param.
27446         (__need_schedparam): Undefine.
27447
27448 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27449
27450         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27451         (epoll_create1): Declare.
27452
27453         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27454
27455 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27456
27457         [BZ #7066]
27458         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27459         shifting retval into place.
27460
27461 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27462
27463         * nis/rpcsvc/nis.h: Update copyright notice.
27464         * nis/rpcsvc/nis.x: Likewise.
27465         * nis/rpcsvc/nis_callback.h: Likewise.
27466         * nis/rpcsvc/nis_callback.x: Likewise.
27467         * nis/rpcsvc/nis_object.x: Likewise.
27468         * nis/rpcsvc/nis_tags.h: Likewise.
27469         * nis/rpcsvc/yp.h: Likewise.
27470         * nis/rpcsvc/yp.x: Likewise.
27471         * nis/rpcsvc/ypupd.h: Likewise.
27472         * nis/yp_xdr.c: Likewise.
27473         * nis/ypupdate_xdr.c: Likewise.
27474
27475         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27476         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27477         (pmap_getport): Use __libc_rpc_getport.
27478         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27479         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27480         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27481
27482 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27483
27484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27485         fanotify_mark.
27486
27487 2010-08-27  Roland McGrath  <roland@redhat.com>
27488
27489         * sysdeps/i386/i686/multiarch/Makefile
27490         (CFLAGS-varshift.c): New variable.
27491
27492 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27493
27494         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27495         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27496
27497         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27498
27499         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27500
27501 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27502
27503         * sysdeps/x86_64/strlen.S: Unroll the loop.
27504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27505         strlen-sse2 strlen-sse2-bsf.
27506         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27507         __strlen_no_bsf if bit_Slow_BSF is set.
27508         (__strlen_sse42): Removed.
27509         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27510         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27511
27512 2010-08-25  Roland McGrath  <roland@redhat.com>
27513
27514         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27515         * sysdeps/x86_64/multiarch/varshift.c: New file.
27516         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27517         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27518         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27519         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27520
27521 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27522
27523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27524         strlen-sse2 strlen-sse2-bsf.
27525         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27526         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27527         (__strlen_sse2): Removed.
27528         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27531         bit_Slow_BSF for Atom.
27532         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27533         (index_Slow_BSF): Define.
27534         (HAS_SLOW_BSF): Define.
27535
27536 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27537
27538         [BZ #10851]
27539         * resolv/res_init.c (__res_vinit): When no server address at all
27540         is given default to loopback.
27541
27542 2010-08-24  Roland McGrath  <roland@redhat.com>
27543
27544         * configure.in: Remove config-name.h generation.
27545         * configure: Regenerated.
27546         * config-name.in: File removed.
27547         * scripts/config-uname.sh: New file.
27548         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27549         ($(objdir)config-name.h): New target.
27550
27551         * sunrpc/rpc_parse.h: Avoid nested comment.
27552
27553 2010-08-24  Richard Henderson  <rth@redhat.com>
27554             Ulrich Drepper  <drepper@redhat.com>
27555             H.J. Lu  <hongjiu.lu@intel.com>
27556
27557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27559         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27560         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27561         _mm_alignr_epi8 with _mm_loadu_si128.
27562         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27563         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27564         (__m128i_shift_right): Removed.
27565         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27566         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27567         * sysdeps/x86_64/multiarch/varshift.h: New file.
27568         * sysdeps/x86_64/multiarch/varshift.S: New file.
27569
27570 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27571
27572         * configure.in: Move assembler checks to before sysdep dir checking.
27573
27574 2010-08-20  Petr Baudis  <pasky@suse.cz>
27575
27576         * LICENSES: Sync the sunrpc license.
27577
27578 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27579
27580         * sunrpc/auth_des.c: Update copyright notice once again.
27581         * sunrpc/auth_none.c: Likewise.
27582         * sunrpc/auth_unix.c: Likewise.
27583         * sunrpc/authdes_prot.c: Likewise.
27584         * sunrpc/authuxprot.c: Likewise.
27585         * sunrpc/bindrsvprt.c: Likewise.
27586         * sunrpc/clnt_gen.c: Likewise.
27587         * sunrpc/clnt_perr.c: Likewise.
27588         * sunrpc/clnt_raw.c: Likewise.
27589         * sunrpc/clnt_simp.c: Likewise.
27590         * sunrpc/clnt_tcp.c: Likewise.
27591         * sunrpc/clnt_udp.c: Likewise.
27592         * sunrpc/clnt_unix.c: Likewise.
27593         * sunrpc/des_crypt.c: Likewise.
27594         * sunrpc/des_soft.c: Likewise.
27595         * sunrpc/get_myaddr.c: Likewise.
27596         * sunrpc/getrpcport.c: Likewise.
27597         * sunrpc/key_call.c: Likewise.
27598         * sunrpc/key_prot.c: Likewise.
27599         * sunrpc/openchild.c: Likewise.
27600         * sunrpc/pm_getmaps.c: Likewise.
27601         * sunrpc/pm_getport.c: Likewise.
27602         * sunrpc/pmap_clnt.c: Likewise.
27603         * sunrpc/pmap_prot.c: Likewise.
27604         * sunrpc/pmap_prot2.c: Likewise.
27605         * sunrpc/pmap_rmt.c: Likewise.
27606         * sunrpc/rpc/auth.h: Likewise.
27607         * sunrpc/rpc/auth_unix.h: Likewise.
27608         * sunrpc/rpc/clnt.h: Likewise.
27609         * sunrpc/rpc/des_crypt.h: Likewise.
27610         * sunrpc/rpc/key_prot.h: Likewise.
27611         * sunrpc/rpc/netdb.h: Likewise.
27612         * sunrpc/rpc/pmap_clnt.h: Likewise.
27613         * sunrpc/rpc/pmap_prot.h: Likewise.
27614         * sunrpc/rpc/pmap_rmt.h: Likewise.
27615         * sunrpc/rpc/rpc.h: Likewise.
27616         * sunrpc/rpc/rpc_des.h: Likewise.
27617         * sunrpc/rpc/rpc_msg.h: Likewise.
27618         * sunrpc/rpc/svc.h: Likewise.
27619         * sunrpc/rpc/svc_auth.h: Likewise.
27620         * sunrpc/rpc/types.h: Likewise.
27621         * sunrpc/rpc/xdr.h: Likewise.
27622         * sunrpc/rpc_clntout.c: Likewise.
27623         * sunrpc/rpc_cmsg.c: Likewise.
27624         * sunrpc/rpc_common.c: Likewise.
27625         * sunrpc/rpc_cout.c: Likewise.
27626         * sunrpc/rpc_dtable.c: Likewise.
27627         * sunrpc/rpc_hout.c: Likewise.
27628         * sunrpc/rpc_main.c: Likewise.
27629         * sunrpc/rpc_parse.c: Likewise.
27630         * sunrpc/rpc_parse.h: Likewise.
27631         * sunrpc/rpc_prot.c: Likewise.
27632         * sunrpc/rpc_sample.c: Likewise.
27633         * sunrpc/rpc_scan.c: Likewise.
27634         * sunrpc/rpc_scan.h: Likewise.
27635         * sunrpc/rpc_svcout.c: Likewise.
27636         * sunrpc/rpc_tblout.c: Likewise.
27637         * sunrpc/rpc_util.c: Likewise.
27638         * sunrpc/rpc_util.h: Likewise.
27639         * sunrpc/rpcinfo.c: Likewise.
27640         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27641         * sunrpc/rpcsvc/key_prot.x: Likewise.
27642         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27643         * sunrpc/rpcsvc/mount.x: Likewise.
27644         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27645         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27646         * sunrpc/rpcsvc/rex.x: Likewise.
27647         * sunrpc/rpcsvc/rstat.x: Likewise.
27648         * sunrpc/rpcsvc/rusers.x: Likewise.
27649         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27650         * sunrpc/rpcsvc/spray.x: Likewise.
27651         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27652         * sunrpc/rtime.c: Likewise.
27653         * sunrpc/svc.c: Likewise.
27654         * sunrpc/svc_auth.c: Likewise.
27655         * sunrpc/svc_authux.c: Likewise.
27656         * sunrpc/svc_raw.c: Likewise.
27657         * sunrpc/svc_run.c: Likewise.
27658         * sunrpc/svc_simple.c: Likewise.
27659         * sunrpc/svc_tcp.c: Likewise.
27660         * sunrpc/svc_udp.c: Likewise.
27661         * sunrpc/svc_unix.c: Likewise.
27662         * sunrpc/svcauth_des.c: Likewise.
27663         * sunrpc/xcrypt.c: Likewise.
27664         * sunrpc/xdr.c: Likewise.
27665         * sunrpc/xdr_array.c: Likewise.
27666         * sunrpc/xdr_float.c: Likewise.
27667         * sunrpc/xdr_mem.c: Likewise.
27668         * sunrpc/xdr_rec.c: Likewise.
27669         * sunrpc/xdr_ref.c: Likewise.
27670         * sunrpc/xdr_sizeof.c: Likewise.
27671         * sunrpc/xdr_stdio.c: Likewise.
27672
27673         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27674         handling.
27675
27676 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27677
27678         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27679
27680 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27681
27682         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27684         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27685         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27686         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27687         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27688         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27689         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27690         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27691         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27692         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27693         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27694         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27695         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27696
27697 2010-07-26  Anton Blanchard  <anton@samba.org>
27698
27699         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27700         * malloc/arena.c (heap_trim): Likewise.
27701
27702 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27703
27704         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27705         here.  Not...
27706         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27707         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27708
27709 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27710
27711         * sysdeps/i386/elf/Makefile: New file.
27712
27713 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27714
27715         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27716         from fanotify_init.
27717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27719
27720 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27721
27722         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27723         of strncasecmp_l.
27724         * sysdeps/multiarch/strcmp.S: Likewise.
27725
27726 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27727
27728         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27729         strncase_l-nonascii.
27730         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27731         Add strncase_l-ssse3.
27732         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27733         * sysdeps/x86_64/strcmp.S: Likewise.
27734         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27735         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27736         * sysdeps/x86_64/strncase.S: New file.
27737         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27738         * sysdeps/x86_64/strncase_l.S: New file.
27739         * string/Makefile (strop-tests): Add strncasecmp.
27740         * string/test-strncasecmp.c: New file.
27741
27742         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27743         warning.
27744
27745         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27746         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27747
27748 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27749
27750         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27751
27752 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27753
27754         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27756         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27757
27758 2010-05-01  Alan Modra  <amodra@gmail.com>
27759
27760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27761         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27762         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27763         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27764         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27765         tidying.  Don't tail-call __sigjmp_save for static lib.
27766         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27767         save location.
27768         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27769         (CALL_MCOUNT): Add eh info, and nop after bl.
27770         (TAIL_CALL_SYSCALL_ERROR): New macro.
27771         (PSEUDO_RET): Use it.
27772         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27773         Correct save location of integer regs and cr.
27774         (_dl_profile_resolve): Correct cr save location.  Delete nops
27775         after bl when SHARED.  Reduce cfi size a little by better
27776         placement of cfi directives.
27777         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27778         make a stack frame.  Instead use parm save area as a temp.
27779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27780         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27782         Don't make a stack frame for parent, use parm save area.
27783         Increase child stack frame to 112 bytes.  Don't save unused reg,
27784         and adjust reg usage.  Set up cfi on error recovery and
27785         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27787         (__makecontext): Add dummy nop after jump to exit.
27788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27789         Use correct parm save area and cr save, reduce stack frame.
27790         Correct cfi for possible PSEUDO_RET frame setup.
27791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27792         Branch to local label emitted by PSEUDO_RET rather than
27793         __syscall_error.
27794
27795 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27796
27797         [BZ #11904]
27798         * locale/programs/locale.c (print_assignment): New function.
27799         (show_locale_vars): Use it.
27800
27801 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27802
27803         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27804         field.
27805         (struct statfs64): Likewise.
27806         (_STATFS_F_FLAGS): Define.
27807         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27808         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27809         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27810         (ST_VALID): Define locally.
27811         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27812         __statvfs_getflags, use the provided value.
27813         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27814         __ASSUME_STATFS_F_FLAGS.
27815
27816         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27817
27818         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27819         Add sys/fanotify.h.
27820         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27821         fanotify_mask for GLIBC_2.13.
27822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27823         fanotify_init and fanotify_mark.
27824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27825         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27826
27827         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27828         Add prlimit.
27829         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27830         prlimit64 for GLIBC_2.13.
27831         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27832         prlimit64.
27833         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27834         syscall.
27835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27836         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27837         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27838         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27840         add prlimit alias.
27841         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27842
27843         [BZ #11903]
27844         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27845         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27846
27847         * nss/Makefile: Add rules to build and run tst-nss-test1.
27848         * shlib-versions: Add entry for libnss_test1.
27849         * nss/nss_test1.c: New file.
27850         * nss/tst-nss-test1.c: New file.
27851
27852         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27853         (__nss_configure_lookup): Set appropriate entry in
27854         __nss_configure_lookup to true.
27855         * nss/nsswitch.h: Define enum with indeces of databases in
27856         databases and __nss_database_custom arrays.  Declare
27857         __nss_database_custom.
27858         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27859         to avoid using nscd when custom rules are installed.
27860         * nss/getXXbyYY_r.c: Likewise.
27861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27862
27863         * nss/nss_files/files-parse.c: Whitespace fixes.
27864
27865 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27866
27867         [BZ #11883]
27868         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27869         * posix/fnmatch_loop.c: Likewise.
27870
27871 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27872
27873         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27874         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27875         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27876         * Versions.def [GLIBC_2.13]: Add.
27877
27878 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27879
27880         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27881         Also fail if tpwd after pwuid call is NULL.
27882
27883 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27884
27885         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27886         when converting to ms.
27887
27888 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27889
27890         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27891         EOPNOTSUPP errors with ENOTTY.
27892         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27893         EOPNOTSUPP errors with ENOTTY.
27894
27895 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27896
27897         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27898         Add strcasecmp_l-ssse3.
27899         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27900         strcasecmp.
27901         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27902         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27903         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27904
27905 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27906
27907         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27908
27909         * string/Makefile (strop-tests): Add strcasecmp.
27910         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27911         strcasecmp_l-nonascii.
27912         (gen-as-const-headers): Add locale-defines.sym.
27913         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27914         * sysdeps/x86_64/strcasecmp.S: New file.
27915         * sysdeps/x86_64/strcasecmp_l.S: New file.
27916         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27917         * sysdeps/x86_64/locale-defines.sym: New file.
27918         * string/test-strcasecmp.c: New file.
27919
27920         * string/test-strcasestr.c: Test both ends of the range of characters.
27921         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27922
27923 2010-07-29  Roland McGrath  <roland@redhat.com>
27924
27925         [BZ #11856]
27926         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27927
27928 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27929
27930         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27931         for ld.so.
27932
27933 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27934
27935         * manual/memory.texi (Malloc Tunable Parameters): Document
27936         M_PERTURB.
27937
27938 2010-07-26  Roland McGrath  <roland@redhat.com>
27939
27940         [BZ #11840]
27941         * configure.in (-fgnu89-inline check): Set and substitute
27942         gnu89_inline, not libc_cv_gnu89_inline.
27943         * configure: Regenerated.
27944         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27945
27946 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27947
27948         * string/test-strnlen.c: New file.
27949         * string/Makefile (strop-tests): Add strnlen.
27950         * string/tester.c (test_strnlen): Add a few more test cases.
27951         * string/tst-strlen.c: Better error reporting.
27952
27953         * sysdeps/x86_64/strnlen.S: New file.
27954
27955 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27956
27957         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27958         lower-latency instructions.
27959
27960 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27961
27962         * string/test-strcasestr.c: New file.
27963         * string/test-strstr.c: New file.
27964         * string/Makefile (strop-tests): Add strstr and strcasestr.
27965         * string/str-two-way.h: Don't undefine MAX.
27966         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27967
27968 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27969
27970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27971         strcasestr-nonascii.
27972         (CFLAGS-strcasestr-nonascii.c): Define.
27973         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27974         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27975         Remove unused attribute.
27976
27977 2010-07-20  Roland McGrath  <roland@redhat.com>
27978
27979         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27980         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27981         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27982         like LD_HWCAP_MASK can disable hwcaps.
27983
27984 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27985
27986         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27987
27988 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27989
27990         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27991         call in strcasestr.
27992         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27993         __strcasestr_sse42_nonascii.
27994         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27995         strcasestr-nonascii.c.
27996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27997
27998 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27999
28000         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28002         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28004
28005 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
28006
28007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28008         fcntl.
28009
28010 2010-07-06  Andreas Schwab  <schwab@redhat.com>
28011
28012         [BZ #11577]
28013         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28014         dl_signal_cerror.
28015
28016 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
28017
28018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28019         _PC_PIPE_BUF using F_GETPIPE_SZ.
28020
28021 2010-07-05  Roland McGrath  <roland@redhat.com>
28022
28023         * manual/arith.texi (Rounding Functions): Fix rint description
28024         implicit in round description.
28025
28026 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
28027
28028         * elf/Makefile: Fix linking for a few tests to make recent linker
28029         happy.
28030
28031 2010-06-30  Andreas Schwab  <schwab@redhat.com>
28032
28033         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28034         $(common-objpfx)libc_nonshared.a.
28035
28036 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
28037
28038         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28039         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28040         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28041         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28042         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28043         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28044         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28045         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28060         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28061         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28062         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28063         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28064         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28065         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28066         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28067         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28068         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28069         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28070         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28071         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28086
28087 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28088
28089         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28090         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
28091         * string/memmove.c (memmove): Renamed to ...
28092         (MEMMOVE): ...this.  Default to memmove.
28093         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28094         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28095         (END_CHK): Define.
28096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28097         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28098         mempcpy-ssse3-back memmove-ssse3-back.
28099         * sysdeps/x86_64/multiarch/bcopy.S: New file .
28100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28102         * sysdeps/x86_64/multiarch/memcpy.S: New file.
28103         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28104         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28105         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28106         * sysdeps/x86_64/multiarch/memmove.c: New file.
28107         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28108         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28109         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28110         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28111         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28112         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28113         Define.
28114         (index_Fast_Copy_Backward): Define.
28115         (HAS_ARCH_FEATURE): Define.
28116         (HAS_FAST_REP_STRING): Define.
28117         (HAS_FAST_COPY_BACKWARD): Define.
28118
28119 2010-06-21  Andreas Schwab  <schwab@redhat.com>
28120
28121         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28122         Restore proper fallback handling.
28123
28124 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
28125
28126         [BZ #11701]
28127         * posix/group_member.c (__group_member): Correct checking loop.
28128
28129         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28130         OOM in getpwuid_r correctly.  Return error number when the caller
28131         should return, otherwise -1.
28132         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28133         call returning > 0 value.
28134         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28135
28136 2010-06-07  Andreas Schwab  <schwab@redhat.com>
28137
28138         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28139         libc_nonshared.a from targets in modules-names.
28140
28141 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
28142
28143         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28144         requires it.
28145
28146 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
28147
28148         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28149         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28150         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28151         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28152
28153 2010-06-02  Andreas Schwab  <schwab@redhat.com>
28154
28155         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28156
28157 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
28158
28159         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28160         and F_GETPIPE_SZ.
28161         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28165         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28166         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28167
28168 2010-06-14  Roland McGrath  <roland@redhat.com>
28169
28170         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28171
28172 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
28173
28174         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28175         __REDIRECT followed by __THROW.
28176         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28177         * posix/getopt.h (getopt): Likewise.
28178
28179 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
28180
28181         * hurd/lookup-at.c (__file_name_lookup_at): Accept
28182         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
28183         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28184         in AT_FLAGS.
28185         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28186         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28187
28188 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
28189
28190         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28191
28192 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
28193
28194         [BZ #11640]
28195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28196         Properly check family and model.
28197
28198 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
28199
28200         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28201
28202 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
28203
28204         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28205
28206 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
28207
28208         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28209         symbol reference.
28210
28211 2010-05-19  Andreas Schwab  <schwab@redhat.com>
28212
28213         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28214         symbol reference.
28215
28216 2010-05-21  Andreas Schwab  <schwab@redhat.com>
28217
28218         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28219         and internal_recvmmsg.
28220         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28221         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28222         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28223         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28224
28225         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28226         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28227         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28228
28229 2010-05-20  Andreas Schwab  <schwab@redhat.com>
28230
28231         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28232
28233 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
28234
28235         POWER7 optimizations.
28236         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28237         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28238
28239 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
28240
28241         * version.h: Update for 2.13 development version.
28242
28243 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
28244
28245         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28246         exceptions.  Return 0.
28247
28248 2010-05-07  Roland McGrath  <roland@redhat.com>
28249
28250         * elf/ldconfig.c (main): Add a const.
28251
28252 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
28253
28254         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28255         (args_options): Add no-idn option.
28256         (ahosts_keys_int): Add idn_flags to ai_flags.
28257         (parse_option): Handle 'i' option to clear idn_flags.
28258
28259         * malloc/malloc.c (_int_free): Possible race in the most recently
28260         added check.  Only act on the data if no current modification
28261         happened.
28262
28263 See ChangeLog.17 for earlier changes.